tshirt sum

This commit is contained in:
Philip Häusler 2013-12-30 15:45:04 +01:00
parent 8c2157c546
commit d921cf903e
1 changed files with 4 additions and 0 deletions

View File

@ -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(