Bontiv-Sourceer source code viewer
Root | Help
./PhpMyCMS/files/tpl_compl/%%21^21B^21B82511%%index.tpl.php
<?php /* Smarty version 2.6.26, created on 2010-02-16 13:59:39
         compiled from D:%5CEasyPHP5.3.0%5Cwww/mod/galerie/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/galerie/tpl/index.tpl', 1, false),array('block', 'contner', 'D:\\EasyPHP5.3.0\\www/mod/galerie/tpl/index.tpl', 2, 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); ?>

<script type="text/javascript" src="theme/default/js/highslide-with-gallery.js"></script>
<link rel="stylesheet" type="text/css" href="theme/default/design/highslide.css" />

<script type="text/javascript">
    hs.graphicsDir = 'theme/default/design/highslide/';
    hs.align = 'center';
    hs.transitions = ['expand', 'crossfade'];
    hs.outlineType = 'rounded-white';
    hs.wrapperClassName = 'controls-in-heading';
    hs.fadeInOut = true;
    //hs.dimmingOpacity = 0.75;

    // Add the controlbar
    if (hs.addSlideshow) hs.addSlideshow({
        //slideshowGroup: 'group1',
        interval: 5000,
        repeat: false,
        useControls: true,
        fixedControls: false,
        overlayOptions: {
            opacity: 1,
            position: 'top right',
            hideOnMouseOut: false
        }
    });
</script>
<div style="height:20px;"></div>
<div class="galleris">
    <div class="highslide-gallery">
        <?php unset($this->_sections['co']);
$this->_sections['co']['name'] = 'co';
$this->_sections['co']['loop'] = is_array($_loop=$this->_tpl_vars['galerie']) ? 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="gal">
                <div style="height:7px;"></div>
                <a href="<?php echo $this->_tpl_vars['galerie'][$this->_sections['co']['index']]['image']; ?>
" class="highslide" onclick="return hs.expand(this)">
                        <img src="<?php echo $this->_tpl_vars['galerie'][$this->_sections['co']['index']]['image']; ?>
" alt="Highslide JS"
                            title="Click to enlarge" style="margin-left:7px;width:164px;height:164px;"/></a>

                <div class="highslide-heading">
                    <?php echo $this->_tpl_vars['galerie'][$this->_sections['co']['index']]['titre']; ?>

                </div>
            </div>
        <?php endfor; endif; ?>
       <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['galerie2']) ? 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="gal">
                <div style="height:7px;"></div>
                <a href="<?php echo $this->_tpl_vars['galerie2'][$this->_sections['co']['index']]['image']; ?>
" class="highslide" onclick="return hs.expand(this)">
                        <img src="<?php echo $this->_tpl_vars['galerie2'][$this->_sections['co']['index']]['image']; ?>
" alt="Highslide JS"
                            title="Click to enlarge" style="margin-left:7px;width:164px;height:164px;"/></a>

                <div class="highslide-heading">
                    <?php echo $this->_tpl_vars['galerie2'][$this->_sections['co']['index']]['titre']; ?>

                </div>
            </div>
        <?php endfor; endif; ?>
   </div>
</div>
<div class="arbre2">
</div>
<a href="?/galerie/<?php echo $this->_tpl_vars['prece']; ?>
" class="precenearch">&nbsp;</a>
<a href="?/galerie/archive/<?php echo $this->_tpl_vars['suiv']; ?>
" class="suivnearch">&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