2008-11-30 11:00:00 +00:00
<b> { if $termine } Le combat contre { $EN.pseudo } est terminé !
{ elseif $tour = = '1' } Le combat contre { $EN.pseudo } est engagé !
{ else } Suite du combat contre { $EN.pseudo } ! { /if } </b><br /><br />
2008-11-16 11:00:00 +00:00
Tour n° : { $tour } <br /><br />
2008-11-30 11:00:00 +00:00
Tactique lors de ce tour : { $flotte.tactiqueAT } <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 = $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>
2008-12-01 11:00:00 +00:00
<td> { if $vaisBC [ $nom ] = = 0 } Inexistant { else } { assign var = "pourcent_bc" value = "`$groupe[1]*100/$vaisBC[$nom]`" } { if $pourcent_bc > 9 9 } <span style="color: #00FF00">Complet { elseif $pourcent_bc > 8 0 } <span style="color: #00FF00">Bon { elseif $pourcent_bc > 6 0 } <span style="color: #CCCC00">Correct { elseif $pourcent_bc > 4 0 } <span style="color: #EECC00">Moyen { elseif $pourcent_bc > 2 0 } <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 > 9 9 } <span style="color: #00FF00">Complet { elseif $pourcent_pv > 8 0 } <span style="color: #00FF00">Bon { elseif $pourcent_pv > 6 0 } <span style="color: #CCCC00">Correct { elseif $pourcent_pv > 4 0 } <span style="color: #EECC00">Moyen { elseif $pourcent_pv > 2 0 } <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>
2008-11-30 11:00:00 +00:00
</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 = $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>
2008-12-01 11:00:00 +00:00
<td> { if $vaisBC [ $nom ] = = 0 } Inexistant { else } { assign var = "pourcent_bc" value = "`$groupe[1]*100/$vaisBC[$nom]`" } { if $pourcent_bc > 9 9 } <span style="color: #00FF00">Complet { elseif $pourcent_bc > 8 0 } <span style="color: #00FF00">Bon { elseif $pourcent_bc > 6 0 } <span style="color: #CCCC00">Correct { elseif $pourcent_bc > 4 0 } <span style="color: #EECC00">Moyen { elseif $pourcent_bc > 2 0 } <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 > 9 9 } <span style="color: #00FF00">Complet { elseif $pourcent_pv > 8 0 } <span style="color: #00FF00">Bon { elseif $pourcent_pv > 6 0 } <span style="color: #CCCC00">Correct { elseif $pourcent_pv > 4 0 } <span style="color: #EECC00">Moyen { elseif $pourcent_pv > 2 0 } <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>
2008-11-30 11:00:00 +00:00
</tr>
{ /foreach }
</table>
</td>
</tr>
{ /foreach }
</tbody>
</table>
<br /><b>Défenses ennemi à 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 }
2008-12-01 11:00:00 +00:00
{ assign var = "pourcent_pv" value = "`$groupe[2]*100/$defPV[$nom]`" }
2008-11-30 11:00:00 +00:00
<tr>
<td> { $groupe.0 } </td>
2008-12-01 11:00:00 +00:00
<td> { if $defBC [ $nom ] = = 0 } Inexistant { else } { assign var = "pourcent_bc" value = "`$groupe[1]*100/$defBC[$nom]`" } { if $pourcent_bc > 9 9 } <span style="color: #00FF00">Complet { elseif $pourcent_bc > 8 0 } <span style="color: #00FF00">Bon { elseif $pourcent_bc > 6 0 } <span style="color: #CCCC00">Correct { elseif $pourcent_bc > 4 0 } <span style="color: #EECC00">Moyen { elseif $pourcent_bc > 2 0 } <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 > 9 9 } <span style="color: #00FF00">Complet { elseif $pourcent_pv > 8 0 } <span style="color: #00FF00">Bon { elseif $pourcent_pv > 6 0 } <span style="color: #CCCC00">Correct { elseif $pourcent_pv > 4 0 } <span style="color: #EECC00">Moyen { elseif $pourcent_pv > 2 0 } <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>
2008-11-30 11:00:00 +00:00
</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 = $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>
2008-12-01 11:00:00 +00:00
<td> { if $vaisBC [ $nom ] = = 0 } Inexistant { else } { assign var = "pourcent_bc" value = "`$groupe[1]*100/$vaisBC[$nom]`" } { if $pourcent_bc > 9 9 } <span style="color: #00FF00">Complet { elseif $pourcent_bc > 8 0 } <span style="color: #00FF00">Bon { elseif $pourcent_bc > 6 0 } <span style="color: #CCCC00">Correct { elseif $pourcent_bc > 4 0 } <span style="color: #EECC00">Moyen { elseif $pourcent_bc > 2 0 } <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 > 9 9 } <span style="color: #00FF00">Complet { elseif $pourcent_pv > 8 0 } <span style="color: #00FF00">Bon { elseif $pourcent_pv > 6 0 } <span style="color: #CCCC00">Correct { elseif $pourcent_pv > 4 0 } <span style="color: #EECC00">Moyen { elseif $pourcent_pv > 2 0 } <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>
2008-11-30 11:00:00 +00:00
</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 = $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>
2008-12-01 11:00:00 +00:00
<td> { if $vaisBC [ $nom ] = = 0 } Inexistant { else } { assign var = "pourcent_bc" value = "`$groupe[1]*100/$vaisBC[$nom]`" } { if $pourcent_bc > 9 9 } <span style="color: #00FF00">Complet { elseif $pourcent_bc > 8 0 } <span style="color: #00FF00">Bon { elseif $pourcent_bc > 6 0 } <span style="color: #CCCC00">Correct { elseif $pourcent_bc > 4 0 } <span style="color: #EECC00">Moyen { elseif $pourcent_bc > 2 0 } <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 > 9 9 } <span style="color: #00FF00">Complet { elseif $pourcent_pv > 8 0 } <span style="color: #00FF00">Bon { elseif $pourcent_pv > 6 0 } <span style="color: #CCCC00">Correct { elseif $pourcent_pv > 4 0 } <span style="color: #EECC00">Moyen { elseif $pourcent_pv > 2 0 } <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>
2008-11-30 11:00:00 +00:00
</tr>
{ /foreach }
</table>
</td>
</tr>
{ /foreach }
</tbody>
</table>
<br /><b>Défenses ennemi 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 }
2008-12-01 11:00:00 +00:00
{ assign var = "pourcent_pv" value = "`$groupe[2]*100/$defPV[$nom]`" }
2008-11-30 11:00:00 +00:00
<tr>
<td> { $groupe.0 } </td>
2008-12-01 11:00:00 +00:00
<td> { if $defBC [ $nom ] = = 0 } Inexistant { else } { assign var = "pourcent_bc" value = "`$groupe[1]*100/$defBC[$nom]`" } { if $pourcent_bc > 9 9 } <span style="color: #00FF00">Complet { elseif $pourcent_bc > 8 0 } <span style="color: #00FF00">Bon { elseif $pourcent_bc > 6 0 } <span style="color: #CCCC00">Correct { elseif $pourcent_bc > 4 0 } <span style="color: #EECC00">Moyen { elseif $pourcent_bc > 2 0 } <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 > 9 9 } <span style="color: #00FF00">Complet { elseif $pourcent_pv > 8 0 } <span style="color: #00FF00">Bon { elseif $pourcent_pv > 6 0 } <span style="color: #CCCC00">Correct { elseif $pourcent_pv > 4 0 } <span style="color: #EECC00">Moyen { elseif $pourcent_pv > 2 0 } <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>
2008-11-30 11:00:00 +00:00
</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 } <strong>Nous avons gagné le combat !<br />Nous repartons avec { $pillage.0 } { $ressources.0 } , { $pillage.1 } { $ressources.1 } et { $pillage.2 } { $ressources.2 } .</strong>
{ else } <strong>Nous avons perdu le combat !</strong> { /if }