48 lines
2.0 KiB
PHP
48 lines
2.0 KiB
PHP
|
<?php /* Smarty version 2.6.19, created on 2008-09-20 00:29:15
|
||
|
compiled from admin/version.tpl */ ?>
|
||
|
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||
|
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'admin/version.tpl', 19, 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">Ajouter une version</a>
|
||
|
<table>
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>Action</th>
|
||
|
<th>Version</th>
|
||
|
<th>Infos</th>
|
||
|
<th>Date</th>
|
||
|
<th>Par</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><?php echo $this->_tpl_vars['ligne']['version']; ?>
|
||
|
</td>
|
||
|
<td><?php echo $this->_tpl_vars['ligne']['contenu']; ?>
|
||
|
</td>
|
||
|
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['temps'])) ? $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><?php echo $this->_tpl_vars['ligne']['pseudo']; ?>
|
||
|
</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);
|
||
|
?>
|