64 lines
4.7 KiB
HTML
64 lines
4.7 KiB
HTML
|
{include file=$header title="Вход на сайт" meta='
|
|||
|
<meta name="robots" content="noindex,nofollow">' h1="Вход на сайт"}
|
|||
|
<div class="container mt-3">
|
|||
|
<div class="row">
|
|||
|
<div class="col-xs col-sm col-md-6 col-lg-6 col-xl-6" style="border-right:1px solid lightgray;">
|
|||
|
<h2>Авторизация</h2>
|
|||
|
<form method="post" class="" action='/login/' id="login_form" enctype='multipart/form-data'>
|
|||
|
<!-- p class="before-login-text">Добро пожаловать! Входите!</p -->
|
|||
|
<p class="form-row form-row-wide"><label for="username">Email<span class="required">*</span></label>
|
|||
|
<input type="text" class="form-control" name='email' id="username" value="" /><input type="hidden" name='act' value="auth" />
|
|||
|
</p>
|
|||
|
<p class="form-row form-row-wide"><label for="password">Пароль<span class="required">*</span></label>
|
|||
|
<input class="form-control" type="password" name='pwd' id="password" />
|
|||
|
</p>
|
|||
|
|
|||
|
<input type="checkbox" class="form-check-input" id="exampleCheck1" name="remember">
|
|||
|
<label class="form-check-label" for="exampleCheck1">Запомнить меня</label>
|
|||
|
<input type="hidden" name='act' value="login">
|
|||
|
<p class="form-row mt-3"><input class="btn btn-primary" type="submit" value="Войти" name="ok"></p><br>
|
|||
|
<div class="clearfix"></div>
|
|||
|
<p class="lost_password"><a href="/jskleroz/">Забыли пароль?</a></p>
|
|||
|
</form>
|
|||
|
<div class="alert alert-danger hidden" id='login_error' role="alert">
|
|||
|
Не верный логин или пароль, а возможно, ваша учетная запись не активирована - проверьте почту!
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="col-xs col-sm col-md-6 col-lg-6 col-xl-6">
|
|||
|
<h2>Регистрация</h2>
|
|||
|
<form method="post" class="register" id="reg_form" action='/act/login' enctype='multipart/form-data'>
|
|||
|
<!-- p class="before-register-text">Зарегистрируйтесь:</p -->
|
|||
|
<p class="form-row form-row-wide">
|
|||
|
<label for="reg_email">Email<span class="required">*</span></label>
|
|||
|
<input type="email" class="form-control" name="email" id="reg_email" value="" />
|
|||
|
<input type="hidden" name="act" value="reg" />
|
|||
|
<label style='color:#d63031;' class="hidden" id='checkemail'>Этот электронный адрес уже
|
|||
|
зарегистрирован - вы можете восстановить пароль</label>
|
|||
|
</p>
|
|||
|
<p class="form-row form-row-wide">
|
|||
|
<label for="reg_email">Пароль<span class="required">*</span></label>
|
|||
|
<input type="password" class="form-control" name="pwd" id="pwd" value="" />
|
|||
|
</p>
|
|||
|
<p class="form-row form-row-wide">
|
|||
|
<label for="reg_email">Повторите пароль<span class="required">*</span></label>
|
|||
|
<input type="password" class="form-control" name="pwd2" id="pwd2" value="" />
|
|||
|
</p>
|
|||
|
<p class="form-row form-row-wide">
|
|||
|
<label for="reg_email">Проверочный код<span class="required">*</span></label>
|
|||
|
<img src='' data-original='/api/soft/capcha/capcha.php' class="lazy">
|
|||
|
<input type="text" class="form-control" name="capcha" id="capcha" value="" />
|
|||
|
</p>
|
|||
|
<p class="form-row"><input type="submit" class="btn btn-primary" name="ok" value="Зарегистрироваться" />
|
|||
|
</p>
|
|||
|
</form>
|
|||
|
<div class="clearfix"></div>
|
|||
|
<div class="alert alert-danger hidden" id='reg_error' role="alert"></div>
|
|||
|
<!--div class="alert alert-danger hidden" id='reg_error_1' role="alert">Пользователь с такой электронной почтой уже зарегистрирован</div>
|
|||
|
<div class="alert alert-danger hidden" id='reg_error_2' role="alert">Введенные пароли не совпадают</div>
|
|||
|
<div class="alert alert-danger hidden" id='reg_error_3' role="alert">Капча не прошла проверку</div>
|
|||
|
<div class="alert alert-success hidden" id='reg_error_0' role="alert">Вы успешно зарегистрировались! <a href="/lk/">Личный кабинет</a></div -->
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
{include file=$footer}
|