<?php include 'header.tpl.php';?>
<div class="pMenu">
<li class="sel"><a href="javascript:frmExecute('');">管理</a></li>
<li><a href="javascript:frmExecute('addchannel');"><b><font color="#3A77D4">添加频道</font></b></a></li>
<li><span onclick="showDisplay('objSearch');if(document.all.issearch.value='1'){document.all.issearch.value='0';}else{document.all.issearch.value='1';}" style="cursor:hand">查找</span></li>
<li class="info"><a href="javascript:inc_show_help(213);" style="color:#ff0000">帮助</a></li>
</div>

<div class="pSearchDiv" id="objSearch" style="display:<?php if($get_issearch!="1")echo "none"?>">
<table class="sTab">
<tr><td>名称或关键字：<input type="text" name="s_title" value="<?echo $get_s_title?>">　修改日期：<input type="text" name="s_updatetime1" value="<?echo $get_s_updatetime1?>" size=10 onblur="chkNoDateToNow('s_updatetime1');"><A href="javascript:setday(document.all.s_updatetime1);"><img id=dimg1 src="images/calendar.gif" width="34" height="21"align=absMiddle border=0></a> 到 <input type="text" name="s_updatetime2" value="<?echo $get_s_updatetime2?>" size=10 onblur="chkNoDateToNow('s_updatetime2');"><A href="javascript:setday(document.all.s_updatetime2);"><img id=dimg2 src="images/calendar.gif" width="34" height="21"align=absMiddle border=0></a>　属性：<input type="checkbox" name="s_attribute[]" value="幻灯片" <?php echo strstr($get_s_attribute,"幻灯片")?"checked":"";?>>幻灯片　<input type="button" name="s_btnok" value="查找" class="pBtn" onclick="frmExecute('')"> 　<input type="button" name="s_btnok" value="清空" class="pBtn" onclick="meSearchClear();frmExecute('');"></td></tr>
</table>
</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="frmSetId('<?php echo $item['channel_id'];?>')"><a href="javascript:meOpenChannel('<?php echo $item['channel_id'];?>');">打开</a>&nbsp;<a href="javascript:frmExecute('editchannel');">编辑</a></td></tr>
	<?php }?>
</table>
<script>
function meOpenChannel(msgx)
{
	document.frmMain.me_channel.value=msgx;
	frmExecute('');
}
</script>
<?php include 'footer.tpl.php';?>		
