Version 1.12

This commit is contained in:
nemunaire 2009-11-01 12:00:00 +01:00
commit de31cd3e9a
1373 changed files with 156282 additions and 45238 deletions

40
onyx2/tpl/game/marche.tpl Normal file
View file

@ -0,0 +1,40 @@
{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}&amp;d={$action.id}"><img src="bourser.php?a={$action.id}&amp;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}&amp;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}&amp;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'}