Вход Регистрация
Файл: public_html/system/foot.php
Строк: 53
<?php
$online 
mysql_result(mysql_query('SELECT COUNT(*) FROM `users` WHERE `online` > "'.(time() - 600).'"'),0);
if(
$user) {
echo 
'<div class="line"></div>';
echo 
'<table width="100%" cellpadding="0" cellspacing="0"> 
<tbody><tr>'
;
echo 
'<td align="center" width="33%"><a href="/game.php" class="menu small" style="margin-right: 1px"><img src="/images/menu/menu_game.png" height="50"><br>Главная</a></td><td align="center" width="33%"><a href="/profile.php?id='.$user['id'].'" class="menu small" style="margin-right: 1px"><img src="/images/menu/menu_profile.png" height="50"><br>Профиль</a></td>
<td align="center" width="33%"><a href="/groups/group.php" class="menu small"><img src="/images/menu/menu_group.png" height="50"><br>Группа</a></td>
</tr></tbody></table>'
;
echo 
'<div class="line"></div>';
}
if(!
$user) {
$_home '/index.php';
if(
$_SERVER['PHP_SELF'] != $_home) {
echo 
'<a href="/index.php" class="link"><img src="/images/icons/forward.png"> На главную</a>';
}
echo 
'<div class="foot center">Игроки онлайн: '.$online.' <br><small><a href="/agreement.php">Соглашение</a> | <a href="/rules.php"> Правила игры</a></small> <br> <small><small> Время героев &copy; '.date("Y").'</small></small></div>';
}else{
echo 
'<div class="foot"><div class="border"><img src="/images/race/'.$user['race'].'.png"> '.$user['login'].' <span style="float: right"> '.$user['silver'].' <img src="/images/icons/silver.png"> | '.$user['gold'].' <img src="/images/icons/gold.png"> </span></div>
<div class="center"> <a href="/news.php">Новости</a> | <a href="/chat.php">Чат</a> | <a href="/forum.php">Форум</a> <br><a href="/online.php">Игроки онлайн: '
.$online.'</a> <br><small><a href="/agreement.php">Соглашение</a> | <a href="/rules.php"> Правила игры</a></small> <br> <small><small> Время героев &copy; '.date("Y").'</small> </small> </div> </div>';
}
?>
</html></body>
Онлайн: 1
Реклама