File "2a3e242277bf6586979d8d3839b98121c29fff09_0.file.layout-base.tmpl.php"
Full Path: /srv/www/www.cadoro.it/src/templates_c/2a3e242277bf6586979d8d3839b98121c29fff09_0.file.layout-base.tmpl.php
File size: 34.43 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/* Smarty version 3.1.29, created on 2024-02-21 17:40:18
from "/srv/www/www.cadoro.it/src/templates/layout-base.tmpl" */
if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
'has_nocache_code' => false,
'version' => '3.1.29',
'unifunc' => 'content_65d627728d35d9_66036396',
'file_dependency' =>
array (
'2a3e242277bf6586979d8d3839b98121c29fff09' =>
array (
0 => '/srv/www/www.cadoro.it/src/templates/layout-base.tmpl',
1 => 1708527642,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_65d627728d35d9_66036396 ($_smarty_tpl) {
$_smarty_tpl->ext->_inheritance->init($_smarty_tpl, false);
?>
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="google-site-verification" content="Mrzpor7Nms3Z02Uaw2s3Wjan_2bG4nnBHxBcfl7BKIo" />
<title><?php
$_smarty_tpl->ext->_inheritance->processBlock($_smarty_tpl, 0, 'title', array (
0 => 'block_141634764265d62772839284_46924959',
1 => false,
3 => 0,
2 => 0,
));
?>
</title>
<?php echo '<script'; ?>
id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="a239d568-e4be-47bf-ab12-b447b429d417" data-blockingmode="auto" type="text/javascript"><?php echo '</script'; ?>
>
<?php
$_smarty_tpl->ext->_inheritance->processBlock($_smarty_tpl, 0, "head", array (
0 => 'block_194952750365d6277283aba9_70107316',
1 => false,
3 => 0,
2 => 0,
));
?>
<link href="//fonts.googleapis.com/css?family=Hind:300,400,500,600|Oswald:300,400|Sue+Ellen+Francisco|Roboto+Slab:400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Great+Vibes" rel="stylesheet">
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/css/main.css?<?php echo $_smarty_tpl->tpl_vars['key_assets']->value;?>
" />
<!--[if lt IE 9]>
<?php echo '<script'; ?>
src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/js/html5.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/js/respond.js"><?php echo '</script'; ?>
>
<![endif]-->
<!--[if lt IE 9]><link rel="stylesheet" type="text/css" media="all" href="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/css/main-ie8.css?<?php echo $_smarty_tpl->tpl_vars['key_assets']->value;?>
" /><![endif]-->
<link rel="apple-touch-icon" sizes="180x180" href="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/apple-touch-icon.png">
<link rel="icon" type="image/png" href="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/manifest.json">
<link rel="mask-icon" href="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/safari-pinned-tab.svg" color="#5bbad5">
<meta name="theme-color" content="#ffffff">
<meta name="facebook-domain-verification" content="1qskk9q0k9lxafzlmp8v3cndnh7te5"/>
<!-- universalLinks -->
<link rel="alternate" href="android-app://it.cadoro.app/https/*.cadoro.it/landing/.*" />
<link rel="alternate" href="android-app://it.cadoro.app/https/cadoro.it/landing/.*" />
<link rel="alternate" href="android-app://it.cadoro.app/http/*.cadoro.it/landing/.*" />
<link rel="alternate" href="android-app://it.cadoro.app/http/cadoro.it/landing/.*" />
<!-- Facebook Pixel Code -->
<?php echo '<script'; ?>
>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '290593109465708');
fbq('track', 'PageView');
<?php echo '</script'; ?>
>
<noscript>
<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=290593109465708&ev=PageView&noscript=1" />
</noscript>
<!-- End Facebook Pixel Code -->
<?php
$_smarty_tpl->ext->_inheritance->processBlock($_smarty_tpl, 0, "csshead", array (
0 => 'block_14407224665d62772840ed9_81622427',
1 => false,
3 => 0,
2 => 0,
));
?>
</head>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KLRT3N8"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<body <?php if (isset($_smarty_tpl->tpl_vars['page']->value['hero']) && $_smarty_tpl->tpl_vars['page']->value['hero']) {?> class="page-hero" style="background-image: url(<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['page']->value['hero'];?>
);background-size: 100%" <?php }?> data-imgmobile="<?php if (isset($_smarty_tpl->tpl_vars['page']->value['hero_mobile']) && $_smarty_tpl->tpl_vars['page']->value['hero_mobile']) {
echo $_smarty_tpl->tpl_vars['page']->value['hero_mobile'];
}?>" data-img="<?php if (isset($_smarty_tpl->tpl_vars['page']->value['hero']) && $_smarty_tpl->tpl_vars['page']->value['hero']) {
echo $_smarty_tpl->tpl_vars['page']->value['hero'];
}?>">
<input type="hidden" class="video-identificator" value="<?php if (isset($_smarty_tpl->tpl_vars['page']->value['hero_video']) && $_smarty_tpl->tpl_vars['page']->value['hero_video']) {
echo $_smarty_tpl->tpl_vars['page']->value['hero_video'];
}?>" >
<?php
$_smarty_tpl->ext->_inheritance->processBlock($_smarty_tpl, 0, "body", array (
0 => 'block_106148871865d6277284c937_82753216',
1 => false,
3 => 0,
2 => 0,
));
?>
<div class="main-toolbar">
<?php if ($_smarty_tpl->tpl_vars['richiamo_prodotto']->value) {?>
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/richiamo-prodotto">
<img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/btn-richiamo-prodotto.png" alt="Richiamo Prodotto" class="mb60">
</a>
<?php }?>
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/filodiretto">
<img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/btn-filodiretto.png" alt="Filodiretto">
</a>
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/punti-vendita">
<img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/btn-punti-vendita.png" alt="Punti Vendita">
</a>
</div>
<?php if ($_smarty_tpl->tpl_vars['principal']->value) {?>
<div class="profile-toolbar hidden-xs">
<div class="container">
<div class="row">
<div class="col-sm-6">
<a href="" data-behaviour="profile-toolbar-toggle">
<?php if ($_smarty_tpl->tpl_vars['principal']->value['dipendente']) {?>
<img width="80px" src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/profile-toolbar-teamcard.png" alt="Ciao">
<?php } else { ?>
<img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/profile-toolbar-1.png" alt="Ciao">
<?php }?>
Ciao <strong><?php echo $_smarty_tpl->tpl_vars['principal']->value['firstname'];?>
</strong>, Cadoro ti dà il benvenuto
</a>
</div>
<div class="col-sm-4 text-right">
<div class="profile-toolbar-points">
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/profilo/punti">
SALDO PUNTI <strong><?php echo _n($_smarty_tpl->tpl_vars['principal']->value->get_points(),0);?>
</strong>
</a><br>
<?php if (isset($_smarty_tpl->tpl_vars['points_loyalty_count']->value) && $_smarty_tpl->tpl_vars['points_loyalty_count']->value) {?>
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/profilo/loyalty">
OGGI HAI GUADAGNATO <?php echo $_smarty_tpl->tpl_vars['points_loyalty_count']->value;?>
<?php if ($_smarty_tpl->tpl_vars['points_loyalty_count']->value == 0) {?>PUNTO<?php } else { ?>PUNTI<?php }?>!
</a>
<?php }?>
</div>
</div>
<div class="col-sm-2 text-right">
<img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/profile-toolbar-3.png" class="arrow">
<div class="profile-toolbar-1">
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/profilo">
<img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/profile-toolbar-2.png" alt="Il mio profilo" hspace="20">
</a>
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/logout">
ESCI
</a>
</div>
<div class="profile-toolbar-2">
<a href="" data-behaviour="profile-toolbar-toggle"><i class="fa fa-times"></i></a>
</div>
</div>
</div>
<div class="row profile-toolbar-links" style="display: none;">
<div class="col-sm-3 col-sm-offset-1">
<ul class="list list-unstyled">
<li>
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/profilo">PROFILO</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/profilo/punti">SALDO PUNTI</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/profilo/lista-spesa">LISTA DELLA SPESA</a>
</li>
</ul>
</div>
<div class="col-sm-3 col-sm-offset-1">
<ul class="list list-unstyled">
<li>
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/profilo/punti">I TUOI COUPON</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/profilo/preferiti">CONTENUTI PREFERITI</a>
</li>
<?php $_smarty_tpl->tpl_vars["s"] = new Smarty_Variable($_smarty_tpl->tpl_vars['principal']->value->get_store(), null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, "s", 0);?>
<?php if ($_smarty_tpl->tpl_vars['s']->value) {?>
<li>
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/punti-vendita/<?php echo $_smarty_tpl->tpl_vars['s']->value['slug'];?>
">PUNTO VENDITA PREFERITO</a>
</li>
<?php }?>
</ul>
</div>
</div>
</div>
</div>
<?php }?>
<?php echo '<script'; ?>
type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/js/main.js?<?php echo $_smarty_tpl->tpl_vars['key_assets']->value;?>
"><?php echo '</script'; ?>
>
<?php if (isset($_smarty_tpl->tpl_vars['points_loyalty']->value)) {?>
<?php echo '<script'; ?>
>
$(function () {
$('.profile-toolbar .col-sm-2 strong, .profile-toolbar .col-sm-4 strong').animate({
'font-size': '50px', 'color': '#ffff88'
})
setTimeout(function () {
$('.profile-toolbar .col-sm-2 strong, .profile-toolbar .col-sm-4 strong').animate({
'font-size': '24px', 'color': '#ffffff'
})
}, 2000);
});
<?php echo '</script'; ?>
>
<?php }?>
<?php
$_smarty_tpl->ext->_inheritance->processBlock($_smarty_tpl, 0, "jstail", array (
0 => 'block_159079988665d627728c7b19_46062547',
1 => false,
3 => 0,
2 => 0,
));
?>
<!-- switch banner image -->
<?php echo '<script'; ?>
>
var assets = '<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/assets';
<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
$(window).on('load resize', function(){
var w = $(window).width();
var items = $('.page-hero');
var video = $('.video-identificator').val();
if(w < 576) {
if(items.data('imgmobile') && video.length == 0) {
items.removeAttr('style').css('background-image', 'url("'+assets+'/'+items.data('imgmobile')+'")');
} else {
items.removeAttr('style').css('background-image', 'none');
}
} else {
if(items.data('imgmobile') && items.data('imgmobile') != items.data('img')) {
items.removeAttr('style').css('background-image', 'url("'+assets+'/'+items.data('img')+'")');
}
}
});
<?php echo '</script'; ?>
>
<!-- link banner -->
<?php if (isset($_smarty_tpl->tpl_vars['page']->value['link']) && $_smarty_tpl->tpl_vars['page']->value['link']) {?>
<?php echo '<script'; ?>
>
$('.hero_trigger').click(function() {
var heroLink = $('.hero_link').val();
//window.location.href(heroLink);
window.location.assign(heroLink);
});
<?php echo '</script'; ?>
>
<?php }?>
<!-- video -->
<?php echo '<script'; ?>
>
$(window).load(function() {
setTimeout(function(){
$('.video-wrapper').css('transition', '5s');
$('.video-wrapper').css('opacity', 1);
}
,2000)
});
<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
<?php if (!$_smarty_tpl->tpl_vars['debug']->value) {?>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-87433802-1', 'auto');
ga('send', 'pageview');
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-KLRT3N8');
<?php }?>
<?php echo '</script'; ?>
>
<!-- Google ReCaptcha -->
<?php echo '<script'; ?>
src="https://www.google.com/recaptcha/api.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
function onSubmit(token) {
document.getElementById("newsletter-form").submit();
}
function onRichiediCarta(token) {
document.getElementById("richiedi-carta").submit();
}
<?php echo '</script'; ?>
>
</body>
</html><?php }
/* {block 'title'} file:layout-base.tmpl */
function block_141634764265d62772839284_46924959($_smarty_tpl, $_blockParentStack) {
?>
CADORO<?php
}
/* {/block 'title'} */
/* {block 'head'} file:layout-base.tmpl */
function block_194952750365d6277283aba9_70107316($_smarty_tpl, $_blockParentStack) {
?>
<meta name="description" content="Scopri i supermercati Cadoro, le offerte, i punti vendita più vicini a te, le informazioni sui prodotti e tanti consigli per la tua spesa.">
<meta name="author" content="">
<?php
}
/* {/block 'head'} */
/* {block 'csshead'} file:layout-base.tmpl */
function block_14407224665d62772840ed9_81622427($_smarty_tpl, $_blockParentStack) {
}
/* {/block 'csshead'} */
/* {block 'content'} file:layout-base.tmpl */
function block_183529142065d62772886a95_22082256($_smarty_tpl, $_blockParentStack) {
}
/* {/block 'content'} */
/* {block 'content_full'} file:layout-base.tmpl */
function block_88449712565d62772885d16_93711898($_smarty_tpl, $_blockParentStack) {
?>
<div class="container mt20 content">
<?php
$_smarty_tpl->ext->_inheritance->processBlock($_smarty_tpl, 0, "content", array (
0 => 'block_183529142065d62772886a95_22082256',
1 => false,
3 => 0,
2 => 0,
), $_blockParentStack);
?>
</div>
<?php
}
/* {/block 'content_full'} */
/* {block 'body'} file:layout-base.tmpl */
function block_106148871865d6277284c937_82753216($_smarty_tpl, $_blockParentStack) {
?>
<?php if (isset($_smarty_tpl->tpl_vars['error_tessera']->value) && $_smarty_tpl->tpl_vars['error_tessera']->value != 0) {?>
<?php echo '<script'; ?>
>
window.location.replace('<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/login?error_tessera=1<?php echo $_smarty_tpl->tpl_vars['error_tessera']->value;?>
');
<?php echo '</script'; ?>
>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['page']->value) && $_smarty_tpl->tpl_vars['page']->value['hero'] && !$_smarty_tpl->tpl_vars['page']->value['hero_video']) {?>
<section class="hero hero_trigger" <?php if ($_smarty_tpl->tpl_vars['page']->value['link']) {?> style="cursor: pointer;" <?php }?>>
<input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['page']->value['link'];?>
" class="hero_link">
<div class="container">
<div class="mb20 text-left hidden-xs" style="margin-top: 10px;">
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
">
<img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/logo.png" alt="Cadoro" class="img-responsive">
</a>
</div>
<h1><?php echo $_smarty_tpl->tpl_vars['page']->value['title'];?>
</h1>
<?php if ($_smarty_tpl->tpl_vars['page']->value['subtitle']) {?>
<h2><?php echo $_smarty_tpl->tpl_vars['page']->value['subtitle'];?>
</h2>
<?php }?>
</div>
</section>
<?php } elseif (isset($_smarty_tpl->tpl_vars['page']->value) && $_smarty_tpl->tpl_vars['page']->value['hero_video']) {?>
<section class="hero hidden-xs">
<?php if ($_smarty_tpl->tpl_vars['page']->value['extra_props'] == 1) {?>
<?php $_smarty_tpl->tpl_vars['extra'] = new Smarty_Variable('&autoplay=1', null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'extra', 0);?>
<?php } elseif ($_smarty_tpl->tpl_vars['page']->value['extra_props'] == 2) {?>
<?php ob_start();
echo $_smarty_tpl->tpl_vars['page']->value['hero_video'];
$_tmp1=ob_get_clean();
$_smarty_tpl->tpl_vars['extra'] = new Smarty_Variable(('&autoplay=1&loop=1&playlist=').($_tmp1), null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'extra', 0);?>
<?php } else { ?>
<?php $_smarty_tpl->tpl_vars['extra'] = new Smarty_Variable('&autoplay=0&loop=0', null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'extra', 0);?>
<?php }?>
<div style="position: absolute;width: 100%;z-index: 999;">
<div class="container text-left" style="padding-top: 10px;">
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
">
<img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/logo.png" alt="Cadoro" class="img-responsive">
</a>
</div>
</div>
<div class="video-wrapper hidden-xs">
<iframe class="video" frameborder="0" width="100%" style="color: #f50;" src="https://youtube.com/embed/<?php echo $_smarty_tpl->tpl_vars['page']->value['hero_video'];?>
?mute=1&controls=0&showinfo=0&autohide=0&rel=0<?php echo $_smarty_tpl->tpl_vars['extra']->value;?>
" allowfullscreen data-autoplay data-keepplaying></iframe>
</div>
</section>
<?php }?>
<header class="header hidden-print">
<div class="container">
<div class="row">
<div class="col-sm-3 text-left">
<div class="header-logo">
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
">
<img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/logo.png" alt="Cadoro" class="img-responsive">
</a>
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
<i class="fa fa-bars"></i>
</button>
</div>
</div>
<div class="col-sm-9">
<div class="row">
<div class="col-sm-12 text-right">
<ul class="nav navbar-nav navbar-right" style="margin-right: 0;">
<li class="hidden-xs">
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/cerca" class="search"><i class="fa fa-search"></i></a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/profilo" class="profile<?php if ($_smarty_tpl->tpl_vars['principal']->value) {?> logged<?php }?>">
<strong>TUA</strong>CARD'ORO <i class="fa fa-caret-down"></i>
</a>
</li>
</ul>
</div>
<div class="col-sm-12 navbar">
<div class="collapse navbar-collapse navbar-main-collapse navbar-right">
<ul class="nav navbar-nav">
<?php $_smarty_tpl->tpl_vars["menu_main"] = new Smarty_Variable(_menu('main'), null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, "menu_main", 0);?>
<?php if ($_smarty_tpl->tpl_vars['menu_main']->value) {?>
<?php
$_from = $_smarty_tpl->tpl_vars['menu_main']->value->content();
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_m_0_saved_item = isset($_smarty_tpl->tpl_vars['m']) ? $_smarty_tpl->tpl_vars['m'] : false;
$_smarty_tpl->tpl_vars['m'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['m']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['m']->value) {
$_smarty_tpl->tpl_vars['m']->_loop = true;
$__foreach_m_0_saved_local_item = $_smarty_tpl->tpl_vars['m'];
?>
<li>
<?php if ($_smarty_tpl->tpl_vars['m']->value['children']) {?>
<a href="<?php echo $_smarty_tpl->tpl_vars['m']->value['link'];?>
"<?php if ($_smarty_tpl->tpl_vars['m']->value['class']) {?> class="<?php echo $_smarty_tpl->tpl_vars['m']->value['class'];?>
dropdown-toggle"<?php } else { ?> class="dropdown-toggle"<?php }
if ($_smarty_tpl->tpl_vars['m']->value['rel']) {?> rel="<?php echo $_smarty_tpl->tpl_vars['m']->value['rel'];?>
"<?php }?> data-toggle="dropdown">
<?php echo $_smarty_tpl->tpl_vars['m']->value['name'];?>
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<?php
$_from = $_smarty_tpl->tpl_vars['m']->value['children'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_m2_1_saved_item = isset($_smarty_tpl->tpl_vars['m2']) ? $_smarty_tpl->tpl_vars['m2'] : false;
$_smarty_tpl->tpl_vars['m2'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['m2']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['m2']->value) {
$_smarty_tpl->tpl_vars['m2']->_loop = true;
$__foreach_m2_1_saved_local_item = $_smarty_tpl->tpl_vars['m2'];
?>
<li>
<a href="<?php echo $_smarty_tpl->tpl_vars['m2']->value['link'];?>
"<?php if ($_smarty_tpl->tpl_vars['m2']->value['class']) {?> class="<?php echo $_smarty_tpl->tpl_vars['m2']->value['class'];?>
"<?php }
if ($_smarty_tpl->tpl_vars['m2']->value['rel']) {?> rel="<?php echo $_smarty_tpl->tpl_vars['m2']->value['rel'];?>
"<?php }?>><?php echo $_smarty_tpl->tpl_vars['m2']->value['name'];?>
</a>
</li>
<?php
$_smarty_tpl->tpl_vars['m2'] = $__foreach_m2_1_saved_local_item;
}
if ($__foreach_m2_1_saved_item) {
$_smarty_tpl->tpl_vars['m2'] = $__foreach_m2_1_saved_item;
}
?>
</ul>
<?php } else { ?>
<a href="<?php echo $_smarty_tpl->tpl_vars['m']->value['link'];?>
"<?php if ($_smarty_tpl->tpl_vars['m']->value['class']) {?> class="<?php echo $_smarty_tpl->tpl_vars['m']->value['class'];?>
"<?php }
if ($_smarty_tpl->tpl_vars['m']->value['rel']) {?> rel="<?php echo $_smarty_tpl->tpl_vars['m']->value['rel'];?>
"<?php }?>><?php echo $_smarty_tpl->tpl_vars['m']->value['name'];?>
</a>
<?php }?>
</li>
<?php
$_smarty_tpl->tpl_vars['m'] = $__foreach_m_0_saved_local_item;
}
if ($__foreach_m_0_saved_item) {
$_smarty_tpl->tpl_vars['m'] = $__foreach_m_0_saved_item;
}
?>
<?php if ($_smarty_tpl->tpl_vars['principal']->value) {?><li class="hidden-md hidden-lg"><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/logout">ESCI</a></li><?php }?>
<?php }?>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</header>
<?php if (isset($_smarty_tpl->tpl_vars['page']->value) && $_smarty_tpl->tpl_vars['page']->value['hero_video']) {?>
<section class="visible-xs">
<?php if ($_smarty_tpl->tpl_vars['page']->value['extra_props'] == 1) {?>
<?php $_smarty_tpl->tpl_vars['extra'] = new Smarty_Variable('&autoplay=1', null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'extra', 0);?>
<?php } elseif ($_smarty_tpl->tpl_vars['page']->value['extra_props'] == 2) {?>
<?php ob_start();
echo $_smarty_tpl->tpl_vars['page']->value['hero_video'];
$_tmp2=ob_get_clean();
$_smarty_tpl->tpl_vars['extra'] = new Smarty_Variable(('&autoplay=1&loop=1&playlist=').($_tmp2), null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'extra', 0);?>
<?php }?>
<div class="video-wrapper">
<iframe class="video" frameborder="0" width="100%" style="color: #f50;" src="https://youtube.com/embed/<?php echo $_smarty_tpl->tpl_vars['page']->value['hero_video'];?>
?mute=1&controls=0&showinfo=0&autohide=0&rel=0<?php echo $_smarty_tpl->tpl_vars['extra']->value;?>
" allowfullscreen></iframe>
</div>
</section>
<?php }?>
<?php
$_smarty_tpl->ext->_inheritance->processBlock($_smarty_tpl, 0, "content_full", array (
0 => 'block_88449712565d62772885d16_93711898',
1 => false,
3 => 0,
2 => 0,
), $_blockParentStack);
?>
<section class="footer-newsletter hidden-print <?php if ($_smarty_tpl->tpl_vars['request_uri']->value == '/filodiretto/newsletter') {?>hidden<?php }?>">
<div class="container">
<div class="row text-center">
<div class="col-sm-12 ">
<h4>
NEWSLETTER <br>
Rimani aggiornato sulle nostre novità
</h4>
<a class="btn btn-danger text-uppercase" href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/filodiretto/newsletter"> Iscriviti </a>
</div>
</div>
</div>
</section>
<footer class="footer hidden-print">
<div class="container">
<div class="row">
<div class="col-sm-2">
<div class="mt20 mb20">
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
">
<img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/logo.png" alt="Cadoro" class="img-responsive">
</a>
</div>
</div>
<div class="col-sm-4">
<div class="mt30 shop-description">
Parfina s.r.l. con unico socio<br>
Via Abbate 65 – 30020 Quarto d’Altino (VE) – Italia<br>
P.IVA 03604050272
</div>
</div>
<div class="col-sm-3">
<div class="footer-social">
<span class="label-s"> Seguici su</span>
<a href="https://www.instagram.com/cadoro_supermercati/" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/instagram.png" width="35px" alt="instagram"></a>
<a href="https://www.facebook.com/Cadoro.it" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/facebook.png" width="35px" alt="Facebook"></a>
</div>
</div>
<div class="col-sm-3">
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/area-riservata" class="footer-area-riservata">AREA RISERVATA</a>
</div>
</div>
</div>
<hr class="no-hidden-xs">
<div class="container">
<div class="row">
<?php $_smarty_tpl->tpl_vars["menu_footer"] = new Smarty_Variable(_menu('footer'), null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, "menu_footer", 0);?>
<?php if ($_smarty_tpl->tpl_vars['menu_footer']->value) {?>
<?php
$_from = $_smarty_tpl->tpl_vars['menu_footer']->value->content();
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_m_2_saved_item = isset($_smarty_tpl->tpl_vars['m']) ? $_smarty_tpl->tpl_vars['m'] : false;
$_smarty_tpl->tpl_vars['m'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['m']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['m']->value) {
$_smarty_tpl->tpl_vars['m']->_loop = true;
$__foreach_m_2_saved_local_item = $_smarty_tpl->tpl_vars['m'];
?>
<div class="col-md-2 col-sm-4 col-xs-6 mt10">
<a href="<?php echo $_smarty_tpl->tpl_vars['m']->value['link'];?>
"<?php if ($_smarty_tpl->tpl_vars['m']->value['class']) {?> class="<?php echo $_smarty_tpl->tpl_vars['m']->value['class'];?>
"<?php }
if ($_smarty_tpl->tpl_vars['m']->value['rel']) {?> rel="<?php echo $_smarty_tpl->tpl_vars['m']->value['rel'];?>
"<?php }?>><strong><?php echo $_smarty_tpl->tpl_vars['m']->value['name'];?>
</strong></a>
<?php if ($_smarty_tpl->tpl_vars['m']->value['children']) {?>
<ul class="list-unstyled mt5">
<?php
$_from = $_smarty_tpl->tpl_vars['m']->value['children'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_m2_3_saved_item = isset($_smarty_tpl->tpl_vars['m2']) ? $_smarty_tpl->tpl_vars['m2'] : false;
$_smarty_tpl->tpl_vars['m2'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['m2']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['m2']->value) {
$_smarty_tpl->tpl_vars['m2']->_loop = true;
$__foreach_m2_3_saved_local_item = $_smarty_tpl->tpl_vars['m2'];
?>
<li>
<a href="<?php echo $_smarty_tpl->tpl_vars['m2']->value['link'];?>
"<?php if ($_smarty_tpl->tpl_vars['m2']->value['class']) {?> class="<?php echo $_smarty_tpl->tpl_vars['m2']->value['class'];?>
"<?php }
if ($_smarty_tpl->tpl_vars['m2']->value['rel']) {?> rel="<?php echo $_smarty_tpl->tpl_vars['m2']->value['rel'];?>
"<?php }?>><?php echo $_smarty_tpl->tpl_vars['m2']->value['name'];?>
</a>
</li>
<?php
$_smarty_tpl->tpl_vars['m2'] = $__foreach_m2_3_saved_local_item;
}
if ($__foreach_m2_3_saved_item) {
$_smarty_tpl->tpl_vars['m2'] = $__foreach_m2_3_saved_item;
}
?>
</ul>
<?php }?>
</div>
<?php
$_smarty_tpl->tpl_vars['m'] = $__foreach_m_2_saved_local_item;
}
if ($__foreach_m_2_saved_item) {
$_smarty_tpl->tpl_vars['m'] = $__foreach_m_2_saved_item;
}
?>
<?php }?>
</div>
</div>
<?php $_smarty_tpl->tpl_vars["menu_legal"] = new Smarty_Variable(_menu('legal'), null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, "menu_legal", 0);?>
<?php if ($_smarty_tpl->tpl_vars['menu_legal']->value) {?>
<hr class="hidden-xs">
<div class="footer-legal">
<div class="container">
<div class="row">
<?php
$_from = $_smarty_tpl->tpl_vars['menu_legal']->value->content();
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_m_4_saved_item = isset($_smarty_tpl->tpl_vars['m']) ? $_smarty_tpl->tpl_vars['m'] : false;
$_smarty_tpl->tpl_vars['m'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['m']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['m']->value) {
$_smarty_tpl->tpl_vars['m']->_loop = true;
$__foreach_m_4_saved_local_item = $_smarty_tpl->tpl_vars['m'];
?>
<div class="col-md-2 col-sm-4 col-xs-6 mt25">
<a href="<?php echo $_smarty_tpl->tpl_vars['m']->value['link'];?>
"<?php if ($_smarty_tpl->tpl_vars['m']->value['class']) {?> class="<?php echo $_smarty_tpl->tpl_vars['m']->value['class'];?>
"<?php }
if ($_smarty_tpl->tpl_vars['m']->value['rel']) {?> rel="<?php echo $_smarty_tpl->tpl_vars['m']->value['rel'];?>
"<?php }?>><strong><?php echo $_smarty_tpl->tpl_vars['m']->value['name'];?>
</strong></a>
<?php if ($_smarty_tpl->tpl_vars['m']->value['children']) {?>
<ul class="list-unstyled mt10">
<?php
$_from = $_smarty_tpl->tpl_vars['m']->value['children'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_m2_5_saved_item = isset($_smarty_tpl->tpl_vars['m2']) ? $_smarty_tpl->tpl_vars['m2'] : false;
$_smarty_tpl->tpl_vars['m2'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['m2']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['m2']->value) {
$_smarty_tpl->tpl_vars['m2']->_loop = true;
$__foreach_m2_5_saved_local_item = $_smarty_tpl->tpl_vars['m2'];
?>
<li>
<a href="<?php echo $_smarty_tpl->tpl_vars['m2']->value['link'];?>
"<?php if ($_smarty_tpl->tpl_vars['m2']->value['class']) {?> class="<?php echo $_smarty_tpl->tpl_vars['m2']->value['class'];?>
"<?php }
if ($_smarty_tpl->tpl_vars['m2']->value['rel']) {?> rel="<?php echo $_smarty_tpl->tpl_vars['m2']->value['rel'];?>
"<?php }?>><?php echo $_smarty_tpl->tpl_vars['m2']->value['name'];?>
</a>
</li>
<?php
$_smarty_tpl->tpl_vars['m2'] = $__foreach_m2_5_saved_local_item;
}
if ($__foreach_m2_5_saved_item) {
$_smarty_tpl->tpl_vars['m2'] = $__foreach_m2_5_saved_item;
}
?>
</ul>
<?php }?>
</div>
<?php
$_smarty_tpl->tpl_vars['m'] = $__foreach_m_4_saved_local_item;
}
if ($__foreach_m_4_saved_item) {
$_smarty_tpl->tpl_vars['m'] = $__foreach_m_4_saved_item;
}
?>
</div>
</div>
</div>
<?php }?>
<hr class="gray">
<div class="footer-credits">
<div class="container">
<div class="row">
<div class="col-sm-12 text-right">
Site created by <a href="http://www.olojin.it" rel="external"><img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/olojin.png" alt="Olojin"></a>
</div>
</div>
</div>
</div>
</footer>
<?php
}
/* {/block 'body'} */
/* {block 'jstail'} file:layout-base.tmpl */
function block_159079988665d627728c7b19_46062547($_smarty_tpl, $_blockParentStack) {
}
/* {/block 'jstail'} */
}