HB/onyx/tpl_compile/%%3F^3F6^3F634000%%alliance_adm_chat.tpl.php

49 lines
2.2 KiB
PHP
Raw Normal View History

2008-09-20 10:00:00 +00:00
<?php /* Smarty version 2.6.19, created on 2008-09-19 23:40:36
2008-11-03 11:00:00 +00:00
compiled from game/alliance_adm_chat.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/alliance_adm_chat.tpl', 19, false),array('modifier', 'escape', 'game/alliance_adm_chat.tpl', 20, false),)), $this); ?>
<?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>Administration de l'alliance</h2>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/alliance_adm_header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<br />
<h2 id="chat">Administration du chat</h2>
<table style="text-align: center; width: 100%;">
<thead>
<tr>
<th>Pseudo</th>
<th>Date</th>
<th>Message</th>
<th>Supprimer</th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['chat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['message']):
?>
<tr>
<td><?php echo $this->_tpl_vars['message']['emetteur']; ?>
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['message']['timestamp'])) ? $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 echo ((is_array($_tmp=$this->_tpl_vars['message']['message'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</td>
<td><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_chat&amp;i=<?php echo $this->_tpl_vars['message']['id']; ?>
"><i>Supprimer</i></a></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);
?>