diff --git a/Templates/Plus/3.tpl b/Templates/Plus/3.tpl index 0641bfb0..348eb151 100644 --- a/Templates/Plus/3.tpl +++ b/Templates/Plus/3.tpl @@ -1,45 +1,45 @@ dblink,"SELECT * FROM ".TB_PREFIX."users WHERE `id`='".$session->uid."'") or die(mysqli_error($database->dblink)); +//TODO: Reduce this file by a lot, by using arrays +$MyGold = mysqli_query($database->dblink, "SELECT * FROM " . TB_PREFIX . "users WHERE `id`='" . $session->uid . "'") or die(mysqli_error($database->dblink)); $golds = mysqli_fetch_array($MyGold); -include("Templates/Plus/pmenu.tpl"); +include ("Templates/Plus/pmenu.tpl"); - -$MyGold = mysqli_query($database->dblink,"SELECT * FROM ".TB_PREFIX."users WHERE `id`='".$session->uid."'") or die(mysqli_error($database->dblink)); +$MyGold = mysqli_query($database->dblink, "SELECT * FROM " . TB_PREFIX . "users WHERE `id`='" . $session->uid . "'") or die(mysqli_error($database->dblink)); $golds = mysqli_fetch_array($MyGold); $today = date("mdHi"); -if(mysqli_num_rows($MyGold)){ - if($session->gold == 0) echo "
You currently don't own gold.
"; - else echo "You currently have $session->gold gold
"; +if (mysqli_num_rows($MyGold)) { + if ($session->gold == 0) + echo "You currently don't own gold.
"; + else + echo "You currently have $session->gold gold
"; } - ?> +?> +Congratulations to everyone.
-Warriors, leaders, heroes, stood together, looking over the world they explored and conquered. Although the feast will end and people will go back to their daily lives again, this day will remain in their memory forever.
+We, the TravianZ Team, thank you and we look forward to a new adventure in a new TravianZ world.
+