diff --git a/www-ssl/inc/funktion_activeUser.php b/www-ssl/inc/funktion_activeUser.php index b5d66d8a..5d1ae0f8 100755 --- a/www-ssl/inc/funktion_activeUser.php +++ b/www-ssl/inc/funktion_activeUser.php @@ -20,7 +20,7 @@ if( !function_exists("bcmod")) echo "

Engels Online

"; -$SQL = "SELECT Nick, lastLogIn ". +$SQL = "SELECT UID, Nick, lastLogIn ". "FROM User ". "WHERE (`lastLogIn` > '". gmdate("YmdHis", time()-(60*60)). "' AND NOT (UID=". $_SESSION['UID']. ")) ". "ORDER BY lastLogIn DESC;"; @@ -36,7 +36,12 @@ $Tist = (gmdate("d", time()) * 60 * 60 * 24) + // Tag for( $i=0; $i"; - echo mysql_result( $Erg, $i, "Nick"); + // Schow Admin Page + if( $_SESSION['CVS'][ "admin/user.php" ] == "Y" ) + echo " ". + mysql_result( $Erg, $i, "Nick"). ""; + else + echo mysql_result( $Erg, $i, "Nick"); $Tlog = (substr( mysql_result( $Erg, $i, "lastLogIn"), 8, 2) * 60 * 60 * 24) + // Tag (substr( mysql_result( $Erg, $i, "lastLogIn"), 11, 2) * 60 * 60) + // Stunde (substr( mysql_result( $Erg, $i, "lastLogIn"), 14, 2) * 60) + // Minute