<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="conn.asp" -->
<!--#include file="inc/gl1.asp" -->
<% 
call gl(Trim(Request.QueryString("ext")))

 %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=page_title%>域名注册中心...</title>
<link href="css.css" rel="stylesheet" type="text/css">
</head>
<script language="VBScript">
sub check()
Letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890-"
letters1="!@#$%^&*+=|\.,/`~"
lettel="0123456789_-()"
dn=frm1.dns2.value
na=frm1.ename.value
te=frm1.tel.value
if dn=empty then 
  msgbox "请输入您的域名"
  focusto(0)
  exit sub
  end if
  
  if len(dn)<2 then 
  msgbox "域名不要少于2位"
  focusto(0)
  exit sub
  end if
for i=1 to  len(dn)
 if instr(letters1,mid(dn,i,1))<>0 then
  msgbox "注意：在查询英文域名时应输入英文不能输入非法字符！域名由不分大小写的英文字母和数字组成，除了开头和结尾以外，中间也可以含有“-”（即连字符或称减号）最大长度为26个字符"
  focusto(0)
  exit sub
  end if
  exit for
next

if len(frm1.ename.value)=0 then 
  msgbox "请输入所有都中文姓名"
  focusto(5)
  exit sub
  end if

if len(na)<2 then 
  msgbox "所有者不要少于2位"
  focusto(6)
  exit sub
  end if
  
  
for i=1 to  len(na)
 if instr(letters,mid(na,i,1))=0 then
  msgbox "注意：域名所有者英文只能为英文"
  focusto(6)
  exit sub
  end if
  exit for
next
  
   if len(te)<11 then 
  msgbox "电话不能少于11位"
  focusto(7)
  exit sub
  end if
  
for i=1 to  len(le)
 if instr(lettel,mid(le,i,1))=0 then
  msgbox "电话号中有非法字符"
  focusto(7)
  exit sub
  end if
  exit for
next
  
frm1.submit
end sub

sub focusto(x)
document.frm1.elements(x).focus()
end sub

  </script>

<body leftmargin="3" topmargin="2" bgcolor="#C0C0C0">
<!--#include file="head.asp" -->

