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

📄 site.asp

📁 蓝芒3.0A最新所有功能完整破解版
💻 ASP
字号:
<% ModuleCode="M0910" %>
<!--#include file="../../../Include/Reference.asp"-->
<%
Call PrintPageHead
%>
<!--#include file="../domain_reg_class.asp"-->
<!--#include file="../../../Include/GetSysParam.asp"-->
<%
strSQL="Select a.*,b.DomainName from v_ProdInfo a, T_DNS_CurBuy b where a.ProdCode=b.ProdCode and b.PID='" & session("P_ID") & "' and a.ProdStat<>'3'"
Set Rs= Server.CreateObject("ADODB.Recordset")
Rs.open strSQL,Cn,1,1
If Rs.Eof Then
	Response.Write "<br><br><br><br><p align='center'>无法购买该产品</p>"
	Rs.Close
	Cn.Close
	Call PrintPageBottom
	Response.End
end if

%>
<script language="javascript">
<!--
	function shopcheck()
	{
		if (document.form9.ftpaccount.value=="")
		{
			alert ("必须输入FTP帐号!");
			document.form9.ftpaccount.focus();
			return false;
		}
		ii=0;
     bString="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
    	 if(document.form9.ftpaccount.value.length <3 || document.form9.ftpaccount.value.length > 16)
		{
			alert("FTP帐号必须是3-16位 a-z A-Z 0-9 之间的字母和数字组合。");
			document.form9.ftpaccount.focus();
			return false;
		}
	 while (ii<document.form9.ftpaccount.value.length)
	 {

		if (bString.indexOf(document.form9.ftpaccount.value.substring(ii,ii+1))==-1)
		{
			alert("FTP帐号必须是 a-z A-Z 0-9 之间的字母和数字组合。");
			document.form9.ftpaccount.focus();
			return false;
		}
		ii=ii+1;
     }
		if (document.form9.ftppassword.value=="")
		{
			alert ("必须输入FTP密码!");
			document.form9.ftppassword.focus();
			return false;
		}
		ii=0;
     bString="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_";
	 while (ii<document.form9.ftppassword.value.length)
	 {
		if (bString.indexOf(document.form9.ftppassword.value.substring(ii,ii+1))==-1)
		{
			alert("FTP密码必须是 a-z A-Z 0-9 之间的字母和数字组合。");
			document.form9.ftppassword.focus();
			return false;
		}
		ii=ii+1;
     }
		if ( document.form9.ftppassword.value.length < 5)
		{
			alert("输入密码少于5位");
			document.form9.ftppassword.focus();
			return false;
		}
		if (document.form9.ftppassword.value != document.form9.ftppassword1.value)
		{
			alert ("FTP密码和确认不一样!");
			document.form9.ftppassword.focus();
			return false;
		}
		submitonce(form9);
		return true;
	}
