{extends file='page.tpl'} {block name=main} {if !empty($message)}
{/if} {* Global informations about the current poll *} {include 'part/poll_info.tpl' admin=$admin} {* Information about voting *} {if $admin} {include 'part/poll_hint_admin.tpl'} {else} {include 'part/poll_hint.tpl' active=$poll->active} {/if} {* Scroll left and right *} {* Vote table *} {if $poll->format === 'D'} {include 'part/vote_table_date.tpl' active=$poll->active} {else} {include 'part/vote_table_classic.tpl' active=$poll->active} {/if} {* Comments *} {include 'part/comments.tpl' active=$poll->active comments=$comments} {/block}