Bontiv-Sourceer source code viewer
Root | Help
./PhpMyCMS/files/tpl_compl/%%08^08F^08FEEE22%%admin.tpl.php
<?php /* Smarty version 2.6.26, created on 2010-02-22 00:38:50
         compiled from C:%5CUsers%5Cpierre%5CDocuments%5CEasyPHP5.3.0%5Cwww/mod/video/tpl/admin.tpl */
?>
<?php
require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'C:\\Users\\pierre\\Documents\\EasyPHP5.3.0\\www/mod/video/tpl/admin.tpl', 1, false),array('function', 'link', 'C:\\Users\\pierre\\Documents\\EasyPHP5.3.0\\www/mod/video/tpl/admin.tpl', 4, false),array('block', 'contner', 'C:\\Users\\pierre\\Documents\\EasyPHP5.3.0\\www/mod/video/tpl/admin.tpl', 2, false),array('modifier', 'date_format', 'C:\\Users\\pierre\\Documents\\EasyPHP5.3.0\\www/mod/video/tpl/admin.tpl', 19, false),)), $this); ?>
<?php
echo smarty_function_config_load(array('file' => 'configuration.conf'), $this);?>

<?php $this->_tag_stack[] = array('contner', array('type' => 'head2')); $_block_repeat=true;smarty_block_contner($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_contner($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
<div style="text-align:center;">
    <a href="<?php echo smarty_function_link(array('module' => 'admin','action' => 'video'), $this);?>
">Liste des video</a> -
    <a href="<?php echo smarty_function_link(array('module' => 'admin','action' => "video/ajout"), $this);?>
">Ajouter un video</a>
</div><br />
<table style="background: <?php echo $this->_config[0]['vars']['couleur2']; ?>
;border: 1px solid <?php echo $this->_config[0]['vars']['couleur1']; ?>
;" width="80%" border="0" cellspacing="1" cellpadding="2">
    <tr style="background: <?php echo $this->_config[0]['vars']['couleur3']; ?>
;">
        <td style="width: 5%;" align="center"><b>Id</b></td>
        <td style="width: 55%;" align="center"><b>Titre</b></td>
        <td style="width: 20%;" align="center"><b>Date</b></td>
        <td style="width: 10%;" align="center"><b>Editer</b></td>
        <td style="width: 10%;" align="center"><b>Supprimer</b></td>
    </tr>
    <?php unset($this->_sections['co']);
$this->_sections['co']['name'] = 'co';
$this->_sections['co']['loop'] = is_array($_loop=$this->_tpl_vars['video']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['co']['show'] = true;
$this->_sections['co']['max'] = $this->_sections['co']['loop'];
$this->_sections['co']['step'] = 1;
$this->_sections['co']['start'] = $this->_sections['co']['step'] > 0 ? 0 : $this->_sections['co']['loop']-1;
if (
$this->_sections['co']['show']) {
   
$this->_sections['co']['total'] = $this->_sections['co']['loop'];
    if (
$this->_sections['co']['total'] == 0)
       
$this->_sections['co']['show'] = false;
} else
   
$this->_sections['co']['total'] = 0;
if (
$this->_sections['co']['show']):

            for (
$this->_sections['co']['index'] = $this->_sections['co']['start'], $this->_sections['co']['iteration'] = 1;
                 
$this->_sections['co']['iteration'] <= $this->_sections['co']['total'];
                 
$this->_sections['co']['index'] += $this->_sections['co']['step'], $this->_sections['co']['iteration']++):
$this->_sections['co']['rownum'] = $this->_sections['co']['iteration'];
$this->_sections['co']['index_prev'] = $this->_sections['co']['index'] - $this->_sections['co']['step'];
$this->_sections['co']['index_next'] = $this->_sections['co']['index'] + $this->_sections['co']['step'];
$this->_sections['co']['first']      = ($this->_sections['co']['iteration'] == 1);
$this->_sections['co']['last']       = ($this->_sections['co']['iteration'] == $this->_sections['co']['total']);
?>
   <tr>
        <td style="border: 1px solid #000000;width: 5%;" align="center"><b><?php echo $this->_tpl_vars['video'][$this->_sections['co']['index']]['id']; ?>
</b></td>
        <td style="border: 1px solid #000000;width: 55%;" align="center"><b><?php echo $this->_tpl_vars['video'][$this->_sections['co']['index']]['titre']; ?>
</b></td>
        <td style="border: 1px solid #000000;width: 20%;" align="center"><b><?php echo ((is_array($_tmp=$this->_tpl_vars['video'][$this->_sections['co']['index']]['date'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%d %m %Y') : smarty_modifier_date_format($_tmp, '%d %m %Y')); ?>
</b></td>
        <td style="border: 1px solid #000000;width: 10%;" align="center"><b><a href="<?php echo smarty_function_link(array('module' => 'admin','action' => "video/modifier"), $this);?>
<?php
echo $this->_tpl_vars['video'][$this->_sections['co']['index']]['id']; ?>
">Editer</a></b></td>
        <td style="border: 1px solid #000000;width: 10%;" align="center"><b><a href="<?php echo smarty_function_link(array('module' => 'admin','action' => "video/supprimer"), $this);?>
<?php
echo $this->_tpl_vars['video'][$this->_sections['co']['index']]['id']; ?>
">Supprimer</a></b></td>
    </tr>
    <?php endfor; endif; ?>
</table>
<?php $this->_tag_stack[] = array('contner', array('type' => 'foot')); $_block_repeat=true;smarty_block_contner($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_contner($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
Presented with Bontiv-Sourceer