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

📄 admin_index.asp

📁 这是一个学生档案管理系统,欢迎大家下载使用哈!
💻 ASP
字号:
<!--#include file="../inc/md5.asp"-->
<!--#include file="../conn.asp"-->
<!--#include file="inc/inc.asp"-->
<!--#include file="../inc/inc.asp"-->
<%
Response.expires=-1 
Response.AddHeader"pragma","no-cache" 
Response.AddHeader"cache-control","no-store" 
%>
<HTML xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>后台管理</title>
<style>
*{margin:0;padding:0;border: 0;}   
html{min-width: 1000px;}
body{background: #fff; font:12px/16px "宋体" !important; min-width: 1000px; overflow:hidden;}
td {font:12px/16px "宋体" !important;}
/*div{word-wrap:break-word; word-break:normal;}*/
div:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}
a {vertical-align: middle;color: #fff;text-decoration: none;} 
.system_top {background-image: url(images/admin_top_bg.jpg);}
.system_post {width: 800px;}
.system_logo {width: 200px;height: 80px; background:url(images/logo.gif) no-repeat;background-position: 20px 20px;}
.system_linedot { background:#2e9ab7; height: 1px;line-height: 1px; overflow:hidden;}
.system_ico {float:right; margin-right:30px;width:27px;height:7px; background:url(images/admin_top_linedot.gif);overflow:hidden;}
ul{list-style:none; padding:0; margin:0;}
li { float:left;}
#top_menu { height:32px; width:auto;}
#top_menu .menu_l { float:left; background:url(images/admin_top_menu_l.gif); height:30px; width:8px;}
#top_menu .menu_bg { float:left;background:url(images/admin_top_menu_bg.gif);height:30px;background-repeat: repeat-x;}
#top_menu .menu_r {float:left; background:url(images/admin_top_menu_r.gif); height:30px; width:8px;}
.menu_bg{font-size:12px;position:relative;z-index:100;}    

.systen_linedot {background-color: #2e9ab7;}
.main_left {width: 190px !important;width: 200px;}
.mid { background-image: url(images/admin_mid_bg.gif);background-repeat: repeat-y;width: 9px;cursor:hand;}
#frmright {overflow-x:hidden;}
#block2{ float:right;height:23px;width:500px;border:#ccc 1px solid; overflow:hidden;} 
#block2 ul{height:21px;overflow:hidden;margin:0;} 
#block2 ul li{float:left;display:inline;margin:0;height:21px;width:24.9%;line-height: 20px;} 
#infozone{color:#fff;overflow:hidden;width:300px;height:20px;float:right;border: #fff 1px solid;background-color: #659DB8;text-indent: 20px;margin-right:30px !important;margin-right:6px;}
#infozone div{height:20px;line-height:20px;white-space:nowrap;overflow:hidden;}

#nav { line-height: 30px;background:#666; } 
#nav li a { display: block; width: 80px; text-align:center; } 
#nav li { float: left;  width: 72px; height:30px; } 
#nav li a:hover{ background:url(images/admin_top_menu_arr.gif); background-repeat: no-repeat;text-decoration: underline;} 
#nav li ul {  text-align:left; left: -999em;  position: absolute;border:1px solid #337ABB; width: 120px;background:#fff;} 
#nav li ul li{text-indent: 20px;line-height: 20px;float: left; margin:0 1px;height:20px!important;height:20px;width: 118px;overflow:hidden;} 
#nav li ul a{ color:#015778;display: block; width:120px!important; width: 118px!important; width: 120px;text-align:left;height: 20px; } 
#nav li ul a:hover { color:#fff;text-decoration:none;font-weight:normal; background:#015778;height:20px;text-decoration: underline;} 
#nav li:hover ul { left: auto; } 
#nav li.sfhover ul { left: auto; } 
</style>

<SCRIPT>
//menus
function menuFix() { 
	var sfEls = document.getElementById("nav").getElementsByTagName("li"); 
	for (var i=0; i<sfEls.length; i++) { 
	sfEls[i].onmouseover=function() { 
	this.className+=(this.className.length>0? " ": "") + "sfhover"; 
	} 
	sfEls[i].onMouseDown=function() { 
	this.className+=(this.className.length>0? " ": "") + "sfhover"; 
	} 
	sfEls[i].onMouseUp=function() { 
	this.className+=(this.className.length>0? " ": "") + "sfhover"; 
	} 
	sfEls[i].onmouseout=function() { 
	this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"), 
	""); 
	} 
	} 
} 
function getinfos(){
       var o=document.getElementById('infozone');
       window.setInterval(function(){scrollup(o,20,0);},3000);
}

function scrollup(o,d,c){
       if(d==c){
              var t=o.firstChild.cloneNode(true);
              o.removeChild(o.firstChild);
              o.appendChild(t);
              t.style.marginTop=o.firstChild.style.marginTop='0px';
       }
       else{
              var s=3,c=c+s,l=(c>=d?c-d:0);
              o.firstChild.style.marginTop=-c+l+'px';
              window.setTimeout(function(){scrollup(o,d,c-l)},100);
       }
}
//中部隐藏
function switchSysBar(){
     if (document.all("frmTitle").style.display=="block" ){ 
          switchPoint.innerHTML = '<img src="images/admin_mid_ico_r.gif">';
         document.all("frmTitle").style.display="none"
     }
     else{
          switchPoint.innerHTML = '<img src="images/admin_mid_ico_l.gif">';
          document.all("frmTitle").style.display="block";
     }
}
//菜单同步
function menucheck(x,y){
frmleft.document.getElementById("m_l").innerHTML=document.getElementById("m_t_"+x).innerHTML;
frmright.location.href=y;
}
//window.onload=menuFix;

//window.onload=getinfos;
if (document.all){
 window.attachEvent('onload',menuFix)//对于IE
 window.attachEvent('onload',getinfos)//对于IE
}
else{
 window.addEventListener('load',menuFix,false);//对于FireFox
 window.addEventListener('load',getinfos,false);//对于FireFox
} 



//alert(document.getElementsByTagName("body").innerhtml );
</SCRIPT>
</head>
<body>
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
  <tr>
    <td height="85" class="system_top">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
		  <tr>
			<td rowspan="2" width="200" class="system_logo">&nbsp;</td>
			<td class="system_post"><div id="infozone"><div>当前程序:报名系统 免费版</div><div><A HREF="http://www.25175.com">官方网址:www.25175.com</A></div></div></td>
		  </tr>
		  <tr>
			<td class="system_post">
			<div id="top_menu">
				<div class="menu_l"></div>
				<ul id="nav" class="menu_bg"> 		
		<%
		Set rs = server.CreateObject("adodb.recordset")
		sql="select id,Menu,Ord,urls from Admin_Menu where TopId=0 order by Ord"
		rs.Open sql,Conn,1,1
		If Not rs.eof Then
		i=0
		Do While Not rs.eof
			response.write "<li><a href=""#""><span onclick=""menucheck('"&i&"','"&rs(3)&"')"">"&rs(1)&"</span></a>" & vbcrlf
			Set rsnext = server.CreateObject("adodb.recordset")
			sql="select id,Menu,Ord,urls from Admin_Menu where TopId="&rs(0)&" order by Ord"
			rsnext.Open sql,Conn,1,1
			If Not rsnext.eof Then
				response.write "<ul id=""m_t_"&i&"""> " & vbcrlf 
				Do While Not rsnext.eof
					response.write "<li onclick=""menucheck('"&i&"','"&rsnext(3)&"')""><a href=""#"">" & _
						"<span>"&rsnext(1)&"</span></a></li>" & vbcrlf
					rsnext.movenext
				loop
					response.write "</ul>" & vbcrlf
			End If 
			rsnext.close
			response.write "</li>" & vbcrlf
			i=i+1
			rs.movenext
		Loop
		End If
		rs.close
		%>
 <li><A HREF="logout.asp">退出登陆</A></li>
				</ul>   
			<div class="menu_r"></div>

			</div>



			</td>
		  </tr>
		  <tr>
			<td colspan="2" class="system_linedot"><div class="system_ico"></div></td>
			</tr>
		</table>

	</td>
  </tr>
  <tr>
    <td>
	<TABLE border=0 cellPadding=0 cellSpacing=0 height="100%" width="100%">
		<TBODY>
		<TR>
		  <TD id=frmTitle vAlign=top name="fmTitle" class="main_left" style="display:block;">
			<IFRAME frameBorder=0 id=frmleft name=frmleft width="190"  height="100%" src="admin_left.html" class="left_iframe" allowTransparency="true"></IFRAME>
		  </td>
		  <TD class="mid">
			   <TABLE border=0 cellPadding=0 cellSpacing=0 height="100%">
				<TBODY>
				<TR>
				 <TD onClick="switchSysBar()" style=" HEIGHT: 100%">
				 <SPAN class=navPoint id=switchPoint title="关闭/打开左栏"><img src="images/admin_mid_ico_l.gif"></SPAN>
				 </TD>
				</TR>
				</TBODY>
			   </TABLE>
			 </TD>
		  <TD width="100%" vAlign=top>
			<IFRAME frameBorder=0 id=frmright width="100%" height="100%" name=frmright scrolling=yes src="main.asp" class="main_iframe"></IFRAME>
		</TD>
		</TR>
		</TBODY>
		</TABLE>
	</td>
  </tr>
</table>
</body>
</html>

<%'postinfo%>

⌨️ 快捷键说明

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