game/onyx2/modules/templates/compile/%%93^93A^93AC0D10%%mail_view.tpl.php

60 lines
3.3 KiB
PHP

<?php /* Smarty version 2.6.22, created on 2009-03-01 16:36:43
compiled from admin/mail_view.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'admin/mail_view.tpl', 14, false),array('modifier', 'escape', 'admin/mail_view.tpl', 18, false),array('modifier', 'nl2br', 'admin/mail_view.tpl', 23, 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);
?>
<table style="width: 90%;">
<thead<?php if ($this->_tpl_vars['req']['statut'] >= 1): ?> style="background: #<?php if ($this->_tpl_vars['req']['statut'] == 1): ?>770000<?php elseif ($this->_tpl_vars['req']['statut'] == 2): ?>007700<?php elseif ($this->_tpl_vars['req']['statut'] == 3): ?>000077<?php elseif ($this->_tpl_vars['req']['statut'] == 4): ?>770077<?php elseif ($this->_tpl_vars['req']['statut'] == 5): ?>007777<?php elseif ($this->_tpl_vars['req']['statut'] == 6): ?>777700<?php endif; ?>;"<?php endif; ?>>
<tr>
<th colspan="2">Emetteur</th>
<td colspan="3"><?php echo $this->_tpl_vars['req']['pseudo']; ?>
</td>
</tr>
<tr>
<th colspan="2">Statut</th>
<td colspan="3"><?php echo $this->_tpl_vars['req']['statut']; ?>
</td>
</tr>
<tr>
<th colspan="2">Date</th>
<td colspan="3"><?php echo ((is_array($_tmp=$this->_tpl_vars['req']['time'])) ? $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>
</tr>
<tr>
<th colspan="2">Objet</th>
<td colspan="3"><?php echo ((is_array($_tmp=$this->_tpl_vars['req']['titre'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</td>
</tr>
</thead>
<tbody>
<tr>
<td colspan="5"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['req']['contenu'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td><a href="./<?php echo $this->_tpl_vars['premiere_page']; ?>
?p=envoyer&amp;d=<?php echo $this->_tpl_vars['req']['pseudo']; ?>
&amp;o=Re : <?php echo ((is_array($_tmp=$this->_tpl_vars['req']['titre'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" onclick="window.open(this.href); return false;">Répondre</a></td>
<td><a href="?p=courrier&amp;d=<?php echo $this->_tpl_vars['req']['id']; ?>
">Supprimer</a></td>
<td><a href="?p=courrier&amp;x=<?php echo $this->_tpl_vars['req']['id']; ?>
">Statut</a></td>
<td><a href="?p=courrier">Retour</a></td>
<td><a href="?p=courrier&amp;v=<?php echo $this->_tpl_vars['req']['id']-1; ?>
">&lt;&lt;&lt;</a> - <a href="?p=courrier&amp;v=<?php echo $this->_tpl_vars['req']['id']+1; ?>
">&gt;&gt;&gt;</a></td>
</tr>
</tfoot>
</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);
?>