44 lines
2.1 KiB
PHP
44 lines
2.1 KiB
PHP
|
<?php /* Smarty version 2.6.19, created on 2008-09-20 00:29:00
|
||
|
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', 17, false),array('modifier', 'date_format', 'admin/demarrage.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);
|
||
|
?>
|
||
|
<a href="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
|
||
|
&i=add">Créer une nouvelle page</a>
|
||
|
<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="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
|
||
|
&i=<?php echo $this->_tpl_vars['ligne']['id']; ?>
|
||
|
">EDIT</a> | <a href="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
|
||
|
&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>
|
||
|
<?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);
|
||
|
?>
|