📄 left.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="check.asp" -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Management System</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #596A80;
}
-->
</style>
<link href="css/text1.css" rel="stylesheet" type="text/css">
<SCRIPT type=text/javascript>
if (document.getElementById){
document.write('<style type="text/css">\n');
document.write('.submenu{display: none;}\n');
document.write(".submenu#sub0{display: block;}\n");
document.write('</style>\n');
}
function SwitchMenu(obj,sty,obu)
{
if(document.getElementById)
{
var aa=new Array("1","2");
for(var i=0;i<2;i++)
{
if(obj!="sub"+aa[i]){
var el = document.getElementById('sub'+aa[i]);
var ml = document.getElementById('m'+aa[i]);
var mml = document.getElementById('exposure'+aa[i]);
el.style.display = "none";
mml.src = "images/jian_normal.gif";
ml.className ="menu";
}
}
if(obj!='sub'){
var el = document.getElementById(obj);
var ml = document.getElementById(sty);
var mml = document.getElementById(obu);
var ar = document.getElementById("masterdiv").getElementsByTagName("ul");
var mr = document.getElementById("masterdiv").getElementsByTagName("a");
var imm = document.getElementById("masterdiv").getElementsByTagName("img");
if(el.style.display != "block")
{
for (var i=0; i<ar.length; i++)
{
if (ar[i].className == "submenu")
ar[i].style.display = "none";
if (mr[i].className == "menu1")
mr[i].className = "menu";
if (imm[i].className == "tuu")
imm[i].src = "images/jian_normal.gif";
}
el.style.display = "block";
mml.src = "images/jian_list.gif";
ml.className ="menu1";
}
else
{
el.style.display = "none";
mml.src = "images/jian_normal.gif";
ml.className ="menu";
}
}
}
}
</SCRIPT>
</head>
<body>
<DIV id=masterdiv>
<table border="0" cellspacing="0" cellpadding="0" class="text1">
<tr>
<td width="220" align="right" valign="top"><table width="190" border="0" cellspacing="0" cellpadding="0" class="text1" >
<tr>
<td width="190"> </td>
</tr>
<tr>
<td>
<a class=menu id=m0>
<table width="170" border="0" cellspacing="1" cellpadding="0" bgcolor="#304156" class="text_menu">
<tr>
<td height="20" valign="middle" onMouseOver="javascript:this.bgcolor='#304156'" onMouseOut="javascript:this.bgcolor='#8A98AE'" style="cursor:pointer">
当前用户</td>
<td width="20" valign="middle" align="center" style="cursor:pointer">
<img class=tuu id=exposure0 src="images/jian_normal.gif"> </td>
</tr>
</table>
</a>
<table class=submenu id=sub0 width="170" border="0" cellspacing="1" cellpadding="0">
<tr><td height="1" background="images/sys_m_dot2.gif"></td></tr>
<tr>
<td height="20" valign="middle" style="cursor:pointer">
学号:<% =session("number")%></td>
</tr>
<tr><td height="1" background="images/sys_m_dot2.gif"></td></tr>
<tr>
<td height="20" valign="middle" style="cursor:pointer">
姓名:<% =session("username")%></td>
</tr>
<tr><td height="1" background="images/sys_m_dot2.gif"></td></tr>
</table></td>
</tr>
<tr>
<td height="15"></td>
</tr>
<tr>
<td>
<a class=menu id=m1 onClick="SwitchMenu('sub1','m1','exposure1')">
<table width="170" border="0" cellspacing="1" cellpadding="0" bgcolor="#304156" class="text_menu">
<tr>
<td height="20" valign="middle" onMouseOver="javascript:this.bgcolor='#304156'" onMouseOut="javascript:this.bgcolor='#8A98AE'" style="cursor:pointer">
<font color="#FFFFFF"><a href="dbo_student_list.asp" target="contentFrame">竞赛学生管理</a> </font> </td>
<td width="20" valign="middle" align="center" style="cursor:pointer">
<img class=tuu id=exposure1 src="images/jian_normal.gif"> </td>
</tr>
</table>
</a>
<table class=submenu id=sub1 width="170" border="0" cellspacing="1" cellpadding="0">
<tr>
<td height="20" valign="middle" style="cursor:pointer">
<img src="images/i_phone.gif" border="0" align="absmiddle"> <a href="dbo_student_list.asp" target="contentFrame">竞赛学生管理</a></td>
</tr>
<tr><td height="1" background="images/sys_m_dot2.gif"></td></tr>
</table> </td>
</tr>
<tr>
<td height="15"></td>
</tr>
<tr>
<td>
<a class=menu id=m2 onClick="SwitchMenu('sub2','m2','exposure2')">
<table width="170" border="0" cellspacing="1" cellpadding="0" bgcolor="#304156" class="text_menu">
<tr>
<td height="20" valign="middle" onMouseOver="javascript:this.bgcolor='#304156'" onMouseOut="javascript:this.bgcolor='#8A98AE'" style="cursor:pointer">
<a href="admin_list.asp" target="contentFrame">管理员管理</a> </td>
<td width="20" valign="middle" align="center" style="cursor:pointer">
<img class=tuu id=exposure2 src="images/jian_normal.gif"> </td>
</tr>
</table>
</a>
<table class=submenu id=sub2 width="170" border="0" cellspacing="1" cellpadding="0">
<tr>
<td height="20" valign="middle" style="cursor:pointer">
<img src="images/i_phone.gif" border="0" align="absmiddle"> <a href="admin_list.asp" target="contentFrame">管理员管理</a></td>
</tr>
<tr><td height="1" background="images/sys_m_dot2.gif"></td></tr>
</table> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td></td>
</tr>
</table></td>
</tr>
</table>
</DIV>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -