big-moving.ru/api/mod/j_load_otzyv.html

29 lines
1.7 KiB
HTML
Raw Normal View History

2022-06-24 15:29:23 +05:00
{if $list[0].id}<h3>Отзывы</h3>{/if}
{section name=customer loop=$list}{if $list[customer].id}
<div class="card mb-3" style="max-width: 100%;" {if ($list[customer].adresat==$smarty.session.user_id)}id="{$list[customer].id}"{/if}>
<div class="row no-gutters">
<div class="col-md-3 col-lg-3">
{if ($list[customer].logo)}
<a href="/j_show_org/{$list[customer].user_id}"><img class="lazy" src='/img/noImg.png' data-original='/img/users/{$list[customer].user_id}/{$list[customer].logo}.jpg'></a>
{else}
<a href="/j_show_soiskatel/{$list[customer].user_id}"><img class="lazy" src='/img/noImg.png' data-original='/img/users/{$list[customer].user_id}/{$list[customer].foto}.jpg' style="float:left;"></a>
{/if}
</div>
<div class="col-md col-lg">
<div class="card-body"><h4 style="margin-top:-15px;"><a href="/j_show_org/{$list[customer].user_id}" style="color: #334141;">{$list[customer].nameorg}</a></h4>
<h4 style="margin-top:-15px;"><a href="/j_show_soiskatel/{$list[customer].user_id}" style="color: #334141;">{$list[customer].fio}</a></h4>
<small style="color: gray; margin-top:-20px;">{$list[customer].t2}</small><br>
{$list[customer].msg}
{if ($list[customer].adresat==$smarty.session.user_id)}
<hr><a href="{$list[customer].id}" class="del_otzyv">Удалить отзыв</a>
{/if}
</div>
</div>
</div>
</div>
{/if}{/section}
<script src="/api/templates/job-rf.ru/js/del_otzyv.js?ver=2"></script>
<script src="/api/templates/job-rf.ru/js/lazy.js?ver=1"></script>