73 lines
2.6 KiB
HTML
73 lines
2.6 KiB
HTML
|
{include file=$header_admin h1="Модерация отзывов" title="Модерация отзывов"}
|
||
|
<input type="hidden" id="parent_id" value="{$smarty.get.id}"> {* вышестоящая категория, если она есть *}
|
||
|
<input type="hidden" id="del_id" value="">{* Ид удаляемого контента *}
|
||
|
|
||
|
<nav aria-label="breadcrumb">
|
||
|
<ol class="breadcrumb">
|
||
|
<li class="breadcrumb-item"><a href="/admin/">Главная</a></li>
|
||
|
<li class="breadcrumb-item active" aria-current="page">Модерация отзывов</li>
|
||
|
</ol>
|
||
|
</nav>
|
||
|
<h1>Модерация отзывов</h1>
|
||
|
|
||
|
<div class="ibox">
|
||
|
<div class="ibox-head">
|
||
|
<div class="ibox-title">
|
||
|
Отзывы
|
||
|
</div>
|
||
|
<ul class="nav nav-tabs tabs-line pull-right">
|
||
|
<li class="nav-item">
|
||
|
<a class="nav-link active" href="#tab-8-1" data-toggle="tab"><i class="fa-sharp fa-solid fa-list"></i> Список</a>
|
||
|
</li>
|
||
|
|
||
|
<li class="nav-item">
|
||
|
<a class="nav-link" href="#tab-8-2" data-toggle="tab"><i class="fa-sharp fa-solid fa-list"></i> Одобренные</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="ibox-body">
|
||
|
<div class="tab-content">
|
||
|
<div class="tab-pane fade show active" id="tab-8-1">
|
||
|
<div class="row">
|
||
|
|
||
|
{section name=customer loop=$newotz}
|
||
|
{if $newotz[customer].id}
|
||
|
<div class="col-sm-3 div-{$newotz[customer].id}">
|
||
|
|
||
|
<a href="/user/{$newotz[customer].user_id}">{$newotz[customer].fio}</a>
|
||
|
<br>
|
||
|
<a href="/tovar_show/{$newotz[customer].tovar_id}">tovar</a>
|
||
|
|
||
|
</div>
|
||
|
<div class="col-sm-7 div-{$newotz[customer].id}">{$newotz[customer].txt}</div>
|
||
|
<div class="col-sm-2 div-{$newotz[customer].id}">
|
||
|
|
||
|
<button type="button" class="btn btn-success btn-otz" data-id="{$newotz[customer].id}" data-tip="1">Одобрить</button>
|
||
|
<button type="button" class="btn btn-danger btn-otz" data-id="{$newotz[customer].id}" data-tip="2">Отклонить</button>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
{/if} {/section}
|
||
|
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="tab-pane" id="tab-8-2">
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- Модалка удаления -->
|
||
|
|
||
|
{include file=$footer_admin}
|