is_string($_GET['q'] ?? null) ? $_GET['q'] : '', 'view' => is_string($_GET['view'] ?? null) && isset($views[$_GET['view']]) ? $_GET['view'] : '', 'category' => is_string($_GET['category'] ?? null) ? $_GET['category'] : '', 'dtf' => is_string($_GET['dtf'] ?? null) ? $_GET['dtf'] : '', 'dtt' => is_string($_GET['dtt'] ?? null) ? $_GET['dtt'] : '', ]; $summary = []; $where = appLogFiltersSql($src, $summary); $matching = intval(mysqli_fetch_row(mysqli_query($mysqli, "SELECT COUNT(*) FROM app_logs WHERE $where"))[0]); $total = intval(mysqli_fetch_row(mysqli_query($mysqli, "SELECT COUNT(*) FROM app_logs"))[0]); $filtered = !empty($summary); ob_start(); ?>