mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-09 14:16:08 +00:00
Merge pull request #4 from Fannybaws/RemoveUpdateCheck
Remove update check
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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,3 +1,3 @@
|
||||
<?php
|
||||
$latest="15";
|
||||
$latest="16";
|
||||
?>
|
||||
+1
-1
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user