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

📄 pwd_modi_ok.asp

📁 本房地产网站功能强大
💻 ASP
字号:
<%
'┌─  风云ASP在线  ────────────────────────┐
'│                                                                 │
'│  作者:赵振波.	http://www.fyasp.com	    				    │
'│                                                                 │
'│   Q Q:176189168  										   	    │
'│                                                                 │
'│ Email:fy96@163.com                                             │
'│                                                                 │
'│ 程序定做,系统开发,网站制作,提供高质量的网络产品、技术和服务!│
'│                                                                 │
'│                                                                 │
'└───────────────────  http://www.fyasp.com ──┘
%>
<!--#include file="../inc/conn.asp"--><!--#include file="../inc/getPartStrAndBytesLen.asp" --><%
if session("loginid")="" then
response.redirect "login.asp"
response.end
end if
%>
<%If is_house_ot_user=1 then
Response.Redirect ""&house_ot_modIfypass1&""
end if%>
<%
userid=session("loginid")
if userid="" then
response.end 
else
oldpwd=changechr(request("oldpwd"))
pwd=changechr(request("pwd"))
opendataconn
set rs=server.createobject("adodb.recordset")
sql="select * from company where userid='"&userid&"'"
rs.open sql,conn,1,1
if not rs.eof then
%>
<%  if oldpwd<>trim(rs("pwd")) then %>
       <script language="JavaScript">
        alert("对不起!您输入的旧密码不正确!")
         history.back()
        </script>
     <%else
	 conn.execute "update company set pwd='"&pwd&"' where userid='"&userid&"'"
	 %>
	 <script language="JavaScript">
        alert("您的密码已修改,请记住新密码!")
         history.back()
        </script>
		<% end if %>		
<%end if%>
<% end if %>

⌨️ 快捷键说明

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