General fixes

-Removed the possibility to manual add Natars, WW Villages and WW
building plans
+The crop consumption in WW villages is now halved
This commit is contained in:
iopietro
2018-05-11 01:46:17 +02:00
parent 950fc61f8a
commit 2534fdf2a3
8 changed files with 3 additions and 431 deletions
-57
View File
@@ -1,57 +0,0 @@
<?php
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Filename natarbuildingplan.tpl ##
## Developed by: advocaite ##
## License: TravianX Project ##
## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
## ##
#################################################################################
if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!");
?>
<?php $id = $_SESSION['id']; ?>
<form action="../GameEngine/Admin/Mods/natarbuildingplan.php" method="POST">
<input type="hidden" name="id" id="id" value="<?php echo $id; ?>">
<br /><br /><br /><br /><br /><br /><br /><br /><br />
<center><b>Create WW Buildingplan villages?</b></center>
<center><br /><input class="give_gold" name="vill_amount" id="vill_amount" value="20" maxlength="4">&nbsp;<font color="gray" size="1">insert number of Villages and press 'enter'</center>
<tr>
<td><label><input class="radio" type="radio" name="kid" value="1" checked>&nbsp;<?php echo NW; ?> <b>(-|+)</b>&nbsp;</label></td>
<td><label><input class="radio" type="radio" name="kid" value="2">&nbsp;<?php echo NE; ?> <b>(+|+)</b></label></td>
<td><label><input class="radio" type="radio" name="kid" value="3">&nbsp;<?php echo SW; ?> <b>(-|-)</b>&nbsp;</label></td>
<td><label><input class="radio" type="radio" name="kid" value="4">&nbsp;<?php echo SE; ?> <b>(+|-)</b></label></td>
</tr>
</form>
<?php
if(isset($_GET['g'])) {
echo '<br /><br /><font color="Red"><b>WW Buidingplan villages Added</font></b>';
}
?>
-57
View File
@@ -1,57 +0,0 @@
<?php
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Filename natarend.tpl ##
## Developed by: advocaite ##
## License: TravianX Project ##
## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
## ##
#################################################################################
if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!");
?>
<?php $id = $_SESSION['id']; ?>
<form action="../GameEngine/Admin/Mods/natarend.php" method="POST">
<input type="hidden" name="id" id="id" value="<?php echo $id; ?>">
<br /><br /><br /><br /><br /><br /><br /><br /><br />
<center><b>Create World Wonder villages?</b></center>
<center><br /><input class="give_gold" name="vill_amount" id="vill_amount" value="20" maxlength="4">&nbsp;<font color="gray" size="1">insert number of Wonders and press 'enter'</center>
<tr>
<td><label><input class="radio" type="radio" name="kid" value="1" checked>&nbsp;<?php echo NW; ?> <b>(-|+)</b>&nbsp;</label></td>
<td><label><input class="radio" type="radio" name="kid" value="2">&nbsp;<?php echo NE; ?> <b>(+|+)</b></label></td>
<td><label><input class="radio" type="radio" name="kid" value="3">&nbsp;<?php echo SW; ?> <b>(-|-)</b>&nbsp;</label></td>
<td><label><input class="radio" type="radio" name="kid" value="4">&nbsp;<?php echo SE; ?> <b>(+|-)</b></label></td>
</tr>
</form>
<?php
if(isset($_GET['g'])) {
echo '<br /><br /><font color="Red"><b>World Wonders Added</font></b>';
}
?>
-4
View File
@@ -496,10 +496,6 @@ if (!empty($_GET['p'])) {
<a href="#"><b>Users</b></a>
<a href="?p=addUsers">Create Users</a>
<br />
<a href="#"><b>Natars</b></a>
<a href="?p=natarend">Add WW Villages</a>
<a href="?p=natarbuildingplan">Add WW Building Plan Villages</a>
<br />
<a href="#"><b>Admin:</b></a>
<a href="?p=admin_log"><font color="Red"><b>Admin Log</b></font></a>
<a href="?p=config">Server Settings</a>