forked from halo-battle/game
74 lines
2.6 KiB
Smarty
74 lines
2.6 KiB
Smarty
{include file='game/header.tpl'}
|
|
<h2>Politique</h2>
|
|
<form action="{$menu.gestion}" method="post">
|
|
<fieldset class="options">
|
|
<label for="politique">Politique actuelle :</label>
|
|
<select name="politique" id="politique">{html_options options=$politiques selected=$planete->politique}</select><br /><br />
|
|
<label>Dernier changement de régime :</label>{$planete->politique_lastchange|date_format:"%A %d %B %y"}<br /><br />
|
|
<label>Moral global de la population :</label><acronym title="">{$planete->moral*100}%</acronym><br /><br /><br />
|
|
<input class="submit" type="submit" value="Ok" />
|
|
</fieldset>
|
|
</form>
|
|
<h2>Gestion</h2>
|
|
<div id="gestion">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<td></td>
|
|
{foreach from=$planetes item=plan}
|
|
<td><img src="{$url_images}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">{$LANG.$race.ressources.noms.metal|ucfirst}</td>
|
|
{foreach from=$planetes item=plan}
|
|
{if $plan.id == $planeteEC.id}{assign var='plan' value=$planeteEC}{/if}
|
|
<td>{$plan.metal|separernombres}</td>
|
|
{/foreach}
|
|
</tr>
|
|
<tr>
|
|
<td class="hightlight">{$LANG.$race.ressources.noms.cristal|ucfirst}</td>
|
|
{foreach from=$planetes item=plan}
|
|
{if $plan.id == $planeteEC.id}{assign var='plan' value=$planeteEC}{/if}
|
|
<td>{$plan.cristal|separernombres}</td>
|
|
{/foreach}
|
|
</tr>
|
|
<tr>
|
|
<td class="hightlight">{$LANG.$race.ressources.noms.hydrogene|ucfirst}</td>
|
|
{foreach from=$planetes item=plan}
|
|
{if $plan.id == $planeteEC.id}{assign var='plan' value=$planeteEC}{/if}
|
|
<td>{$plan.hydrogene|separernombres}</td>
|
|
{/foreach}
|
|
</tr>
|
|
<tr>
|
|
<td class="hightlight">{$LANG.$race.ressources.noms.energie|ucfirst}</td>
|
|
{foreach from=$planetes item=plan}
|
|
{if $plan.id == $planeteEC.id}{assign var='plan' value=$planeteEC}{/if}
|
|
<td>{$plan.energie|separerNombres}</td>
|
|
{/foreach}
|
|
</tr>
|
|
<tr>
|
|
<td class="hightlight">Population</td>
|
|
{foreach from=$planetes item=plan}
|
|
{if $plan.id == $planeteEC.id}{assign var='plan' value=$planeteEC}{/if}
|
|
<td>{$plan.population|separerNombres}</td>
|
|
{/foreach}
|
|
</tr>
|
|
<tr>
|
|
<td class="hightlight">Moral</td>
|
|
{foreach from=$planetes item=plan}
|
|
<td>{$plan.moral*100|separerNombres}%</td>
|
|
{/foreach}
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{include file='game/footer.tpl'} |