?? GreyFile — Mystic File Browser

Current path: home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/d8/cf/63/



?? Go up: /home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/d8/cf

?? Viewing: d8cf63e94957f7b81ca999a6d8c2df26469cb62b_2.file.product.tpl.php

<?php
/* Smarty version 4.3.1, created on 2024-05-02 19:55:26
  from '/home/webdevt/www/schtroumpf.fr/themes/stomp/templates/catalog/_partials/miniatures/product.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.3.1',
  'unifunc' => 'content_6633d38ec21115_66950521',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'd8cf63e94957f7b81ca999a6d8c2df26469cb62b' => 
    array (
      0 => '/home/webdevt/www/schtroumpf.fr/themes/stomp/templates/catalog/_partials/miniatures/product.tpl',
      1 => 1704164458,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6633d38ec21115_66950521 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_2734572336633d38eb8af11_36564563', 'product_miniature_item');
?>

<?php }
/* {block 'product_thumbnail'} */
class Block_8145939076633d38ebab321_36191181 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

            <?php if (!$_smarty_tpl->tpl_vars['product']->value['cover']) {?>
            		<a href="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['url'], ENT_QUOTES, 'UTF-8');?>
" class="thumbnail product-thumbnail"
            		style="height: <?php if ((isset($_smarty_tpl->tpl_vars['page']->value)) && $_smarty_tpl->tpl_vars['page']->value['page_name'] == 'category') {
if (preg_replace('!\s+!u', ' ',(isset($_COOKIE['an_collection_view'])))) {
if ($_COOKIE['an_collection_view'] == 3) {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['catalog_small']['height']), ENT_QUOTES, 'UTF-8');
} elseif ($_COOKIE['an_collection_view'] == 4) {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['home_default']['height']), ENT_QUOTES, 'UTF-8');
} elseif ($_COOKIE['an_collection_view'] == 6) {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['catalog_large']['height']), ENT_QUOTES, 'UTF-8');
} else {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['home_default']['height']), ENT_QUOTES, 'UTF-8');
}
} else {
if (Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 3) {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['catalog_small']['height']), ENT_QUOTES, 'UTF-8');
} elseif (Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 4) {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['home_default']['height']), ENT_QUOTES, 'UTF-8');
} elseif (Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 6) {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['catalog_large']['height']), ENT_QUOTES, 'UTF-8');
} else {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['home_default']['height']), ENT_QUOTES, 'UTF-8');
}
}
} else {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['home_default']['height']), ENT_QUOTES, 'UTF-8');
}?>px;">
                        <img
                          src="
                          <?php if ((isset($_smarty_tpl->tpl_vars['page']->value)) && $_smarty_tpl->tpl_vars['page']->value['page_name'] == 'category') {?>
                             <?php if ((isset($_COOKIE['an_collection_view']))) {?>
                                     <?php if ($_COOKIE['an_collection_view'] == 3) {?>
                                             <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['catalog_small']['url'], ENT_QUOTES, 'UTF-8');?>

                                     <?php } elseif ($_COOKIE['an_collection_view'] == 4) {?>
                                             <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['home_default']['url'], ENT_QUOTES, 'UTF-8');?>

                                     <?php } elseif ($_COOKIE['an_collection_view'] == 6) {?>
                                             <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['catalog_large']['url'], ENT_QUOTES, 'UTF-8');?>

                                     <?php } else { ?>
                                             <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['home_default']['url'], ENT_QUOTES, 'UTF-8');?>

                                     <?php }?>
                             <?php } else { ?>
                                         <?php if (Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 3) {?>
                                             <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['catalog_small']['url'], ENT_QUOTES, 'UTF-8');?>

                                     <?php } elseif (Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 4) {?>
                                             <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['home_default']['url'], ENT_QUOTES, 'UTF-8');?>

                                     <?php } elseif (Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 6) {?>
                                             <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['catalog_large']['url'], ENT_QUOTES, 'UTF-8');?>

                                     <?php } else { ?>
                                             <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['home_default']['url'], ENT_QUOTES, 'UTF-8');?>

                                     <?php }?>
                             <?php }?>
                          <?php } else { ?>
                            <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['home_default']['url'], ENT_QUOTES, 'UTF-8');?>

                          <?php }?>
                          "
                          data-catalog-small="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['catalog_small']['url'], ENT_QUOTES, 'UTF-8');?>
