Changeset 404 for administrace/home.php
- Timestamp:
- Jan 28, 2009, 11:23:01 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
administrace/home.php
r389 r404 3 3 function Show() 4 4 { 5 global $Database ;5 global $Database, $Config; 6 6 7 7 echo('<h3>Správa serveru</h3>'); … … 11 11 echo('<a href="gm_rules.php">Pravidla pro GM</a><br>'); 12 12 echo('</td><td valign="top">'); 13 echo('<a href="http:// game.zdechov.net/statistic/">Statistiky provozu</a><br>');13 echo('<a href="http://stat.zdechov.net/game/">Statistiky provozu</a><br>'); 14 14 echo('<a href="../navody/">Návody</a><br>'); 15 15 echo('<a href="../db/index.php?id=bugreport">Bug report</a>'); … … 29 29 30 30 echo('<table class="TableAdmin" cellspacing="0" width="100%" style="color: white;" border="1">'); 31 $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);31 $DbResult = $Database->query('SELECT wow.gm_news.text as text, '.$Config['Mangos']['DatabaseRealmd'].'.account.username as username FROM wow.gm_news JOIN '.$Config['Mangos']['DatabaseRealmd'].'.account ON wow.gm_news.author = '.$Config['Mangos']['DatabaseRealmd'].'.account.Id ORDER BY wow.gm_news.time DESC LIMIT '.$Page*$PerPage.', '.$PerPage); 32 32 while($Row = $DbResult->fetch_array()) 33 33 {
Note:
See TracChangeset
for help on using the changeset viewer.