2020-11-15 15:12:32 +00:00
|
|
|
<?php /* Smarty version 2.6.22, created on 2009-10-04 16:03:31
|
2009-11-01 11:00:00 +00:00
|
|
|
compiled from game/operateur.tpl */ ?>
|
|
|
|
<?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>Opérateurs de cette galaxie</h2>
|
|
|
|
<ul>
|
|
|
|
<?php $_from = $this->_tpl_vars['operateurs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
|
|
|
foreach ($_from as $this->_tpl_vars['operateur']):
|
|
|
|
?>
|
|
|
|
<li><?php echo $this->_tpl_vars['operateur']['pseudo']; ?>
|
|
|
|
<i>(<?php if ($this->_tpl_vars['operateur']['auth_level'] == 2): ?>Modérateur<?php elseif ($this->_tpl_vars['operateur']['auth_level'] == 3): ?>Maître de la bourse<?php elseif ($this->_tpl_vars['operateur']['auth_level'] == 4): ?>Opérateur en formation<?php elseif ($this->_tpl_vars['operateur']['auth_level'] == 5): ?>Opérateur<?php elseif ($this->_tpl_vars['operateur']['auth_level'] == 6): ?>Super-opérateur<?php elseif ($this->_tpl_vars['operateur']['auth_level'] == 7): ?>Administrateur<?php elseif ($this->_tpl_vars['operateur']['auth_level'] == 8): ?>Codeur<?php endif; ?>)</i></li>
|
|
|
|
<?php endforeach; endif; unset($_from); ?>
|
|
|
|
</ul>
|
|
|
|
<h2>Problèmes connus</h2>
|
|
|
|
<strong>Lisez les questions/réponses ci-dessous. Ne contactez un opérateur que si vous ne pouvez pas résoudre votre problème/demande.</strong><br />
|
|
|
|
<strong>N'oubliez pas de contacter les opérateurs pour les raisons indiquées dans les <a href="?p=regles">règles du jeu</a>.</strong>
|
2020-11-15 15:12:30 +00:00
|
|
|
<div id="messagerie">
|
2009-11-01 11:00:00 +00:00
|
|
|
<?php $_from = $this->_tpl_vars['questions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
|
|
|
foreach ($_from as $this->_tpl_vars['question']):
|
|
|
|
?>
|
2020-11-15 15:12:30 +00:00
|
|
|
<dl>
|
|
|
|
<dt><?php echo $this->_tpl_vars['question']['0']; ?>
|
|
|
|
</dt>
|
|
|
|
<dd><?php echo $this->_tpl_vars['question']['1']; ?>
|
2009-11-01 11:00:00 +00:00
|
|
|
<?php if ($this->_tpl_vars['auth_level'] > 4): ?><div style="text-align: right"><a href="<?php echo $this->_tpl_vars['menu']['operateur']; ?>
|
|
|
|
&a=top&i=<?php echo $this->_tpl_vars['question']['2']; ?>
|
|
|
|
"><i>Haut</i></a> - <a href="<?php echo $this->_tpl_vars['menu']['operateur']; ?>
|
|
|
|
&a=bas&i=<?php echo $this->_tpl_vars['question']['2']; ?>
|
|
|
|
"><i>Bas</i></a> - <a href="<?php echo $this->_tpl_vars['menu']['operateur']; ?>
|
|
|
|
&a=del&i=<?php echo $this->_tpl_vars['question']['2']; ?>
|
|
|
|
"><i>Supprimer</i></a></div><?php endif; ?></dd>
|
2020-11-15 15:12:30 +00:00
|
|
|
</dl>
|
2009-11-01 11:00:00 +00:00
|
|
|
<?php endforeach; endif; unset($_from); ?>
|
2020-11-15 15:12:30 +00:00
|
|
|
</div>
|
2009-11-01 11:00:00 +00:00
|
|
|
<?php if ($this->_tpl_vars['auth_level'] >= 5): ?>
|
|
|
|
<h2>Ajouter un problème connu</h2>
|
|
|
|
<form action="<?php echo $this->_tpl_vars['menu']['operateur']; ?>
|
2020-11-15 15:12:30 +00:00
|
|
|
&post" method="post"><fieldset class="form">
|
|
|
|
<label for="O_titre">Problème : <input class="text" type="text" name="O_titre" id="O_titre" /></label>
|
|
|
|
<label for="O_desc">Solution :
|
|
|
|
<textarea id="O_desc" name="O_description" cols="40" rows="10"></textarea></label>
|
2009-11-01 11:00:00 +00:00
|
|
|
<input class="submit" type="submit" value="OK" />
|
|
|
|
</fieldset></form>
|
|
|
|
<?php else: ?><h2>Prendre contact avec les opérateurs de la galaxie</h2>
|
|
|
|
<form action="<?php echo $this->_tpl_vars['menu']['operateur']; ?>
|
2020-11-15 15:12:30 +00:00
|
|
|
&post" method="post"><fieldset class="form">
|
|
|
|
<label for="titre">Titre/objet : <input class="text" type="text" name="titre" id="titre" /></label>
|
|
|
|
<label for="desc">Corps :
|
|
|
|
<textarea id="desc" name="description" cols="40" rows="10"></textarea></label>
|
2009-11-01 11:00:00 +00:00
|
|
|
<input class="submit" type="submit" value="OK" />
|
|
|
|
</fieldset></form><?php endif; ?>
|
|
|
|
<?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);
|
|
|
|
?>
|