Access denied.
'; return; } $days = isset($_GET['days']) && ctype_digit((string)$_GET['days']) ? max(1, min(30, (int)$_GET['days'])) : PushProtection::WINDOW_DAYS; $hours = isset($_GET['hours']) && ctype_digit((string)$_GET['hours']) ? max(1, min(168, (int)$_GET['hours'])): PushProtection::HOURS_ALLOWED; $only = isset($_GET['only']) && in_array($_GET['only'], ['all','over','flagged'], true) ? $_GET['only'] : 'all'; $data = PushProtection::dashboard(['days' => $days, 'hours' => $hours, 'only' => $only]); $rows = $data['rows']; function pp_num($n) { return number_format((int)$n); } ?>