<STYLE type=text/css>
BODY {
	FONT-SIZE: 12px; COLOR: #000; FONT-FAMILY: 宋体
}
TD {
	FONT-SIZE: 12px; COLOR: #000; FONT-FAMILY: 宋体
}
A.top {
	FONT-SIZE: 12px; COLOR: #ffffff
}
A:link {
	COLOR: #039
}
A:visited {
	COLOR: #909
}
A:hover {
	COLOR: #f60
}
.RD {
	FONT: bold 14px 宋体; COLOR: #900000
}
.YL {
	FONT: bold 12px 宋体; COLOR: #ff0
}
.GR {
	FONT-SIZE: 14px; COLOR: #999
}
.WH {
	FONT: bold 14px 宋体; COLOR: #fff
}
.WH:link {
	FONT: bold 14px 宋体; COLOR: #fff
}
.WH:visited {
	FONT: bold 14px 宋体; COLOR: #fff
}
.WH:hover {
	FONT: bold 14px 宋体; COLOR: #f60
}
.WHS {
	FONT: 12px 宋体; COLOR: #fff
}
.WHS:link {
	FONT: 12px 宋体; COLOR: #fff
}
.WHS:visited {
	FONT: 12px 宋体; COLOR: #fff
}
.WHS:hover {
	FONT: 12px 宋体; COLOR: #f60
}
.YLM {
	FONT: bold 14px 宋体; COLOR: #ff0
}
.BUY {
	FONT: bold 14px 宋体; COLOR: #fc9603
}
.SELL {
	FONT: bold 14px 宋体; COLOR: #00cc00
}
.COOP {
	FONT: bold 14px 宋体; COLOR: #851b91
}
.AGENT {
	FONT: bold 14px 宋体; COLOR: #cc00ff
}
.ERROR {
	FONT: bold 14px 宋体; COLOR: #f00
}
.NO {
	FONT-SIZE: 12px; COLOR: #900000
}
.STAR {
	FONT-SIZE: 12px; COLOR: #f00
}
.X {
	FONT-WEIGHT: bold; FONT-SIZE: 24px
}
.L {
	FONT-WEIGHT: bold; FONT-SIZE: 16px
}
.M {
	FONT: bold 14px 宋体
}
.C {
	FONT-SIZE: 14px
}
.S {
	FONT-SIZE: 12px
}
.LM {
	LINE-HEIGHT: 130%
}
.LL {
	LINE-HEIGHT: 150%
}
SELECT {
	FONT-SIZE: 12px
}
INPUT {
	FONT-SIZE: 12px
}
TEXTAREA {
	FONT-SIZE: 12px
}
UNKNOWN {
	FONT-SIZE: 14px
}
.f1 {
	FONT-SIZE: 10px
}
.f2 {
	FONT-SIZE: 12px
}
.f3 {
	FONT-SIZE: 16px
}
.f4 {
	FONT-SIZE: 18px
}
.f5 {
	FONT-SIZE: 24px
}
.f6 {
	FONT-SIZE: 31px
}
.lh13 {
	LINE-HEIGHT: 130%
}
.lh15 {
	LINE-HEIGHT: 150%
}
.lh17 {
	LINE-HEIGHT: 170%
}
.style4 {
	color: #FFFFFF;
	font-weight: bold;
}
</STYLE>
<!--#include file="head.asp"-->
<%
  Response.Buffer = true
  Response.ExpiresAbsolute=now()-1
  Response.Expires=0
  Response.CacheControl="no-cache"
