<?php
/* Smarty version 4.5.6, created on 2025-12-07 19:58:42
  from '/var/www/html/tivi/panel/templates/login.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.6',
  'unifunc' => 'content_6935ce62c9fb29_89544722',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '8b93fb2ef625b814f877eaf0eac066ab4d6bebaa' => 
    array (
      0 => '/var/www/html/tivi/panel/templates/login.tpl',
      1 => 1765132724,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6935ce62c9fb29_89544722 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
?>


<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_4156177026935ce62c91bd4_26653275', "content");
?>

<?php $_smarty_tpl->inheritance->endChild($_smarty_tpl, "layout.tpl");
}
/* {block "content"} */
class Block_4156177026935ce62c91bd4_26653275 extends Smarty_Internal_Block
{
public $subBlocks = array (
  'content' => 
  array (
    0 => 'Block_4156177026935ce62c91bd4_26653275',
  ),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/html/tivi/vendor/smarty/smarty/libs/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>

<div class="login-wrapper">
    <div class="login-card">
        <div class="login-header">
            <div class="login-logo">
                <i class="bi bi-collection-play-fill"></i>
            </div>
            <h1>Playlist Panel</h1>
            <p>Zaloguj się do panelu administracyjnego</p>
        </div>

        <?php if ((($tmp = $_smarty_tpl->tpl_vars['error']->value ?? null)===null||$tmp==='' ? false ?? null : $tmp)) {?>
        <div class="alert alert-danger">
            <i class="bi bi-exclamation-circle me-2"></i><?php echo $_smarty_tpl->tpl_vars['error']->value;?>

        </div>
        <?php }?>

        <form method="post" class="login-form">
            <div class="form-floating mb-3">
                <input type="text" 
                       name="username" 
                       id="username" 
                       class="form-control" 
                       placeholder="Nazwa użytkownika"
                       value="<?php echo (($tmp = $_smarty_tpl->tpl_vars['username']->value ?? null)===null||$tmp==='' ? '' ?? null : $tmp);?>
"
                       autocomplete="username"
                       required 
                       autofocus>
                <label for="username">
                    <i class="bi bi-person me-2"></i>Nazwa użytkownika
                </label>
            </div>

            <div class="form-floating mb-3">
                <input type="password" 
                       name="password" 
                       id="password" 
                       class="form-control" 
                       placeholder="Hasło"
                       autocomplete="current-password"
                       required>
                <label for="password">
                    <i class="bi bi-lock me-2"></i>Hasło
                </label>
            </div>

            <div class="form-check mb-4">
                <input type="checkbox" name="remember" id="remember" class="form-check-input" value="1">
                <label class="form-check-label" for="remember">
                    Zapamiętaj mnie
                </label>
            </div>

            <button type="submit" class="btn btn-primary btn-lg w-100">
                <i class="bi bi-box-arrow-in-right me-2"></i>Zaloguj się
            </button>
        </form>

        <div class="login-footer">
            <small class="text-muted">
                &copy; <?php echo smarty_modifier_date_format(time(),"%Y");?>
 Playlist Manager
            </small>
        </div>
    </div>
</div>
<?php
}
}
/* {/block "content"} */
}
