mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-16 08:11:00 +00:00
cf74514451
+Fixed an exploit that permitted to starts other players' farm lists +Fixed an exploit that permitted to save our raids to other players' farm lists +Fixed an exploit that permitted to edit other players' farm lists +Fixed a rounding upkeep bug +Moved the whole startRaid.tpl to a new method in Units.php +A lot of clean-up +Improoved indentation +In the raid list, the "carry" image will now show to the left of an attack +Fixed a bug that displayed the wrong loot to returning troops released by traps +General minor bug fixing and improovements -Deleted a lot of redundant code
38 lines
1.3 KiB
Smarty
38 lines
1.3 KiB
Smarty
<div id="raidListCreate">
|
|
<h4>Create a new list</h4>
|
|
<form action="build.php?gid=16&t=99" method="post">
|
|
<div class="boxes boxesColor gray"><div class="boxes-tl"></div><div class="boxes-tr"></div><div class="boxes-tc"></div><div class="boxes-ml"></div><div class="boxes-mr"></div><div class="boxes-mc"></div><div class="boxes-bl"></div><div class="boxes-br"></div><div class="boxes-bc"></div><div class="boxes-contents cf">
|
|
<input type="hidden" name="action" value="addList">
|
|
<table cellpadding="1" cellspacing="1" class="transparent" id="raidList">
|
|
<tbody><tr>
|
|
<th>
|
|
Name: </th>
|
|
<td>
|
|
<input class="text" id="name" name="name" type="text">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>
|
|
Village: </th>
|
|
<td>
|
|
|
|
<select id="did" name="did">
|
|
<?php
|
|
for($i = 1; $i <= count($session->villages); $i++){
|
|
if($session->villages[$i-1] == $village->wid) $select = 'selected="selected"';
|
|
else $select = '';
|
|
|
|
echo "<option value=\"".$session->villages[$i-1]."\" ".$select.">".$database->getVillageField($session->villages[$i-1],'name')."</option>";
|
|
}
|
|
?> </select>
|
|
</td>
|
|
</tr>
|
|
</tbody></table>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<button class="trav_buttons" type="submit" value="create">Create</button>
|
|
</form>
|
|
</div>
|