Example #1
0
            ?>
 - 
			<?php 
            echo format_date('g:i a', $session->EndTime);
            ?>
,
			<?php 
            $room = get_room_info($session->RoomID);
            echo $room->RoomName;
            ?>
			<br />
			
			</i>
			<table>
			<?php 
            $session_slots = get_session_slots_info($session->SessionID);
            foreach ($session_slots->Slots as $slot) {
                ?>
<tr><?php 
                $paper = get_paper_info($slot->PaperID);
                echo "<td valign=\"top\" align=\"right\"><b>" . $paper->PaperID . "</b></td>";
                echo "<td>" . $paper->Title . "</td>";
                ?>
</tr><?php 
            }
            ?>
			</table>
			</div>
			<?php 
        }
        ?>
Example #2
0
}
$sessionID = $_GET["id"];
// Perform session deletion
if ($_POST["Submit"] == "Delete") {
    delete_session($_POST["SessionID"]);
}
if ($_POST["Submit"] == "Delete" || $_POST["Submit"] == "Cancel") {
    $url = "Location: sessions.php";
    header($url);
}
// Confirm session deletion
if ($_GET["delete"]) {
    $session = get_session_info($sessionID);
    $track = get_track_info($session->TrackID);
    $type = get_presentation_info($session->PresentationTypeID);
    $sessionSlotsInfo = get_session_slots_info($session->SessionID);
    do_html_header("Delete Session", &$err_message);
    ?>
	<br />
	<table align="center">
	<tr>
	<td>
	<strong>#<?php 
    echo $session->SessionID;
    ?>
 - 
	<?php 
    echo $session->SessionName;
    ?>
</strong><br />
	<?php 
<?php

$sessions = get_sessions("StartTime");
$pageNumberOf = array_flip(get_paper_pages());
$days = array();
foreach ($sessions as $session) {
    $date = format_date("Y-m-d", $session->StartTime);
    if (!$days[$date]) {
        $days[$date] = array();
    }
    $days[$date][] = get_session_slots_info($session->SessionID);
}
?>
<html>
<head>
<title>
Technical Program
</title>
<style type="text/css">
  div { padding-top: 3 ; padding-bottom: 3 }
  .PageTitle { text-align: center ; font: bolder xx-large "Comic Sans MS" ; color: teal}
  .Day { font-style: italic }
  .Session { font-weight: bold ; font-family: "Comic Sans MS" }
  .Indent {float:left; width:2%}
  .LeftColumn {float:left; width:78%;}
  .RightColumn {float:left; width:20%; text-align: right;}
  .Info{ font-weight: normal ; font-family: "Comic Sans MS" }
  .Abstract { font-style: italic ; font-size: smaller }
  .Bio { font-size: smaller }
  .PaperName {}
  .Authors {}