{include file="../head.tpl"}
<form method="post" enctype="multipart/form-data">
  <table width="100%"  border="0" cellpadding="4" cellspacing="1" class="tableborder">
    <tr>
      <td colspan="2" class="header">{$langadmin.catedit}</td>
    </tr>
    <tr>
      <td class="firstrow">{$langadmin.catname}</td>
      <td class="secondrow"><input name="title" type="text" id="title" value="{$row->catname}" size="35">
      </td>
    </tr>
   {*
    <tr>
      <td class="firstrow">{$langadmin.catdesc}</td>
      <td class="secondrow"><textarea name="descr" cols="75" rows="8" id="descr">{$row->catdesc}</textarea></td>
    </tr>
    <tr>
      <td class="firstrow">{$langadmin.autobr}</td>
      <td class="secondrow"><input name="autobr" type="checkbox" id="autobr" value="1"></td>
    </tr>
	*}
    <tr>
      <td valign="top" class="firstrow">{$langadmin.caticon}</td>
      <td class="secondrow"> {if $row->icon} <img  src="../uploads/newscat_icons/{$row->icon}" alt="" />
        <input name="oldimage" type="hidden" id="oldimage" value="{$row->icon}">
        <br />
        {/if}
        <input name="file" type="file" size="40">
      </td>
    </tr>
    
    <tr>
      <td class="firstrow">{$langadmin.deleteimage}</td>
      <td class="secondrow"><input name="imagedel" type="checkbox" id="imagedel" value="1"></td>
    </tr>
   
    <tr>
      <td colspan="2" class="firstrow"><input name="id" type="hidden" id="id" value="{$catid}">
        <input name="action" type="hidden" id="action" value="editcateg">
        <input name="editsave" type="hidden"  value="1">
        <input name="area" type="hidden" id="area" value="{$area}">
        <input type="submit" class="button" value="{$langadmin.edit}">
      </td>
    </tr>
  </table>
</form>
{include file="../foot.tpl"}