tshirt sum
This commit is contained in:
parent
8c2157c546
commit
d921cf903e
|
@ -132,6 +132,10 @@ function admin_active() {
|
||||||
WHERE `Tshirt`=1
|
WHERE `Tshirt`=1
|
||||||
GROUP BY `Size`
|
GROUP BY `Size`
|
||||||
ORDER BY `count` DESC");
|
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(
|
return page(array(
|
||||||
form(array(
|
form(array(
|
||||||
|
|
Loading…
Reference in New Issue