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

📄 modiuserpass.asp

📁 蓝芒3.0A最新所有功能完整破解版
💻 ASP
字号:
<% ModuleCode="M0510" %>
<!--#include file="../../Include/Reference.asp"-->
<%
Call PrintPageHead
PostID=Request.QueryString("ID")
MailUser=Request.QueryString("UID")
%>
<!--#include file="../../Include/connect.asp"-->
<%
strSQL="Select * from v_MailList Where PostID='" & PostID & "'"
if Session("ISADMIN")<>"YES" then
	strSQL = strSQL & " and UserID=" & Session("UserID")
end if

Set Rs= Server.CreateObject("ADODB.Recordset")
Rs.open strSQL,Cn,1,1
If Rs.Eof Then
	Response.Write "<br><br><P align='center' class='titletext'>对不起, 找不到此邮局或者您没有权限!</p>"
else

%>
<!--#include file="MailMenu.asp"-->
<!------------------------------------------------------------------------------------->
<script language="javascript">
<!--
	function shopcheck()
	{
		if (document.form1.password.value=="")
		{
			alert ("必须输入密码!");
			document.form1.password.focus();
			return false;
		}
		ii=0;
     bString="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
	 while (ii<document.form1.password.value.length)
	 {
		if (bString.indexOf(document.form1.password.value.substring(ii,ii+1))==-1)
		{
			alert("密码必须是 a-z A-Z 0-9 之间的字母和数字组合。");
			document.form1.password.focus();
			return false;
		}
		ii=ii+1;
	}
		if ( document.form1.password.value.length < 6)
		{
			alert("输入密码少于6位");
			document.form1.password.focus();
			return false;
		}
		if (document.form1.password.value != document.form1.password2.value)
		{
			alert ("密码和确认不一样!");
			document.form1.password.focus();
			return false;
		}
		return true;
	}
-->
</script>
<form name="form1" action="ModiUserPassDo.asp" method="post" onSubmit="return shopcheck()">
<input type="hidden" name="UID" value="<%=MailUser%>">
  <table width="60%" border="0" cellspacing="1" cellpadding="5" align="center" bgcolor="<%=Opt_Table_BGColor%>">
	<tr bgcolor="<%=Opt_TR_BGColor%>">
	  <td colspan=2 align=center>
	    请输入用户<%=MailUser%>新密码--<font color=red>mail.<%=Rs("BPostDN")%></font>
	  </td>
	</tr>		
	<tr bgcolor="<%=Opt_TD_BGColor2%>">
	  <td align=right bgcolor="<%=Opt_TR_BGColor%>">新&nbsp;&nbsp;密&nbsp;&nbsp;码:</td>
	  <td><input type=password name=password class="input">&nbsp;&nbsp;&nbsp;
	    <font color=red>密码不少于6位</font>
	  </td>
	</tr>
	<tr bgcolor="<%=Opt_TD_BGColor2%>">
	  <td align=right bgcolor="<%=Opt_TR_BGColor%>">新密码确认:</td>
	  <td><input type=password name=password2 class="input"></td>
	</tr>
	<tr>
	  <td colspan=2 bgcolor="<%=Opt_TD_BGColor2%>" align=center>
	    <input name="ID" type="hidden" value="<%=PostID%>">
	    <input name="submit1" type=submit value="确定" class="button">&nbsp;&nbsp;&nbsp;&nbsp;
	    <input type=button onclick="javascript:history.go(-1)" value="返回" name=button1 class="button">
	  </td>
	</tr>
  </table>
</form>   

<%
end if

Rs.Close
Set Rs=Nothing
Cn.Close
Set Cn=Nothing
Call PrintPageBottom
%>

⌨️ 快捷键说明

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