Version 1.9a
This commit is contained in:
parent
5f81f76b17
commit
d028822d0b
437 changed files with 27543 additions and 81793 deletions
|
|
@ -1,196 +0,0 @@
|
|||
<b>{if $termine}Le combat contre {$flotte.pseudo} est terminé !
|
||||
{elseif $tour == '1'}Un combat contre {$flotte.pseudo} est engagé !
|
||||
{else}Suite du combat contre {$flotte.pseudo} !{/if}</b><br /><br />
|
||||
Tactique lors de ce tour : {$flotte.tactiqueEN}<br /><br />
|
||||
Lieux du combat : <a href="?p=carte&galaxie={$flotte.end_galaxie}&ss={$flotte.end_ss}">[{$flotte.end_galaxie}:{$flotte.end_ss}:{$flotte.end_position}]</a><br /><br />
|
||||
<b>Vaisseaux à la fin du tour de notre côté :</b>
|
||||
<table style="margin: auto; padding: 0;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Vaisseaux</th>
|
||||
<th>Nb</th>
|
||||
<th>Etat bouclier</th>
|
||||
<th>Etat PV</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$vaisseaux4 item=vaisseau}
|
||||
{assign var="nom" value="`$vaisseau[0]-1`"}
|
||||
<tr>
|
||||
<td>{$vaisseau.1} {$nomvaisEN[$nom]}</td>
|
||||
<td colspan="3" style="padding: 0;">
|
||||
<table style="width: 100%; margin: 0; padding: 0;">
|
||||
{foreach from=$vaisseau.3 item=groupe}
|
||||
{assign var="pourcent_pv" value="`$groupe[2]*100/$vaisPV[$nom]`"}
|
||||
<tr>
|
||||
<td>{$groupe.0}</td>
|
||||
<td>{if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
|
||||
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br /><b>Nos défenses à la fin du tour :</b>
|
||||
<table style="margin: auto; padding: 0;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Défenses</th>
|
||||
<th>Nb</th>
|
||||
<th>Etat bouclier</th>
|
||||
<th>Etat PV</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$defenses2 item=vaisseau}
|
||||
{assign var="nom" value="`$vaisseau[0]-1`"}
|
||||
<tr>
|
||||
<td>{$vaisseau.1} {$nomdefEN[$nom]}</td>
|
||||
<td colspan="3" style="padding: 0;">
|
||||
<table style="width: 100%; margin: 0;">
|
||||
{foreach from=$vaisseau.3 item=groupe}
|
||||
{assign var="pourcent_pv" value="`$groupe[2]*100/$defPV[$nom]`"}
|
||||
<tr>
|
||||
<td>{$groupe.0}</td>
|
||||
<td>{if $defBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$defBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
|
||||
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br /><b>Vaisseaux ennemi à la fin du tour :</b>
|
||||
<table style="margin: auto; padding: 0;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Vaisseaux</th>
|
||||
<th>Nb</th>
|
||||
<th>Etat bouclier</th>
|
||||
<th>Etat PV</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$vaisseaux3 item=vaisseau}
|
||||
{assign var="nom" value="`$vaisseau[0]-1`"}
|
||||
<tr>
|
||||
<td>{$vaisseau.1} {$nomvaisAT[$nom]}</td>
|
||||
<td colspan="3" style="padding: 0;">
|
||||
<table style="width: 100%; margin: 0; padding: 0;">
|
||||
{foreach from=$vaisseau.3 item=groupe}
|
||||
{assign var="pourcent_pv" value="`$groupe[2]*100/$vaisPV[$nom]`"}
|
||||
<tr>
|
||||
<td>{$groupe.0}</td>
|
||||
<td>{if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
|
||||
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br /><br /><b>Vaisseaux au début du tour de notre côté :</b>
|
||||
<table style="margin: auto; padding: 0;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Vaisseaux</th>
|
||||
<th>Nb</th>
|
||||
<th>Etat bouclier</th>
|
||||
<th>Etat PV</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$vaisseaux2 item=vaisseau}
|
||||
{assign var="nom" value="`$vaisseau[0]-1`"}
|
||||
<tr>
|
||||
<td>{$vaisseau.1} {$nomvaisEN[$nom]}</td>
|
||||
<td colspan="3" style="padding: 0;">
|
||||
<table style="width: 100%; margin: 0; padding: 0;">
|
||||
{foreach from=$vaisseau.3 item=groupe}
|
||||
{assign var="pourcent_pv" value="`$groupe[2]*100/$vaisPV[$nom]`"}
|
||||
<tr>
|
||||
<td>{$groupe.0}</td>
|
||||
<td>{if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
|
||||
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br /><b>Nos défenses au début du tour :</b>
|
||||
<table style="margin: auto; padding: 0;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Défenses</th>
|
||||
<th>Nb</th>
|
||||
<th>Etat bouclier</th>
|
||||
<th>Etat PV</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$defenses1 item=vaisseau}
|
||||
{assign var="nom" value="`$vaisseau[0]-1`"}
|
||||
<tr>
|
||||
<td>{$vaisseau.1} {$nomdefEN[$nom]}</td>
|
||||
<td colspan="3" style="padding: 0;">
|
||||
<table style="width: 100%; margin: 0; padding: 0;">
|
||||
{foreach from=$vaisseau.3 item=groupe}
|
||||
{assign var="pourcent_pv" value="`$groupe[2]*100/$defPV[$nom]`"}
|
||||
<tr>
|
||||
<td>{$groupe.0}</td>
|
||||
<td>{if $defBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$defBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
|
||||
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br /><b>Vaisseaux ennemi au début du tour :</b>
|
||||
<table style="margin: auto; padding: 0;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Vaisseaux</th>
|
||||
<th>Nb</th>
|
||||
<th>Etat bouclier</th>
|
||||
<th>Etat PV</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$vaisseaux1 item=vaisseau}
|
||||
{assign var="nom" value="`$vaisseau[0]-1`"}
|
||||
<tr>
|
||||
<td>{$vaisseau.1} {$nomvaisAT[$nom]}</td>
|
||||
<td colspan="3" style="padding: 0;">
|
||||
<table style="width: 100%; margin: 0; padding: 0;">
|
||||
{foreach from=$vaisseau.3 item=groupe}
|
||||
{assign var="pourcent_pv" value="`$groupe[2]*100/$vaisPV[$nom]`"}
|
||||
<tr>
|
||||
<td>{$groupe.0}</td>
|
||||
<td>{if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
|
||||
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
{if !$termine}<!--Vous pouvez profiter du temps de régénération des boucliers et des armes pour envoyer un nouvel ordre de tactique : Cliquez ici !<br /><br />-->
|
||||
La prochaine attaque est prévue à {$nextTour|date_format:"/%d%m %y/ %H%M %S"}</b>
|
||||
{elseif $attaquantG || $matchnul}<strong>Nous n'avons pas réussi à repousser l'attaque !<br />Ils repartent avec {$pillage.0} {$ressources.0}, {$pillage.1} {$ressources.1} et {$pillage.2} {$ressources.2}.</strong>
|
||||
{else}<strong>Nous avons réussi à repousser l'attaque !</strong>{/if}
|
||||
Loading…
Add table
Add a link
Reference in a new issue