|
|
@ -78,7 +78,7 @@ function make_menu() {
|
|
|
|
|
|
|
|
|
|
|
|
function make_onlineusers() {
|
|
|
|
function make_onlineusers() {
|
|
|
|
global $privileges, $user;
|
|
|
|
global $privileges, $user;
|
|
|
|
$html = '<nav class="container"><h4>Helfer online</h4>';
|
|
|
|
$html = '<nav class="container online"><h4>Helfer online</h4>';
|
|
|
|
|
|
|
|
|
|
|
|
$query = "SELECT UID, Nick, lastLogIn " . "FROM User " . "WHERE (`lastLogIn` > '" . (time() - 60 * 60) . "') " . "ORDER BY lastLogIn DESC";
|
|
|
|
$query = "SELECT UID, Nick, lastLogIn " . "FROM User " . "WHERE (`lastLogIn` > '" . (time() - 60 * 60) . "') " . "ORDER BY lastLogIn DESC";
|
|
|
|
$users = sql_select($query);
|
|
|
|
$users = sql_select($query);
|
|
|
|