<?php include 'header.tpl.php';?>
<div class="pMenu">
<li class="sel"><a href="javascript:frmExecute('');">管理</a></li>
<?php if($obj_ctl_limit->chk_act("add")){?><li><a href="javascript:frmExecute('add');">添加</a></li><?php }?>
<li class="info"><a href="javascript:inc_show_help(212);" style="color:#ff0000">帮助</a></li>
</div>
<div>
<table class='pTableArticle'>
	<?php foreach($arr_channel as $item){ ?>
	<tr class='pTabRow'>
	<td class='pTabCol' width="30"><input type='checkbox' name='channelid[]' value='<?php echo $item['channel_id'];?>'></td><td class='pTabCol' ondblclick="meOpenFolder('<?php echo $item['channel_id'];?>');"><img src="../images/folder.gif"> <?php echo $item['channel_name'];?></td>
	<td class='pTabCol' width="150" onmousedown="frmSet('id','<?php echo $item['channel_id'];?>')">
	<a href="article.php?channel_id=<?php echo $item['channel_id'];?>">打开</a>&nbsp;
	<?php if($obj_ctl_limit->chk_act("edit")){?><img src="../images/b_edit.png" onclick="javascript:frmExecute('edit');" class="pImgbtn" title="编辑"><?php }?>
	<?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>
<div class="pFootAct">
<li><input type='checkbox' name='channelidall' value='1' onclick="checkbox_selall(this.form,'channelidall','channelid');">全选　<select name="selact">
	<option value="">--操作--</option>
	<?php if($obj_ctl_limit->chk_act("del")){?><option value="del_sel">删除</option><?php }?>
	</select>
	&nbsp;<input type="button" name="btnExe" value="执行" onclick="frmExecute(document.frmMain.selact.value);" class="pBtn"></li>
</div>

<?php include 'footer.tpl.php';?>		
