[voted]
<strong>{%TITLE%}</strong><br /><br />
[viewList]
{%VARIANT%} - {%VARVOTE%} ({%PERCENT%}%)
<div class="bar{%NUMB%}" style="width:{%PERCENTWIDTH%}%;">&nbsp;</div>
[/viewList]
{%LIST%}
[poll_check]
<div class="vote-l check_res bar{%NUMB%}" style="width:{%PERCENTWIDTH%}%;">{%CHECKS%}</div>
[/poll_check]
[lang_tpl:total_voted] {%VOTES%}<br />
[result]
<div style="text-align:center;"><br /><input type="button" value="[lang_tpl:back]" onclick="ajaxSimple('ajax.php?url=ajax/poll/back_vote/{%ID%}', 'poll_{%ID%}', true)" /></div>
[/result]
[/voted]
[novoted]
<div id="poll_{%ID%}">
    <form action="profile/edit" method="post" id="pollCheck" name="pollCheck">
        <strong>{%TITLE%}</strong><br /><br />
        {%LIST%}
        <div style="text-align:center;"><br />
            <input type="button" value="[lang_tpl:voted]" onclick="dopoll('pollCheck', 'poll_{%ID%}')" />
            <input type="button" value="[lang_tpl:results]" onclick="ajaxSimple('ajax.php?url=ajax/poll/results/{%ID%}', 'poll_{%ID%}', true)" /><br />
            [lang_tpl:total_voted] {%VOTES%}
        </div>
    </form>
</div>
[/novoted]