Bontiv-Sourceer source code viewer
Root | Help
./PhpMyCMS/files/tpl_compl/%%B3^B3C^B3C581D5%%index.tpl.php
<?php /* Smarty version 2.6.26, created on 2010-02-16 13:52:23
         compiled from D:%5CEasyPHP5.3.0%5Cwww/mod/news/tpl/index.tpl */
?>
<?php
require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'D:\\EasyPHP5.3.0\\www/mod/news/tpl/index.tpl', 1, false),array('block', 'contner', 'D:\\EasyPHP5.3.0\\www/mod/news/tpl/index.tpl', 2, false),array('modifier', 'date_format', 'D:\\EasyPHP5.3.0\\www/mod/news/tpl/index.tpl', 10, false),array('modifier', 'truncate', 'D:\\EasyPHP5.3.0\\www/mod/news/tpl/index.tpl', 18, false),)), $this); ?>
<?php
echo smarty_function_config_load(array('file' => 'configuration.conf'), $this);?>

<?php $this->_tag_stack[] = array('contner', array('type' => 'head')); $_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="height:10px;"></div>
<div id="haut">
<?php unset($this->_sections['co']);
$this->_sections['co']['name'] = 'co';
$this->_sections['co']['loop'] = is_array($_loop=$this->_tpl_vars['news']) ? 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']);
?>
   <div class="news1">
        <div class="feuillenews">&nbsp;</div>
        <div style="height:25px;"></div>
        <div class="modtitrenews"><b><?php echo $this->_tpl_vars['news'][$this->_sections['co']['index']]['titre']; ?>
</b></div>
        <div class="modcaracnews">Le <?php echo ((is_array($_tmp=$this->_tpl_vars['news'][$this->_sections['co']['index']]['date'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%d %m %Y') : smarty_modifier_date_format($_tmp, '%d %m %Y')); ?>
à <?php echo ((is_array($_tmp=$this->_tpl_vars['news'][$this->_sections['co']['index']]['date'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%Hh%M') : smarty_modifier_date_format($_tmp, '%Hh%M')); ?>
</div>
        <div class="ccnews">
            <div class="moddimagenews">
                <div style="height:18px;"></div>
                <img src="<?php echo $this->_tpl_vars['news'][$this->_sections['co']['index']]['image']; ?>
" alt="news screen <?php echo $this->_tpl_vars['news'][$this->_sections['co']['index']]['id']; ?>
" style="width:96px;height:96px;"/>
            </div>
            <div class="moddescrinews">
                <div style="height:14px;"></div>
                <?php echo ((is_array($_tmp=$this->_tpl_vars['news'][$this->_sections['co']['index']]['description'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 290, '...') : smarty_modifier_truncate($_tmp, 290, '...')); ?>

            </div>
            <div class="clear"></div>
        </div>
        <div class="suite">
        <a href="?/news/news_complete/<?php echo $this->_tpl_vars['news'][$this->_sections['co']['index']]['id']; ?>
" style="color:#598724"><b>Lire la suite</b></a>
        </div>
    </div>
    <?php endfor; endif; ?>
   <div class="screen">
        <div style="height:10px;"></div>
        <div id="screenin">
            <div id="scren">
                <div class="id1" onClick="javascript:afficheTextemoins();"></div>
            </div>
        </div>
    </div>
    <div class="clear"></div>
    <div style="height:10px;"></div>
    <?php unset($this->_sections['co']);
$this->_sections['co']['name'] = 'co';
$this->_sections['co']['loop'] = is_array($_loop=$this->_tpl_vars['news2']) ? 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']);
?>
   <div class="news2">
    <div class="feuillenews"></div>
    <div class="feuillenews">&nbsp;</div>
        <div style="height:25px;"></div>
        <div class="modtitrenews"><b><?php echo $this->_tpl_vars['news2'][$this->_sections['co']['index']]['titre']; ?>
</b></div>
        <div class="modcaracnews">Le <?php echo ((is_array($_tmp=$this->_tpl_vars['news2'][$this->_sections['co']['index']]['date'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%d %m %Y') : smarty_modifier_date_format($_tmp, '%d %m %Y')); ?>
à <?php echo ((is_array($_tmp=$this->_tpl_vars['news2'][$this->_sections['co']['index']]['date'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%Hh%M') : smarty_modifier_date_format($_tmp, '%Hh%M')); ?>
</div>
        <div class="ccnews">
            <div class="moddimagenews">
                <div style="height:18px;"></div>
                <img src="<?php echo $this->_tpl_vars['news2'][$this->_sections['co']['index']]['image']; ?>
" alt="news screen <?php echo $this->_tpl_vars['news2'][$this->_sections['co']['index']]['id']; ?>
" style="width:96px;height:96px;"/>
            </div>
            <div class="moddescrinews">
                <div style="height:14px;"></div>
                <?php echo ((is_array($_tmp=$this->_tpl_vars['news2'][$this->_sections['co']['index']]['description'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 290, '...') : smarty_modifier_truncate($_tmp, 290, '...')); ?>

            </div>
            <div class="clear"></div>
        </div>
        <div class="suite">
        <a href="?/news/news_complete/<?php echo $this->_tpl_vars['news2'][$this->_sections['co']['index']]['id']; ?>
" style="color:#598724"><b>Lire la suite</b></a>
        </div>
    </div>
    <?php endfor; endif; ?>
   <?php unset($this->_sections['co']);
$this->_sections['co']['name'] = 'co';
$this->_sections['co']['loop'] = is_array($_loop=$this->_tpl_vars['news3']) ? 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']);
?>
   <div class="news3">
    <div class="feuillenews"></div>
    <div class="feuillenews">&nbsp;</div>
        <div style="height:25px;"></div>
        <div class="modtitrenews"><b><?php echo $this->_tpl_vars['news3'][$this->_sections['co']['index']]['titre']; ?>
</b></div>
        <div class="modcaracnews">Le <?php echo ((is_array($_tmp=$this->_tpl_vars['news3'][$this->_sections['co']['index']]['date'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%d %m %Y') : smarty_modifier_date_format($_tmp, '%d %m %Y')); ?>
à <?php echo ((is_array($_tmp=$this->_tpl_vars['news3'][$this->_sections['co']['index']]['date'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%Hh%M') : smarty_modifier_date_format($_tmp, '%Hh%M')); ?>
</div>
        <div class="ccnews">
            <div class="moddimagenews">
                <div style="height:18px;"></div>
                <img src="<?php echo $this->_tpl_vars['news3'][$this->_sections['co']['index']]['image']; ?>
" alt="news screen <?php echo $this->_tpl_vars['news3'][$this->_sections['co']['index']]['id']; ?>
" style="width:96px;height:96px;"/>
            </div>
            <div class="moddescrinews">
                <div style="height:14px;"></div>
                <?php echo ((is_array($_tmp=$this->_tpl_vars['news3'][$this->_sections['co']['index']]['description'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 290, '...') : smarty_modifier_truncate($_tmp, 290, '...')); ?>

            </div>
            <div class="clear"></div>
        </div>
        <div class="suite">
        <a href="?/news/news_complete/<?php echo $this->_tpl_vars['news3'][$this->_sections['co']['index']]['id']; ?>
" style="color:#598724"><b>Lire la suite</b></a>
        </div>
    </div>
    <?php endfor; endif; ?>
</div>
<div class="arbre"></div>
<a href="?/news/archive/" class="newsarchive">&nbsp;</a>
<?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