Файл: inc/nogi.php
Строк: 59
<?php
if(isset($_SESSION['auth']) && $_SESSION['auth']==1){
if($account[lvl]<2){
echo "<div class='foot'> <a href='/library.php?go=post&id=1&topik=13'>  <img src='/pic/main/attent.png' alt='*'/> <font color=LightCoral><b>С чего начать?</b></font></a></div>";
}
if($account[status]=="gm"){
echo "<div class='foot'> <a href='/adminka.php'>  <img src='/pic/main/attent.png' alt='*'/> Админ-Панель</a></div>";
}
echo "<div class='foot'> <a href='/games.php'>  <img src='/pic/main/rotate2.png' alt='*'/> На главную</a></div>";
echo "<div class='foot'> <a href='/personaj.php'>  <img src='/pic/main/faqis.png' alt='*'/> Персонаж</a></div>";
if(!empty($account[banda])){
echo "<div class='foot'> <a href='/banda_home.php'>  <img src='/pic/main/banda1.png' alt='*'/> Моя банда</a></div>";
}
echo "<div class='foot'> <a href='/chat.php'>  <img src='/pic/main/chat3.png' alt='*'/> Чат</a></div>";
}
$cfg = mysql_query("SELECT * FROM `config`");
$configs = mysql_fetch_array($cfg);
list($msec,$sec)=explode(chr(1),microtime());
if(isset($_SESSION['auth']) && $_SESSION['auth']==1){
$kolic = mysql_query("SELECT COUNT(`msg`) FROM `forum_msg` WHERE `topik`='1';");
$kols = mysql_result($kolic, 0);
$u=mysql_query("SELECT * FROM `forum_topik` WHERE `razdel`='1' ORDER by `id` DESC");
$dat=mysql_fetch_array($u);
$uids=$dat[tema];
$u2=mysql_query("SELECT * FROM `forum_msg` WHERE `topik`='1' and `tema`='$dat[id]' LIMIT 1");
$dat2=mysql_fetch_array($u2);
$uids2=$dat2[user];
$req1 = mysql_query("SELECT `id`,`status`,`login`,`sex` FROM `account` WHERE `id` = '$uids2'");
$_user = mysql_fetch_array($req1);
$kolic = mysql_query("SELECT COUNT(`msg`) FROM `forum_msg` WHERE `topik`='1' and `tema`='$dat[id]';");
$kols = mysql_result($kolic, 0);
echo "<center><a href="forum.php?mod=post&id=1&topik=$dat[id]">Новости</a> ($kols) <br>($dat2[time])<br/>";
echo"<a href="setting.php">Настройки</a> | <a href="library.php">Об игре</a> | ";echo'<a href='online.php'>Онлайн '.mysql_result(mysql_query("SELECT COUNT(*) FROM `account` WHERE '".time()."' - `last_active` < '7000'"),0).'</a> | '; echo"<a href="forum.php">Форум</a></center>";
}
$arbuz = explode("/",$_SERVER['HTTP_USER_AGENT']);
$arbuz = htmlspecialchars($arbuz[0]);
echo'<center><font color=#999999>'.$times = date("H:i:s").', ';
echo info_compress();
echo ", ".round((($sec+$msec)-$gtime),1)." сек<br>";
echo "</center>";
echo "<center>".$configs[god]."</center>";
echo '<center><a href="http://waplog.net/c.shtml?556920"><img src="http://c.waplog.net/556920.cnt" alt="waplog" /></a> <script type="text/javascript" src="http://mobtop.ru/c/86787.js"></script><noscript><a href="http://mobtop.ru/in/86787"><img src="http://mobtop.ru/86787.gif" alt="MobTop.Ru - рейтинг мобильных сайтов"/></a></noscript></center>';
?>