Пример #1
0
/images/down.gif" border=0>
		</a>
		<?php 
}
?>
		</td>
	</tr>
	<tr><td colspan=3><hr /></td></tr>
<?php 
foreach ($sessions as $session) {
    $track = get_track_info($session->TrackID);
    $SessionTrack = get_SessionTrack_info($session->SessionTrackID);
    $type = get_presentation_info($session->PresentationTypeID);
    $sessionSlotsInfo = get_session_slots_info($session->SessionID);
    $chairInfo = get_member_info_with_id($session->ChairID);
    $room = get_room_info($session->RoomID);
    ?>
<tr>
	<td style="text-align: center; vertical-align: text-top">
	&nbsp;&nbsp;&nbsp;
	</td>
	<td>
	<strong><?php 
    echo $session->SessionName;
    ?>
</strong><br />
	<i>
	<?php 
    if (!areSessionTracksEnabled()) {
        echo $track->TrackName;
    } else {
Пример #2
0
        ?>
"> 
</span>
</div>
<div>
<input type="submit" name="Submit" value="Submit">
<input type="reset" name="Reset" value="Undo Changes">
</div>
</form>
<hr />
<!-- Finish edit section -->
	<?php 
    } else {
        if ($_GET["delete"]) {
            do_html_header("Delete Room", &$err_message);
            $room = get_room_info($_GET["delete"]);
            $sessions = sessions_in_room($room->RoomID);
            if (count($sessions) > 0) {
                ?>
<!-- Start "cannot delete" -->
<div style="padding-top: 0.5cm; padding-bottom: 0.5cm">
Cannot delete "<?php 
                echo $room->RoomName;
                ?>
" because the following sessions
are still using it:
</div>
<div>
<table>
<?php 
                foreach ($sessions as $session) {