core/api/modules/lk-tovar/index.html

112 lines
3.8 KiB
HTML
Raw Normal View History

2022-12-11 13:55:49 +05:00
{include file=$header meta='<meta name="robots" content="noindex,nofollow">' title="Личный кабинет"}
<!--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="javascript:;"><i class="bx bx-home-alt"></i> Старт</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-4">
<div class="container">
<h3 class="d-none">Account</h3>
<div class="card">
<div class="card-body">
<div class="row">
<div class="col-lg-3">
{include file=$mnulk}
</div>
<div class="col-lg-9">
<div class="card shadow-none mb-0">
<div class="card-body">
<form class="row g-3" id="formAddAdres">
<h3>Товары</h3>
<table class="table">
{if isset($linkUp)}
<tr>
<td width=100px>
<a href="/lk-tovar/{$linkUp}"><img src="/api/img/gray/folder_grey_open_128x128.png" style="width: 100%;"></a>
</td>
<td>
<a href="/lk-tovar/{$linkUp}"><b>Выше</b></a>
</td>
</tr>
{/if}
<!-- Список категорий -->
{section name=customer loop=$tovarCat}
{if $tovarCat[customer].id}
<tr id="tr_cat_{$tovarCat[customer].id}">
<td width=100px>
<a href="/lk-tovar/{$tovarCat[customer].id}"><img src="/api/img/gray/folder_grey_open_128x128.png" style="width: 100%;"></a>
</td>
<td>
<a href="/lk-tovar/{$tovarCat[customer].id}">{$tovarCat[customer].title}</a>
</td>
</tr>
{/if}
{/section}
<!-- Список товаров -->
{section name=customer loop=$tovars}
{if $tovars[customer].id}
<tr id="tr_cat_{$tovars[customer].id}">
<td width=100px>
<a href="/lk-tovar/{$tovars[customer].id}"><img src="/api/img/gray/folder_grey_open_128x128.png" style="width: 100%;"></a>
</td>
<td>
<a href="/lk-tovar/{$tovars[customer].id}">{$tovars[customer].txt}</a>
<a href="/lk-edit-tovar/{$tovars[customer].id}" class="btn btn-link">Редактировать</a>
</td>
</tr>
{/if}
{/section}
</table>
<div id="wr-tabs">
<div class="tabs">
<div class="tab active">Вкладка №1</div>
<div class="tab">Вкладка №2</div>
<div class="tab">Вкладка №3</div>
<div class="tab">Вкладка №4</div>
</div>
<div class="content">
<div class="tab-cont active">
Контент №1
</div>
<div class="tab-cont">
Контент №2
</div>
<div class="tab-cont">
Контент №3
</div>
<div class="tab-cont">
Контент №4
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!--end shop cart-->
{include file=$footer plugins="<script src='/api/jquery/plugins/jquery_chained/jquery.chained.min.js'></script>"}