<!--#include file="conn.asp" -->
<!--#include file="inc/usdl.asp" -->
<!--#include file="inc/gl1.asp" -->
<!--#include file="inc/hostconfig.asp" -->
<!--#include file="inc/read_default.asp" -->
<!--#include file="inc/edit_default.asp" -->
<% 
call gl(Trim(Request("bh")))
us=session("us")

bh=Trim(Request.QueryString("bh"))
 sql="select * from host_shop where bh="&bh&"and userid='"&us&"'and ftp_auto=true" 
  rs.open sql,conn,1,1
  if not rs.eof then
	 iis_id=rs("iis_id")
	 web_ip=rs("web_ip")
	 ftp_name=rs("ftp")
	 if iis_id="" or iis_id=0 then
	 Response.Write("对不起!!您的iis参数不正确...")
	 response.end
	end if
	else
    Response.Write("对不起!!您的订单不存在或是此订单不支持在线管理功能...")
	response.end
  end if
  rs.close
  if Trim(Request.Form("w"))="edit" then
   default=Trim(Request.Form("default"))
   call edit_default(default,iis_id)
  end if
 read_def=read_default(iis_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">
</head>

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

<!--#include file="head.asp" -->
<table width="763" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="763" height="19" valign="bottom"><font color="#990000">　→ </font>你当前位置：<a href="default.asp">首 
      页 </a>&gt;&gt;管理中心&gt;&gt;主机管理&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="175" valign="top"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><div align="center"><img src="images/domain_image.gif" width="174" height="119"></div></td>
        </tr>
        <tr> 
          <td height="17" bgcolor="#EEEEEE"> <div align="center">欢迎: <font color="#FF0000"><strong><%= session("us") %></strong></font> 光临</div></td>  
        </tr>
        <tr> 
          <% 
			sql="select * from user where userid='"&us&"'"
			 rs.open sql,conn,1,1
			 zje1=rs("je")
			 %>
          <td><p><font color="#FF0000">您的账面存款：</font></p>
            <p>&nbsp;</p>
            <p align="center"><font color="#FF0000">￥ <%= rs("je") %></font></p>  
            <p align="center">&nbsp;</p>
            <p>客户等级: <font color="#FF0000"><%= rs("dl") %>  
              <% rs.close  %>
              </font></p></td>
        </tr>
        <tr>
          <td height="1" background="images/2.jpg"> </td>
        </tr>
      </table> 
	  <div align="center"> 
       <!--#include file="user_inc.asp" -->
      </div></td>
    <td width="1" bgcolor="#F5F5F5"> </td>
    <td width="587" valign="top"> 
      <table width="573" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="573">
            <p align="center"><a href="user.asp"><img src="images/mameger.gif" width="437" height="43"></a></p>
          </td>
        </tr>
        <tr>
          <td valign="top">
<p>&nbsp;</p>
            <table width="516" border="0" align="center" cellpadding="1" cellspacing="1">
              <tr> 
                <td width="100" bgcolor="FF9900" onmouseover="this.style.backgroundColor='#FFD89D';return true;" onmouseout="this.style.backgroundColor='#FF9900';"> 
                  <div align="center"><a href="user8_host_1.asp?bh=<%=bh%>"><font color="#FFFFFF"> 
                    </font></a><a href="user8_host.asp?bh=<%=bh%>"><font color="#FFFFFF">订   
                    单 参 数</font></a></div></td>  
                <td width="105" bgcolor="#FF9900" onmouseover="this.style.backgroundColor='#FFD89D';return true;" onmouseout="this.style.backgroundColor='#FF9900';"> 
                  <div align="center"><a href="user8_host_2.asp?bh=<%=bh%>"><font color="#FFFFFF">更改Ftp密码</font></a></div></td>
                <td width="114" bgcolor="#FF9900" onmouseover="this.style.backgroundColor='#FFD89D';return true;" onmouseout="this.style.backgroundColor='#FF9900';"> 
                  <div align="center"><a href="user8_host_3.asp?bh=<%=bh%>"><font color="#FFFFFF">绑 
                    定 域 名</font></a></div></td>
                <td width="94" bgcolor="#FF9900" onmouseover="this.style.backgroundColor='#FFD89D';return true;" onmouseout="this.style.backgroundColor='#FF9900';"> 
                  <div align="center"><a href="user8_host_4.asp?bh=<%=bh%>"><font color="#FFFFFF">修改默认主页</font></a></div></td>
                <td width="87" bgcolor="#FF9900" onmouseover="this.style.backgroundColor='#FFD89D';return true;" onmouseout="this.style.backgroundColor='#FF9900';"><div align="center"><a href="user8_host_1.asp?bh=<%=bh%>"><font color="#FFFFFF">空 
                    间 参 数</font></a></div></td>
              </tr>
            </table>
            <table width="81%" border="0" align="center">
              <tr> 
                <td height="75" valign="middle" bgcolor="#FFF4E6"> 
                  <ul>
                    
                    <li>缺省文档是指你如果只输入域名，比如：www.luojinyu.com的主机缺省显示的页面</li>
                    <li>缺省文档按照优先级排列，第一个文件不存在，将查找第二个文件</li>
                    <li>推荐设置成 index.html,index.htm,default.asp </li>  
                  </ul>
                  　<font color="#FF0000">★ 注：</font>默认文请用半角的&quot;,&quot;分开,中间不能带空格</td>
              </tr>
            </table>
            <p>&nbsp;</p>
            <form name="form3" method="post" action="user8_host_4.asp?bh=<%=bh%>">
              <table width="461" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFE3BB"bordercolorlight="" bordercolordark="ffffff">
                <tr> 
                  <td colspan="2" bgcolor="#FFF8EC"><font color="#FF6600">◆ 修改默认文件   
                    ◆   
                    <input name="w" type="hidden" id="w" value="edit">
                    </font></td>
                </tr>
                <tr> 
                  <td width="86" bgcolor="#FFF8EC">
<div align="center">当前设置:</div></td>
                  <td width="369">
                    <input name="default" type="text" id="default" value="<%= read_def %>" size="45"></td>
                </tr>
                <tr>
                  <td height="26" bgcolor="#FFF8EC">&nbsp;</td>
                  <td>
<input type="submit" name="Submit2" value="-修改-"></td>
                </tr>
              </table>
            </form>
            <p>&nbsp;</p>
            
          </td>
        </tr>
      </table>
      <table width="516" border="0" align="center" cellpadding="1" cellspacing="1">
        <tr> 
          <td width="100" bgcolor="FF9900" onmouseover="this.style.backgroundColor='#FFD89D';return true;" onmouseout="this.style.backgroundColor='#FF9900';"> 
            <div align="center"><a href="user8_host_1.asp?bh=<%=bh%>"><font color="#FFFFFF"> 
              </font></a><a href="user8_host.asp?bh=<%=bh%>"><font color="#FFFFFF">订   
              单 参 数</font></a></div></td>  
          <td width="105" bgcolor="#FF9900" onmouseover="this.style.backgroundColor='#FFD89D';return true;" onmouseout="this.style.backgroundColor='#FF9900';"> 
            <div align="center"><a href="user8_host_2.asp?bh=<%=bh%>"><font color="#FFFFFF">更改Ftp密码</font></a></div></td>
          <td width="114" bgcolor="#FF9900" onmouseover="this.style.backgroundColor='#FFD89D';return true;" onmouseout="this.style.backgroundColor='#FF9900';"> 
            <div align="center"><a href="user8_host_3.asp?bh=<%=bh%>"><font color="#FFFFFF">绑 
              定 域 名</font></a></div></td>
          <td width="94" bgcolor="#FF9900" onmouseover="this.style.backgroundColor='#FFD89D';return true;" onmouseout="this.style.backgroundColor='#FF9900';"> 
            <div align="center"><a href="user8_host_4.asp?bh=<%=bh%>"><font color="#FFFFFF">修改默认主页</font></a></div></td>
          <td width="87" bgcolor="#FF9900" onmouseover="this.style.backgroundColor='#FFD89D';return true;" onmouseout="this.style.backgroundColor='#FF9900';"><div align="center"><a href="user8_host_1.asp?bh=<%=bh%>"><font color="#FFFFFF">空 
              间 参 数</font></a></div></td>
        </tr>
      </table>
      <p>&nbsp;</p></td>
  </tr>
  <tr> 
    <td>&nbsp;</td>
    <td colspan="2">&nbsp;</td>
  </tr>
</table>
<%
call CloseDatabase '关闭数据库链接
%>
<!--#include file="top.asp" -->

</body>
</html>





























