Changeset 193 for administrace/home.php
- Timestamp:
- Jan 6, 2008, 8:56:06 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
administrace/home.php
r189 r193 10 10 echo('<a href="https://wow.zdechov.net/trac/wow/">Zdrojové kody webu</a><br>'); 11 11 echo('<a href="gm_rules.php">Pravidla pro GM</a><br>'); 12 echo('</td><td valign="top">'); 12 13 echo('<a href="http://game.zdechov.net/statistic/">Statistiky provozu</a><br>'); 13 14 echo('<a href="../navody/">Návody</a><br>'); … … 27 28 28 29 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">'); 30 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 32 while($Row = $DbResult->fetch_array()) 32 33 { 33 echo('< strong>'.$Row['username'].':</strong> '.$Row['text'].'<br>');34 echo('<tr><td><strong>'.$Row['username'].':</strong> '.$Row['text'].'</td></tr>'); 34 35 } 35 echo('</t d></tr></table>');36 echo('</table>'); 36 37 37 38 $DbResult = $Database->query('SELECT COUNT(*) FROM wow.gm_news');
Note:
See TracChangeset
for help on using the changeset viewer.