-->
</script>
<form name="form9" method="post" action="BuyRe.asp" onSubmit="return shopcheck()">
<input type="hidden" name="PType" value="S">
<table align=center border=0 cellpadding="0" cellspacing="0" width="95%">
  <tr>
    <td colspan="2" class="titletext" height="30">
    <font color="<%=Opt_Font_TitleColor%>"><strong>购买<%=Rs("ProdName")%></strong></font>
    </td>
  </tr>
  <tr>
    <td colspan="2" height="1" bgcolor="#FFCC00"></td>
  </tr>
  <tr>    
    <td height="28">
      <strong>第 <font color=red><%=InStr(session("P_DSM"),"S")%></font> 步  -  定制虚拟主机</strong>
    </td>
    <td align="right">
    共 <%=Len(session("P_DSM"))%> 步
    </td>
  </tr>
  <tr>
    <td colspan="2">
      <table width="100%" height="1" border="0" cellpadding="2" cellspacing="1" bgcolor="#CCCCCC" id="AutoNumber3" align="center">
        <tr> 
          <td width="18%" height="23" bgcolor="#FFFFFF" align="right"> WEB空间:</td>
          <td height="23" bgcolor="#FFFFFF" colspan="2">&nbsp;&nbsp;<%=Rs("SiteSize")%>M</td>
        </tr>
        <tr> 
          <td width="18%" height="23" bgcolor="#FFFFFF" align="right"> 绑定域名数:</td>
          <td height="23" bgcolor="#FFFFFF" colspan="2">&nbsp;&nbsp;<%=Rs("ThiNB")%>个</td>
        </tr>
        <tr> 
          <td width="18%" height="23" bgcolor="#FFFFFF" align="right"> 最大连接数:</td>
          <td height="23" bgcolor="#FFFFFF" colspan="2">&nbsp;&nbsp;<%=Rs("MaxIIS")%>个</td>
        </tr>
        <tr> 
          <td colspan="3" height="18" bgcolor="#FFFFFF" align="right">&nbsp;</td>
        </tr>
        <tr> 
          <td width="18%" height="18" bgcolor="#FFFFFF" align="right"> FTP帐号:</td>
          <td width="32%" height="18" bgcolor="#FFFFFF">&nbsp; 
            <input name="ftpaccount" type="text" size="16" maxlength="32" class="input">
          </td>
          <td width="50%" height="18" bgcolor="#FFFFFF"> 
            <p style="margin-left: 10; margin-right: 10; margin-top: 3; margin-bottom: 3">帐号必需为<font color="#FF0000">a-z,A-Z,0-9</font>的字母或数字</p>
          </td>
        </tr>
        <tr> 
          <td width="18%" height="23" bgcolor="#FFFFFF" align="right"> FTP密码:</td>
          <td width="32%" height="23" bgcolor="#FFFFFF">&nbsp; 
            <input maxlength=16 name=ftppassword size=16 type=password class="input">
          </td>
          <td width="50%" height="23" bgcolor="#FFFFFF"> 
            <p style="margin-left: 10; margin-right: 10; margin-top: 3; margin-bottom: 3">密码要求最短<font color="#FF0000">8位</font>的字母或数字</p>
          </td>
        </tr>
        <tr> 
          <td width="18%" height="23" bgcolor="#FFFFFF" align="right"> 确认密码:</td>
          <td width="32%" height="23" bgcolor="#FFFFFF">&nbsp; 
            <input maxlength=16 name=ftppassword1 size=16 type=password class="input">
          </td>
          <td width="50%" height="23" bgcolor="#FFFFFF"> 
            <p style="margin-left: 10; margin-right: 10; margin-top: 3; margin-bottom: 3">再次输入密码</p>
          </td>
        </tr>
        <tr> 
          <td colspan="3" height="23" bgcolor="#FFFFFF" align="right">&nbsp;</td>
        </tr>
        <tr> 
          <td width="18%" height="23" bgcolor="#FFFFFF" align="right"> 绑定域名:</td>
          <td width="32%" height="23" bgcolor="#FFFFFF"> 
            <p style="margin-left: 6">
              <%
              if Rs("DomainName")="" or IsNull(Rs("DomainName")) then
              %>
              <input name=domaintop type=text size="3" maxlength=50 class="input" value="www">.<input name=domain type=text size="16" maxlength=128 class="input">
              <%
              else
              %>
              <input name="domain" type="hidden" value="<%=Rs("DomainName")%>">
              <input name=domaintop type=text size="3" maxlength=50 class="input" value="www">.<%=Rs("DomainName")%>
              <%
              end if
              %>
            </p>
          </td>
          <td width="50%" height="23" bgcolor="#FFFFFF"> 
          </td>
        </tr>
        <tr> 
          <td height="35" bgcolor="#FFFFFF" colspan="3"> 
            <div align="center"> 
              <input type="submit" name="Submit" value="确定,进入下一步" class="button">
              <input type="reset" name="bnCancel" value=" 取 消 " class="button">
            </div>
          </td>
        </tr>
      </table>
</form>
    </td>
  </tr>
</table>
<%
Rs.Close
Cn.Close
Set Rs=nothing
Set Cn=nothing
Call PrintPageBottom
%>

⌨️ 快捷键说明

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