<!--#include file="conn.asp" -->
<!--#include file="inc/gl1.asp" -->
<% 
call gl(Trim(Request.QueryString("id")))
 %>
<!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">
<script language="VBScript">
sub check()
Letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890-"
letters1="!@#$%^&*+=|\.,/`~"
lettel="0123456789_-()"

if trim(frm1.ftp.value)=empty then 
  msgbox "请输入您的ftp用户名..."
  focusto(3)
  exit sub
  end if
  
  if len(trim(frm1.ftp.value))<3 or len(trim(frm1.ftp.value))>15  then 
  msgbox "请输入您的ftp用户名只能为 3_15个字符..."
  focusto(3)
  exit sub
  end if
  
  for i=1 to len(trim(frm1.ftp.value))
    if instr(Letters,mid(trim(frm1.ftp.value),i,1))=0 then 
  msgbox "Fpt用户名要求必需为a-z,0-9,-的字母或者数字"
  focusto(3)
  exit sub
  end if
  exit for
  next
  
if trim(frm1.ftp_password.value)=empty then 
  msgbox "请输入您的ftp密码..."
  focusto(5)
  exit sub
  end if
  
 if len(trim(frm1.ftp_password.value))<6 or len(trim(frm1.ftp_password.value))>20  then 
  msgbox "请输入您的ftp密码名必须为 6_20个字符..."
  focusto(5)
  exit sub
  end if 
   
 if trim(frm1.ftp_password.value)<>trim(frm1.ftp_password1.value) then 
  msgbox "请两次输入的密码不相同..."
  focusto(5)
  exit sub
  end if
  
  if trim(frm1.dns.value)=empty then 
  msgbox "请输入你需要绑定的域名..."
  focusto(7)
  exit sub
  end if
 
frm1.submit
end sub
sub focusto(x)
document.frm1.elements(x).focus()
end sub

  </script>

</head>


<body leftmargin="3" topmargin="0">

<!--#include file="head.asp" -->
<table width="779" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="779" height="19" valign="bottom"><font color="#990000">　→ </font>你当前位置：<a href="default.asp">首 
      页 </a>&gt;&gt;虚拟主机</td>
  </tr>
  <tr>
    <td height="1" background="images/2.jpg"></td>
  </tr>
</table>

<table width="763" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="186" height="565" valign="top" bgcolor="F4F8FB"> 
      <p align="center"><img src="images/spread_image.gif" width="174" height="119"></p>
      <!--#include file="in.asp" -->
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><img src="pic/7.gif" width="129" height="18"></td>
        </tr>
        <tr> 
          <td height="43" valign="top"> <table width="178" border="1" cellpadding="0" cellspacing="0" bordercolor="6699CC" bordercolorlight="" bordercolordark="ffffff">
              <tr> 
                <td width="178"> <table width="174" border="0" cellspacing="0" cellpadding="0">
                    <% rs.open "select * from host order by bm desc",conn,1,1
		while not rs.eof    %>
                    <tr> 
                      <td width="17" height="24"> <div align="center"><img src="pic/8.gif" width="4" height="6"></div></td>
                      <td width="157"><a href=host_1.asp?id=<%= rs("id") %>><%= rs("title") %></a></td>
                    </tr>
                    <% rs.movenext
		wend 
		rs.close %>
                  </table></td>
              </tr>
            </table></td>
        </tr>
      </table> 
      <p>&nbsp;</p>
      <p>&nbsp;</p></td>
    <td width="1" bgcolor="#C7DCEB"> </td>
    <td width="576" valign="top"><p><img src="pic/host_1.gif" width="570" height="25">
        <% id=Trim(Request.QueryString("id"))
sql="select * from host where id="&id
rs.open sql,conn,1,1
if not rs.eof then
j=session("dl")
hostje=rs("je"&j)



title=rs("title")
ej=rs("ej")
fj=rs("fj")
access=rs("access")
mail=rs("mail")
bak=rs("bak")
bh=rs("bh")
kj=rs("kj")



rs.close
 %>
      </p>
      <table width="522" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#E8E8E8"
