From 01bd4e33de68d3ea85bfa670f9529b1154886187 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Litza Date: Wed, 14 Sep 2011 23:11:15 +0200 Subject: [PATCH] remove statistics from angel list which used includes_old functions --- includes/pages/admin_user.php | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/includes/pages/admin_user.php b/includes/pages/admin_user.php index d1b69db4..23c24619 100644 --- a/includes/pages/admin_user.php +++ b/includes/pages/admin_user.php @@ -2,8 +2,6 @@ function admin_user() { global $user; - include ("includes_old/funktion_db_list.php"); - $html = ""; if (isset ($_REQUEST['id']) && preg_match("/^[0-9]{1,}$/", $_REQUEST['id']) && sql_num_query("SELECT * FROM `User` WHERE `UID`=" . sql_escape($_REQUEST['id'])) > 0) { @@ -303,22 +301,7 @@ function admin_user() { "$Gekommen$Active$Tshirt\n"; $html .= "\t\n"; // Ende Userliste - - $html .= "

Statistics

"; - $html .= funktion_db_element_list_2row("Hometown", "SELECT COUNT(`Hometown`), `Hometown` FROM `User` GROUP BY `Hometown`"); - - $html .= "
\n"; - - $html .= funktion_db_element_list_2row("Engeltypen", "SELECT COUNT(`Art`), `Art` FROM `User` GROUP BY `Art`"); - - $html .= "
\n"; - - $html .= funktion_db_element_list_2row("Used Groups", "SELECT Groups.Name AS 'GroupName', COUNT(Groups.Name) AS Count FROM `UserGroups` " . - "LEFT JOIN `Groups` ON Groups.UID = UserGroups.group_id " . - "WHERE (UserGroups.group_id!='NULL') " . - "GROUP BY `GroupName` " . - ""); } return $html; } -?> \ No newline at end of file +?>