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

32 lines
810 B
HTML
Executable File

{include file=$header title="Живой журнал" h1="Живой журнал"}
<div class="row">
{section name=customer loop=$blogs}
{if $blogs[customer].id}
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2">
{if ($blogs[customer].img)}
<img src="/img/blogs/{$blogs[customer].img}.jpg" style="width: 100%" class="img-thumbnail">
{else}
<img src="/api/frameworks/img/gray/png/no_image.png" style="width: 100%" class="img-thumbnail">
{/if}
</div>
<div class="col-xs-10 col-sm-10 col-md-10 col-lg-10">
<h4><a href="/blog/{$blogs[customer].id}">{$blogs[customer].tema}</a></h4>
<span class="txt-gray">{$blogs[customer].abtime|date_format:"%M:%H %d.%m.%Y"}</span>
</div>
<div style="height:30px;width:100%;"></div>
{/if}
{/section}
</div>
{$nav}
{include file=$footer}