forked from halo-battle/game
47 lines
1.2 KiB
Smarty
47 lines
1.2 KiB
Smarty
{include file='game/header.tpl'}
|
|
<h2>Gestion</h2>
|
|
<div id="gestion">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<td></td>
|
|
{foreach from=$planetes item=plan}
|
|
<td><img src="images/planetes/{$plan.image}.jpg" alt="{$plan.image}" title="{$plan.nom_planete}" width="80" height="80" /></td>
|
|
{/foreach}
|
|
</tr>
|
|
<tr>
|
|
<th></th>
|
|
{foreach from=$planetes item=plan}
|
|
<th>{$plan.nom_planete|escape}</th>
|
|
{/foreach}
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="hightlight">{$nomsressources.0}</td>
|
|
{foreach from=$planetes item=plan}
|
|
<td>{$plan.metal|separernombres}</td>
|
|
{/foreach}
|
|
</tr>
|
|
<tr>
|
|
<td class="hightlight">{$nomsressources.1}</td>
|
|
{foreach from=$planetes item=plan}
|
|
<td>{$plan.cristal|separernombres}</td>
|
|
{/foreach}
|
|
</tr>
|
|
<tr>
|
|
<td class="hightlight">{$nomsressources.2}</td>
|
|
{foreach from=$planetes item=plan}
|
|
<td>{$plan.hydrogene|separernombres}</td>
|
|
{/foreach}
|
|
</tr>
|
|
<tr>
|
|
<td class="hightlight">{$nomsressources.3}</td>
|
|
{foreach from=$planetes item=plan}
|
|
<td>{$plan.energie}</td>
|
|
{/foreach}
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{include file='game/footer.tpl'} |