mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
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:
@@ -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"> <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> <?php echo NW; ?> <b>(-|+)</b> </label></td>
|
||||
<td><label><input class="radio" type="radio" name="kid" value="2"> <?php echo NE; ?> <b>(+|+)</b></label></td>
|
||||
<td><label><input class="radio" type="radio" name="kid" value="3"> <?php echo SW; ?> <b>(-|-)</b> </label></td>
|
||||
<td><label><input class="radio" type="radio" name="kid" value="4"> <?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>';
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -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"> <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> <?php echo NW; ?> <b>(-|+)</b> </label></td>
|
||||
<td><label><input class="radio" type="radio" name="kid" value="2"> <?php echo NE; ?> <b>(+|+)</b></label></td>
|
||||
<td><label><input class="radio" type="radio" name="kid" value="3"> <?php echo SW; ?> <b>(-|-)</b> </label></td>
|
||||
<td><label><input class="radio" type="radio" name="kid" value="4"> <?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>';
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user