145 lines
7.2 KiB
HTML
145 lines
7.2 KiB
HTML
|
{include file=$header title="Вход на сайт" meta='
|
|||
|
<meta name="robots" content="noindex,nofollow">' h1="Вход на сайт"}
|
|||
|
|
|||
|
|
|||
|
<!--start breadcrumb-->
|
|||
|
<section class="py-3 border-bottom border-top d-none d-md-flex bg-light">
|
|||
|
<div class="container">
|
|||
|
<div class="page-breadcrumb d-flex align-items-center">
|
|||
|
<h3 class="breadcrumb-title pe-3">Регистрация</h3>
|
|||
|
<div class="ms-auto">
|
|||
|
<nav aria-label="breadcrumb">
|
|||
|
<ol class="breadcrumb mb-0 p-0">
|
|||
|
<li class="breadcrumb-item"><a href="/"><i class="bx bx-home-alt"></i> Старт</a>
|
|||
|
</li>
|
|||
|
<li class="breadcrumb-item"><a href="/login/">Войти</a>
|
|||
|
</li>
|
|||
|
<li class="breadcrumb-item active" aria-current="page">Регистрация</li>
|
|||
|
</ol>
|
|||
|
</nav>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</section>
|
|||
|
<!--end breadcrumb-->
|
|||
|
<!--start shop cart-->
|
|||
|
<section class="py-0 py-lg-5">
|
|||
|
<div class="container">
|
|||
|
<div class="section-authentication-signin d-flex align-items-center justify-content-center my-5 my-lg-0">
|
|||
|
<div class="row row-cols-1 row-cols-lg-1 row-cols-xl-2">
|
|||
|
<div class="col mx-auto">
|
|||
|
<div class="card mb-0">
|
|||
|
<div class="card-body">
|
|||
|
<div class="border p-4 rounded">
|
|||
|
<div class="text-center">
|
|||
|
<h3 class="">Регистрация</h3>
|
|||
|
<p>Уже зарегистрированы? <a href="/login/">Войдите!</a>
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
<div class="login-separater text-center mb-4"> <span>Регистрация по почте</span>
|
|||
|
<hr/>
|
|||
|
</div>
|
|||
|
<div class="form-body">
|
|||
|
<form class="row g-3" action="/login/" method="post">
|
|||
|
<div class="col-sm-6">
|
|||
|
<input type="hidden" name="act" value="reg">
|
|||
|
<label for="inputFirstName" class="form-label">Фамилия</label>
|
|||
|
<input type="text" class="form-control" id="inputFirstName" placeholder="" name="familiya">
|
|||
|
</div>
|
|||
|
<div class="col-sm-6">
|
|||
|
<label for="inputLastName" class="form-label">Имя</label>
|
|||
|
<input type="text" class="form-control" id="inputLastName" placeholder="" name="imya">
|
|||
|
</div>
|
|||
|
<div class="col-12">
|
|||
|
<label for="inputEmailAddress" class="form-label">Адрес электронной почты</label>
|
|||
|
<input type="email" class="form-control" id="inputEmailAddress" placeholder="example@user.com" name="email">
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="alert alert-danger hidden" role="alert" id="showErrEmail">
|
|||
|
Пользователь с таким ящиком электронной почты уже зарегистрирован
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="col-md-6">
|
|||
|
<label class="form-label">Регион</label>
|
|||
|
<select class="form-control mt-2 mb-2" name="parent" id="sel-parent-region" name="region">
|
|||
|
{section name=customer loop=$region} {if $region[customer].id}
|
|||
|
<option value="{$region[customer].id}" {if ($smarty.session.region==$region[customer].id)} selected{/if}>{$region[customer].txt}</option>
|
|||
|
{/if} {/section}
|
|||
|
</select>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="col-md-6">
|
|||
|
<label class="form-label">Город</label>
|
|||
|
<select class="form-control mt-2 mb-2" name="parent" id="sel-children-city" name="city">
|
|||
|
{section name=customer loop=$city} {if $city[customer].id}
|
|||
|
<option value="{$city[customer].id}" data-chained="{$city[customer].region_id}" {if ($smarty.session.city==$city[customer].id)} selected{/if}>{$city[customer].txt}</option>
|
|||
|
{/if} {/section}
|
|||
|
</select>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="col-6">
|
|||
|
<label for="inputChoosePassword" class="form-label">Пароль</label>
|
|||
|
<div class="input-group" id="show_hide_password">
|
|||
|
<input type="password" class="form-control border-end-0" id="inputChoosePassword" value="" placeholder="Enter Password" name="pwd"> <a href="javascript:;" class="input-group-text bg-transparent"><i class='bx bx-hide'></i></a>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="col-6">
|
|||
|
<label for="inputChoosePassword" class="form-label">И еще разок!</label>
|
|||
|
<div class="input-group" id="show_hide_password">
|
|||
|
<input type="password" class="form-control border-end-0" id="inputChoosePassword" value="" placeholder="Enter Password" name="pwd2"> <a href="javascript:;" class="input-group-text bg-transparent"><i class='bx bx-hide'></i></a>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="alert alert-danger hidden" role="alert" id="showErrPass">
|
|||
|
Введеные пароли не совпадают
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="col-12">
|
|||
|
<label for="inputSelectCountry" class="form-label">Кто вы?</label>
|
|||
|
<select class="form-select" id="inputSelectCountry" aria-label="Default select example" name="tip">
|
|||
|
<option selected>Конечный потребитель</option>
|
|||
|
<option value="1">Магазин (Интернет-магазин)</option>
|
|||
|
<option value="2">Завод-производитель</option>
|
|||
|
<option value="3">Строительная организация</option>
|
|||
|
</select>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="col-6" style="padding-top: 5px;">
|
|||
|
<img src="/api/soft/capcha/capcha.php">
|
|||
|
</div>
|
|||
|
<div class="col-6">
|
|||
|
<label for="inputChoosePassword" class="form-label">Проверочный код</label>
|
|||
|
<div class="input-group" id="show_hide_password">
|
|||
|
<input type="input" class="form-control border-end-0" value="" name="capcha">
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="col-12">
|
|||
|
<div class="form-check form-switch">
|
|||
|
<input class="form-check-input" type="checkbox" id="flexSwitchCheckChecked">
|
|||
|
<label class="form-check-label" for="flexSwitchCheckChecked">Я прочитал <a href="">соглашение</a> и хочу зарегистрироваться</label>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="col-12">
|
|||
|
<div class="d-grid">
|
|||
|
<button type="submit" class="btn btn-dark"><i class='bx bx-user'></i>Зарегистрироваться</button>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</form>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<!--end row-->
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</section>
|
|||
|
<!--end shop cart-->
|
|||
|
|
|||
|
|
|||
|
{include file=$footer plugins="<script src='/api/jquery/plugins/jquery_chained/jquery.chained.min.js'></script>"}
|