mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-20 21:33:54 -07:00
Minor adjustments #580
This commit is contained in:
parent
fdebe81abf
commit
612093fb2a
1 changed files with 2 additions and 2 deletions
|
@ -142,13 +142,13 @@ if (isset($_GET['pane']) && $_GET['pane'] == 'left') {
|
||||||
$onlinerow_guest = DB()->sql_fetchrowset($result);
|
$onlinerow_guest = DB()->sql_fetchrowset($result);
|
||||||
|
|
||||||
// Reg users
|
// Reg users
|
||||||
$reg_userid_ary = array();
|
|
||||||
if (count($onlinerow_reg)) {
|
if (count($onlinerow_reg)) {
|
||||||
|
$reg_userid_ary = array();
|
||||||
|
|
||||||
for ($i = 0, $iMax = count($onlinerow_reg); $i < $iMax; $i++) {
|
for ($i = 0, $iMax = count($onlinerow_reg); $i < $iMax; $i++) {
|
||||||
if (!in_array($onlinerow_reg[$i]['user_id'], $reg_userid_ary)) {
|
if (!in_array($onlinerow_reg[$i]['user_id'], $reg_userid_ary)) {
|
||||||
if ($onlinerow_reg[$i]['user_id'] == $userdata['user_id'] || !bf($onlinerow_reg[$i]['user_opt'], 'user_opt', 'user_viewonline')) {
|
if ($onlinerow_reg[$i]['user_id'] == $userdata['user_id'] || !bf($onlinerow_reg[$i]['user_opt'], 'user_opt', 'user_viewonline')) {
|
||||||
$reg_userid_ary[] = $onlinerow_reg[$i]['user_id'];
|
$reg_userid_ary[] = $onlinerow_reg[$i]['user_id'];
|
||||||
$username = $onlinerow_reg[$i]['username'];
|
|
||||||
$row_class = 'row1';
|
$row_class = 'row1';
|
||||||
$reg_ip = decode_ip($onlinerow_reg[$i]['session_ip']);
|
$reg_ip = decode_ip($onlinerow_reg[$i]['session_ip']);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue