Файл: theme/tpl/posts.tpl
Строк: 41
{if $post}
<div class="margin">
{section name=i
loop=$post}
{if $post[i].url}<a
href="{$post[i].url}">{/if}
<div class="{if
$post[i].div}{$post[i].div}{/if} listing">
{if $post[i].count}
<count>{$post[i].count}</count> {/if}
{if $post[i].image}
<div class="image">
{$post[i].image}</div>{/if}
<div
class="content">
{if $post[i].options}
<ul
class="drop-menu-main">
<li>
<span
class="drop-down">
<icon
class="radio-unchecked"></icon>
<icon
class="radio-unchecked"></icon>
<icon
class="radio-unchecked"></icon>
</span>
<div
class="drop-menu-main-sub">
{section name=select
loop=$post[i].options}
<a
href="{$post[i].options[select].url}">{$post[i].options[select].title}</a>
{/section}
</div>
</li>
</ul>
{/if}
{if
$post[i].icon}<icon class="{$post[i].icon}"></icon>
{/if}
{if $post[i].title}<b>{$post[i].title}</b>{/if}
{if
$post[i].quote}<div
class="quote">{$post[i].quote}</div>{/if}
{if
$post[i].post}<br/>{$post[i].post}{/if}
{if $post[i].time}<span
class="time">{$post[i].time}</span>{/if}
</div>
</div>
{if
$post[i].url}</a>{/if}
{/section}
</div>
{/if}