HB/includes/onyx/templates/templates_c/%%BF^BFC^BFC208DD%%SIMrapport_combat.tpl.php

269 lines
20 KiB
PHP

<?php /* Smarty version 2.6.19, created on 2008-05-31 03:20:55
compiled from game/SIMrapport_combat.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'string_format', 'game/SIMrapport_combat.tpl', 26, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="border_top"></div>
<b>Le combat est terminé !</b><br /><br />
Nombre de tour : <?php echo $this->_tpl_vars['tour']; ?>
<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>
<?php $_from = $this->_tpl_vars['vaisseaux3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['vaisseau']):
?>
<?php $this->assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?>
<tr>
<td><?php echo $this->_tpl_vars['vaisseau']['1']; ?>
<?php echo $this->_tpl_vars['nomvaisAT'][$this->_tpl_vars['nom']]; ?>
</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
<?php $_from = $this->_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['groupe']):
?>
<?php $this->assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?>
<tr>
<td><?php echo $this->_tpl_vars['groupe']['0']; ?>
</td>
<td><?php if ($this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistant<?php else: ?><?php $this->assign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?><?php if ($this->_tpl_vars['pourcent_bc'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_bc'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_bc'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_bc'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_bc'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_bc'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_bc'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span><?php endif; ?></td>
<td><?php if ($this->_tpl_vars['pourcent_pv'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_pv'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_pv'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_pv'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_pv'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_pv'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_pv'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</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>
<?php $_from = $this->_tpl_vars['vaisseaux4']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['vaisseau']):
?>
<?php $this->assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?>
<tr>
<td><?php echo $this->_tpl_vars['vaisseau']['1']; ?>
<?php echo $this->_tpl_vars['nomvaisEN'][$this->_tpl_vars['nom']]; ?>
</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
<?php $_from = $this->_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['groupe']):
?>
<?php $this->assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?>
<tr>
<td><?php echo $this->_tpl_vars['groupe']['0']; ?>
</td>
<td><?php if ($this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistant<?php else: ?><?php $this->assign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?><?php if ($this->_tpl_vars['pourcent_bc'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_bc'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_bc'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_bc'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_bc'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_bc'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_bc'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span><?php endif; ?></td>
<td><?php if ($this->_tpl_vars['pourcent_pv'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_pv'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_pv'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_pv'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_pv'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_pv'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_pv'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</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>
<?php $_from = $this->_tpl_vars['defenses2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['vaisseau']):
?>
<?php $this->assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?>
<tr>
<td><?php echo $this->_tpl_vars['vaisseau']['1']; ?>
<?php echo $this->_tpl_vars['nomdefEN'][$this->_tpl_vars['nom']]; ?>
</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0;">
<?php $_from = $this->_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['groupe']):
?>
<?php $this->assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['defPV'][$this->_tpl_vars['nom']])); ?>
<tr>
<td><?php echo $this->_tpl_vars['groupe']['0']; ?>
</td>
<td><?php if ($this->_tpl_vars['defBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistant<?php else: ?><?php $this->assign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['defBC'][$this->_tpl_vars['nom']])); ?><?php if ($this->_tpl_vars['pourcent_bc'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_bc'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_bc'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_bc'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_bc'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_bc'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_bc'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span><?php endif; ?></td>
<td><?php if ($this->_tpl_vars['pourcent_pv'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_pv'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_pv'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_pv'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_pv'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_pv'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_pv'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</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>
<?php $_from = $this->_tpl_vars['vaisseaux1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['vaisseau']):
?>
<?php $this->assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?>
<tr>
<td><?php echo $this->_tpl_vars['vaisseau']['1']; ?>
<?php echo $this->_tpl_vars['nomvaisAT'][$this->_tpl_vars['nom']]; ?>
</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
<?php $_from = $this->_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['groupe']):
?>
<?php $this->assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?>
<tr>
<td><?php echo $this->_tpl_vars['groupe']['0']; ?>
</td>
<td><?php if ($this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistant<?php else: ?><?php $this->assign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?><?php if ($this->_tpl_vars['pourcent_bc'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_bc'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_bc'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_bc'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_bc'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_bc'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_bc'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span><?php endif; ?></td>
<td><?php if ($this->_tpl_vars['pourcent_pv'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_pv'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_pv'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_pv'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_pv'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_pv'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_pv'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</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>
<?php $_from = $this->_tpl_vars['vaisseaux2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['vaisseau']):
?>
<?php $this->assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?>
<tr>
<td><?php echo $this->_tpl_vars['vaisseau']['1']; ?>
<?php echo $this->_tpl_vars['nomvaisEN'][$this->_tpl_vars['nom']]; ?>
</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
<?php $_from = $this->_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['groupe']):
?>
<?php $this->assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?>
<tr>
<td><?php echo $this->_tpl_vars['groupe']['0']; ?>
</td>
<td><?php if ($this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistant<?php else: ?><?php $this->assign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?><?php if ($this->_tpl_vars['pourcent_bc'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_bc'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_bc'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_bc'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_bc'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_bc'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_bc'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span><?php endif; ?></td>
<td><?php if ($this->_tpl_vars['pourcent_pv'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_pv'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_pv'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_pv'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_pv'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_pv'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_pv'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</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>
<?php $_from = $this->_tpl_vars['defenses1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['vaisseau']):
?>
<?php $this->assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?>
<tr>
<td><?php echo $this->_tpl_vars['vaisseau']['1']; ?>
<?php echo $this->_tpl_vars['nomdefEN'][$this->_tpl_vars['nom']]; ?>
</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
<?php $_from = $this->_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['groupe']):
?>
<?php $this->assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['defPV'][$this->_tpl_vars['nom']])); ?>
<tr>
<td><?php echo $this->_tpl_vars['groupe']['0']; ?>
</td>
<td><?php if ($this->_tpl_vars['defBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistant<?php else: ?><?php $this->assign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['defBC'][$this->_tpl_vars['nom']])); ?><?php if ($this->_tpl_vars['pourcent_bc'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_bc'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_bc'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_bc'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_bc'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_bc'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_bc'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span><?php endif; ?></td>
<td><?php if ($this->_tpl_vars['pourcent_pv'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_pv'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_pv'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_pv'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_pv'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_pv'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_pv'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<br />
<?php if (! $this->_tpl_vars['termine']): ?>Le combat n'est pas terminé !</b>
<?php elseif ($this->_tpl_vars['attaquantG']): ?><strong>Nous avons gagné le combat !<br />Nous repartons avec <?php echo $this->_tpl_vars['pillage']['0']; ?>
<?php echo $this->_tpl_vars['ressources']['0']; ?>
, <?php echo $this->_tpl_vars['pillage']['1']; ?>
<?php echo $this->_tpl_vars['ressources']['1']; ?>
et <?php echo $this->_tpl_vars['pillage']['2']; ?>
<?php echo $this->_tpl_vars['ressources']['2']; ?>
.</strong>
<?php else: ?><strong>Nous avons perdu le combat !</strong><?php endif; ?>
<div class="border_bt"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>