mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update index.php
This commit is contained in:
parent
8ae4cccacd
commit
1eb2652963
@ -234,6 +234,9 @@ elseif (isset($_GET['pane']) && $_GET['pane'] == 'right')
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Count registered users and hidden users
|
||||||
|
$template->assign_vars(array('TOTAL_USERS_ONLINE' => $registered_users + $hidden_users));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Guest users
|
// Guest users
|
||||||
@ -258,6 +261,9 @@ elseif (isset($_GET['pane']) && $_GET['pane'] == 'right')
|
|||||||
'U_WHOIS_IP' => $bb_cfg['whois_info'] . $guest_ip,
|
'U_WHOIS_IP' => $bb_cfg['whois_info'] . $guest_ip,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Count guests
|
||||||
|
$template->assign_vars(array('TOTAL_GUESTS_ONLINE' => $guest_users));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user