<?php include 'header.tpl.php';?>
<div class="pMenu">
<li class="sel"><a href="javascript:frmExecute('');">管理</a></li>
<li class="info"><a href="javascript:inc_show_help(209);" style="color:#ff0000">帮助</a></li>
</div>
<div class="pArticleTopPath">
路径：<?php echo $cateogry_path;?>
</div>
<table class='pTable' id="objcategory">
<tr class='pTabTitRow'>
	<td class='pTabTitCol'>排序</td><td class='pTabTitCol'>名称</td>
	<td class='pTabTitCol'>操作</td></tr>
	<?php foreach($arr_category as $item){ ?>
<tr class='pTabRow'>
	<td class='pTabCol' width="60"><input type="hidden" name="categoryid[]" value="<?php echo $item["category_id"]?>" size="5"><input type="input" name="category_sort[]" value="<?php echo $item["category_sort"]?>" size="5"></td><td class='pTabCol'><input type="input" name="category_name[]" value="<?php echo $item["category_name"]?>"></td>
	<td class='pTabCol' onmousedown="frmSet('id','<?php echo $item['category_id'];?>')"><a href="javascript:frmMain.me_pid.value='<?php echo $item["category_id"]?>';frmExecute('');">下级</a>&nbsp;
	<a href="javascript:frmExecute('del');">删除</a></td></tr>
	<?php }?>
<tr class='pTabRow' style="display:none">
	<td class='pTabCol' width="60"><input type="hidden" name="categoryid[]" value="0" size="5"><input type="input" name="category_sort[]" value="" size="5"></td><td class='pTabCol'><input type="input" name="category_name[]" value=""></td>
	<td class='pTabCol'></td></tr>

</table>
<div class="pFootAct">
<li>　　　<a href="javascript:table_row_insert('objcategory')" style="color:#ff6600"> + 添加分类</a></li>
</div>
<div class="pFootAct">
<li>&nbsp;<input type="button" name="btnExe" value="保存" onclick="frmExecute('save');" class="pBtn"></li>
</div>
<?php include 'footer.tpl.php';?>		
