📄 weihu.asp
字号:
//设置一个定时事件
setTimeout('MFXopenMenuC(first)',10);
}
}
//如果是IE浏览器并且thereC为假值
if(isIE&&!thereC)
{
ieStep+=myStep;
//设置剪切矩形
myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+ (ieStep)
+" "+ ("auto") +")";
if(ieStep>=myHeight[first+1])
{
thereC=true;
whichOpen=first;
MFXstopOpenS(first)
}
//如果running的值为真
if(running)
{
//设置定时事件
setTimeout('MFXopenMenuC(first)',10);
}
}
}
function MFXcloseMenuS(myName)
{
myStep=mySpeed;
//如果是Netscape浏览器并且thereCS为假值且second不等于lastMain
if(isNetscape&&!thereCS&&!(second==lastMain))
{
if(myLayer[second+2].top-myStep<myTop[second+2])
{
myStep=myLayer[second+2].top-myTop[second+2];
}
//下面的循环用于重新设置各菜单项的上边界
for(i=second+2; i<myLayer.length; i+=2)
{
myLayer[i].top-=myStep;
}
if(myLayer[second+2].top==myTop[second+2])
{
MFXstopCloseS(second);
}
//如果running的值为true
if(running)
{
//设置定时事件
setTimeout('MFXcloseMenuS(second)',10);
}
}
//如果是IE浏览器并且thereCS为假值且second不等于lastMain
if(isIE&&!thereCS&&!(second==lastMain))
{
if(myLayer[second+2].pixelTop-myStep<myTop[second+2])
{
myStep=myLayer[second+2].pixelTop-myTop[second+2];
}
//下面的循环用于重新设置各菜单项的上边界
for(i=second+2; i<myLayer.length; i+=2)
{
myLayer[i].pixelTop-=myStep;
}
if(myLayer[second+2].pixelTop==myTop[second+2])
{
MFXstopCloseS(second);
}
if(running)
{
//设置定时事件
setTimeout('MFXcloseMenuS(second)',10);
}
}
}
function MFXcloseMenuC(myName)
{
myStep=-mySpeed;
ieStep1-=mySpeed;
//如果是Netscape浏览器并且thereCC为假值
if(isNetscape&&!thereCC)
{
if ((myLayer[second+1].clip.bottom+myStep)<0)
{
//设置文本块的剪切区域的下边界
myLayer[second+1].clip.bottom=0;
}
if(myLayer[second+1].clip.bottom==0)
{
thereCC=true;
//如果second的值等于lastMain
if(second==lastMain)
{
//调用自定义的函数进行处理
MFXstopCloseS(second);
}
}
else{
//重新设置相应的文本块的剪切区域
myLayer[second+1].clip.bottom+=myStep;
}
//如果running的值为真
if(running)
{
//设置相应的定时事件
setTimeout('MFXcloseMenuC(second)',10);
}
}
//如果是IE浏览器并且thereCC的值为假
if(isIE&&!thereCC)
{
if(ieStep1<=0)
{
//重新设置相应的文本块的剪切区域
myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+ (0) +" "+ ("auto") +")";
thereCC=true;
//如果second的值等于lastMain
if(second==lastMain)
{
MFXstopCloseS(second);
}
}
//否则
else{
//设置文本块的剪切区域
myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+
(ieStep1) +" "+ ("auto") +")";
}
//如果running的值为真
if(running)
{
//设置相应的定时事件
setTimeout('MFXcloseMenuC(second)',10);
}
}
}
//-->
</SCRIPT>
</HEAD>
<body onload="doinit()" bgColor=deepskyblue><!--#include file="admin_conn.asp"-->
<%
dim username, pwd
rcount=0
on error resume next
session("username")
session("userID")
if request.Form("name")="" and request.Form("passwd")="" and session("userID")="" and session("username")="" then
response.Write("<p align=center>非法用户,请通过<A href=" & "managerfrom.htm" & ">主页</A>登录")
response.End()
end if
if request.Form("text1")<>"" and request.Form("text2")<>"" then
session("userID")=request.Form("text1")
session("username")=request.Form("text2")
end if
if err.number<>0 then
response.Write(err.Description)
response.Write(session("userID"))
response.Write(session("username"))
end if
username=trim(Request.Form("name"))
pwd=trim(Request.Form("passwd"))
sql="Select count(*) as Recordcount from admin where name='"& username &"' and passwd='"& pwd &"'"
set rs=conn.Execute(sql)
rcount=rs("Recordcount")
rs.close
conn.Close
set conn=nothing
if rcount<1 then
%>
<script language=javascript>
<!--
alert("用户名或密码错误,请重新输入!");
history.back();
-->
</script>
<%
Response.End
else
%>
<P align="center"><STRONG><FONT face="华文彩云" color=darkred size="4">网上考试系统</FONT></STRONG></P>
<P align="center"><STRONG><FONT face="华文彩云" color=darkred size="4">管理项目</FONT></STRONG></P>
<hr>
<DIV id=MFX0
style="BORDER-RIGHT: #000000 1px; BORDER-TOP: #000000
1px; Z-INDEX:
2; LEFT:
10px; VISIBILITY:
hidden; BORDER-LEFT: #000000 1px;
WIDTH: 128px; BORDER-BOTTOM:
#000000
1px; POSITION: absolute; TOP:
142px; HEIGHT: 34px; BACKGROUND-COLOR: cadetblue; layer-background-color: DarkCyan">
<DIV align=center>
<CENTER>
<TABLE bgColor=#568ac2 border=1 borderColorDark=#568ac2
borderColorLight=#ffffff cellPadding=0 cellSpacing=0 width="178" style="WIDTH: 178px; HEIGHT: 31px" height=31>
<TBODY><TR>
<TD width="100%">
<P align=center class=cn>
<A onclick="MFXrunMenu(0,5);return false;" href="managerTry1.htm" >
<FONT color=#ffff00 >
课程管理
</FONT>
</A>
</P>
</TD></TR>
</TBODY>
</TABLE>
</CENTER>
</DIV>
</DIV>
<DIV id=MFX1
style="BORDER-RIGHT: #000000
1px; BORDER-TOP: #000000
1px; Z-INDEX: 1;
LEFT: 19px; VISIBILITY:
hidden; BORDER-LEFT: #000000
1px; WIDTH: 179px; BORDER-BOTTOM:
#000000 1px;
POSITION: absolute; TOP: 150px;
HEIGHT: 78px; BACKGROUND-COLOR: #b0c4de;
layer-background-color: red">
<DIV align=center>
<CENTER>
<TABLE style="WIDTH: 178px; HEIGHT: 78px" border=1 cellSpacing=0 borderColorDark=#ffffff
cellPadding=0 width=178 borderColorLight=#ff0000 id=TABLE1>
<TR>
<TD width="100%">
<P align=center>
<base target=display><A href="SubjectAdd.asp"><FONT size=2>课程设置
</FONT></A></P></TD></TR>
<TR>
<TD width="100%">
<P align=center><A href="SubjectModify.asp"><FONT size=2>课程修改
</FONT></A></P></TD></TR>
<TR>
<TD width="100%">
<P align=center><A href="SubjectDel.asp"><FONT size=2>课程删除
</FONT></A></P></TD></TR></TABLE>
</CENTER>
</DIV>
</DIV>
<DIV id=MFX2
style="BORDER-RIGHT: #000000 1px; BORDER-TOP: #000000 1px; Z-INDEX: 2; LEFT: 11px; VISIBILITY: hidden; BORDER-LEFT: #000000 1px; WIDTH: 128px; BORDER-BOTTOM: #000000 1px; POSITION: absolute; TOP: 219px; HEIGHT: 34px; BACKGROUND-COLOR: cadetblue; layer-background-color: DarkCyan">
<DIV align=center>
<CENTER>
<TABLE style="WIDTH: 178px; HEIGHT: 31px" height=31 cellSpacing=0
borderColorDark=#568ac2 cellPadding=0 width=178 bgColor=#568ac2
borderColorLight=#ffffff border=1>
<TR>
<TD width="100%">
<P class=cn align=center><A onclick="MFXrunMenu(2,5);return false;"
href="managerTry1.htm"><FONT color=#ffff00>题库管理
</FONT></A></P></TD></TR></TABLE></CENTER></DIV></DIV>
<DIV id=MFX3
style="BORDER-RIGHT: #000000 1px; BORDER-TOP: #000000 1px; Z-INDEX: 1; LEFT: 11px; VISIBILITY: hidden; BORDER-LEFT: #000000 1px; WIDTH: 179px; BORDER-BOTTOM: #000000 1px; POSITION: absolute; TOP: 240px; HEIGHT: 80px; BACKGROUND-COLOR: #b0c4de; layer-background-color: yellow">
<DIV align=center>
<CENTER>
<TABLE style="WIDTH: 178px; HEIGHT: 80px" cellSpacing=0 borderColorDark=#ffffff
cellPadding=0 width=178 borderColorLight=#ff0000 border=1>
<TR>
<TD width="100%">
<P align=center><A href="QuestionAdd.asp"><FONT size=2>试题录入
</FONT></A></P></TD></TR>
<TR>
<TD width="100%">
<P align=center><A href="QuestionFormQ.asp"><FONT size=2>试题组合查询
</FONT></A></P></TD></TR>
<TR>
<TD width="100%">
<P align=center><A href="QuestionQuery.asp"><FONT size=2>试题查询
</FONT></A></P></TD></TR></TABLE></CENTER></DIV></DIV>
<DIV id=MFX4
style="BORDER-RIGHT: #000000 1px; BORDER-TOP: #000000 1px; Z-INDEX: 2; LEFT: 12px; VISIBILITY: hidden; BORDER-LEFT: #000000 1px; WIDTH: 128px; BORDER-BOTTOM: #000000 1px; POSITION: absolute; TOP: 332px; HEIGHT: 29px; BACKGROUND-COLOR: cadetblue; layer-background-color: DarkCyan">
<DIV align=center>
<CENTER>
<TABLE style="WIDTH: 178px; HEIGHT: 29px" cellSpacing=0 borderColorDark=#568ac2
cellPadding=0 width=178 bgColor=#568ac2 borderColorLight=#ffffff background=""
border=1>
<TR>
<TD width="100%">
<P class=cn align=center><A onclick="MFXrunMenu(4,5);return false;"
href="managerTry1.htm"><FONT color=#ffff00>试卷生成
</FONT></A></P></TD></TR></TABLE></CENTER></DIV></DIV>
<DIV id=MFX5
style="BORDER-RIGHT: #000000 1px; BORDER-TOP: #000000 1px; Z-INDEX: 1; LEFT: 14px; VISIBILITY: hidden; BORDER-LEFT: #000000 1px; WIDTH: 177px; BORDER-BOTTOM: #000000 1px; POSITION: absolute; TOP: 376px; HEIGHT: 51px; BACKGROUND-COLOR: #b0c4de; layer-background-color: yellow">
<DIV align=center>
<CENTER>
<TABLE style="WIDTH: 178px; HEIGHT: 51px" cellSpacing=0 borderColorDark=#ffffff
cellPadding=0 width=178 borderColorLight=#ff0000 border=1>
<TR>
<TD width="100%">
<P align=center><A href="mandomain.asp"><FONT size=2>手动生成
</FONT></A></P></TD></TR>
<TR>
<TD width="100%">
<P align=center><A href="autodomain.asp"><FONT size=2>自动生成
</FONT></A></P></TD></TR></TABLE></CENTER></DIV></DIV><%
end if
%>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -