forked from halo-battle/game
45 lines
3.0 KiB
PHP
45 lines
3.0 KiB
PHP
|
<?php /* Smarty version 2.6.22, created on 2009-10-31 19:29:51
|
||
|
compiled from game/envoyer.tpl */ ?>
|
||
|
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||
|
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'game/envoyer.tpl', 14, false),array('modifier', 'escape', 'game/envoyer.tpl', 17, 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>Messagerie</h2>
|
||
|
<ul class="onglets">
|
||
|
<li<?php if ($this->_tpl_vars['onglet'] != 'rapports' && $this->_tpl_vars['onglet'] != 'send' && $this->_tpl_vars['onglet'] != 'envoyer'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||
|
&n=recus">Reçus</a><?php if ($this->_tpl_vars['alertMail']['0']): ?> (<?php echo $this->_tpl_vars['alertMail']['0']; ?>
|
||
|
)<?php endif; ?></li>
|
||
|
<li<?php if ($this->_tpl_vars['onglet'] == 'rapports'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||
|
&n=rapports">Rapports</a><?php if ($this->_tpl_vars['alertMail']['1']): ?> (<?php echo $this->_tpl_vars['alertMail']['1']; ?>
|
||
|
)<?php endif; ?></li>
|
||
|
<li<?php if ($this->_tpl_vars['onglet'] == 'send'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||
|
&n=send">Envoyés</a></li>
|
||
|
<li<?php if ($this->_tpl_vars['onglet'] == 'envoyer'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||
|
&n=envoyer">Ecrire</a></li>
|
||
|
</ul><br /><br />
|
||
|
<form action="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||
|
&n=envoyer" method="post">
|
||
|
<fieldset id="envoyer">
|
||
|
<label for="amis">Amis :
|
||
|
<select name="amis" id="amis">
|
||
|
<option value="">--</option>
|
||
|
<?php echo smarty_function_html_options(array('output' => $this->_tpl_vars['amis'],'values' => $this->_tpl_vars['amis']), $this);?>
|
||
|
|
||
|
</select>
|
||
|
</label><br />
|
||
|
<label for="destinataire">Destinataire(s) : <input type="text" class="text" name="destinataire" id="destinataire" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['destinataire'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||
|
" /></label><br />
|
||
|
<label for="objet">Objet : <input type="text" class="text" name="objet" id="objet" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['objet'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||
|
" /></label><br />
|
||
|
<textarea name="message" cols="40" rows="10"></textarea><br />
|
||
|
<input type="submit" class="submit" value="OK" />
|
||
|
</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);
|
||
|
?>
|