summaryrefslogtreecommitdiff
path: root/www-ssl/inc
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-12-22 17:16:25 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-12-22 17:16:25 +0000
commit060f4507133cda370a5d4dcddf4cda20e8c0ffd3 (patch)
tree7ec9c0892970ca666edce0ebbea6c750079e2b28 /www-ssl/inc
parent171e9fb17005c3669c2e0c498320236967860436 (diff)
ausgabe der picture beu active user, include function_user.php in header.php und include aus anderen files entfernt
git-svn-id: svn://svn.cccv.de/engel-system@218 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl/inc')
-rwxr-xr-xwww-ssl/inc/funktion_activeUser.php2
-rwxr-xr-xwww-ssl/inc/header.php1
2 files changed, 3 insertions, 0 deletions
diff --git a/www-ssl/inc/funktion_activeUser.php b/www-ssl/inc/funktion_activeUser.php
index 5d1ae0f8..2e704079 100755
--- a/www-ssl/inc/funktion_activeUser.php
+++ b/www-ssl/inc/funktion_activeUser.php
@@ -36,12 +36,14 @@ $Tist = (gmdate("d", time()) * 60 * 60 * 24) + // Tag
for( $i=0; $i<mysql_num_rows($Erg); $i++)
{
echo "\t\t\t<li>";
+ echo DisplayAvatar( mysql_result( $Erg, $i, "UID"));
// 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");
+
$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
diff --git a/www-ssl/inc/header.php b/www-ssl/inc/header.php
index 08e532b7..c6be4957 100755
--- a/www-ssl/inc/header.php
+++ b/www-ssl/inc/header.php
@@ -5,6 +5,7 @@ include ("./inc/config_db.php");
include ("./inc/funktion_lang.php");
include ("./inc/funktion_faq.php"); //für noAnswer() im menu
include ("./inc/funktion_menu.php");
+include ("./inc/funktion_user.php");
if( !isset($_SESSION))
session_start();