diff --git a/Admin/Templates/update.tpl b/Admin/Templates/update.tpl new file mode 100644 index 00000000..9ccf3d1f --- /dev/null +++ b/Admin/Templates/update.tpl @@ -0,0 +1,56 @@ +open('update.zip') === TRUE) + { + $zip->extractTo('../'); + $zip->close(); + unlink('update.zip'); + header("Location: admin.php?p=update&s"); + } else {echo 'Update Failed';} +} +?> + + + + + + + + + + + + + + + + + + + + + + + + +
System Updates
Current Version :
Latest Version :
Check for Update
UpdateUpdate Success';} + elseif($latest > $ver) + {echo'
'; } + else { echo "No updates Avaiable";}?>
\ No newline at end of file diff --git a/Admin/Templates/update_latest.tpl b/Admin/Templates/update_latest.tpl new file mode 100644 index 00000000..958df616 --- /dev/null +++ b/Admin/Templates/update_latest.tpl @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/Admin/Templates/ver.tpl b/Admin/Templates/ver.tpl new file mode 100644 index 00000000..6644a362 --- /dev/null +++ b/Admin/Templates/ver.tpl @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/Admin/admin.php b/Admin/admin.php index ec566b5e..d43abdbf 100644 --- a/Admin/admin.php +++ b/Admin/admin.php @@ -93,6 +93,7 @@ $timeformat = new timeFormatGenerator; Server Homepage Control Panel Home Return to the server + Server Update
Logout
@@ -102,8 +103,8 @@ $timeformat = new timeFormatGenerator; Players Not Activated
Search - Search Players/Alliances/Villages/E-mails/IPs/Deleted Players - Search Messages/Battle Reports + General Search + Search IGMs/Reports
Ban Ban/Unban Players @@ -129,7 +130,7 @@ $timeformat = new timeFormatGenerator;
Natars Add WW Villages - Add WW Buildingplan Villages + Add WW Building Plan Villages
Admin: Admin Log diff --git a/img/admin/b/update.png b/img/admin/b/update.png new file mode 100644 index 00000000..1483381c Binary files /dev/null and b/img/admin/b/update.png differ