Vacation mode is enabled for everyone for testing

Vacation mode is enable for everyone for testing as Travian Official have vacation

Must code the condition of vacation

9/9 Conditions

    No troops on movement
    No troops in movement for other villages 
    No troops send for reinforcements 
    Don`t have any troops in your account as reinforcements from other players
    Don`t have a Wonder World
    Don`t have an artifact
    No longer on protection period
    Don`t have any troops trapped
    Don`t have account on deletion process
This commit is contained in:
Shadow
2017-11-10 11:05:59 +02:00
committed by GitHub
parent ca2a823be1
commit cc78105a33
-6
View File
@@ -3,13 +3,7 @@
| <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(isset($displayarray) && $displayarray['username'] == "Shadow"){
?>
| <a href="spieler.php?s=5" <?php if(isset($_GET['s']) && $_GET['s'] == 5) { echo "class=\"selected\""; } ?>>Vacation</a>
<?php
}
?>
<?php
if(GP_ENABLE) {
?>