94 lines
3.0 KiB
PHP
94 lines
3.0 KiB
PHP
|
<?php /* Smarty version 2.6.19, created on 2008-05-23 02:23:49
|
||
|
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);
|
||
|
?>
|
||
|
<div class="border_top"></div>
|
||
|
<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'): ?>niveau<?php endif; ?> <?php echo $this->_tpl_vars['niveau']; ?>
|
||
|
<?php if ($this->_tpl_vars['type'] == 'vaisseaux' || $this->_tpl_vars['type'] == 'terrestre'): ?> 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'): ?>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>
|
||
|
<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>
|
||
|
<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);
|
||
|
?>
|