31 lines
2.4 KiB
PHP
31 lines
2.4 KiB
PHP
<?php /* Smarty version 2.6.19, created on 2008-05-18 00:20:23
|
|
compiled from game/classement.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>Classement</h2>
|
|
<form action="<?php echo $this->_tpl_vars['menu']['classement']; ?>
|
|
" method="get"><fieldset><input type="hidden" value="classement" name="p" /><select name="t"><option value="0">Pseudo</option><option value="1">Alliance</option></select> <select name="e"><option value="points"<?php if ($this->_tpl_vars['export'] == 'points'): ?> selected="selected"<?php endif; ?>>Points</option><option value="batiment"<?php if ($this->_tpl_vars['export'] == 'batiments'): ?> selected="selected"<?php endif; ?>>Bâtiment</option><option value="flotte"<?php if ($this->_tpl_vars['export'] == 'flottes'): ?> selected="selected"<?php endif; ?>>Flotte</option><option value="recherches"<?php if ($this->_tpl_vars['export'] == 'recherches'): ?> selected="selected"<?php endif; ?>>Recherches</option></select> <?php echo $this->_tpl_vars['q']; ?>
|
|
<input class="submit" type="submit" value="GO" /></fieldset></form>
|
|
<table class="systeme"><thead>
|
|
<tr><th>Rang</th><th>Evolution</th><th>Pseudo</th><th>Message</th><th>Race</th><th>Alliance</th><th>Points</th></tr></thead><tbody>
|
|
<?php $_from = $this->_tpl_vars['places']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
|
foreach ($_from as $this->_tpl_vars['place']):
|
|
?>
|
|
<tr><td><?php echo $this->_tpl_vars['place']['0']; ?>
|
|
</td><td>-</td><td><?php echo $this->_tpl_vars['place']['1']; ?>
|
|
</td><td><a href="?p=envoyer&d=<?php echo $this->_tpl_vars['place']['1']; ?>
|
|
" class="msg"><span>Message</span></a></td><td><?php echo $this->_tpl_vars['place']['2']; ?>
|
|
</td><td>-</td><td><?php echo $this->_tpl_vars['place']['3']; ?>
|
|
</td></tr>
|
|
<?php endforeach; endif; unset($_from); ?>
|
|
</tbody></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);
|
|
?>
|