forked from halo-battle/game
Version 1.10c
This commit is contained in:
parent
4c9814a99c
commit
2a066a7498
148 changed files with 2174 additions and 134960 deletions
24
templates/admin/mp_liste.tpl
Normal file
24
templates/admin/mp_liste.tpl
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{include file='game/header.tpl'}
|
||||
<table style="width: 80%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Action</th>
|
||||
<th>Statut</th>
|
||||
<th>Emetteur</th>
|
||||
<th>Sujet</th>
|
||||
<th>Date</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$mails item=ligne}
|
||||
<tr{if $ligne.statut >= 1} style="background: #{if $ligne.statut == 1}770000{elseif $ligne.statut == 2}007700{elseif $ligne.statut == 3}000077{elseif $ligne.statut == 4}770077{elseif $ligne.statut == 5}007777{elseif $ligne.statut == 6}777700{/if};"{/if}>
|
||||
<td><a href="?p={$linkpage}&w={$ligne.id}">STAT</a><br /><a href="?p={$linkpage}&v={$ligne.id}">LIRE</a><br /><a href="?p={$linkpage}&d={$ligne.id}" onclick="return confirm('Supprimer ce message ?');">SUPPR</a></td>
|
||||
<td>{$ligne.statut}</td>
|
||||
<td>{$ligne.pseudo}</td>
|
||||
<td>{$ligne.titre|escape}<br />{$ligne.contenu|escape|truncate:50}</td>
|
||||
<td>{$ligne.time|date_format:"%d/%m/%y %H:%M:%S"}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{include file='game/footer.tpl'}
|
||||
Loading…
Add table
Add a link
Reference in a new issue