[code]$on = mysql_result(mysql_query(\"SELECT COUNT(*) FROM `user` WHERE `date_last` > \".(time()-6000).\"\"
, 0);
$g = mysql_result(mysql_query(\"SELECT COUNT(*) FROM `guests` WHERE `date_last` > \".(time()-3000).\" AND `pereh` > \'0\'\"
, 0);
$all_on = ($on+$g);
echo \'Онлайн: (\'.$all_on.\') \';[/code]