From 928594e9b97f6000852dcee4c72109c0e1ac03ac Mon Sep 17 00:00:00 2001 From: Ruan Date: Thu, 9 Jul 2015 08:30:16 +0200 Subject: [PATCH] Add fade-out --- check.php | 7 +++---- includes/page.php | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/check.php b/check.php index 2b83ddb..c727ad9 100644 --- a/check.php +++ b/check.php @@ -18,7 +18,7 @@ if (isset($_POST['name'], $_POST['table'])) { } if (!isset($uuid)) { $name = htmlspecialchars($name, ENT_QUOTES, 'UTF-8'); - echo($name . ' has not joined before.'); + echo($name . ' has not joined before.
'); return; } $table = $table_bans; @@ -26,7 +26,7 @@ if (isset($_POST['name'], $_POST['table'])) { $stmt = $conn->prepare("SELECT * FROM " . $table . " WHERE (uuid=? AND active=1) LIMIT 1"); if ($stmt->execute(array($uuid))) { if (!($row = $stmt->fetch())) { - echo($name . ' is not banned.'); + echo($name . ' is not banned.
'); return; } $banner = get_banner_name($row); @@ -40,9 +40,8 @@ if (isset($_POST['name'], $_POST['table'])) { if ($row['until'] > 0) { echo('Banned until: ' . $until . '
'); } else { - echo('Banned permanently.'); + echo('Banned permanently.
'); } - echo("
"); } } ?> \ No newline at end of file diff --git a/includes/page.php b/includes/page.php index b114fb8..45a44df 100644 --- a/includes/page.php +++ b/includes/page.php @@ -100,7 +100,7 @@ function print_check_form($table) {
- +
');