Código:
Gracias. <?php if ( !defined('NUKE_FILE') ) { Header("Location: index.php"); die(); } global $user, $cookie, $prefix, $db, $user_prefix; cookiedecode($user); $ip = $_SERVER["REMOTE_ADDR"]; $uname = $cookie[1]; if (!isset($uname)) { $uname = "$ip"; $guest = 1; } $guest_online_num = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_session WHERE guest='1'")); $member_online_num = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_session WHERE guest='0'")); $who_online_num = $guest_online_num + $member_online_num; $who_online = "<center><font class=\"content\">$guest_online_num<br>"; $content = "$who_online"; ?>