tshirt sum

main
Philip Häusler 11 years ago
parent 8c2157c546
commit d921cf903e

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

Loading…
Cancel
Save