<?php /* Smarty version Smarty-3.1.14, created on 2026-01-28 11:04:10
         compiled from "smarty/templates/login.tpl" */ ?>
<?php /*%%SmartyHeaderCode:21156478286979df1ac56ed5-18576412%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '24c73c3ab5389ae998a7b3a148aaa1503d76c187' => 
    array (
      0 => 'smarty/templates/login.tpl',
      1 => 1769594639,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '21156478286979df1ac56ed5-18576412',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'csrf_token' => 0,
    'errormsg' => 0,
    'username' => 0,
    'password' => 0,
    'version' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.14',
  'unifunc' => 'content_6979df1accaac5_52390705',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6979df1accaac5_52390705')) {function content_6979df1accaac5_52390705($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("heading.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>


<script language="JavaScript">
<!-- // Checks the form

function formValid() {
  var str = document.login.username.value;
  if (str == "") {
    alert("A bejelentkező név nincs megadva!");
    document.login.username.focus(); return false;
  }
  str = document.login.password.value;
  if (str == "") {
    alert("A jelszó nincs megadva!");
    document.login.password.focus(); return false;
  }

  document.login.submit();
  return true;
}

// -->
</script>

<?php echo $_smarty_tpl->getSubTemplate ("head.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>


<form name="login" action="/login.php" method="post">
  <input type="hidden" name="csrf_token" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['csrf_token']->value, ENT_QUOTES, 'UTF-8', true);?>
">
  <div id="bottom" style="width:1250px; text-align: left;">
    <div class="ui-panel ui-widget ui-widget-content ui-corner-all" style="height: 220px; padding: 15px 15px 15px 15px;">
      <font color="#CC0000"><b>Belépés</b></font>
      <hr />
      <?php if (isset($_smarty_tpl->tpl_vars['errormsg']->value)&&$_smarty_tpl->tpl_vars['errormsg']->value!=''){?>
        <div style="text-align: center;"><span><font color="red">Hiba: <?php echo $_smarty_tpl->tpl_vars['errormsg']->value;?>
</font></span></div>
      <?php }else{ ?>
        <div style="text-align: center;"><span>&nbsp;</span></div>
      <?php }?>
      <br />
      <div class="ui-panel ui-widget ui-widget-content ui-corner-all" style="width:500px; height: 140px; border: 1px solid #AAAAAA; margin: auto;">
        <div class="ui-panel-titlebar ui-widget-header ui-corner-all">
          <span class="ui-panel-title">Belépéshez szükséges adatok</span>
        </div>
        <div class="ui-panel-content ui-widget-content">
          <br />
          <span style="position: absolute; left: 400px; top: 130px">Bejelentkező név:</span><span style="width: 250px; position: absolute; left: 550px; top: 119px;"><input type="text" maxlength="30" name="username" value="<?php echo $_smarty_tpl->tpl_vars['username']->value;?>
" onkeydown="javascript:if(event.keyCode==13) this.form.password.focus();" /></span>
          <span style="position: absolute; left: 400px; top: 160px">Jelszó:</span><span style="width: 250px; position: absolute; left: 550px; top: 149px;"><input type="password" maxlength="30" name="password" value="<?php echo $_smarty_tpl->tpl_vars['password']->value;?>
" onkeydown="javascript:if(event.keyCode==13) this.form.submit();" /></span>
          <button type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only ui-state-hover" style="width: 100px; height: 20px; position: absolute; left: 580px; top: 190px;" onClick="formValid();"><span>Belépés</span></button>
        </div>
        <br />
      </div>
    </div>
  </div>
</form>

<div id="bottom" style="width:1250px">
  <div class="ui-panel ui-widget ui-widget-content ui-corner-all bottom_panel">
    <div class="ui-panel-content ui-widget-content"><a href="http://www.recomp.hu" target="_blank" style="color:#999999; font-size:10px; font-family:Arial,Helvetica,sans-serif; font-weight :normal; text-decoration:underline; display:block; width:250px; background-color:#F2F2F2; text-align:left; padding:0px; text-decoration:none; text-transform:none;">(c) ReComp Informatika Zrt.</a><span class="verzio">Verzió: <?php echo $_smarty_tpl->tpl_vars['version']->value;?>
</span></div>
  </div>
</div>
<?php }} ?>