File "7e27fbdfcb250a99ddcb8330ad1dfbba0ee4befa_0.file.punti-vendita-form.tmpl.php"

Full Path: /srv/www/www.cadoro.it/src/templates_c/7e27fbdfcb250a99ddcb8330ad1dfbba0ee4befa_0.file.punti-vendita-form.tmpl.php
File size: 2.32 KB
MIME-type: text/x-php
Charset: utf-8

<?php
/* Smarty version 3.1.29, created on 2024-02-21 17:41:19
  from "/srv/www/www.cadoro.it/src/templates/punti-vendita-form.tmpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_65d627afdbaae2_03815574',
  'file_dependency' => 
  array (
    '7e27fbdfcb250a99ddcb8330ad1dfbba0ee4befa' => 
    array (
      0 => '/srv/www/www.cadoro.it/src/templates/punti-vendita-form.tmpl',
      1 => 1708527642,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_65d627afdbaae2_03815574 ($_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['stores']->value) {?>
<div class="row mt10">
  <?php
$_from = $_smarty_tpl->tpl_vars['stores']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_store_0_saved_item = isset($_smarty_tpl->tpl_vars['store']) ? $_smarty_tpl->tpl_vars['store'] : false;
$_smarty_tpl->tpl_vars['store'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['store']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['store']->value) {
$_smarty_tpl->tpl_vars['store']->_loop = true;
$__foreach_store_0_saved_local_item = $_smarty_tpl->tpl_vars['store'];
?>
  <div class="col-sm-6">
    <a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/punti-vendita/<?php echo $_smarty_tpl->tpl_vars['store']->value['slug'];?>
" class="well well-xs well-punto-vendita mt10">
      <i class="fa fa-chevron-right"></i>
      <strong><?php echo $_smarty_tpl->tpl_vars['store']->value['title'];?>
</strong><br>
      <?php echo $_smarty_tpl->tpl_vars['store']->value['address'];?>
 - <?php echo $_smarty_tpl->tpl_vars['store']->value['zipcode'];?>
 <?php echo $_smarty_tpl->tpl_vars['store']->value['city'];?>
 (<?php echo $_smarty_tpl->tpl_vars['store']->value['province'];?>
)
    </a>
  </div>
  <?php
$_smarty_tpl->tpl_vars['store'] = $__foreach_store_0_saved_local_item;
}
if ($__foreach_store_0_saved_item) {
$_smarty_tpl->tpl_vars['store'] = $__foreach_store_0_saved_item;
}
?>
</div>
<?php }
if ($_smarty_tpl->tpl_vars['data']->value) {
echo '<script'; ?>
 type="text/javascript">
  if (window.updateStoreLocator) {
    window.updateStoreLocator(<?php echo json_encode($_smarty_tpl->tpl_vars['data']->value);?>
);
  }
<?php echo '</script'; ?>
>
<?php }
}
}