core/skin/new.yurecnt.ru/inc/mod/user/index.html

57 lines
3.0 KiB
HTML
Raw Normal View History

{include file=$header title={$user[0].fio}}
<!-- Page info -->
<div class="page-info-section set-bg" data-setbg="img/page-bg/3.jpg">
<div class="container" style="position: absolute; margin-top:215px; margin-left: auto; margin-right: auto; left: 0; right: 0;">
<div class="row" style="z-index: 400;">
<div class="col-sm-4">
<div class="site-breadcrumb">
<a href="/">Старт</a>
<span>{$user[0].fio}</span>
</div>
</div>
<div class="col"><!--h1 style="font-size: 20pt; color: #fff;"class="text-right">{$page[0].title}</h1--></div>
</div>
</div>
</div>
<div class="container" style="margin-top: 60px;">
<h1 class="text-center" style="font-size: 22pt;">{$user[0].fio}</h1>
</div>
<div class="container mt-3" style="border: 1px solid lightgray; border-radius: 5px; padding-top: 10px; padding-bottom: 10px;">
<div class="row">
<div class="col-sm-4">
<img src="/img/{$smarty.server.SERVER_NAME}/ava/{$user[0].ava}" style="width: 100%" class="mb-3">
{if ({$user[0].soc_vk})}<a href="{$user[0].soc_vk}" rel="nofollow" target="_blank"><img src="/img/{$smarty.server.SERVER_NAME}/soc/soc_vk_color.png" style="width: 30px;"></a>{/if}
{if ({$user[0].soc_ok})}<a href="{$user[0].soc_ok}" rel="nofollow" target="_blank"><img src="/img/{$smarty.server.SERVER_NAME}/soc/soc_ok_color.png" style="width: 30px;"></a>{/if}
{if ({$user[0].soc_ig})}<a href="{$user[0].soc_ig}" rel="nofollow" target="_blank"><img src="/img/{$smarty.server.SERVER_NAME}/soc/soc_ig.png" style="width: 30px;"></a>{/if}
{if ({$user[0].soc_dz})}<a href="{$user[0].soc_dz}" rel="nofollow" target="_blank"><img src="/img/{$smarty.server.SERVER_NAME}/soc/soc_dz.png" style="width: 30px;"></a>{/if}
<h3 style="margin-top: 20px;">Статьи</h3>
{section name=customer loop=$pages} {if $pages[customer].id}
<p><a href="/page/{$pages[customer].id}" style="text-decoration: none;">{$pages[customer].title}</a></p>
{/if} {/section}
</div>
<div class="col-sm-8">
<p>{$user[0].about}</p>
<p>{$user[0].dostup}</p>
<hr>
<p>Все статьи автора {$pageskolvo}</p>
<p>Благодарности: <span style="margin-left: 10px;" id="user_spasibo">{$user[0].spasibo}</span> <i class="fa-regular fa-thumbs-up likeup" style="font-size: 12pt;margin-left: 10px; cursor: pointer;" data-id="{$user[0].id}" data-elem="#user-spasibo" data-tip="user_spasibo"></i></p>
<p>Рейтинг: <span style="margin-left: 10px;" id="user-reyt">{$user[0].reyt}</span> <i class="fa-regular fa-thumbs-up likeup" data-id="{$user[0].id}" data-elem="#user-reyt" data-tip="user_reyt" style="font-size: 12pt; margin-left: 10px; cursor: pointer;"></i></p>
</div>
</div>
</div>
{include file=$footer}