modidomainpass.asp
来自「蓝芒3.0A最新所有功能完整破解版」· ASP 代码 · 共 95 行
ASP
95 行
<% ModuleCode="M0310" %>
<!--#include file="../../Include/Reference.asp"-->
<%
Call PrintPageHead
DNID=Request.QueryString("ID")
%>
<!--#include file="../../Include/connect.asp"-->
<%
strSQL="Select * from v_DomainList Where DNID='" & DNID & "'"
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="DomainMenu.asp"-->
<!------------------------------------------------------------------------------------->
<script language="javascript">
<!--
function shopcheck()
{
if (document.form9.password.value=="")
{
alert ("必须输入密码!");
document.form9.password.focus();
return false;
}
ii=0;
bString="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
while (ii<document.form9.password.value.length)
{
if (bString.indexOf(document.form9.password.value.substring(ii,ii+1))==-1)
{
alert("密码必须是 a-z A-Z 0-9 之间的字母和数字组合。");
document.form9.password.focus();
return false;
}
ii=ii+1;
}
if ( document.form9.password.value.length < 8)
{
alert("输入密码少于8位");
document.form9.password.focus();
return false;
}
if (document.form9.password.value != document.form9.password2.value)
{
alert ("密码和确认不一样!");
document.form9.password.focus();
return false;
}
return true;
}
-->
</script>
<form name="form9" action="ModiDomainPassDo.asp" method="post" onSubmit="return shopcheck()">
<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>
请输入新密码--<font color=red><%=Rs("DomainName")%></font>
</td>
</tr>
<tr bgcolor="<%=Opt_TD_BGColor2%>">
<td align=right bgcolor="<%=Opt_TR_BGColor%>">新 密 码:</td>
<td><input type=password name=password class="input">
<font color=red>密码不少于8位</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="<%=DNID%>">
<input name="submit1" type=submit value="确定" class="button">
<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 + =
减小字号Ctrl + -
显示快捷键?