%>
<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/safe.asp"-->
<%
if Not ChkPost then response.redirect ("chklogin.asp?login=4")
if Cint(request("Verifycode"))<>Session("Verifycode") then
response.write"<SCRIPT language=JavaScript>alert('验证码错误，请重新输入！');"
response.write"javascript:history.go(-1)</SCRIPT>"
response.end
end if
user=Replace_Text(request.form("user"))
pass=Replace_Text(request.form("pass"))
question=Replace_Text(request.form("question"))
answer=Replace_Text(request.form("answer"))
name1=Replace_Text(request.form("name"))
ch=Replace_Text(request.form("ch"))
email=Replace_Text(request.form("email"))
phonecountry=Replace_Text(request.form("phonecountry"))
phonearea=Replace_Text(request.form("phonearea"))
phonenumber=Replace_Text(request.form("phonenumber"))
phone=phonecountry&"&nbsp;"&phonearea&"&nbsp;"&phonenumber
country=Replace_Text(request.form("country1"))
sf=Replace_Text(request.form("province"))
city=Replace_Text(request.form("city"))
address=Replace_Text(request.form("address"))
faxcountry=Replace_Text(request.form("faxcountry"))
faxarea=Replace_Text(request.form("faxarea"))
faxnumber=Replace_Text(request.form("faxnumber"))
fax=faxcountry&"&nbsp;"&faxarea&"&nbsp;"&faxnumber
mobile=Replace_Text(request.form("mobile"))
post=Replace_Text(request.form("post"))
qymc=Replace_Text(request.form("qymc"))
zw=Replace_Text(request.form("zw"))
sortid=Replace_Text(request.form("sortid"))
typeid=Replace_Text(request.form("typeid"))
categoryidarray=split(categoryid,"，")
sortid=categoryidarray(0)
p_z_Z_productionService=Replace_Text(request.form("p_z_Z_productionService"))
isournotify=Replace_Text(request.form("isournotify"))
if isournotify="" then
isournotify=0
else
isournotify=1
end if
isothernotify=Replace_Text(request.form("isothernotify"))
if isothernotify="" then
isothernotify=0
else
isothernotify=1
end if
idate=date()
%>
<%
'if conn.execute("select id from [corporation] where user='"&user&"' or qymc='"&qymc&"'").eof then
'sql="insert into corporation(user,pass,question,answer,name,ch,email,phone,country,sf,city,address,fax,mobile,post,qymc,zw,sortid,typeid,buykeywords,salekeywords,isournotify,isothernotify,idate) values('"&user&"','"&pass&"','"&question&"','"&answer&"','"&name1&"','"&ch&"','"&email&"','"&phone&"','"&country&"','"&sf&"','"&city&"','"&address&"','"&fax&"','"&mobile&"','"&post&"','"&qymc&"','"&zw&"',"&sortid&","&typeid&",'"&buykeywords&"','"&salekeywords&"','"&isournotify&"','"&isothernotify&"','"&idate&"')"
'response.Write sql
'conn.execute(sql)
'else
'response.write"<SCRIPT language=JavaScript>alert('您填写的会员登陆名或公司名称已存在，请返回重新填写！');"
'response.write"javascript:history.go(-1)"
'response.end
'end if


