game/onyx2/modules/templates_anc/compile/%%77^779^7791756A%%gestion_alliance.tpl.php

100 lines
7.2 KiB
PHP

<?php /* Smarty version 2.6.22, created on 2009-10-04 15:37:29
compiled from game/alliance/gestion_alliance.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/alliance/gestion_alliance.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);
?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/alliance/gestion_common.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<h2>Designation de l'alliance</h2><br />
<label>Nom de l'alliance :</label> <?php echo $this->_tpl_vars['planete']->nom_alliance; ?>
<br />
<label>Tag de l'alliance :</label> <?php echo $this->_tpl_vars['planete']->tag; ?>
<br />
<label>Race de l'alliance :</label> <?php echo $this->_tpl_vars['planete']->race; ?>
<br /><br />
<em>Pour changer le tag ou le nom de votre alliance, veuillez contacter un opérateur.</em><br /><br /><br />
<form method="post" action="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
&amp;g=alliance">
<fieldset class="options">
<label for="asteroide_name">Nom de l'astéroïde : <input type="text" class="text" name="asteroide_name" id="asteroide_name" value="<?php echo $this->_tpl_vars['planete']->nom_asteroide; ?>
" maxlength="32" /></label><br /><br />
<input type="submit" class="submit" value="Go" /><br /><br />
</fieldset>
</form>
<h2>Communication et défense de l'alliance</h2><br />
<form method="post" action="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
&amp;g=alliance">
<fieldset class="options">
<label for="texte_interne">Message interne :<br /><textarea name="texte_interne" id="texte_interne"><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->details['texte_interne'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</textarea></label><br /><br />
<label for="defcon">Defcon : <select name="defcon" id="defcon"><option value="1"<?php if ($this->_tpl_vars['planete']->details['defcon'] == 1): ?> selected="selected"<?php endif; ?>>Niveau 1</option><option value="2"<?php if ($this->_tpl_vars['planete']->details['defcon'] == 2): ?> selected="selected"<?php endif; ?>>Niveau 2</option><option value="3"<?php if ($this->_tpl_vars['planete']->details['defcon'] == 3): ?> selected="selected"<?php endif; ?>>Niveau 3</option><option value="4"<?php if ($this->_tpl_vars['planete']->details['defcon'] == 4): ?> selected="selected"<?php endif; ?>>Niveau 4</option><option value="5"<?php if ($this->_tpl_vars['planete']->details['defcon'] == 5): ?> selected="selected"<?php endif; ?>>Niveau 5</option></select></label><br />
<label for="defcon_txt"><textarea name="defcon_txt" id="defcon_txt"><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->details['defcon_txt'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</textarea></label><br /><br />
<input type="submit" class="submit" value="Go" /><br /><br />
</fieldset>
</form>
<h2>Paramètres des moyens de communication</h2><br />
<form method="post" action="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
&amp;g=alliance">
<fieldset class="options">
<label for="url_forum">URL du forum de l'alliance : <input name="url_forum" id="url_forum" maxlength="64" class="text" type="text" value="<?php echo $this->_tpl_vars['planete']->url_forum; ?>
" /></label><br />
<br />
<label for="url_chat">Adresse sur serveur IRC de l'alliance : <input name="url_chat" id="url_chat" maxlength="64" class="text" type="text" value="<?php echo $this->_tpl_vars['planete']->url_chat; ?>
" /></label><br />
<label for="port_chat">Port du serveur IRC : <input name="port_chat" id="port_chat" maxlength="64" class="text" type="text" value="<?php echo $this->_tpl_vars['planete']->details['port_chat']; ?>
" /></label><br />
<label for="pass_chat">Mot de passe du serveur sur le serveur : <input name="pass_chat" id="pass_chat" maxlength="64" class="text" type="password" value="<?php echo $this->_tpl_vars['planete']->details['pass_chat']; ?>
" /></label><br />
<label for="chan_chat">Channel de l'alliance sur le serveur : <input name="chan_chat" id="chan_chat" maxlength="64" class="text" type="text" value="<?php echo $this->_tpl_vars['planete']->details['chan_chat']; ?>
" /></label><br />
<em>Laissez l'adresse du serveur IRC vide pour utiliser le chat par défaut du jeu.</em><br /><br /><br />
<input type="submit" class="submit" value="Go" /><br /><br />
</fieldset>
</form>
<h2>Réglages des inscriptions</h2><br />
<form method="post" action="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
&amp;g=alliance">
<fieldset class="options">
<label for="etatinscriptions"><input type="checkbox" name="etatinscriptions" id="etatinscriptions" <?php if ($this->_tpl_vars['planete']->details['etat_inscription']): ?> checked="checked"<?php endif; ?> /> Ouvrir les inscriptions</label><br /><br />
<label for="message_inscription">Message affiché pour les inscriptions (activées ou désactivées) :<br /><textarea name="message_inscription" id="message_inscription"><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->details['message_inscription'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</textarea></label><br /><br />
<br />
<label for="presentation">Texte de présentation de l'alliance :<br /><textarea name="presentation" id="presentation"><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->details['presentation'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</textarea></label><br /><br />
<br />
<input type="submit" class="submit" value="Go" /><br /><br />
</fieldset>
</form>
<?php if ($this->_tpl_vars['planete']->fondateur == $this->_tpl_vars['planete']->id_user): ?>
<h2>Changer de fondateur</h2><br />
<form method="post" action="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
&amp;g=alliance">
<fieldset class="options">
Vous êtres actuellement le fondateur de l'alliance.<br /><br />
<label for="newfondateur">Nouveau fondateur :</label> <select id="newfondateur" name="newfondateur">
<?php $_from = $this->_tpl_vars['membres']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['membre']):
?>
<option value="<?php echo $this->_tpl_vars['membre']['id']; ?>
"><?php echo $this->_tpl_vars['membre']['pseudo']; ?>
</option>
<?php endforeach; endif; unset($_from); ?>
</select>
<br />
<input type="submit" class="submit" value="Go" /><br /><br />
</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);
?>