game/onyx/tpl_compile/%%F2^F21^F21E08BB%%messagerie.tpl.php

57 lines
3.5 KiB
PHP

<?php /* Smarty version 2.6.19, created on 2008-09-13 16:40:05
compiled from game/messagerie.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'nl2br', 'game/messagerie.tpl', 8, 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>Messages</h2>
<?php echo $this->_tpl_vars['avertissement']; ?>
<h3><a href="<?php echo $this->_tpl_vars['menu']['envoie']; ?>
">Ecrire un message</a></h3>
<form action="<?php echo $this->_tpl_vars['menu']['messagerie']; ?>
" method="post">
<?php $_from = $this->_tpl_vars['messages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['message']):
?>
<dl>
<dt><input class="button2" type="button" onclick="hide(this); return false;" /><input class="checkbox" type="checkbox" name="m<?php echo $this->_tpl_vars['message']['4']; ?>
" value="<?php echo $this->_tpl_vars['message']['5']; ?>
" /><a href="?p=envoyer&amp;d=<?php echo $this->_tpl_vars['message']['2']; ?>
&amp;o=<?php echo $this->_tpl_vars['message']['0']; ?>
"><?php echo $this->_tpl_vars['message']['0']; ?>
</a> de <?php echo $this->_tpl_vars['message']['2']; ?>
à <?php echo $this->_tpl_vars['message']['1']; ?>
</dt><dd><?php echo ((is_array($_tmp=$this->_tpl_vars['message']['3'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
</dd>
</dl>
<?php endforeach; endif; unset($_from); ?>
<fieldset><input class="button" type="button" value="Tout sélectionner" onclick="checkboxes(true)" /> <input class="button" type="button" value="Tout déselectionner" onclick="checkboxes(false)" /><br /><br /><strong>Supprimer la sélection : </strong><input class="submit" type="submit" value="OK" /><br /><br /><input type="hidden" value="<?php echo $this->_tpl_vars['IM']; ?>
" name="IM" /></fieldset>
</form>
<h2>Rapports</h2>
<form action="<?php echo $this->_tpl_vars['menu']['messagerie']; ?>
" method="post">
<?php $_from = $this->_tpl_vars['rapports']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['rapport']):
?>
<dl>
<dt><input class="button2" type="button" onclick="hide(this); return false;" /><input class="checkbox" type="checkbox" name="r<?php echo $this->_tpl_vars['rapport']['4']; ?>
" value="<?php echo $this->_tpl_vars['rapport']['5']; ?>
" /><?php echo $this->_tpl_vars['rapport']['0']; ?>
à <?php echo $this->_tpl_vars['rapport']['1']; ?>
</dt><dd><?php echo $this->_tpl_vars['rapport']['3']; ?>
</dd>
</dl>
<?php endforeach; endif; unset($_from); ?>
<fieldset><input class="button" type="button" value="Tout sélectionner" onclick="checkboxesr(true)" /> <input class="button" type="button" value="Tout déselectionner" onclick="checkboxesr(false)" /><br /><br /><strong>Supprimer la sélection : </strong><input class="submit" type="submit" value="OK" /><br /><br /><input type="hidden" value="<?php echo $this->_tpl_vars['IR']; ?>
" name="IR" /></fieldset>
</form>
<?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);
?>