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

📄 changepwd.asp

📁 一个赌大小的游戏
💻 ASP
字号:
<%@ language="vbscript"%>
<%response.Expires = 0%>
<!--#include file="conn.asp"-->
<!--#include file="md5.asp"-->
<%
Call Remote()
if request.QueryString("action")="modify" then
	pwd0=request.Form("pwd0")
	pwd1=request.Form("pwd1")
	pwd2=request.Form("pwd2")
	if pwd0="" or pwd1="" or pwd2="" then
		Call ShowError("请将资料填写完整!")
	end if
	set temp=conn.execute("select * from [VodAdmin] where username='"&session("rainvodthief")&"'")
	if md5(pwd0)<>temp("password") then
		Call ShowError("旧密码输入不正确!")
	end if
	if pwd1<>pwd2 then
		Call ShowError("新密码两次输入不相同,请重新输入!")
	else
		conn.execute("update [VodAdmin] set password='"&md5(pwd1)&"' where username='"&session("rainvodthief")&"'")
		Call ShowErrorTo("修改成功!","Step1.asp")
	end if
end if
%>
<html>
<head>
<title>雨点赌大小游戏</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css.css" rel="stylesheet" type="text/css">
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!--#include file="top.asp"-->
<form name="form1" method="post" action="ChangePwd.asp?action=modify">
  <table width="90%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="B8DE93">
    <tr bgcolor="#5CB42E"> 
      <td height="24" colspan="2"><div align="center"> 
          <p align="center"><strong><font color="#FFFFFF">修 改 密 码</font></strong></p>
        </div></td>
    </tr>
    <tr bgcolor="#EBF5E0"> 
      <td height="24"><div align="right">旧密码:</div></td>
      <td><input name="pwd0" type="password" class="input" id="username2"> </td>
    </tr>
    <tr bgcolor="#EBF5E0"> 
      <td width="41%" height="24"><div align="right">新密码:</div></td>
      <td width="59%"><input name="pwd1" type="password" class="input" id="username2"> 
      </td>
    </tr>
    <tr bgcolor="#EBF5E0"> 
      <td height="24" bgcolor="#EBF5E0"><div align="right">确认密码:</div></td>
      <td><input name="pwd2" type="password" class="input" id="pwd2" maxlength="20"> 
      </td>
    </tr>
    <tr bgcolor="#EBF5E0"> 
      <td height="30" colspan="2"><div align="center"> 
          <input name="Submit" type="submit" class="button" value="修改">
        </div></td>
    </tr>
  </table>
</form>
<!--#include file="bottom.asp"-->
</body>
</html>

⌨️ 快捷键说明

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