Changeset 193 for administrace


Ignore:
Timestamp:
Jan 6, 2008, 8:56:06 PM (17 years ago)
Author:
george
Message:

Upraveno: Vzhled stránky administrace.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • administrace/home.php

    r189 r193  
    1010  echo('<a href="https://wow.zdechov.net/trac/wow/">Zdrojové kody webu</a><br>');
    1111  echo('<a href="gm_rules.php">Pravidla pro GM</a><br>');
     12  echo('</td><td valign="top">');
    1213  echo('<a href="http://game.zdechov.net/statistic/">Statistiky provozu</a><br>');
    1314  echo('<a href="../navody/">Návody</a><br>');
     
    2728
    2829
    29   echo('<strong>Historie zpráv:</strong><table cellspacing="0" width="100%" style="color: white;" border="1"><tr><td>');
     30  echo('<table class="TableAdmin" cellspacing="0" width="100%" style="color: white;" border="1">');
    3031  $DbResult = $Database->query('SELECT wow.gm_news.text as text, realmd.account.username as username FROM wow.gm_news JOIN realmd.account ON wow.gm_news.author = realmd.account.Id ORDER BY wow.gm_news.time DESC LIMIT '.$Page*$PerPage.', '.$PerPage);
    3132  while($Row = $DbResult->fetch_array())
    3233  {
    33     echo('<strong>'.$Row['username'].':</strong> '.$Row['text'].'<br>');
     34    echo('<tr><td><strong>'.$Row['username'].':</strong> '.$Row['text'].'</td></tr>');
    3435  }
    35   echo('</td></tr></table>');
     36  echo('</table>');
    3637 
    3738  $DbResult = $Database->query('SELECT COUNT(*) FROM wow.gm_news');
Note: See TracChangeset for help on using the changeset viewer.