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

@ -5,19 +5,46 @@
<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>
{if $flottesEC}
{foreach from=$flottesEC item=flotteEC}
<tr>
<td><a href="{$menu.flotte}&amp;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>
<td><a href="{$menu.flotte}&amp;n={$flotteEC->id}">{$flotteEC->nom|escape}</a></td>
<td>{$flotteEC->txtMission($flotteEC->mission)}</td>
<td>{$flotteEC->nb_vais}</td>
<td>{if $flotteEC->end_type == "2"}{$flotteEC->end_planete->nom_alliance} [{$flotteEC->end_planete->galaxie}:{$flotteEC->end_planete->ss}:A]{elseif $flotteEC->end_type == "1"}[{$flotteEC->end_planete}]{elseif $flotteEC->end_type == "3"}[{$flotteEC->end_planete}:A]{else}{$flotteEC->end_planete->nom_planete} [{$flotteEC->end_planete->galaxie}:{$flotteEC->end_planete->ss}:{$flotteEC->end_planete->position}]{/if}</td>
<td>{$flotteEC->printTime_end()|date_format:"%d/%m %H:%M:%S"}</td>
{if $flotteEC->printTime_ret()}<td>{if $flotteEC->start_type == "2"}{$flotteEC->start_planete->nom_alliance} [{$flotteEC->start_planete->galaxie}:{$flotteEC->start_planete->ss}:A]{elseif $flotteEC->start_type == "1"}[{$flotteEC->start_planete}]{elseif $flotteEC->start_type == "3"}[{$flotteEC->start_planete}:A]{else}{$flotteEC->start_planete->nom_planete} [{$flotteEC->start_planete->galaxie}:{$flotteEC->start_planete->ss}:{$flotteEC->start_planete->position}]{/if}</td>
<td>{$flotteEC->printTime_ret()|date_format:"%d/%m %H:%M:%S"}</td>
{else}<td>-</td><td>-</td>{/if}
</tr>
{/foreach}
{else}
<tr>
<td colspan="7">Aucune flotte en action</td>
</tr>
{/if}
</tbody>
</table>
{if $flottesEP}
<h2>Flottes en préparation</h2>
<table>
<thead>
<tr><th>Statut</th><th>Nom</th><th>Mission</th><th>Nb.vaisseau(x)</th><th>Destination</th></tr>
</thead>
<tbody>
{foreach from=$flottesEP key=key item=flotteEP}
<tr>
<td>{$flotteEP.statut}</td>
<td><a href="{$menu.flotte}&amp;c={$key}">{if $flotteEP.nom}{$flotteEP.nom|escape}{else}Sans nom{/if}</a></td>
<td>{$flotteEP.mission}</td>
<td>{$flotteEP.nbVaisseaux}</td>
<td>{if $flotteEP.end_position}[{$flotteEP.end_galaxie}:{$flotteEP.end_systeme}:{$flotteEP.end_position}]{else}Indéterminé{/if}</td>
</tr>
{/foreach}
</tbody>
</table>
<p>Cette liste sera perdue après votre déconnexion</p>
{/if}
<h2>Vaisseaux disponibles sur cette planète</h2>
<form action="{$menu.flotte}" method="post">
<table>