bordercolorlight="" bordercolordark="ffffff" bgcolor="#FEFEFE">
        <tr> 
          <td width="311" height="152" valign="middle" style="LINE-HEIGHT: 15pt">　　采用强大先进的虚拟主机实时开设系统，用户自行设置FTP帐号、密码，在线提交申请，系统自动开通空间，1分钟内即可正式投入使用<br>
            　　支持在线修改FTP密码、WEB上传、绑定域名、关闭开启空间、设定默认页…… 为用户提供完善的虚拟主机管理系统。 </td> 
          <td width="205" valign="middle" style="LINE-HEIGHT: 15pt"><div align="center"><img src="img1/12.gif" width="150" height="150"></div></td>
        </tr>
      </table>
      <p>&nbsp;</p>
      <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="9%"><div align="center"></div></td>
          <td width="44%"><font color="#FF0000">产品名称：</font><%= title %> </td>
          <td width="47%"><font color="#FF0000">产品编号：</font><%= bh %></td>
        </tr>
        <tr> 
          <td colspan="3">&nbsp;</td>
        </tr>
        <tr> 
          <td height="29">&nbsp;</td>
          <td><font color="#FF0000">产品价格：<strong><font color="#990000">￥</font></strong></font><font color="#990000"><strong> 
            <%= hostje %>/年 </strong></font></td> 
          <td>&nbsp;</td>
        </tr>
        <tr > 
          <td colspan="3" background="images/2.jpg"> </td>
        </tr>
        <tr>
          <td colspan="3">&nbsp;</td>
        </tr>
      </table>
      <table width="547" height="238" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="97"><div align="center">详细说明说明</div></td>
          <td width="33"><img src="images/queimg.gif" width="19" height="18"></td>
          <td width="411">
            <p style="line-height: 150%"><%= bak %></td>
        </tr>
        <tr> 
          <td height="1" colspan="3" background="images/2.jpg" width="545"> </td>
        </tr>
        <tr> 
          <td height="16" colspan="3" width="545">&nbsp;</td>
        </tr>
      </table>
      <form action="host_save_1.asp" method="post" name="frm1" id="frm1">
        <table width="543" height="166" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="92" height="30"><div align="center">
                <p style="line-height: 150%">年限 </div></td>
            <td colspan="2" height="30"> <p style="line-height: 150%"> 
                <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>
                <input name="title" type="hidden" id="title" value="<%=title%>"> 
                <input name="id" type="hidden" id="id" value="<%=id%>"> 
              </p></td>
          </tr>
          <tr > 
            <td height="1" colspan="3"> 
              <p style="line-height: 150%"> </td>
          </tr>
          <tr> 
            <td width="92" height="48"><div align="center">
                <p style="line-height: 150%">FTP 帐号</div></td> 
            <td colspan="2" height="48"> <p style="line-height: 150%"> 
                <input name="ftp" type="text" id="ftp" size="15">
                ( <font color="#FF0000">3-15 </font>位 用户名要求必需为a-z,0-9,-的字母或者数字)  
                <font color="#FF0000">*</font> </p></td>
          </tr>
          <tr > 
            <td height="1" colspan="3"> 
              <p style="line-height: 150%"> </td>
          </tr>
          <tr>
            <td height="27"><div align="center">
                <p style="line-height: 150%">FTP 密码</div></td> 
            <td colspan="2" height="27">
              <p style="line-height: 150%"><input name="ftp_password1" type="password" id="ftp_password1" size="15">
              (密码最短要求 <font color="#FF0000">6-20 </font>位的字母或者数字) <font color="#FF0000">*</font></p> 
            </td>
          </tr>
          <tr> 
            <td width="92" height="27"><div align="center">
                <p style="line-height: 150%">重复密码</div></td>
            <td colspan="2" height="27"> <p style="line-height: 150%"> 
                <input name="ftp_password" type="password" id="ftp_password" size="15">
                重复密码 </p></td>
          </tr>
          <tr > 
            <td height="1" colspan="3"> 
              <p style="line-height: 150%"> </td>
          </tr>
          <tr> 
            <td width="92" height="182"> <div align="center">
                <p style="line-height: 150%">绑定的域名</div></td>
            <td colspan="2" height="182"> <p style="line-height: 150%"> <strong>http://</strong> 
                <input name="dns" type="text" id="dns" size="20"> 
              <font color="#FF0000">(注意：自己有顶级域名的，请填上，如：www.***.com 
              ,没有的话留空即可，也可以填一个你将来想要的域名。如果没有顶级域名无法赠送属于你自己域名的集团邮局给你！但是你还可以获得象：*****@100sd.com 
              形式的免费电子信箱！)</font> 
              </p>
              <p style="line-height: 150%">如果您没有域名，<a href="dns.asp"><font color="#0000FF">请先从这里注册一个新域名</font></a>,如果不需要顶级域名的可以免费得到我们送给你的二级域名.<font color="#FF0000">*</font></p></td>
          </tr>
          <tr > 
            <td height="18" colspan="3"> </td>
          </tr>
          <tr bgcolor="#0080C0"> 
            <td height="27" colspan="3"> 
              <p align="center"> 
                <% 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 %> 
              </p></td>
          </tr>
        </table>
      </form>
     <% Else
Response.Write("对不起!!您所查询的产品还未上架")
 End If 

 %>
      <p style="line-height: 150%"><font size="2">　<font color="#FF0000">注:</font>为了保证所有用户的空间的正常运行，请在没有特别申明的情况下，空间不可以放置大型论坛.是江湖．聊天室.软件下载等......</font></p></td>
  </tr>
</table>


<%
call CloseDatabase '关闭数据库链接
%>
<!--#include file="top.asp" -->

</body>
</html>





























