game/onyx/tpl_compile/%%8B^8B5^8B5682FA%%operateur.tpl.php

56 lines
3.8 KiB
PHP

<?php /* Smarty version 2.6.19, created on 2008-09-13 22:54:12
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>
<?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']):
?>
<dl>
<dt><input class="button2" type="button" onclick="hide(this); return false;" /><?php echo $this->_tpl_vars['question']['0']; ?>
</dt><dd><?php echo $this->_tpl_vars['question']['1']; ?>
<?php if ($this->_tpl_vars['auth_level'] > 4): ?><div style="text-align: right"><a href="<?php echo $this->_tpl_vars['menu']['operateur']; ?>
&amp;a=top&amp;i=<?php echo $this->_tpl_vars['question']['2']; ?>
"><i>Haut</i></a> - <a href="<?php echo $this->_tpl_vars['menu']['operateur']; ?>
&amp;a=bas&amp;i=<?php echo $this->_tpl_vars['question']['2']; ?>
"><i>Bas</i></a> - <a href="<?php echo $this->_tpl_vars['menu']['operateur']; ?>
&amp;a=del&amp;i=<?php echo $this->_tpl_vars['question']['2']; ?>
"><i>Supprimer</i></a></div><?php endif; ?></dd>
</dl>
<?php endforeach; endif; unset($_from); ?>
<?php if ($this->_tpl_vars['auth_level'] >= 5): ?>
<h2>Ajouter un problème connu</h2>
<form action="<?php echo $this->_tpl_vars['menu']['operateur']; ?>
&amp;post" method="post"><fieldset class="options">
<label for="O_titre">Problème :</label><input class="text" type="text" name="O_titre" id="O_titre" />
<label for="O_desc">Solution :</label>
<textarea id="O_desc" name="O_description" cols="40" rows="10"></textarea><br /><br />
<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']; ?>
&amp;post" method="post"><fieldset class="options">
<label for="titre">Titre/objet :</label><input class="text" type="text" name="titre" id="titre" />
<label for="desc">Corps :</label>
<textarea id="desc" name="description" cols="40" rows="10"></textarea><br /><br />
<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);
?>