sql="select * from corporation where [user]='"&user&"' or qymc='"&qymc&"' or email='"&email&"'"
set rs=server.CreateObject("adodb.recordset")
rs.open sql,conn,1,3
if not (rs.Bof and rs.eof) then
response.write"<SCRIPT language=JavaScript>alert('您填写的会员登陆名或公司名称或E-mail已存在，请返回重新填写！');"
response.write"javascript:history.go(-1)</SCRIPT>"
response.end
else
rs.addnew
rs("user")=user
rs("pass")=pass
rs("question")=question
rs("answer")=answer
rs("name")=name1
rs("ch")=ch
rs("email")=email
rs("phone")=phone
rs("country")=country
rs("sf")=sf
rs("city")=city
rs("address")=address
rs("fax")=fax
rs("mobile")=mobile
rs("post")=post
rs("qymc")=qymc
rs("zw")=zw
rs("sortid")=sortid
rs("typeid")=typeid
rs("zycp")=p_z_Z_productionService
rs("isournotify")=isournotify
rs("isothernotify")=isothernotify
rs("idate")=idate
'rs("hybz")=true  '申请时即认为其已要求申请商贸通会员服务
'rs("uflag")=1   '申请时即开通普通会员，但申请者的公司仍需审核
'rs("cflag")=1   '申请时即通过审核申请者的公司
'rs("flag")=1    '申请时即开通商贸通会员服务
'rs("begindate")=idate   '既然已是商贸通会员，申请者的商贸通会员服务期限从注册之日起
'rs("enddate")=idate+365   '到一年后结束 
'rs("trust_score")=10    '既然已是商贸通会员，则申请者商贸通指数为10
rs.update
session("id")=rs("id")
session("user")=rs("user")
session("Email")=rs("Email")
'session("uflag")=rs("uflag")   '申请即开通普通会员
'session("cflag")=rs("cflag")   '按目前需要而加
session("flag")=rs("flag")     '按目前需要而加
Response.Cookies("Myworldname") = rs("user")
Response.Cookies("Myworldname").Expires=date()+365
pharry=split(rs("phone"),"&nbsp;")
end if
%>
<%
Dim l_message
' 声明变量

	l_message = "<!DOCTYPE HTML PUBLIC ""-//IETF//DTD HTML//EN"">" & vbCrLf 
    l_message = l_message & "<html>"
    l_message = l_message & "<head>"
    l_message = l_message & "<title>注册会员成功</title>"
	l_message = l_message & "<meta http-equiv=""Content-Type""" 
	l_message = l_message & "content=""text/html; charset=gb2312"">"
	l_message = l_message & "<style>"
	l_message = l_message & "BODY,TD{color:#000;font-size:14.8px;font-family:宋体}"
	l_message = l_message & "A:LINK{color:#039}"
	l_message = l_message & "A:VISITED{color:#039}"
	l_message = l_message & "A:HOVER{color:#f60}"
	l_message = l_message & ".GR{color:#666}"
	l_message = l_message & ".GR:LINK{color:#666}"
	l_message = l_message & ".GR:VISITED{color:#666}"
	l_message = l_message & ".l{font:bold 18px 宋体}"
	l_message = l_message & ".M{font:bold 14.8px 宋体}"
	l_message = l_message & ".C{font-size:13px}"
	l_message = l_message & ".S{font-size:12px}"
	l_message = l_message & ".LM{line-height:130%}"
	l_message = l_message & ".LL{"
	l_message = l_message & "line-height:150%"
	l_message = l_message & "}"
	l_message = l_message & "select{font-size:12px}"
	l_message = l_message & "input{font-size:12px}"
	l_message = l_message & "</Style>"
	l_message = l_message & "</head>"
	l_message = l_message & "<body bgcolor=#F0C87B background=http://info.mantxx.com/emailpic/join_bg.gif text=#000000 leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 style=background-repeat: repeat-x;>"
	l_message = l_message & "<center>"
	l_message = l_message & "<br>"
	l_message = l_message & "<table width=520 border=0 cellpadding=1 cellspacing=0 bgcolor=#C78300>"
	l_message = l_message & "<tr>"
	l_message = l_message & "<td><table width=100% border=0 cellpadding=0 cellspacing=0 bgcolor=#FFFFFF>"
	l_message = l_message & "<tr>" 
	l_message = l_message & "<td><img src=http://info.mantxx.com/emailpic/emailpic/ldmsapp.gif width=518 height=53></td>"
	l_message = l_message & "</tr>"
	l_message = l_message & "<tr>"
	l_message = l_message & "<td align=center><br>"
	l_message = l_message & "<table width=90% border=0 cellspacing=0 cellpadding=0>"
	l_message = l_message & "<tr>"
	l_message = l_message & "<td class=LL>尊敬的 <strong> "&name1&" </strong> ("&ch&") ：您好！ </td>"
	l_message = l_message & "</tr>"
	l_message = l_message & "</table>"
	l_message = l_message & "<table width=90% border=0 cellspacing=0 cellpadding=0>"
	l_message = l_message & "<tr>" 
	l_message = l_message & "<td width='1%'><img src=http://info.mantxx.com/emailpic/emailpic/ldmsapp1.gif width=97 height=99></td>"
	l_message = l_message & "<td align=center background=http://info.mantxx.com/emailpic/emailpic/ldmsapp0.gif class=LM><img src=http://info.mantxx.com/emailpic/emailpic/ldmsapp2.gif width=365 height=20><br>"
	l_message = l_message & "建议您在重要的笔记本记录下您注册的信息:<br>"
	l_message = l_message & "<font color=#CC3300><strong>会员登录名："&user&"　　密码："&pass&"</strong></font></td>"
	l_message = l_message & "<td width='1%'><img src=http://info.mantxx.com/emailpic/emailpic/ldmsapp4.gif width=10 height=99></td>"
	l_message = l_message & "</tr>"
	l_message = l_message & "</table>"
	l_message = l_message & "<br>"
	l_message = l_message & "<br>"
	l_message = l_message & "<table width=90% border=0 cellspacing=0 cellpadding=0>"
	l_message = l_message & "<tr>" 
	l_message = l_message & "<td class=LL><span class=M>现在，您就可以进入活跃的网上贸易大市场</span><br>"
	l_message = l_message & "·<span class=M><a href="&weburl&"member/tradeinfo/add_info.asp target=_blank>发布供求信息</a></span>，让客户看到您！"
	l_message = l_message & "<br>"
	l_message = l_message & "·<span class=M><a href="&weburl&"tradeinfo/index.asp target=_blank>查看供应信息</a></span>，挑挑选选，货比三家！<br>"
	l_message = l_message & "·<span class=M><a href="&weburl&"member/myemail/orderbegin.asp target=_blank>订制商机信息</a></span>，让您第一时间把握市场行情！"
	l_message = l_message & "<br>"
	l_message = l_message & "·<span class=M><a href="&weburl&"member/corporation/company_edit.asp target=_blank>发布公司介绍</a></span>，把您的企业实力展示给您的潜在客户！" 
	l_message = l_message & "</td>"
	l_message = l_message & "</tr>"
	l_message = l_message & "</table>"
	l_message = l_message & "<br>"
	l_message = l_message & "<table width=80% border=0 cellspacing=0 cellpadding=0 style=BORDER-BOTTOM: #8BC8F7 1px solid; BORDER-TOP: #8BC8F7 1px solid; BORDER-LEFT: #8BC8F7 1px solid; BORDER-right: #8BC8F7 1px solid>"
	l_message = l_message & "<tr>"
	l_message = l_message & "<td align=center bgcolor=#CBECF8><a href="&weburl&"login/vip.asp><img src=http://info.mantxx.com/emailpic/emailpic/ldmsapp3.gif width=210 height=37 border=0></a><br>"
	l_message = l_message & "请继续 <img src=http://info.mantxx.com/emailpic/emailpic/ldmsapp6.gif width=448 height=70 border=0 align=absmiddle><br>"
	l_message = l_message & "<br>"
	l_message = l_message & "据统计:85％的买家，92％的卖家，优先考虑与<a href="&weburl&"staric/index.asp>商贸通</a>会员做生意<br>"
	l_message = l_message & "<br>"
	l_message = l_message & "<font color=#000000 size=3>咨询热线：<strong>"&Systemtel&"</strong></font><br>"
	l_message = l_message & "</td>"
	l_message = l_message & "</tr>"
	l_message = l_message & "</table>"  
	l_message = l_message & "<br>"
	l_message = l_message & "<table width=90% border=0 cellspacing=0 cellpadding=0>"
	l_message = l_message & "<tr>" 
	l_message = l_message & "<td class=LL><strong>他们已经获得了成功，您也可以!</strong><br>"
	l_message = l_message & "· <a href="&weburl&"info/index.asp>通过"&webname&"，我半年成交了200万！</a>" 
	l_message = l_message & "绍兴华欣布艺有限公司<br>"
	l_message = l_message & "· <a href="&weburl&"info/index.asp>小订单不间断" 
	l_message = l_message & "大订单抢着来！</a> 宁波市镇海三星微型轴承厂 </td>"
	l_message = l_message & "</tr>"
	l_message = l_message & "<tr>"
	l_message = l_message & "<td align=right class=LL><img src=http://info.mantxx.com/emailpic/emailpic/more.gif width=7 height=12 align=absmiddle>" 
	l_message = l_message & "<a href="&weburl&"info/index.asp>更多成功案例</a></td>"
	l_message = l_message & "</tr>"
	l_message = l_message & "</table>"
	l_message = l_message & "<br>"
	l_message = l_message & "<br>"
	l_message = l_message & "</td>"
	l_message = l_message & "</tr>"
	l_message = l_message & "</table></td>"
	l_message = l_message & "</tr>"
	l_message = l_message & "</table>"
	l_message = l_message & "<table width=520 border=0 cellspacing=0 cellpadding=0>"
	l_message = l_message & "<tr>"
	l_message = l_message & "<td><img src=http://info.mantxx.com/emailpic/emailpic/ldmsapp5.gif width=272 height=9></td>"
	l_message = l_message & "</tr>"
	l_message = l_message & "</table>"
	l_message = l_message & "如有任何疑问，请联系我们，我们将热诚为您服务！<br>"
	l_message = l_message & "服务热线：<strong>"&Systemtel&"</strong>  您也可以通过<a href ="&weburl&"feedback/index.asp>网上留言</a>的方式，咨询我们！</a>" 
	l_message = l_message & "<br>"
	l_message = l_message & "<br>"
	l_message = l_message & "<table width='100%' border=0 cellspacing=0 cellpadding=6 style=BORDER-TOP: #ffffff 1px solid;>"
	l_message = l_message & "<tr>"
	l_message = l_message & "<td align=center bgcolor=E89730 class=M><font color=#FFFFFF>"&webname&"，网络全球最新商机！</font></td>"
	l_message = l_message & "</tr>"
	l_message = l_message & "</table>"
	l_message = l_message & "</center>"
	l_message = l_message & "</body>"
	l_message = l_message & "</html>"
 	
   	
%>
<%
topic=""&webname&"会员资格确认信" ' 信件主题
mailbody=l_message ' 信件内容
sendjmail email,topic,mailbody 'email为注册者邮箱

Function SendJmail2(Email,Topic,MailBody)

	Dim JMail
	on error resume next
	Set JMail = Server.CreateObject("JMail.SMTPMail")
	JMail.LazySend            = true
	JMail.silent            = true
	JMail.Charset            = "gb2312"
	JMail.ContentType      = "text/html"
	JMail.Sender            = ""&webname&"注册邮件通知" '发送人
	JMail.ReplyTo            = ""&SystemEmail&"" '回复到
	JMail.SenderName      = "邮件订阅"
	JMail.Subject            = Topic
	JMail.SimpleLayout      = true
	JMail.Body            = MailBody
	JMail.Priority            = 1  '邮件的紧急程序，1 为最快，5 为最慢， 3 为默认值
	JMail.AddRecipient Email
	JMail.AddHeader "Originating-IP", GBL_IPAddress
	If JMail.Execute() = false Then
		SendJmail = 0
	Else
		SendJmail = 1
	End If
	JMail.Close
	Set JMail = Nothing

End Function

%>
<CENTER><br>
  <TABLE cellSpacing=0 cellPadding=0 width=750 border=0>
    <TBODY>
      <TR>
        <TD class=S bgColor=#f1f1f1 height=20>&nbsp;<IMG height=15 
      src="images/icon_smallone.gif" width=15 align=absMiddle> 填写基本信息　 <IMG 
      height=15 src="images/icon_smalltwoon.gif" width=15 align=absMiddle> <STRONG>待审核<FONT color=#666666>(注册成功)　 </FONT></STRONG><IMG height=15 
      src="images/icon_smallthree.gif" width=15 align=absMiddle> 升级为诚信通会员 </TD>
      </TR>
    </TBODY>
  </TABLE>
  <br>
  <TABLE cellSpacing=0 cellPadding=0 width=750 border=0>
    <TBODY>
      <TR>
        <TD style="BORDER-TOP: #ff7300 4px solid; FONT-SIZE: 25px" bgColor=#e7e7e7 
    height=40>&nbsp;<IMG height=30 src="images/icon_bigtwo.gif" width=30 
      align=absMiddle> <STRONG>成功注册会员！</STRONG></TD>
      </TR>
    </TBODY>
  </TABLE>
  <TABLE width=750 border=0 cellPadding=0 cellSpacing=0 bgcolor="#FCFCFC" class=outborder>
    <TBODY>
      <TR>
        <TD width="508">
		<div class="smalltoppad"></div>
		<TABLE cellSpacing=0 cellPadding=0 width=100% border=0>
          <TBODY>
            <TR>
              <TD width=40 vAlign=top bgcolor="#FFFFFF"><div align="center"><IMG height=16 
      src="images/icon_attion_16.gif" width=16 align=absMiddle>&nbsp;</div></TD>
              <TD class=lh15><FONT 
      color=#333333><STRONG>恭喜您：<FONT color=#cc3300><%=user%></font> ，您已经成功注册为<%=webname%>的普通会员！</STRONG></FONT><BR>
                我们已经发送确认信到 <FONT color=#cc33oo><%=email%></FONT> 请注意查收！<BR>
                从现在开始，您就可以宣传企业，发布供求，获得海量商机! <BR><BR>
				<a href="/member/corporation/company_edit.asp"><FONT color=#cc3300><strong>马上填写您的公司介绍?</strong></font></a>&nbsp;&nbsp;<FONT color=#cc3300><strong>详细的公司介绍能为您赢得更多客户信任！ </strong></font>
				</TD>
            </TR>
          </TBODY>
        </TABLE>
        <div class="smalltoppad"></div>		</TD>
        <TD width="240" class=lh15 align="center"><a href="/member/index.asp"><img src="../seller/images/post.gif" width="112" height="30" border="0"></a><br>
        <br>&nbsp;<strong>服务热线：<%=hottel%></strong></TD>
      </TR>
    </TBODY>
  </TABLE>
  <br><br><br><br>
  <TABLE cellSpacing=0 cellPadding=0 width=750 border=0 class=redbar>
  <TBODY>
  <TR>
    <TD width="412" height=45 class=redbarword>&nbsp;<IMG height=30 
      src="images/icon_bigthree.gif" width=30 align=absMiddle> 
      <STRONG>升级为商贸通会员</STRONG></TD>
    <TD width="338" 
    align=right class=m><font color="#FFFFFF">（ 商贸通专有服务费用：<%=worldecfuwu%>/年）</font></TD>
  </TR></TBODY></TABLE><br>
  <TABLE cellSpacing=0 cellPadding=0 width=750 border=0>
  <TBODY>
  <TR>
    <TD align="left" width=486><STRONG><IMG height=16 src="images/icon_attion_16.gif" 
      width=16 align=absMiddle> 请确认以下信息是真实的，以确保客户能联系到您！ </STRONG></TD>
    <TD vAlign=center align=middle width=264>&nbsp;</TD></TR></TBODY></TABLE><br>
  <table width="750"  border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="486" vAlign=top>
  <FORM name="Form1" method="post" action="Vip_Confirm.asp">
	  <TABLE cellSpacing=0 cellPadding=0 width=100% border=0>
    <TBODY>
      <TR>
        <TD width="100%" vAlign=top><TABLE width="100%" border=0 cellPadding=2 cellSpacing=0 class=outborder>
            <TBODY>
			<tr>
            <td height="20" bgcolor="#FDFDFD">&nbsp;</td>
            <td colspan="2" bgcolor="#f1f1f1" class=S align="right">(打 <FONT color=#ff0000>*</FONT> 
            为必填项)</td>
			</tr>
              <TR>
                <TD 
                width="32%" align=right vAlign=top bgcolor="#FDFDFD" class=C><B>您的公司全称：</B></TD>
                <TD width="3%" vAlign=top bgcolor="#f1f1f1"><SPAN class=L><FONT 
                  color=#ff0000>*</FONT></SPAN></TD>
                <TD width="65%" bgcolor="#f1f1f1"><INPUT style="FONT-SIZE: 14px" size=35 value="<%=rs("qymc")%>" name=qymc>
                    <BR>
                  <FONT class=f2 
                  color=#9a9a9a>（请填写在注册机构所注册的公司全称）</FONT> </TD>
              </TR>
              <TR>
                <TD align=right bgcolor="#FDFDFD" class=C><B>所属国家或地区：</B></TD>
                <TD bgcolor="#f1f1f1"><SPAN class=L><FONT color=#ff0000>*</FONT></SPAN></TD>
                <TD bgcolor="#f1f1f1">
                  <SELECT style="WIDTH: 90px" 
            onchange=javascript:changeCountry1(this); name=country1>
                  </SELECT>
                  <SELECT style="WIDTH: 60px" 
            onchange=changeProvince(this); name=province>
                    <OPTION value="" 
              selected>省份</OPTION>
                  </SELECT>
                  <SELECT name=city>
                    <OPTION value="" 
              selected>地级</OPTION>
                  </SELECT>
                  <SCRIPT language=javascript src="../../js/area.js"    
      purpose="INITIALIZER"></SCRIPT>
                  <SCRIPT language=javascript>
