<?php /* Smarty version Smarty-3.1.11, created on 2025-07-31 09:19:20
         compiled from "../views/default/secretquestion.html" */ ?>
<?php /*%%SmartyHeaderCode:1359007029688b0ae8b46f48-06239131%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd166cae485c1caf97fc69bc8042513eff71f442b' => 
    array (
      0 => '../views/default/secretquestion.html',
      1 => 1740000156,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1359007029688b0ae8b46f48-06239131',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'path' => 0,
    'userQuestion' => 0,
    'username' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_688b0ae8ec1511_99407058',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_688b0ae8ec1511_99407058')) {function content_688b0ae8ec1511_99407058($_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">
    </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=enq" method="post" id="ansForm">
                            <div class="form-group">
                                <div class="col-lg-12"><label class="form-group" style="margin-right: 0px;"><?php echo $_smarty_tpl->tpl_vars['userQuestion']->value;?>
</label> </div>
                            </div>
                            <div class="form-group">
                                <div class="col-lg-12"><textarea class="form-control" name="answer" id="answer" rows="3" required></textarea></div>
                            </div>
                            <input type="hidden" name="username" value="<?php echo $_smarty_tpl->tpl_vars['username']->value;?>
"/>
                            <div class="form-group">
                                <div class="col-lg-offset-2 col-lg-10">
                                    <button type="button" class="btn btn-default pull-left" id="tryAnswer">دخول</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>
        
        <script>
            $('#tryAnswer').on('click', function () {
                if ($("#answer").val() == "")
                {
                    $("#answer").css('background', 'yellow');
                }
                else
                {
                    $("#answer").css('background', 'white');
                    $('#ansForm').submit();
                }
            });


        </script>
        
    </body>
</html><?php }} ?>