File "e53cf859951cae2a4826d6f099e71190fee65f6a_0.file.admin-login.tmpl.php"

Full Path: /srv/www/www.cadoro.it/src/templates_c/e53cf859951cae2a4826d6f099e71190fee65f6a_0.file.admin-login.tmpl.php
File size: 2.54 KB
MIME-type: text/x-php
Charset: utf-8

<?php
/* Smarty version 3.1.29, created on 2024-02-21 19:01:33
  from "/srv/www/www.cadoro.it/src/templates/admin-login.tmpl" */

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

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

  </body>
</html>
<?php $_smarty_tpl->ext->_inheritance->endChild($_smarty_tpl);
$_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, "file:layout-admin-base.tmpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 2, false);
}
/* {block 'body'}  file:admin-login.tmpl */
function block_114214308065d63a7d0c2b49_50581189($_smarty_tpl, $_blockParentStack) {
?>

      <div class="middle-box loginscreen animated fadeInDown">
        <div>
          <h1 class="logo-name text-center">
            CADORO
          </h1>
          <h3 class="text-center">Pannello di amministrazione</h3>
          <p class="mt10 text-center">Inserisci la tua email e password.</p>
          <form class="form-signin mt15" method="post" action="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/login">
            <?php if ($_smarty_tpl->tpl_vars['error']->value == 1) {?>
            <div class="alert alert-danger">
              <strong>Autenticazione fallita.</strong><br>
              L'email e/o la password inserita non รจ corretta, per favore riprova.
            </div>
            <?php }?>
            <input type="hidden" name="nexturl" value="<?php echo _fr('nexturl');?>
">
            <input type="text" name="email" class="form-control" placeholder="Email" value="<?php echo _fr('email');?>
" required autofocus>
            <input type="password" name="password" class="form-control" placeholder="Password" required>
            <button class="btn btn-lg btn-primary btn-block mt30" type="submit">Login</button>
          </form>
        </div>
      </div>
    <?php
}
/* {/block 'body'} */
}