user_zl.asp
来自「吻宇考试管理系统源码 吻宇考试管理系统源码」· ASP 代码 · 共 65 行
ASP
65 行
<!--#include file="conn.asp"-->
<%
dim wyrs,wysql
zkz=trim(request.querystring("zkz"))
set wyrs=server.CreateObject("adodb.recordset")
wysql="select * from user where zkz='"&zkz&"'"
wyrs.open wysql,conn,1,1
if wyrs.eof then
response.write"没有该考生的资料"
else%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=wyrs("name")%>---的资料</title>
<style type="text/css">
<!--
body {
background-color: #EFF8FE;
}
body,td,th {
font-size: 12px;
}
-->
</style>
</head>
<body>
<table width="359" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#d2ebff" class="Xsmall">
<tr bgcolor="#FFFFFF">
<td height="14" colspan="5"><div align="center"><font size="2">欢迎查阅<font color="#6699FF"><%=wyrs("name")%></font>同学的详细资料</font></div></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="105" height="21" > <div align="center"></div>
<div align="center"></div>
<div align="center"></div>
<div align="center"></div>
<div align="right">考生准考证:</div></td>
<td width="243" ><div align="center"><%=wyrs("zkz")%></div></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="11" ><div align="right">考生的姓名:</div></td>
<td height="11" ><div align="center"><%=wyrs("name")%></div></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="22" ><div align="right">考生所在的学校:</div></td>
<td height="22" ><div align="center"><%=wyrs("school")%></div></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="22" ><div align="right">考生所在的班级:</div></td>
<td height="22" ><div align="center"><%=wyrs("class")%></div></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="22" ><div align="right">考生的简介:</div></td>
<td height="22" ><div align="center"><%=wyrs("jianjie")%></div></td>
</tr>
</table>
</body>
</html>
<%
end if
wyrs.close
set wyrs=nothing
set conn=nothing
%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?