<br />
<table width="100%"  border="0" cellpadding="4" cellspacing="1" class="box_inner">
  <tr>
    <td colspan="4" class="box_innerhead"><strong>
      {$message}
      {$ptitle}
      </strong></td>
  </tr>
  <tr>
    <td class="box_outerhead">{$lang.voteanseroptions}</td>
    <td colspan="3" class="box_outerhead"><div align="center">
        {$lang.votehead_detail}
      </div></td>
  </tr>
  {foreach from=$hits item=hit}
  <tr class="{cycle name="pollerg" values="row_first,row_second"}">
    <td>{$hit->title}</td>
    <td width="5%"><div align="center">
        {$hit->all}
      </div></td>
    <td><div class="pollergborder" style="width: 100% height:12px; padding:0px;">
        <div style="width: {if $hit->percent!=""}{$hit->percent}%{else}1%{/if}; height: 12px; background-color: {$hit->color};"><img height="1px" width="1px" src="templates/{$theme}/img/page/pixel.gif" alt="" /></div>
      </div></td>
    <td width="5%" nowrap="nowrap"><div align="center">
        {$hit->percent}
        %</div></td>
  </tr>
  {/foreach}
  <tr>
    <td colspan="4" class="box_innerhead"><strong>
      {$lang.voteinfo}
      </strong></td>
  </tr>
  <tr>
    <td width="20%" nowrap="nowrap" class="row_first">{$lang.votesoverall}</td>
    <td colspan="3" class="row_second">{$sum}</td>
  </tr>
  <tr>
    <td width="20%" nowrap="nowrap" class="row_first">{$lang.votestatus}</td>
    <td colspan="3" class="row_second">{$status}</td>
  </tr>
  <tr>
    <td width="20%" nowrap="nowrap" class="row_first">{if $row->start < $time}
      {$lang.votestarted}
      {else}
      {$lang.votewillstart}
      {/if}</td>
    <td colspan="3" class="row_second">{$start}</td>
  </tr>
  <tr>
    <td width="20%" nowrap="nowrap" class="row_first">{if $row->end > $time}
      {$lang.votewillexpiredon}
      {else}
      {$lang.voteexpiredon}
      {/if}</td>
    <td colspan="3" class="row_second">{$end}</td>
  </tr>
  <tr>
    <td width="20%" nowrap="nowrap" class="row_first">{$lang.allowedgroups}
    </td>
    <td colspan="3" class="row_second">{foreach from=$permgroups item=pg name=tpg}
      {$pg.name}
      {if $smarty.foreach.tpg.last != 1}
      ,
      {/if}
      {/foreach}</td>
  </tr>
  <tr>
    <td nowrap="nowrap" class="row_first">&nbsp;</td>
    <td colspan="3" class="row_second">{printpoll id=$id show=detail}</td>
  </tr>
</table>
