HB/onyx/templates/templates_c/%%8A^8AB^8AB5A548%%alliance_adm_admin.tpl.php

72 lines
3.8 KiB
PHP

<?php /* Smarty version 2.6.19, created on 2008-07-03 23:33:36
compiled from game/alliance_adm_admin.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'game/alliance_adm_admin.tpl', 14, false),array('function', 'html_options', 'game/alliance_adm_admin.tpl', 18, 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>Administration de l'alliance</h2>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/alliance_adm_header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<br />
<h2>Administration de l'alliance</h2>
<form method="post" action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_alliance">
<table style="width: 100%;">
<tr>
<td style="width: 17%;"><strong><label for="nom">Nom :</label></strong></td>
<td colspan="3"><?php echo $this->_tpl_vars['alliance']['nom']; ?>
</td>
</tr>
<tr>
<td><strong><label for="tag">Tag :</label></strong></td>
<td colspan="3"><?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
</td>
</tr>
<tr>
<td><strong>Defcon : </strong></td>
<td><select name="defcon" id="defcon"><?php echo smarty_function_html_options(array('values' => $this->_tpl_vars['niveauxi'],'selected' => $this->_tpl_vars['alliance']['defcon'],'output' => $this->_tpl_vars['niveaux']), $this);?>
</select></td>
<td><strong><label for="defcon_txt">Message du Defcon :</label></strong></td>
<td><input name="defcon_txt" type="text" id="defcon_txt" value="<?php echo $this->_tpl_vars['alliance']['defcon_txt']; ?>
" /></td>
</tr>
<?php if ($this->_tpl_vars['access']['fondateur']): ?>
<tr>
<td><strong><label>Fondateur :</label></strong></td>
<td><select name="fondateur" id="fondateur"><?php echo smarty_function_html_options(array('values' => $this->_tpl_vars['membresi'],'selected' => $this->_tpl_vars['alliance']['fondateur'],'output' => $this->_tpl_vars['membres']), $this);?>
</select></td>
<td><strong>Dissoudre l'alliance</strong></td>
<td>Ecrivez votre mot de passe dans le champ ci-dessous :<br /><input name="pswd_admin" type="password" id="pswd_admin" /></td>
</tr>
<?php endif; ?>
<tr>
<td><strong><label for="etat_inscription">Etat des candidatures :</label></strong></td>
<td colspan="3"><select name="etat_inscription" id="etat_inscription"><?php echo smarty_function_html_options(array('values' => $this->_tpl_vars['etatinscripti'],'selected' => $this->_tpl_vars['alliance']['etat_inscription'],'output' => $this->_tpl_vars['etatinscript']), $this);?>
</select></td>
</tr>
<tr>
<td><strong><label for="image">Url de l'image :</label></strong></td>
<td colspan="3"><input name="image" type="text" id="image" value="<?php echo $this->_tpl_vars['alliance']['image']; ?>
" /></td>
</tr>
<tr>
<td><strong><label for="url">Url du forum de l'alliance :</label></strong></td>
<td colspan="3"><input name="url" type="text" id="url" value="<?php echo $this->_tpl_vars['alliance']['url']; ?>
" /></td>
</tr>
<tr>
<td colspan="4"><input type="submit" class="submit" value="Ok" /></td>
</tr>
</table>
</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);
?>