forked from halo-battle/game
Version 1.12
This commit is contained in:
parent
2a066a7498
commit
de31cd3e9a
1373 changed files with 156282 additions and 45238 deletions
40
onyx2/tpl/game/marche.tpl
Normal file
40
onyx2/tpl/game/marche.tpl
Normal 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}&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'}
|
||||
Loading…
Add table
Add a link
Reference in a new issue