
{include file="../head.tpl"}

   

<form action="static.php" method="post" enctype="multipart/form-data" name="kform" id="kform">
  <table width="100%"  border="0" cellpadding="4" cellspacing="1" class="tableborder">
    <tr>
      <td colspan="2" class="header">{$langadmin.menue_newscat}</td>
    </tr>
	
    
    <tr>
      <th class="theader"><div align="left">{$langadmin.catname}</div></th>
      <th width="5%" class="theader">{$langadmin.settings}</th>
    </tr>
	{foreach from=$categs item=item} 
    <tr>
      <td class="firstrow">
      <input name="name[{$item->id}]" type="text" value="{$item->name|sslash}" /></td>
      <td nowrap="nowrap" class="firstrow"><div align="center">
        <input onclick="location.href = 'static.php?action=categ&amp;do=delcateg&amp;id={$item->id}&amp;area={$area}'" type="button" class="button" value="{$langadmin.delete}" />
      </div></td>
    </tr>
    {/foreach}
    <tr>
      <td colspan="2" class="firstrow"><input name="action" type="hidden" id="action" value="categ" />
        <input name="do" type="hidden" id="do" value="save" />
        <input name="area" type="hidden" id="area" value="{$area}" />
        <input name="Senden" type="submit" class="button" value="{$langadmin.save}" />
      </td>
    </tr>
  </table>
</form>


<form name="form1" id="form1" method="post" action="static.php?action=categ">
  <table width="100%"  border="0" cellpadding="4" cellspacing="1" class="tableborder">
    <tr>
      <td class="header">{$langadmin.newcat}</td>
    </tr>
    <tr>
      <td class="firstrow"><input name="name" type="text" id="name" size="45" />
      <input type="submit" class="button" value="{$langadmin.save}" />
      <input name="do" type="hidden" id="do" value="newcateg" /></td>
    </tr>
  </table>
</form>
{include file="../foot.tpl"}
