From 0059fd16dd903abc5417e3f4c8c6a9c1fdb3ab26 Mon Sep 17 00:00:00 2001 From: Angelo Cuccato Date: Mon, 8 Nov 2010 23:38:31 +0100 Subject: add Statistics --- www-ssl/admin/user.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'www-ssl/admin/user.php') diff --git a/www-ssl/admin/user.php b/www-ssl/admin/user.php index 1b99ec4b..a792f864 100755 --- a/www-ssl/admin/user.php +++ b/www-ssl/admin/user.php @@ -101,6 +101,15 @@ if (!IsSet($_GET["enterUID"])) "$Gekommen$Active$Tshirt\n"; echo "\t\n"; // Ende Userliste + + echo "

Statistics

"; + funktion_db_element_list_2row( "Hometown", + "SELECT COUNT(`Hometown`), `Hometown` FROM `User` GROUP BY `Hometown`"); + + echo "
\n"; + + funktion_db_element_list_2row( "Engeltypen", + "SELECT COUNT(`Art`), `Art` FROM `User` GROUP BY `Art`"); } else { -- cgit v1.2.3-54-g00ecf