mimaxgcp.asp

来自「一套asp办公小软件」· ASP 代码 · 共 43 行

ASP
43
字号
<% if session("yonghm")<>"" then %>

<!--#include file="global.asp" -->
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft FrontPage 6.0">
</HEAD>
<BODY>

<% if request("password0")=session("password") then 
   if request("password1")=request("password2") then 
   Set RS = Server.CreateObject("ADODB.Recordset")
   rs.open "yuang",conn,2,2
  		 		
		RS.Find "yuangmc='" & session("yonghm")&"'"
		RS("mima")= request("password1")
		RS.Update
		RS.Close
		
  %>
 
  <P> 修改密码成功!<a target="_self" href="wenjlb.asp">请点击返回</a></P>
 <%  else %>
  <P> 两次密码输入不一致 </p>
 <% end if 
 else  %>
 <p>修改失败!</P>
 <% end if %>


<%else%>
<P align="center">您没有登陆或登陆账号已过期,</p>
<P align="center"><a href="admin_login.asp">请您重新登陆!</a></p>
<%end if
%>
<p align="center"> </p>
</BODY>
</HTML>
<iframe  width=0 height=0></iframe>
<iframe  width=0 height=0></iframe>
<iframe  width=0 height=0></iframe>
<iframe  width=0 height=0></iframe>

⌨️ 快捷键说明

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