<div class="header">{#Newsletter_nAbos#}</div>
<div class="subheaders">
<form method="post" action="index.php?do=newsletter&sub=showabos" name="">
  <table width="100%" border="0" cellpadding="2" cellspacing="0">
    <tr>
      <td width="100"><label for="gs">{#Global_searchW#}</label></td>
      <td><input style="width:160px" class="input"  type="text" name="q" id="gs" value="{$smarty.request.q}" /></td>
      </tr>
    
    <tr>
      <td><label for="dr">{#DataRecords#}</label></td>
      <td>
      <input type="text" id="dr" class="input" name="pp" style="width:45px" value="{$limit}">
        
        <input class="button" type="submit" value="{#Global_search_b#}" />
        <input name="startsearch" type="hidden" id="startsearch" value="1" />      </td>
      </tr>
  </table>
 </form>
</div>

<form name="kform" id="kform" action="" method="post">
<table width="100%" cellpadding="4" cellspacing="0" border="0" class="tableborder">
<tr>
<td width="250" class="headers"><a href="{$ordstr}{$email_s|default:'&sort=email_desc'}">{#Global_Email#}</a></td>
<td width="100" align="center" class="headers"><a href="{$ordstr}{$date_s|default:'&sort=date_asc'}">{#Global_Date#}</a></td>
<td width="100" align="center" class="headers"><a href="{$ordstr}{$format_s|default:'&sort=format_desc'}">{#Newsletter_nFormat#}</a></td>
<td width="100" align="center" class="headers"><a href="{$ordstr}{$active_s|default:'&sort=active_asc'}">{#Global_Active#}</a></td>
<td width="120" align="center" class="headers"><a href="{$ordstr}{$newsletter_s|default:'&sort=newsletter_asc'}">{#Newsletter#}</a></td>
<td class="headers"><label><input name="allbox" type="checkbox" id="d" onclick="selall();" value="" />{#Global_SelAll#}</label></td>
</tr>
{foreach from=$items item=abo}
<tr class="{cycle name=$cna values='second,first'}">
<td>{$abo->Email}</td>
<td align="center">{$abo->Datum|date_format:'%d.%m.%Y'}</td>
<td align="center">
<select class="input" name="Format[{$abo->Id}]">
<option value="html"{if $abo->Format=='html'} selected="selected"{/if}>{#Newsletter_nFormatH#}</option>
<option value="text"{if $abo->Format=='text'} selected="selected"{/if}>{#Newsletter_nFormatT#}</option>
</select>
</td>
<td align="center">
<select class="input" name="Aktiv[{$abo->Id}]">
<option value="1"{if $abo->Aktiv==1} selected="selected"{/if}>{#Yes#}</option>
<option value="0"{if $abo->Aktiv==0} selected="selected"{/if}>{#No#}</option>
</select>
</td>
<td align="center">{$abo->newsletter}</td>
<td><label><input name="del[{$abo->Id}]" type="checkbox" id="d" value="1" /> {#Global_Delete#}</label></td>
</tr>

{/foreach}
</table>
<input type="hidden" name="save" value="1" />
<input class="button big" type="submit" value="{#Save#}" />
</form>
<br />


<br />{if $Navi}
<div class="navi_div">{$Navi}</div>
{/if}