<!--
    //设置国家1的缺省值
    for (var i=0;i<5;i++){
	    if (country1Form1.options[i].value == '<%=rs("country")%>'){
		    country1Form1.options[i].selected=true;
		}
	}

    for (var i=0;i<catArr1.length;i++) {
		catForm1.options[i+1]=new Option(catArr1[i].title,catArr1[i].id);
		//设置省选择框的选择值
		if(catForm1.options[i+1].value == '<%=rs("sf")%>'){
	        	catForm1.options[i+1].selected=true;
	        }
	}
	changeProvince(catForm1);
	var len = boardForm1.options.length;
	for (var i=0;i<len;i++) {
		//设置城市选择框的选择值
		if(boardForm1.options[i].value == '<%=rs("city")%>') {
		    boardForm1.options[i].selected=true;
		}
	}
	
    if (country1Form1.options[country1Form1.selectedIndex].value!='中国') {
	    catForm1.style.display = 'none';
	    boardForm1.style.display = 'none';
		}

-->
          </SCRIPT>                </TD>
              </TR>
              <TR>
                <TD align=right bgcolor="#FDFDFD" class=C><B>街道地址：</B></TD>
                <TD bgcolor="#f1f1f1"><SPAN class=L><FONT color=#ff0000>*</FONT></SPAN></TD>
                <TD bgcolor="#f1f1f1"><INPUT maxLength=200 size=30 value="<%=rs("address")%>" 
                  name="address">
                  <br><FONT class=S color=#9a9a9a>填写县（区）、街道、门牌号</font> </TD>
              </TR>
              <TR>
                <TD align=right bgcolor="#FDFDFD" class=C><B>邮政编码：</B></TD>
                <TD bgcolor="#f1f1f1">&nbsp;</TD>
                <TD bgcolor="#f1f1f1"><FONT class=s>
                  <INPUT maxLength=200 size=30 value="<%=rs("post")%>" 
                  name="post">
                </FONT></TD>
              </TR>
              <TR>
                <TD align=right vAlign=top bgcolor="#FDFDFD" class=C><B>认证申请人：</B></TD>
                <TD bgcolor="#f1f1f1"><SPAN class=L><FONT color=#ff0000>*</FONT></SPAN></TD>
                <TD bgcolor="#f1f1f1"><INPUT maxLength=10 size=12 value="<%=rs("name")%>" 
                  name="name">
