1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-06 00:14:25 +03:00
ifhub.club/templates/skin/new/topic_question.tpl

12 lines
646 B
Smarty
Raw Normal View History

2009-01-10 21:11:09 +02:00
<ul class="poll">
{foreach from=$oTopic->getQuestionAnswers() key=key item=aAnswer}
<li {if $oTopic->getQuestionAnswerMax()==$aAnswer.count}class="most"{/if}>
<dl>
2009-03-11 19:15:21 +02:00
<dt><span>{$oTopic->getQuestionAnswerPercent($key)}%</span><br />({$aAnswer.count})</dt>
2010-02-07 13:54:39 +02:00
<dd>{$aAnswer.text|escape:'html'}<br /><div style="width: {$oTopic->getQuestionAnswerPercent($key)}%;" ><span></span></div></dd>
2009-01-10 21:11:09 +02:00
</dl>
</li>
{/foreach}
</ul>
<span>{$aLang.topic_question_vote_result}: {$oTopic->getQuestionCountVote()}. {$aLang.topic_question_abstain_result}: {$oTopic->getQuestionCountVoteAbstain()}</span><br>