<?php /* Smarty version Smarty-3.1.11, created on 2019-03-30 14:58:42
         compiled from "../views/aw_ar/_login/login.html" */ ?>
<?php /*%%SmartyHeaderCode:19921512405c4c4428684fe8-67273029%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '3ec5c5ceba81aa2043d22213c3f3679531712bcd' => 
    array (
      0 => '../views/aw_ar/_login/login.html',
      1 => 1553950647,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '19921512405c4c4428684fe8-67273029',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_5c4c44286b8fe1_58694801',
  'variables' => 
  array (
    'hosturl' => 0,
    'error' => 0,
    'thisdisply' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5c4c44286b8fe1_58694801')) {function content_5c4c44286b8fe1_58694801($_smarty_tpl) {?><!-- BEGIN BODY -->
<body class="page-md login">
    <!-- BEGIN LOGO -->
    <div class="logo">
        <a href="" id="loginlogo">
            تطبيق نادي الحوار
        </a>
    </div>
    <!-- END LOGO -->
    <!-- BEGIN LOGIN -->
    <div class="content">
        <!-- BEGIN LOGIN FORM -->
        <form class="login-form" action="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/login" method="post" name="loginform">
            <h3 class="form-title">الدخول الى حسابك</h3>
            <div class="alert alert-danger display-hide">
                <button class="close" data-close="alert"></button>
                <span>
                    ادخل اسم الدخول و كلمه المرور</span>
            </div>

            <?php if (isset($_smarty_tpl->tpl_vars['error']->value)){?><div class="alert alert-danger">
                <button class="close" data-close="alert"></button>
                <span>
                    <?php echo $_smarty_tpl->tpl_vars['error']->value;?>

                </span>
            </div><?php }?>

            <div class="form-group">
                <!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
                <label class="control-label visible-ie8 visible-ie9">اسم الدخول</label>
                <div class="input-icon">
                    <i class="fa fa-user"></i>
                    <input class="form-control placeholder-no-fix" type="text" autocomplete="off" placeholder="اسم الدخول" name="user_name"/>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label visible-ie8 visible-ie9">كلمه المرور</label>
                <div class="input-icon">
                    <i class="fa fa-lock"></i>
                    <input class="form-control placeholder-no-fix" type="password" autocomplete="off" placeholder="كلمه المرور" name="user_password"/>
                </div>
            </div>
            <div class="form-actions">
                <input type="hidden" name="login" value="login" />
                <label class="checkbox">
                    <input type="checkbox" name="user_rememberme" value="1"/> تذكرنى </label>
                <button type="submit" class="btn green-haze pull-right">
                    دخول <i class="m-icon-swapleft m-icon-white"></i>
                </button>
            </div>
            <!--div class="forget-password">
                <h4>Forgot your password ?</h4>
                <p>
                    no worries, click <a href="javascript:;" id="forget-password">
                        here </a>
                    to reset your password.
                </p>
            </div-->
            <!--div class="login-options">
                <h4>Or login with</h4>
                <ul class="social-icons">
                    <li>
                        <a class="social-icon-color facebook" data-original-title="facebook" href="#"></a>
                    </li>
                    <li>
                        <a class="social-icon-color twitter" data-original-title="Twitter" href="#"></a>
                    </li>
                    <li>
                        <a class="social-icon-color googleplus" data-original-title="Goole Plus" href="#"></a>
                    </li>
                    <li>
                        <a class="social-icon-color linkedin" data-original-title="Linkedin" href="#"></a>
                    </li>
                </ul>
            </div-->
            <!--div class="create-account">
                <p>
                    <a href="javascript:;" id="register-btn" class="uppercase">Create an account</a>
                </p>
            </div-->
        </form>
        <!-- END LOGIN FORM -->
        <!-- BEGIN FORGOT PASSWORD FORM -->
        <form class="forget-form" action="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/login/fgpass" method="post" name="password_reset_form">
            <h3>Forget Password ?</h3>
            <p>
                Enter your e-mail address below to reset your password.
            </p>
            <div class="form-group">
                <input class="form-control placeholder-no-fix" type="text" autocomplete="off" placeholder="Username" name="user_name" id="user_name"/>
            </div>
            <div class="form-actions">
                <button type="button" id="back-btn" class="btn btn-default">Back</button>
                <button type="submit" class="btn btn-success uppercase pull-right" name="request_password_reset">Submit</button>
            </div>
        </form>
        <!-- END FORGOT PASSWORD FORM -->
        <?php if ($_smarty_tpl->tpl_vars['thisdisply']->value==1){?>
        <!-- BEGIN REGISTRATION FORM -->
        <form class="register-form" action="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/register" method="post" name="registerform">
            <h3>Sign Up</h3>
            <p class="hint">
                Enter your personal details below:
            </p>
            <div class="form-group">
                <label class="control-label visible-ie8 visible-ie9">Username</label>
                <input class="form-control placeholder-no-fix" type="text" placeholder="Username" name="user_name"/>
                <input type="hidden" name="register"/>
            </div>
            <div class="form-group">
                <!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
                <label class="control-label visible-ie8 visible-ie9">Email</label>
                <input class="form-control placeholder-no-fix" type="text" placeholder="Email" name="user_email"/>
            </div>

            <p class="hint">
                Enter your account details below:
            </p>
            <div class="form-group">
                <label class="control-label visible-ie8 visible-ie9">Password</label>
                <input class="form-control placeholder-no-fix" type="password" autocomplete="off" id="register_password" placeholder="Password" name="user_password_new"/>
            </div>
            <div class="form-group">
                <label class="control-label visible-ie8 visible-ie9">Re-type Your Password</label>
                <input class="form-control placeholder-no-fix" type="password" autocomplete="off" placeholder="Re-type Your Password" name="user_password_repeat"/>
            </div>
            <div class="form-group">
                <label class="control-label visible-ie8 visible-ie9">insert image</label>
                <img src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../library/plugins/Captcha/showCaptcha.php" alt="captcha" />
                <input class="form-control placeholder-no-fix" type="text" autocomplete="off" placeholder="captcha" name="captcha"/>
            </div>
            <div class="form-group margin-top-20 margin-bottom-20">
                <label class="check">
                    <input type="checkbox" name="tnc"/> I agree to the <a href="#">
                        Terms of Service </a>
                    & <a href="#">
                        Privacy Policy </a>
                </label>
                <div id="register_tnc_error">
                </div>
            </div>
            <div class="form-actions">
                <button type="button" id="register-back-btn" class="btn btn-default">Back</button>
                <button type="submit" id="register-submit-btn" class="btn btn-success uppercase pull-right">Submit</button>
            </div>
        </form>
        <!-- END REGISTRATION FORM -->
        <?php }?>
    </div>
    <div class="copyright">
          جميع الحقوق محفوظة  @2018
    </div>
    <!-- END LOGIN --><?php }} ?>