
<form action="{$action}" method="post">
  <table width="100%" border="0" cellpadding="4" cellspacing="0">
    <tr>
      <td class="naviheader">{$lang.poll}</td>
    </tr>
    <tr>
      <td class="box_innerhead">{$poll->title}
      </td>
    </tr>
    {foreach from=$items item=item name=poll}
    <tr>
      <td class="row_first"><input type="radio" name="item" value="{$item->id}" {if $smarty.foreach.poll.first} checked="checked"{/if} />
        <small><strong>
        {$item->title}
        </strong></small></td>
    </tr>
    {/foreach}
    <tr>
      <td class="navibox"><div align="center">
          <input class="button" type="submit" value="{$lang.vote}" />
          <input onclick="location.href='index.php?p=poll&amp;poll_id={$poll->id}&amp;showresult=1&amp;area={$area}';" type="button" class="button" value="{$lang.view_poll_result}" />
          <br />
          <br />
          <a href="index.php?p=poll&amp;show=archive&amp;area={$area}">
          {$lang.poll_archive}
          </a> </div>
        <input type="hidden" name="poll_id" value="{$poll->id}" />
        <input name="dopoll" type="hidden" value="1" />
        <input name="area" type="hidden" value="{$area}" />
      </td>
    </tr>
  </table>
</form>
