Version 1.5a
This commit is contained in:
parent
a66ed9797b
commit
58928889ed
79 changed files with 4932 additions and 332 deletions
|
|
@ -24,8 +24,8 @@ Lieux du combat : <a href="?p=carte&galaxie={$flotte.end_galaxie}&ss={$f
|
|||
{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}%)</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}%)</span></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>
|
||||
|
|
@ -52,10 +52,11 @@ Lieux du combat : <a href="?p=carte&galaxie={$flotte.end_galaxie}&ss={$f
|
|||
<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 $groupe.1 > 99}<span style="#00FF00">Complet</span>{elseif $groupe.1 > 80}<span style="#00FF00">Bon</span>{elseif $groupe.1 > 60}<span style="#CCCC00">Correct</span>{elseif $groupe.1 > 40}<span style="#EECC00">Moyen</span>{elseif $groupe.1 > 20}<span style="#FF9900">Bas</span>{elseif $groupe.1 > 20}<span style="#FF9900">Critique</span>{/if}</td>
|
||||
<td>{$groupe.2}</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>
|
||||
|
|
@ -85,8 +86,8 @@ Lieux du combat : <a href="?p=carte&galaxie={$flotte.end_galaxie}&ss={$f
|
|||
{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}%)</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}%)</span></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>
|
||||
|
|
@ -116,8 +117,8 @@ Lieux du combat : <a href="?p=carte&galaxie={$flotte.end_galaxie}&ss={$f
|
|||
{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}%)</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}%)</span></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>
|
||||
|
|
@ -144,10 +145,11 @@ Lieux du combat : <a href="?p=carte&galaxie={$flotte.end_galaxie}&ss={$f
|
|||
<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>{$groupe.1}</td>
|
||||
<td>{$groupe.2}</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>
|
||||
|
|
@ -177,8 +179,8 @@ Lieux du combat : <a href="?p=carte&galaxie={$flotte.end_galaxie}&ss={$f
|
|||
{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}%)</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}%)</span></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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue