{if $params.mode == "survey"}

{$params.display_survey.survey_title}

{$params.display_survey.survey_desc}
{foreach item=question from=$params.display_survey.questions} {if $question.type == "select"} {elseif $question.type == "radio"} {elseif $question.type == "checkbox"} {else} {/if}
{$question.position}. {$question.question}
Por favor, elija:
Por favor, elija: {assign var="aux" value=0} {assign var="total" value=0} {foreach item=answer from=$question.answers} {if $aux == 0} {elseif $aux == $question.columns} {assign var="aux" value=0} {if $total < $question.no_answers} {/if} {/if} {assign var="total" value=$total+1} {assign var="aux" value=$aux+1} {/foreach} {if $aux < $question.columns} {assign var="left_no" value=$question.columns-$aux} {section name=index_left loop=$left_no} {/section} {/if}
{$answer.answer}  
Por favor, elija {assign var="aux" value=0} {assign var="total" value=0} {foreach item=answer from=$question.answers} {if $aux == 0} {elseif $aux == $question.columns} {assign var="aux" value=0} {if $total < $question.no_answers} {/if} {/if} {assign var="total" value=$total+1} {assign var="aux" value=$aux+1} {/foreach} {if $aux < $question.columns} {assign var="left_no" value=$question.columns-$aux} {section name=index_left loop=$left_no} {/section} {/if}
{$answer.answer}  
{/foreach}
 
{elseif $params.mode == "answers"} {if $params.err} {else} {/if}

{$params.display_survey.survey_title}



Lo sentimos, usted ya ha completado esta encuesta!




Gracias por completar nuestra encuesta!


{elseif $params.mode == "none"}


No hay encuesta, la URL no está completa!



{/if}