game/onyx2/modules/templates_anc/compile/%%78^78B^78BD8F6D%%pilori.tpl.php

40 lines
2.3 KiB
PHP

<?php /* Smarty version 2.6.22, created on 2009-08-21 23:05:02
compiled from cms/pilori.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'cms/pilori.tpl', 15, false),array('modifier', 'date_format', 'cms/pilori.tpl', 16, false),array('function', 'mailto', 'cms/pilori.tpl', 17, 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: 85%; margin: auto;" id="pilori">
<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 ((is_array($_tmp=$this->_tpl_vars['joueur']['raisonmv'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</td>
<td><?php if ($this->_tpl_vars['joueur']['mv'] == 3 || $this->_tpl_vars['joueur']['last_visite'] == 2147483647): ?>Définitif<?php else: ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['joueur']['last_visite']+259200)) ? $this->_run_mod_handler('date_format', true, $_tmp, "%a %d %B %Y %H:%M") : smarty_modifier_date_format($_tmp, "%a %d %B %Y %H:%M")))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
<?php endif; ?></td>
<td><?php if ($this->_tpl_vars['joueur']['operateurmv']): ?><?php echo smarty_function_mailto(array('address' => $this->_tpl_vars['joueur']['mail'],'encode' => 'hex','text' => $this->_tpl_vars['joueur']['operateurmv']), $this);?>
<?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);
?>