<div class="block-2"><div class="blockdcont">
    <h3 class="voteicon">Опрос пользователей</h3>
    <div class="blockvotecontent">
        <span class="votetitle">{title}</span>
        <div class="votecont">
            [votelist]<form method="post" name="vote" action=''>[/votelist]
            {list}
            <br />
            [voteresult]<div><small>Всего проголосовало: {votes}</small></div><br />[/voteresult]

        </div>
            [votelist]
            <input type="hidden" name="vote_action" value="vote" />
            <input type="hidden" name="vote_id" id="vote_id" value="{vote_id}" />
            <button class="whitelink vbut" type="submit" onclick="doVote('vote'); return false;" >Голосовать</button>
            <button class="whitelink vbut" type="button" onclick="doVote('results'); return false;" style="margin-left: 30px;" >Результаты</button>
            </form>
            [/votelist]

    </div>
</div></div>
