129 lines
3.9 KiB
PHP
129 lines
3.9 KiB
PHP
<?php /* Smarty version 2.6.19, created on 2008-09-12 13:32:11
|
|
compiled from game/description.tpl */ ?>
|
|
<?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);
|
|
?>
|
|
<h2>Détails <?php echo $this->_tpl_vars['type']; ?>
|
|
: <?php echo $this->_tpl_vars['nom']; ?>
|
|
</h2>
|
|
<table style="width: 400px;">
|
|
<tbody>
|
|
<tr>
|
|
<td style="width: 120px;"><img src="images/<?php echo $this->_tpl_vars['type']; ?>
|
|
/<?php echo $this->_tpl_vars['image']; ?>
|
|
" alt="" /></td>
|
|
<td><b><?php echo $this->_tpl_vars['nom']; ?>
|
|
</b><br />Actuellement : <?php if ($this->_tpl_vars['type'] != 'vaisseaux' && $this->_tpl_vars['type'] != 'terrestre' && $this->_tpl_vars['type'] != 'caserne'): ?>niveau<?php endif; ?> <?php echo $this->_tpl_vars['niveau']; ?>
|
|
<?php if ($this->_tpl_vars['type'] == 'vaisseaux' || $this->_tpl_vars['type'] == 'terrestre' || $this->_tpl_vars['type'] == 'caserne'): ?> unités<?php endif; ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2"><?php echo $this->_tpl_vars['description']; ?>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<td colspan="2">
|
|
<table style="margin: auto; width: 100%;">
|
|
<thead>
|
|
<tr>
|
|
<th colspan="2">Coûts <?php if ($this->_tpl_vars['type'] == 'vaisseaux' || $this->_tpl_vars['type'] == 'terrestre' || $this->_tpl_vars['type'] == 'caserne'): ?>unité<?php else: ?>prochain niveau<?php endif; ?></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php if ($this->_tpl_vars['ressourcesNext']['0']): ?>
|
|
<tr>
|
|
<th><?php echo $this->_tpl_vars['nomsressources']['0']; ?>
|
|
</th>
|
|
<td><?php echo $this->_tpl_vars['ressourcesNext']['0']; ?>
|
|
</td>
|
|
</tr>
|
|
<?php endif; ?>
|
|
<?php if ($this->_tpl_vars['ressourcesNext']['1']): ?>
|
|
<tr>
|
|
<th><?php echo $this->_tpl_vars['nomsressources']['1']; ?>
|
|
</th>
|
|
<td><?php echo $this->_tpl_vars['ressourcesNext']['1']; ?>
|
|
</td>
|
|
</tr>
|
|
<?php endif; ?>
|
|
<?php if ($this->_tpl_vars['ressourcesNext']['2']): ?>
|
|
<tr>
|
|
<th><?php echo $this->_tpl_vars['nomsressources']['2']; ?>
|
|
</th>
|
|
<td><?php echo $this->_tpl_vars['ressourcesNext']['2']; ?>
|
|
</td>
|
|
</tr>
|
|
<?php endif; ?>
|
|
<tr>
|
|
<th>Temps</th>
|
|
<td><?php echo $this->_tpl_vars['ressourcesNext']['3']; ?>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<?php if ($this->_tpl_vars['caract']): ?>
|
|
<tr>
|
|
<td colspan="2">
|
|
<table style="margin: auto; width: 100%;">
|
|
<thead>
|
|
<tr>
|
|
<th colspan="2">Caractéristiques</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<th>Attaque</th>
|
|
<td><?php echo $this->_tpl_vars['caract']['0']; ?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Bouclier</th>
|
|
<td><?php echo $this->_tpl_vars['caract']['1']; ?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Points de vie</th>
|
|
<td><?php echo $this->_tpl_vars['caract']['2']; ?>
|
|
</td>
|
|
</tr>
|
|
<?php if ($this->_tpl_vars['caract']['3']): ?>
|
|
<tr>
|
|
<th>Capacité de transport</th>
|
|
<td><?php echo $this->_tpl_vars['caract']['3']; ?>
|
|
</td>
|
|
</tr>
|
|
<?php endif; ?>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<?php endif; ?>
|
|
<tr>
|
|
<td colspan="2">
|
|
<table style="margin: auto; width: 100%;">
|
|
<thead>
|
|
<tr>
|
|
<th>Requiert</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><?php echo $this->_tpl_vars['etat']; ?>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
<?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);
|
|
?>
|