<div class="header">{#Newsletter_Categs#}</div>
<form name="kform" method="post" action="">
<table width="100%" cellpadding="4" cellspacing="0" border="0" class="tableborder">
<tr>
    <td class="headers">{#Global_Name#}</td>
    <td width="100" class="headers">{#Global_descr#}</td>
    <td class="headers">{#Global_Actions#}</td>
  </tr>
  {foreach from=$Categs item=categ}
 <tr class="{cycle name="ct" values="second,first"}"> 
    <td width="20%" valign="top"><input class="input" name="Name[{$categ->Id}]" type="text" id="name[{$categ->Id}]" value="{$categ->Name|koobispecialchars}" size="40" /></td>
    <td><textarea class="input" id="b" name="Info[{$categ->Id}]" style="width:300px; height:50px">{$categ->Info|koobispecialchars}</textarea></td>
    <td valign="top">
     <a {popup sticky=$config_vars.POPSTICKY  text=$config_vars.Global_Delete} href="javascript:void(0);" onclick="if(confirm('{#Global_Delete#}?')) popup('index.php?do=newsletter&sub=deletecateg&id={$categ->Id}&noframes=1','Del',1,1,1);"><img class="absmiddle" src="{$imgpath}/delete.png" alt="" border="0" /></a>    </td>
 </tr>
  {/foreach}
</table>
<input type="hidden" name="save" value="1" />
<input type="submit" class="button big" value="{#Save#}" />
</form>

<form method="post" action="">
<fieldset>
<legend>{#Newsletter_CategNew#}</legend>

<label for="n"><strong>{#Global_Name#}</strong></label><br />
<input class="input" id="n" name="Name" type="text" value="" size="40" style="width:300px" />
<br />
<label for="b"><strong>{#Global_descr#}</strong></label><br />
<textarea class="input" id="b" name="Info" style="width:300px; height:50px"></textarea>
<br />
<input type="hidden" name="new" value="1" />
<input type="submit" class="button big" value="{#Save#}" />
</fieldset>



</form>
