<?php /* Smarty version Smarty-3.1.11, created on 2016-11-29 10:00:04
         compiled from "../views/default/login.html" */ ?>
<?php /*%%SmartyHeaderCode:373804561583d51a4515f41-12992191%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '6b704bce19c30c84b9a691e156b0ed1ce4c9e8e7' => 
    array (
      0 => '../views/default/login.html',
      1 => 1474806244,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '373804561583d51a4515f41-12992191',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'path' => 0,
    'databases' => 0,
    'bar' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_583d51a4ca5f68_33880094',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_583d51a4ca5f68_33880094')) {function content_583d51a4ca5f68_33880094($_smarty_tpl) {?><!DOCTYPE html>
<html>
    <head>
        <title>برنامج المحاسبة</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">
        <!-- 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">
        <div class="container">
            <div class="row mgtop50">
                <div class="col-lg-5 col-lg-offset-4">
                    <div class="panel">
                        <div class="panel-heading loginpanel">
                            <h3 class="panel-title">تسجيل الدخول</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">اسم الدخول</label>
                                <div class="col-lg-8"> <span id="usernamevaild">
                                        <input type="text" class="form-control" id="username" name="username" placeholder="اسم الدخول">
                                        <span class="textfieldRequiredMsg">*</span></span> </div>
                            </div>
                            <div class="form-group">
                                <label for="password" class="col-lg-4 control-label">كلمة المرور</label>
                                <div class="col-lg-8"> <span id="passwordvaild">
                                        <input type="password" class="form-control" id="password" name="password" placeholder="كلمة المرور">
                                        <span class="textfieldRequiredMsg">*</span></span> </div>
                            </div>

                            <div class="form-group">
                                <label class="col-lg-4 control-label">قاعدة البيانات</label>
                                <div class="col-lg-8">
                                    <span id="spryselect1">
                                        <select name="db" id="db" class="select2 wdt100" placeholder="اختر قاعدة البيانات">
                                            <?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">دخول</button>
                                </div>
                            </div>
                        </form>
                    </div>
                    <span class="help-block">جميع الحقوق محفوظة لشركة 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 }} ?>