<div class="box_innerhead">{#Poll_Archive#}</div>
{foreach from=$polls item=p name=pa}


<script language="javascript" type="text/javascript">
<!--
$(document).ready(function() {ldelim}
	{foreach from=$p->PollItems item=pas name=js}
	$("#voter_{$pas->Id}_{$p->Id}").fadeIn("slow");
	 {/foreach}
{rdelim}); 
-->
</script>

<div id="voterdisp_{$pas->Id}_{$p->Id}" class="box_data">
 <h2><a href="index.php?p=poll&amp;id={$p->Id}&amp;name={$p->Titel|seotitle}&amp;area={$area}">{$p->Titel|koobispecialchars}</a></h2>
        <br />
        <br />
  <table width="100%" border="0" cellspacing="0" cellpadding="1">
    <tr>
      <td width="60%" valign="top">
     
        {foreach from=$p->PollItems item=pas name=arc}
        <strong>{$pas->Frage|koobispecialchars}</strong> {if $pas->Hits>0}({$pas->Perc}%){/if}<br />
        <div id="voter_{$pas->Id}_{$p->Id}" style="display:none; margin-top:3px; margin-bottom:5px; height:15px;background:url({$imgpath}/poll/{$pas->Farbe}.png) repeat-x; width:{$pas->Perc|numf}%"></div>
      {/foreach}      </td>
      <td valign="top">
      <table width="100%" border="0" cellpadding="0" cellspacing="0" class="box_inner">
        <tr>
            <td width="150" class="row_left"><strong>{#Poll_Users#}:</strong></td>
            <td class="row_right">{$p->HitsAll}</td>
        </tr>
        
        <tr>
          <td class="row_left"><strong>{#Poll_Start#}:</strong></td>
          <td class="row_right">{$p->Start|date_format:$config_vars.DateFomatSimple}</td>
        </tr>
        <tr>
          <td class="row_left"><strong>{#Poll_End#}:</strong></td>
          <td class="row_right">{$p->Ende|date_format:$config_vars.DateFomatSimple}</td>
        </tr>
       {if $p->Aktiv!=1}
         <tr>
          <td class="row_left"><strong>{#Poll_Status#}:</strong></td>
          <td class="row_right">{#Poll_Status_Inactive#}</td>
        </tr>
       {/if}
    </table>
      </td>
    </tr>
  </table>





</div>

{/foreach}

{if $pollNavi}
{$pollNavi}
{/if}