HB/onyx2/tpl/game/destinsrapid.tpl

28 lines
1.0 KiB
Smarty
Raw Normal View History

2009-11-01 11:00:00 +00:00
{include file='game/header.tpl'}
<h2>Destinations rapides existantes</h2>
<table>
<thead>
<tr>
<th>Nom de la planète</th>
<th>Coordonnées de la planète</th>
<th>Supprimer</th>
</tr>
</thead>
<tbody>
{foreach from=$destins item=destin}
<tr>
<td>{$destin.1|escape}</td>
<td>{$destin.2}</td>
<td><a href="?p=destinationsrapides&amp;d={$destin.0}&amp;a={$destin.3}">Supprimer</a></td>
</tr>
{/foreach}
</tbody>
</table>
<h2>Ajouter une destination rapide</h2>
<form action="?p=destinationsrapides" method="post">
<fieldset class="options">
<label for="amas">Coordonnées de la planète à ajouter :</label><input class="dest" type="text" id="amas" name="amas" maxlength="2" />:<input class="dest" type="text" id="ss" name="ss" maxlength="2" />:<input class="dest" type="text" id="plan" name="pos" maxlength="2" /><br />
<input class="submit" type="submit" value="Ajouter" />
</fieldset>
</form>
{include file='game/footer.tpl'}