summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorJan-Philipp Litza <janphilipp@litza.de>2011-09-14 23:11:15 +0200
committerJan-Philipp Litza <janphilipp@litza.de>2011-09-14 23:11:15 +0200
commit01bd4e33de68d3ea85bfa670f9529b1154886187 (patch)
tree311463ad05e62498f5a61652bbc61c563d10274c /includes
parent2a09f904a5a6bd92d4c8191abe53061bd69d7e00 (diff)
remove statistics from angel list which used includes_old functions
Diffstat (limited to 'includes')
-rw-r--r--includes/pages/admin_user.php19
1 files changed, 1 insertions, 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() {
"<td>$Gekommen</td><td>$Active</td><td>$Tshirt</td><td></td><td></td></tr>\n";
$html .= "\t</table>\n";
// Ende Userliste
-
- $html .= "<hr /><h2>Statistics</h2>";
- $html .= funktion_db_element_list_2row("Hometown", "SELECT COUNT(`Hometown`), `Hometown` FROM `User` GROUP BY `Hometown`");
-
- $html .= "<br />\n";
-
- $html .= funktion_db_element_list_2row("Engeltypen", "SELECT COUNT(`Art`), `Art` FROM `User` GROUP BY `Art`");
-
- $html .= "<br />\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
+?>