{assign var="oBlog" value=$oTopic->getBlog()} {assign var="oUser" value=$oTopic->getUser()} {assign var="oVote" value=$oTopic->getVote()}

{if $oTopic->getPublish()==0} {$aLang.topic_unpublish} {/if} {if $bTopicList} {$oTopic->getTitle()|escape:'html'} {else} {$oTopic->getTitle()|escape:'html'} {/if}

{if !$oTopic->getUserQuestionIsVote()}
    {foreach from=$oTopic->getQuestionAnswers() key=key item=aAnswer}
  • {/foreach}
{$aLang.topic_question_vote_result}: {$oTopic->getQuestionCountVote()}. {$aLang.topic_question_abstain_result}: {$oTopic->getQuestionCountVoteAbstain()}
{else}
    {foreach from=$oTopic->getQuestionAnswers() key=key item=aAnswer}
  • getQuestionAnswerMax()==$aAnswer.count}class="most"{/if}>
    {$oTopic->getQuestionAnswerPercent($key)}%
    ({$aAnswer.count})
    {$aAnswer.text|escape:'html'}
  • {/foreach}
{$aLang.topic_question_vote_result}: {$oTopic->getQuestionCountVote()}. {$aLang.topic_question_abstain_result}: {$oTopic->getQuestionCountVoteAbstain()}
{/if}

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

( {if $oTopic->getCutText()} {$oTopic->getCutText()} {else} {$aLang.topic_read_more} {/if} ) {/if} {else} {$oTopic->getText()} {/if}
{if !$bTopicList} {hook run='topic_show_end' topic=$oTopic} {/if}