&nbsp;
        <INPUT type=radio <%if rs("ch") ="先生" then Response.Write "checked"%> value="先生" 
                  name="ch">
        <FONT class=f2>先生&nbsp;
        <INPUT type=radio <%if rs("ch") ="女士" then Response.Write "checked"%> 
				  value="女士" name="ch">
        女士 </FONT></TD>
              </TR>
              <TR>
                <TD align=right bgcolor="#FDFDFD" class=C><B>所在部门：</B></TD>
                <TD bgcolor="#f1f1f1"></TD>
                <TD bgcolor="#f1f1f1"><INPUT style="FONT-SIZE: 14px" maxLength=32 
                  name="bm"><br>
                  <FONT class=S color=#9a9a9a>（如有，请完整填写）</FONT></TD>
              </TR>
              <TR>
                <TD align=right vAlign=top bgcolor="#FDFDFD" class=C><B>职位名称：</B></TD>
                <TD bgcolor="#f1f1f1"><SPAN class=L><FONT color=#ff0000>*</FONT></SPAN></TD>
                <TD bgcolor="#f1f1f1"><INPUT maxLength=16 size=30 value="<%=rs("zw")%>" 
                  name="zw">                </TD>
              </TR>
              <TR>
                <TD align=right bgcolor="#FDFDFD" class=C><B>电话：</B></TD>
                <TD bgcolor="#f1f1f1"><SPAN class=L><FONT color=#ff0000>*</FONT></SPAN></TD>
                <TD bgcolor="#f1f1f1">
                  <TABLE cellSpacing=0 cellPadding=0 width="68%" border=0>
                    <TBODY>
                      <TR>
                        <TD><FONT class=f2>国家区号：</FONT></TD>
                        <TD><FONT class=f2>城市区号：</FONT></TD>
                        <TD colSpan=2><FONT class=f2>号码：</FONT></TD>
                      </TR>
                      <TR>
                        <TD><INPUT class=f2 maxLength=8 size=8 value="<%=pharry(0)%>" 
                              name="phonecountry">
                        </TD>
                        <TD><INPUT class=f2 maxLength=8 size=8 value="<%=pharry(1)%>" 
                              name="phonearea">
                        </TD>
                        <TD><INPUT class=f2 maxLength=100 size=13 
                              value="<%=pharry(2)%>" 
                        name="phonenumber">
                        </TD>
                      </TR>
                    </TBODY>
                </TABLE></TD>
              </TR>
              <TR>
                <TD align=right bgcolor="#FDFDFD" class=C><B>您的<FONT 
                  face=arial>E-mail</FONT>：</B></TD>
                <TD bgcolor="#f1f1f1"><SPAN class=L><FONT color=#ff0000>*</FONT></SPAN></TD>
                <TD bgcolor="#f1f1f1"><INPUT 
                  maxLength=100 size=30 value="<%=rs("email")%>" 
                  name="email"></TD>
              </TR>
            </TBODY>
          </TABLE>
          <div align="center"><BR>
              <IMG height=16 src="images/icon_point_16.gif" 
            width=16 align=absMiddle> <A 
            href="javascript:win=window.open('vipterm.asp','contact','width=700,height=500,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no');win.focus();" class=s>点此阅读商贸通服务协议</A>
