diff --git a/www-ssl/admin/debug.php b/www-ssl/admin/debug.php
index 917e4a32..aaf1bcb4 100755
--- a/www-ssl/admin/debug.php
+++ b/www-ssl/admin/debug.php
@@ -5,7 +5,7 @@ $header = "Datenbank-Auszug";
include ("./inc/header.php");
include ("./inc/funktion_db_list.php");
-echo "
Counter
";
+echo "Web Counter
";
funktion_db_list("Counter");
/*
@@ -30,6 +30,17 @@ funktion_db_list("FAQ");
echo "Deaktiviert";
*/
+
+echo "Tshirt-Size
";
+$SQL="SELECT `Size`, COUNT(`Size`) FROM User GROUP BY `Size`";
+$Erg = mysql_query($SQL, $con);
+echo mysql_error($con);
+$rowcount = mysql_num_rows($Erg);
+
+for ($i=0; $i<$rowcount; $i++)
+ echo mysql_result($Erg, $i, 1). "x '". mysql_result($Erg, $i, 0). "'
\n";
+
+
include ("./inc/footer.php");
?>
diff --git a/www-ssl/admin/user.php b/www-ssl/admin/user.php
index 994666d9..265b8288 100755
--- a/www-ssl/admin/user.php
+++ b/www-ssl/admin/user.php
@@ -15,7 +15,7 @@ if (!IsSet($_GET["enterUID"]))
echo "\nEdit logout User
\n";
if( !isset($_GET["OrderBy"]) ) $_GET["OrderBy"] = "Nick";
- $SQL = "SELECT * FROM User ORDER BY ". $_GET["OrderBy"]. " ASC";
+ $SQL = "SELECT * FROM User ORDER BY `". $_GET["OrderBy"]. "` ASC";
$Erg = mysql_query($SQL, $con);
echo mysql_error($con);
@@ -29,8 +29,14 @@ if (!IsSet($_GET["enterUID"]))
?OrderBy=Nick">Nick |
?OrderBy=Name">Name |
?OrderBy=Vorname">Vorname |
- Alter |
- Telefon ?OrderBy=email">@ |
+ ?OrderBy=Alter">Alter |
+
+ ?OrderBy=email">@ |
+ ?OrderBy=DECT">DECT |
+ ?OrderBy=Hometown">Hometown |
+ ?OrderBy=lastLogIn">lastLogIn |
+ ?OrderBy=Art">Type
+ |
?OrderBy=Size">Größe |
?OrderBy=Gekommen">G |
?OrderBy=Aktiv">A |
@@ -66,6 +72,8 @@ if (!IsSet($_GET["enterUID"]))
echo "\n\t\tHometown: ". mysql_result($Erg, $n, "Hometown"). "
";
if( strlen( mysql_result($Erg, $n, "lastLogIn"))>0)
echo "\n\t\tlastLogIn: ". mysql_result($Erg, $n, "lastLogIn"). "
";
+ if( strlen( mysql_result($Erg, $n, "Art"))>0)
+ echo "\n\t\tType: ". mysql_result($Erg, $n, "Art"). "
";
echo "\n";
echo "\t".mysql_result($Erg, $n, "Size")." | \n";
$Gekommen += mysql_result($Erg, $n, "Gekommen");
diff --git a/www-ssl/nonpublic/news_output.php b/www-ssl/nonpublic/news_output.php
index db6e3a9f..cba36142 100755
--- a/www-ssl/nonpublic/news_output.php
+++ b/www-ssl/nonpublic/news_output.php
@@ -73,7 +73,7 @@ echo "";
-