forked from halo-battle/game
40 lines
1.4 KiB
Smarty
40 lines
1.4 KiB
Smarty
|
{include file='game/header.tpl'}
|
||
|
<h2>Bourse des ressources</h2>
|
||
|
<h3>Les prix sont donnés en milliers de crédits</h3>
|
||
|
{foreach from=$bourse item=action}
|
||
|
<div style="float: left;">
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td colspan="3"><a href="{$menu.marche}&d={$action.id}"><img src="bourser.php?a={$action.id}&r={$planete->race}" alt="{$LANG.$race.ressources.noms[$action.id]}" /></a></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th>{$LANG.$race.ressources.noms[$action.id]|ucfirst}</th>
|
||
|
<td>{$action.dispo|separerNombres}</td>
|
||
|
<th>Prix</th>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="2">
|
||
|
<form action="{$menu.marche}&a={$action.id}" method="post">
|
||
|
<fieldset>
|
||
|
Acheter : <input type="text" class="text" name="a{$action.id}" maxlength="8" value="0" />
|
||
|
<input type="submit" class="submit" value="OK" />
|
||
|
</fieldset>
|
||
|
</form>
|
||
|
</td>
|
||
|
<td>{$action.prixA|separerNombres}</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="2">
|
||
|
<form action="{$menu.marche}&v={$action.id}" method="post">
|
||
|
<fieldset>
|
||
|
Vendre : <input type="text" class="text" name="a{$action.id}" maxlength="8" value="0" />
|
||
|
<input type="submit" class="submit" value="OK" />
|
||
|
</fieldset>
|
||
|
</form>
|
||
|
</td>
|
||
|
<td>{$action.prixV|separerNombres}</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
{/foreach}
|
||
|
{include file='game/footer.tpl'}
|