Current path: home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/stomp/38/6a/4f/
?? Go up: /home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/stomp/38/6a
<?php
/* Smarty version 4.3.1, created on 2024-01-02 04:55:01
from 'module:an_homesliderviewstemplatesfrontwidget.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.1',
'unifunc' => 'content_65938915f061a1_15536756',
'has_nocache_code' => false,
'file_dependency' =>
array (
'386a4f0834b4675d1fab294778d0ad5a320435dc' =>
array (
0 => 'module:an_homesliderviewstemplatesfrontwidget.tpl',
1 => 1702566467,
2 => 'module',
),
),
'includes' =>
array (
),
),false)) {
function content_65938915f061a1_15536756 (Smarty_Internal_Template $_smarty_tpl) {
?><!-- begin /home/webdevt/www/schtroumpf.fr/themes/stomp/modules/an_homeslider/views/templates/front/widget.tpl -->
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['widget']->value, 'slider');
$_smarty_tpl->tpl_vars['slider']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['slider']->value) {
$_smarty_tpl->tpl_vars['slider']->do_else = false;
?>
<div class="an_homeslider-block <?php if ($_smarty_tpl->tpl_vars['slider']->value['responsive_image']) {?>an_homeslider-responsive<?php }?> <?php if ($_smarty_tpl->tpl_vars['slider']->value['show_on'] == '1') {?>an_homeslider-hide-mobile<?php }?> <?php if ($_smarty_tpl->tpl_vars['slider']->value['show_on'] == '2') {?>an_homeslider-hide-desktop<?php }?> <?php if ($_smarty_tpl->tpl_vars['slider']->value['show_content_on'] == '1') {?>an_homeslider-hide-mobile-content<?php }?> <?php if ($_smarty_tpl->tpl_vars['slider']->value['show_content_on'] == '2') {?>an_homeslider-hide-desktop-content<?php }?>">
<div class="an_homeslider <?php if ($_smarty_tpl->tpl_vars['slider']->value['responsive_image']) {?>an_homeslider-responsive<?php }?>" id="an_homeslider_<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['slider']->value['id_slider'], ENT_QUOTES, 'UTF-8');?>
" data-lazy="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['slider']->value['lazy_load'], ENT_QUOTES, 'UTF-8');?>
" data-nav="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['slider']->value['nav'], ENT_QUOTES, 'UTF-8');?>
" data-dots="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['slider']->value['dots'], ENT_QUOTES, 'UTF-8');?>
" data-loop="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['slider']->value['loop'], ENT_QUOTES, 'UTF-8');?>
" data-autoplay="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['slider']->value['autoplay'], ENT_QUOTES, 'UTF-8');?>
" data-autoplaytimeout="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['slider']->value['autoplay_timeout'], ENT_QUOTES, 'UTF-8');?>
" data-smartspeed="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['slider']->value['smartspeed'], ENT_QUOTES, 'UTF-8');?>
">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['slider']->value['slides'], 'slide');
$_smarty_tpl->tpl_vars['slide']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['slide']->value) {
$_smarty_tpl->tpl_vars['slide']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['slide']->value['link'] != '') {?>
<a href="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['slide']->value['link'], ENT_QUOTES, 'UTF-8');?>
" class="an_homeslider-item <?php if ($_smarty_tpl->tpl_vars['slide']->value['image'] == '') {?>an_homeslider-item-noimg<?php }?>">
<?php } else { ?>
<div class="an_homeslider-item <?php if ($_smarty_tpl->tpl_vars['slide']->value['image'] == '') {?>an_homeslider-item-noimg<?php }?>">
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['slide']->value['image'] != '') {?>
<img
<?php if ($_smarty_tpl->tpl_vars['slider']->value['lazy_load']) {?>
class="owl-lazy" data-src="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['slide']->value['image'], ENT_QUOTES, 'UTF-8');?>
"
<?php } else { ?>
src="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['slide']->value['image'], ENT_QUOTES, 'UTF-8');?>
"
<?php }?>
width="auto" height="auto" alt="<?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['slide']->value['title'],'htmlall','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
"
>
<?php }?>
<?php if (($_smarty_tpl->tpl_vars['slide']->value['title'] != '') || ($_smarty_tpl->tpl_vars['slide']->value['text'] != '') || $_smarty_tpl->tpl_vars['slide']->value['show_button']) {?>
<div class="an_homeslider-desc">
<div class="container">
<?php if ($_smarty_tpl->tpl_vars['slide']->value['title']) {?>
<div class="h2"><?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['slide']->value['title'],'htmlall','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
</div>
<?php }?>
<?php echo $_smarty_tpl->tpl_vars['slide']->value['text'];?>
<?php if (($_smarty_tpl->tpl_vars['slide']->value['show_button'] == 1) && ($_smarty_tpl->tpl_vars['slide']->value['text_of_button'] != '')) {?>
<button class="btn btn-primary"><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['slide']->value['text_of_button'], ENT_QUOTES, 'UTF-8');?>
</button>
<?php }?>
</div>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['slide']->value['link'] != '') {?>
</a>
<?php } else { ?>
</div>
<?php }?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div>
<?php if ($_smarty_tpl->tpl_vars['slider']->value['preloader']) {?>
<div class="an_homeslider-loader">
<div class="an_homeslider-loader-image"></div>
</div>
<style>
<?php if ($_smarty_tpl->tpl_vars['slider']->value['preloader_height_1920']) {?>
.an_homeslider-block:not(.initialized),
.an_homeslider-loader {
height: <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['slider']->value['preloader_height_1920'], ENT_QUOTES, 'UTF-8');?>
px;
}
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['slider']->value['preloader_height_1600']) {?>
@media (max-width: 1600px) {
.an_homeslider-block:not(.initialized),
.an_homeslider-loader {
height: <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['slider']->value['preloader_height_1600'], ENT_QUOTES, 'UTF-8');?>
px;
}
}
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['slider']->value['preloader_height_1366']) {?>
@media (max-width: 1366px) {
.an_homeslider-block:not(.initialized),
.an_homeslider-loader {
height: <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['slider']->value['preloader_height_1366'], ENT_QUOTES, 'UTF-8');?>
px;
}
}
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['slider']->value['preloader_height_991']) {?>
@media (max-width: 991px) {
.an_homeslider-block:not(.initialized),
.an_homeslider-loader {
height: <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['slider']->value['preloader_height_991'], ENT_QUOTES, 'UTF-8');?>
px;
}
}
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['slider']->value['preloader_height_767']) {?>
@media (max-width: 767px) {
.an_homeslider-block:not(.initialized),
.an_homeslider-loader {
height: <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['slider']->value['preloader_height_767'], ENT_QUOTES, 'UTF-8');?>
px;
}
}
<?php }?>
</style>
<?php }?>
</div>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?><!-- end /home/webdevt/www/schtroumpf.fr/themes/stomp/modules/an_homeslider/views/templates/front/widget.tpl --><?php }
}