2008-11-17 11:00:00 +00:00
|
|
|
{include file='game/header.tpl'}
|
|
|
|
<h2>Administration de l'alliance</h2>
|
|
|
|
{include file='game/alliance_adm_header.tpl'}
|
|
|
|
<br />
|
|
|
|
<h2>Administration des membres</h2>
|
|
|
|
<table style="text-align: center; width: 100%;">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Pseudo</th>
|
|
|
|
<th>Race</th>
|
|
|
|
<th>Dernière connexion </th>
|
|
|
|
<th>Grade</th>
|
|
|
|
<th>Mp</th>
|
|
|
|
<th>Renvoyer de l'alliance </th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{foreach from=$membres item=membre}
|
|
|
|
<tr>
|
|
|
|
<td>{$membre.pseudo}</td>
|
|
|
|
<td>{$membre.race}</td>
|
|
|
|
<td>{$membre.last_visite|date_format:"%d/%m/%y %H:%M:%S"}</td>
|
|
|
|
<td><form action="{$menu.alliance}&q=adm_membres" method="post"><p><input type="hidden" name="user" value="{$membre.id}" /><select name="grade" onchange="this.form.submit();"><option label="Aucun" value="0">Aucun</option>{html_options values=$gradei selected=$membre.id_grade_alliance output=$grades}</select></p></form></td>
|
|
|
|
<td><a href="?p=envoyer&d={$membre.pseudo}" class="msg"><span>Message</span></a></td>
|
|
|
|
<td><a href="{$menu.alliance}&q=adm_membres&u={$membre.id}"><i>Renvoyer</i></a></td>
|
|
|
|
</tr>
|
|
|
|
{/foreach}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<table style="text-align: center; width: 100%;">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Pseudo</th>
|
|
|
|
<th>Message de motivation</th>
|
|
|
|
<th>Date</th>
|
|
|
|
<th>Action</th>
|
|
|
|
<th>Mp</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{foreach from=$candidats item=candidat}
|
|
|
|
<tr>
|
|
|
|
<td>{$candidat.pseudo_membre}</td>
|
|
|
|
<td>{$candidat.message|nl2br}</td>
|
|
|
|
<td>{$candidat.timestamp|date_format:"%d/%m/%y %H:%M:%S"}</td>
|
2008-11-30 11:00:00 +00:00
|
|
|
<td><a href="{$menu.alliance}&q=adm_membres&accept={$candidat.id_membre}"><i>Accepter</i></a> - <a href="{$menu.alliance}&q=adm_membres&refus={$candidat.id_membre}"><i>Refuser</i></a></td>
|
2008-11-17 11:00:00 +00:00
|
|
|
<td><a href="?p=envoyer&d={$candidat.pseudo_membre}" class="msg"><span>Message</span></a></td>
|
|
|
|
</tr>
|
|
|
|
{/foreach}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{include file='game/footer.tpl'}
|