📄 admin_find_result.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="top.asp"-->
<html>
<link rel="stylesheet" href="style.css">
<div align=center>
<%
if Session("user")="" then
Response.Write("对不起,您没有权限查看此页,请")
%>
<a href="admin_login.asp">登录</a>
<%
Response.Write("后查看")
%>
<p>
<!--#include file="down.asp"-->
<%
Response.End
end if
%>
</div>
<%
find_username=Trim(Request("find_username"))
find_usernum=Trim(Request("find_usernum"))
%>
<%
fs="Select * from info where xsxh='"+find_usernum+"'"
Set rs=Server.CreateObject("Adodb.Recordset")
rs.open fs,conn,1,1
%>
<%
if find_usernum=rs("xsxh") or find_username=rs("xsxm") then
%>
<table border=1 cellspacing=0 align=center>
<form method=post action="chg_password.asp">
<tr>
<td align=right>姓名:</td>
<td align=left><%=rs("xsxm")%> </td>
</tr>
<tr>
<td align=right>学号:</td>
<td align=left><%=rs("xsxh")%> </td>
</tr>
<tr>
<td align=right>专业:</td>
<td align=left><%=rs("xszy")%> </td>
</tr>
<tr>
<td align=right>密码:</td>
<td align=left><input type=password name=chg_password size="20"></td>
</tr>
<tr>
<td align=center colspan=2><input type=submit value=修改></td>
</tr>
</form>
<%Session("ch_num")=rs("xsxh")%>
</table>
<%end if%>
<%
rs.close
set rs=nothing
%>
<!--#include file="down.asp"-->
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -