登录状态已失效,请刷新页面后重新登录。'; exit; } header('Content-Type: text/html; charset=utf-8'); header('Cache-Control: no-store, no-cache, must-revalidate'); $section = (string) ($_GET['section'] ?? 'access'); if ($section === 'loginfail') { $lf = substr(trim((string) ($_GET['lf'] ?? '')), 0, 64); echo vis_render_loginfail(vis_query_loginfail($lf, 200)); exit; } $mode = (string) ($_GET['mode'] ?? 'full'); if (!in_array($mode, ['full', 'compact'], true)) { $mode = 'full'; } $ipF = substr(trim((string) ($_GET['ip'] ?? '')), 0, 64); $q = substr(trim((string) ($_GET['q'] ?? '')), 0, 100); $page = max(1, (int) ($_GET['page'] ?? 1)); echo vis_render_access(vis_query_access($mode, $ipF, $q, $page, 30));