sql_query("select username, guest, module, url, UNIX_TIMESTAMP(now())-time AS time from ".$prefix."_whoiswhere order by username"); $member_online_num = $db->sql_numrows($result); // // Display Section // while ($session = $db->sql_fetchrow($result)) { //--- guest can only be 0 or 1 $guest = $session["guest"]; if ($num[$guest] < 10) { $who_online[$guest] .= "0"; } if ($guest == 0) { $title = "$session[username]"; } else { //--- Anonymous user if (isset($admin)) { $title = '$session[username]"; } else { $title = '' . _VISITEUR . ''; } } $who_online[$guest] .= "$num[$guest]: $title -> $session[module]
\n"; $num[$guest]++; } //--- Members if ($who_online[0] != "") { $content = " "._MEMBRES.":
$who_online[0]
"; } //--- Anonymous if ($who_online[1] != "") { $content .= " "._VISITEURS.":
$who_online[1]"; } ?>