📄 changeteacherpsw.asp
字号:
<!-- #include file="utility/checkAdmin.asp" -->
<%
'****************************************
'目的: 修改教师密码表单
'开始时间: 2005-6-2 20:27
'最后修改时间: 2005-6-2 20:28
'编写人: 某某某
'****************************************
dim teacherID
dim teacherName
dim sql
dim rs
teacherID = Request.QueryString("teaID")
if(teacherID = "") then
Alert("参数丢失,拒绝操作!")
GoBack()
Response.End
end if
sql = "select tName from teacher where ID = " & teacherID
set rs = ExecuteQuery(sql)
if(rs.EOF) then
Alert("没有这个编号的教师,拒绝操作!")
GoBack()
Response.end
else
teacherName = rs(0)
rs.close()
set rs = nothing
end if
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>已发信息列表</title>
<link rel="stylesheet" type="text/css" href="images/link.css">
</head>
<body>
<div align="center">
<table border="1" width="700" id="table2" cellspacing="0" cellpadding="0" style="border-collapse: collapse" height="22">
<tr>
<td> 当前操作: 修改教师密码</td>
</tr>
</table>
<br>
<table border="1" width="700" id="table1" cellspacing="0" cellpadding="0" style="border-collapse: collapse" height="110" bordercolor="#CCCCCC">
<form action=manageTeacher.asp?actionType=changePsw&teaID=<%=teacherID%> method=post>
<tr>
<td width="85" height="28" align="right">教师编号:</td>
<td height="28"> <%=teacherID%></td>
</tr>
<tr>
<td width="85" align="right" height="28">教师姓名:</td>
<td height="28"> <%=teacherName%></td>
</tr>
<tr>
<td width="85" align="right" height="28">新密码:</td>
<td height="28"> <input type="password" name="teaPassword" size="20" class="inputText" ></td>
</tr>
<tr>
<td width="85" align="right" height="29">确认新密码:</td>
<td height="29">
<input type="password" name="teaPasswordChk" size="20" class="inputText"></td>
</tr>
<tr>
<td width="85" align="right" height="29"> </td>
<td height="29"> <input type="submit" value="确认修改" name="OK" class="anniu" >
<input type="reset" name="cancel" value="重新填写" class="anniu" ></td>
</tr>
</form>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -