<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.Admin_channel_manage" %>
<%On Error Resume Next%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="inc/admin_style.css" rel="stylesheet" type="text/css" /><link href="inc/style.css" rel="stylesheet" type="text/css" />
<title><%=AppConst.SiteName%></title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
<script type="Text/JavaScript" language="javascript">
function selectall(){
	for(i=0;i!=document.news.elements.length;i++){
		document.news.elements[i].checked=!document.news.elements[i].checked;
	}
}
function del(strurl,msg){
if (confirm(msg)){
window.location=strurl
}
}
</script>
</head>

<body>
<table style="width:100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table style="height:22; width:100%" border="0" cellpadding="0" cellspacing="1">
      <tr class="topbg">
        <td style="height:22" align="center" class="topbg"><strong>系 统 内 部 频 道 管 理　</strong></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table style="width:100%"  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td style="height:27; width:30" align="center"><img src="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/gojump01.gif" width="16" height="16" /></td>
        <td><a href="Admin_site_config.aspx">网站信息配置</a> | <a href="channel_manage.aspx">文章频道管理</a> | <a href="Admin_Classlist.aspx">行业类别管理</a> | <a href="Ad_hdp_add.aspx">幻灯广告管理</a> | <a href="Admin_xunjialist.aspx">留言询价管理</a><a href="Ad_hdp_add.aspx"></a> | <a href="Links_manger.aspx">友情链接管理</a> | <a href="Ad_info_tuijian.aspx">信息推荐管理 </a> </td>
      </tr>
    </table>
    <table style="height:0; width:100%" border="0" align="center" cellpadding="1" cellspacing="1" class="border">
    <tr align="center" class="Title"> 
      <td style="width:5%"><div align="center"><strong>ID</strong></div></td>
      <td><div align="center"><strong>频道名称</strong></div></td>
      <td style="width:60"><div align="center"><strong>频道排序</strong></div></td>
      <td style="width:80"><div align="center"><strong>频道目录</strong></div></td>
      <td style="width:80"><div align="center"><strong>项目名称</strong></div></td>
      <td style="width:80"><div align="center"><strong>项目单位</strong></div></td>
      <td style="width:140"><div align="center"><strong>操 作</strong></div></td>
    </tr>
    <%Dim num = 0 : Do While Not Rs.EOF AndAlso num < Rs.PageSize%>
    <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
      <td><div align="center"><%=rs("id").Value%></div></td>
      <td><div align="left"><%=rs("C_name").Value%></div></td>
      <td style="width:60"><div align="center"><a href="Channel_action.aspx?Action=1&id=<%=Rs("id").Value%>"><img src="images/arrow_up.gif" alt="向上" width="10" height="10" border="0" /></a>&nbsp;&nbsp;<a href="Channel_action.aspx?Action=2&id=<%=Rs("id").Value%>"><img src="images/arrow_down.gif" alt="向下" width="10" height="10" border="0" /></a></div></td>
      <td style="width:80"><div align="center"><a href="../<%=rs("C_dir").Value%>" target="_blank"><%=rs("C_dir").Value%></a></div></td>
      <td style="width:80"><div align="center"><%=rs("C_sortname").Value%></div></td>
      <td style="width:80"><div align="center"><%=rs("C_itemunit").Value%></div></td>
      <td style="width:140"><div align="center"><a href="Channel_edit.aspx?id=<%=rs("id").Value%>">修改</a>&nbsp;|&nbsp;<%If IsTrue(rs("Isdisabled").Value) Then%><a href="Channel_action.aspx?Action=4&id=<%=Rs("id").Value%>">启用</a><%Else%><a href="Channel_action.aspx?Action=3&id=<%=Rs("id").Value%>">禁用</a><%End If%>&nbsp;|&nbsp;<%If (rs("id").Value<6) Then%>系统</a><%Else%><a href="#" onclick="del('Channel_manage.aspx?action=del&id=<%=rs("id").Value%>','你确定要删除该频道吗？删除是连同频道所有文件及目录一起删除，而且一旦删除将不可恢复！')">删除</a><%End If%>
      </div></td>
    </tr>
    <%num += 1 : Rs.MoveNext() : Loop%>
</table>
<table style="width:100%"  border="0" cellspacing="0" cellpadding="4">
  <tr>
    <td style="height:22"><%=Pagination(rs.pagecount,IsNull(Request("page"),1),rs.recordcount,rs.pagesize)%></td>
  </tr>
</table>
</td>
  </tr>
</table>
</body>
<%Page_Loaded()%>
</html>
