link von den onliner user zum user edit implementiert

git-svn-id: svn://svn.cccv.de/engel-system@193 29ba0400-6e00-0410-a75a-ca02368028f8
main
cookie 18 years ago
parent c65e00ced4
commit cc1b8efaa3

@ -20,7 +20,7 @@ if( !function_exists("bcmod"))
echo "<h4 class=\"menu\">Engels Online</h4>"; echo "<h4 class=\"menu\">Engels Online</h4>";
$SQL = "SELECT Nick, lastLogIn ". $SQL = "SELECT UID, Nick, lastLogIn ".
"FROM User ". "FROM User ".
"WHERE (`lastLogIn` > '". gmdate("YmdHis", time()-(60*60)). "' AND NOT (UID=". $_SESSION['UID']. ")) ". "WHERE (`lastLogIn` > '". gmdate("YmdHis", time()-(60*60)). "' AND NOT (UID=". $_SESSION['UID']. ")) ".
"ORDER BY lastLogIn DESC;"; "ORDER BY lastLogIn DESC;";
@ -36,6 +36,11 @@ $Tist = (gmdate("d", time()) * 60 * 60 * 24) + // Tag
for( $i=0; $i<mysql_num_rows($Erg); $i++) for( $i=0; $i<mysql_num_rows($Erg); $i++)
{ {
echo "\t\t\t<li>"; echo "\t\t\t<li>";
// Schow Admin Page
if( $_SESSION['CVS'][ "admin/user.php" ] == "Y" )
echo " <a href=\"./../admin/user.php?enterUID=". mysql_result( $Erg, $i, "UID"). "&Type=Normal\">".
mysql_result( $Erg, $i, "Nick"). "</a>";
else
echo mysql_result( $Erg, $i, "Nick"); echo mysql_result( $Erg, $i, "Nick");
$Tlog = (substr( mysql_result( $Erg, $i, "lastLogIn"), 8, 2) * 60 * 60 * 24) + // Tag $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"), 11, 2) * 60 * 60) + // Stunde

Loading…
Cancel
Save