Merge pull request #4 from Fannybaws/RemoveUpdateCheck

Remove update check
This commit is contained in:
Shadow
2013-12-01 23:27:45 -08:00
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
#################################################################################
############ Check Update #############
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");
?>
<div align="center">
+4 -4
View File
@@ -1,10 +1,10 @@
<?php
if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!");
include('ver.tpl');
if(isset($_GET['c']))
{
copy("https://raw.github.com/yi12345/TravianZ/master/Admin/Templates/update_latest.tpl", "Templates/update_latest.tpl");
}
//if(isset($_GET['c']))
//{
// copy("https://raw.github.com/yi12345/TravianZ/master/Admin/Templates/update_latest.tpl", "Templates/update_latest.tpl");
//}
include('update_latest.tpl');
/*
if(isset($_GET['u']))
+1 -1
View File
@@ -1,3 +1,3 @@
<?php
$latest="15";
$latest="16";
?>
+1 -1
View File
@@ -97,7 +97,7 @@ $up_avl = $latest - $ver ;
<a href="<?php echo HOMEPAGE; ?>">Server Homepage</a>
<a href="admin.php">Control Panel Home</a>
<a href="<?php echo SERVER; ?>dorf1.php">Return to the server</a>
<a href="?p=update"><font color="Red"><b>Server Update (<?php echo $up_avl; ?>)</font></b></a>
<!-- <a href="?p=update"><font color="Red"><b>Server Update (<?php echo $up_avl; ?>)</font></b></a>-->
<br />
<a href="?action=logout">Logout</a>
<br />