mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-04 20:04:21 +00:00
2c1c2fb2d9
* Updating buttons * Update assignpos.tpl * Update changename.tpl * Update kick.tpl * Update kick.tpl * Update linkforum.tpl * Update search.tpl * Update 18_create.tpl * Update invite.tpl * Update option.tpl * Update newdorf.tpl
45 lines
1.4 KiB
Smarty
45 lines
1.4 KiB
Smarty
<?php
|
|
if(!isset($aid)) $aid = $session->alliance;
|
|
|
|
$memberlist = $database->getAllMember($aid);
|
|
$allianceinfo = $database->getAlliance($aid);
|
|
|
|
echo "<h1>".$allianceinfo['tag']." - ".$allianceinfo['name']."</h1>";
|
|
include("alli_menu.tpl");
|
|
?>
|
|
<form method="post" action="allianz.php">
|
|
<table cellpadding="1" cellspacing="1" id="position" class="small_option">
|
|
<thead>
|
|
<tr>
|
|
<th colspan="2">Kick Player:</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<th colspan="2">Here you can kick the players from your alliance.</th>
|
|
</tr>
|
|
<tr>
|
|
<th>Name</th>
|
|
<td>
|
|
<select name="a_user" class="name dropdown">
|
|
<?php
|
|
foreach($memberlist as $member) {
|
|
if ($member['id'] != $session->uid) {
|
|
echo "<option value=".$member['id'].">".$member['username']."</option>";
|
|
}
|
|
}
|
|
?>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p>
|
|
<input type="hidden" name="o" value="2">
|
|
<input type="hidden" name="s" value="5">
|
|
<input type="hidden" name="a" value="2">
|
|
<button value="ok" name="s1" id="btn_ok" class="trav_buttons" alt="OK" /> Ok </button>
|
|
</p>
|
|
</form>
|
|
<p class="error"><?php echo $form->getError("perm"); ?></p>
|