170 lines
9.9 KiB
HTML
Executable File
170 lines
9.9 KiB
HTML
Executable File
{include file=$header title=$tovar[0].naim keywords=$tovar[0].naim description=$tovar[0].naim}
|
||
<!-- END HEADER -->
|
||
<!-- section class="content-grid">
|
||
<div class="images-banner">
|
||
<img src="/api/templates/{$smarty.const.SKIN}/images/media/banner/slider3.jpg" alt="">
|
||
</div>
|
||
</section -->
|
||
{* Хлебные крошки *}
|
||
<div class="clearfix">
|
||
</div>
|
||
<nav aria-label="breadcrumb" style="width:100%;">
|
||
<ol class="breadcrumb">
|
||
<li class="breadcrumb-item"><a href="/" style="font-size: 10pt;">Главная</a></li>
|
||
{$breadcrumb}
|
||
<!-- li class="breadcrumb-item"><a href="/tovar_cat/{$m_groupe[0].id}">{$m_groupe[0].naim}</a></li -->
|
||
<li class="breadcrumb-item active" aria-current="page" style="font-size: 10pt;">{$tovar[0].naim}</li>
|
||
</ol>
|
||
</nav>
|
||
<div class="clearfix">
|
||
</div>
|
||
<div class="section-content" style="margin-top:-50px;">
|
||
<div class="container">
|
||
<div class="row">
|
||
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
|
||
<div class="section-left">
|
||
<div class="row">
|
||
<div class="col-xs-12 col-md-5 col-lg-5">
|
||
<div class="content-img clearfix">
|
||
<img src="/img/magazin/cats/{$tovar[0].img}_372_479.jpg" alt="{$tovar[0].naim}" title="{$tovar[0].naim}" id="zoom_01">
|
||
<div class="slider-titel">
|
||
<div id="gallery_01" class="owl-carousel">
|
||
<div class="item">
|
||
{* 100x129 *}
|
||
<a class="active min_to_max" href="#" data-image="/img/magazin/cats/{$tovar[0].img}_372_479.jpg"><img class="img_01" src="/img/magazin/cats/{$tovar[0].img}_100_129.jpg" alt=""/></a>
|
||
</div>
|
||
{section name=customer loop=$img_list}
|
||
{if $img_list[customer].id}
|
||
<div class="item">
|
||
{* <a class="active" href="#" data-image="/api/templates/{$smarty.const.SKIN}/images/media/product/small/images1.jpg"><img class="img_01" src="/api/templates/{$smarty.const.SKIN}/images/media/product/thumb/images1.jpg" alt=""/></a>*}
|
||
{* 100x129 *}
|
||
<a class="active min_to_max" href="#" data-image="/img/magazin/cats/{$img_list[customer].img}_372_479.jpg"><img class="img_01" src="/img/magazin/cats/{$img_list[customer].img}_100_129.jpg" alt=""/></a>
|
||
</div>
|
||
{/if}
|
||
{/section}
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="col-md-7 col-lg-7">
|
||
<div class="text-content">
|
||
<h3>{$tovar[0].naim} <br>Артикул: {$tovar[0].artikul}</h3>
|
||
<div class="text-version">{*$tovar[0].opis*}</div>
|
||
<span class="price">
|
||
{if ($tovar[0].akccena)}
|
||
<span class="amount">{$tovar[0].akccena} р.</span>
|
||
<span class="amount-3">{$tovar[0].cena} р.</span>
|
||
{else}
|
||
<span class="amount">{$tovar[0].cena}</span>
|
||
{/if}
|
||
</span>
|
||
<a href="#" class="btn-to-cart btn btn-primary btn-lg" data-id="{$smarty.get.id}" style="border:none;border-radius:0px;padding: 7px 11px;margin-top:-2px;">В корзину</a>
|
||
{if $tovar[0].akccena>0}
|
||
<img src="/api/img/gray/gif/gray.gif" data-original="/img/users/1/shablon/super_cena.JPG" title="Супер-цена при заказе на сайте!!!" class="lazy" style="width: 200px;">
|
||
{/if}
|
||
<div class="availi">
|
||
<p>В наличии: <span class="in-stock"> {$tovar[0].ostatok} шт.</span></p>
|
||
</div>
|
||
<div class="sharing-box">
|
||
<!-- div class="social-sharing">
|
||
<ul>
|
||
{if ($smarty.session.user_id)}
|
||
<li><a href="#"><i class="fa fa-heart"></i>В закладки</a></li>
|
||
{/if}
|
||
<li><a href="#"><i class="fa fa-refresh"></i>Сравнить</a></li>
|
||
</ul>
|
||
</div -->
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="tab-reviews ">
|
||
<div class="row">
|
||
<div class="col-sm-12">
|
||
<div class="tabs-container">
|
||
<ul class="tabs clearfix">
|
||
<li><a href="#tab-1">ХАРАКТЕРИСТИКИ</a></li>
|
||
<li><a href="#tab-2">ОТЗЫВЫ</a></li>
|
||
</ul>
|
||
<div id="tab-1" class="tab-content">
|
||
{$tovar[0].opis}
|
||
</div>
|
||
<div id="tab-2" class="tab-content">
|
||
{* комменты *}
|
||
{section name=customer loop=$comments}
|
||
{if $comments[customer].id}
|
||
<div style="border: 1px solid lightgray;height-min:50px;" class="row">
|
||
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2">
|
||
<p class="text-center">
|
||
{$comments[customer].fio}<br>
|
||
<small style="color: gray;">{$comments[customer].t}</small></p>
|
||
</div>
|
||
<div class="col-xs col-sm col-md col-lg">
|
||
{$comments[customer].txt|b64}
|
||
</div>
|
||
</div>
|
||
{/if}
|
||
{/section}
|
||
<!-- img src="/api/img/png/develop/error.png" -->
|
||
{if ($smarty.session.user_id)}
|
||
<form id="form-add-comment">
|
||
<input type="hidden" id="tovar_id" value="{$smarty.get.id}">
|
||
<input type="hidden" id="input_act" value="add_comment">
|
||
<div class="form-group">
|
||
<label for="txt">Отзыв:</label>
|
||
<textarea class="form-control" id="txt" style="height: 250px;"></textarea>
|
||
</div>
|
||
<button type="submit" class="btn btn-primary">Отправить</button>
|
||
</form>
|
||
{/if}
|
||
<div class="alert alert-success hidden" id="div-comment-ok" role="alert">Коментарий успешно добавлен и будет опубликован после модерации</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
{* <div class="product-item">
|
||
<div class="row">
|
||
<div class="col-sm-12">
|
||
<div class="box-title">
|
||
<h3>Популярные товары</h3>
|
||
</div>
|
||
<div class="title-icon">
|
||
<img src="/api/templates/{$smarty.const.SKIN}/images/media/banner/title-icon.jpg" alt="">
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>*}
|
||
{*
|
||
<div class="product-img product-clear">
|
||
<div id="demo2">
|
||
<div id="owl-demo-post" class="owl-carousel">
|
||
<div class="item ">
|
||
<div class="product-image">
|
||
<div class="image">
|
||
<img src="/api/templates/{$smarty.const.SKIN}/images/media/product/bn1.jpg" alt="">
|
||
<span class="price">
|
||
<span class="amount">$ 120.000</span>
|
||
</span>
|
||
</div>
|
||
</div>
|
||
<h4 class="names"><a href="shopping_cart.html">Luxuri Casio G-shock Watches</a></h4>
|
||
<div class="cart-text">
|
||
<p><a href="shopping_cart.html">Купить</a></p>
|
||
<div class="whishlist">
|
||
<a href="#"><i class="fa fa-heart-o"></i></a>
|
||
</div>
|
||
<div class="refresh">
|
||
<a href="#"><i class="fa fa-refresh"></i></a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>*}
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
{include file=$footer} |