|
|
@ -53,8 +53,7 @@ function admin_active()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (isset($_REQUEST['ack'])) {
|
|
|
|
if (isset($_REQUEST['ack'])) {
|
|
|
|
DB::update('UPDATE `User` SET `Aktiv` = 0 WHERE `Tshirt` = 0');
|
|
|
|
DB::update('UPDATE `User` SET `Aktiv` = 0 WHERE `Tshirt` = 0');
|
|
|
|
$users = DB::select(sprintf(
|
|
|
|
$users = DB::select(sprintf('
|
|
|
|
'
|
|
|
|
|
|
|
|
SELECT
|
|
|
|
SELECT
|
|
|
|
`User`.*,
|
|
|
|
`User`.*,
|
|
|
|
COUNT(`ShiftEntry`.`id`) AS `shift_count`,
|
|
|
|
COUNT(`ShiftEntry`.`id`) AS `shift_count`,
|
|
|
|