⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin_menu.asp

📁 大榕树网络文章管理系统
💻 ASP
字号:
<%
if session("adminname")="" and session("adminpurview")="" and session("servernums")="" then
call errmsg()
response.end()
else
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>管理导航</title>
<script>// Example: obj = findObj("image1");
function findObj(theObj, theDoc)
{
  var p, i, foundObj;
  
  if(!theDoc) theDoc = document;
  if( (p = theObj.indexOf("?")) > 0 && parent.frames.length)
  {
    theDoc = parent.frames[theObj.substring(p+1)].document;
    theObj = theObj.substring(0,p);
  }
  if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj];
  for (i=0; !foundObj && i < theDoc.forms.length; i++) 
    foundObj = theDoc.forms[i][theObj];
  for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++) 
    foundObj = findObj(theObj,theDoc.layers[i].document);
  if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj);  
  return foundObj;
}
</script>
<style type="text/css">
<!--
.emenu {
	background-image:  url(imgs/e.gif);
	background-repeat: no-repeat;
	padding-left: 40px;
	cursor: hand;
	font-size: 12px;
	font-weight: bold;
	font-style: normal;
	line-height: 30px;
	background-color: #A3B2CC;
	color: #003366;
	border-top: 3px double #E0EBFC;
	border-right: 3px double #E0EBFC;
	border-bottom: 3px double #E0EBFC;
	border-left: 10px double #DBE7F4;
}
.submenu {
	padding-left: 16px;
	background-image: none;
	background-repeat: no-repeat;
	font-size: 12px;
	font-style: normal;
	line-height: 25px;
	font-weight: normal;
}
.iemenu {
	background-image:  url("imgs/ie.gif");
	background-repeat: no-repeat;
	font-size: 12px;
	font-style: normal;
	line-height: 30px;
	background-position: left center;
	text-align: left;
	padding-left: 20pt;
}
a {
	color: #000000;
	text-decoration: none;
	border: 1px none #FFFFFF;
}
a:hover {
	color: #006699;
	background-color: #eeeeee;
	border: 1px none #006699;
}
.topmenu {
	font-size: 12px;
	font-style: normal;
	line-height: 30px;
	font-weight: bold;
	text-align: center;
	background-image: url(imgs/menuback.gif);
}
.txt07 {
	font-size: 12px;
	font-style: normal;
	line-height: 20px;
	font-weight: bold;
	color: #006699;
}
.bordershow {
	border-right-width: 1px;
	border-right-style: groove;
	border-left-style: none;
	border-right-color: #D1DAEF;
}
-->
</style>
<link href="Style.css" rel="stylesheet" type="text/css">
<script>// Example: obj = findObj("image1");
function findObj(theObj, theDoc)
{
  var p, i, foundObj;
  
  if(!theDoc) theDoc = document;
  if( (p = theObj.indexOf("?")) > 0 && parent.frames.length)
  {
    theDoc = parent.frames[theObj.substring(p+1)].document;
    theObj = theObj.substring(0,p);
  }
  if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj];
  for (i=0; !foundObj && i < theDoc.forms.length; i++) 
    foundObj = theDoc.forms[i][theObj];
  for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++) 
    foundObj = findObj(theObj,theDoc.layers[i].document);
  if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj);  
  return foundObj;
}
</script>
</head>
<body>	
<table width="180" border="0" align="left" cellpadding="0" cellspacing="0">
  <tr>
    <td class="topmenu"><a href="admin_Main.asp" target="mainFrame">系统管理首页</a> | <a href="admin_loginout.asp" target="_top">退出</a></td>
  </tr>
  <tr>
    <td height="18" align="center" class="txt07">用户:<%=session("adminname")%><br>
	权限:<% select case session("adminpurview")
	case 1
	response.write"特级管理员"
	case 2
	response.write"高级管理员"
	case 3
	response.write"大类管理员"
	case 4
	response.write"小类管理员"
	case 5
	response.write"文章管理员"
	end select
	%></td>
  </tr>
  <tr>
    <td height="18" class="emenu" onMouseUp="with(findObj('menu01'))if(style.display=='none'){style.display='';this.style.backgroundImage='url(imgs/e.gif)'}else{style.display='none';this.style.backgroundImage='url(imgs/c.gif)'}">文章管理</td>
  </tr>
  <tr id="menu01">
    <td class="submenu"><table width="160" border="0" cellpadding="0" cellspacing="0" class="bordershow">
      <tr>
        <td class="iemenu"><a href="admin_ArticleAdd.asp" target="mainFrame">添加文章</a> | <a href="admin_ArticlePas.asp" target="mainFrame">审核文章</a></td>
      </tr>
      <tr>
        <td class="iemenu"><a href="admin_ArticleMan.asp" target="mainFrame">管理文章</a> </td>
      </tr><%if session("adminpurview")<=2 then%>
      <tr>
        <td class="iemenu"><a href="admin_ClassBigAdd.asp" target="mainFrame">添加栏目</a> | <a href="admin_ClassMan.asp" target="mainFrame">管理</a></td>
      </tr>	  
      <tr>
        <td class="iemenu"><a href="admin_SpecialAdd.asp" target="mainFrame">添加专题</a> | <a href="admin_SpecialMan.asp" target="mainFrame">管理</a></td>
      </tr>
	  <%end if%>
	  <%if session("adminpurview")<=4 then%>
      <tr>
        <td class="iemenu"><a href="admin_CommentMan.asp" target="mainFrame">评论管理</a> | <a href="admin_CommentPas.asp" target="mainFrame">评论审核</a></td>
      </tr>
	  <%end if%>
    </table></td>
  </tr>
  <%if session("adminpurview")<=3 then%>
  <tr>
    <td class="emenu" onMouseUp="with(findObj('menu03'))if(style.display=='none'){style.display='';this.style.backgroundImage='url(imgs/e.gif)'}else{style.display='none';this.style.backgroundImage='url(imgs/c.gif)'}">公告/广告</td>
  </tr>
  <tr id="menu03">
    <td class="submenu"><table width="160" border="0" cellpadding="0" cellspacing="0" class="bordershow">
      <tr>
        <td class="iemenu"><a href="admin_AnnAdd.asp" target="mainFrame">添加公告</a> | <a href="admin_AnnMan.asp" target="mainFrame">管理</a></td>
      </tr>
      <tr>
        <td class="iemenu"><a href="admin_AdvAdd.asp" target="mainFrame">添加广告</a> | <a href="admin_AdvMan.asp" target="mainFrame">管理</a></td>
      </tr>
    </table></td>
  </tr>
  <%end if%>
  <%if session("adminpurview")<=1 then%>
  <tr><td class="emenu" onMouseUp="with(findObj('menu004'))if(style.display=='none'){style.display='';this.style.backgroundImage='url(imgs/e.gif)'}else{style.display='none';this.style.backgroundImage='url(imgs/c.gif)'}">频道管理</td></tr>
  <tr id="menu004">
    <td class="submenu"><table width="160" border="0" cellpadding="0" cellspacing="0" class="bordershow">
      <tr>
        <td class="iemenu"><a href="admin_WebClassAdd.asp" target="mainFrame">添加频道</a> | <a href="admin_WebClassMan.asp" target="mainFrame">管理</a> </td>
      </tr>
    </table></td>
  </tr>
  <%end if%>
  <%if session("adminpurview")<=4 then%>
  <tr>
    <td class="emenu" onMouseUp="with(findObj('menu04'))if(style.display=='none'){style.display='';this.style.backgroundImage='url(imgs/e.gif)'}else{style.display='none';this.style.backgroundImage='url(imgs/c.gif)'}">BBS管理</td>
  </tr>
  <tr id="menu04">
    <td class="submenu"><table width="160" border="0" cellpadding="0" cellspacing="0" class="bordershow">
      <tr>
        <td class="iemenu"><a href="admin_BbsAdd.asp" target="mainFrame">添加主题</a> | <a href="admin_BbsPas.asp" target="mainFrame">审核主题</a></td>
      </tr>
      <tr>
        <td class="iemenu"><a href="admin_BbsManage.asp" target="mainFrame">主题管理</a> | <a href="admin_BbsRePas.asp" target="mainFrame">审核回复</a></td>
      </tr>
      <tr>
        <td class="iemenu"> <a href="admin_BbsClaAdd.asp" target="mainFrame"> 添加栏目</a> | <a href="admin_BbsClaMan.asp" target="mainFrame">栏目管理</a></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td class="emenu" onMouseUp="with(findObj('menu05'))if(style.display=='none'){style.display='';this.style.backgroundImage='url(imgs/e.gif)'}else{style.display='none';this.style.backgroundImage='url(imgs/c.gif)'}">友情链接</td>
  </tr>
  <tr id="menu05">
    <td class="submenu"><table width="160" border="0" cellpadding="0" cellspacing="0" class="bordershow">
      <tr>
        <td class="iemenu"><a href="admin_LinkAdd.asp" target="mainFrame">添加链接</a> | <a href="admin_LinkManage.asp" target="mainFrame">管理</a></td>
      </tr>
    </table></td>
  </tr>
  <%end if%>
  <%if session("adminpurview")<=3 then%>
  <tr>
    <td class="emenu" onMouseUp="with(findObj('menu06'))if(style.display=='none'){style.display='';this.style.backgroundImage='url(imgs/e.gif)'}else{style.display='none';this.style.backgroundImage='url(imgs/c.gif)'}">系统管理</td>
  </tr>
  <tr id="menu06">
    <td class="submenu"><table width="160" border="0" cellpadding="0" cellspacing="0" class="bordershow">
      <%if session("adminpurview")<=2 then%>
	  <tr>
        <td class="iemenu"><a href="admin_WebConfig.asp" target="mainFrame">网站设置</a></td>
      </tr>
	  <%end if%>

      <tr>
        <td class="iemenu"><a href="admin_UplFilMan.asp" target="mainFrame">上传文件管理</a></td>
      </tr>
	  <%if session("adminpurview")<=2 then%>
      <tr>
        <td class="iemenu"><a href="admin_DataConfig.asp" target="mainFrame">系统初始化</a></td>
      </tr>
	  <%end if%>
    </table></td>
  </tr><%end if%>
  <%if session("adminpurview")<=2 then%>
  <tr>
    <td class="emenu" onMouseUp="with(findObj('menu07'))if(style.display=='none'){style.display='';this.style.backgroundImage='url(imgs/e.gif)'}else{style.display='none';this.style.backgroundImage='url(imgs/c.gif)'}">用户管理</td>
  </tr>
  <tr id="menu07">
    <td class="submenu"><table width="160" border="0" cellpadding="0" cellspacing="0" class="bordershow">
	 <%if session("adminpurview")<=1 then%>
      <tr>
        <td class="iemenu"><a href="admin_AdminAdd.asp" target="mainFrame">添加管理员</a> | <a href="admin_AdminMan.asp" target="mainFrame">管理</a></td>
      </tr>
	  <%end if%>
      <tr>
        <td class="iemenu"><a href="admin_UserPasList.asp" target="mainFrame">用户审核</a> | <a href="admin_UserMan.asp" target="mainFrame">管理</a></td>
      </tr>
      <tr>
        <td class="iemenu"><a href="admin_UserLogman.asp" target="mainFrame">登录用户管理</a></td>
      </tr>
    </table></td>
  </tr>
  <%end if%>
  <%if session("adminpurview")<=3 then%>
  <tr>
    <td class="emenu" onMouseUp="with(findObj('menu08'))if(style.display=='none'){style.display='';this.style.backgroundImage='url(imgs/e.gif)'}else{style.display='none';this.style.backgroundImage='url(imgs/c.gif)'}">本站调查</td>
  </tr>
  <tr id="menu08">
    <td class="submenu"><table width="160" border="0" cellpadding="0" cellspacing="0" class="bordershow">
      <tr>
        <td class="iemenu"><a href="admin_VoteAdd.asp" target="mainFrame">添加调查</a> | <a href="admin_VoteMan.asp" target="mainFrame">管理</a></td>
      </tr>
    </table></td>
  </tr>
  <%end if%>
    
  <tr>
    <td class="emenu" onMouseUp="with(findObj('copyright'))if(style.display=='none'){style.display='';this.style.backgroundImage='url(imgs/e.gif)'}else{style.display='none';this.style.backgroundImage='url(imgs/c.gif)'}">版本信息</td>
  </tr>
  <tr id="copyright">
    <td class="submenu"><table width="160" border="0" cellpadding="0" cellspacing="0" class="bordershow">
	  <tr>
        <td class="iemenu">大榕树网络文章管理系统</td>
      </tr>
      <tr>
        <td class="iemenu">程序开发:<a href="mailto:ydr_899@163.com">WebQi</a></td>
      </tr>
	   <tr>
        <td class="iemenu">所属版权:<a href="http://www.banyanfig.net">榕树空间</a></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>
<%end if%>

<%
sub errmsg()
response.write "   <html><head><link rel='stylesheet' href='style.css'></head><body>"
	    	response.write "   <br><br><br>"
	    	response.write "    <table align='center' width='300' border='0' cellpadding='4' cellspacing='0'>"
	    	response.write "      <tr > "
	    	response.write "        <td class='txt04' height='20'> "
	    	response.write "          <div align='center'>操作: 确认身份失败!</div>"
	    	response.write "        </td>"
	    	response.write "      </tr>"
	    	response.write "      <tr>"
	    	response.write "        <td class='txt05' height='23'> "
	    	response.write "          <div align='center'><br><br>"
	    	response.write "          非法登陆,您的操作已经被记录! <br><br>"
	    	response.write "        【<a href='javascript:onclick=history.go(-1)'>返回</a>】"        
	    	response.write "        <br><br></div></td>"
	    	response.write "      </tr></table></body></html>" 
end sub
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -