Changeset 31 for trunk/index.php
- Timestamp:
- Dec 30, 2018, 7:37:55 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r30 r31 267 267 $Output .= $PageList['Output']; 268 268 $TableColumns = array( 269 array('Name' => ' Date', 'Title' => 'Datum'),269 array('Name' => 'Time', 'Title' => 'Čas'), 270 270 array('Name' => 'Name', 'Title' => 'Jméno'), 271 271 array('Name' => 'Height', 'Title' => 'Výška'), … … 278 278 array('Name' => '', 'Title' => 'Detail'), 279 279 ); 280 $Order = GetOrderTableHeader($TableColumns, ' Date', 1);280 $Order = GetOrderTableHeader($TableColumns, 'Time', 1); 281 281 $Output .= '<table class="WideTable">'; 282 282 $Output .= $Order['Output']; … … 286 286 { 287 287 $Output .= '<tr>'. 288 '<td>'.HumanDate(MysqlDateToTime($MeetItem[' Date'])).'</td>'.288 '<td>'.HumanDate(MysqlDateToTime($MeetItem['Time'])).'</td>'. 289 289 '<td>'.$MeetItem['Name'].'</td>'. 290 290 '<td>'.$MeetItem['Height'].'</td>'. … … 332 332 else $Link = ''; 333 333 $Output .= '<table class="ItemTable">'. 334 '<tr><th> Datum</th><td>'.HumanDate(MysqlDateToTime($MeetItem['Date'])).'</td></tr>'.334 '<tr><th>Čas</th><td>'.HumanDate(MysqlDateToTime($MeetItem['Time'])).'</td></tr>'. 335 335 '<tr><th>Pohlaví</th><td>'.$Gender[$MeetItem['Gender']].'</td></tr>'. 336 336 '<tr><th>Jméno</th><td>'.$MeetItem['Name'].'</td></tr>'. … … 360 360 361 361 $DbResult = $this->Database->select('MeetItem', '*, (SELECT MeetSource.Name FROM MeetSource WHERE MeetSource.Id = MeetItem.Source) AS SourceName, '. 362 '(SELECT MeetSource.URL FROM MeetSource WHERE MeetSource.Id = MeetItem.Source) AS SourceURL, UNIX_TIMESTAMP(` Date`) AS `UnixTime`', '1 ORDER BY `Date` DESC LIMIT 30');362 '(SELECT MeetSource.URL FROM MeetSource WHERE MeetSource.Id = MeetItem.Source) AS SourceURL, UNIX_TIMESTAMP(`Time`) AS `UnixTime`', '1 ORDER BY `Time` DESC LIMIT 30'); 363 363 while($MeetItem = $DbResult->fetch_assoc()) 364 364 {
Note:
See TracChangeset
for help on using the changeset viewer.