
<?php $this->load->view('default_header');?>
<script>
$(document).ready(function(){
  $("#loginform").validationEngine();
}); 

</script>









<?php
echo '


<div class="main main_top-30 ">
            <div class="container">
                <div class="row">
                    <div class="col-md-24 col-xs-24">

                        <div class="article-area">
							<form class="login" action="/main/login" method="post" id="loginform">
                                <input id="exceededAttempts" name="exceededAttempts" type="hidden" value="False">
                                <input id="ReturnUrl" name="ReturnUrl" type="hidden" value="dd">
                                <div class="login__header">
                                    <div class="row">
                                        <div class="col-md-12 col-xs-12">
                                            <div class="login__header__text">
                                                <h1 class="h1 h1_white">
                                                    IMTIHON.UZ tizimiga kirish
                                                </h1>
                                            </div>
                                        </div>
                                        <div class="col-md-12 col-xs-12">
                                            <div class="login__header__register-link">
                                                <a class="link link_white" href="/main/azo_bolish">
                                                    Tizimga a\'zo bo\'lmaganmisiz?
                                                </a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="login__body">';

								if(isset($error)) 
									echo '
                                    <div class="login__body__hint login__body__hint_error-message ">
										<div class="message ">
											'.$error.'
										</div>
									</div>';
									
									echo '
                                    <div class="row">
                                        <div class="col-md-12 col-xs-12">
                                            <label class="label label_input-label label_bold">
                                                <strong>
                                                    Login
                                                </strong>
                                                <input name="username" size="39" class="input input__field input_full-width input_with-label-above input_line-height-28px login__body__input_login" type="text" />
                                            </label>
                                        </div>
                                        <div class="col-md-12 col-xs-12">
                                            <div class="login__body__hint login__body__hint_login login__body__hint_hidden">
                                                <div class="yellow-hint yellow-hint_right ">
                                                    <div class="yellow-hint__wrapper">
                                                        Loginni kiriting.
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-md-12 col-xs-12">
                                            <label class="label label_input-label label_bold">
                                                <strong>
                                                    Parol
                                                </strong>
                                                <input name="password" class="input input__field input_full-width input_with-label-above input_line-height-28px login__body__input_password" type="password">
                                            </label>
                                        </div>
                                        <div class="col-md-12 col-xs-12">



                                            <div class="login__body__hint login__body__hint_password login__body__hint_hidden">
                                                <div class="yellow-hint yellow-hint_right ">
                                                    <div class="yellow-hint__wrapper">
                                                        Parolni kiriting.
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>



                                    <div class="login__body__captcha login__body__captcha_hidden">
                                        <div class="row">
                                            <div class="col-ms-12 col-xs-12">
                                                <div class="captcha" name="captcha" id="id-7400a6351209410d9b357f32f67170fb">
                                                    <div class="row">
                                                        <div class="col-ms-24 col-xs-24">
                                                            <label class="label label_bold label_input-label label_display-block label_font-size-14 label_  ">
                                                                Введите символы с картинки
                                                            </label>
                                                            <input class="input input__field input_display-inline-block input_width-180 input_captcha-validation input_bottom-20 " id="id-ad039640d05a43c1a89cfe743d6209e3" title="Введите символы с картинки" name="Captcha.Input" placeholder="">

                                                            <img alt="captcha image" class="captcha__image" src="./Войти в Дневник.ру_files/20beff1b-b108-4cd0-98e7-491ea415e535">
                                                            <button type="button" class="captcha__button">
                                                            </button>
                                                            <input name="Captcha.Id" class="captcha__value" type="hidden" value="20beff1b-b108-4cd0-98e7-491ea415e535">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-md-12 col-xs-12">
                                                <div class=" login__body__captcha__error">
                                                    <div class="yellow-hint yellow-hint_to-left-20 yellow-hint_right yellow-hint_captcha-hint yellow-hint_hidden ">
                                                        <div class="yellow-hint__wrapper">

                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row">
                                        <div class="col-md-6 col-xs-6">
                                            <input type="submit" name="loginbttn" value="Kirish" class="button button_light-green button_top-10 button_full-width">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-24 col-xs-24">
                                        <div class="login__footer">
                                            <div class="login__footer__help">
                                                <div class="message__help">
                                                    <p class="paragraph_help">
                                                        Login yoki parolni unutdingizmi?
                                                        <a class="link" href="#">
                                                            Kirish huquqini tiklash
                                                        </a>
                                                        .
                                                    </p>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
		';
?>

</div>
<?php $this->load->view('footer');?>
</body>
<html>