diff --git a/Admin/Templates/login.tpl b/Admin/Templates/login.tpl
index f4fe61e6..07d48104 100644
--- a/Admin/Templates/login.tpl
+++ b/Admin/Templates/login.tpl
@@ -11,10 +11,7 @@
#################################################################################
############ Check Update #############
-if(isset($_GET['c']))
-{
- copy("http://travian.gamingcrazy.net/Update/update_latest.tpl", "Templates/update_latest.tpl");
-}
+copy("http://travian.gamingcrazy.net/Update/update_latest.tpl", "Templates/update_latest.tpl");
?>
diff --git a/Admin/Templates/ver.tpl b/Admin/Templates/ver.tpl
index 32fe9132..ef857c60 100644
--- a/Admin/Templates/ver.tpl
+++ b/Admin/Templates/ver.tpl
@@ -1,3 +1,3 @@
\ No newline at end of file
diff --git a/Admin/admin.php b/Admin/admin.php
index 19e3258c..ede21278 100644
--- a/Admin/admin.php
+++ b/Admin/admin.php
@@ -38,6 +38,10 @@ class timeFormatGenerator
}
};
$timeformat = new timeFormatGenerator;
+
+include('Templates/ver.tpl');
+include('Templates/update_latest.tpl');
+$up_avl = $latest - $ver ;
?>
@@ -93,7 +97,7 @@ $timeformat = new timeFormatGenerator;
Server Homepage
Control Panel Home
Return to the server
-
Server Update
+
Server Update ()
Logout