📄 checklogin.asp
字号:
<%
response.buffer=true
Response.Expires=0
xh=request("xh")
mm=request("mm")
Set conn = Server.CreateObject("ADODB.Connection")
conn.Open "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("class_cj.mdb")
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from user where xh='"&xh&"' and mm='"&mm&"'"
rs.open sql,conn,3,3
if rs.eof then
response.write("<table width=300 border=0 cellspacing=0 cellpadding=0 align=center>")
response.write("<a href=vbscript:history.back()>回去重来</a>")
response.write("</table>")
response.end
else %>
<title>25175学生成绩管理系统v1.31</title>
<link href="20041026_25175_stry_css.css" rel="stylesheet" type="text/css">
<body>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="30" bgcolor="#999999"><div align="center" class="unnamed3write">25175学生成绩管理系统v1.31</div></td>
</tr>
</table>
<table width="768" height="25" align="center" cellpadding="0" cellspacing="0" class="unnamed_rld2">
<tr bgcolor="#EEEEEE">
<td width="100" height="25" align="center"><a href="index.asp">首页</a></td>
<td width="100" align="center"><a href="add.asp">添加单个成绩</a></td>
<td width="100" align="center"><a href="adds.asp">批量添加成绩</a></td>
<td width="100" align="center" bgcolor="#EEEEEE"><a href="res.asp">按学号查询</a></td>
<td width="100" align="center"><a href="res1.asp">按班级查询</a></td>
<td width="100" align="center"><font color="#0000CC" size="2"><a href="admin.asp">管理页面</a></font></td>
<td width="100" align="center"><a href="logout.ASP">退出</a></td>
</tr>
</table>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="25">您的身份已经确认[学号:<%=xh%>]</td>
</tr>
<tr>
<td>
<form action="look.asp" method="post" name="form1" >
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="25" nowrap>
<div align="center">查询成绩:</div>
</td>
<td width="200" height="25">
<input type="hidden" name="xh" value="<%=request("xh")%>">
<input name="submit" type="submit" value="确定"></td>
</tr>
</table>
</form> </td>
</tr>
</table>
<%
end if
%>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="30" bgcolor="#999999"><div align="center" class="unnamed3write"><a href="http://www.25175.com" class="unnamed3write">powered by 25175.com</a></div></td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -