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

📄 searchzj.asp

📁 源代码竟供大家参考
💻 ASP
字号:
<!--
=========================================================
超e工作室(http://www.chaoe.com)
用专业的心,做专业的事。。。
==========================================================
本系统是超e工作室专门为黑龙江广厦学院开发的高考录取程序,没有参照任何脚本,盗用必追究其法律责任。
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
作者:徐佳
QQ:95973
邮件:jia@chaoe.com
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-->
<!--#include file="conn.asp"-->
<html>
<head><%keywords=request.form("keywords")%>
<title>查找准考证号为<%=keywords%>考生的资料</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="CCS/Style.css" rel="stylesheet" type="text/css">
</head>

<body>
<%
 set rs=server.createobject("adodb.recordset")
 sql="select * from studentinfo where zjnumber='"&keywords&"'"
 rs.open sql,conn,1,1
 if not rs.eof or not rs.bof then
 %>
<table width="537" height="157" border="1" align="center" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#E1E1E1">
  <tr> 
    <td height="24" colspan="2" class="tl150"><strong><font color="#FF0000">[考生信息]</font></strong></td>
  </tr>
  <tr> 
    <td width="144" height="28" class="tl150">考生姓名:</td>
    <td width="380" class="tl150"><%=rs("studentname")%></td>
  </tr>
  <tr> 
    <td height="48" class="tl150">所录取专业及时间:</td>
    <td class="tl150"> 
      <%sqlr="select * from bookinfo where studentid=" & cstr(rs("id"))
	      set rsbook=conn.execute(sqlr)
		  do while not rsbook.eof 
		  %>
      <font color="#FF0000"> 专业类别:</font><%=rsbook("bookclass")%> <font color="#FF0000">录取时间:</font><%=year(rsbook("getbookdate"))&"年"&month(rsbook("getbookdate"))&"月"&day(rsbook("getbookdate"))&"日"%><BR> <%rsbook.movenext
		  loop
		  rsbook.close
		  %> </td>
  </tr>
  <tr align="center"> 
    <td height="21" colspan="2"><a href="javascript:window.self.close()">关闭窗口</a></td>
  </tr>
</table>
<%
else
%>
<table width="544" border="1" align="center" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF" bgcolor="e1e1e1">
  <tr> 
    <td class="tl150"><font color="#FF0000"><strong>[出错信息]</strong></font></td>
  </tr>
  <tr> 
    <td height="40" class="tl150">没有准考证号为:<font color="#FF0000"><strong> <%=keywords%> 
      </strong></font> 的考生录取资料 请点 <a href="javascript:window.self.close()">关闭窗口</a> 
    </td>
  </tr>
</table>
<%
end if
%>
<%closeconn%>
</body>
</html>

⌨️ 快捷键说明

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