151 lines
4.0 KiB
HTML
151 lines
4.0 KiB
HTML
|
{* 22.04.2018 - реализован вывод ссылок на страницы по алиасу *} {include file=$header h1=$title title=$page_info[0].title keywords="{$keywords}" description="{$description}"}
|
||
|
<article class="container">
|
||
|
|
||
|
|
||
|
<h1>{$page_info[0].title}</h1>
|
||
|
<nav aria-label="breadcrumb">
|
||
|
<ol class="breadcrumb">
|
||
|
<li class="breadcrumb-item"><a href="#">Главная</a></li>
|
||
|
<li class="breadcrumb-item active" aria-current="page">{$page_info[0].title}</li>
|
||
|
</ol>
|
||
|
</nav>
|
||
|
|
||
|
<div class="row">
|
||
|
<div class="col-md-8">
|
||
|
{section name=customer loop=$list}{if $list[customer].id}
|
||
|
|
||
|
|
||
|
|
||
|
<div class="single-recent-blog-post" style="border: 0px solid black;">
|
||
|
<div class="thumb">
|
||
|
<img class="img-fluid lazy" src="/api/img/gray/gif/gray.gif"
|
||
|
data-original="/img/{$smarty.server.SERVER_NAME}/pages/{$list[customer].id}/{$list[customer].img}_750_400.jpg"
|
||
|
alt="{$list[customer].title}">
|
||
|
<ul class="thumb-info">
|
||
|
<li><a href="#"><i class="ti-user"></i>Admin</a></li>
|
||
|
<li><a href="#"><i class="ti-notepad"></i>{$list[customer].t|t}</a></li>
|
||
|
<li><a href="#"><i class="ti-themify-favicon"></i>2 Comments</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="details mt-20">
|
||
|
<a href="/page/{$list[customer].id}">
|
||
|
<h3>{$list[customer].title}</h3>
|
||
|
</a>
|
||
|
<!-- p class="tag-list-inline">Tag: <a href="#">travel</a>, <a href="#">life style</a>, <a href="#">technology</a>, <a href="#">fashion</a></p -->
|
||
|
<p>{$list[customer].description}</p>
|
||
|
<a class="button" href="/page/{$list[customer].id}">Читать <i class="ti-arrow-right"></i></a>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
{/if}{/section}
|
||
|
|
||
|
</div>
|
||
|
<div class="col-md-4">
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<div class="widget-wrap">
|
||
|
|
||
|
|
||
|
|
||
|
<div class="single-sidebar-widget post-category-widget">
|
||
|
<h4 class="single-sidebar-widget__title">Разделы</h4>
|
||
|
<ul class="cat-list mt-20">
|
||
|
{section name=customer loop=$categories}{if ($categories[customer].id)}
|
||
|
<li>
|
||
|
<a href="/cat/{$categories[customer].id}" class="d-flex justify-content-between">
|
||
|
<p>{$categories[customer].title}</p>
|
||
|
<p>({$categories[customer].count})</p>
|
||
|
</a>
|
||
|
</li>
|
||
|
|
||
|
{/if}{/section}
|
||
|
|
||
|
|
||
|
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
<div class="single-sidebar-widget popular-post-widget">
|
||
|
<h4 class="single-sidebar-widget__title">Самое читаемое</h4>
|
||
|
<div class="popular-post-list">
|
||
|
|
||
|
|
||
|
|
||
|
{section name=customer loop=$popular_pages}{if ($popular_pages[customer].id)}
|
||
|
<div class="single-post-list">
|
||
|
<div class="thumb">
|
||
|
<img class="card-img rounded-0 lazy" src="img/nofoto.jpg"
|
||
|
data-original="/img/{$smarty.server.SERVER_NAME}/pages/{$popular_pages[customer].id}/{$popular_pages[customer].img}_750_400.jpg"
|
||
|
alt="">
|
||
|
<ul class="thumb-info">
|
||
|
<li><a href="#">Admin</a></li>
|
||
|
<li><a href="#">{$popular_pages[customer].t|t}</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="details mt-20">
|
||
|
<a href="blog-single.html">
|
||
|
<h6>{$popular_pages[customer].title}</h6>
|
||
|
</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
{/if}{/section}
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</article>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
{include file=$footer}
|