<?
require '../sys/inc/start.php';
require '../sys/inc/compress.php';
require '../sys/inc/sess.php';
require '../sys/inc/home.php';
require '../sys/inc/settings.php';
require '../sys/inc/db_connect.php';
require '../sys/inc/ipua.php';
require '../sys/inc/fnc.php';
require '../sys/inc/user.php';

$set['title']='Игровой портал';
require '../sys/inc/thead.php';
title();
err();
?>
</div>
<div class='enk_div'>
<img src="/xhata/game/city.png"> <a href="/sims/">Sims</a>
(<?echo mysql_result(mysql_query("SELECT COUNT(*) FROM `user` WHERE `date_last` > '".(time()-600)."' AND `url` like '/sims/%'"), 0).' человек';
?>)
</div>
<div class='enk_div'>
<img src="/xhata/game/50.png"> <a href="/viselica/">Виселица</a>
(<?echo mysql_result(mysql_query("SELECT COUNT(*) FROM `user` WHERE `date_last` > '".(time()-600)."' AND `url` like '/online_games/racing/%'"), 0).' человек';
?>)
</div>
<div class='enk_div'>
<img src="/xhata/game/traffic-light.png"> <a href="/online_games/racing/">Гонки</a>
(<?echo mysql_result(mysql_query("SELECT COUNT(*) FROM `user` WHERE `date_last` > '".(time()-600)."' AND `url` like '/online_games/racing/%'"), 0).' человек';
?>)
</div>
<div class='enk_div'>
<img src="/xhata/game/app_thumb_greatempire.gif"> <a href="/kaktuz/">Кактусомания</a>
(<?echo mysql_result(mysql_query("SELECT COUNT(*) FROM `user` WHERE `date_last` > '".(time()-600)."' AND `url` like '/kaktuz/%'"), 0).' человек';
?>)
</div>
<div class='enk_div'>
<img src="/xhata/game/fish.png"> <a href="/fish/">Рыбалка</a>
(<?echo mysql_result(mysql_query("SELECT COUNT(*) FROM `user` WHERE `date_last` > '".(time()-600)."' AND `url` like '/fish/%'"), 0).' человек';
?>)
</div>
<div class='enk_div'>
<img src="/xhata/game/app_thumb_ferma.gif"> <a href="/bar/">Бармен</a>
(<?echo mysql_result(mysql_query("SELECT COUNT(*) FROM `user` WHERE `date_last` > '".(time()-600)."' AND `url` like '/bar/%'"), 0).' человек';
?>)
<?
require '../sys/inc/tfoot.php';
?>