Changeset 203 for trunk/otevreno.php
- Timestamp:
- Apr 30, 2009, 11:53:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/otevreno.php
r164 r203 11 11 function Show() 12 12 { 13 $Output = '<div align="center">';13 $Output = '<div class="Centred">'; 14 14 $DbResult = $this->Database->query('SELECT SubjectOpenTime.*, DATE_FORMAT(SubjectOpenTime.UpdateTime, "%e.%c.%Y") as UpdateTime, Subject.Name as Name FROM SubjectOpenTime JOIN Subject ON Subject.Id = SubjectOpenTime.Subject ORDER BY Name'); 15 15 while($Subject = $DbResult->fetch_assoc()) … … 29 29 } 30 30 31 $Output .= '<table class="WideTable">31 $Output .= '<table class="WideTable"> 32 32 <tr><th>Den</th><th>Čas</th></tr>'; 33 33 foreach($this->DaysOfWeek as $DayIndex => $DayOfWeek) … … 46 46 } 47 47 $Output .= '</table>Aktualizováno: '.$Subject['UpdateTime'].'<br />'; 48 if($Subject['Notice'] != '') $Output .= ' </table>Poznámka: '.$Subject['Notice'].'<br />';48 if($Subject['Notice'] != '') $Output .= 'Poznámka: '.$Subject['Notice'].'<br />'; 49 49 $Output .= '<br />'; 50 50 } 51 $Output .= '</div>'; 51 52 return($Output); 52 53 }
Note:
See TracChangeset
for help on using the changeset viewer.