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

📄 wnp_user_edit_my.asp

📁 U盘身份识别软件
💻 ASP
字号:
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!--#include file="WNP_INCLUDE.ASP" -->
<%
pagename="WNP_USER_EDIT.ASP"
%>
<script language="javascript">
function checkValue(){
  if(form2.user_pwd_old.value.length<6){
    alert("请正确填写!");
	form2.user_pwd_old.focus;
	return false;
  }
  if(form2.user_pwd_new.value.length<6){
    alert("新密码不能小于6位!");
	form2.user_pwd_new.focus;
	return false;
  }
}
</script>
<table width="760" height="20" border="0" align="center" cellpadding="0" cellspacing="0" class="textmost">
  <form name="search" method="post" action="<%=pagename%>">
    <tr valign="bottom">
      <td height="15" colspan="6" align="center">&nbsp;</td>
    <tr valign="bottom" bgColor=#fdfaf4 borderColorDark=#ffffff border=1>
      <td width="85" height="20" align="center">查询:</td>
      <td width="183"><input name="key1" type="text" id="key1"></td>
      <td colspan="4" align="left" bgcolor="#fdfaf4"><input type="image" src="IMAGES/search.jpg"></td>
    <tr valign="bottom">
      <td height="15" colspan="6" align="center">&nbsp;</td>
  </form>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30" align="center" class="title1">当前用户密码修改</td>
  </tr>
</table>
<table width="760" height="400" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top">
      <table bgColor=#fdfaf4 borderColorDark=#ffffff border=1 cellspacing=0 cellpadding=0 align=center width=760  bordercolorlight=#999999 class=textmost>
        <tr align="center"  valign="bottom" class="texttitle">
          <td height="30">用户名</td>
          <td>输入原密码</td>
          <td>输入新密码</td>
          <td>提交</td>
        </tr>
<%
if session("USERID")="" then
response.Redirect "WNP_LOGIN.ASP"
end if
%>
<%
'用户列表函数
sql="select * from WNT_USER where WND_USER_ID="&session("USERID")
rs.open sql,conn,1,1
if  Err then
    response.Redirect "WNP_ERROR.ASP"
end if
%>
<%
if not rs.eof then
%>
   <form name="form2" method="post" action="WNP_USER_EDIT_My_Save.ASP?userid=<%=rs("WND_USER_ID")%>" onSubmit="return checkValue();">
        <tr align="center" valign="bottom">
          <td height="20" align="center"><%=rs("WND_USER_USERNAME")%></td>
          <td align="center"><input name="user_pwd_old" type="password" class="textInput1" id="user_pwd_old" size="16" maxlength="16"></td>
          <td align="center"><input name="user_pwd_new" type="password" class="textInput1" id="user_pwd_new" size="16" maxlength="16"></td>
          <td align="center"><input name="Submit" type="submit" class="newSubmit" value="提 交"></td>
        </tr>
		</form>
		<%
		end if
		rs.close
		%>
      </table>
	</td>
  </tr>
</table>
</body>
</html>
<%
call closedb
%>

⌨️ 快捷键说明

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