From e12608ee73cdc43a01482e777ed3fec59043e6d8 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Litza Date: Thu, 27 Dec 2012 16:11:07 +0100 Subject: made the user list a bit nicer --- includes/pages/admin_user.php | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'includes/pages/admin_user.php') diff --git a/includes/pages/admin_user.php b/includes/pages/admin_user.php index f4902e1c..9c13cbd7 100644 --- a/includes/pages/admin_user.php +++ b/includes/pages/admin_user.php @@ -293,16 +293,15 @@ function admin_user() { Nick Vorname Name + DECT Alter - - E-Mail - - Größe - Gekommen - Aktiv - T-Shirt + E-Mail +
Gekommen
+
Aktiv
+
T-Shirt
+
Größe
Last login - Änd. + Edit '; $Gekommen = 0; $Active = 0; @@ -340,6 +339,7 @@ function admin_user() { else $html .= "\t" . mysql_result($Erg, $n, "Nick") . "\n"; $html .= "\t" . mysql_result($Erg, $n, "Vorname") . " " . mysql_result($Erg, $n, "Name") . "\n"; + $html .= "\t" . mysql_result($Erg, $n, "DECT") . "\n"; $html .= "\t" . mysql_result($Erg, $n, "Alter") . "\n"; $html .= "\t"; if (strlen(mysql_result($Erg, $n, "email")) > 0) @@ -347,25 +347,25 @@ function admin_user() { mysql_result($Erg, $n, "email") . ""; $html .= ''; $html .= "\n"; - $html .= "\t" . mysql_result($Erg, $n, "Size") . "\n"; $Gekommen += mysql_result($Erg, $n, "Gekommen"); - $html .= "\t" . mysql_result($Erg, $n, "Gekommen") . "\n"; + $html .= "\t" . mysql_result($Erg, $n, "Gekommen") . "\n"; $Active += mysql_result($Erg, $n, "Aktiv"); - $html .= "\t" . mysql_result($Erg, $n, "Aktiv") . "\n"; + $html .= "\t" . mysql_result($Erg, $n, "Aktiv") . "\n"; $Tshirt += mysql_result($Erg, $n, "Tshirt"); - $html .= "\t" . mysql_result($Erg, $n, "Tshirt") . "\n"; + $html .= "\t" . mysql_result($Erg, $n, "Tshirt") . "\n"; + $html .= "\t" . mysql_result($Erg, $n, "Size") . "\n"; $last_login = mysql_result($Erg, $n, "lastLogIn"); if($last_login == 0) $html .= "never"; else - $html .= "" . date("Y-m-d H:i", $last_login) . ""; + $html .= "" . date('d.m.&\n\b\s\p;H:i', $last_login) . ""; $html .= "\t" . 'Edit' . "\n"; $html .= "\n"; } $html .= "" . - "" . - "$Gekommen$Active$Tshirt\n"; + "Summe" . + "$Gekommen$Active$Tshirt\n"; $html .= "\t\n"; // Ende Userliste } -- cgit v1.2.3-70-g09d2