File "70847ea570db297ea0c23be5035aafec31085f5c_0.file.home.tmpl-20241022115118.php"
Full Path: /srv/www/www.cadoro.it/src/templates_c/70847ea570db297ea0c23be5035aafec31085f5c_0.file.home.tmpl-20241022115118.php
File size: 6.84 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/* Smarty version 3.1.29, created on 2024-02-21 17:40:20
from "/srv/www/www.cadoro.it/src/templates/home.tmpl" */
if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
'has_nocache_code' => false,
'version' => '3.1.29',
'unifunc' => 'content_65d62774393518_81013674',
'file_dependency' =>
array (
'70847ea570db297ea0c23be5035aafec31085f5c' =>
array (
0 => '/srv/www/www.cadoro.it/src/templates/home.tmpl',
1 => 1708527642,
2 => 'file',
),
),
'includes' =>
array (
'file:home-ajax.tmpl' => 1,
),
),false)) {
function content_65d62774393518_81013674 ($_smarty_tpl) {
?>
<div class="container">
<h1 class="hidden">Supermercati Cadoro</h1>
<h2 class="text-center mt60 mb20">
I CONSIGLI E LE NOSTRE NOVITÀ
<small class="hidden-xs">
Visualizza i contenuti che ti interessano cliccando sulle icone
</small>
</h2>
<ul class="nav nav-pills nav-pills-magazine hidden-xs">
<?php
$_from = $_smarty_tpl->tpl_vars['categories']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_c_0_saved_item = isset($_smarty_tpl->tpl_vars['c']) ? $_smarty_tpl->tpl_vars['c'] : false;
$_smarty_tpl->tpl_vars['c'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['c']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['c']->value) {
$_smarty_tpl->tpl_vars['c']->_loop = true;
$__foreach_c_0_saved_local_item = $_smarty_tpl->tpl_vars['c'];
?>
<li role="presentation" class="text-center" style="width: <?php echo _float(100/(count($_smarty_tpl->tpl_vars['categories']->value)+1));?>
%;">
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/magazine/<?php echo $_smarty_tpl->tpl_vars['c']->value['slug'];?>
">
<div class="mb10"><img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['c']->value['image_list'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['c']->value['title'];?>
"></div>
<?php echo $_smarty_tpl->tpl_vars['c']->value['title'];?>
</a>
</li>
<?php
$_smarty_tpl->tpl_vars['c'] = $__foreach_c_0_saved_local_item;
}
if ($__foreach_c_0_saved_item) {
$_smarty_tpl->tpl_vars['c'] = $__foreach_c_0_saved_item;
}
?>
<li role="presentation" class="text-center" style="width: <?php echo _float(100/(count($_smarty_tpl->tpl_vars['categories']->value)+1));?>
%;">
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/news">
<div class="mb10"><img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/magazine-news.png" alt="NEWS"></div>
NEWS
</a>
</li>
</ul>
<?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, "file:home-ajax.tmpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
</div>
<div class="home-cardoro mt80">
<div class="container">
<div class="row">
<div class="col-sm-3">
<h2>
I NOSTRI CLIENTI SONO PREZIOSI!
<small class="mt20">SCOPRI IL NUOVO PROGRAMMA <span class="orange">Card’Oro</span></small>
</h2>
<img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/cardoro.png" class="img-responsive hidden-sm hidden-xs" style="margin-bottom: -120px;">
</div>
<div class="col-sm-9">
<div class="row">
<div class="col-sm-4">
<h3>
SALDO PUNTI
</h3>
<p>
Iscriviti al portale e tieni sotto controllo i punti della tua carta fedeltà
</p>
</div>
<div class="col-sm-4">
<h3>
ACCUMULA PIÙ PUNTI
</h3>
<p>
Scopri come fare per aumentare
i tuoi punti per risparmiare
sempre di più
</p>
</div>
<div class="col-sm-4">
<h3>
UTILIZZA PUNTI
</h3>
<p>
Scopri come utilizzare
i punti oro della tua carta fedeltà
</p>
</div>
</div>
<div class="row">
<div class="col-sm-4">
<h3>
LISTA DELLA SPESA
</h3>
<p>
Crea la lista della spesa aggiungendo i prodotti dal catalogo, dalle ricette o manualmente
</p>
</div>
<div class="col-sm-4">
<h3>
CONTENUTI PREFERITI
</h3>
<p>
Crea la tua raccolta aggiungendo
gli articoli del magazine e le ricette
</p>
</div>
</div>
<div class="row">
<div class="col-sm-9">
</div>
<div class="col-sm-3">
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/registrazione" class="btn btn-default btn-lg btn-block">REGISTRATI</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="home-beauty mt40">
<div class="container">
<div class="text-center">
<img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/cadoro-home-beauty.jpg" alt="CADORO HOME & BEAUTY" class="img-responsive">
</div>
<div class="row">
<div class="col-sm-8 col-sm-offset-2 mt40">
<p class="text-center">
<strong>Cadoro si prende cura di te</strong>, della tua famiglia e della <strong>tua casa</strong>
non soltanto attraverso i suoi prodotti alimentari, ma anche grazie alle nuove linee prodotto.
</p>
</div>
</div>
<div class="row">
<div class="col-sm-6 mt40">
<img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/cadoro-home-beauty-2.jpg" alt="CADORO HOME & BEAUTY" class="img-responsive">
</div>
<div class="col-sm-4 mt40">
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/home-beauty" class="btn-2 mt60">
<strong>PER LA TUA PERSONA</strong>
una cura speciale
</a>
</div>
</div>
</div>
</div>
<div class="home-giftcard mt40" style="background-color: #557c0a;">
<div class="container">
<div class="row">
<div class="col-sm-8 mt20">
<img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/home-giftcard-1.jpg" alt="CADORO HOME & BEAUTY" class="img-responsive">
</div>
<div class="col-sm-4 mt20">
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/gift-card" class="btn-1 mt10">
<strong>PER TE</strong>
un nuovo modo di fare la spesa
</a>
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/gift-card/aziende" class="btn-1 mt20">
<strong>PER LE AZIENDE</strong>
un vantaggio per te e per il tuo team
</a>
</div>
</div>
</div>
</div>
<?php }
}