forked from halo-battle/game
100 lines
2.4 KiB
Smarty
100 lines
2.4 KiB
Smarty
{include file='game/header.tpl'}
|
|
<h2>Détails {$type} : {$nom}</h2>
|
|
<table style="width: 400px;">
|
|
<tbody>
|
|
<tr>
|
|
<td style="width: 120px;"><img src="images/{$type}/{$image}" alt="" /></td>
|
|
<td><b>{$nom}</b><br />Actuellement : {if $type != 'vaisseaux' && $type != 'terrestre' && $type != 'caserne'}niveau{/if} {$niveau}{if $type == 'vaisseaux' || $type == 'terrestre' || $type == 'caserne'} unités{/if}</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">{$description}</td>
|
|
</tr>
|
|
</tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<td colspan="2">
|
|
<table style="margin: auto; width: 100%;">
|
|
<thead>
|
|
<tr>
|
|
<th colspan="2">Coûts {if $type == 'vaisseaux' || $type == 'terrestre' || $type == 'caserne'}unité{else}prochain niveau{/if}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{if $ressourcesNext.0}
|
|
<tr>
|
|
<th>{$nomsressources.0}</th>
|
|
<td>{$ressourcesNext.0}</td>
|
|
</tr>
|
|
{/if}
|
|
{if $ressourcesNext.1}
|
|
<tr>
|
|
<th>{$nomsressources.1}</th>
|
|
<td>{$ressourcesNext.1}</td>
|
|
</tr>
|
|
{/if}
|
|
{if $ressourcesNext.2}
|
|
<tr>
|
|
<th>{$nomsressources.2}</th>
|
|
<td>{$ressourcesNext.2}</td>
|
|
</tr>
|
|
{/if}
|
|
<tr>
|
|
<th>Temps</th>
|
|
<td>{$ressourcesNext.3}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
{if $caract}
|
|
<tr>
|
|
<td colspan="2">
|
|
<table style="margin: auto; width: 100%;">
|
|
<thead>
|
|
<tr>
|
|
<th colspan="2">Caractéristiques</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<th>Attaque</th>
|
|
<td>{$caract.0}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Bouclier</th>
|
|
<td>{$caract.1}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Points de vie</th>
|
|
<td>{$caract.2}</td>
|
|
</tr>
|
|
{if $caract.3}
|
|
<tr>
|
|
<th>Capacité de transport</th>
|
|
<td>{$caract.3}</td>
|
|
</tr>
|
|
{/if}
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
{/if}
|
|
<tr>
|
|
<td colspan="2">
|
|
<table style="margin: auto; width: 100%;">
|
|
<thead>
|
|
<tr>
|
|
<th>Requiert</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>{$etat}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
{include file='game/footer.tpl'} |