{if count($aTopics)>0} {foreach from=$aTopics item=oTopic}

{$oTopic->getBlogTitle()|escape:'html'} →  {if $oTopic->getType()=='link'} ссылка {/if} {if $oTopic->getPublish()==0} {/if} {$oTopic->getTitle()|escape:'html'} {if $oUserCurrent and ($oUserCurrent->getId()==$oTopic->getUserId() or $oUserCurrent->isAdministrator() or $oTopic->getUserIsBlogAdministrator() or $oTopic->getUserIsBlogModerator() or $oTopic->getBlogOwnerId()==$oUserCurrent->getId())} {/if}

{if $oTopic->getType()=='question'}
{if !$oTopic->getUserQuestionIsVote()} {foreach from=$oTopic->getQuestionAnswers() key=key item=aAnswer}
{/foreach}


Проголосовало: {$oTopic->getQuestionCountVote()}. Воздержалось: {$oTopic->getQuestionCountVoteAbstain()}
{else} {foreach from=$oTopic->getQuestionAnswers() key=key item=aAnswer}
{$oTopic->getQuestionAnswerPercent($key)}%
({$aAnswer.count})
{$aAnswer.text}
{/foreach} Проголосовало: {$oTopic->getQuestionCountVote()}. Воздержалось: {$oTopic->getQuestionCountVoteAbstain()}
{/if}

{/if} {$oTopic->getTextShort()} {if $oTopic->getTextShort()!=$oTopic->getText()}

( {if $oTopic->getCutText()} {$oTopic->getCutText()} {else} Читать дальше {/if} ) {/if}
{if $oUserCurrent} {if $oTopic->getUserId()==$oUserCurrent->getId()} {else} {if $oTopic->getUserIsVote()} {if $oTopic->getUserVoteDelta()>0} {else} {/if} {else} {/if} {/if} {else} {/if} {$oTopic->getRating()}
{if $oTopic->getType()=='link'} {/if}
{/foreach} {include file='paging.tpl' aPaging=`$aPaging`} {else} Сюда еще никто не успел написать {/if}