<?
echo "<div class='titles'>n";
echo "<a href="/online.php">Онлайн: ".mysql_result(mysql_query("SELECT COUNT(*) FROM `user` WHERE `date_last` > ".(time()-600).""), 0)."</a> ";
echo "(+".mysql_result(mysql_query("SELECT COUNT(*) FROM `guests` WHERE `date_last` > ".(time()-600)." AND `pereh` > '0'"), 0)." гостей)n";
echo "</div>n";
include_once 'sys/inc/news_main.php'; // новости
include_once 'sys/inc/main_menu.php'; // главное меню
?>