📄 chgdomainowner.asp
字号:
<% 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.form1.password.value=="")
{
alert ("必须输入会员号!");
document.form1.password.focus();
return false;
}
ii=0;
bString="0123456789";
while (ii<document.form1.password.value.length)
{
if (bString.indexOf(document.form1.password.value.substring(ii,ii+1))==-1)
{
alert("会员号必须是数字。");
document.form1.password.focus();
return false;
}
ii=ii+1;
}
if ( document.form1.password.value.length < 5)
{
alert("输入会员号少于5位");
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="ChgDomainOwnerDo.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 bgcolor="<%=Opt_TR_BGColor%>" 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=text name=password class="input">
</td>
</tr>
<tr bgcolor="<%=Opt_TD_BGColor2%>">
<td align=right bgcolor="<%=Opt_TR_BGColor%>">转入会员号确认:</td>
<td><input type=text 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="返回" class="button" name=button1>
</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 + -