74 lines
3.4 KiB
HTML
Executable File
74 lines
3.4 KiB
HTML
Executable File
{include file=$header title={$page[0].title}}
|
||
|
||
|
||
<!-- 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>{$page[0].title}</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;">{$page[0].title}</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/{$autor[0].ava}" style="width: 100%" class="mb-3">
|
||
|
||
{if ({$autor[0].soc_vk})}<a href="{$autor[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 ({$autor[0].soc_ok})}<a href="{$autor[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 ({$autor[0].soc_ig})}<a href="{$autor[0].soc_ig}" rel="nofollow" target="_blank"><img src="/img/{$smarty.server.SERVER_NAME}/soc/soc_ig.png" style="width: 30px;"></a>{/if}
|
||
{if ({$autor[0].soc_dz})}<a href="{$autor[0].soc_dz}" rel="nofollow" target="_blank"><img src="/img/{$smarty.server.SERVER_NAME}/soc/soc_dz.png" style="width: 30px;"></a>{/if}
|
||
|
||
|
||
</div>
|
||
<div class="col-sm-8">
|
||
<h3 style="font-size: 18pt;" class="mb-3">Информация об авторе</h3>
|
||
<p><b><a href="/user/{$autor[0].id}">{$autor[0].fio}</a></b></p>
|
||
<p>{$autor[0].about}</p>
|
||
<p>{$autor[0].dostup}</p>
|
||
<hr>
|
||
|
||
<p>Все статьи автора {$pageskolvo}</p>
|
||
<p>Благодарности: <span style="margin-left: 10px;" id="user_spasibo">{$autor[0].spasibo}</span> <i class="fa-regular fa-thumbs-up likeup" style="font-size: 12pt;margin-left: 10px; cursor: pointer;" data-id="{$autor[0].id}" data-elem="#user-spasibo" data-tip="user_spasibo"></i></p>
|
||
<p>Рейтинг: <span style="margin-left: 10px;" id="user-reyt">{$autor[0].reyt}</span> <i class="fa-regular fa-thumbs-up likeup" data-id="{$autor[0].id}" data-elem="#user-reyt" data-tip="user_reyt" style="font-size: 12pt; margin-left: 10px; cursor: pointer;"></i></p>
|
||
|
||
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
<!-- Page info end -->
|
||
<div class="container mt-3">
|
||
|
||
{$page[0].txt}
|
||
|
||
|
||
<hr>
|
||
<p>Рейтинг: <span style="margin-left: 10px;" id="page-reyt">{$page[0].reyt}</span>
|
||
<i class="fa-regular fa-thumbs-up likeup" data-id="{$page[0].id}" data-elem="#page-reyt" data-tip="page_reyt" style="font-size: 12pt; margin-left: 10px; cursor: pointer;"></i></p>
|
||
|
||
|
||
{if ($smarty.session.user_id==$page[0].user_id)}
|
||
<p><a href="/blog_edit/{$page[0].user_id}"><i class="fa-solid fa-pen-to-square"></i></a></p>
|
||
{/if}
|
||
</div>
|
||
|
||
{include file=$footer} |