game/onyx2/modules/templates_anc/compile/%%C1^C1E^C1EB8435%%demarrage.tpl.php

59 lines
3.3 KiB
PHP

<?php /* Smarty version 2.6.22, created on 2009-07-31 21:50:18
compiled from admin/demarrage.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'admin/demarrage.tpl', 16, false),array('modifier', 'date_format', 'admin/demarrage.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);
?>
<h2>Pages de démarrage</h2>
<h3>La première news est celle qui sera affichée à la connexion des joueurs</h3>
<table>
<thead>
<tr>
<th>Action</th>
<th>Titre</th>
<th>Date de visibilité</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']['demarrage']; ?>
&amp;i=<?php echo $this->_tpl_vars['ligne']['id']; ?>
">EDIT</a> | <a href="<?php echo $this->_tpl_vars['menu']['demarrage']; ?>
&amp;d=<?php echo $this->_tpl_vars['ligne']['id']; ?>
">SUPPR</a></td>
<td><b><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['titre'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</b></td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['time'])) ? $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>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<h2>Gestion du cache</h2>
<a href="<?php echo $this->_tpl_vars['menu']['demarrage']; ?>
&amp;actuCache">Mettre à jour le cache</a>
<h2><?php if ($this->_tpl_vars['id'] == 'add'): ?>Ajouter<?php else: ?>Modifier<?php endif; ?> une page de démarrage<?php if ($this->_tpl_vars['id'] != 'add'): ?> : <?php echo $this->_tpl_vars['id']; ?>
<?php endif; ?></h2>
<form action="<?php echo $this->_tpl_vars['menu']['demarrage']; ?>
&amp;i=<?php echo $this->_tpl_vars['id']; ?>
" method="post">
<fieldset class="options">
<label for="titre">Titre :</label> <input type="text" name="titre" id="titre" value="<?php echo $this->_tpl_vars['mod']['titre']; ?>
" tabindex="1" /><br />
<label for="contenu">Texte :</label><br /><textarea name="contenu" id="contenu" rows="10" cols="10" tabindex="2"><?php echo $this->_tpl_vars['mod']['contenu']; ?>
</textarea><br />
<?php if ($this->_tpl_vars['mod']['titre']): ?><input type="checkbox" name="reset" id="reset" value="1" tabindex="3" /><label for="reset"> Actualiser la date et l'heure d'écriture</label> <i>Les utilisateurs ayant déjà vu la page la revéront de nouveau.</i><br /><br /><br /><?php endif; ?>
<input type="submit" class="submit" value="GO" tabindex="4" />
</fieldset>
</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);
?>