{if $start_new_poll eq "yes"}

{$smarty.const.ADMIN_POLL_QUESTION}

{$smarty.const.ADMIN_POLL_OPTIONS}
{section name=i loop=$survey_answers} {$survey_answers[i]} {/section}

{$smarty.const.SAVE_BUTTON} | {$smarty.const.RESET_BUTTON} {elseif $edit_poll eq "yes"}

{$smarty.const.ADMIN_POLL_QUESTION}

{$smarty.const.ADMIN_POLL_OPTIONS}
{section name=i loop=$current_survey_answers} {$current_survey_answers[i]} {/section}

{$smarty.const.SAVE_BUTTON} {else}

{$smarty.const.ADMIN_VOTES_NAME} | {$smarty.const.ADMIN_VOTES_DATE} | {$smarty.const.ADMIN_VOTES_COUNT} | {$smarty.const.ADMIN_VOTES_STATUS} | Del
{assign var="admhl" value=0} {section name=i loop=$surveys} {if $admhl eq 1}
{else}{assign var="admhl" value=1}{/if}
{$surveys[i][0]} | {$surveys[i][4]} | {$surveys[i][1]} | {if $surveys[i][2] eq 1}{$smarty.const.ADMIN_VOTES_ACTIVE}{else}{$smarty.const.ADMIN_VOTES_DO_ACTIVE}{/if} | X
{sectionelse}
{$smarty.const.STRING_EMPTY_LIST}
{/section}

{$smarty.const.ADMIN_START_NEW_POLL}{/if}

{$smarty.const.USEFUL_FOR_YOU} {$smarty.const.ADMIN_POLL_WARNING} {$smarty.const.ALERT_ADMIN2}