fix add_village

This commit is contained in:
Shadowss
2013-09-17 11:38:36 +03:00
parent 4ada9c043b
commit bdd60bc5a4
+31 -28
View File
@@ -3,39 +3,42 @@
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename add_village.tpl ## ## Filename add_village.tpl ##
## Developed by: aggenkeech ## ## Developed by: Dzoki ##
## License: TravianX Project ## ## License: TravianX Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
## ## ## ##
################################################################################# #################################################################################
?> ?>
<style> <style>
.del {width:12px; height:12px; background-image: url(img/admin/icon/del.gif);} .del {width:12px; height:12px; background-image: url(img/admin/icon/del.gif);}
</style> </style>
<form method="post" action="admin.php"> <form method="post" action="admin.php">
<input name="action" type="hidden" value="addVillage"> <input name="action" type="hidden" value="addVillage">
<input name="uid" type="hidden" value="<?php echo $user['id'];?>"> <input name="uid" type="hidden" value="<?php echo $user['id'];?>">
<table id="member" style="width: 125px;"> <table id="member" style="width: 225px;" align="center">
<thead> <thead>
<tr> <tr>
<th colspan="2">Add Village</th> <th colspan="2">Add Village</th>
</tr> </tr>
</thead> </thead>
<tbody>
<tr> <tr>
<td colspan="2"><center>Coordinates (<b>X</b>|<b>Y</b>)</center></td> <td colspan="2"><center>Coordinates (<b>X</b>|<b>Y</b>)</center></td>
</tr> </tr>
<tr>
<td>X:</td> <tr>
<td><input name="x" class="fm" value="" type="input"></td> <td>X:</td>
</tr> <td><input name="x" class="fm" value="" type="input" <?php if($_SESSION['access'] == ADMIN){ echo ''; } else if($_SESSION['access'] == MULTIHUNTER){ echo 'disabled="disabled"'; } ?>></td>
<tr> </tr>
<td>Y:</td>
<td><input name="y" class="fm" value="" type="input"></td> <tr>
</tr> <td>Y:</td>
<tr> <td><input name="y" class="fm" value="" type="input" <?php if($_SESSION['access'] == ADMIN){ echo ''; } else if($_SESSION['access'] == MULTIHUNTER){ echo 'disabled="disabled"'; } ?>></td>
<td colspan="2"><center><input type="image" src="../img/admin/b/ok1.gif" value="Add Village"></center></td> </tr>
</tr>
</tbody> <tr>
</table> <td colspan="2"><center><input value="Add Village" type="submit" <?php if($_SESSION['access'] == ADMIN){ echo ''; } else if($_SESSION['access'] == MULTIHUNTER){ echo 'disabled="disabled"'; } ?>></center></td>
</tr>
</table>
</form> </form>