"
                          data-catalog-medium="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['home_default']['url'], ENT_QUOTES, 'UTF-8');?>
"
                          data-catalog-large="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['catalog_large']['url'], ENT_QUOTES, 'UTF-8');?>
"
                          data-width="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['home_default']['width'], ENT_QUOTES, 'UTF-8');?>
"
                          data-height="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['urls']->value['no_picture_image']['bySize']['home_default']['height'], ENT_QUOTES, 'UTF-8');?>
"
                        >
                      </a>


                    <?php } else { ?>
			<a href="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['url'], ENT_QUOTES, 'UTF-8');?>
" class="thumbnail product-thumbnail"
                     	        style="height: <?php if ((isset($_smarty_tpl->tpl_vars['page']->value)) && $_smarty_tpl->tpl_vars['page']->value['page_name'] == 'category') {
if (preg_replace('!\s+!u', ' ',(isset($_COOKIE['an_collection_view'])))) {
if ($_COOKIE['an_collection_view'] == 3) {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['catalog_small']['height']), ENT_QUOTES, 'UTF-8');
} elseif ($_COOKIE['an_collection_view'] == 4) {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['height']), ENT_QUOTES, 'UTF-8');
} elseif ($_COOKIE['an_collection_view'] == 6) {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['catalog_large']['height']), ENT_QUOTES, 'UTF-8');
} else {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['height']), ENT_QUOTES, 'UTF-8');
}
} else {
if (Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 3) {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['catalog_small']['height']), ENT_QUOTES, 'UTF-8');
} elseif (Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 4) {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['height']), ENT_QUOTES, 'UTF-8');
} elseif (Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 6) {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['catalog_large']['height']), ENT_QUOTES, 'UTF-8');
} else {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['height']), ENT_QUOTES, 'UTF-8');
}
}
} else {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['height']), ENT_QUOTES, 'UTF-8');
}?>px;">
                     						<img
                     							src="<?php if (Module::getInstanceByName('an_theme')->getParam('product_lazyLoad')) {?>
                     							 <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['urls']->value['base_url'], ENT_QUOTES, 'UTF-8');?>
/modules/an_theme/views/img/loading.svg
                     							 <?php } else { ?>
                     							    <?php if ((isset($_smarty_tpl->tpl_vars['page']->value)) && $_smarty_tpl->tpl_vars['page']->value['page_name'] == 'category') {?>
                                         <?php if ((isset($_COOKIE['an_collection_view']))) {?>
                                             <?php if ($_COOKIE['an_collection_view'] == 3) {?>
                                                 <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['catalog_small']['url'], ENT_QUOTES, 'UTF-8');?>

                                             <?php } elseif ($_COOKIE['an_collection_view'] == 4) {?>
                                                 <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['url'], ENT_QUOTES, 'UTF-8');?>

                                             <?php } elseif ($_COOKIE['an_collection_view'] == 6) {?>
                                                 <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['catalog_large']['url'], ENT_QUOTES, 'UTF-8');?>

                                             <?php } else { ?>
                                                 <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['url'], ENT_QUOTES, 'UTF-8');?>

                                             <?php }?>
                                         <?php } else { ?>
                                               <?php if (Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 3) {?>
                                                 <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['catalog_small']['url'], ENT_QUOTES, 'UTF-8');?>

                                             <?php } elseif (Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 4) {?>
                                                 <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['url'], ENT_QUOTES, 'UTF-8');?>

                                             <?php } elseif (Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 6) {?>
                                                 <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['catalog_large']['url'], ENT_QUOTES, 'UTF-8');?>

                                             <?php } else { ?>
                                                 <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['url'], ENT_QUOTES, 'UTF-8');?>

                                             <?php }?>
                                         <?php }?>
                                     <?php } else { ?>
                                         <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['url'], ENT_QUOTES, 'UTF-8');?>

                                     <?php }?>
                     							 <?php }?>"
                                    <?php if (Module::getInstanceByName('an_theme')->getParam('product_lazyLoad')) {?>
                                    data-lazy-gif="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['urls']->value['base_url'], ENT_QUOTES, 'UTF-8');?>
/modules/an_theme/views/img/loading.svg"
                                    <?php }?>
                     							data-catalog-small="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['catalog_small']['url'], ENT_QUOTES, 'UTF-8');?>
"
                     							data-catalog-medium="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['url'], ENT_QUOTES, 'UTF-8');?>
"
                     							data-catalog-large="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['catalog_large']['url'], ENT_QUOTES, 'UTF-8');?>
