Changeset 309 for events.php
- Timestamp:
- Mar 13, 2008, 8:45:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
events.php
r175 r309 38 38 39 39 // Add already started events 40 $DbResult = $Database->select('game_event', '*, UNIX_TIMESTAMP(start ) as start', 'end > NOW() AND start< NOW()');40 $DbResult = $Database->select('game_event', '*, UNIX_TIMESTAMP(start_time) as start', 'end_time > NOW() AND start_time < NOW()'); 41 41 while($Row = $DbResult->fetch_array()) 42 42 { … … 54 54 55 55 // Add events not started so far 56 $DbResult = $Database->select('game_event', '*, UNIX_TIMESTAMP(start ) as start', 'start> NOW()');56 $DbResult = $Database->select('game_event', '*, UNIX_TIMESTAMP(start_time) as start', 'start_time > NOW()'); 57 57 while($Row = $DbResult->fetch_array()) 58 58 { … … 81 81 ShowHeader(); 82 82 83 echo('<h3>Ud álosti ve høe:</h3><div align="center">');83 echo('<h3>Ud�losti ve h�e:</h3><div align="center">'); 84 84 85 85 $Events = Events(); 86 86 echo('<table class="TableGuilda" border="1" cellpadding="3" cellspacing="0">'); 87 echo('<tr><th>N ázev</th><th>Zaèátek</th><th>Konec</th><th>Informace</th><th>Informace</th></tr>');88 echo('<tr><td colspan="5"><strong style="color: yellow;">Aktu álnì bì¾ícíakce</strong></td></tr>');87 echo('<tr><th>N�zev</th><th>Za��tek</th><th>Konec</th><th>Informace</th><th>Informace</th></tr>'); 88 echo('<tr><td colspan="5"><strong style="color: yellow;">Aktu�ln� b���c� akce</strong></td></tr>'); 89 89 ShowEventList($Events['Running']); 90 echo('<tr><td colspan="5"><strong style="color: yellow;">Pl ánovanéakce</strong></td></tr>');90 echo('<tr><td colspan="5"><strong style="color: yellow;">Pl�novan� akce</strong></td></tr>'); 91 91 ShowEventList($Events['Planned']); 92 92 echo('</table></div>');
Note:
See TracChangeset
for help on using the changeset viewer.