start to fix natar WW buildingplan village (still need to make the plan and to disable WW for player without plan)

This commit is contained in:
unknown
2012-04-12 17:42:19 +03:00
parent 9353623f12
commit da595c40a5
11 changed files with 125 additions and 6 deletions
+1
View File
@@ -43,6 +43,7 @@ include_once ("GameEngine/Ranking.php");
<a href="sysmsg.php">System message</a>
<a href="medals.php">Update top 10</a>
<a href="?p=natarend">Add World Wonder Villages</a>
<a href="?p=natarbuildingplan">Add WW Buildingplan Villages</a>
</p>
<p>
<a href="?p=admin_log"><font color="Red"><b>Admin Log</b></font></a>
+51
View File
@@ -0,0 +1,51 @@
<?php
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Filename natarbuildingplan.php ##
## 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="10" maxlength="4">&nbsp;<font color="gray" size="1">insert number of Villages and press 'enter'</center></form>
<?php
if(isset($_GET['g'])) {
echo '<br /><br /><font color="Red"><b>WW Buidingplan villages Added</font></b>';
}
?>
+1 -1
View File
@@ -6,7 +6,7 @@
## --------------------------------------------------------------------------- ##
## Filename natarstart.php ##
## Filename natarend.php ##
## Developed by: advocaite ##