From 56ebfe0150d43cbe662be66f2dbcf117230fc894 Mon Sep 17 00:00:00 2001 From: ruan Date: Fri, 29 Nov 2019 13:09:00 +0200 Subject: [PATCH] Add support for checking players without JavaScript --- check.php | 4 ++-- inc/page.php | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/check.php b/check.php index f58773b..267c07d 100644 --- a/check.php +++ b/check.php @@ -35,7 +35,7 @@ class Check { if (!isset($uuid)) { if (filter_var($name, FILTER_VALIDATE_FLOAT)) { echo "
"; - redirect("info.php?id=$name&type=$type", false); + redirect("info.php?id=$name&type=$type"); return; } $name = htmlspecialchars($name, ENT_QUOTES, 'UTF-8'); @@ -50,7 +50,7 @@ class Check { } echo "
"; - redirect($href, false); + redirect($href); /* $table = $page->settings->table['bans']; diff --git a/inc/page.php b/inc/page.php index a8d50db..560ca73 100644 --- a/inc/page.php +++ b/inc/page.php @@ -507,7 +507,11 @@ class Page { echo '
-
+
+
+ + +