mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
vacation mode but i will disable it just implemented but will be disabled
This commit is contained in:
+4
-1
@@ -147,7 +147,10 @@ else if (isset($_GET['s'])) {
|
||||
if($_GET['s'] == 4) {
|
||||
include("Templates/Profile/graphic.tpl");
|
||||
}
|
||||
if($_GET['s'] > 4 or $session->sit == 1) {
|
||||
if($_GET['s'] == 5) {
|
||||
include("Templates/Profile/vacation.tpl");
|
||||
}
|
||||
if($_GET['s'] > 5 or $session->sit == 1) {
|
||||
header("Location: ".$_SERVER['PHP_SELF']."?uid=".preg_replace("/[^a-zA-Z0-9_-]/","",$session->uid));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user