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

📄 yd631_angela_mm.asp

📁 一个简单适用的产品订购系统
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="yd631_conn.asp"-->
<!--#include file="md5.asp"-->
<!--#include file="yd631_angela_session.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>密码修改//YD631_Angela_Order2.0 简易产品定单系统</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
<link href="yd631_style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
.style2 {color: #FF6600}
-->
</style>
<SCRIPT language=JavaScript>
<!-- 
function form1_onsubmit()
{
if (document.form1.yd631_mm.value=="")
    {
      alert("初始密码不能为空!")
      document.form1.yd631_mm.focus()
      return false
     }
else if(document.form1.angela_mm.value=="")
    { 
      alert("修改密码不能为空!")
      document.form1.angela_mm.focus()
      return false
     } 

}
-->
</SCRIPT>
</head>

<body>
<%if request.Form("sub")="sub" then
yd631_mm=trim(request.form("yd631_mm"))
yd631_mm=md5(yd631_mm)
angela_mm=trim(request.form("angela_mm"))
angela_mm=md5(angela_mm)
set rs=server.CreateObject("adodb.recordset")
sql="select * from yd631_angela_admin"
rs.open sql,conn,3,3
if rs("angela_password")=yd631_mm  then
rs("angela_password")=angela_mm
rs.update
response.write "<SCRIPT language=JavaScript>alert('密码修改成功!');"
	response.write "this.location.href='yd631_angela_mm.asp';</SCRIPT>"
	response.end
	else
	response.write "<SCRIPT language=JavaScript>alert('初始密码不正确!');"
	response.write "this.location.href='vbscript:history.back()';</SCRIPT>"
	response.end
	end if
	rs.close
	set rs=nothing
	end if
%>
<form name="form1" method="post" action="yd631_angela_mm.asp" onSubmit="return form1_onsubmit()"><table width="317" height="223" border="0" cellpadding="0" cellspacing="0" class="linetable">
  <tr>
    <td height="221" align="left" valign="top"><table width="100%" height="33" border="0" cellpadding="0" cellspacing="0" bgcolor="#0093D9">
        <tr>
          <td height="27" align="center"><span class="style1">产品定单系统密码修改</span></td>
        </tr>
        <tr>
          <td height="6" bgcolor="#006699"></td>
        </tr>
    </table>
      <table width="100%" height="188"  border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="32%" align="right" bgcolor="#FFFFFF"><strong>初始密码:</strong></td>
          <td width="68%"><input name="yd631_mm" type="text" id="yd631_mm" size="20"></td>
        </tr>
        <tr bgcolor="#F2F2F2">
          <td align="right"><strong>修改密码:</strong></td>
          <td><input name="angela_mm" type="text" id="angela_mm" size="20"></td>
        </tr>
        <tr>
          <td align="right">&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr align="center" bgcolor="#F2F2F2">
          <td colspan="2"><input type="submit" name="Submit" value="提交">  
            <input type="reset" name="Submit2" value="重置"> 
			<input type="hidden" name="sub" value="sub">
            </td>
          </tr>
        <tr align="center">
          <td height="22" colspan="2"><span class="style2"> YD631_Angela_Order 简易产品定单系统 </span></td>
          </tr>
      </table></td>
  </tr>
</table>
</form>
</body>
</html>

⌨️ 快捷键说明

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