1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-05 16:04:24 +03:00
ifhub.club/templates/skin/developer/blocks/block.blogs_top.tpl
Denis Shakhov e3ff284acc Blocks
2013-05-04 21:10:22 +07:00

19 lines
571 B
Smarty
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.

{**
* Блок со списоком блогов
* Список блогов
*
* @styles css/blocks.css
*}
<ul class="item-list">
{foreach from=$aBlogs item=oBlog}
<li>
<a href="{$oBlog->getUrlFull()}"><img src="{$oBlog->getAvatarPath(48)}" alt="avatar" class="avatar" /></a>
{if $oBlog->getType()=='close'}<i title="{$aLang.blog_closed}" class="icon icon-lock"></i>{/if}
<a href="{$oBlog->getUrlFull()}">{$oBlog->getTitle()|escape:'html'}</a>
<p>{$aLang.blog_rating}: <strong>{$oBlog->getRating()}</strong></p>
</li>
{/foreach}
</ul>