Version 1.13a

This commit is contained in:
nemunaire 2020-11-15 16:12:30 +01:00
commit ba8f323879
1634 changed files with 10080 additions and 213021 deletions

View file

@ -1,40 +1,18 @@
{include file='game/header.tpl'}
<h2>Bourse des ressources</h2>
<h3>Les prix sont donnés en milliers de crédits</h3>
<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>
<dl class="bourse">
<dt><strong>{$LANG.$race.ressources.noms[$action.id]|ucfirst}</strong> <a href="{$menu.marche}&amp;d={$action.id}"><img src="bourser.php?a={$action.id}&amp;r={$planete->race}" class="imglink" alt="{$LANG.$race.ressources.noms[$action.id]}" /></a></dt>
<dd>
<form action="#" method="post"><fieldset>
<div><b>Total :</b> {$action.dispo|separerNombres}</div>
<label for="buyM">Acheter pour {$action.prixA|separerNombres} : <input type="text" class="text" id="buyM" name="buyM" value="0" /></label>
<input type="submit" class="submit" value="OK" name="buy" /><br />
<label for="sellM">Vendre pour {$action.prixV|separerNombres} : <input type="text" class="text" id="sellM" name="sellM" value="0" /></label>
<input type="submit" class="submit" value="OK" name="sell" />
</fieldset></form>
</dd>
</dl>
{/foreach}
{include file='game/footer.tpl'}