"
                     							alt="<?php if (!empty($_smarty_tpl->tpl_vars['product']->value['cover']['legend'])) {
echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['legend'], ENT_QUOTES, 'UTF-8');
} else {
echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'truncate' ][ 0 ], array( $_smarty_tpl->tpl_vars['product']->value['name'],30,'...' )), ENT_QUOTES, 'UTF-8');
}?>"
                     							data-full-size-image-url="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['large']['url'], ENT_QUOTES, 'UTF-8');?>
"
                     							class="<?php if (Module::getInstanceByName('an_theme')->getParam('product_lazyLoad')) {?> b-lazy <?php }?>"
                     							data-width="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['width'], ENT_QUOTES, 'UTF-8');?>
"
                     							data-height="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['height'], ENT_QUOTES, 'UTF-8');?>
"
                     							width="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['width'], ENT_QUOTES, 'UTF-8');?>
"
                                                height="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['height'], ENT_QUOTES, 'UTF-8');?>
"
                     							content="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['url'], ENT_QUOTES, 'UTF-8');?>
"
                                   data-src="<?php if ((isset($_smarty_tpl->tpl_vars['page']->value)) && $_smarty_tpl->tpl_vars['page']->value['page_name'] == 'category') {?>
                                         <?php if ((isset($_COOKIE['an_collection_view']))) {?>
                                             <?php if ($_COOKIE['an_collection_view'] == 3) {?>
                                                 <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['catalog_small']['url'], ENT_QUOTES, 'UTF-8');?>

                                             <?php } elseif ($_COOKIE['an_collection_view'] == 4) {?>
                                                 <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['url'], ENT_QUOTES, 'UTF-8');?>

                                             <?php } elseif ($_COOKIE['an_collection_view'] == 6) {?>
                                                 <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['catalog_large']['url'], ENT_QUOTES, 'UTF-8');?>

                                             <?php } else { ?>
                                                 <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['url'], ENT_QUOTES, 'UTF-8');?>

                                             <?php }?>
                                         <?php } else { ?>
                                             <?php if (Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 3) {?>
                                                 <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['catalog_small']['url'], ENT_QUOTES, 'UTF-8');?>

                                             <?php } elseif (Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 4) {?>
                                                 <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['url'], ENT_QUOTES, 'UTF-8');?>

                                             <?php } elseif (Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 6) {?>
                                                 <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['catalog_large']['url'], ENT_QUOTES, 'UTF-8');?>

                                             <?php } else { ?>
                                                 <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['url'], ENT_QUOTES, 'UTF-8');?>

                                             <?php }?>
                                         <?php }?>
                                     <?php } else { ?>
                                         <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['url'], ENT_QUOTES, 'UTF-8');?>

                                     <?php }?>"
                     						>
                     		    </a>
               <?php }?>
		  <?php
}
}
/* {/block 'product_thumbnail'} */
/* {block 'product_wishlist'} */
class Block_3744967396633d38ebf0fc6_93986994 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

           <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayProductListWishlist','product'=>$_smarty_tpl->tpl_vars['product']->value),$_smarty_tpl ) );?>

           <?php
}
}
/* {/block 'product_wishlist'} */
/* {block 'quick_view'} */
class Block_2017331136633d38ebf4313_52506448 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

              <a class="quick-view" href="#" data-link-action="quickview">
                  <svg
                   xmlns="http://www.w3.org/2000/svg"
                   xmlns:xlink="http://www.w3.org/1999/xlink"
                   width="20px" height="20px">
                  <path fill-rule="evenodd"  fill="rgb(0, 0, 0)"
                   d="M19.797,18.980 L14.943,14.120 C16.245,12.621 17.034,10.665 17.034,8.528 C17.034,3.823 13.211,-0.000 8.517,-0.000 C3.818,-0.000 0.000,3.827 0.000,8.528 C0.000,13.228 3.822,17.056 8.517,17.056 C10.651,17.056 12.605,16.266 14.102,14.962 L18.956,19.823 C19.071,19.938 19.226,20.000 19.376,20.000 C19.527,20.000 19.682,19.942 19.797,19.823 C20.027,19.592 20.027,19.211 19.797,18.980 ZM1.191,8.528 C1.191,4.483 4.478,1.197 8.512,1.197 C12.551,1.197 15.833,4.488 15.833,8.528 C15.833,12.568 12.551,15.862 8.512,15.862 C4.478,15.862 1.191,12.572 1.191,8.528 Z"/>
                  </svg>
              </a>
          <?php
}
}
/* {/block 'quick_view'} */
/* {block 'product_reviews'} */
class Block_19758172006633d38ebf4c14_42775149 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

        <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayProductListReviews','product'=>$_smarty_tpl->tpl_vars['product']->value),$_smarty_tpl ) );?>

        <?php
}
}
/* {/block 'product_reviews'} */
/* {block 'product_name'} */
class Block_8122519366633d38ebf58c2_88697281 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

          <h3 class="h3 product-title" itemprop="name"><a href="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['url'], ENT_QUOTES, 'UTF-8');?>
