?? GreyFile — Mystic File Browser

Current path: home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/17/6a/7e/



?? Go up: /home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/17/6a

?? Viewing: 176a7e69fbbc3b2050722e3b94bb138c6e0c1d95_2.file.product-cover-thumbnails.tpl.php

<?php
/* Smarty version 4.3.1, created on 2024-01-02 17:16:56
  from '/home/webdevt/www/schtroumpf.fr/themes/stomp/templates/catalog/_partials/product-cover-thumbnails.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.3.1',
  'unifunc' => 'content_659436f8ea8c03_42688511',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '176a7e69fbbc3b2050722e3b94bb138c6e0c1d95' => 
    array (
      0 => '/home/webdevt/www/schtroumpf.fr/themes/stomp/templates/catalog/_partials/product-cover-thumbnails.tpl',
      1 => 1702566466,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_659436f8ea8c03_42688511 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
if ((isset($_GET['view']))) {?>
    <?php $_smarty_tpl->_assignInScope('orientation', '');?>
    <?php $_smarty_tpl->_assignInScope('minis_pos', 'left');?>
    <?php $_smarty_tpl->_assignInScope('nav_vertical', 'false');?>

    <?php if ($_GET['view'] == 'leftcol') {?>
         <?php $_smarty_tpl->_assignInScope('minis_pos', 'left');?>
         <?php $_smarty_tpl->_assignInScope('orientation', 'an_productpage-slider-vertical');?>
         <?php $_smarty_tpl->_assignInScope('nav_vertical', 'true');?>
    <?php }?>
    <?php if ($_GET['view'] == 'rightcol') {?>
         <?php $_smarty_tpl->_assignInScope('minis_pos', 'right');?>
         <?php $_smarty_tpl->_assignInScope('orientation', 'an_productpage-slider-vertical');?>
         <?php $_smarty_tpl->_assignInScope('nav_vertical', 'true');?>
    <?php }?>
    <?php if ($_GET['view'] == 'botslider') {?>
         <?php $_smarty_tpl->_assignInScope('minis_pos', 'bottom');?>
    <?php }?>
    <?php if ($_GET['view'] == 'botlist') {?>
         <?php $_smarty_tpl->_assignInScope('minis_pos', 'bottomlist');?>
    <?php }?>
    <?php if ($_GET['view'] == 'nominis') {?>
         <?php $_smarty_tpl->_assignInScope('minis_pos', 'disabled');?>
    <?php }?>

    <div class="images-container an_productpage-slider-wrap <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['orientation']->value, ENT_QUOTES, 'UTF-8');?>
">
        <?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1021578251659436f8e7de19_49781248', 'product_cover');
?>

        <?php if (version_compare((defined('_PS_VERSION_') ? constant('_PS_VERSION_') : null),'1.7.7.0','<')) {?>
           <div class="an_productpage-slider-holder" style="height: <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['large_default']['height'], ENT_QUOTES, 'UTF-8');?>
px"></div>
        <?php } else { ?>
            <div class="an_productpage-slider-holder" style="height: <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['default_image']['bySize']['large_default']['height'], ENT_QUOTES, 'UTF-8');?>
px"></div>
        <?php }?>
        <?php if ($_GET['view'] != 'nominis') {?>
            <?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1782024909659436f8e87dd2_40875977', 'product_images');
?>

        <?php }?>
    </div>
<?php } else { ?>
    <?php if (Module::isEnabled('an_theme')) {?>
        <?php $_smarty_tpl->_assignInScope('orientation', '');?>
        <?php if (Module::isEnabled('an_theme') && Module::getInstanceByName('an_theme')->getParam('productslider_minisPos') != 'none') {?>
            <?php $_smarty_tpl->_assignInScope('minis_pos', Module::getInstanceByName('an_theme')->getParam('productslider_minisPos'));?>
            <?php $_smarty_tpl->_assignInScope('nav_vertical', 'false');?>
            <?php if (Module::getInstanceByName('an_theme')->getParam('productslider_minisPos') == 'right' || Module::getInstanceByName('an_theme')->getParam('productslider_minisPos') == 'left') {?>
                <?php $_smarty_tpl->_assignInScope('orientation', 'an_productpage-slider-vertical');?>
                <?php $_smarty_tpl->_assignInScope('nav_vertical', 'true');?>
            <?php }?>
        <?php } else { ?>
            <?php $_smarty_tpl->_assignInScope('minis_pos', 'disabled');?>
        <?php }?>
    <?php }?>

    <div class="images-container an_productpage-slider-wrap <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['orientation']->value, ENT_QUOTES, 'UTF-8');?>
">
        <?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1745985444659436f8e989a7_46384700', 'product_cover');
?>

        <?php if (version_compare((defined('_PS_VERSION_') ? constant('_PS_VERSION_') : null),'1.7.7.0','<')) {?>
           <div class="an_productpage-slider-holder" style="height: <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['large_default']['height'], ENT_QUOTES, 'UTF-8');?>
px"></div>
        <?php } else { ?>
            <div class="an_productpage-slider-holder" style="height: <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['default_image']['bySize']['large_default']['height'], ENT_QUOTES, 'UTF-8');?>
px"></div>
        <?php }?>
        <?php if (Module::isEnabled('an_theme') && Module::getInstanceByName('an_theme')->getParam('productslider_minisPos') != 'none') {?>
            <?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1807273390659436f8ea0d43_19805155', 'product_images');
?>

        <?php }?>
    </div>
<?php }
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayAfterProductThumbs'),$_smarty_tpl ) );?>

<?php }
/* {block 'product_cover'} */
class Block_1021578251659436f8e7de19_49781248 extends Smarty_Internal_Block
{
public $subBlocks = array (
  'product_cover' => 
  array (
    0 => 'Block_1021578251659436f8e7de19_49781248',
  ),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

            <div <?php if (Module::getInstanceByName('an_theme')->getParam('productslider_zoomclick')) {?>id="an_product-zoom"<?php }?> class="an_productpage-slider an_productpage-slider-main minis-<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['minis_pos']->value, ENT_QUOTES, 'UTF-8');?>
" data-draggable="true">
                <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['product']->value['images'], 'image');
$_smarty_tpl->tpl_vars['image']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['image']->value) {
$_smarty_tpl->tpl_vars['image']->do_else = false;
?>
                    <div class="an_productpage-slider-item">
                        <div class="an_productpage-slider-image">
                            <img
                                class="productslider-main-image"
                                data-image-zoom-src="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['image']->value['bySize']['product_zoom']['url'], ENT_QUOTES, 'UTF-8');?>
"
                                data-width="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['product_zoom']['width'], ENT_QUOTES, 'UTF-8');?>
"
                                data-height="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['product_zoom']['height'], ENT_QUOTES, 'UTF-8');?>
"
                                src="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['image']->value['bySize']['large_default']['url'], ENT_QUOTES, 'UTF-8');?>
"
                                alt="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['image']->value['legend'], ENT_QUOTES, 'UTF-8');?>
"
                                title="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['image']->value['legend'], ENT_QUOTES, 'UTF-8');?>
"
                                width="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['image']->value['bySize']['large_default']['width'], ENT_QUOTES, 'UTF-8');?>
"
                                itemprop="image"
                            >
                        </div>
                    </div>
                <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
            </div>
        <?php
}
}
/* {/block 'product_cover'} */
/* {block 'product_images'} */
class Block_1782024909659436f8e87dd2_40875977 extends Smarty_Internal_Block
{
public $subBlocks = array (
  'product_images' => 
  array (
    0 => 'Block_1782024909659436f8e87dd2_40875977',
  ),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/home/webdevt/www/schtroumpf.fr/vendor/smarty/smarty/libs/plugins/modifier.count.php','function'=>'smarty_modifier_count',),));
?>

            <div class="an_productpage-slider <?php if ($_GET['view'] == 'botlist') {?>an_productpage-list<?php } else { ?>an_productpage-slider-nav<?php }?> <?php if (smarty_modifier_count($_smarty_tpl->tpl_vars['product']->value['images']) > 4) {?>an_productpage-slider-scroll<?php }?> <?php if ($_GET['view'] == 'rightcol') {?>nav-vertical-right<?php }?>" data-vertical="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['nav_vertical']->value, ENT_QUOTES, 'UTF-8');?>
" data-draggable="true">
                <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['product']->value['images'], 'image', false, NULL, 'navimages', array (
  'index' => true,
));
$_smarty_tpl->tpl_vars['image']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['image']->value) {
$_smarty_tpl->tpl_vars['image']->do_else = false;
$_smarty_tpl->tpl_vars['__smarty_foreach_navimages']->value['index']++;
?>
                    <div class="an_productpage-slider-item <?php if ($_smarty_tpl->tpl_vars['image']->value['id_image'] == $_smarty_tpl->tpl_vars['product']->value['cover']['id_image']) {?>nav-slide-selected<?php }?>" data-index="<?php echo htmlspecialchars((string) (isset($_smarty_tpl->tpl_vars['__smarty_foreach_navimages']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_navimages']->value['index'] : null), ENT_QUOTES, 'UTF-8');?>
">
                        <img
                            src="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['image']->value['bySize']['slider_photo']['url'], ENT_QUOTES, 'UTF-8');?>
"
                            alt="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['image']->value['legend'], ENT_QUOTES, 'UTF-8');?>
"
                            title="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['image']->value['legend'], ENT_QUOTES, 'UTF-8');?>
"
                            width="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['image']->value['bySize']['slider_photo']['width'], ENT_QUOTES, 'UTF-8');?>
"
                            height="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['image']->value['bySize']['slider_photo']['height'], ENT_QUOTES, 'UTF-8');?>
"
                            itemprop="image"
                        >
                    </div>
                <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
            </div>
            <?php
}
}
/* {/block 'product_images'} */
/* {block 'product_cover'} */
class Block_1745985444659436f8e989a7_46384700 extends Smarty_Internal_Block
{
public $subBlocks = array (
  'product_cover' => 
  array (
    0 => 'Block_1745985444659436f8e989a7_46384700',
  ),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

            <div <?php if (Module::getInstanceByName('an_theme')->getParam('productslider_zoomclick')) {?>id="an_product-zoom"<?php }?> class="an_productpage-slider an_productpage-slider-main minis-<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['minis_pos']->value, ENT_QUOTES, 'UTF-8');?>
" data-draggable="true">
                <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['product']->value['images'], 'image');
$_smarty_tpl->tpl_vars['image']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['image']->value) {
$_smarty_tpl->tpl_vars['image']->do_else = false;
?>
                    <div class="an_productpage-slider-item">
                        <div class="an_productpage-slider-image">
                            <img
                                class="productslider-main-image"
                                data-image-zoom-src="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['image']->value['bySize']['product_zoom']['url'], ENT_QUOTES, 'UTF-8');?>
"
                                data-width="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['product_zoom']['width'], ENT_QUOTES, 'UTF-8');?>
"
                                data-height="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['product_zoom']['height'], ENT_QUOTES, 'UTF-8');?>
"
                                src="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['image']->value['bySize']['large_default']['url'], ENT_QUOTES, 'UTF-8');?>
"
                                alt="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['image']->value['legend'], ENT_QUOTES, 'UTF-8');?>
"
                                title="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['image']->value['legend'], ENT_QUOTES, 'UTF-8');?>
"
                                width="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['image']->value['bySize']['large_default']['width'], ENT_QUOTES, 'UTF-8');?>
"
                                itemprop="image"
                            >
                        </div>
                    </div>
                <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
            </div>
        <?php
}
}
/* {/block 'product_cover'} */
/* {block 'product_images'} */
class Block_1807273390659436f8ea0d43_19805155 extends Smarty_Internal_Block
{
public $subBlocks = array (
  'product_images' => 
  array (
    0 => 'Block_1807273390659436f8ea0d43_19805155',
  ),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/home/webdevt/www/schtroumpf.fr/vendor/smarty/smarty/libs/plugins/modifier.count.php','function'=>'smarty_modifier_count',),));
?>

            <div class="an_productpage-slider <?php if (Module::getInstanceByName('an_theme')->getParam('productslider_minisPos') == 'bottomlist') {?>an_productpage-list<?php } else { ?>an_productpage-slider-nav<?php }?> <?php if (smarty_modifier_count($_smarty_tpl->tpl_vars['product']->value['images']) > 4) {?>an_productpage-slider-scroll<?php }?> <?php if (Module::getInstanceByName('an_theme')->getParam('productslider_minisPos') == 'right') {?>nav-vertical-right<?php }?>" data-vertical="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['nav_vertical']->value, ENT_QUOTES, 'UTF-8');?>
" data-draggable="true">
                <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['product']->value['images'], 'image', false, NULL, 'navimages', array (
  'index' => true,
));
$_smarty_tpl->tpl_vars['image']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['image']->value) {
$_smarty_tpl->tpl_vars['image']->do_else = false;
$_smarty_tpl->tpl_vars['__smarty_foreach_navimages']->value['index']++;
?>
                    <div class="an_productpage-slider-item <?php if ($_smarty_tpl->tpl_vars['image']->value['id_image'] == $_smarty_tpl->tpl_vars['product']->value['cover']['id_image']) {?>nav-slide-selected<?php }?>" data-index="<?php echo htmlspecialchars((string) (isset($_smarty_tpl->tpl_vars['__smarty_foreach_navimages']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_navimages']->value['index'] : null), ENT_QUOTES, 'UTF-8');?>
">
                        <img
                            src="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['image']->value['bySize']['slider_photo']['url'], ENT_QUOTES, 'UTF-8');?>
"
                            alt="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['image']->value['legend'], ENT_QUOTES, 'UTF-8');?>
"
                            title="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['image']->value['legend'], ENT_QUOTES, 'UTF-8');?>
"
                            width="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['image']->value['bySize']['slider_photo']['width'], ENT_QUOTES, 'UTF-8');?>
"
                            height="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['image']->value['bySize']['slider_photo']['height'], ENT_QUOTES, 'UTF-8');?>
"
                            itemprop="image"
                        >
                    </div>
                <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
            </div>
            <?php
}
}
/* {/block 'product_images'} */
}


??

??