diff options
Diffstat (limited to 'day.php')
-rw-r--r-- | day.php | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -232,6 +232,7 @@ include (BASE.'includes/header.inc.php'); $event_start = date ($timeFormat, $event_start); $event_end = date ($timeFormat, $event_end); $event_calno = $this_time_arr[($event_length[$i]['key'])]['calnumber']; + $event_status = strtolower($this_time_arr[($event_length[$i]['key'])]['status']); if ($event_calno < 1) $event_calno=1; if ($event_calno > 7) $event_calno=7; @@ -239,9 +240,13 @@ include (BASE.'includes/header.inc.php'); echo '<table width="100%" border="0" cellspacing="0" cellpadding="2">'."\n"; echo '<tr>'."\n"; echo '<td class="eventborder"><font class="eventfont"><b>'.$event_start.'</b> - '.$event_end.'</font></td>'."\n"; + echo '<td class="eventborder" width="9" align="right" valign="center"><font class="eventfont">'; + if ($event_status == '') echo ' '; + else echo '<img src="images/'.$event_status.'.gif" width="9" height="9" alt="" border="0" hspace="0" vspace="0">'; + echo '</font></td>'."\n"; echo '</tr>'."\n"; echo '<tr>'."\n"; - echo '<td>'."\n"; + echo '<td colspan="2">'."\n"; echo '<table width="100%" border="0" cellpadding="1" cellspacing="0">'."\n"; echo '<tr>'."\n"; echo '<td class="eventbg_'.$event_calno.'">'; |