forked from halo-battle/game
55 lines
2.9 KiB
PHP
55 lines
2.9 KiB
PHP
<?php /* Smarty version 2.6.22, created on 2009-09-26 01:18:14
|
|
compiled from admin/bandeau.tpl */ ?>
|
|
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
|
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'admin/bandeau.tpl', 14, 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>Informations visibles</h2>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Action</th>
|
|
<th>Texte</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php $_from = $this->_tpl_vars['tableau']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
|
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['ligne']):
|
|
?>
|
|
<tr>
|
|
<td><a href="<?php echo $this->_tpl_vars['menu']['bandeau']; ?>
|
|
&i=<?php echo $this->_tpl_vars['ligne']['id']; ?>
|
|
">EDIT</a> | <a href="<?php echo $this->_tpl_vars['menu']['bandeau']; ?>
|
|
&d=<?php echo $this->_tpl_vars['ligne']['id']; ?>
|
|
">SUPPR</a></td>
|
|
<td<?php if ($this->_tpl_vars['ligne']['color']): ?> style="color: <?php echo $this->_tpl_vars['ligne']['color']; ?>
|
|
;"<?php endif; ?>><b><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['texte'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
|
</b></td>
|
|
</tr>
|
|
<?php endforeach; endif; unset($_from); ?>
|
|
</tbody>
|
|
</table>
|
|
<h2><?php if ($this->_tpl_vars['id'] == 'add'): ?>Ajouter<?php else: ?>Modifier<?php endif; ?> une information<?php if ($this->_tpl_vars['id'] != 'add'): ?> : <?php echo $this->_tpl_vars['id']; ?>
|
|
<?php endif; ?></h2>
|
|
<form action="<?php echo $this->_tpl_vars['menu']['bandeau']; ?>
|
|
&i=<?php echo $this->_tpl_vars['id']; ?>
|
|
" method="post">
|
|
<fieldset class="options">
|
|
<label for="texte">Texte :</label> <input type="text" name="texte" id="texte" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['mod']['texte'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
|
" size="40" maxlength="255" tabindex="1" /><br /><br />
|
|
<label for="color">Couleur :</label> <input type="text" name="color" id="color" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['mod']['color'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
|
" size="25" maxlength="255" tabindex="2" /><br /><br />
|
|
<input type="submit" class="submit" value="GO" tabindex="3" />
|
|
</fieldset>
|
|
</form>
|
|
<h2>Gestion du cache</h2>
|
|
<a href="<?php echo $this->_tpl_vars['menu']['bandeau']; ?>
|
|
&actuCache">Mettre à jour le cache</a>
|
|
<?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);
|
|
?>
|