<table width="777" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="184" valign="top" bgcolor="#FFFFFF"> 
      <div align="center">&nbsp; 
        <!--#include file="in.asp" -->
      </div>
      <table width="183" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td colspan="2"></td>
        </tr>
		<% rs.open "dns",conn,1,1 
		if session("dl")=empty then session("dl")=1
			  bje="je"&session("dl")
			  
		while not rs.eof 
		je=rs(bje)
		%>
        <tr> 
          <td width="16" height="21" valign="top">· </td>
          <td width="167" valign="top"><%= rs("title") %>&nbsp;￥<font color="#FF0000"><%= je %></font></td>
        </tr>
		<% 
		rs.movenext
		wend
		rs.close
		 %>
      </table>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p></td>
    <td width="1" bgcolor="#FFFFFF"> </td>
    <td width="587" valign="top" bgcolor="#FFFFFF"><p>&nbsp;</p>
      <p>&nbsp;</p>
      <p><strong>域名申请提交表: </strong></p>
      <p><strong>请点击左边</strong></p>
      <form action="host_save.asp" method="post" name="frm1" id="frm1">
        <table width="83%" height="364" border="0" align="center" cellpadding="1" cellspacing="1">
          <tr bgcolor="#000066"> 
            <td colspan="3" height="14"><font color="#FFFFFF">域名订单</font></td>
          </tr>
          <tr> 
            <td width="17%" height="37">所注域名:</td>
            <td colspan="2" height="37">WWW.    
              <input name="dns2" type="text" id="dns2" value="<%=request("domain")%>" size="10">
              ．    
              <select name="dns1" size="1" id="dns1">
                <% rs.open "dns",conn,1,1
				ext=Trim(Request.QueryString("ext"))
			  
			  while not rs.eof 
			  je=rs(bje)
			  selected=""
			  if rs("lx")=ext then
			  selected="selected"
			  else
			  selected=""
			  end if
			   %>
                <option value="<%= rs("lx")&"#"&je%>" <%= selected %> ><%= rs("lx") %> ￥<%= je %> 年</option>
                <% rs.movenext
				wend
				rs.close %>
              </select> <input name="ll" type="hidden" id="ll" value="dns">    
              <input name="title" type="hidden" id="title" value="域名注册">    
              <font color="#FF0000">这里所注的填的域名必须是还未被注册.</font></td>   
          </tr>
          <tr> 
            <td height="26">注册年限:</td>
            <td colspan="2" height="26"><select name="sl" id="sl">
                <option value="1" selected>1 年 〖 默认 〗</option>
                <option value="2">2 年 * 2</option>
                <option value="3">3 年 * 3</option>
                <option value="5">5 年 * 5 </option>
                <option value="10">10年 * 10</option>
              </select></td>
          </tr>
          <tr> 
            <td height="26">使用者姓名:</td>
            <td colspan="2" height="26"><p><font color="#FF0000">中文</font> <font color="#FF0000">    
                <input name="name" type="text" id="name" value="<%=session("usdl_name")%>" size="10">
                英文:</font><font color="#FF0000">   
                <input name="ename" type="text" id="ename" value="<%=session("usdl_ename")%>" size="10">   
                *域名所有人注册后不能更改</font></p></td>  
          </tr>
          <tr> 
            <td height="26">所在国家:</td>
            <td colspan="2" height="26"><input name="gj" type="text" id="gj" value="CN" size="8">
              请写国家代码</td>   
          </tr>
          <tr> 
            <td height="20">省 会:</td>   
            <td width="38%" height="20"><input name="sf" type="text" id="sf" value="<%=session("usdl_province")%>" size="15"> 
            </td>
            <td width="45%" height="20">&nbsp;</td>
          </tr>
          <tr>
            <td height="18">单 位:</td>   
            <td colspan="2" height="18"><input name="unit" type="text" id="unit" value="<%=session("usdl_unit")%>" size="15">
              英 文:   
              <input name="eunit" type="text" id="eunit" value="<%=session("usdl_eunit")%>" size="15"></td>
          </tr>
          <tr> 
            <td height="20">城 市;</td>   
            <td colspan="2" height="20"><input name="cs" type="text" id="cs" value="<%=session("usdl_biz")%>" size="15"> 
            </td>
          </tr>
          <tr> 
            <td height="20">地 址;</td>   
            <td colspan="2" height="20"><input name="address" type="text" id="address" value="<%=session("usdl_address")%>" size="30">
              中文</td>   
          </tr>
          <tr> 
            <td height="20">地 址;</td>   
            <td colspan="2" height="20"><input name="eaddress" type="text" id="eaddress" value="<%=session("usdl_eaddress")%>" size="30">
              英文/拼音</td>   
          </tr>
          <tr> 
            <td height="20">电 话:</td>   
            <td colspan="2" height="20"><input name="tel" type="text" id="tel" value="<%=session("usdl_tel")%>" size="15"> 
              <font color="#FF0000">*</font></td> 
          </tr>
          <tr> 
            <td height="20">传 真;</td>   
            <td colspan="2" height="20"><input name="cz" type="text" id="tel4" value="<%=session("usdl_cz")%>" size="15"></td>
          </tr>
          <tr> 
            <td height="20">email:</td>
            <td colspan="2" height="20"> <font color="#FF0000"> 
              <input name="email" type="text" id="email5" value="<%=session("us_email")%>" size="20">
              <font color="#FF0000">*</font> 域名密码将发送到这个邮箱里</font></td>   
          </tr>
          <tr bgcolor="#000066"> 
            <td height="21"> <div align="center"> </div></td>
            <td colspan="2" height="21"> <% if session(Verification&"sel") then  %> <input type="button" name="Submit2" value="确定提交"  onClick="check" > 
              <% else  %> <a href="usdl.asp"><font color="#FFFFFF">-您必须先登录才能下定单-</font></a>    
              <% end if %> </td>   
          </tr>
        </table>
      </form>
      <p>&nbsp;</p>
      <p align="center"> <img src="file:///D:/我要我要商务工作室/qy/p/images/ds.gif" width="3" height="12">　如果你还没有注册请点<a href="reg.asp"><font color="#FF0000">这里免费注册</font></a>成我们的会员.．．</p>
      <p align="center"><img src="file:///D:/我要我要商务工作室/qy/p/images/ds.gif" width="3" height="12">　如果您忘记了密码．请点<a href="pass.asp"><font color="#FF0000">这里取回</font></a>您的密码．．</p>
    </td>
  </tr>
  <tr> 
    <td bgcolor="#FFFFFF" width="184">&nbsp;</td>
    <td colspan="2" bgcolor="#FFFFFF" width="589">&nbsp;</td>
  </tr>
</table>
<!--#include file="top.asp" -->

</body>
</html>
























