forked from halo-battle/game
66 lines
2.8 KiB
Smarty
66 lines
2.8 KiB
Smarty
{include file='game/header.tpl'}
|
|
<h2>[{$alliance.tag|upper}] {$alliance.nom|capitalize}</h2>
|
|
<table cellpadding="2" cellspacing="0" style="text-align: center; width: 100%;">
|
|
<tbody>
|
|
<tr>
|
|
<td colspan="2"><img src="{$alliance.image}" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: right; vertical-align: middle;"><strong>Nom : </strong></td>
|
|
<td style="width: 70%;">{$alliance.nom|escape} ({$alliance.tag|escape})</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: right;"><strong>Membres : </strong></td>
|
|
<td>{$nbmembre} (<a href="{$menu.alliance}&q=liste">Liste des membres</a>)</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: right;"><strong>Votre grade :</strong></td>
|
|
<td>{if $access.fondateur}Fondateur{else}{$grade.nom|escape}{/if}<br />{if $access.chat} <a href="{$menu.alliance}&q=adm_chat">Modérer le chat</a> |{/if} {if $access.membre} <a href="{$menu.alliance}&q=adm_membres">Gestion des membres</a> |{/if} {if $access.ecriture} <a href="{$menu.alliance}&q=adm_ecrits">Gestion des écritures</a> |{/if} {if $access.alliance} <a href="{$menu.alliance}&q=adm_alliance">Gestion de l'alliance</a> |{/if}</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: right;"><strong>Status des inscriptions :</strong></td>
|
|
<td>{if $alliance.etat_inscription}Ouvertes{else}Fermée{/if}</td>
|
|
</tr>
|
|
{if $access.membre}
|
|
<tr>
|
|
<td style="text-align: right;"><strong>Mail collectif :</strong></td>
|
|
<td><a href="{$menu.alliance}&q=adm_mp">Envoyer un message collectif</a></td>
|
|
{/if}
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h2>Présentation</h2>
|
|
{$alliance.presentation|nl2br}
|
|
<table style="width: 100%;">
|
|
<tbody>
|
|
<tr>
|
|
<td style="text-align: right;"><strong>Forum :</strong></td>
|
|
<td style="width: 70%;"><a href="{$alliance.url}">{$alliance.url}</a></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h2>Texte interne</h2>
|
|
{$alliance.texte_interne|nl2br}
|
|
<h2>Chat</h2>
|
|
<div style="height: 150px; overflow: auto; width: 99%;" id="chat">
|
|
<table style="width: 100%; margin: 0px;">
|
|
<thead>
|
|
<tr>
|
|
<th style="width: 172px;">[pseudo] heure</td>
|
|
<th style="width: 536px;">Message</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{foreach from=$chat item=message}
|
|
<tr>
|
|
<td>[{$message.emetteur}] <i>{$message.timestamp|date_format:"%d/%m/%y %H:%M:%S"|escape}</i></td>
|
|
<td>{$message.message}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<form method="post" action="{$menu.alliance}&q=chat">
|
|
Réponse : <input name="msg" type="text" size="50" maxlength="250"> <input value="GO" class="submit" type="submit">
|
|
</form>
|
|
{include file='game/footer.tpl'} |