196 lines
8.1 KiB
HTML
Executable File
196 lines
8.1 KiB
HTML
Executable File
<!-- :::::: Start Hero Section :::::: -->
|
||
{include file=$header title="Личный кабинет"}
|
||
|
||
<section class="container">
|
||
|
||
<nav aria-label="breadcrumb" style="width: 100%; background-color: lightgray; border-radius: 0px 0px 10px 10px; padding-top: 15px; padding-bottom: 1px;;">
|
||
<ol class="breadcrumb">
|
||
<li class="breadcrumb-item"><a href="/">Главная</a></li>
|
||
<li class="breadcrumb-item active" aria-current="page"><b>Личный кабинет </b></li>
|
||
</ol>
|
||
</nav>
|
||
|
||
|
||
<h1>Личный кабинет</h1>
|
||
</section>
|
||
|
||
<!-- :::::: Start Main Container Section :::::: wget -e robots=off -r -l0 -k https://warzone2100.pro -->
|
||
<main id="main-container" class="main-container">
|
||
<div class="container">
|
||
<div class="row">
|
||
<!-- Start Client Shipping Address -->
|
||
<div class="col-md-7">
|
||
|
||
<div style="border: 1px solid lightgray; border-radius: 10px; padding: 20px; margin-bottom: 20px;">
|
||
<h3 style="margin: 0px; margin-bottom: 10px;">Мои бонусы: {$user[0].bonus|default:0}</h3>
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
<div style="border: 1px solid lightgray; border-radius: 10px; padding: 20px; margin-bottom: 20px;">
|
||
<h3 style="margin: 0px; margin-bottom: 10px;">Мои данные:</h3>
|
||
<form>
|
||
<input type="text" class="form-control" name="fio" placeholder="Фамилия имя отчество"
|
||
style="margin-bottom: 10px;" value="{$user_info[0].fio}">
|
||
<input type="text" class="form-control" name="tel" placeholder="Телефон"
|
||
style="margin-bottom: 10px;" value="{$user_info[0].tel}">
|
||
<input type="submit" class="btn btn-secondary" name="ok" value="Сохранить">
|
||
</form>
|
||
|
||
|
||
|
||
|
||
|
||
<h4 style="margin-top: 30px;">Адреса доставки</h4>
|
||
|
||
|
||
<table class="table" id="table_adres">
|
||
|
||
{section name=customer loop=$adresa}{if $adresa[customer].id}
|
||
|
||
<tr id="{$adresa[customer].id}">
|
||
<td style="text-align: left;">{$adresa[customer].gorod} {$adresa[customer].street}
|
||
{$adresa[customer].dom}</td>
|
||
<td style="width: 20px;"><img src="img/del.gif" title="Удалить" style="cursor: pointer;"
|
||
class="img-del" data-id="{$adresa[customer].id}"></td>
|
||
</tr>
|
||
|
||
{/if}{/section}
|
||
|
||
|
||
</table>
|
||
|
||
|
||
<form action="/act/lk" method="post" class="form-box" id="add_adres">
|
||
<div class="row">
|
||
<div class="col-md-5">
|
||
<div class="form-box__single-group">
|
||
<!-- label for="form-first-name">Контактное лицо</label -->
|
||
<input type="text" name="gorod" placeholder="Город" class="form-control">
|
||
<input type="hidden" name="act" value="add_adres">
|
||
</div>
|
||
</div>
|
||
<div class="col-md-5">
|
||
<div class="form-box__single-group">
|
||
<!-- label for="form-first-name">Контактное лицо</label -->
|
||
<input type="text" name="street" placeholder="Улица" class="form-control">
|
||
|
||
</div>
|
||
</div>
|
||
<div class="col-md-2">
|
||
<div class="form-box__single-group">
|
||
<!-- label for="form-first-name">Контактное лицо</label -->
|
||
<input type="text" name="dom" placeholder="Дом" class="form-control">
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<div class="col-md-12" style="margin-top: 10px;">
|
||
<div class="form-box__single-group">
|
||
<!-- label for="form-first-name">Контактное лицо</label -->
|
||
<input type="submit" name="ok" value="Добавить" class="btn btn-secondary">
|
||
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
</form>
|
||
|
||
|
||
</div>
|
||
|
||
|
||
<div style="border: 1px solid lightgray; border-radius: 10px; padding: 20px;">
|
||
<h3 style="margin: 0px; margin-bottom: 10px;">Мои организации:</h3>
|
||
|
||
|
||
|
||
<input type="text" maxlength="10" class="form-control mb-3" id="input-inn"
|
||
placeholder="Введите ИНН для поиска по нашей базе">
|
||
|
||
<a href="#" id="addOrgFromBD" title="Нажмите, чтобы добавить организацию себе в кабинет"
|
||
style="color:green;"></a><br>
|
||
<a href="/create_org/">Создайте организацию, если не нашлась нужная</a>
|
||
|
||
<table class="table mt-3">
|
||
|
||
|
||
<tr>
|
||
<td></td>
|
||
<td></td>
|
||
<td>del</td>
|
||
</tr>
|
||
|
||
|
||
</table>
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
{* Мои организации *}
|
||
|
||
<div class="section-content">
|
||
<h5 class="section-content__title">Мои организации</h5>
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- End Client Shipping Address -->
|
||
|
||
|
||
|
||
|
||
<!-- Start Order Wrapper -->
|
||
<div class="col-lg-5">
|
||
<div class="your-order-section">
|
||
<div class="section-content">
|
||
<h5 class="section-content__title">История заказов</h5>
|
||
</div>
|
||
<div class="your-order-box gray-bg m-t-40 m-b-30">
|
||
<div class="your-order-product-info">
|
||
|
||
<table class="table">
|
||
|
||
{section name=customer loop=$orders}{if $orders[customer].id}
|
||
<tr>
|
||
<td>Заказ № {$orders[customer].id} {$orders[customer].t}</td>
|
||
<td>{$orders[customer].status}</td>
|
||
|
||
<td>{$orders[customer].summa}</td>
|
||
<td><img src="img/del.gif" title="Отменить заказ" style="cursor: pointer;"></td>
|
||
</tr>
|
||
{/if}{/section}
|
||
</table>
|
||
|
||
|
||
</div>
|
||
</div>
|
||
<div class="text-center">
|
||
<button
|
||
class="btn btn--small btn--radius btn--green btn--green-hover-black btn--uppercase font--bold"
|
||
type="submit" data-link="my_orders">Вся история</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!-- End Order Wrapper -->
|
||
</div>
|
||
</div>
|
||
</main>
|
||
<!-- :::::: End Main Container Section :::::: -->
|
||
|
||
{include file=$footer} |