<?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(199);" 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>
<tr class='pTabRow' style="display:none">
	<td class='pTabCol' width="60"><input type="hidden" name="areaid[]" value="0" size="5"><input type="input" name="area_sort[]" value="" size="5"></td><td class='pTabCol'><input type="input" name="area_name[]" value=""></td>
	<td class='pTabCol'></td></tr>
	<?php foreach($arr_area as $item){ ?>
<tr class='pTabRow'>
	<td class='pTabCol' width="60"><input type="hidden" name="areaid[]" value="<?php echo $item["area_id"]?>" size="5"><input type="input" name="area_sort[]" value="<?php echo $item["area_sort"]?>" size="5"></td><td class='pTabCol'><input type="input" name="area_name[]" value="<?php echo $item["area_name"]?>"></td>
	<td class='pTabCol' onmousedown="frmSet('id','<?php echo $item['area_id'];?>')"><a href="javascript:frmMain.me_pid.value='<?php echo $item["area_id"]?>';frmExecute('');">下级</a>&nbsp;
	<?php if($obj_ctl_limit->chk_act("del")){?><img src="../images/b_drop.png" onclick="javascript:frmExecute('del');" class="pImgbtn" title="删除"><?php }?></td></tr>
	<?php }?>

</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';?>		
