require_once("../includes/init.php"); ?> require_once("$FILE_ROOT/includes/layout/header.php"); ?> $sessions_id = $_GET['sessions_id']; $sessions_id = ereg_replace(":| ", "", $sessions_id); // remove the colon that starts the id and all spaces $session_type = substr($sessions_id, 0, 1); // single letter version of the session_type $sub_session_type = substr($sessions_id, 1, 1); // second letter in the sessions_id ?>
switch($session_type) { case "C": if($sub_session_type == "0") { ?> | Topics | Instructor | } else { ?>Topics | Co-Chairs | } break; case "P": ?>Topics (Speakers) | Chair | break; case "A": case "B": case "D": case "E": case "F": case "R": ?>Topics | Co-Chairs | break; } ?>
---|---|---|---|---|---|---|---|---|
=$session_name?> |
if(!empty($category_id)) {
// if the category is not empty, then we're dealing with the technical sessions which have a little bit
// more information to present; namely: the papers in the session. first, though, we'll get the name of the
// category from the database to display on the screen.
list($category) = $db->fetch_results($db->runQuery("SELECT category FROM program_sessions_categories WHERE category_id=$category_id"));
echo "$category » $sub_category";
// now we'll start a list within this table cell which will show the individual papers in the session and get
// those papers from the database using the session_id for this row.
?>
=nl2br($speaker)?> } else echo $sub_category; ?> |
=$session_chair?> | ||||||
Back to the Full Program |