">
           <?php if (Module::isEnabled('an_theme') && Module::getInstanceByName('an_theme')->getParam('product_miniatureTitleLength')) {?>
              <?php $_smarty_tpl->_assignInScope('max_titlelength', Module::getInstanceByName('an_theme')->getParam('product_miniatureTitleLength'));?>
               <?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'truncate' ][ 0 ], array( $_smarty_tpl->tpl_vars['product']->value['name'],$_smarty_tpl->tpl_vars['max_titlelength']->value,'...' )), ENT_QUOTES, 'UTF-8');?>

            <?php } else { ?>
              <?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'truncate' ][ 0 ], array( $_smarty_tpl->tpl_vars['product']->value['name'],30,'...' )), ENT_QUOTES, 'UTF-8');?>

            <?php }?>
          </a></h3>
        <?php
}
}
/* {/block 'product_name'} */
/* {block 'product_description_short'} */
class Block_10487918276633d38ec039e8_17198683 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

               <p class="an_short_description <?php if (Module::isEnabled('an_theme') && Module::getInstanceByName('an_theme')->getParam('product_shortDescription') == 0 && (isset($_smarty_tpl->tpl_vars['page']->value)) && ($_smarty_tpl->tpl_vars['page']->value['page_name'] == 'category' || $_smarty_tpl->tpl_vars['page']->value['page_name'] == 'search' || $_smarty_tpl->tpl_vars['page']->value['page_name'] == 'best-sales' || $_smarty_tpl->tpl_vars['page']->value['page_name'] == 'new-products' || $_smarty_tpl->tpl_vars['page']->value['page_name'] == 'prices-drop')) {?>grid-view-desc<?php }?>" id="an_short_description_<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['id'], ENT_QUOTES, 'UTF-8');?>
">
                   <?php if (Module::isEnabled('an_theme') && Module::getInstanceByName('an_theme')->getParam('product_shortDescription') == 0 && (isset($_smarty_tpl->tpl_vars['page']->value)) && ($_smarty_tpl->tpl_vars['page']->value['page_name'] == 'category' || $_smarty_tpl->tpl_vars['page']->value['page_name'] == 'search')) {?>
                                   <?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'truncate' ][ 0 ], array( strip_tags((string) $_smarty_tpl->tpl_vars['product']->value['description_short']),300,'...' )), ENT_QUOTES, 'UTF-8');?>

                   <?php } else { ?>
                                   <?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'truncate' ][ 0 ], array( strip_tags((string) $_smarty_tpl->tpl_vars['product']->value['description_short']),$_smarty_tpl->tpl_vars['max_length']->value,'...' )), ENT_QUOTES, 'UTF-8');?>

                   <?php }?>
               </p>
           <?php
}
}
/* {/block 'product_description_short'} */
/* {block 'product_price_and_shipping'} */
class Block_1884655376633d38ec0ef98_21289000 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

          <?php if ($_smarty_tpl->tpl_vars['product']->value['show_price']) {?>
            <div class="product-price-and-shipping">
    
              <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayProductPriceBlock','product'=>$_smarty_tpl->tpl_vars['product']->value,'type'=>"before_price"),$_smarty_tpl ) );?>

                  <div class="product-prices-block">
              <span class="sr-only"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Price','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
</span>
               <span class="price" itemprop="price" content="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['price_tax_exc'], ENT_QUOTES, 'UTF-8');?>
">
                    <span class="money" <?php if ((isset($_smarty_tpl->tpl_vars['currency_code']->value))) {?>data-currency-<?php echo htmlspecialchars((string) mb_strtolower((string) $_smarty_tpl->tpl_vars['currency_code']->value, 'UTF-8'), ENT_QUOTES, 'UTF-8');?>
="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['price'], ENT_QUOTES, 'UTF-8');?>
"<?php }?>><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['price'], ENT_QUOTES, 'UTF-8');?>
</span>
                </span>
              <?php if ($_smarty_tpl->tpl_vars['product']->value['has_discount']) {?>
                <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayProductPriceBlock','product'=>$_smarty_tpl->tpl_vars['product']->value,'type'=>"old_price"),$_smarty_tpl ) );?>


                <span class="sr-only"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Regular price','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
</span>
                <span class="regular-price"><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['regular_price'], ENT_QUOTES, 'UTF-8');?>
</span>
              <?php }?>
              </div>
              <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayProductPriceBlock','product'=>$_smarty_tpl->tpl_vars['product']->value,'type'=>'unit_price'),$_smarty_tpl ) );?>


              <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayProductPriceBlock','product'=>$_smarty_tpl->tpl_vars['product']->value,'type'=>'weight'),$_smarty_tpl ) );?>


             
              
            </div>
          <?php }?>
        <?php
}
}
/* {/block 'product_price_and_shipping'} */
/* {block 'product_flags'} */
class Block_10233798426633d38ec1aac6_61275644 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

        <ul class="product-flags">
          <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['product']->value['flags'], 'flag');
