Файл: inc/foter.php
Строк: 44
<?php
Error_Reporting(E_ALL & ~E_NOTICE);
include 'inc/_conf.php';
if (isset($_COOKIE['nick'])){
mysql_query("UPDATE `pers` SET `usr` ='".mysql_real_escape_string($_SERVER['SCRIPT_NAME'])."' WHERE `nick` = '$nick' LIMIT 1");
echo'<div class="bts"></div>';
echo "<img src='/style/img/arrow.png' alt='*'/> <a href='/index2.php'>Главная</a><br>";
if(!empty($clan)){
echo"<img src='/style/img/clan.png' alt='*'/> <a href="group_mains.php">Лига</a><br/>";
}
echo "<img src='/style/img/user.png' alt='*'/> <a href="pers.php">Персонаж</a><br>";
echo "<div class='head2'><center> <img src='style/img/user.png'> $nick <img src='/style/img/gold.png' alt='*'/> $gold <img src='/style/img/silver.png' alt='*'/> $serebro <img src='/style/img/level.png' alt='*'/> $lvl</a></center></div>";
}
$cfg = mysql_query("SELECT * FROM `config`");
$configs = mysql_fetch_array($cfg);
list($msec,$sec)=explode(chr(1),microtime());
echo "<div class='foot'>";
if (isset($_COOKIE['nick'])){
$w = mysql_query("SELECT COUNT(*) FROM `online`");
$online = mysql_result($w, 0);
echo"<small><center> Онлайн:</a> <font color=SeaGreen1>($online)</font> | <a href="exit.php?">Выход</a></center></small>";
}
echo "<center><font color='#999999'><small><small>".round((($sec+$msec)-$gtime),1)." сек";
echo' | '.$times = date("H:i:s").'</small></small></center>';
echo "<center><small><small>".$configs[autor]."</small></small></center>";
?>