HB/onyx/templates/templates_c/%%42^426^426AE156%%alliance_adm_membres.tpl.php

89 lines
4.4 KiB
PHP
Raw Normal View History

2008-11-03 11:00:00 +00:00
<?php /* Smarty version 2.6.19, created on 2008-07-03 23:23:56
compiled from game/alliance_adm_membres.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/alliance_adm_membres.tpl', 22, false),array('modifier', 'nl2br', 'game/alliance_adm_membres.tpl', 44, false),array('function', 'html_options', 'game/alliance_adm_membres.tpl', 23, 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 des membres</h2>
<table style="text-align: center; width: 100%;">
<thead>
<tr>
<th>Pseudo</th>
<th>Race</th>
<th>Derni&egrave;re connexion </th>
<th>Grade</th>
<th>Mp</th>
<th>Renvoyer de l'alliance </th>
</tr>
</thead>
<tbody>
<?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']):
?>
<tr>
<td><?php echo $this->_tpl_vars['membre']['pseudo']; ?>
</td>
<td><?php echo $this->_tpl_vars['membre']['race']; ?>
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['membre']['last_visite'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M:%S")); ?>
</td>
<td><form action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_membres" method="post"><p><input type="hidden" name="user" value="<?php echo $this->_tpl_vars['membre']['id']; ?>
" /><select name="grade" onchange="this.form.submit();"><option label="Aucun" value="0">Aucun</option><?php echo smarty_function_html_options(array('values' => $this->_tpl_vars['gradei'],'selected' => $this->_tpl_vars['membre']['id_grade_alliance'],'output' => $this->_tpl_vars['grades']), $this);?>
</select></p></form></td>
<td><a href="?p=envoyer&amp;d=<?php echo $this->_tpl_vars['membre']['pseudo']; ?>
" class="msg"><span>Message</span></a></td>
<td><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_membres&amp;u=<?php echo $this->_tpl_vars['membre']['id']; ?>
"><i>Renvoyer</i></a></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<table style="text-align: center; width: 100%;">
<thead>
<tr>
<th>Pseudo</th>
<th>Message de motivation</th>
<th>Date</th>
<th>Action</th>
<th>Mp</th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['candidats']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['candidat']):
?>
<tr>
<td><?php echo $this->_tpl_vars['candidat']['pseudo_membre']; ?>
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['candidat']['message'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['candidat']['timestamp'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M:%S")); ?>
</td>
<td><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_membres&amp;accept=<?php echo $this->_tpl_vars['candidat']['id_membre']; ?>
"><i>Accepter</i></a> - <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_membres&amp;refus=<?php echo $this->_tpl_vars['candidat']['id_membre']; ?>
"><i>Refuser</i></a></td>
<td><a href="?p=envoyer&amp;d=<?php echo $this->_tpl_vars['candidat']['pseudo_membre']; ?>
" class="msg"><span>Message</span></a></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<?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);
?>