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 +