<?
$t=time();
$r1 = $_SERVER['SERVER_NAME'];
$r2 =  $_SERVER['HTTP_REFERER'];
$query_on = mysql_query("SET NAMES cp1251");
$query_on = mysql_query("SELECT * FROM users WHERE $t-gametime<600");
$onC = mysql_num_rows($query_on);

?>

<div class='main_foot'>
<div class=center>
<div class=grey>
<div class=small>
<div class=foot>
<?echo"<a href=http://$r1/dsgame_1303/menu.php>Главная</a>";?>
 | <a href=forum.php>Форум</a> 
 | <a href=rules.php>Правила</a> 
 | <a href=lib.php>FAQ</a> | 
 <a href=support.php>Поддержка</a>
 </div></div><div class='foot_margin'>
 </div><div class=smallest>
 <?echo "время сервера:".date("H:i");?>
 <?echo "онлайн:<a href=\"online/online2.php\"><font color=\"lime\">$onC</font></a>";?>
 <br/><div class='min_margin'>
 </div>Мизерков Сергей &copy; 2006 - <?echo date(Y);?> <u><a href="about.php"><font color="lime">Мрак Подземелья</font></a></u>
 </div>
 </div>
 </div>
 </div>

