forked from halo-battle/game
Version 1.5a
This commit is contained in:
parent
a66ed9797b
commit
58928889ed
79 changed files with 4932 additions and 332 deletions
|
|
@ -0,0 +1,131 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-30 00:43:42
|
||||
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>
|
||||
<?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>
|
||||
<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);
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue