<?include_once 'core/sys.php';echo mysql_result(mysql_query("SELECT COUNT(*) FROM `user` WHERE `online` > ".(time()-600).""), 0); ?>