mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 09:24:25 +03:00
25 lines
1 KiB
Smarty
25 lines
1 KiB
Smarty
<ul class="user-list">
|
|
{foreach from=$oTopics item=oTopic name="cmt"}
|
|
{assign var="oUser" value=$oTopic->getUser()}
|
|
{assign var="oBlog" value=$oTopic->getBlog()}
|
|
|
|
<li class="js-title-topic" title="{$oTopic->getText()|strip_tags|truncate:150:'...'}">
|
|
<a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(48)}" alt="avatar" class="avatar" /></a>
|
|
|
|
<a href="{$oUser->getUserWebPath()}" class="author">{$oUser->getLogin()}</a> →
|
|
<a href="{$oBlog->getUrlFull()}">{$oBlog->getTitle()|escape:'html'}</a> →
|
|
<a href="{$oTopic->getUrl()}">{$oTopic->getTitle()|escape:'html'}</a>
|
|
|
|
<p>
|
|
<time>{date_format date=$oTopic->getDateAdd() hours_back="12" minutes_back="60" now="60" day="day H:i" format="j F Y, H:i"}</time> |
|
|
{$oTopic->getCountComment()} {$oTopic->getCountComment()|declension:$aLang.comment_declension:'russian'}
|
|
</p>
|
|
</li>
|
|
{/foreach}
|
|
</ul>
|
|
|
|
|
|
<footer>
|
|
<a href="{router page='new'}">{$aLang.block_stream_topics_all}</a> | <a href="{router page='rss'}new/">RSS</a>
|
|
</footer>
|
|
|