$_smarty_tpl->tpl_vars['flag']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['flag']->value) {
$_smarty_tpl->tpl_vars['flag']->do_else = false;
?>
            <li class="product-flag <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['flag']->value['type'], ENT_QUOTES, 'UTF-8');?>
"><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['flag']->value['label'], ENT_QUOTES, 'UTF-8');?>
</li>
          <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
          <?php if ($_smarty_tpl->tpl_vars['product']->value['has_discount']) {?>
            <?php if ($_smarty_tpl->tpl_vars['product']->value['discount_type'] === 'percentage') {?>
              <li class="product-flag discount-percentage"><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['discount_percentage'], ENT_QUOTES, 'UTF-8');?>
</span>
            <?php }?>
          <?php }?>
        </ul>
      <?php
}
}
/* {/block 'product_flags'} */
/* {block 'product_miniature_item'} */
class Block_2734572336633d38eb8af11_36564563 extends Smarty_Internal_Block
{
public $subBlocks = array (
  'product_miniature_item' => 
  array (
    0 => 'Block_2734572336633d38eb8af11_36564563',
  ),
  'product_thumbnail' => 
  array (
    0 => 'Block_8145939076633d38ebab321_36191181',
  ),
  'product_wishlist' => 
  array (
    0 => 'Block_3744967396633d38ebf0fc6_93986994',
  ),
  'quick_view' => 
  array (
    0 => 'Block_2017331136633d38ebf4313_52506448',
  ),
  'product_reviews' => 
  array (
    0 => 'Block_19758172006633d38ebf4c14_42775149',
  ),
  'product_name' => 
  array (
    0 => 'Block_8122519366633d38ebf58c2_88697281',
  ),
  'product_description_short' => 
  array (
    0 => 'Block_10487918276633d38ec039e8_17198683',
  ),
  'product_price_and_shipping' => 
  array (
    0 => 'Block_1884655376633d38ec0ef98_21289000',
  ),
  'product_flags' => 
  array (
    0 => 'Block_10233798426633d38ec1aac6_61275644',
  ),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

  <article class="product-miniature js-product-miniature
  <?php if ((isset($_smarty_tpl->tpl_vars['page']->value)) && $_smarty_tpl->tpl_vars['page']->value['page_name'] == 'category') {?>
      <?php if ((isset($_COOKIE['an_collection_view']))) {?>
        col-lg-<?php echo htmlspecialchars((string) $_COOKIE['an_collection_view'], ENT_QUOTES, 'UTF-8');?>

      <?php } else { ?>
        <?php echo htmlspecialchars((string) Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount'), ENT_QUOTES, 'UTF-8');?>

      <?php }?>
    <?php }?>
  <?php if (Module::isEnabled('an_theme') && Module::getInstanceByName('an_theme')->getParam('product_productMobileRow')) {?>
  product-mobile-row
  <?php }?>
   <?php if (Module::isEnabled('an_theme') && Module::getInstanceByName('an_theme')->getParam('product_productHeight')) {?>
        product-height
        <?php }?>
  " data-id-product="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['id_product'], ENT_QUOTES, 'UTF-8');?>
" data-id-product-attribute="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['id_product_attribute'], ENT_QUOTES, 'UTF-8');?>
" itemscope itemtype="http://schema.org/Product">
  <?php if ($_smarty_tpl->tpl_vars['product']->value['id_manufacturer']) {?>
  <div itemprop="brand" itemtype="https://schema.org/Brand" itemscope>
  <meta itemprop="name" content="<?php echo htmlspecialchars((string) Manufacturer::getnamebyid($_smarty_tpl->tpl_vars['product']->value['id_manufacturer']), ENT_QUOTES, 'UTF-8');?>
">
  </div>
  <?php }?>
    <div class="thumbnail-container">
	
	
		<div class="thumbnail-container-image" style="min-height: <?php if ((isset($_smarty_tpl->tpl_vars['page']->value)) && $_smarty_tpl->tpl_vars['page']->value['page_name'] == 'category') {
if (preg_replace('!\s+!u', ' ',(isset($_COOKIE['an_collection_view'])))) {
if ($_COOKIE['an_collection_view'] == 3) {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['catalog_small']['height']), ENT_QUOTES, 'UTF-8');
} elseif ($_COOKIE['an_collection_view'] == 4) {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['height']), ENT_QUOTES, 'UTF-8');
} elseif ($_COOKIE['an_collection_view'] == 6) {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['catalog_large']['height']), ENT_QUOTES, 'UTF-8');
} else {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['height']), ENT_QUOTES, 'UTF-8');
}
} else {
if (Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 3) {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['catalog_small']['height']), ENT_QUOTES, 'UTF-8');
} elseif (Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 4) {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['height']), ENT_QUOTES, 'UTF-8');
} elseif (Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 6) {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['catalog_large']['height']), ENT_QUOTES, 'UTF-8');
} else {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['height']), ENT_QUOTES, 'UTF-8');
}
}
} else {
echo htmlspecialchars((string) preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['product']->value['cover']['bySize']['home_default']['height']), ENT_QUOTES, 'UTF-8');
}?>px;">
            <?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_8145939076633d38ebab321_36191181', 'product_thumbnail', $this->tplIndex);
