mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-21 02:30:58 +00:00
Update System
This commit is contained in:
@@ -11,10 +11,7 @@
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
############ Check Update #############
|
############ 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");
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div align="center">
|
<div align="center">
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
<?php
|
<?php
|
||||||
$ver="15";
|
$ver="16";
|
||||||
?>
|
?>
|
||||||
+5
-1
@@ -38,6 +38,10 @@ class timeFormatGenerator
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
$timeformat = new timeFormatGenerator;
|
$timeformat = new timeFormatGenerator;
|
||||||
|
|
||||||
|
include('Templates/ver.tpl');
|
||||||
|
include('Templates/update_latest.tpl');
|
||||||
|
$up_avl = $latest - $ver ;
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
<html>
|
<html>
|
||||||
@@ -93,7 +97,7 @@ $timeformat = new timeFormatGenerator;
|
|||||||
<a href="<?php echo HOMEPAGE; ?>">Server Homepage</a>
|
<a href="<?php echo HOMEPAGE; ?>">Server Homepage</a>
|
||||||
<a href="admin.php">Control Panel Home</a>
|
<a href="admin.php">Control Panel Home</a>
|
||||||
<a href="<?php echo SERVER; ?>dorf1.php">Return to the server</a>
|
<a href="<?php echo SERVER; ?>dorf1.php">Return to the server</a>
|
||||||
<a href="?p=update"><font color="Red"><b>Server Update</font></b></a>
|
<a href="?p=update"><font color="Red"><b>Server Update (<?php echo $up_avl; ?>)</font></b></a>
|
||||||
<br />
|
<br />
|
||||||
<a href="?action=logout">Logout</a>
|
<a href="?action=logout">Logout</a>
|
||||||
<br />
|
<br />
|
||||||
|
|||||||
Reference in New Issue
Block a user