forked from halo-battle/game
Version 1.13a
This commit is contained in:
parent
de31cd3e9a
commit
ba8f323879
1634 changed files with 10080 additions and 213021 deletions
|
|
@ -1,20 +1,21 @@
|
|||
{include file='game/header.tpl'}
|
||||
{if SURFACE == 'planete'}
|
||||
<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 />
|
||||
<fieldset class="form">
|
||||
<label for="politique">Politique actuelle : <select name="politique" id="politique">{html_options options=$politiques selected=$planete->politique}</select></label><br /><br />
|
||||
<label>Dernier changement de régime : <em>{$planete->politique_lastchange|date_format:"%d/%m/%y"}</em></label><br /><br />
|
||||
<label>Moral global de la population : <em>{$planete->moral*100}%</em></label><br /><br />
|
||||
<input class="submit" type="submit" value="Ok" />
|
||||
</fieldset>
|
||||
</form>
|
||||
{/if}
|
||||
<h2>Gestion</h2>
|
||||
<div id="gestion">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<td></td>
|
||||
<th></th>
|
||||
{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}
|
||||
|
|
@ -28,42 +29,42 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="hightlight">{$LANG.$race.ressources.noms.metal|ucfirst}</td>
|
||||
<th>{$LANG.$race.ressources.noms.metal|ucfirst}</th>
|
||||
{foreach from=$planetes item=plan}
|
||||
{if $plan.id == $planeteEC.id}{assign var='plan' value=$planeteEC}{/if}
|
||||
<td>{$plan.metal|separernombres}</td>
|
||||
<td>{$plan.metal|separerNombres}</td>
|
||||
{/foreach}
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="hightlight">{$LANG.$race.ressources.noms.cristal|ucfirst}</td>
|
||||
<th>{$LANG.$race.ressources.noms.cristal|ucfirst}</th>
|
||||
{foreach from=$planetes item=plan}
|
||||
{if $plan.id == $planeteEC.id}{assign var='plan' value=$planeteEC}{/if}
|
||||
<td>{$plan.cristal|separernombres}</td>
|
||||
<td>{$plan.cristal|separerNombres}</td>
|
||||
{/foreach}
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="hightlight">{$LANG.$race.ressources.noms.hydrogene|ucfirst}</td>
|
||||
<th>{$LANG.$race.ressources.noms.hydrogene|ucfirst}</th>
|
||||
{foreach from=$planetes item=plan}
|
||||
{if $plan.id == $planeteEC.id}{assign var='plan' value=$planeteEC}{/if}
|
||||
<td>{$plan.hydrogene|separernombres}</td>
|
||||
<td>{$plan.hydrogene|separerNombres}</td>
|
||||
{/foreach}
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="hightlight">{$LANG.$race.ressources.noms.energie|ucfirst}</td>
|
||||
<th>{$LANG.$race.ressources.noms.energie|ucfirst}</th>
|
||||
{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>
|
||||
<th>Population</th>
|
||||
{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>
|
||||
<th>Moral</th>
|
||||
{foreach from=$planetes item=plan}
|
||||
<td>{$plan.moral*100|separerNombres}%</td>
|
||||
{/foreach}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue