[votelist]
<div class="vote-title">{title}</div>
<form method="post" name="vote" action=''>
<div class="vote-list">{list}</div>
<input type="hidden" name="vote_action" value="vote" />
<input type="hidden" name="vote_id" id="vote_id" value="1" />
<input type="submit" onclick="doVote('vote'); return false;" class="vote-submit" value="Голосовать" />
</form>
<form method="post" name="vote_result" action=''>
<input type="hidden" name="vote_action" value="results" />
<input type="hidden" name="vote_id" value="1" />
<input type="submit" onclick="doVote('results'); return false;" class="vote-result" value="Результаты" />
  <br /><br /><a href="" onclick="ShowAllVotes(); return false;">Показать все опросы</a>
</form>
[/votelist]
[voteresult]
<div class="vote-title">{title}</div>
<div class="vote-list">{list}</div>
<strong class="vote-total">Всего проголосовало: {votes}</strong>
[/voteresult]