Správa serveru'); echo('
'); echo('Správa databáze PhpMyAdmin
'); echo('Zdrojové kody webu
'); echo('Pravidla pro GM
'); echo('
'); echo('Statistiky provozu
'); echo('Návody
'); echo('Bug report'); echo('
'); echo('RSS GM zpráv
'); echo('RSS herních žádanek
'); echo('

'); echo('
Uživatel: '.$_SESSION['UserName'].' Odhlásit
'); echo('
'); $PerPage = 15; if(array_key_exists('page', $_GET)) $Page = addslashes($_GET['page']); else $Page = 0; echo(''); $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); while($Row = $DbResult->fetch_array()) { echo(''); } echo('
'.$Row['username'].': '.$Row['text'].'
'); $DbResult = $Database->query('SELECT COUNT(*) FROM wow.gm_news'); $Row = $DbResult->fetch_array(); echo(PagesList('?page=', $Page, $Row[0], $PerPage)); //echo(phpinfo()); } ?>