summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2013-12-30 15:45:04 +0100
committerPhilip Häusler <msquare@notrademark.de>2013-12-30 15:45:04 +0100
commitd921cf903eedd98fce74114d43f7c98ed8baabdc (patch)
tree1d8acab131a6a2b5ac48f91d23685cf13fda39f9 /includes
parent8c2157c5462ef27c1b9c587ae0b112ea1925b7db (diff)
tshirt sum
Diffstat (limited to 'includes')
-rw-r--r--includes/pages/admin_active.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/pages/admin_active.php b/includes/pages/admin_active.php
index ac8a53c2..805c8357 100644
--- a/includes/pages/admin_active.php
+++ b/includes/pages/admin_active.php
@@ -132,6 +132,10 @@ function admin_active() {
WHERE `Tshirt`=1
GROUP BY `Size`
ORDER BY `count` DESC");
+ $shirt_statistics[] = array(
+ 'Size' => '<b>' . _("Sum") . '</b>',
+ 'count' => '<b>' . sql_select_single_cell("SELECT count(*) FROM `User` WHERE `Tshirt`=1") . '</b>'
+ );
return page(array(
form(array(