HB/onyx/templates/templates_c/%%E5^E5B^E5BD6034%%alliance_adm_grades.tpl.php

56 lines
2.9 KiB
PHP

<?php /* Smarty version 2.6.19, created on 2008-07-03 23:24:08
compiled from game/alliance_adm_grades.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/alliance_adm_grades.tpl', 21, false),array('modifier', 'nl2br', 'game/alliance_adm_grades.tpl', 22, 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 grades</h2>
<table style="text-align: center; width: 100%;">
<thead>
<tr>
<th>Nom</th>
<th>Description</th>
<th>Gestion &eacute;critures</th>
<th>Gestion chat</th>
<th>Gestion membre</th>
<th>Gestion grades</th>
<th>Gestion alliance</th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['grades']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['grade']):
?>
<tr>
<td><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_grades&amp;i=<?php echo $this->_tpl_vars['grade']['id']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['grade']['nom'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</a></td>
<td><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['grade']['description'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
</td>
<td><?php if ($this->_tpl_vars['grade']['gest_ecriture']): ?>Oui<?php else: ?>Non<?php endif; ?></td>
<td><?php if ($this->_tpl_vars['grade']['gest_chat']): ?>Oui<?php else: ?>Non<?php endif; ?></td>
<td><?php if ($this->_tpl_vars['grade']['gest_membre']): ?>Oui<?php else: ?>Non<?php endif; ?></td>
<td><?php if ($this->_tpl_vars['grade']['gest_rang']): ?>Oui<?php else: ?>Non<?php endif; ?></td>
<td><?php if ($this->_tpl_vars['grade']['gest_admin']): ?>Oui<?php else: ?>Non<?php endif; ?></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_grades&amp;a=add">Ajouter un rang</a><br /><br />
<?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);
?>