2008-09-20 10:00:00 +00:00
|
|
|
<?php /* Smarty version 2.6.19, created on 2008-09-20 21:55:01
|
2008-11-03 11:00:00 +00:00
|
|
|
compiled from game/gestion.tpl */ ?>
|
|
|
|
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
2008-09-20 10:00:00 +00:00
|
|
|
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/gestion.tpl', 15, false),array('modifier', 'separernombres', 'game/gestion.tpl', 23, false),)), $this); ?>
|
2008-11-03 11:00:00 +00:00
|
|
|
<?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>Gestion</h2>
|
|
|
|
<div id="gestion">
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<td></td>
|
|
|
|
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
|
|
|
foreach ($_from as $this->_tpl_vars['plan']):
|
|
|
|
?>
|
|
|
|
<td><img src="images/planetes/<?php echo $this->_tpl_vars['plan']['image']; ?>
|
|
|
|
.jpg" alt="<?php echo $this->_tpl_vars['plan']['image']; ?>
|
|
|
|
" title="<?php echo $this->_tpl_vars['plan']['nom_planete']; ?>
|
|
|
|
" width="80" height="80" /></td>
|
|
|
|
<?php endforeach; endif; unset($_from); ?>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th></th>
|
|
|
|
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
|
|
|
foreach ($_from as $this->_tpl_vars['plan']):
|
|
|
|
?>
|
|
|
|
<th><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['nom_planete'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
|
|
|
</th>
|
|
|
|
<?php endforeach; endif; unset($_from); ?>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="hightlight"><?php echo $this->_tpl_vars['nomsressources']['0']; ?>
|
|
|
|
</td>
|
|
|
|
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
|
|
|
foreach ($_from as $this->_tpl_vars['plan']):
|
|
|
|
?>
|
2008-09-20 10:00:00 +00:00
|
|
|
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['metal'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
|
2008-11-03 11:00:00 +00:00
|
|
|
</td>
|
|
|
|
<?php endforeach; endif; unset($_from); ?>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="hightlight"><?php echo $this->_tpl_vars['nomsressources']['1']; ?>
|
|
|
|
</td>
|
|
|
|
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
|
|
|
foreach ($_from as $this->_tpl_vars['plan']):
|
|
|
|
?>
|
2008-09-20 10:00:00 +00:00
|
|
|
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['cristal'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
|
2008-11-03 11:00:00 +00:00
|
|
|
</td>
|
|
|
|
<?php endforeach; endif; unset($_from); ?>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="hightlight"><?php echo $this->_tpl_vars['nomsressources']['2']; ?>
|
|
|
|
</td>
|
|
|
|
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
|
|
|
foreach ($_from as $this->_tpl_vars['plan']):
|
|
|
|
?>
|
2008-09-20 10:00:00 +00:00
|
|
|
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['hydrogene'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
|
2008-11-03 11:00:00 +00:00
|
|
|
</td>
|
|
|
|
<?php endforeach; endif; unset($_from); ?>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="hightlight"><?php echo $this->_tpl_vars['nomsressources']['3']; ?>
|
|
|
|
</td>
|
|
|
|
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
|
|
|
foreach ($_from as $this->_tpl_vars['plan']):
|
|
|
|
?>
|
|
|
|
<td><?php echo $this->_tpl_vars['plan']['energie']; ?>
|
|
|
|
</td>
|
|
|
|
<?php endforeach; endif; unset($_from); ?>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</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);
|
|
|
|
?>
|