checkPermissions('office-stompjes', 'RO', true)) { echo 'error 401 unauthorized'; exit; } # Page functions # JS Scripts to load for this page $jsScriptLoadData['/src/js/sentri/delete_confirmation.js'] = true; $jsScriptLoadData['/src/js/plugin/chart.js/chart.min.js'] = true; $jsScriptLoadData['/src/js/sentri/stompjes.js'] = true; $jsScriptLoadData['/src/js/plugin/datatables/datatables.min.js'] = true; $jsScriptLoadData['/src/js/sentri/multiFilterSelect.js'] = true; $jsScriptLoadData['datepicker'] = true; # PageClasses Setup # Retrieve Information for the page $stmt = $GLOBALS['conn']->query("SELECT user_uuid, user_full_name, user_first_name, user_profile_picture_thumbnail, user_stompable, user_email FROM system_users WHERE user_stompable = '1'"); $administrators = []; while ($row = $stmt->fetch_assoc()) { $administrators[$row['user_uuid']] = $row; $administrators[$row['user_uuid']]['amount'] = 0; } if (!isset($_GET['fd'])) { $SelectFromDate = strtotime(date('Y-m-01')); } else { $date = str_replace('/', '-', htmlspecialchars($_GET['fd'], ENT_QUOTES, 'UTF-8')); $SelectFromDate = strtotime($date . ' 00:00:00'); } if (!isset($_GET['td'])) { $SelectTillDate = time(); } else { $date = str_replace('/', '-', htmlspecialchars($_GET['td'], ENT_QUOTES, 'UTF-8')); $SelectTillDate = strtotime($date . ' 23:59:59'); } $stompjes = $API->getStomp(true); foreach ($stompjes as $stompje) { $administrators[$stompje['user_uuid']]['amount']++; } # Start page output ?>

 

:
:
" height="50px" alt="">

checkPermissions('office-stompjes', 'RW', true)) { ?> checkPermissions('office-stompjes', 'RW', true)) { ?> > checkPermissions('office-stompjes', 'RW', true)) { ?>
" height="50px" alt="">