<?php /* Smarty version Smarty-3.1.11, created on 2024-07-15 16:41:27
         compiled from "..\views\default\login.html" */ ?>
<?php /*%%SmartyHeaderCode:17402669535172974a3-06145405%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '2d7d467be251c47b50539eb0c00f8becad138f36' => 
    array (
      0 => '..\\views\\default\\login.html',
      1 => 1672089199,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '17402669535172974a3-06145405',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'path' => 0,
    'colortype' => 0,
    'databases' => 0,
    'bar' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66953517343153_89189088',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66953517343153_89189088')) {function content_66953517343153_89189088($_smarty_tpl) {?><!DOCTYPE html>
<html>
    <head>
        <title><?php echo @LOGIN_ACCOUNTING_SOFTWARE;?>
</title>
        <meta charset="utf-8">
        <!-- read and write any langs -->
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <!-- Bootstrap -->
        <link href="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/css/bootstrap.min.css" rel="stylesheet" media="screen">
        <!-- Custom styles for project -->
        <link href="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/css/store.css" rel="stylesheet">
        <?php if ($_smarty_tpl->tpl_vars['colortype']->value==0){?>
        <!-- white theme -->
        <link id="dark" href="" rel="stylesheet">
        <?php }else{ ?>
        <!-- black theme -->
        <link id="dark" href="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/css/default.css" rel="stylesheet">
        <?php }?>

        <!-- valadition -->
        <link href="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/css/validtextfield.css" rel="stylesheet">
        <link href="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/css/validselect.css" rel="stylesheet">
        <link href="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/css/validtextarea.css" rel="stylesheet">
        <script src="../../SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
        <link href="../../SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css">
    </head>
    <body class="usedfont back_login">
        <div class="container">

            <div class="row mgtop50 logintop">
                <h3 class="text-center" style="margin-bottom:15px;margin-right:50px"><?php echo @LOGIN_SIMPLE_ACCOUNTING;?>
</h3>

                <div class="col-lg-5 col-lg-offset-4">
                    <div class="panel panel_login">
                        <div class="panel-heading loginpanel">
                            <h3 class="panel-title"><?php echo @LOGIN_SIGN_IN;?>
</h3>
                        </div>
                        <form class="form-horizontal" action="login.php?do=en" method="post">
                            <div class="form-group">
                                <label for="username" class="col-lg-4 control-label"><?php echo @LOGIN_USERNAME;?>
</label>
                                <div class="col-lg-8"> <span id="usernamevaild">
                                        <input type="text" class="form-control" id="username" name="username" placeholder="<?php echo @LOGIN_USERNAME;?>
">
                                        <span class="textfieldRequiredMsg">*</span></span> </div>
                            </div>
                            <div class="form-group">
                                <label for="password" class="col-lg-4 control-label"><?php echo @LOGIN_PASSWORD;?>
</label>
                                <div class="col-lg-8"> <span id="passwordvaild">
                                        <input type="password" class="form-control" id="password" name="password" placeholder="<?php echo @LOGIN_PASSWORD;?>
">
                                        <span class="textfieldRequiredMsg">*</span></span> </div>
                            </div>

                            <div class="form-group">
                                <label class="col-lg-4 control-label"><?php echo @LOGIN_DATABASE;?>
</label>
                                <div class="col-lg-8">
                                    <span id="spryselect1">
                                        <select name="db" id="db" class="select2 wdt100" placeholder="<?php echo @LOGIN_CHOOSE_DATABASE;?>
">
                                            <?php $_smarty_tpl->tpl_vars['bar'] = new Smarty_variable(1, null, 0);?>
                                            <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['i'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['databases']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']);
?>

                                            <option value="<?php echo $_smarty_tpl->tpl_vars['databases']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']];?>
" <?php if ($_smarty_tpl->tpl_vars['bar']->value==1){?>selected="selected" <?php }?>><?php echo $_smarty_tpl->tpl_vars['databases']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']];?>
</option>

                                            <?php $_smarty_tpl->tpl_vars['bar'] = new Smarty_variable($_smarty_tpl->tpl_vars['bar']->value+1, null, 0);?>
                                            <?php endfor; endif; ?>


                                        </select>
                                        <span class="selectRequiredMsg">*</span></span></div>
                            </div>

                            <div class="form-group">
                                <div class="col-lg-offset-2 col-lg-10">
                                    <button type="submit" class="btn btn-default pull-left submit color-white"><?php echo @LOGIN;?>
</button>
                                </div>
                            </div>
                        </form>
                    </div>
                    <span class="help-block"><?php echo @LOGIN_GT4;?>
</span> </div>
            </div>
        </div>

        <!-- JavaScript plugins (requires jQuery)
            <script src="http://code.jquery.com/jquery.js"></script>-->
        <script src="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/js/jquery.js"></script>
        <!-- Include all compiled plugins (below), or include individual files as needed -->
        <script src="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/js/bootstrap.min.js"></script>

        <!-- Enable responsive features in IE8 with Respond.js (https://github.com/scottjehl/Respond) -->
        <script src="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/js/respond.min.js"></script>

        <!-- valadition -->
        <script src="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/js/validtextfield.js"></script>
        <script src="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/js/validselect.js"></script>
        <script src="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/js/validtextarea.js"></script>
        <script type="text/javascript">
            var usernamevaild = new Spry.Widget.ValidationTextField("usernamevaild");
            var passwordvaild = new Spry.Widget.ValidationTextField("passwordvaild");
            var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1");
        </script>
    </body>
</html><?php }} ?>