?>

      <div class="highlighted-informations<?php if (!$_smarty_tpl->tpl_vars['product']->value['main_variants']) {?> no-variants<?php }?> hidden-sm-down">

          <?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_3744967396633d38ebf0fc6_93986994', 'product_wishlist', $this->tplIndex);
?>

            <?php if (Module::isEnabled('an_theme') && Module::getInstanceByName('an_theme')->getParam('product_showquickview') == 1) {?>
          <?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_2017331136633d38ebf4313_52506448', 'quick_view', $this->tplIndex);
?>

          <?php }?>
      </div>
    </div>
		
      <div class="product-description">
       <?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_19758172006633d38ebf4c14_42775149', 'product_reviews', $this->tplIndex);
?>

        <?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_8122519366633d38ebf58c2_88697281', 'product_name', $this->tplIndex);
?>

      <?php if ((Module::isEnabled('an_theme') && Module::getInstanceByName('an_theme')->getParam('product_shortDescription') == 1) || (Module::isEnabled('an_theme') && Module::getInstanceByName('an_theme')->getParam('product_shortDescription') == 0 && (isset($_smarty_tpl->tpl_vars['page']->value)) && ($_smarty_tpl->tpl_vars['page']->value['page_name'] == 'category' || $_smarty_tpl->tpl_vars['page']->value['page_name'] == 'search' || $_smarty_tpl->tpl_vars['page']->value['page_name'] == 'best-sales' || $_smarty_tpl->tpl_vars['page']->value['page_name'] == 'new-products' || $_smarty_tpl->tpl_vars['page']->value['page_name'] == 'prices-drop'))) {?>
       <?php $_smarty_tpl->_assignInScope('max_length', Module::getInstanceByName('an_theme')->getParam('product_shortDescriptionLength'));?>
           <?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_10487918276633d38ec039e8_17198683', 'product_description_short', $this->tplIndex);
?>

       <?php }?>
        <?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1884655376633d38ec0ef98_21289000', 'product_price_and_shipping', $this->tplIndex);
?>




      </div>

      <?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_10233798426633d38ec1aac6_61275644', 'product_flags', $this->tplIndex);
?>

    </div>
  </article>
<?php
}
}
/* {/block 'product_miniature_item'} */
}


??

??