📄 search_ach.asp
字号:
<!--#include file="conn.asp"-->
<%
if session("user")="" then
response.write "您无此权限"
response.end
end if
'------------------------------------------------------------------------------------
'该程序由杭州新世纪经贸专修学院2001计算机信息管理系应田丰开发
'本程序按浙江省学历文凭考试相关流程编写,无任何抄袭代码和盗版之嫌,大家可下载随意修改
'苦儿声明:
'本程序是老苦自己辛苦写成的,希望大家能给个面子保留著作权信息,:)
'这个是第一个版本,有些地方没有考虑到,请大家在试用后给些意见,我好继续编写改进版
'苦儿QQ:3431788 7551860
'MSN:kuer_cn@msn.com
'Email:simonying@163.com
'电话:0571-63413694
'移动电话:13083973989
'------------------------------------------------------------------------------------
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>成绩高级查询系统</title>
<link rel="stylesheet" href="style.css">
</head>
<body topmargin="0">
<!--#include file="top.asp"-->
<div align="center">
<center>
<table border="0" width="400" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"></td>
</tr>
<tr>
<td width="100%">
<form method="POST" action="search_ach_1.asp">
<table border="1" width="100%" cellspacing="0" cellpadding="5" bordercolorlight="#000000" bordercolordark="#FFFFFF">
<tr>
<td width="100%" colspan="3">按准考证、课程、考次查询</td>
</tr>
<tr>
<td width="33%" align="center">准考证号</td>
<td width="33%" align="center">课程</td>
<td width="34%" align="center">所属考次</td>
</tr>
<tr>
<td width="33%" align="center"><input type="text" name="user_testnumber" size="15"></td>
<td width="33%" align="center">
<%
set rs=server.createobject("adodb.recordset")
sql="select * from subject"
rs.open sql,conn,1,1
%>
<select size="1" name="subject">
<%do while not rs.eof%>
<option value="<%=rs("subject")%>"><%=rs("subject")%></option>
<%rs.movenext%>
<%loop%>
<%rs.close%>
</select></td>
</center>
<td width="34%" align="center">
<%
set rs1=server.createobject("adodb.recordset")
sql1="select * from testno"
rs1.open sql1,conn,1,1
%>
<p align="center"><select size="1" name="testno">
<%do while not rs1.eof%>
<option value="<%=rs1("testno")%>"><%=rs1("testno")%></option>
<%rs1.movenext%>
<%loop%>
<%rs1.close%>
</select></td>
</tr>
<tr>
<td width="100%" colspan="3" align="center">
<p align="right"><input type="submit" value="提交" name="B1"></p>
</td>
</tr>
</table>
</form>
<center>
</center>
</td>
</tr>
<tr>
<td width="100%">
<form method="POST" action="search_ach_2.asp">
<table border="1" width="100%" bordercolorlight="#000000" cellspacing="0" cellpadding="5" bordercolordark="#FFFFFF">
<tr>
<td width="100%" colspan="3">按班级、课程、考次查询</td>
</tr>
<tr>
<td width="34%" align="center">班级</td>
<td width="33%" align="center">课程</td>
<td width="33%" align="center">所属考次</td>
</tr>
<tr>
<td width="34%" align="center">
<%set rs3=server.createobject("adodb.recordset")%>
<%sql3="select * from class"%>
<%rs3.open sql3,conn,1,1%>
<%do while not rs3.eof%>
<select size="1" name="stclass">
<option value="<%=rs3("stclass")%>"><%=rs3("stclass")%></option>
<%rs3.movenext%>
<%loop%>
<%rs3.close%>
</select></td>
<td width="33%" align="center">
<select size="1" name="subject">
<%
set rs2=server.createobject("adodb.recordset")
sql2="select * from subject"
rs2.open sql2,conn,1,1
%>
<%do while not rs2.eof%>
<option value="<%=rs2("subject")%>"><%=rs2("subject")%></option>
<%rs2.movenext%>
<%loop%>
<%rs2.close%>
</select></td>
<%set rs4=server.createobject("adodb.recordset")%>
<%sql4="select * from testno"%>
<%rs4.open sql4,conn,1,1%>
<td width="33%" align="center">
<%do while not rs4.eof%>
<select size="1" name="testno">
<option value="<%=rs4("testno")%>"><%=rs4("testno")%></option>
<%rs4.movenext%>
<%loop%>
</select></td>
<%rs4.close%>
</tr>
<tr>
<td width="100%" colspan="3">
<p align="right"><input type="submit" value="提交" name="B1"></td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td width="100%">
<form method="POST" action="search_ach_3.asp">
<table border="1" width="100%" bordercolorlight="#000000" cellspacing="0" cellpadding="5" bordercolordark="#FFFFFF">
<tr>
<td width="33%" align="center">姓名</td>
<td width="33%" align="center">所属考次</td>
<td width="34%"> </td>
</tr>
<tr>
<td width="33%" align="center"><input type="text" name="user_name" size="20"></td>
<%
set rs5=server.createobject("adodb.recordset")
sql5="select * from testno"
rs5.open sql5,conn,1,1
%>
<td width="33%" align="center">
<%do while not rs5.eof%>
<select size="1" name="testno">
<option value="<%=rs5("testno")%>"><%=rs5("testno")%></option>
</select>
<%rs5.movenext%>
<%loop%>
<%rs5.close%></td>
<td width="34%"><input type="submit" value="提交" name="B1"></td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td width="100%">
<form method="POST" action="search_ach_4.asp">
<table border="1" width="100%" bordercolorlight="#000000" cellspacing="0" cellpadding="5" bordercolordark="#FFFFFF">
<tr>
<td width="33%" align="center">成绩分档</td>
<td width="33%" align="center">所属考次</td>
<td width="34%" align="center">课程</td>
</tr>
<tr>
<td width="33%" align="center">
<select size="1" name="level">
<option value="1">90分以上</option>
<option value="2">80-89分</option>
<option value="3">70-79分</option>
<option value="4">60-69分</option>
<option value="5">60分以下</option>
</select></td>
<td width="33%" align="center">
<%
set rs7=server.createobject("adodb.recordset")
sql7="select * from testno"
rs7.open sql7,conn,1,1
%>
<select size="1" name="testno">
<%do while not rs7.eof%>
<option value="<%=rs7("testno")%>"><%=rs7("testno")%></option>
<%rs7.movenext%>
<%loop%>
<%rs7.close%>
</select></td><%
set rs6=server.createobject("adodb.recordset")
sql6="select * from subject"
rs6.open sql6,conn,1,1
%>
<td width="34%" align="center"><select size="1" name="subject">
<%do while not rs6.eof%>
<option value="<%=rs6("subject")%>"><%=rs6("subject")%></option>
<%rs6.movenext%>
<%loop%>
<%rs6.close%>
</select></td>
</tr>
<tr>
<td width="100%" align="right" colspan="3"><input type="submit" value="提交" name="B1"></td>
</tr>
</table>
<p align="right"> </p>
</form>
<p> </td>
</tr>
<tr>
<td width="100%"></td>
</tr>
</table>
</div>
<!--#include file="down.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -