65 lines
2.3 KiB
PHP
65 lines
2.3 KiB
PHP
|
<?php /* Smarty version 2.6.19, created on 2008-06-23 01:19:10
|
||
|
compiled from game/bourse.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>Bourse</h2>
|
||
|
<table class="bourse">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>Action</th>
|
||
|
<th>Evolution</th>
|
||
|
<th>Valeur Métal</th>
|
||
|
<th>Valeur Cristal</th>
|
||
|
<th>Acheter</th>
|
||
|
<th>Vendre</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<?php $_from = $this->_tpl_vars['bourse']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||
|
foreach ($_from as $this->_tpl_vars['action']):
|
||
|
?>
|
||
|
<tr>
|
||
|
<td><a href="#"><?php echo $this->_tpl_vars['action']['nom']; ?>
|
||
|
</a></td>
|
||
|
<td><?php if ($this->_tpl_vars['action']['evolution'] >= 0): ?>+<?php endif; ?><?php echo $this->_tpl_vars['action']['evolution']; ?>
|
||
|
%</td>
|
||
|
<td><?php echo $this->_tpl_vars['action']['metal']; ?>
|
||
|
</td>
|
||
|
<td><?php echo $this->_tpl_vars['action']['cristal']; ?>
|
||
|
</td>
|
||
|
<td>
|
||
|
<form action="<?php echo $this->_tpl_vars['menu']['bourse']; ?>
|
||
|
&a=<?php echo $this->_tpl_vars['action']['id']; ?>
|
||
|
" method="post">
|
||
|
<fieldset>
|
||
|
<input type="text" class="text" name="a<?php echo $this->_tpl_vars['action']['id']; ?>
|
||
|
" maxlength="3" value="0" />
|
||
|
<input type="submit" class="submit" value="OK" />
|
||
|
</fieldset>
|
||
|
</form>
|
||
|
</td>
|
||
|
<td>
|
||
|
<form action="<?php echo $this->_tpl_vars['menu']['bourse']; ?>
|
||
|
&v=<?php echo $this->_tpl_vars['action']['id']; ?>
|
||
|
" method="post">
|
||
|
<fieldset>
|
||
|
<input type="text" class="text" name="v<?php echo $this->_tpl_vars['action']['id']; ?>
|
||
|
" maxlength="3" value="0" />/<?php echo $this->_tpl_vars['action']['nbactions']; ?>
|
||
|
|
||
|
<input type="submit" class="submit" value="OK" />
|
||
|
</fieldset>
|
||
|
</form>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<?php endforeach; endif; unset($_from); ?>
|
||
|
|
||
|
</tbody>
|
||
|
</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);
|
||
|
?>
|