HB/templates/game/flotte1.tpl

51 lines
2.1 KiB
Smarty
Raw Normal View History

2008-11-17 11:00:00 +00:00
{include file='game/header.tpl'}
<h2>Flottes en action</h2>
<table>
<thead>
<tr><th>Nom</th><th>Mission</th><th>Nb.vaisseau(x)</th><th>Destination</th><th>Heure d'arrivée</th><th>Retour</th><th>Heure de retour</th></tr>
</thead>
<tbody>
{foreach from=$flottesEC item=flotteEC}
<tr>
2008-11-22 11:00:00 +00:00
<td><a href="{$menu.flotte}&amp;n={$flotteEC.0}">{$flotteEC.1|escape}</a></td>
2008-11-17 11:00:00 +00:00
<td>{$flotteEC.2}</td>
<td>{$flotteEC.3}</td>
2008-11-22 11:00:00 +00:00
<td>{$flotteEC.4|escape}</td>
2008-11-17 11:00:00 +00:00
<td>{$flotteEC.5}</td>
2008-11-22 11:00:00 +00:00
<td>{$flotteEC.6|escape}</td>
2008-11-17 11:00:00 +00:00
<td>{$flotteEC.7}</td>
</tr>
{/foreach}
</tbody>
</table>
<h2>Vaisseaux disponibles sur cette planète</h2>
<form action="{$menu.flotte}" method="post">
<table>
<thead>
<tr><th>Vaisseaux</th><th>Nombre disponible</th><th>Max</th><th>A envoyer<br />Flottes : {$nbflotte}/{$nbflottemax}</th></tr>
</thead>
<tfoot>
<tr><td colspan="4"><input class="button" type="button" value="Tous les vaisseaux" onclick="vaisseaux(true)" /> <input class="button" type="button" value="Aucun vaisseau" onclick="vaisseaux(false)" /></td></tr>
<tr><td colspan="4">{$action}</td></tr>
</tfoot>
<tbody>
{foreach from=$vaisseaux item=vaisseau}
<tr>
<td>{$vaisseau.0}</td>
<td>{$vaisseau.1}<span id="v_{$vaisseau.3}" style="display: none;">{$vaisseau.2}</span></td>
<td><input class="button" type="button" value="Max" onclick="max('{$vaisseau.3}')" /></td>
<td><input class="text" type="text" name="v{$vaisseau.3}" value="0" /></td>
</tr>
{/foreach}
</tbody>
</table>
</form>
2008-09-20 10:00:00 +00:00
<h2>Tactiques par défaut</h2>
<form action="{$menu.flotte}" method="post">
<fieldset class="options">
<label for="attaque">Attaque :</label><select name="attaque" id="attaque">{html_options output=$tactiques values=$tactiquesn selected=$attselect}</select><br />
<label for="defense">Défense :</label><select name="defense" id="defense">{html_options output=$tactiques values=$tactiquesn selected=$defselect}</select><br />
<input class="submit" type="submit" value="Ok" />
</fieldset>
</form>
2008-11-17 11:00:00 +00:00
{include file='game/footer.tpl'}