File "a35b45aeec8fd1817f1cc187405280dbbf65a231_0.file.filodiretto.tmpl.php"

Full Path: /srv/www/www.cadoro.it/src/templates_c/a35b45aeec8fd1817f1cc187405280dbbf65a231_0.file.filodiretto.tmpl.php
File size: 7.73 KB
MIME-type: text/x-php
Charset: utf-8

<?php
/* Smarty version 3.1.29, created on 2024-02-21 18:35:01
  from "/srv/www/www.cadoro.it/src/templates/filodiretto.tmpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_65d634456aa346_17126595',
  'file_dependency' => 
  array (
    'a35b45aeec8fd1817f1cc187405280dbbf65a231' => 
    array (
      0 => '/srv/www/www.cadoro.it/src/templates/filodiretto.tmpl',
      1 => 1708527642,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:layout-base.tmpl' => 1,
  ),
),false)) {
function content_65d634456aa346_17126595 ($_smarty_tpl) {
$_smarty_tpl->ext->_inheritance->init($_smarty_tpl, true);
?>


<?php 
$_smarty_tpl->ext->_inheritance->processBlock($_smarty_tpl, 0, 'title', array (
  0 => 'block_212577427965d6344566e446_30457506',
  1 => false,
  3 => 0,
  2 => 0,
));
?>


<?php 
$_smarty_tpl->ext->_inheritance->processBlock($_smarty_tpl, 0, "head", array (
  0 => 'block_170622575265d63445670cb5_76472149',
  1 => false,
  3 => 0,
  2 => 0,
));
?>


<?php 
$_smarty_tpl->ext->_inheritance->processBlock($_smarty_tpl, 0, "content", array (
  0 => 'block_212698119165d63445672fa7_77494351',
  1 => false,
  3 => 0,
  2 => 0,
));
?>

<?php $_smarty_tpl->ext->_inheritance->endChild($_smarty_tpl);
$_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, "file:layout-base.tmpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 2, false);
}
/* {block 'title'}  file:filodiretto.tmpl */
function block_212577427965d6344566e446_30457506($_smarty_tpl, $_blockParentStack) {
?>
Filodiretto &mdash; CADORO<?php
}
/* {/block 'title'} */
/* {block 'head'}  file:filodiretto.tmpl */
function block_170622575265d63445670cb5_76472149($_smarty_tpl, $_blockParentStack) {
?>

<meta name="description" content="Filodiretto &mdash; CADORO">
<meta name="author" content="">
<?php
}
/* {/block 'head'} */
/* {block 'content'}  file:filodiretto.tmpl */
function block_212698119165d63445672fa7_77494351($_smarty_tpl, $_blockParentStack) {
?>

  <ul class="nav nav-pills mt20">
    <li role="presentation" class="active"><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/filodiretto">CONTATTI</a></li>
    <li role="presentation"><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/filodiretto/lavora-con-noi">LAVORA CON NOI</a></li>
    <li role="presentation"><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/filodiretto/faq">FAQ</a></li>
    <li role="presentation"><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/filodiretto/newsletter">NEWSLETTER</a></li>
  </ul>
  <div class="row mt20">
    <div class="col-sm-3 mt20">
      <h2 class="mt0 mb10"><strong>Più vicini a te</strong></h2>
      Scrivi a <img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/email-clienti.png"/><br>
      oppure invia un sms a <a href="tel:3464980400" class="red"><strong>346 4980400</strong></a><br>
      In alternativa, compila il form


	  <br><br><br>
	  <img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/contatti.jpg" class="img-responsive hidden-xs"/><br>
    </div>
    <div class="col-sm-9 mt20">
      <?php if ($_smarty_tpl->tpl_vars['confirm']->value) {?>
      <div class="alert alert-success">
        <strong>Il tuo messaggio è stato inoltrato correttamente.</strong><br>
        Ti contatteremo il prima possibile.
      </div>
      <?php } else { ?>
      <form class="form-horizontal" method="post" action="" enctype="multipart/form-data">
        <div class="well well-white">
          <input type="hidden" name="form" value="contacts">
          <div class="form-group<?php if (isset($_smarty_tpl->tpl_vars['errors']->value['firstname'])) {?> has-error<?php }?>">
            <label class="control-label col-md-3" for="firstname">NOME *</label>
            <div class="controls col-md-6">
              <input type="text" class="form-control" id="firstname" name="firstname" value="<?php echo _f('firstname');?>
">
              <?php if (isset($_smarty_tpl->tpl_vars['errors']->value['firstname'])) {?><p class="help-block has-error">Campo obbligatorio!</p><?php }?>
            </div>
          </div>
          <div class="form-group<?php if (isset($_smarty_tpl->tpl_vars['errors']->value['lastname'])) {?> has-error<?php }?>">
            <label class="control-label col-md-3" for="lastname">COGNOME *</label>
            <div class="controls col-md-6">
              <input type="text" class="form-control" id="lastname" name="lastname" value="<?php echo _f('lastname');?>
">
              <?php if (isset($_smarty_tpl->tpl_vars['errors']->value['lastname'])) {?><p class="help-block has-error">Campo obbligatorio!</p><?php }?>
            </div>
          </div>
          <div class="form-group<?php if (isset($_smarty_tpl->tpl_vars['errors']->value['email'])) {?> has-error<?php }?>">
            <label class="control-label col-md-3" for="email">EMAIL *</label>
            <div class="controls col-md-6">
              <input type="email" class="form-control" id="email" name="email" value="<?php echo _f('email');?>
">
              <?php if (isset($_smarty_tpl->tpl_vars['errors']->value['email']) && $_smarty_tpl->tpl_vars['errors']->value['email'] == 1) {?><p class="help-block has-error">Campo obbligatorio!</p><?php }?>
              <?php if (isset($_smarty_tpl->tpl_vars['errors']->value['email']) && $_smarty_tpl->tpl_vars['errors']->value['email'] == 2) {?><p class="help-block has-error">L'indirizzo email inserito non è valido!</p><?php }?>
            </div>
          </div>
          <div class="form-group<?php if (isset($_smarty_tpl->tpl_vars['errors']->value['card'])) {?> has-error<?php }?>">
            <label class="control-label col-md-3" for="card">CARTA CARD'ORO</label>
            <div class="controls col-md-6">
              <input type="text" class="form-control" id="card" name="card" value="<?php echo _f('card');?>
">
            </div>
          </div>
          <div class="form-group<?php if (isset($_smarty_tpl->tpl_vars['errors']->value['message'])) {?> has-error<?php }?>">
            <label class="control-label col-md-3" for="message">MESSAGGIO *</label>
            <div class="controls col-md-9">
              <textarea name="message" class="form-control" rows="10" style="resize: none;"><?php echo _f('message');?>
</textarea>
              <?php if (isset($_smarty_tpl->tpl_vars['errors']->value['message'])) {?><p class="help-block has-error">Campo obbligatorio!</p><?php }?>
              <div class="g-recaptcha mt20" data-sitekey="6LdwKAwUAAAAAIYEzff15dMp9eifSq48NP3j4GwJ"></div>
              <?php echo '<script'; ?>
 type="text/javascript" src="https://www.google.com/recaptcha/api.js?hl=it"><?php echo '</script'; ?>
>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="col-sm-6<?php if (isset($_smarty_tpl->tpl_vars['errors']->value['privacy'])) {?> has-error<?php }?>">
            <div class="checkbox">
              <label>
                <input type="checkbox" name="privacy" value="1"<?php if (_post('privacy')) {?> checked="checked"<?php }?>> Leggi le nostre condizioni sulla <a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/privacy">Privacy</a>.
              </label>
              <?php if (isset($_smarty_tpl->tpl_vars['errors']->value['privacy']) && $_smarty_tpl->tpl_vars['errors']->value['privacy'] == 1) {?><p class="help-block has-error mb10"><?php echo _("Campo obbligatorio!");?>
</p><?php }?>
            </div>
          </div>
          <div class="col-sm-6 text-right">
            <button type="submit" class="btn btn-danger btn-lg">INVIA</button>
          </div>
        </div>
      </form>
      <?php }?>
    </div>
  </div>
<?php
}
/* {/block 'content'} */
}