Changeset 309 for events.php


Ignore:
Timestamp:
Mar 13, 2008, 8:45:46 PM (17 years ago)
Author:
george
Message:

Opravy související s přejmenování sloupce character na characters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • events.php

    r175 r309  
    3838 
    3939  // 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()');
    4141  while($Row = $DbResult->fetch_array())
    4242  {
     
    5454
    5555  // 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()');
    5757  while($Row = $DbResult->fetch_array())
    5858  {
     
    8181ShowHeader();
    8282
    83 echo('<h3>Události ve høe:</h3><div align="center">');
     83echo('<h3>Ud�losti ve h�e:</h3><div align="center">');
    8484
    8585$Events = Events();
    8686echo('<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>');
     87echo('<tr><th>N�zev</th><th>Za��tek</th><th>Konec</th><th>Informace</th><th>Informace</th></tr>');
     88echo('<tr><td colspan="5"><strong style="color: yellow;">Aktu�ln� b���c� akce</strong></td></tr>');
    8989ShowEventList($Events['Running']);
    90 echo('<tr><td colspan="5"><strong style="color: yellow;">Plánované akce</strong></td></tr>');
     90echo('<tr><td colspan="5"><strong style="color: yellow;">Pl�novan� akce</strong></td></tr>');
    9191ShowEventList($Events['Planned']);
    9292echo('</table></div>');
Note: See TracChangeset for help on using the changeset viewer.