{{ definition.C_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %} {% if definition.FA_ENABLED %} {% else %} {% endif %} {% endif %}{{ definition.TITLE }}{{ definition.C_BLOCK_H_R }} {% if S_HAS_B3P_POLL %}
{% for poll in loops.poll %} {% if not poll.S_FIRST_ROW %}
{% endif %} {% if poll.S_CAN_VOTE %}
{% endif %}

{{ poll.POLL_QUESTION }}

{{ poll.L_POLL_LENGTH }}{% if poll.S_CAN_VOTE and poll.L_POLL_LENGTH %}
{% endif %}{% if poll.S_CAN_VOTE %}{{ poll.L_MAX_VOTES }}{% endif %}

{% if poll.S_POLL_HAS_OPTIONS %} {% for poll_option in poll.poll_option %}
{% if poll.S_CAN_VOTE %}{% else %}{{ poll_option.POLL_OPTION_CAPTION }}{% endif %}
{% if poll.S_CAN_VOTE %}
{% if poll.S_IS_MULTI_CHOICE %}{% else %}{% endif %}
{% endif %} {% if poll.S_DISPLAY_RESULTS %}
{{ poll_option.POLL_OPTION_RESULT }}
{% if poll_option.POLL_OPTION_RESULT == 0 %}{{ lang('NO_VOTES') }}{% else %}{{ poll_option.POLL_OPTION_PERCENT }}{% endif %}
{% endif %}
{% endfor %} {% else %} {{ lang('NO_OPTIONS') }} {% endif %} {% if poll.S_DISPLAY_RESULTS %}
 

{{ lang('TOTAL_VOTES') }} : {{ poll.TOTAL_VOTES }}

{% endif %} {% if poll.S_CAN_VOTE %}
 
{% endif %} {% if not poll.S_DISPLAY_RESULTS %}
 

{{ lang('VIEW_RESULTS') }}

{% endif %}
 

{{ lang('VIEW_TOPIC') }}

{% if poll.S_CAN_VOTE %}{{ poll.S_HIDDEN_FIELDS }}{% endif %} {% if poll.S_CAN_VOTE %}
{% endif %} {% endfor %}
{% else %}
{{ lang('NO_POLL') }}
{% endif %} {{ definition.C_BLOCK_F_L }}{{ definition.C_BLOCK_F_R }}