include("assign.inc"); $options = array(); $options["table"] = "event"; $options["subtables"] = "event_occ|event.event_id=event_occ.event_id"; $options["filter"] = "event_occ_id='" . addslashes($_GET["id"]) . "'"; $result = $db->get($options); if($result->count() == 0) { redirect("calendar.htm"); } // end if $event = $result->fetch(); $event_desc = isset($event->event_occ_desc_long) ? $event->event_occ_desc_long : $event->event_desc_long; $month = (isset($_GET["m"])) ? $_GET["m"] : date("m", strtotime($event->event_occ_date)); $year = (isset($_GET["y"])) ? $_GET["y"] : date("Y", strtotime($event->event_occ_date)); $p = (isset($_GET["y"])) ? $_GET["y"] : "0"; include("head.inc"); ?>
= $event->event_title ?> | |
Date: = date("l, F jS, Y", strtotime($event->event_occ_date)) ?> | if($event->event_occ_start != "") { ?> Time: = date("g:i A", strtotime($event->event_occ_start)) ?> } // end if if($event->event_occ_end != "") { ?> to = date("g:i A", strtotime($event->event_occ_end)) ?> } // end if ?> |
= $event_desc ?> | |
Register for this Event | |