<!--#include file="setup.asp"-->
<!--#include file="check.asp"-->
<%
Response.Expires = 0  
Response.ExpiresAbsolute = Now() - 1  
Response.cachecontrol = "no-cache" 
%>
<head>
<title><%= Newasp.SiteName %> - 管理页面</title>
<META content="MSHTML 5.00.3315.2870" name=GENERATOR>
<META http-equiv=Content-Type content=text/html;charset=gb2312>
<style type=text/css>
BODY{
	margin:0px;
	FONT-SIZE: 12px;
	FONT-FAMILY: "宋体", "Verdana", "Arial", "Helvetica", "sans-serif";
	background-color: #7D899D; 
	scrollbar-highlight-color: #98A0AD; 
	scrollbar-arrow-color: #FFFFFF; 
	scrollbar-base-color: #7D899D
}
table { border:0px; }
td { font:normal 12px 宋体; }
img { vertical-align:bottom; border:0px; }
a { font:normal 12px 宋体; color:#111111; text-decoration:none; }
a:hover { color:#384780;text-decoration:underline; }
.sec_menu { border-left:2px solid #335EA8; border-right:2px solid #335EA8; border-bottom:2px solid #335EA8; overflow:hidden; background:#EEEEE3; }
.menu_title {background-color: #335EA8;color: white;font-size: 12px;font-weight:bold;height: 25; }
.menu_title span { position:relative; top:2px; left:8px; color:#FFFF00; font-weight:bold; }
.menu_title2 {background-color: #335EA8;color: white;font-size: 12px;font-weight:bold;height: 25; }
.menu_title2 span { position:relative; top:2px; left:8px; color:#FEFEFE; font-weight:bold; }
input,select,Textarea{
font-family:宋体,Verdana, Arial, Helvetica, sans-serif; font-size: 12px;}
</style>
<script language=JavaScript>
function logout(){
	if (confirm("系统提示：您确定要退出控制面板吗？"))
	top.location = "logout.asp";
	return false;
}
</script>
<script language=JavaScript1.2>
function showsubmenu(sid) {
	var whichEl = eval("submenu" + sid);
	var menuTitle = eval("menuTitle" + sid);
	if (whichEl.style.display == "none"){
		eval("submenu" + sid + ".style.display=\"\";");
	}else{
		eval("submenu" + sid + ".style.display=\"none\";");
	}
}
</script>
</head>
<BODY leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">
<table width=100% cellpadding=0 cellspacing=0 border=0 align=left> 
<tr>
  <td valign=top> <table cellpadding=0 cellspacing=0 width=158 align=center>
      <tr> 
        <td height=42 valign=bottom> <img src="images/admin_title.gif" width=158 height=38 style="vertical-align:bottom; border:0px;"> 
        </td>
      </tr>
    </table>
    <table cellpadding=0 cellspacing=0 width=158 align=center>
      <tr> 
        <td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background=images/admin_left_1.jpg> 
          <a href="admin_main.asp" target=main><span>管理首页</span></a> <span>|</span> <a href="#"  onclick="logout();"><span>退 出</b></span> 
        </td>
      </tr>
      <tr> 
        <td style="display:"> <div class=sec_menu style="width:158"> 
            
            <table cellpadding=0 cellspacing=0 align=center width=135>
              <tr> 
                <td height=20>用户名：<font color=red><%=session("AdminName")%></font></td>
              </tr>
              <tr> 
                <td height=20>身　份：<font color=red><%=Session("AdminStatus")%></font></td>
              </tr></table></td>
    </table>
    <div  style="width:158"> 
            <table cellpadding=0 cellspacing=0 align=center width=135>
              <tr>
            <td height=5></td>
              </tr>
            </table>
     </div>
    <table cellpadding=0 cellspacing=0 width=158 align=center>
      <tr> 
        <td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background=images/admin_left.jpg id=menuTitle0 onclick="showsubmenu(0)"> 
          <span>常规设置</span> </td>
      </tr>
      <tr> 
        <td style="display:" id='submenu0'> <div class=sec_menu style="width:158"> 
            <table cellpadding=0 cellspacing=0 align=center width=135 style="POSITION: relative; TOP: 5px">
              <tr> 
                <td height=20><img src="images/bullet.gif"><a href=admin_config.asp target=main>网站基本设置</a></td>
              </tr>
			  <tr> 
                <td height=20><img src="images/bullet.gif"><a href=admin_channel.asp?action=add target=main>添加频道</a> | <a href=admin_channel.asp target=main>频道管理</a></td>
              </tr>
              <tr> 
                <td height=20><img src="images/bullet.gif"><a href=admin_template.asp target=main>模板样式总管理</a></td>
              </tr>
              <tr> 
                <td height=20><img src="images/bullet.gif"><a href=admin_loadskin.asp target=main>模板导出</a> | <a href=admin_loadskin.asp?action=load target=main>模板导入</a></td>
              </tr>
	      <tr> 
                <td height=20><img src="images/bullet.gif"><a href=admin_announce.asp?action=add target=main>发布公告</a> | <a href=admin_announce.asp target=main>公告管理</a></td>
              </tr>
	      <tr> 
                <td height=20><img src="images/bullet.gif"><a href=admin_log.asp target=main>日志管理</a> | <a href=admin_message.asp target=main>发送短信</a></td>
              </tr>
	      <tr> 
                <td height=20><img src="images/bullet.gif"><a href=admin_createindex.asp target=main>生成首页（HTML）</a></td>
              </tr>
	      <tr> 
                <td height=20><img src="images/bullet.gif"><a href=admin_admanage.asp?action=add target=main>添加广告</a> | <a href=admin_admanage.asp target=main>广告管理</a></td>
              </tr>
            </table>
          </div>
          <div  style="width:158"> 
            <table cellpadding=0 cellspacing=0 align=center width=135>
              <tr>
                <td height=5></td>
              </tr>
            </table>
          </div></td>
      </tr>
    </table>
<%
Dim ChannelName,ChannelDir,ModuleName,strModules
Set Rs = Newasp.Execute("SELECT ChannelID,ChannelName,ChannelDir,modules,ModuleName FROM NC_Channel WHERE StopChannel = 0 And ChannelID <> 4 And ChannelType < 2 And modules <> 3 ORDER BY orders ASC")
Do While Not Rs.EOF
	ChannelID = Rs("ChannelID")
	ChannelName = Rs("ChannelName")
	ChannelDir = Replace(Rs("ChannelDir"), "/", "")
	ModuleName = Rs("ModuleName")
	Select Case Rs("modules")
		Case 1:strModules = "Article"
		Case 2:strModules = "Soft"
		Case 3:strModules = "Shop"
		Case 5:strModules = "Flash"
	Case Else
		strModules = "Article"
	End Select
%>
    <table cellpadding=0 cellspacing=0 width=158 align=center>
      <tr> 
        <td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background=images/admin_left.jpg id=menuTitle<%=ChannelID%> onclick="showsubmenu(<%=ChannelID%>)"> 
          <span><%=ChannelName%></span> </td>
      </tr>
      <tr> 
        <td style="display:none" id='submenu<%=ChannelID%>'> <div class=sec_menu style="width:158"> 
            <table cellpadding=0 cellspacing=0 align=center width=135 style="POSITION: relative; TOP: 5px">
              <tr> 
                <td height=20><img src="images/bullet.gif"><a href=admin_<%=strModules%>.asp?ChannelID=<%=ChannelID%>&action=add target=main>添加<%=ModuleName%></a> | <a href=admin_<%=strModules%>.asp?ChannelID=<%=ChannelID%> target=main><%=ModuleName%>管理</a></td>
              </tr>
	      <tr> 
                <td height=20><img src="images/bullet.gif"><a href=admin_classify.asp?ChannelID=<%=ChannelID%>&action=add target=main>添加分类</a> | <a href=admin_classify.asp?ChannelID=<%=ChannelID%> target=main>分类管理</a></td>
              </tr>
<%
	If Rs("modules") <> 3 Then
%>
              <tr> 
                <td height=20><img src="images/bullet.gif"><a href=admin_special.asp?ChannelID=<%=ChannelID%> target=main>专题管理</a> | <a href=admin_<%=strModules%>.asp?ChannelID=<%=ChannelID%>&isAccept=0 target=main>审核管理</a></td>
              </tr>
<%
	End If
%>
	      <tr> 
                <td height=20><img src="images/bullet.gif"><a href=admin_<%=strModules%>.asp?action=setting&ChannelID=<%=ChannelID%> target=main>批量设置</a> | <a href=admin_<%=strModules%>.asp?action=move&ChannelID=<%=ChannelID%> target=main>批量移动</a></td>
              </tr>
<%
	If Rs("modules") = 2 Then
%>
	      <tr> 
                <td height=20><img src="images/bullet.gif"><a href=admin_server.asp?ChannelID=<%=ChannelID%> target=main>下载服务器管理</a></td>
              </tr>
	      <tr> 
                <td height=20><img src="images/bullet.gif"><a href=admin_softerr.asp?ChannelID=<%=ChannelID%> target=main>错误报告</a> | <a href=Admin_SoftGather.asp?ChannelID=<%=ChannelID%> target=main><%=ModuleName%>采集</a></td>
              </tr>
<%
	ElseIf Rs("modules") = 1 Then
%>
	      <tr> 
                <td height=20><img src="images/bullet.gif"><a href=Admin_ArticleGather.asp?ChannelID=<%=ChannelID%> target=main><%=ModuleName%>采集管理</a></td>
              </tr>
<%
	ElseIf Rs("modules") = 5 Then
%>
	      <tr> 
                <td height=20><img src="images/bullet.gif"><a href=admin_server.asp?ChannelID=<%=ChannelID%> target=main>下载服务器管理</a></td>
              </tr>
<%
	End If
%>
              <tr> 
                <td height=20><img src="images/bullet.gif"><a href=admin_channel.asp?action=edit&ChannelID=<%=ChannelID%> target=main><%=ModuleName%>频道基本设置</a></td>
              </tr>
	      <tr> 
                <td height=20><img src="images/bullet.gif"><a href=admin_create<%=strModules%>.asp?ChannelID=<%=ChannelID%> target=main>生成<%=ModuleName%>HTML管理</a></td>
              </tr>
	      <tr> 
                <td height=20><img src="images/bullet.gif"><a href=admin_template.asp?action=manage&ChannelID=<%=ChannelID%> target=main><%=ModuleName%>频道模板管理</a></td>
              </tr>
	      <tr> 
                <td height=20><img src="images/bullet.gif"><a href=admin_comment.asp?ChannelID=<%=ChannelID%> target=main>评论管理</a> | <a href=admin_jsfile.asp?ChannelID=<%=ChannelID%> target=main>JS 管理</a></td>
              </tr>
	      <tr>
                <td height=20><img src="images/bullet.gif"><a href=Admin_UploadFile.Asp?ChannelID=<%=ChannelID%>&UploadDir=UploadPic target=main>上传图片管理</a> | <a href=admin_UploadFile.asp?action=clear&ChannelID=<%=ChannelID%>&UploadDir=UploadPic target=main>清理</a></td>
              </tr>
	      <tr> 
                <td height=20><img src="images/bullet.gif"><a href=Admin_UploadFile.Asp?ChannelID=<%=ChannelID%>&UploadDir=UploadFile target=main>上传文件管理</a> | <a href=admin_UploadFile.asp?action=clear&ChannelID=<%=ChannelID%>&UploadDir=UploadFile target=main>清理</a></td>
              </tr>
            </table>
          </div>
          <div  style="width:158"> 
            <table cellpadding=0 cellspacing=0 align=center width=135>
              <tr>
                <td height=5></td>
              </tr>
            </table>
          </div></td>
      </tr>
    </table>
<%
	Rs.movenext
Loop
Set Rs = Nothing
%>
    <table cellpadding=0 cellspacing=0 width=158 align=center>
      <tr>   
        <td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background=images/admin_left.jpg id=menuTitle999 onclick="showsubmenu(999)"> 
          <span>订单管理</span> </td>
      </tr>
      <tr> 
        <td style="display:" id='submenu999'> <div class=sec_menu style="width:158"> 
        <table cellpadding=0 cellspacing=0 align=center width=135 style="POSITION: relative; TOP: 5px">
          <tr> 
            <td height=20><img src="images/bullet.gif">
              <a href="admin_account.asp" target="main">交易明细查询管理</a></td>
          </tr>
	  <tr> 
            <td height=20><img src="images/bullet.gif">
              <a href="admin_confirm.asp" target="main">交费确认</a></td>
          </tr>
	  <tr> 
            <td height=20><img src="images/bullet.gif">
              <a href="admin_paymode.asp" target="main">付款方式管理</a></td>
          </tr>
        </table>
          </div>
        <div  style="width:158"> 
            <table cellpadding=0 cellspacing=0 align=center width=135>
              <tr>
                <td height=5></td>
              </tr>
            </table>
          </div></td>
      </tr>
    </table>
    <table cellpadding=0 cellspacing=0 width=158 align=center>
      <tr>   
        <td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background=images/admin_left.jpg id=menuTitle1000 onclick="showsubmenu(1000)"> 
          <span>用户管理</span> </td>
      </tr>
      <tr> 
        <td style="display:" id='submenu1000'> <div class=sec_menu style="width:158"> 
        <table cellpadding=0 cellspacing=0 align=center width=135 style="POSITION: relative; TOP: 5px">
          <tr> 
            <td height=20><img src="images/bullet.gif"><a href=admin_user.asp?action=add target=main>添加会员</a> | <a href=admin_user.asp target=main>会员管理</a></td>
          </tr>
	  <tr> 
            <td height=20><img src="images/bullet.gif"><a href=admin_userorder.asp target=main>会员充值定单管理</a></td>
          </tr>
	  <tr> 
            <td height=20><img src="images/bullet.gif"><a href=admin_password.asp target=main>管理员密码修改</a></td>
          </tr>
          <tr> 
            <td height=20><img src="images/bullet.gif"><a href=admin_master.asp?action=add target=main>管理员添加</a> | <a href=admin_master.asp target=main>管理</a></td>
          </tr>
	  <tr> 
            <td height=20><img src="images/bullet.gif"><a href=admin_group.asp?action=addgroup target=main>用户组添加</a> | <a href=admin_group.asp target=main>管理</a></td>
          </tr>
	  <tr> 
            <td height=20><img src="images/bullet.gif"><a href=admin_mailist.asp target=main>邮件列表</a> | <a href=admin_mailout.asp target=main>列表导出</a></td>
          </tr>
	  <tr> 
            <td height=20><img src="images/bullet.gif"><a href=admin_mailist.asp?action=mail target=main>发送邮件</a> | <a href=admin_other.asp?action=reginfo target=main>注册信息</a></td>
          </tr>
        </table>
          </div>
        <div  style="width:158"> 
            <table cellpadding=0 cellspacing=0 align=center width=135>
              <tr>
                <td height=5></td>
              </tr>
            </table>
          </div></td>
      </tr>
    </table>

    <table cellpadding=0 cellspacing=0 width=158 align=center>
      <tr>   
        <td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background=images/admin_left.jpg id=menuTitle1001 onclick="showsubmenu(1001)"> 
          <span>其它管理</span> </td>
      </tr>
      <tr> 
        <td style="display:" id='submenu1001'> <div class=sec_menu style="width:158"> 
        <table cellpadding=0 cellspacing=0 align=center width=135 style="POSITION: relative; TOP: 5px">
          <tr> 
            <td height=20><img src="images/bullet.gif">
              <a href="admin_online.asp" target="main">在线人数统计管理</a></td>
          </tr>
	  <tr> 
            <td height=20><img src="images/bullet.gif">
              <a href=admin_vote.asp?action=add target=main>增加投票</a> | <a href=admin_vote.asp target=main>投票管理</a></td>
          </tr>
          <tr> 
            <td height=20><img src="images/bullet.gif">
              <a href="admin_link.asp" target="main">友情连接</a> | <a href="admin_book.asp" target="main">留言管理</a></td>
          </tr>
	  <tr> 
            <td height=20><img src="images/bullet.gif">
              <a href="admin_other.asp?action=help" target="main">网站帮助</a> | <a href="admin_other.asp?action=about" target="main">关于我们</a></td>
          </tr>
	  <tr> 
            <td height=20><img src="images/bullet.gif">
              <a href="admin_other.asp?action=ad" target="main">广告合作</a> | <a href="admin_other.asp?action=declare" target="main">网站声明</a></td>
          </tr>
        </table>
          </div>
        <div  style="width:158"> 
            <table cellpadding=0 cellspacing=0 align=center width=135>
              <tr>
                <td height=5></td>
              </tr>
            </table>
          </div></td>
      </tr>
    </table>
     <table cellpadding=0 cellspacing=0 width=158 align=center>
      <tr>   
        <td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background=images/admin_left.jpg id=menuTitle1002 onclick="showsubmenu(1002)"> 
          <span>数据库处理</span> </td>
      </tr>
      <tr> 
        <td style="display:" id='submenu1002'> <div class=sec_menu style="width:158"> 
        <table cellpadding=0 cellspacing=0 align=center width=135 style="POSITION: relative; TOP: 5px">
          <tr> 
            <td height=20><img src="images/bullet.gif"><a href=admin_database.asp?action=BackupData target=main>数据库备份</a></td>
          </tr>
          <tr> 
            <td height=20><img src="images/bullet.gif"><a href=admin_database.asp?action=RestoreData target=main>数据库恢复</a></td>
          </tr>
	  <tr> 
            <td height=20><img src="images/bullet.gif"><a href=admin_database.asp?action=CompressData target=main>数据库压缩</a></td>
          </tr>
	  <tr> 
            <td height=20><img src="images/bullet.gif"><a href=admin_probe.asp target=main>服务器信息</a></td>
          </tr>
	  <tr> 
            <td height=20><img src="images/bullet.gif"><a href=admin_replace.asp target=main>数据库批量替换</a></td>
          </tr>
	  <tr> 
            <td height=20><img src="images/bullet.gif"><a href=admin_database.asp?action=Spacesize target=main>系统空间占用</a></td>
          </tr>
        </table>
          </div>
        <div  style="width:158"> 
            <table cellpadding=0 cellspacing=0 align=center width=135>
              <tr>
                <td height=5></td>
              </tr>
            </table>
          </div></td>
      </tr>
    </table>
<table cellpadding=0 cellspacing=0 width=158 align=center>
      <tr>

	<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background=images/admin_left.jpg>
	  <span>系统信息</span> </td>
      </tr>
      <tr>
	<td> <div class=sec_menu style="width:158">
	    <table cellpadding=0 cellspacing=0 align=center width=135>
	      <tr>
		<td height=20><br>
		  <a href="http://www.newasp.net/" target=_blank>版权所有：<BR>
	      新云网络(newasp.net)</a><BR>
	      <a href="http://bbs.newasp.net/" target=_blank>技术支持：<BR>
	      WebEnvoy</A><br> 　QQ:(94022511)</td>
	      </tr>
	       <tr align=center>
		<td height=22>【<a href="logout.asp" target=_top>注销退出</a>】<br></td>
	      </tr>
	    </table>
	  </div></td>
      </tr>
    </table>
    <BR style="OVERFLOW: hidden; LINE-HEIGHT: 5px">
</body>
</html>