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

26 lines
1.0 KiB
HTML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{include file=$header h1="Все новости" title="Все новости"}
<table class="table">
{section name=customer loop=$list}
{if $list[customer].id}
<tr>
<td style="width: 150px;">
<a href="/page/{$list[customer].id}">
{if $list[customer].oblozhka}
{if ($global_settings.lazyload==1)}{* если абонент хочет - будет ленивая загрузка *}
<img src="/img/grey.gif" data-original="/img/pages/{$list[customer].oblozhka}.jpg" class="thumbnail lazy" style="width:100%;">
{else}
<img src="/img/pages/{$list[customer].oblozhka}.jpg" class="thumbnail" style="width:100%;">
{/if}
{else}
<img src="/api/img/gray/png/no_image.png" class="thumbnail" style="width:100%;">
{/if}
</a></td>
<td style="padding: 10px;vertical-align:top;"><h2>{$list[customer].title} <small>{$list[customer].dd}</small></h2>
{$list[customer].txt|substr:200}<p><a href="/page/{$list[customer].id}">Подробнее</a></p>
</td>
</tr>
{/if}
{/section}
</table>
{include file=$footer}