forked from halo-battle/game
51 lines
2.1 KiB
Smarty
51 lines
2.1 KiB
Smarty
{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>
|
|
<td><a href="{$menu.flotte}&n={$flotteEC.0}">{$flotteEC.1|escape}</a></td>
|
|
<td>{$flotteEC.2}</td>
|
|
<td>{$flotteEC.3}</td>
|
|
<td>{$flotteEC.4|escape}</td>
|
|
<td>{$flotteEC.5}</td>
|
|
<td>{$flotteEC.6|escape}</td>
|
|
<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>
|
|
<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>
|
|
{include file='game/footer.tpl'} |