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

38 lines
1.5 KiB
HTML
Raw Normal View History

2022-06-24 15:29:23 +05:00
<!-- inner menu: contains the actual data -->
<ul class="menu inner-content-div">
{section name=customer loop=$list}
{if $list[customer].id}
<li><!-- start message -->
<a href="/obrasheniya_show/{$list[customer].id}">
<div class="pull-left">
<img src="/api/img/icons/user/user2.jpg" class="rounded-circle" alt="{$list[customer].fio}">
</div>
<div class="mail-contnet">
<h4>
{$list[customer].fio}</h4>
<small><i class="fa fa-clock-o"></i> {$list[customer].t|date_format:"%d.%m.%Y %H:%M:%S"}</small>
<span>{$list[customer].tip_obr}</span>
</div>
</a>
</li>
{/if}
{/section}
{* гостевая книга *}
{section name=customer loop=$list_gb}
{if $list_gb[customer].id}
<li><!-- start message -->
<a href="/guestbook_admin/{$list_gb[customer].id}">
<div class="pull-left">
<img src="/api/img/icons/user/user2.jpg" class="rounded-circle" alt="{$list[customer].fio}">
</div>
<div class="mail-contnet">
<h4>
{$list_gb[customer].fio}</h4>
<small><i class="fa fa-clock-o"></i> {$list_gb[customer].t|date_format:"%d.%m.%Y %H:%M:%S"}</small>
<span>{$list_gb[customer].txt}</span>
</div>
</a>
</li>
{/if}
{/section}
</ul>