<div class="smalltoppad"></div>
<br>
<INPUT type="submit" class=M onclick="disabled=true; FormCheck()" value=看过并同意商贸通服务协议条款！确认提交申请 name=Next>
          </div></TD>
      </TR>
    </TBODY>
  </TABLE>
</FORM>
  </td>
      <td width="14"></td>
      <td vAlign=top><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD class=orangeborder1><IMG 
            src="images/login_cxt1.gif" width=23 height=21 align="absmiddle"><span class="HEAD"><strong> 选择商贸通服务的优势</strong></span></TD>
        </TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD>
            <TABLE class=line cellSpacing=0 cellPadding=0 width=250 border=0>
              <TBODY>
              <TR>
                <TD vAlign=center align=middle>
                  <TABLE cellSpacing=0 cellPadding=0 width=220 border=0>
                    <TBODY>
                    <TR>
                      <TD class=S height=27><SPAN 
                        class="style5 lh15 C"><STRONG>高成交率</STRONG></SPAN><SPAN 
                        class=style5> </SPAN></TD></TR>
                    <TR>
                      <TD class=S><SPAN 
                      class=style5>·独享42万买家信息，订单滚滚来！</SPAN></TD></TR>
                    <TR>
                      <TD class=S><SPAN class=style5>·发布产品信息，排名靠前，抢占先机！ 
                      </SPAN></TD></TR>
                    <TR>
                      <TD class=S><SPAN 
                      class=style5>·商贸通企业网站，200张产品图片，立</SPAN></TD>
                    </TR>
                    <TR>
                      <TD class=S><SPAN 
                        class=style5>&nbsp;&nbsp;体展示公司实力！</SPAN></TD></TR></TBODY></TABLE></TD></TR>
              <TR>
                <TD class=S vAlign=top align=middle>
                  <HR width=220 color=#dbdbdb SIZE=1>

                  <TABLE cellSpacing=0 cellPadding=0 width=220 border=0>
                    <TBODY>
                    <TR>
                      <TD height=27><SPAN 
                        class="style5 lh15 C"><STRONG>高可信度</STRONG></SPAN><SPAN 
                        class=style5> </SPAN></TD></TR>
                    <TR>
                      <TD><SPAN class=style5><SPAN 
                        class=S>·商贸通档案，权威机构认证，赢得买家</SPAN></SPAN></TD>
                    </TR>
                    <TR>
                      <TD><SPAN class=style5><SPAN class=S>&nbsp;&nbsp;信赖！ 
                        </SPAN></SPAN></TD></TR>
                    <TR>
                      <TD><SPAN class=style5><SPAN 
                        class=S>·商贸通指数，动态反映贸易成熟度，全</SPAN></SPAN></TD>
                    </TR>
                    <TR>
                      <TD><SPAN class=style5><SPAN 
                        class=S>&nbsp;&nbsp;面促进交易！</SPAN></SPAN></TD></TR></TBODY></TABLE></TD></TR>
              <TR>
                <TD align=middle>
                  <HR width=220 color=#dbdbdb SIZE=1>

                  <TABLE cellSpacing=0 cellPadding=0 width=220 border=0>
                    <TBODY>
                    <TR>
                      <TD height=27><SPAN 
                        class="style5 lh15 C"><STRONG>高效服务</STRONG></SPAN><SPAN 
                        class=style5> </SPAN></TD></TR>
                    <TR>
                      <TD><SPAN class=style5><SPAN 
                        class=S>·365×8小时，全程指导，体会互联网最</SPAN></SPAN><SPAN class=S> 
                        </SPAN></TD></TR>
                    <TR>
                      <TD><SPAN class=style5><SPAN 
                        class=S>&nbsp;&nbsp;贴心服务。</SPAN></SPAN><SPAN 
                        class=S><BR><BR></SPAN></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR>
            <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
                <TD class=orangeborder1><IMG 
                  src="images/login_cxt2.gif" 
            width=19 height=23 align="absmiddle"><span class="HEAD"><strong> 商贸通服务热线</strong></span></TD>
              </TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
                <TD class=line vAlign=center align=middle height=50><SPAN 
                  class=style4><%=hottel%></SPAN><BR><SPAN 
                  class=S>365天×8小时等待您的垂询</SPAN></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=750 border=0>
  <TBODY>
  <TR>
    <TD class=lh13 style="FONT-SIZE: 16px"></TD></TR></TBODY></TABLE></td>
    </tr>
  </table>
  <br>
  <table width="750" border="0" cellpadding="0" cellspacing="0" class=outborder>
    <tr> 
      <td width="30" height="25" bgcolor="#CC3300" class="M">&nbsp;</td>
      <td bgcolor="#CC3300" class="M" colspan=2><font color="#FFFFFF">买家的联系信息仅提供给商贸通会员查看。</font></td>
    </tr>
    <tr> 
      <td height="30" align="center" class="S"><img src="images/icon_attion_16.gif" width="16" height="16" align="absmiddle"></td>
      <td width="595">商贸通会员，独享大量买家信息，成就更多生意！</td>
      <td width="123" align=right><img src="images/icon_point_16.gif" width="16" height="16" align="absmiddle"> <a href="/staric/index.asp" target="_blank" class=s>商贸通服务介绍</a>&nbsp;</td>
    </tr>
  </table>
  <BR>
  <script Language="JavaScript"> 
