<!--#include file="conn.asp"-->
<% Response.Buffer = true%>
<html>
<head>
<title>密码修改</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK
href="images/css.css" type=text/css rel=stylesheet>
</HEAD>
<script language="JavaScript" type="text/JavaScript">
<!--
<!--#include file="top.asp"-->
</head>
<BODY bgColor=#f0f0f0 leftMargin=0 topMargin=0 MARGINWIDTH="0" MARGINHEIGHT="0">
<%
id=SafeRequest("name",0)
UserType=SafeRequest("UserType",0)
if
UserType="student" then
sql="select * from 学生表_student where xuehao='"&ID&"'"
else
if UserType="student" then
sql="select * from 学生表_studentwhere id='"&rename&"'"
else
sql="select * from 学生表_student where 5=6"
end if
response.end
end if
set rs=conn.execute(sql)
%>
<table width="785" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="center" valign="top"><form name="formReg" method="post" action="password_xg_save.asp" onSubmit="return chkform1(formReg)">
<INPUT TYPE="hidden" name="userid" value="<%=rs("ID")%>">
<INPUT TYPE="hidden" name="UserType" value="<%=UserType%>">
<table width="98%" border="0" cellpadding="0" cellspacing="0" bgcolor="#99cc00">
<tr>
<td align="center" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="4">
<tr align="center" background="images/title_cell.gif">
<td colspan="2" background="images/title_cell.gif" bgcolor="#78F2FC">
<strong><%=rs("rename")%>
<%=rs("xuehao")%> 的 密 码 修 改</strong></td>
</tr>
<!--<tr bgcolor="#ffffff">
<td align="right">请输入原有密码:</td>
<td><input type="password" name="orgpasswd"></td>
</tr>-->
<tr bgcolor="#ffffff">
<td align="right" bgcolor="#ffffff">请输入新的密码:</td>
<td><input type="password" name="newpasswd"></td>
</tr>
<tr bgcolor="#ffffff">
<td align="right">请再次确认新密码:</td>
<td><input type="password" name="renewpasswd"></td>
</tr>
<tr align="center" bgcolor="#ffffff">
<td colspan="2"><input type="submit" name="Submit" value="确 定 提 交">
<input type="button" onClick="history.back();" value="放 弃 返 回">
<input type="reset" name="Submit3" value="重 新 填 写"></td>
</tr>
</table></td>
</tr>
</table>
</form> </td>
</tr>
</table>
</body>
</html>