mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-12 06:11:00 +00:00
Merge branch 'master' of https://github.com/Shadowss/TravianZ
This commit is contained in:
@@ -3,8 +3,12 @@
|
||||
| <a href="spieler.php?s=1" <?php if(isset($_GET['s']) && $_GET['s'] == 1) { echo "class=\"selected\""; } ?>>Profile</a>
|
||||
| <a href="spieler.php?s=2" <?php if(isset($_GET['s']) && $_GET['s'] == 2) { echo "class=\"selected\""; } ?>>Preferences</a>
|
||||
| <a href="spieler.php?s=3" <?php if(isset($_GET['s']) && $_GET['s'] == 3) { echo "class=\"selected\""; } ?>>Account</a>
|
||||
<?php
|
||||
if(NEW_FUNCTIONS_VACATION){
|
||||
?>
|
||||
| <a href="spieler.php?s=5" <?php if(isset($_GET['s']) && $_GET['s'] == 5) { echo "class=\"selected\""; } ?>>Vacation</a>
|
||||
<?php
|
||||
}
|
||||
if(GP_ENABLE) {
|
||||
?>
|
||||
| <a href="spieler.php?s=4" <?php if(isset($_GET['s']) && $_GET['s'] == 4) { echo "class=\"selected\""; } ?>>Graphic pack</a>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<?php if(NEW_FUNCTIONS_VACATION){
|
||||
?>
|
||||
<h1>Player profile</h1>
|
||||
|
||||
<?php
|
||||
@@ -78,3 +80,9 @@ echo "<span class=\"error\">".$form->getError("vac")."</span>";
|
||||
?>
|
||||
<p class="btn"><input type="image" value="" name="s1" id="btn_save" class="dynamic_img" src="img/x.gif" alt="save" /></p>
|
||||
</form>
|
||||
<?php
|
||||
}else{
|
||||
header("Location: ".$_SERVER['PHP_SELF']."?uid=".$session->uid);
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user