Файл: pages/game_count.php
Строк: 1
<?php
$cool_siti=mysql_result(mysql_query
("SELECT COUNT
(*) FROM `user` WHERE `date_last` > '".
(time()-30)."' AND `url` like '/cool_siti/
%'"), 0);
$fermer=mysql_result(mysql_query
("SELECT COUNT
(*) FROM `user` WHERE `date_last` > '".
(time()-600)."' AND `url` like '/fermer/
%'"), 0);
$my_site=mysql_result(mysql_query
("SELECT COUNT
(*) FROM `user` WHERE `date_last` > '".
(time()-30)."' AND `url` like '/my_site/
%'"), 0);
$stalker=mysql_result(mysql_query
("SELECT COUNT
(*) FROM `user` WHERE `date_last` > '".
(time()-30)."' AND `url` like '/stalker/
%'"), 0);
$darck_word=mysql_result
(mysql_query("SELECT COUNT
(*) FROM `user` WHERE `date_last` > '".
(time()-30)."' AND `url` like '/
darck_word/%'"), 0);
$war=mysql_result(mysql_query
("SELECT COUNT
(*) FROM `user` WHERE `date_last` > '".
(time()-30)."' AND `url` like '/war/
%'"), 0); // это моя игра хД
$vse=$cool_siti+$fermer+$my_site+
$stalker+$darck_word+$war;
echo ''.$vse.'';
?>