updatesuperadminpass.asp

来自「软件信息如下: 软件名称:郑州聚鑫打包带厂网站源代码免费版 软件版本:V」· ASP 代码 · 共 55 行

ASP
55
字号
<% myself=request.servervariables("path_info")%>
<!--#include file="../inc/conn.asp" -->
<!--#include file="checkadmin_top.asp" -->
<%if request("submit")="确认修改" then
adminpass=request("adminpass")
entpass=request("entpass")
if adminpass="" then
Response.Write("<script language=""javascript"">alert('请不要使用空密码!');location='"&myself&"';</script>")
Response.End()
else
if adminpass<>entpass then
Response.Write("<script language=""javascript"">alert('两次输入的密码不一样!');location='"&myself&"';</script>")
Response.End()
else
 CommandText="update adminuser set adminpass='"&adminpass&"'"
Conn.Execute CommandText
Response.Write("<script language=""javascript"">alert('密码修改成功!');location='"&myself&"';</script>")
Response.End()
end if
end if
end if%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../inc/test.css" type="text/css">
</head>

<body bgcolor="#FFFFFF" text="#000000">
  
<table width="80%" border="0" cellspacing="1" cellpadding="5" bgcolor="#000000">
  <form name="form1" method="post" action="">
    <tr bgcolor="#FFFFFF"> 
      <td width="30%" align="center">输入密码:</td>
      <td> 
        <input type="text" name="adminpass">
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td align="center">确认密码:</td>
      <td> 
        <input type="text" name="entpass">
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td>&nbsp;</td>
      <td> 
        <input type="submit" name="Submit" value="确认修改">
      </td>
    </tr>
	</form>
  </table>
</body>
</html>
<!--#include file="checkadmin_bottom.asp" -->

⌨️ 快捷键说明

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