[votelist]

<div class="block2">ГОЛОСОВАНИЕ</div>
			 <div class="block_c">
  <div class="vote">
      <font style="font-size:16px; color="#000000";">  {title}</font><br><br>
	  
	    <form method="post" name="vote" action=''>
        {list}<br>
        <table width="100%" >
         <tr ><td style="padding-left:40px;">
		  <input type="hidden" name="vote_action" value="vote">
          <input type="hidden" name="vote_id" id="vote_id" value="{vote_id}">
          <input type="submit" onclick="doVote('vote'); return false;" class="bt2" value="Голосовать"></form>
          </td>
		  </tr>
		  <tr>
		  <td style="padding:5px 0 0 40px;">
		 
          <form method=post name="vote_result" action=''>
          <input type="hidden" name="vote_action" value="results">
          <input type="hidden" name="vote_id" value="{vote_id}">
          <input type="button" onclick="doVote('results'); return false;" class="bt2" value="Результаты">
          </form>
         </td></tr>
         </table>
</div>
			 </div>
			 <div class="block_f">
			 </div>
[/votelist]

[voteresult]

<div class="block2">РЕЗУЛЬТАТЫ</div>
			 <div class="block_c">
  <div class="vote">
   <font style="font-size:16px; color="#000000";">  {title}</font><br><br>
		  {list}
		  <br>
		  Всего проголосовало: {votes}
</div>
			 </div>
			 <div class="block_f">
			 </div>
               
[/voteresult]