forked from halo-battle/game
25 lines
842 B
Smarty
25 lines
842 B
Smarty
|
{include file='game/header.tpl'}
|
||
|
<h2>Chat</h2>
|
||
|
<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>
|
||
|
<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'}
|