From 2cd42a3e4e0a744919fa42f2e677331c1fdc2752 Mon Sep 17 00:00:00 2001 From: Catalin Novgorodschi <1140613+Shadowss@users.noreply.github.com> Date: Mon, 11 Jun 2018 14:55:22 +0300 Subject: [PATCH] Ups something went wrong @iopietro a little forgot :)) --- Templates/Plus/3.tpl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Templates/Plus/3.tpl b/Templates/Plus/3.tpl index 0641bfb0..14fd9e8b 100644 --- a/Templates/Plus/3.tpl +++ b/Templates/Plus/3.tpl @@ -15,6 +15,7 @@ if(mysqli_num_rows($MyGold)){ if($session->gold == 0) echo "

You currently don't own gold.

"; else echo "

You currently have $session->gold gold

"; } + ?> @@ -55,7 +56,7 @@ $date2 = strtotime("NOW"); if ($datetimep == 0) echo "get PLUS
"; else -{ + if ($datetimep <= $date2) { print "Your PLUS advantage has ended.
"; mysqli_query($database->dblink,"UPDATE ".TB_PREFIX."users set plus = '0' where `id`='".$session->uid."'") or die(mysqli_error($database->dblink)); @@ -477,9 +478,9 @@ if (mysqli_num_rows($MyGold)) { }} else { echo 'On';} } - ?> +?> - \ No newline at end of file +