HB/templates/game/alliance_chat.tpl

25 lines
842 B
Smarty

{include file='game/header.tpl'}
<h2>Chat</h2>
<form method="post" action="{$menu.alliance}&amp;q=chat">
Réponse :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input name="msg" type="text" size="50" maxlength="250">&nbsp;&nbsp;&nbsp;&nbsp;<input value="GO" class="submit" type="submit">
</form>
<br />
<div style="height: 550px; overflow: auto; width: 99%;">
<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"}</i></td>
<td>{$message.message}</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
{include file='game/footer.tpl'}