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

📄 biaodan2.asp

📁 ASP的网上商城在线支付系统
💻 ASP
📖 第 1 页 / 共 3 页
字号:
<!--#include file="conn.asp"-->
<!--#include file="function.asp"-->
<!--#include file="indext.asp"-->
<%
founderr=false

if request.form("yuming")=""  then
	errmsg=errmsg+"<br>"+"<li>请输入您要绑定空间的域名"
	founderr=true
else
	yuming=trim(request.form("yuming"))
end if
if request.form("dlbtype")="-- 产品ID --" then
	errmsg=errmsg+"<br>"+"<li>请选择产品的类型。"
	founderr=true
else
	dlbtype=trim(request.form("dlbtype"))
end if
if request.form("ldtname")="" then
	errmsg=errmsg+"<br>"+"<li>公司名称输入未输入。"
	founderr=true
else
	ldtname=trim(request.form("ldtname"))
end if
if request.form("box")="" then
	errmsg=errmsg+"<br>"+"<li>你未同意服务条款。"
	founderr=true
end if


if IsValidEmail(trim(request.form("Email")))=false then
	errmsg=errmsg+"<br>"+"<li>您的Email有错误。"
	founderr=true
else
	Email=trim(request.form("Email"))
end if


if founderr=true then
	call error()
else
dlbtype=request.form("dlbtype")
yuming=request.form("yuming")
ldtname=request.form("ldtname")
relation=request.form("relation")
email=request.form("email")
add=request.form("add")
post=request.form("post")
phone=request.form("phone")
fax=request.form("fax")
username=request.form("username")
password=request.form("password")
sign=request.form("sign")
sibie=request.form("sibie")
	set rs=server.createobject("adodb.recordset")
	sql="select * from user where username='"&username&"'"
	rs.open sql,conn,1,3
	'if not rs.eof or username=WebName then
	'	errmsg="<br>"+"<li>对不起,您输入的用户名已经被注册,请重新输入。"
	'	founderr=true
	'else
		rs.addnew
		rs("dlbtype")=request("dlbtype")
		rs("yuming")=request("yuming")				
		rs("ldtname")=request("ldtname")
		rs("add")=request("add")
		rs("post")=request("post")
		rs("phone")=request("phone")		
		rs("email")=request("email")		
		rs("relation")=request("relation")
		if request("aname")<>"" then rs("aname")=request("aname")
              if request("aid")<>"" then rs("aid")=request("aid")
              if request("amail")<>"" then rs("amail")=request("amail")

		
		if request("sign")<>"" then rs("sign")=request("sign")
		if request("username")<>"" then rs("username")=request("username")
		if request("password")<>"" then rs("password")=request("password")
		if request("musername")<>"" then rs("musername")=request("musername")		
		if request("fax")<>"" then rs("fax")=request("fax")
		if request("sibie")<>"" then rs("sibie")=request("sibie")		
		if request("UserWebName")<>"" and request("UserWebUrl")<>"" then
			rs("UserWebName")=request("UserWebName")
			rs("UserWebUrl")=request("UserWebUrl")
		end if	
				
		Rs("addDate")=NOW()
		rs("logins")=0
		Rs("lastlogin")=NOW()
		rs.update
	'end if
	rs.close

	if founderr=true then
		call error()
	else
%>


<table align="center" width="770" border="0" cellspacing="0" cellpadding="0" >
  <tr> 
    <td bgcolor="#000000" width="1"></td>
    <td bgcolor="#FFFFFF"> 
	      <!--#include file="indexl-.asp"-->
    </td>
    <td width="3" background="image/3pic.gif" valign="top"><img src="image/3pic.gif" width="3" ></td>
    <td width="593" valign="top"> 
      <table width="593" border="0" cellspacing="0" cellpadding="0">
         <tr> 
           <td valign="top"> 


                    <table width="100%" border="0" cellspacing="1" cellpadding="3">
                      <tr>
                        <td><b class="f13"><span class="bd">订购流程</span></b><span class="bd">:</span><br>
                          <span class="nei1">①填写表单:<br>
                          ②汇款并传真到:0592-5289285-8004 (请在传真上注明您要购买产品的 <font color="#FF0000" face="Arial, Helvetica, sans-serif"><b>ID</b></font> 
                          号)和你的姓名、及域名,您也可以<a href="#1"><font color="#FF0000">在线支付</font></a><br>
                          ③本公司确认(请记住您是在域名<b><font face="Arial, Helvetica, sans-serif" color="#FF0000">NicChina.com</font></b>提交的信息)</span></td>
                      </tr>
                    </table>
                    <table width="100%" border="0">
                      <tr> 
                        <td> 
                          <div align="center"><font color="#FF6600"><b>感谢您的申请,以下是您提交的信息:</b></font></div>
                        </td>
                      </tr>
                      <tr> 
                        <td> 
                          <div align="center" class="TableLine"><font color="#FF6600" size="3"><b> 
                            </b></font></div>
                        </td>
                      </tr>
                      <tr> 
                        <td> 
                          <table width="100%" border="0" cellspacing="1" cellpadding="2" bordercolor="#7EAABE">
                            <tr> 
                              <td align=right width="45%"> 
                                <div align="left">域名:</div>
                              </td>
                              <td width="55%"><%=yuming%></td>
                            </tr>
                            <tr> 
                              <td align=right width="45%"> 
                                <div align="left">主机类型: </div>
                              </td>
                              <td width="55%"><%=dlbtype%></td>
                            </tr>
                            <tr> 
                              <td  align=right width="45%"> 
                                <div align="left">公司名称(个人注册填写姓名即可):中文</div>
                              </td>
                              <td width="55%"><%=ldtname%></td>
                            </tr>
                            <tr> 
                              <td  align=right width="45%"> 
                                <div align="left">公司名称(个人注册填写姓名即可):英文<font color="#FFFFFF"></font></div>
                              </td>
                              <td width="55%"><%=add%></td>
                            </tr>
                            <tr> 
                              <td align=right width="45%"> 
                                <div align="left">Email地址:</div>
                              </td>
                              <td width="55%"><%=email%></td>
                            </tr>
                            <tr> 
                              <td  align=right width="45%"> 
                                <div align="left">联系人姓名:英文</div>
                              </td>
                              <td width="55%"><%=post%></td>
                            </tr>
                            <tr> 
                              <td  align=right width="45%"> 
                                <div align="left">联系人姓名:中文</div>
                              </td>
                              <td width="55%"><%=relation%></td>
                            </tr>
                            <tr> 
                              <td align=right width="45%"> 
                                <div align="left">电话:</div>
                              </td>
                              <td width="55%"><%=phone%></td>
                            </tr>
                            <tr> 
                              <td align=right width="45%"> 
                                <div align="left">传真:</div>
                              </td>
                              <td width="55%"> 
                                <%if request.form("fax")="" then%>
                                没有 
                                <%else%>
                                <%=request.form("fax")%> 
                                <%end if%>
                              </td>
                            </tr>
                            <tr> 
                              <td align=right width="45%"> 
                                <div align="left">公司地址:英文 </div>
                              </td>
                              <td width="55%"><%=username%> </td>
                            </tr>
                            <tr> 
                              <td align=right width="45%"> 
                                <div align="left">公司地址:中文 </div>
                              </td>
                              <td width="55%"><%=password%> </td>
                            </tr>
                            <tr> 
                              <td align=right width="45%"> 
                                <div align="left">代理商姓名:</div>
                              </td>
                              <td width="55%"><%=request("aname")%> </td>
                            </tr>

⌨️ 快捷键说明

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