30 lines
1.8 KiB
PHP
30 lines
1.8 KiB
PHP
<?php /* Smarty version 2.6.19, created on 2008-09-13 23:01:34
|
|
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', 5, 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>Envoyer un message privé</h2>
|
|
<form action="<?php echo $this->_tpl_vars['menu']['envoie']; ?>
|
|
" method="post">
|
|
<fieldset class="options">
|
|
<label for="amis">Amis :</label><select name="destin" id="fav_dest" onchange="<?php echo 'if (this.value == \'edit\') { window.open(\'?p=amis\'); this.value = \'\'; return false; } document.getElementById(\'nom\').value = this.value;'; ?>
|
|
"><option value="">--</option><?php echo smarty_function_html_options(array('output' => $this->_tpl_vars['amis'],'values' => $this->_tpl_vars['amis']), $this);?>
|
|
<option value="edit">Modifier la liste</option></select><br />
|
|
<label for="nom">Nom du destinataire :</label><input class="text" type="text" name="nom" value="<?php echo $this->_tpl_vars['destinataire']; ?>
|
|
" id="nom" />
|
|
<label for="objet">Objet :</label><input class="text" type="text" name="objet" value="<?php echo $this->_tpl_vars['objet']; ?>
|
|
" id="objet" />
|
|
<label for="message">Texte :</label>
|
|
<textarea id="message" name="message" cols="40" rows="10"></textarea><br /><br />
|
|
<input class="submit" type="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);
|
|
?>
|