mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-07 21:34:22 +00:00
fix WW villages and buildingplan create
This commit is contained in:
@@ -36,13 +36,14 @@ if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!");
|
||||
|
||||
<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></form>
|
||||
<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'])) {
|
||||
|
||||
@@ -36,13 +36,14 @@ if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!");
|
||||
|
||||
<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></form>
|
||||
<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'])) {
|
||||
|
||||
@@ -68,6 +68,7 @@ NOTE: If the above criteria is not met during the attack, the next attack on tha
|
||||
To build a Treasure Chamber (Treasury), you will need a Main Building level 10 and the village MUST NOT be a Capital or contain a World Wonder.
|
||||
|
||||
To build a World Wonder, you must own the Construction Plans yourself (you = the World Wonder Village Owner) from level 0 to 50, and then from level 51 to 100 you will need an additional set of Construction Plans in your Alliance! Two sets of Construction Plans in the World Wonder Village Account will not work!" ,$text);
|
||||
$text = utf8_encode($text);
|
||||
fwrite($fh, $text);
|
||||
|
||||
$query="SELECT * FROM ".TB_PREFIX."users ORDER BY id + 0 DESC";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
|
||||
@@ -449,6 +449,7 @@ To build a WW, you must own a plan yourself (you = the WW village owner) from lv
|
||||
The construction plans are conquerable immediately when they appear to the server.
|
||||
|
||||
There will be a countdown in game, showing the exact time of the release, 5 days prior to the launch." ,$text);
|
||||
$text = utf8_encode($text);
|
||||
fwrite($fh, $text);
|
||||
|
||||
$query="SELECT * FROM ".TB_PREFIX."users ORDER BY id + 0 DESC";
|
||||
|
||||
@@ -43,6 +43,7 @@ if (@isset($_POST['confirm']))
|
||||
$fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: templates/text.tpl");
|
||||
$text = file_get_contents("Templates/text_format.tpl");
|
||||
$text = preg_replace("'%TEKST%'",$_SESSION['m_message'] ,$text);
|
||||
$text = utf8_encode($text);
|
||||
fwrite($fh, $text);
|
||||
|
||||
$query="SELECT * FROM ".TB_PREFIX."users ORDER BY id + 0 DESC";
|
||||
|
||||
Reference in New Issue
Block a user