$MembersOnline = null; $GuestsOnline = null; while ($uoli < $uolnum) { $session_data = sql_result($uolresult, $uoli, "session_data"); $serialized_data = sql_result($uolresult, $uoli, "serialized_data"); $session_user_agent = sql_result($uolresult, $uoli, "user_agent"); $session_ip_address = sql_result($uolresult, $uoli, "ip_address"); //$UserSessInfo = unserialize_session($session_data); $UserSessInfo = unserialize($serialized_data); if (!isset($UserSessInfo['UserGroup'])) { $UserSessInfo['UserGroup'] = $Settings['GuestGroup']; } $AmIHiddenUser = "******"; $user_agent_check = false; if (user_agent_check($session_user_agent)) { $user_agent_check = user_agent_check($session_user_agent); } if ($UserSessInfo['UserGroup'] != $Settings['GuestGroup'] || $user_agent_check !== false) { $PreAmIHiddenUser = GetUserName($UserSessInfo['UserID'], $Settings['sqltable'], $SQLStat); $AmIHiddenUser = $PreAmIHiddenUser['Hidden']; if ($AmIHiddenUser == "no" && $UserSessInfo['UserID'] > 0 || $user_agent_check !== false) { if ($olmbn > 0) { $MembersOnline .= ", "; } if ($user_agent_check === false) { $uatitleadd = null; if ($GroupInfo['CanViewUserAgent'] == "yes") { $uatitleadd = " title=\"" . htmlentities($session_user_agent, ENT_QUOTES, $Settings['charset']) . "\""; } $MembersOnline .= "<a" . $uatitleadd . " href=\"" . url_maker($exfile['member'], $Settings['file_ext'], "act=view&id=" . $UserSessInfo['UserID'], $Settings['qstr'], $Settings['qsep'], $prexqstr['member'], $exqstr['member']) . "\">" . $UserSessInfo['MemberName'] . "</a>"; if ($GroupInfo['CanViewIPAddress'] == "yes") {
</td> </tr> <?php } } } if ($UserSessInfo['UserGroup'] == $Settings['GuestGroup']) { if (!isset($UserSessInfo['GuestName'])) { $UserSessInfo['GuestName'] = "Guest"; } if (!isset($UserSessInfo['UserID'])) { $UserSessInfo['UserID'] = "0"; } if ($_GET['list'] == "all" || $_GET['list'] == "guests") { if (user_agent_check($session_user_agent)) { $UserSessInfo['GuestName'] = user_agent_check($session_user_agent); } $user_agent_title = null; ?> <tr id="Member<?php echo $i; ?> " class="TableRow3"> <td class="TableColumn3" style="text-align: center;"><?php echo $UserSessInfo['UserID']; ?> </td> <td class="TableColumn3" style="text-align: center;"><span<?php if ($GroupInfo['CanViewUserAgent'] == "yes") { ?> title="<?php