HB/onyx/templates/templates_c/%%39^39C^39C9646E%%pilori.tpl.php

40 lines
1.7 KiB
PHP
Raw Normal View History

2008-11-19 11:00:00 +00:00
<?php /* Smarty version 2.6.19, created on 2008-06-17 22:46:48
compiled from game/../cms/pilori.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/../cms/pilori.tpl', 16, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'cms/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<table style="width: 80%; margin: auto;">
<thead>
<tr>
<th>Utilisateur</th>
<th>Raison</th>
<th>Fin du banissement</th>
<th>Opérateur</th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['joueurs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['joueur']):
?>
<tr>
<td><?php echo $this->_tpl_vars['joueur']['pseudo']; ?>
</td>
<td><?php echo $this->_tpl_vars['joueur']['raisonmv']; ?>
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['joueur']['last_visite']+259200)) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M:%S")); ?>
</td>
<td><?php if ($this->_tpl_vars['joueur']['operateurmv']): ?><?php echo $this->_tpl_vars['joueur']['operateurmv']; ?>
<?php else: ?>Inconnu<?php endif; ?></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'cms/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>