{assign var=presel value=10}
<script language="javascript" src="{$jspath}/jtable.js" type="text/javascript"></script>
<script language="javascript" src="{$jspath}/jtable.sorter.js" type="text/javascript"></script>
{literal}
<script language="javascript">
<!-- //
$(document).ready(function() 
    { 
		$("#tablesorter").tablesorter({sortList:[[0,0],[0,0]], widthFixed: false,widgets: ['zebra']})
		.tablesorterPager({
			container: $("#pager"),
			size: {/literal}{$presel}{literal}
			});
    } 
); 
// -->
</script>
{/literal}

<div class="popbox">
<div class="header">{#Shop_prodvotes_vfor#} {$smarty.request.name|koobispecialchars}</div>
<div class="header_inf">{#Shop_prodvotes_inf#}</div>
<form name="kform" method="post" action="">
<table id="tablesorter"  class="tablesorter"  width="100%" border="0" cellspacing="0" cellpadding="2">
<thead>
  <tr class="jheader">
     <th width="80" class="headers">{#Global_Date#}</th>
    <th width="100" class="headers">{#Shop_prodvotes_text#}</th>
   <th width="100" class="headers" align="center">{#Shop_prodvotes_points#}</th>
    <th width="100" class="headers" align="center">{#Global_User#}</th>
    <th width="100" class="headers" align="center">{#Shop_prodvotes_public#}</th>
    <td class="headers"><label><input name="allbox" type="checkbox" id="d" onclick="selall();" value="" />{#Global_SelAll#}</label></td>
  </tr>
  </thead>
  <tbody>
  {foreach from=$votes item=v}
  <tr class="{cycle name=pm values='first,second'}">
    <td class="row_spacer" align="center">
    <span style="display:none">{$v->Datum}</span>
    {$v->Datum|date_format:"%d.%m.%Y"}
    <br />

    
    </td>
    <td class="row_spacer" width="100"><textarea class="input" style="width:350px; height:30px" onmouseover="this.style.height='100px'" onmouseout="this.style.height='30px'" name="Bewertung[{$v->Id}]">{$v->Bewertung|koobispecialchars}</textarea></td>
    
    <td class="row_spacer" width="100" align="center">
    <span style="display:none">
    {$v->Bewertung_Punkte}
    </span>
    <select class="input" name="Bewertung_Punkte[{$v->Id}]">
        <option value="5" {if $v->Bewertung_Punkte==5}selected="selected"{/if}>5</option>
        <option value="4" {if $v->Bewertung_Punkte==4}selected="selected"{/if}>4</option>
        <option value="3" {if $v->Bewertung_Punkte==3}selected="selected"{/if}>3</option>
        <option value="2" {if $v->Bewertung_Punkte==2}selected="selected"{/if}>2</option>
        <option value="1" {if $v->Bewertung_Punkte==1}selected="selected"{/if}>1</option>
    </select>    </td>
    <td width="100" align="center" class="row_spacer"><a {popup sticky=$config_vars.POPSTICKY  width=200 text=$config_vars.User_edit} href="javascript:void(0);" onclick="popup('index.php?do=user&sub=edituser&user={$v->Benutzer}&noframes=1','edituser','850','650',1)">{$v->BenutzerName}</a></td>
    <td align="center" class="row_spacer">
    <span style="display:none">{$v->Offen}</span>
    <label><input type="radio" name="Offen[{$v->Id}]" id="radio" value="1" {if $v->Offen==1}checked="checked"{/if}>{#Yes#}</label>
    <label><input type="radio" name="Offen[{$v->Id}]" id="radio" value="0" {if $v->Offen==0}checked="checked"{/if}>{#No#}    </label>
    </td>
    <td><label><input name="Del[{$v->Id}]" type="checkbox" id="Del[]" value="1">{#Global_Delete#}</label></td>
  </tr>
  {/foreach}
  </tbody>
</table>
<br />
<div class="pager_div">
<div id="pager" class="pager">
	
<img style="cursor:pointer; vertical-align:middle" src="{$imgpath}/page_start.gif" alt="" class="pfirst"/>
<img style="cursor:pointer; vertical-align:middle" src="{$imgpath}/page_prev.gif" alt="" class="pprev"/>
&nbsp;{#Global_Page#} 
<input type="text" class="pagedisplay" style="border:0px; background:transparent; width:70px; text-align:center" />
<img style="cursor:pointer; vertical-align:middle" src="{$imgpath}/page_next.gif" alt="" class="pnext"/>
<img style="cursor:pointer; vertical-align:middle" src="{$imgpath}/page_end.gif" alt="" class="plast"/>
&nbsp;<select class=" input pagesize">
<option value="10" {if $presel==10}selected="selected"{/if}>10</option>
<option value="20" {if $presel==20}selected="selected"{/if}>20</option>
<option value="30" {if $presel==30}selected="selected"{/if}>30</option>
<option  value="60" {if $presel==60}selected="selected"{/if}>60</option>
<option  value="80" {if $presel==80}selected="selected"{/if}>80</option>
<option  value="100" {if $presel==100}selected="selected"{/if}>100</option></select>
</div>
</div>
<input type="submit" class="button big" value="{#Save#}">
<input name="save" type="hidden" id="save" value="1" />
</form>
</div>