File "41aab7e17d4efec8240d1a92b544cb7987a303d2_0.file.cms-content-fluid.tmpl.php"

Full Path: /srv/www/www.cadoro.it/src/templates_c/41aab7e17d4efec8240d1a92b544cb7987a303d2_0.file.cms-content-fluid.tmpl.php
File size: 31.97 KB
MIME-type: text/x-php
Charset: utf-8

<?php
/* Smarty version 3.1.29, created on 2024-02-21 16:48:25
  from "/srv/www/www.test.cadoro.it/src/templates/cms-content-fluid.tmpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_65d61b4901ec96_51331669',
  'file_dependency' => 
  array (
    '41aab7e17d4efec8240d1a92b544cb7987a303d2' => 
    array (
      0 => '/srv/www/www.test.cadoro.it/src/templates/cms-content-fluid.tmpl',
      1 => 1708527642,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_65d61b4901ec96_51331669 ($_smarty_tpl) {
$_from = $_smarty_tpl->tpl_vars['page']->value->content();
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_content_0_saved_item = isset($_smarty_tpl->tpl_vars['content']) ? $_smarty_tpl->tpl_vars['content'] : false;
$_smarty_tpl->tpl_vars['content'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['content']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['content']->value) {
$_smarty_tpl->tpl_vars['content']->_loop = true;
$__foreach_content_0_saved_local_item = $_smarty_tpl->tpl_vars['content'];
if (($_smarty_tpl->tpl_vars['content']->value['condition'] == 1 || $_smarty_tpl->tpl_vars['content']->value['condition'] == 2 && !$_smarty_tpl->tpl_vars['principal']->value || $_smarty_tpl->tpl_vars['content']->value['condition'] == 3 && $_smarty_tpl->tpl_vars['principal']->value) && (isset($_smarty_tpl->tpl_vars['content']->value['published']) && $_smarty_tpl->tpl_vars['content']->value['published']) && (!isset($_smarty_tpl->tpl_vars['content']->value['published']) || !$_smarty_tpl->tpl_vars['content']->value['published_datetime'] || $_smarty_tpl->tpl_vars['content']->value['published_datetime'] <= date('Y-m-d H:i:s')) && (!isset($_smarty_tpl->tpl_vars['content']->value['published2']) || !$_smarty_tpl->tpl_vars['content']->value['published_datetime2'] || $_smarty_tpl->tpl_vars['content']->value['published_datetime2'] > date('Y-m-d H:i:s'))) {?>
  <?php if (isset($_smarty_tpl->tpl_vars['content']->value['slug']) && $_smarty_tpl->tpl_vars['content']->value['slug']) {?><a name="<?php echo $_smarty_tpl->tpl_vars['content']->value['slug'];?>
"></a><?php }?>
  
  <?php if ($_smarty_tpl->tpl_vars['content']->value['type'] == 1) {?>
    <header id="content-<?php echo $_smarty_tpl->tpl_vars['content']->value['id'];?>
" class="intro<?php if ($_smarty_tpl->tpl_vars['content']->value['class']) {?> <?php echo $_smarty_tpl->tpl_vars['content']->value['class'];
}?>"<?php if ($_smarty_tpl->tpl_vars['content']->value['image']) {?> style="background-image: url(<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['content']->value['image'];?>
);"<?php }?>>
      <div class="intro-body">
        <div class="container-wrapper">
          <div class="row">
            <div class="col-md-8 col-md-offset-2">
              <?php if ($_smarty_tpl->tpl_vars['content']->value['title']) {?>
                <h1 class="brand-heading"><?php echo $_smarty_tpl->tpl_vars['content']->value['title'];?>
</h1>
              <?php }?>
              <?php if ($_smarty_tpl->tpl_vars['content']->value['subtitle']) {?>
                <p class="intro-text"><?php echo $_smarty_tpl->tpl_vars['content']->value['subtitle'];?>
</p>
              <?php }?>
              <?php if ($_smarty_tpl->tpl_vars['content']->value['cta']) {?>
              <a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['cta_link'];?>
" class="btn btn-default page-scroll">
                <?php echo $_smarty_tpl->tpl_vars['content']->value['cta'];?>

              </a>
              <?php }?>
            </div>
          </div>
        </div>
      </div>
    </header>

  
  <?php } elseif ($_smarty_tpl->tpl_vars['content']->value['type'] == 11) {?>
    <section id="content-<?php echo $_smarty_tpl->tpl_vars['content']->value['id'];?>
" class="container-wrapper content-section<?php if ($_smarty_tpl->tpl_vars['content']->value['class']) {?> <?php echo $_smarty_tpl->tpl_vars['content']->value['class'];
}?>">
      <div class="row">
        <div class="col-sm-12">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['title'] || $_smarty_tpl->tpl_vars['content']->value['subtitle']) {?>
          <h2 class="h2">
            <?php echo $_smarty_tpl->tpl_vars['content']->value['title'];?>

            <?php if ($_smarty_tpl->tpl_vars['content']->value['subtitle']) {?>
              <small<?php if ($_smarty_tpl->tpl_vars['content']->value['title']) {?> class="mt10"<?php }?>><?php echo $_smarty_tpl->tpl_vars['content']->value['subtitle'];?>
</small>
            <?php }?>
          </h2>
          <?php }?>
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image']) {?>
          <div class="text-center">
            <?php if ($_smarty_tpl->tpl_vars['content']->value['image_link']) {?><a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['image_link'];?>
"><?php }?>
            <img src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['content']->value['image'];?>
" alt="" class="img-responsive">
            <?php if ($_smarty_tpl->tpl_vars['content']->value['image_link']) {?></a><?php }?>
          </div>
          <?php }?>
          <div class="content mt30">
            <?php echo $_smarty_tpl->tpl_vars['content']->value['text_1'];?>

          </div>
          <?php if ($_smarty_tpl->tpl_vars['content']->value['cta']) {?>
          <p class="mt30">
            <a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['cta_link'];?>
" class="btn btn-default page-scroll">
              <?php echo $_smarty_tpl->tpl_vars['content']->value['cta'];?>

            </a>
          </p>
          <?php }?>
        </div>
      </div>
    </section>

  
  <?php } elseif ($_smarty_tpl->tpl_vars['content']->value['type'] == 12) {?>
    <section id="content-<?php echo $_smarty_tpl->tpl_vars['content']->value['id'];?>
" class="container-wrapper content-section<?php if ($_smarty_tpl->tpl_vars['content']->value['class']) {?> <?php echo $_smarty_tpl->tpl_vars['content']->value['class'];
}?>">
      <div class="row">
        <div class="col-sm-12">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['title']) {?>
          <h2>
            <?php echo $_smarty_tpl->tpl_vars['content']->value['title'];?>

            <?php if ($_smarty_tpl->tpl_vars['content']->value['subtitle']) {?>
              <small class="mt10"><?php echo $_smarty_tpl->tpl_vars['content']->value['subtitle'];?>
</small>
            <?php }?>
          </h2>
          <?php }?>
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image']) {?>
          <div class="text-center">
            <?php if ($_smarty_tpl->tpl_vars['content']->value['image_link']) {?><a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['image_link'];?>
"><?php }?>
            <img src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['content']->value['image'];?>
" alt="" class="img-responsive">
            <?php if ($_smarty_tpl->tpl_vars['content']->value['image_link']) {?></a><?php }?>
          </div>
          <?php }?>
          <?php if ($_smarty_tpl->tpl_vars['content']->value['cta']) {?>
          <p class="mt30">
            <a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['cta_link'];?>
" class="btn btn-default page-scroll">
              <?php echo $_smarty_tpl->tpl_vars['content']->value['cta'];?>

            </a>
          </p>
          <?php }?>
        </div>
      </div>
      <div class="row">
        <div class="col-sm-6 content">
          <?php echo $_smarty_tpl->tpl_vars['content']->value['text_1'];?>

        </div>
        <div class="col-sm-6 content">
          <?php echo $_smarty_tpl->tpl_vars['content']->value['text_2'];?>

        </div>
      </div>
    </section>

  
  <?php } elseif ($_smarty_tpl->tpl_vars['content']->value['type'] == 14) {?>
    <section id="content-<?php echo $_smarty_tpl->tpl_vars['content']->value['id'];?>
" class="container-wrapper content-section<?php if ($_smarty_tpl->tpl_vars['content']->value['class']) {?> <?php echo $_smarty_tpl->tpl_vars['content']->value['class'];
}?>">
      <div class="row">
        <div class="col-sm-12">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['title']) {?>
          <h2>
            <?php echo $_smarty_tpl->tpl_vars['content']->value['title'];?>

            <?php if ($_smarty_tpl->tpl_vars['content']->value['subtitle']) {?>
              <small class="mt10"><?php echo $_smarty_tpl->tpl_vars['content']->value['subtitle'];?>
</small>
            <?php }?>
          </h2>
          <?php }?>
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image']) {?>
          <div class="text-center">
            <?php if ($_smarty_tpl->tpl_vars['content']->value['image_link']) {?><a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['image_link'];?>
"><?php }?>
            <img src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['content']->value['image'];?>
" alt="" class="img-responsive">
            <?php if ($_smarty_tpl->tpl_vars['content']->value['image_link']) {?></a><?php }?>
          </div>
          <?php }?>
          <?php if ($_smarty_tpl->tpl_vars['content']->value['cta']) {?>
          <p class="mt30">
            <a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['cta_link'];?>
" class="btn btn-default page-scroll">
              <?php echo $_smarty_tpl->tpl_vars['content']->value['cta'];?>

            </a>
          </p>
          <?php }?>
        </div>
      </div>
      <div class="row">
        <div class="col-sm-6 content">
          <div class="well well-yellow">
            <?php echo $_smarty_tpl->tpl_vars['content']->value['text_1'];?>

          </div>
        </div>
        <div class="col-sm-6 content">
          <div class="well well-orange">
            <?php echo $_smarty_tpl->tpl_vars['content']->value['text_2'];?>

          </div>
        </div>
      </div>
    </section>

  
  <?php } elseif ($_smarty_tpl->tpl_vars['content']->value['type'] == 13) {?>
    <section id="content-<?php echo $_smarty_tpl->tpl_vars['content']->value['id'];?>
" class="container-wrapper content-section<?php if ($_smarty_tpl->tpl_vars['content']->value['class']) {?> <?php echo $_smarty_tpl->tpl_vars['content']->value['class'];
}?>">
      <div class="row">
        <div class="col-sm-12">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['title']) {?>
          <h2>
            <?php echo $_smarty_tpl->tpl_vars['content']->value['title'];?>

            <?php if ($_smarty_tpl->tpl_vars['content']->value['subtitle']) {?>
              <small class="mt10"><?php echo $_smarty_tpl->tpl_vars['content']->value['subtitle'];?>
</small>
            <?php }?>
          </h2>
          <?php }?>
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image']) {?>
          <div class="text-center">
            <?php if ($_smarty_tpl->tpl_vars['content']->value['image_link']) {?><a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['image_link'];?>
"><?php }?>
            <img src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['content']->value['image'];?>
" alt="" class="img-responsive">
            <?php if ($_smarty_tpl->tpl_vars['content']->value['image_link']) {?></a><?php }?>
          </div>
          <?php }?>
          <?php if ($_smarty_tpl->tpl_vars['content']->value['cta']) {?>
          <p class="mt30">
            <a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['cta_link'];?>
" class="btn btn-default page-scroll">
              <?php echo $_smarty_tpl->tpl_vars['content']->value['cta'];?>

            </a>
          </p>
          <?php }?>
        </div>
      </div>
      <div class="row">
        <div class="col-sm-4 content">
          <?php echo $_smarty_tpl->tpl_vars['content']->value['text_1'];?>

        </div>
        <div class="col-sm-4 content">
          <?php echo $_smarty_tpl->tpl_vars['content']->value['text_2'];?>

        </div>
        <div class="col-sm-4 content">
          <?php echo $_smarty_tpl->tpl_vars['content']->value['text_3'];?>

        </div>
      </div>
    </section>

  
  <?php } elseif ($_smarty_tpl->tpl_vars['content']->value['type'] == 21 || $_smarty_tpl->tpl_vars['content']->value['type'] == 23) {?>
    <section id="content-<?php echo $_smarty_tpl->tpl_vars['content']->value['id'];?>
" class="container-wrapper content-section<?php if ($_smarty_tpl->tpl_vars['content']->value['class']) {?> <?php echo $_smarty_tpl->tpl_vars['content']->value['class'];
}?>">
      <div class="row">
        <div class="col-sm-<?php if ($_smarty_tpl->tpl_vars['content']->value['type'] == 21) {?>6<?php } else { ?>8<?php }?>">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['title']) {?>
          <h2 class="mt40">
            <?php echo $_smarty_tpl->tpl_vars['content']->value['title'];?>

            <?php if ($_smarty_tpl->tpl_vars['content']->value['subtitle']) {?>
              <small class="mt10"><?php echo $_smarty_tpl->tpl_vars['content']->value['subtitle'];?>
</small>
            <?php }?>
          </h2>
          <?php }?>
          <div class="content">
            <?php echo $_smarty_tpl->tpl_vars['content']->value['text_1'];?>

          </div>
          <?php if ($_smarty_tpl->tpl_vars['content']->value['cta']) {?>
          <p class="mt40">
            <a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['cta_link'];?>
" class="btn btn-default page-scroll">
              <?php echo $_smarty_tpl->tpl_vars['content']->value['cta'];?>

            </a>
          </p>
          <?php }?>
        </div>
        <div class="col-sm-<?php if ($_smarty_tpl->tpl_vars['content']->value['type'] == 21) {?>6<?php } else { ?>4<?php }?>">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image']) {?>
          <div class="text-center">
            <?php if ($_smarty_tpl->tpl_vars['content']->value['image_link']) {?><a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['image_link'];?>
"><?php }?>
            <img src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['content']->value['image'];?>
" alt="" class="img-responsive">
            <?php if ($_smarty_tpl->tpl_vars['content']->value['image_link']) {?></a><?php }?>
          </div>
          <?php }?>
        </div>
      </div>
    </section>

  
  <?php } elseif ($_smarty_tpl->tpl_vars['content']->value['type'] == 22 || $_smarty_tpl->tpl_vars['content']->value['type'] == 24) {?>
    <section id="content-<?php echo $_smarty_tpl->tpl_vars['content']->value['id'];?>
" class="container-wrapper content-section<?php if ($_smarty_tpl->tpl_vars['content']->value['class']) {?> <?php echo $_smarty_tpl->tpl_vars['content']->value['class'];
}?>">
      <div class="row">
        <div class="col-sm-<?php if ($_smarty_tpl->tpl_vars['content']->value['type'] == 21) {?>6<?php } else { ?>8<?php }?> col-sm-push-<?php if ($_smarty_tpl->tpl_vars['content']->value['type'] == 21) {?>6<?php } else { ?>4<?php }?>">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['title']) {?>
          <h2 class="mt40">
            <?php echo $_smarty_tpl->tpl_vars['content']->value['title'];?>

            <?php if ($_smarty_tpl->tpl_vars['content']->value['subtitle']) {?>
              <small class="mt10"><?php echo $_smarty_tpl->tpl_vars['content']->value['subtitle'];?>
</small>
            <?php }?>
          </h2>
          <?php }?>
          <div class="content">
            <?php echo $_smarty_tpl->tpl_vars['content']->value['text_1'];?>

          </div>
          <?php if ($_smarty_tpl->tpl_vars['content']->value['cta']) {?>
          <p class="mt40">
            <a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['cta_link'];?>
" class="btn btn-default page-scroll">
              <?php echo $_smarty_tpl->tpl_vars['content']->value['cta'];?>

            </a>
          </p>
          <?php }?>
        </div>
        <div class="col-sm-<?php if ($_smarty_tpl->tpl_vars['content']->value['type'] == 21) {?>6<?php } else { ?>4<?php }?> col-sm-pull-<?php if ($_smarty_tpl->tpl_vars['content']->value['type'] == 21) {?>6<?php } else { ?>8<?php }?>">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image']) {?>
          <div class="text-center">
            <?php if ($_smarty_tpl->tpl_vars['content']->value['image_link']) {?><a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['image_link'];?>
"><?php }?>
            <img src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['content']->value['image'];?>
" alt="" class="img-responsive">
            <?php if ($_smarty_tpl->tpl_vars['content']->value['image_link']) {?></a><?php }?>
          </divt>
          <?php }?>
        </div>
      </div>
    </section>

  
  <?php } elseif ($_smarty_tpl->tpl_vars['content']->value['type'] == 25) {?>

  <section id="content-<?php echo $_smarty_tpl->tpl_vars['content']->value['id'];?>
" class="container-wrapper content-section" style="background: transparent url(<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['content']->value['image'];?>
) top center no-repeat;">
    <div class="container-wrapper">
      <div class="row">
        <div class="<?php if ($_smarty_tpl->tpl_vars['content']->value['class']) {?> <?php echo $_smarty_tpl->tpl_vars['content']->value['class'];
}?>">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['title'] || $_smarty_tpl->tpl_vars['content']->value['subtitle']) {?>
          <h2 class="h2">
            <?php echo $_smarty_tpl->tpl_vars['content']->value['title'];?>

            <?php if ($_smarty_tpl->tpl_vars['content']->value['subtitle']) {?>
              <small<?php if ($_smarty_tpl->tpl_vars['content']->value['title']) {?> class="mt10"<?php }?>><?php echo $_smarty_tpl->tpl_vars['content']->value['subtitle'];?>
</small>
            <?php }?>
          </h2>
          <?php }?>
          <div class="content mt30">
            <?php echo $_smarty_tpl->tpl_vars['content']->value['text_1'];?>

          </div>
          <?php if ($_smarty_tpl->tpl_vars['content']->value['cta']) {?>
          <p class="mt30">
            <a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['cta_link'];?>
" class="btn btn-default page-scroll">
              <?php echo $_smarty_tpl->tpl_vars['content']->value['cta'];?>

            </a>
          </p>
          <?php }?>
        </div>
      </div>
    </div>
  </section>

  
  <?php } elseif ($_smarty_tpl->tpl_vars['content']->value['type'] == 31) {?>
    <section id="content-<?php echo $_smarty_tpl->tpl_vars['content']->value['id'];?>
" class="container-wrapper content-section<?php if ($_smarty_tpl->tpl_vars['content']->value['class']) {?> <?php echo $_smarty_tpl->tpl_vars['content']->value['class'];
}?>">
      <div class="row">
        <div class="col-sm-6">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image_1_link']) {?><a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['image_1_link'];?>
"><?php }?>
          <img src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['content']->value['image_1'];?>
" alt="" class="img-responsive">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image_1_link']) {?></a><?php }?>
          <?php if ($_smarty_tpl->tpl_vars['content']->value['text_1']) {?>
          <div class="mt10">
            <?php echo $_smarty_tpl->tpl_vars['content']->value['text_1'];?>

          </div>
          <?php }?>
        </div>
        <div class="col-sm-6">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image_2_link']) {?><a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['image_2_link'];?>
"><?php }?>
          <img src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['content']->value['image_2'];?>
" alt="" class="img-responsive">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image_2_link']) {?></a><?php }?>
          <?php if ($_smarty_tpl->tpl_vars['content']->value['text_2']) {?>
          <div class="mt10">
            <?php echo $_smarty_tpl->tpl_vars['content']->value['text_2'];?>

          </div>
          <?php }?>
        </div>
      </div>
    </section>

  
  <?php } elseif ($_smarty_tpl->tpl_vars['content']->value['type'] == 32) {?>
    <section id="content-<?php echo $_smarty_tpl->tpl_vars['content']->value['id'];?>
" class="container-wrapper content-section<?php if ($_smarty_tpl->tpl_vars['content']->value['class']) {?> <?php echo $_smarty_tpl->tpl_vars['content']->value['class'];
}?>">
      <div class="row">
        <div class="col-sm-4">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image_1_link']) {?><a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['image_1_link'];?>
"><?php }?>
          <img src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['content']->value['image_1'];?>
" alt="" class="img-responsive">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image_1_link']) {?></a><?php }?>
          <?php if ($_smarty_tpl->tpl_vars['content']->value['text_1']) {?>
          <div class="mt10">
            <?php echo $_smarty_tpl->tpl_vars['content']->value['text_1'];?>

          </div>
          <?php }?>
        </div>
        <div class="col-sm-4">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image_2_link']) {?><a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['image_2_link'];?>
"><?php }?>
          <img src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['content']->value['image_2'];?>
" alt="" class="img-responsive">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image_2_link']) {?></a><?php }?>
          <?php if ($_smarty_tpl->tpl_vars['content']->value['text_2']) {?>
          <div class="mt10">
            <?php echo $_smarty_tpl->tpl_vars['content']->value['text_2'];?>

          </div>
          <?php }?>
        </div>
        <div class="col-sm-4">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image_3_link']) {?><a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['image_3_link'];?>
"><?php }?>
          <img src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['content']->value['image_3'];?>
" alt="" class="img-responsive">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image_3_link']) {?></a><?php }?>
          <?php if ($_smarty_tpl->tpl_vars['content']->value['text_3']) {?>
          <div class="mt10">
            <?php echo $_smarty_tpl->tpl_vars['content']->value['text_3'];?>

          </div>
          <?php }?>
        </div>
      </div>
    </section>

  
  <?php } elseif ($_smarty_tpl->tpl_vars['content']->value['type'] == 33) {?>
    <section id="content-<?php echo $_smarty_tpl->tpl_vars['content']->value['id'];?>
" class="container-wrapper content-section<?php if ($_smarty_tpl->tpl_vars['content']->value['class']) {?> <?php echo $_smarty_tpl->tpl_vars['content']->value['class'];
}?>">
      <div class="row">
        <div class="col-sm-3">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image_1_link']) {?><a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['image_1_link'];?>
"><?php }?>
          <img src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['content']->value['image_1'];?>
" alt="" class="img-responsive">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image_1_link']) {?></a><?php }?>
          <?php if ($_smarty_tpl->tpl_vars['content']->value['text_1']) {?>
          <div class="mt10">
            <?php echo $_smarty_tpl->tpl_vars['content']->value['text_1'];?>

          </div>
          <?php }?>
        </div>
        <div class="col-sm-3">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image_2_link']) {?><a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['image_2_link'];?>
"><?php }?>
          <img src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['content']->value['image_2'];?>
" alt="" class="img-responsive">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image_2_link']) {?></a><?php }?>
          <?php if ($_smarty_tpl->tpl_vars['content']->value['text_2']) {?>
          <div class="mt10">
            <?php echo $_smarty_tpl->tpl_vars['content']->value['text_2'];?>

          </div>
          <?php }?>
        </div>
        <div class="col-sm-3">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image_3_link']) {?><a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['image_3_link'];?>
"><?php }?>
          <img src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['content']->value['image_3'];?>
" alt="" class="img-responsive">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image_3_link']) {?></a><?php }?>
          <?php if ($_smarty_tpl->tpl_vars['content']->value['text_3']) {?>
          <div class="mt10">
            <?php echo $_smarty_tpl->tpl_vars['content']->value['text_3'];?>

          </div>
          <?php }?>
        </div>
        <div class="col-sm-3">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image_4_link']) {?><a href="<?php echo $_smarty_tpl->tpl_vars['content']->value['image_4_link'];?>
"><?php }?>
          <img src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['content']->value['image_4'];?>
" alt="" class="img-responsive">
          <?php if ($_smarty_tpl->tpl_vars['content']->value['image_4_link']) {?></a><?php }?>
          <?php if ($_smarty_tpl->tpl_vars['content']->value['text_4']) {?>
          <div class="mt10">
            <?php echo $_smarty_tpl->tpl_vars['content']->value['text_4'];?>

          </div>
          <?php }?>
        </div>
      </div>
    </section>
  <?php }?>

  <?php if ($_smarty_tpl->tpl_vars['content']->value['images'] && $_smarty_tpl->tpl_vars['page']->value['category']['category_id'] != 4) {?>
  <div class="container-wrapper">
    <div id="carousel" class="carousel slide mt30" data-interval="3000">
      <div class="carousel-inner">
        <?php
$_from = $_smarty_tpl->tpl_vars['content']->value['images'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_image_1_saved_item = isset($_smarty_tpl->tpl_vars['image']) ? $_smarty_tpl->tpl_vars['image'] : false;
$__foreach_image_1_saved_key = isset($_smarty_tpl->tpl_vars['i']) ? $_smarty_tpl->tpl_vars['i'] : false;
$_smarty_tpl->tpl_vars['image'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['i'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['image']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['i']->value => $_smarty_tpl->tpl_vars['image']->value) {
$_smarty_tpl->tpl_vars['image']->_loop = true;
$__foreach_image_1_saved_local_item = $_smarty_tpl->tpl_vars['image'];
?>
        <div class="item<?php if ($_smarty_tpl->tpl_vars['i']->value == 0) {?> active<?php }?>">
          <a href="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['image']->value['asset'];?>
" rel="inappbrowser"><!-- gallery -->
            <img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/assets/<?php echo $_smarty_tpl->tpl_vars['image']->value['asset'];?>
" class="img-responsive" alt="">
          </a>
        </div>
        <?php
$_smarty_tpl->tpl_vars['image'] = $__foreach_image_1_saved_local_item;
}
if ($__foreach_image_1_saved_item) {
$_smarty_tpl->tpl_vars['image'] = $__foreach_image_1_saved_item;
}
if ($__foreach_image_1_saved_key) {
$_smarty_tpl->tpl_vars['i'] = $__foreach_image_1_saved_key;
}
?>
      </div>
      <?php if (count($_smarty_tpl->tpl_vars['content']->value['images']) > 1) {?>
      <div class="carousel-indicators-container-wrapper">
        <ol class="carousel-indicators">
          <?php
$_from = $_smarty_tpl->tpl_vars['content']->value['images'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_image_2_saved_item = isset($_smarty_tpl->tpl_vars['image']) ? $_smarty_tpl->tpl_vars['image'] : false;
$__foreach_image_2_saved_key = isset($_smarty_tpl->tpl_vars['i']) ? $_smarty_tpl->tpl_vars['i'] : false;
$_smarty_tpl->tpl_vars['image'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['i'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['image']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['i']->value => $_smarty_tpl->tpl_vars['image']->value) {
$_smarty_tpl->tpl_vars['image']->_loop = true;
$__foreach_image_2_saved_local_item = $_smarty_tpl->tpl_vars['image'];
?>
          <li data-target="#carousel" data-slide-to="<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
"<?php if ($_smarty_tpl->tpl_vars['i']->value == 0) {?> class="active"<?php }?>></li>
          <?php
$_smarty_tpl->tpl_vars['image'] = $__foreach_image_2_saved_local_item;
}
if ($__foreach_image_2_saved_item) {
$_smarty_tpl->tpl_vars['image'] = $__foreach_image_2_saved_item;
}
if ($__foreach_image_2_saved_key) {
$_smarty_tpl->tpl_vars['i'] = $__foreach_image_2_saved_key;
}
?>
        </ol>
      </div>
      <?php }?>
    </div>
  </div>
  <?php }?>

  <?php if (isset($_smarty_tpl->tpl_vars['content']->value['extra']) && $_smarty_tpl->tpl_vars['content']->value['extra']) {?>
  <?php
$_from = $_smarty_tpl->tpl_vars['content']->value['extra'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_extra_3_saved_item = isset($_smarty_tpl->tpl_vars['extra']) ? $_smarty_tpl->tpl_vars['extra'] : false;
$_smarty_tpl->tpl_vars['extra'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['extra']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['extra']->value) {
$_smarty_tpl->tpl_vars['extra']->_loop = true;
$__foreach_extra_3_saved_local_item = $_smarty_tpl->tpl_vars['extra'];
?>
    <?php if ($_smarty_tpl->tpl_vars['extra']->value == 'gift-card-saldo') {?>
    <div class="container-wrapper mt40">
      <?php if (isset($_smarty_tpl->tpl_vars['result']->value) && $_smarty_tpl->tpl_vars['result']->value['action'] == $_smarty_tpl->tpl_vars['extra']->value) {?>
        <strong>Risultato della verifica:</strong><br>
        Numero Gift Card: <?php echo $_smarty_tpl->tpl_vars['result']->value['card'];?>
<br>
        Scadenza: <?php echo _dd($_smarty_tpl->tpl_vars['result']->value['expiration']);?>
<br>
        Importo: <?php echo _n($_smarty_tpl->tpl_vars['result']->value['amount'],2);?>
<br><br>
        <a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;
echo $_smarty_tpl->tpl_vars['request_uri']->value;?>
">Nuova verifica&hellip;</a>
      <?php } else { ?>
      <form method="post" action="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;
echo $_smarty_tpl->tpl_vars['request_uri']->value;?>
">
        <input type="hidden" name="action" value="<?php echo $_smarty_tpl->tpl_vars['extra']->value;?>
">
        <strong>Verifica il saldo disponibile!</strong><br>
        Inserisci i codici riportati sul retro della tua GifCard Cadoro e controlla<br>
        il saldo disponibile e la data di scadenza.
        <div class="row">
          <div class="col-sm-4 mt20 mb20">
            <input type="text" name="card" value="<?php echo _fr('card');?>
" class="form-control">
          </div>
        </div>
        <div class="g-recaptcha mb20" data-sitekey="6LdwKAwUAAAAAIYEzff15dMp9eifSq48NP3j4GwJ"></div>
        <?php echo '<script'; ?>
 type="text/javascript" src="https://www.google.com/recaptcha/api.js?hl=it"><?php echo '</script'; ?>
>
        <button type="submit" class="btn btn-danger btn-lg">INVIA</button>
      </form>
      <?php }?>
    </div>
    <?php }?>
  <?php
$_smarty_tpl->tpl_vars['extra'] = $__foreach_extra_3_saved_local_item;
}
if ($__foreach_extra_3_saved_item) {
$_smarty_tpl->tpl_vars['extra'] = $__foreach_extra_3_saved_item;
}
?>
  <?php }?>

<?php }
$_smarty_tpl->tpl_vars['content'] = $__foreach_content_0_saved_local_item;
}
if ($__foreach_content_0_saved_item) {
$_smarty_tpl->tpl_vars['content'] = $__foreach_content_0_saved_item;
}
}
}