function FormCheck() 
{ 
if (trim(document.Form1.qymc.value) =="") 
{ 
alert("请输入您公司的全称！"); 
document.Form1.qymc.focus(); 
return (false); 
} 
if (trim(document.Form1.country1.value) =="中国") 
{ 
if (trim(document.Form1.province.value) =="")
{
alert("请选择省份！"); 
document.Form1.province.focus(); 
return (false); 
}
if (trim(document.Form1.city.value) =="")
{
alert("请选择地级城市！"); 
document.Form1.city.focus(); 
return (false); 
}
} 
if (trim(document.Form1.address.value) =="") 
{ 
alert("请输入您的联系地址！"); 
document.Form1.address.focus(); 
return (false); 
} 
if (trim(document.Form1.name.value) =="") 
{ 
alert("请输入您的真实姓名！"); 
document.Form1.name.focus(); 
return (false); 
} 

var  check=true;
      for(var i=0;i<document.Form1.ch.length;i++){

 if (document.Form1.ch[i].checked) {
		 check=false;
		break;
        }	
       }
              if (check){
          alert("请填写您的性别！");
          document.Form1.ch[1].focus();
          return (false);
       }  

if (trim(document.Form1.zw.value) =="") 
{ 
alert("请输入您的职位！"); 
document.Form1.zw.focus(); 
return (false); 
} 
if (trim(document.Form1.phonecountry.value) =="") 
{ 
alert("请输入联系电话的国家区号！"); 
document.Form1.phonecountry.focus(); 
return (false); 
} 
var filter=/^\s*[0-9]{0,3}\s*$/;
if (!filter.test(document.Form1.phonecountry.value)) { 
alert("国家区号不正确,请重新填写！不超过3个数字，注意不要使用空格。"); 
document.Form1.phonecountry.focus();
document.Form1.phonecountry.select();
return false; 
} 
if (trim(document.Form1.phonearea.value) =="") 
{ 
alert("请输入联系电话的城市区号！"); 
document.Form1.phonearea.focus(); 
return (false); 
} 
var filter=/^\s*[0-9]{0,4}\s*$/;
if (!filter.test(document.Form1.phonearea.value)) { 
alert("城市区号不正确,请重新填写！不超过4个数字，注意不要使用空格。"); 
document.Form1.phonearea.focus();
document.Form1.phonearea.select();
return false; 
} 
if (trim(document.Form1.phonenumber.value) =="") 
{ 
alert("请输入您的联系电话号码！"); 
document.Form1.phonenumber.focus(); 
return (false); 
}
if (trim(document.Form1.email.value) =="")
{
alert("请输入您的电子邮件地址！");
document.Form1.email.focus();
document.Form1.email.select();
return false;
}
var str1 = document.Form1.email.value
if(str1.indexOf("@") == -1 || str1.indexOf(".") == -1){ 
alert("E-mail格式不正确,请重新填写！"); 
document.Form1.email.focus();
document.Form1.email.select();
return false; 
} 
 
document.Form1.submit()
}
//-->
//-->
function trim(inputString) {
	   
              if (typeof inputString != "string") { return inputString; }
              var retValue = inputString;
              var ch = retValue.substring(0, 1);
              while (ch == " ") { 
	          //检查字符串开始部分的空格
                  retValue = retValue.substring(1, retValue.length);
                  ch = retValue.substring(0, 1);
              }
              ch = retValue.substring(retValue.length-1, retValue.length);
              while (ch == " ") {
                 //检查字符串结束部分的空格
                 retValue = retValue.substring(0, retValue.length-1);
                 ch = retValue.substring(retValue.length-1, retValue.length);
              }
              while (retValue.indexOf("  ") != -1) { 
	         //将文字中间多个相连的空格变为一个空格
                 retValue = retValue.substring(0, retValue.indexOf("  ")) + retValue.substring(retValue.indexOf("  ")+1, retValue.length); 
              }
              return retValue;
           } 

//--> 
</script></CENTER>
<%
'既然已是商贸通会员，则申请者拥有五合一网站
'conn.execute("update corporation set url='company/1/index.asp?id="&rs("id")&"' where id="&rs("id")&"")
rs.close
set rs=nothing   
conn.close
set conn=nothing   
%>
<!--#include file="../inc/end.asp"-->