39 lines
1.8 KiB
HTML
Executable File
39 lines
1.8 KiB
HTML
Executable File
{include file=$header h1="Входящие сообщения"}
|
|
<div class='row'>
|
|
<div class='col-lg-3 col-md-3 col-sm-12 col-xs-12'>
|
|
<ul class="lkmnu">
|
|
<li><a href='/j_msg_list/'>Входящие</a></li>
|
|
<li><a href='/j_msg_list/out'>Исходящие</a></li>
|
|
<li><a href='/j_msg_list/del'>Удаленные</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class='col-lg-9 col-md-9 col-sm-12 col-xs-12'>
|
|
{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-2 col-lg-2">
|
|
{if ($list[customer].logo)}
|
|
<a href="/j_msg_show/{$list[customer].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_msg_show/{$list[customer].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;">
|
|
{if ($list[customer].nameorg)}
|
|
<a href="/j_msg_show/{$list[customer].id}" style="color: #334141;">{$list[customer].nameorg}</a>
|
|
{else}
|
|
<a href="/j_msg_show/{$list[customer].id}" style="color: #334141;">{$list[customer].fio}</a>
|
|
{/if}
|
|
</h4>
|
|
<small style="color: gray; margin-top:-20px;">{$list[customer].t|td}</small><br>
|
|
{$list[customer].msg|substr:200}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{/if}{/section}
|
|
</div>
|
|
</div>
|
|
{include file=$footer} |