{#include file="sys/admin_header.htm"#}
<div class="admin_main_nr_dbox">
<div class="pagetit">
	<div class="ptit"> {#$pageheader#}</div>
	{#include file="article/admin_article_nav.htm"#}
  <div class="clear"></div>
</div>
<div class="toptit">修改分类</div>
    <form id="form1" name="form1" method="post" action="?act=edit_category_save">
	{#$inputtoken#}
      <table width="100%" border="0" cellpadding="3" cellspacing="5"  >
        <tr>
          <td width="120" align="right">所属分类：</td>
          <td>
		  <select name="parentid" id="parentid"  style="width:108px; font-size:12px;">
              <option value="0">顶级分类</option>
			  {#qishi_news_category set="列表名:categorylist,资讯大类:0"#}
			  {#foreach from=$categorylist item=list#}
            <option value="{#$list.id#}" {#if $category.parentid==$list.id#}selected="selected"{#/if#}>{#$list.categoryname#}</option>
			{#/foreach#}       
          </select>		  </td>
        </tr>
        <tr>
          <td align="right">名称：</td>
          <td><input name="categoryname" type="text" class="input_text_200"  value="{#$category.categoryname#}" maxlength=""/></td>
        </tr>
        <tr>
          <td align="right">排序：</td>
          <td><input name="category_order" type="text" style="width:30px; font-size:12px;"   value="{#$category.category_order#}" maxlength="3" class="input_text_200" /></td>
        </tr>
        <tr>
          <td align="right">title：</td>
          <td><input name="title" type="text" class="input_text_200"  maxlength="30" value="{#$category.title#}"/>
            不填则为分类名称</td>
        </tr>
        <tr>
          <td align="right">description：</td>
          <td><textarea name="description" class="input_text_400" style="height:50px;">{#$category.description#}</textarea></td>
        </tr>
        <tr>
          <td align="right">keywords：</td>
          <td><textarea name="keywords" class="input_text_400" style="height:50px;">{#$category.keywords#}</textarea></td>
        </tr>
		 </table>
		<table width="100%" border="0" cellpadding="3" cellspacing="5">
        <tr>
          <td width="120" align="right">&nbsp;</td>
          <td >
		  <input name="id" type="hidden" value="{#$category.id#}" />
		  <input type="submit" name="addsave" value="修改" class="admin_submit" />
		  <input name="submit22" type="button" class="admin_submit"    value="返 回" onclick="history.go(-1)"/>
		  </td>
        </tr>
      </table>
  </form>
</div>
{#include file="sys/admin_footer.htm"#}
</body>
</html>