File "6e271b18cc99bcb5a63554c62ece5b42fbcb2924_0.file.login.tmpl.php"
Full Path: /srv/www/www.cadoro.it/src/templates_c/6e271b18cc99bcb5a63554c62ece5b42fbcb2924_0.file.login.tmpl.php
File size: 10.35 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/* Smarty version 3.1.29, created on 2024-02-21 17:42:21
from "/srv/www/www.cadoro.it/src/templates/login.tmpl" */
if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
'has_nocache_code' => false,
'version' => '3.1.29',
'unifunc' => 'content_65d627ed250cd9_12431151',
'file_dependency' =>
array (
'6e271b18cc99bcb5a63554c62ece5b42fbcb2924' =>
array (
0 => '/srv/www/www.cadoro.it/src/templates/login.tmpl',
1 => 1708527642,
2 => 'file',
),
),
'includes' =>
array (
'file:layout-base.tmpl' => 1,
),
),false)) {
function content_65d627ed250cd9_12431151 ($_smarty_tpl) {
$_smarty_tpl->ext->_inheritance->init($_smarty_tpl, true);
?>
<?php
$_smarty_tpl->ext->_inheritance->processBlock($_smarty_tpl, 0, 'title', array (
0 => 'block_13684479065d627ed200860_15596144',
1 => false,
3 => 0,
2 => 0,
));
?>
<?php
$_smarty_tpl->ext->_inheritance->processBlock($_smarty_tpl, 0, "head", array (
0 => 'block_48540604065d627ed203049_82348632',
1 => false,
3 => 0,
2 => 0,
));
?>
<?php
$_smarty_tpl->ext->_inheritance->processBlock($_smarty_tpl, 0, "content", array (
0 => 'block_173838903465d627ed205ae7_66303283',
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:login.tmpl */
function block_13684479065d627ed200860_15596144($_smarty_tpl, $_blockParentStack) {
?>
Accedi — CADORO<?php
}
/* {/block 'title'} */
/* {block 'head'} file:login.tmpl */
function block_48540604065d627ed203049_82348632($_smarty_tpl, $_blockParentStack) {
?>
<meta name="title" content="Area Personale | Supermercati Cadoro">
<meta name="description" content="Registrati al sito Cadoro con la tua carta fedeltà e crea la tua area personale: controlla il saldo punti, scopri gli sconti e i vantaggi dedicati a te.">
<meta name="author" content="">
<?php
}
/* {/block 'head'} */
/* {block 'content'} file:login.tmpl */
function block_173838903465d627ed205ae7_66303283($_smarty_tpl, $_blockParentStack) {
?>
<div class="container">
<h3 class="text-center">
Entra nella tua area personale Cadoro. <br>
Accedi o registrati per entrare in un mondo di vantaggi che Cadoro ha pensato per te.
</h3>
</div>
<div class="container content-section">
<div class="well well-white-red mt40">
<strong>Se sei già registrato all’area personale, inserisci i tuoi dati e accedi.</strong>
<form method="post" action="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/login">
<input type="hidden" name="nexturl" value="<?php echo _fr('nexturl');?>
">
<?php if (isset($_smarty_tpl->tpl_vars['errors']->value['email']) && $_smarty_tpl->tpl_vars['errors']->value['email'] == 1) {?>
<div class="alert alert-danger">
<?php echo _("<strong>ATTENZIONE</strong>: le credenziali inserite non sono valide, si prega di riprovare.");?>
</div>
<?php } elseif (isset($_smarty_tpl->tpl_vars['errors']->value['email']) && $_smarty_tpl->tpl_vars['errors']->value['email'] == 2) {?>
<div class="alert alert-danger">
<strong>ATTENZIONE</strong>: il tuo utente non è ancora stato attivato, clicca sul link che ti abbiamo inviato via email oppure segui la procedura di <a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/password">recupero password.</a>
</div>
<?php } elseif (isset($_smarty_tpl->tpl_vars['errors']->value['email']) && $_smarty_tpl->tpl_vars['errors']->value['email'] == 4) {?>
<div class="alert alert-danger">
<strong>ATTENZIONE</strong>: la tua card non è ancora stata attivata.
Se hai richiesto la carta da meno di 15 giorni, riprova più tardi, altrimenti
contatta l'<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/filodiretto">assistenza</a>.
</div>
<?php } elseif (isset($_smarty_tpl->tpl_vars['errors']->value['email']) && $_smarty_tpl->tpl_vars['errors']->value['email'] == 3) {?>
<div class="alert alert-danger">
<strong>ATTENZIONE</strong>: utente sospeso, contatta <a href="mailto:[email protected]">[email protected]</a>.
</div>
<?php } elseif (isset($_smarty_tpl->tpl_vars['errors']->value['email']) && $_smarty_tpl->tpl_vars['errors']->value['email'] == 5) {?>
<div class="alert alert-danger">
<?php echo _("<strong>ATTENZIONE</strong>: il numero carta risulta bloccato.");?>
Contatta <a href="mailto:[email protected]">[email protected]
</div>
<?php }?>
<?php if (isset($_GET['error_tessera'])) {?>
<?php if ($_GET['error_tessera'] == 11) {?>
<div class="alert alert-danger">
<strong>ATTENZIONE</strong>: codice tessera errato, contatta <a href="mailto:[email protected]">[email protected]</a>.
</div>
<?php } elseif ($_GET['error_tessera'] == 14) {?>
<div class="alert alert-danger">
<strong>ATTENZIONE</strong>: tessera bloccata, contatta <a href="mailto:[email protected]">[email protected]</a>.
</div>
<?php } elseif ($_GET['error_tessera'] == 15) {?>
<div class="alert alert-danger">
<strong>ATTENZIONE</strong>: tessera sostituita, contatta <a href="mailto:[email protected]">[email protected]</a>.
</div>
<?php } elseif ($_GET['error_tessera'] == 199) {?>
<div class="alert alert-danger">
<strong>ATTENZIONE</strong>: servizio in manutenzione, riprova più tardi.
</div>
<?php }?>
<?php }?>
<div class="row">
<div class="col-sm-4 mt10<?php if (isset($_smarty_tpl->tpl_vars['errors']->value['email'])) {?> has-error<?php }?>">
<input type="text" name="email" class="form-control" value="<?php echo _f('email');?>
" placeholder="E-MAIL" tabindex="1">
<p class="help-block mt5">
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/password" tabindex="4"><?php echo _("Hai dimenticato la password?");?>
</a>
</p>
</div>
<div class="col-sm-4 mt10<?php if (isset($_smarty_tpl->tpl_vars['errors']->value['password'])) {?> has-error<?php }?>">
<input type="password" name="password" class="form-control" value="" placeholder="PASSWORD" tabindex="2">
</div>
<div class="col-sm-4 mt10 text-right">
<button type="submit" class="btn btn-danger btn-lg" tabindex="3"><?php echo _("ACCEDI");?>
</button>
</div>
</div>
</form>
</div>
<h2 class="text-center mt60">
<small><strong>NON SEI ANCORA REGISTRATO?</strong></small>
<strong>REGISTRATI QUI. PER TE, SUBITO <span class="red">50 PUNTI</span> SULLA TUA CARD’ORO</strong>
</h2>
<p class="text-center mt20">
Scopri il nuovo programma fedeltà Card’Oro. Iscriviti con la tua carta fedeltà e naviga nella tua nuova area personale.
Visualizzerai il tuo <strong>saldo punti sempre aggiornato</strong> e potrai scoprire gli <strong>sconti oro attivi</strong>,
creare un archivio con i tuoi <strong>contenuti preferiti</strong>, consultare le ricette e creare la tua <strong>lista della spesa</strong>.
Inoltre, potrai presto partecipare a sondaggi sui prodotti e le attività di Cadoro per ricevere vantaggi esclusivi.
</p>
<div class="well well-bg-red mt80">
<div class="row">
<div class="col-sm-8">
<img src="<?php echo $_smarty_tpl->tpl_vars['cdn_url']->value;?>
/images/cardoro.png" alt="">
<h3>
<strong>HAI LA CARD’ORO?</strong>
<small><strong>Registrati subito<br> </strong></small>
</h3>
<form method="post" action="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/registrazione" class="mt40">
<div class="row">
<div class="col-sm-6 mb10<?php if (isset($_smarty_tpl->tpl_vars['errors']->value['card'])) {?> has-error<?php }?>">
<input type="text" name="card" class="form-control" value="<?php echo _f('card');?>
" placeholder="TESSERA">
<?php if (isset($_smarty_tpl->tpl_vars['errors']->value['card']) && $_smarty_tpl->tpl_vars['errors']->value['card'] == 1) {?><p class="help-block has-error">Campo obbligatorio!</p><?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['errors']->value['card']) && $_smarty_tpl->tpl_vars['errors']->value['card'] == 2) {?><p class="help-block has-error">Questo codice tessera risulta già registrato sul sito, esegui il <a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/login">login</a> oppure usa la funzionalità di <a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/password">recupero password.</a></p><?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['errors']->value['card']) && $_smarty_tpl->tpl_vars['errors']->value['card'] == 3) {?><p class="help-block has-error">Questo codice tessera non è valido</p><?php }?>
</div>
<div class="col-sm-6 mb10<?php if (isset($_smarty_tpl->tpl_vars['errors']->value['birthday'])) {?> has-error<?php }?>">
<input type="text" name="birthday" class="form-control" value="<?php echo _fd('birthday',array());?>
" data-behaviour="datepicker" placeholder="DATA DI NASCITA">
<?php if (isset($_smarty_tpl->tpl_vars['errors']->value['birthday']) && $_smarty_tpl->tpl_vars['errors']->value['birthday'] == 1) {?><p class="help-block has-error"><?php echo _("Campo obbligatorio!");?>
</p><?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['errors']->value['birthday']) && $_smarty_tpl->tpl_vars['errors']->value['birthday'] == 2) {?><p class="help-block has-error"><?php echo _("La data di nascita inserita non corrisponde a quella associata alla tessera!");?>
</p><?php }?>
</div>
</div>
<p class="mt10 text-right">
<button type="submit" class="btn btn-danger btn-lg">AVANTI</button>
</p>
</form>
</div>
<div class="col-sm-4">
<h3>
<strong>NON HAI LA CARD'ORO?</strong>
<small><strong>Compila il form online<br>e ritirala in negozio</strong></small>
</h3>
<p class="mt40">
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/cardoro/richiedi" class="btn btn-default btn-lg">RICHIEDI CARD'ORO</a>
</p>
</div>
</div>
</div>
</div>
<?php
}
/* {/block 'content'} */
}