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

📄 cpass.asp

📁 多用户个人主页系统(ASP)
💻 ASP
字号:
<%
response.buffer=true
response.expires=0
num=request.querystring("num")
username=request.querystring("username")
if session("xichen_num")<>num or session("xichen_username")<>username or session("xichen_num")="" or session("xichen_username")="" then
%>
<script>alert('您的操作非法,已被系统记录!');location.href='index.asp'</script>       
<%
end if
%>
<HTML>
<HEAD>
<TITLE>更改密码</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<link href="images/css2.css" rel="stylesheet" type="text/css">
</HEAD>
<Script Language = "JavaScript">
<!--
	function validate()
	{
		
		if(document.cpass.opassword.value == "")
		{
			alert("旧密码不能为空!")
			return false
		}

		if(document.cpass.npassword.value == "")
		{
			alert("新密码不能为空!")
			return false
		}
	        if(document.cpass.rpassword.value =="")
		{
			alert("重复密码不能为空!")
			return false
		}

	}
-->
</script>
<BODY bgColor=#ffffff background="images/06.jpg">
  <table width="300" border="0" cellspacing="0" cellpadding="5" align="center">
    <form method="post" action="cpass1.asp?num=<%=num%>&username=<%=username%>&path=\<%=username%>" name="cpass">
      <tr> 
        <td colspan="2"><strong>修改密码</strong></td>
      </tr>
      <tr> 
        <td colspan="2">旧 密 码: 
          <input type="password" name="opassword" maxlength="18"> </td>
      </tr>
      <tr> 
        <td colspan="2">新 密 码: 
          <input type="password" name="npassword" maxlength="18"> </td>
      </tr>
      <tr> 
        <td colspan="2">重复密码: 
          <input type="password" name="rpassword" maxlength="18"></td>
      </tr>
      <tr> 
        <td> <div align="right"> 
            <input type="submit" name="Submit" value="确定" class="input1" onClick = "return validate()">
          </div></td>
        <td><input type="reset" name="Submit2" value="取消" class="input1" onClick = "return validate()"></td>
      </tr>
    </form>
  </table>
</BODY></HTML>

⌨️ 快捷键说明

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