<!--#include virtual="/incs/config.asp" -->
<!--#include virtual="/incs/top.asp" -->
<!--#include virtual="/incs/present.asp" -->
<%
chk_log()
chk_newpwr 4,0,5
	hnme=SafeRequest("hnme")
	If hnme="" Then
	call errorpage(-2,"对不起，参数错误！")

	End If
	if session("sysclass")>=5 then
query="select * from v_hstlst   where h_ftpusr ='"&hnme&"'"
elseif session("sysclass")>=4 then
query="select * from v_hstlst  where h_ftpusr ='"&hnme&"'  and  ((("&session("sysarestr")&" or u_myare=0) and u_rotnme='') or u_rotnme='"&session("usrname")&"')"
end if
	conn.open constr
	rs.open query,conn,1,1
    if rs.recordcount<>1 then
	rs.close
	conn.close
	call errorpage(-2,"对不起，该主机不存在或者您无权操作！")
	end if

%>
<%          hostname=trim(rs("h_ftpusr"))
			    freedomain = rs("h_ftpusr")&"."&rs("h_svrnme") 
			    proid=trim(rs("h_prd"))
				h_sst=rs("g_sst")
				
		%>
<script language=javascript>
		function expl()
		{
		if (identity.style.display=="none")
		identity.style.display="block";
		else
		identity.style.display="none";
		}
		</script>
<table cellspacing=2 cellpadding=0 width="100%" border=0>
  <tbody> 
  <tr> 
    <td  colspan=2 valign="middle"> 
      <table class=line cellspacing=0 cellpadding=0 width="100%" 
                  border=0 align="center">
        <tbody> 
        <tr> 
          <td valign=bottom width="25%" height=20><font color="#000000" class=ddropshadow><b><span class=enbold><strong><font color="#000000">主机列表<a href="index.asp"  class=commonface ><font color="#FF0000">（查询）</font></a></font></strong></span></b></font></td>
          <td valign=bottom noWrap align=right 
                        width="75%"><a href="hst_lst.asp?querytype=8" class=commonface >今天新开通</a> 
            <font color="#000000">|</font> <a href="hst_lst.asp?querytype=9" class=commonface >本周新开通</a> 
            <font color="#000000">|</font> <a href="hst_lst.asp?querytype=10" class=commonface >本周到期</a> 
            <font color="#000000">| </font><a href="hst_lst.asp?querytype=11" class=commonface >本月到期</a></td>
        </tr>
        <tr> 
          <td align=middle width="100%" colspan=2 height=5></td>
        </tr>
        <tr> 
          <td align=middle width="100%" colspan=2 height=2 class=menuline></td>
        </tr>
        </tbody> 
      </table>
      <br>
    </td>
  </tr>
  <tr> 
    <td  colspan=2 valign="middle" height="28"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr> 
          <td> 
            <!--#include file="menu.asp"-->
          </td>
        </tr>
      </table>
      <br>
      <table cellpadding="0" cellspacing="0" id="AutoNumber3" style="border-collapse: collapse" width="100%" align="center" border="0">
        <tr> 
          <td height="4" width="99%" valign="top"  > 
            <table cellpadding="0" cellspacing="0" id="AutoNumber3" style="border-collapse: collapse" width="100%" height="118" border="0">
              <tr> 
                <td  valign="top"> 
                  <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class=datalist>
                    <tr> 
                      <th colspan="3" height="22" class=datalistheader > 
                        <div align="center"><b>主机联系人信息（仅修改数据库）</b> </div>
                      </th>
                    </tr>
                    <tr> 
                      <td height="22" width="25%" class=datalistgrida > 
                        <div align="center">备案编号：</div>
                      </td>
                      <td class=datalistgrida > 
                        <input type="text" size=28  name="h_icp" value="<%=trim(rs("h_icp"))%>">
                      </td>
                      <td class=datalistgrida width="20%" >&nbsp;</td>
                    </tr>
                    <tr> 
                      <td height="22" width="25%" class=datalistgrida > 
                        <div align="center">公司状态：</div>
                      </td>
                      <td class=datalistgrida > 
                        <select name="h_icpstt">
                          <option value="0" <%if trim(rs("h_icpstt"))="0" then
		  response.write " selected "
		  end if  %>>未审核(可修改)</option>
                          <option value="1" <%if trim(rs("h_icpstt"))="1" then
		  response.write " selected "
		  end if  %>>已审核(不可修改)</option>
                        </select>
                      </td>
                      <td class=datalistgrida width="20%" >&nbsp;</td>
                    </tr>
                    <form action=hst_adm_rez.asp method=post>
                      <tr> 
                        <td height="22" width="25%" class=datalistgrida > 
                          <div align="center">公司名称：</div>
                        </td>
                        <td class=datalistgrida > 
                          <input type="text" size=28  name="h_copnme_cn" value="<%=trim(rs("h_copnme_cn"))%>">
                        </td>
                        <td class=datalistgrida width="20%" >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td height="22" width="25%" class=datalistgrida > 
                          <div align="center">联系人：</div>
                        </td>
                        <td class=datalistgrida > 
                          <input type="text" size=28  name="h_ctt_cn"  value="<%=trim(rs("h_ctt_cn"))%>">
                        </td>
                        <td class=datalistgrida >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td height="22" class=datalistgrida > 
                          <div align="center">省份：</div>
                        </td>
                        <td class=datalistgrida > 
                          <input type="text" size=28  name="h_prv_cn"  value="<%=trim(rs("h_prv_cn"))%>">
                        </td>
                        <td class=datalistgrida >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td height="22" class=datalistgrida > 
                          <div align="center">联系地址：</div>
                        </td>
                        <td class=datalistgrida > 
                          <input type="text" size=28  name="h_adr_cn"  value="<%=trim(rs("h_adr_cn"))%>">
                        </td>
                        <td class=datalistgrida >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td height="22" class=datalistgrida  > 
                          <div align="center">邮政编码：</div>
                        </td>
                        <td  class=datalistgrida > 
                          <input type="text" size=28  name="h_cde"  value="<%=trim(rs("h_cde"))%>">
                        </td>
                        <td  class=datalistgrida >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td height="22" class=datalistgrida > 
                          <div align="center">电话：</div>
                        </td>
                        <td class=datalistgrida > 
                          <input type="text" size=28  name="h_tel"  value="<%=trim(rs("h_tel"))%>">
                        </td>
                        <td class=datalistgrida >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td height="22"  class=datalistgrida > 
                          <div align="center">传真：</div>
                        </td>
                        <td  class=datalistgrida > 
                          <input type="text" size=28  name="h_fax"  value="<%=trim(rs("h_fax"))%>">
                        </td>
                        <td  class=datalistgrida >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td height="22" class=datalistgrida  > 
                          <div align="center">邮件：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <input type="text" size=28  name="h_eml"  value="<%=trim(rs("h_eml"))%>">
                        </td>
                        <td class=datalistgrida  > 
                          <input type="submit" name="Submit2" value="更  改" class=btxx >
                          <input type="reset" name="Submit3" value="复  原" class=btxx >
                          <input type=hidden name=hostname value="<%=hostname%>">
                          <input type=hidden name=module value="hst_ctt">
                        </td>
                      </tr>
                    </form>
                  </table>
                  <br>
                  <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class=datalist >
                    <tr > 
                      <th class=datalistheader colspan="3" height="22"> 
                        <div align="center"><b>主机参数修改一（仅修改数据库）</b> </div>
                      </th>
                    </tr>
                    <form action="hst_adm_rez.asp"  method="post">
                      <tr> 
                        <td   class=datalistgrida height="22" width="25%"> 
                          <div align="center">主机型号：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <select name="h_prd" style="font-size: 9pt" size="1" >
                            <option value="<%=rs("g_prd")%>" ><%=rs("g_nme")%></option>
                            <% query="select * from v_pdtlst  where pt_tag='hst'"
						  rs1.open query,conn,1,1
						  while not rs1.eof 
						  response.write "<option value='"&rs1("g_prd")&"' >"&rs1("g_nme")&"</option>"
					  rs1.movenext
					  wend
					  rs1.close
					  %>
                          </select>
                        </td>
                        <td class=datalistgrida width="20%"  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" width="25%"> 
                          <div align="center">申请类型：</div>
                        </td>
                        <td  class=datalistgrida > 
                          <select name="h_regtpe" style="font-size: 9pt" size="1" >
                            <option value="1" <%if rs("h_regtpe")=1 then
					  response.write " selected "
					  end if %> >购买</option>
                            <option value="0" <%if rs("h_regtpe")=0 then
					  response.write " selected "
					  end if %> >试用</option>
                            <option value="5" <%if rs("h_regtpe")=5 then
					  response.write " selected "
					  end if %> >赠送</option>
                          </select>
                        </td>
                        <td  class=datalistgrida >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td   class=datalistgrida height="22" width="25%"> 
                          <div align="center">主机状态：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <select name="h_regstt" style="font-size: 9pt" size="1" >
                            <option value="0"  <%if cint(rs("h_regstt"))=0 then
					  response.write " selected "
					  end if %> >未开通</option>
                            <option value="1" <%if cint(rs("h_regstt"))=1 then
					  response.write " selected "
					  end if %> >运行中</option>
                            <option value="2"  <%if cint(rs("h_regstt"))=2 then
					  response.write " selected "
					  end if %> >暂停中</option>
                            <option value="3" <%if cint(rs("h_regstt"))=3 then
					  response.write " selected "
					  end if %> >处理中</option>
                            <option value="4" <%if cint(rs("h_regstt"))=4 then
					  response.write " selected "
					  end if %> >已被完全删除</option>
                            <option value="5" <%if cint(rs("h_regstt"))=5 then
					  response.write " selected "
					  end if %> >管理员停止</option>
                            <option value="6" <%if cint(rs("h_regstt"))=6 then
					  response.write " selected "
					  end if %> >待开通</option>
                            <option value="17" <%if cint(rs("h_regstt"))=17 then
					  response.write " selected "
					  end if %> >仅删除WEB站点</option>
                          </select>
                        </td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td   class=datalistgrida height="22" width="25%"> 
                          <div align="center">FTP 状态：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <select name="h_ftpstt" style="font-size: 9pt" size="1" >
                            <option value="0"  <%if cint(rs("h_ftpstt"))=0 then
					  response.write " selected "
					  end if %> >未开通</option>
                            <option value="1" <%if cint(rs("h_ftpstt"))=1 then
					  response.write " selected "
					  end if %> >运行中</option>
                            <option value="2"  <%if cint(rs("h_ftpstt"))=2 then
					  response.write " selected "
					  end if %> >暂停中</option>
                            <option value="3" <%if cint(rs("h_ftpstt"))=3 then
					  response.write " selected "
					  end if %> >处理中</option>
                            <option value="4" <%if cint(rs("h_ftpstt"))=4 then
					  response.write " selected "
					  end if %> >删除B</option>
                            <option value="5" <%if cint(rs("h_ftpstt"))=5 then
					  response.write " selected "
					  end if %> >管理员停止</option>
                            <option value="6" <%if cint(rs("h_ftpstt"))=6 then
					  response.write " selected "
					  end if %> >待开通</option>
                            <option value="17" <%if cint(rs("h_ftpstt"))=17 then
					  response.write " selected "
					  end if %> >删除A</option>
                          </select>
                        </td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22"> 
                          <div align="center">申请总期限：</div>
                        </td>
                        <td  class=datalistgrida > 
                          <input type="text" size=24  name="h_yarcnt" value="<%=mynum(rs("h_yarcnt"))%>">
                          年 </td>
                        <td  class=datalistgrida >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22"> 
                          <div align="center">申请总价格：</div>
                        </td>
                        <td  class=datalistgrida > 
                          <input type="text" size=10  name="years" value="<%=trim(rs("years"))%>">
                          X 
                          <%
						  prcstrname="h_prcstr"
						  prcstr=rs(prcstrname)
						  %>
                          <select name="<%=prcstrname%>" style="font-size: 9pt" size="1" >
                            <%
							query="select * from memlst where u_nme='"&rs("h_unme") &"'"
							rs2.open query,conn,1,1
							if not rs2.eof then
							u_prc=rs2("u_prc")
							canlist=true
							end if
							rs2.close 
							if canlist then
							 query="select * from v_prclst where p_prd='"&proid&"' and p_cls="&u_prc&" order by p_tmetpe,p_yar"
					  rs2.open query,conn,1,1
					  while not rs2.eof 
					  response.write "<option "
					  if  prcstr=trim(rs2("p_prcstr")) then
					  response.write " selected "
					  end if
					  p_yar=rs2("p_yar")
					  if p_yar="1" then
					  p_yar=""
					  end if
					  response.write " value="&rs2("p_prcstr")&">"&rs2("p_prc")&"元/"&p_yar&tmenmes(rs2("p_tmetpe"))&"</option>"
					  rs2.movenext
					  wend
					  rs2.close
					  end if
					  %>
                          </select>
                        </td>
                        <td  class=datalistgrida >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">注册时间：</div>
                        </td>
                        <td  class=datalistgrida  > 
                          <input type="text" size=28  name="h_addtme" value="<%=trim(rs("h_addtme"))%>">
                        </td>
                        <td  class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">到期时间：</div>
                        </td>
                        <td  class=datalistgrida  > 
                          <input type="text" size=28  name="h_exptme" value="<%=trim(rs("h_exptme"))%>">
                        </td>
                        <td  class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22"> 
                          <div align="center">服务器免费域名后缀：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <input type="text" size=28  name="h_svrnme" value="<%=trim(rs("h_svrnme"))%>">
                        </td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22"> 
                          <div align="center">服务提供商：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <input type="text" size=28  name="h_cprnme" value="<%=trim(rs("h_cprnme"))%>">
                        </td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">主机IP：</div>
                        </td>
                        <td  class=datalistgrida  > 
                          <input type="text" size=28  name="h_svrip" value="<%=trim(rs("h_svrip"))%>">
                        </td>
                        <td  class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">其它说明：</div>
                        </td>
                        <td  class=datalistgrida  > 
                          <textarea cols="45" name="content" rows="3"><%=trim(rs("content"))%></textarea>
                          <input type=hidden name=hostname value="<%=hostname%>">
                          <input type=hidden name=module value="hst_edta">
                        </td>
                        <td  class=datalistgrida  > 
                          <input type="submit" name="Submit23" value="更  改" class=btxx >
                          <input type="reset" name="Submit33" value="复  原" class=btxx >
                        </td>
                      </tr>
                    </form>
                    <tr > 
                      <th class=datalistheader   colspan="3" height="22"> 
                        <div align="center"><b>主机参数修改二（仅修改数据库）</b> </div>
                      </th>
                    </tr>
                    <form action=hst_adm_rez.asp method=post>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">绑定域名：</div>
                        </td>
                        <td    class=datalistgrida > 
                          <input type="text" size=28  name="h_dme" value="<%=trim(rs("h_dme"))%>">
                        </td>
                        <td   class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22"> 
                          <div align="center">绑定域名数：</div>
                        </td>
                        <td  class=datalistgrida > 
                          <input type="text" size=28  name="h_maxdns" value="<%=trim(rs("h_maxdns"))%>">
                          个（这将限制该主机可以绑定多少个域名）</td>
                        <td  class=datalistgrida >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">默认文档：</div>
                        </td>
                        <td  class=datalistgrida  > 
                          <input type="text" size=28  name="h_dftdoc" value="<%=trim(rs("h_dftdoc"))%>">
                          （中间用,号分隔，如：index.asp,index.htm）</td>
                        <td  class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">启用日志：</div>
                        </td>
                        <td  class=datalistgrida  > 
                          <input type="radio" name="h_log" value="1" <%if trim(rs("h_log"))=1 then
						  response.write " checked "
						  end if %>>
                          1启用 
                          <input type="radio" name="h_log" value="0" <%if trim(rs("h_log"))=0 then
						  response.write " checked "
						  end if %>>
                          0停止 </td>
                        <td  class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">错误页面：</div>
                        </td>
                        <td  class=datalistgrida  > 
                          <input type="text" size=28  name="h_errpge" value="<%=trim(rs("h_errpge"))%>">
                          （默认则保持为空） </td>
                        <td  class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td   class=datalistgrida height="22" > 
                          <div align="center">IP策略：</div>
                        </td>
                        <td   class=datalistgrida > 
                          <input type="text" size=28  name="h_ipsec" value="<%=trim(rs("h_ipsec"))%>">
                          （默认则保持为空） 
                          <input type=hidden name=hostname value="<%=hostname%>">
                          <input type=hidden name=module value="hst_edtb">
                        </td>
                        <td   class=datalistgrida >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">是否付款：</div>
                        </td>
                        <td  class=datalistgrida  > 
                          <input type="radio" name="h_ifpay" value="1" <%if trim(rs("h_ifpay"))=1 then
						  response.write " checked "
						  end if %>>
                          已付款(1) 
                          <input type="radio" name="h_ifpay" value="0" <%if trim(rs("h_ifpay"))=0 then
						  response.write " checked "
						  end if %>>
                          未付款(0)</td>
                        <td  class=datalistgrida  > 
                          <input type="submit" name="Submit24" value="更  改" class=btxx >
                          <input type="reset" name="Submit34" value="复  原" class=btxx >
                        </td>
                      </tr>
                    </form>
                    <form action=hst_adm_rez.asp method=post>
                      <tr > 
                        <th class=datalistheader colspan="3" height="22"> 
                          <div align="center"><b>主机参数修改三（仅修改数据库）</b> </div>
                        </th>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22"> 
                          <div align="center">程序支持：</div>
                        </td>
                        <td class=datalistgrida > 
                          <%
						  h_appid=right("00000"&cstr(rs("h_appid")),5)%>
                          <input type="checkbox" name="h_appid_asp" value="1"  <%if mid(h_appid,5,1)="1" then
					  response.write " checked "
					  end if %>>
                          ASP 
                          <input type="checkbox" name="h_appid_php" value="1" <%if mid(h_appid,3,1)="1" then
					  response.write " checked "
					  end if %>>
                          PHP 
                          <input type="checkbox" name="h_appid_cgi" value="1" <%if mid(h_appid,4,1)="1" then
					  response.write " checked "
					  end if %>>
                          CGI 
                          <input type="checkbox" name="h_appid_net" value="1" <%if mid(h_appid,2,1)="1" then
					  response.write " checked "
					  end if %>>
                          NET 
                          <input type="checkbox" name="h_appid_dwn" value="1" <%if mid(h_appid,1,1)="1" then
					  response.write " checked "
					  end if %>>
                          禁止下载</td>
                        <td class=datalistgrida >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">空间物理路径：</div>
                        </td>
                        <td  class=datalistgrida  > 
                          <input type="text" size=28  name="h_hmedir" value="<%=trim(rs("h_hmedir"))%>">
                          （该主机在服务器上的物理路径）</td>
                        <td  class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">空间大小：</div>
                        </td>
                        <td  class=datalistgrida  > 
                          <input type="text" size=28  name="h_sze" value="<%=trim(rs("h_sze"))%>">
                          M </td>
                        <td  class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">已用空间大小：</div>
                        </td>
                        <td  class=datalistgrida  > 
                          <input type="text" size=28  name="h_dskqta" value="<%=trim(rs("h_dskqta"))%>">
                          M </td>
                        <td  class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">CPU占用率：</div>
                        </td>
                        <td  class=datalistgrida  > 
                          <input type="text" size=28  name="h_cpu" value="<%=trim(rs("h_cpu"))%>">
                          %</td>
                        <td  class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">网络带宽：</div>
                        </td>
                        <td  class=datalistgrida  > 
                          <input type="text" size=28  name="h_bnd" value="<%=trim(rs("h_bnd"))%>">
                          K</td>
                        <td  class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22"> 
                          <div align="center">最大连接数：</div>
                        </td>
                        <td  class=datalistgrida > 
                          <input type="text" size=28  name="h_maxcns" value="<%=trim(rs("h_maxcns"))%>">
                          个 </td>
                        <td  class=datalistgrida >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">独立进程：</div>
                        </td>
                        <td  class=datalistgrida  > 
                          <input type="radio" name="h_apptpe" value="2" <%if trim(rs("h_apptpe"))="2" then
						  response.write " checked "
						  end if %>>
                          2共享 
                          <input type="radio" name="h_apptpe" value="1" <%if trim(rs("h_apptpe"))="1" then
						  response.write " checked "
						  end if %>>
                          1独立 
                          <input type="radio" name="h_apptpe" value="0" <%if trim(rs("h_apptpe"))="0" then
						  response.write " checked "
						  end if %>>
                          0低进程 </td>
                        <td  class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">空间增加：</div>
                        </td>
                        <td   class=datalistgrida > 
                          <input type="text" size=28  name="h_szeadd" value="<%=trim(rs("h_szeadd"))%>">
                          M </td>
                        <td   class=datalistgrida >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22"> 
                          <div align="center">在线人数增加：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <input type="text" size=28  name="h_cnsadd" value="<%=trim(rs("h_cnsadd"))%>">
                          个 
                          <input type=hidden name=module value="hst_edtc">
                          <input type=hidden name=hostname value="<%=hostname%>">
                        </td>
                        <td class=datalistgrida  > 
                          <input type="submit" name="Submit22" value="更  改" class=btxx >
                          <input type="reset" name="Submit32" value="复  原" class=btxx >
                        </td>
                      </tr>
                    </form>
                    <form action=hst_adm_rez.asp method=post>
                      <tr > 
                        <th class=datalistheader colspan="3" height="22"> 
                          <div align="center"><b>主机参数修改四（仅修改数据库）</b> </div>
                        </th>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22"> 
                          <div align="center">赠送品一产品编号：</div>
                        </td>
                        <td class=datalistgrida > 
                          <select name="pstprd1">
                            <option value="" <%if trim(rs("pstprd1"))="" then
					  response.write " selected "
					  end if %>>没有赠送品</option>
                            <% 
				query="select * from v_pdtlst  where pt_tag<>'set' order by pt_odr,pc_odr"
						rs1.open query,conn,1,1
						while not rs1.eof 
						response.write "<option style='color:"&trim(rs1("pt_clr"))&";' value="&rs1("g_prd")
						if trim(rs1("g_prd"))=trim(rs("pstprd1")) then
						response.write " selected "
						end if
						response.write ">"&rs1("g_nme")&"----"&trim(Rs1("pt_nme"))&"</option>"
						rs1.movenext
						wend
						rs1.close
						%>
                          </select>
                        </td>
                        <td class=datalistgrida width="20%" >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">赠送品一：</div>
                        </td>
                        <td  class=datalistgrida  > 
                          <input type="text" size=28  name="pstnme1" value="<%=rs("pstnme1")%>">
                          填：域名/主机名/FTP名/数据库名...</td>
                        <td  class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22"> 
                          <div align="center">赠送品二产品编号：</div>
                        </td>
                        <td  class=datalistgrida > 
                          <select name="pstprd2">
                            <option value="" <%if trim(rs("pstprd2"))="" then
					  response.write " selected "
					  end if %>>没有赠送品</option>
                            <% 
				query="select * from v_pdtlst  where pt_tag<>'set' order by pt_odr,pc_odr"
						rs1.open query,conn,1,1
						while not rs1.eof 
						response.write "<option style='color:"&trim(rs1("pt_clr"))&";' value="&rs1("g_prd")
						if trim(rs1("g_prd"))=trim(rs("pstprd2")) then
						response.write " selected "
						end if
						response.write ">"&rs1("g_nme")&"----"&trim(Rs1("pt_nme"))&"</option>"
						rs1.movenext
						wend
						rs1.close
						%>
                          </select>
                        </td>
                        <td  class=datalistgrida >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">赠送品二：</div>
                        </td>
                        <td  class=datalistgrida  > 
                          <input type="text" size=28  name="pstnme2" value="<%=rs("pstnme2")%>">
                          填：域名/主机名/FTP名/数据库名... </td>
                        <td  class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">赠送品三产品编号：</div>
                        </td>
                        <td   class=datalistgrida > 
                          <select name="pstprd3">
                            <option value="" <%if trim(rs("pstprd3"))="" then
					  response.write " selected "
					  end if %>>没有赠送品</option>
                            <% 
				query="select * from v_pdtlst  where pt_tag<>'set' order by pt_odr,pc_odr"
						rs1.open query,conn,1,1
						while not rs1.eof 
						response.write "<option style='color:"&trim(rs1("pt_clr"))&";' value="&rs1("g_prd")
						if trim(rs1("g_prd"))=trim(rs("pstprd3")) then
						response.write " selected "
						end if
						response.write ">"&rs1("g_nme")&"----"&trim(Rs1("pt_nme"))&"</option>"
						rs1.movenext
						wend
						rs1.close
						%>
                          </select>
                        </td>
                        <td   class=datalistgrida >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22"> 
                          <div align="center">赠送品三：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <input type="text" size=28  name="pstnme3" value="<%=rs("pstnme3")%>">
                          填：域名/主机名/FTP名/数据库名... </td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22"> 
                          <div align="center">获得此赠送品的产品编号：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <select name="pstrotprd">
                            <option value="" <%if trim(rs("pstrotprd"))="" then
					  response.write " selected "
					  end if %>>非赠送品</option>
                            <% 
				query="select * from v_pdtlst  where pt_tag<>'set' order by pt_odr,pc_odr"
						rs1.open query,conn,1,1
						while not rs1.eof 
						response.write "<option style='color:"&trim(rs1("pt_clr"))&";' value="&rs1("g_prd")
						if trim(rs1("g_prd"))=trim(rs("pstrotprd")) then
						response.write " selected "
						end if
						response.write ">"&rs1("g_nme")&"----"&trim(Rs1("pt_nme"))&"</option>"
						rs1.movenext
						wend
						rs1.close
						%>
                          </select>
                        </td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22"> 
                          <div align="center">获得此赠送品的产品：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <input type="text" size=28  name="pstrotnme" value="<%=rs("pstrotnme")%>">
                          填：域名/主机名/FTP名/数据库名... 
                          <input type=hidden name=hostname value="<%=hostname%>">
                          <input type=hidden name=module value="hst_edtd">
                        </td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida  height="22" > 
                          <div align="center">所属套餐名称：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <input type="text" size=28  name="setnme" value="<%=trim(rs("setnme"))%>">
                        </td>
                        <td class=datalistgrida  > 
                          <input type="submit" name="Submit222" value="更  改" class=btxx >
                          <input type="reset" name="Submit322" value="复  原" class=btxx >
                        </td>
                      </tr>
                    </form>
                  </table>
                  <br>
                  <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class=datalist>
                    <tr > 
                      <th colspan="3" height="22" class=datalistheader >&nbsp;</th>
                    </tr>
                  </table>
                  <br>
                </td>
              </tr>
            </table>
            <%
rs.close
conn.close
%>
          </td>
        </tr>
        <tr> 
          <td height="4" width="99%" valign="top"  >&nbsp;</td>
        </tr>
      </table>
      <br>
      <br>
      <br>
    </td>
  </tr>
  </tbody> 
</table>
<!--#include virtual="/incs/bottom.asp"-->



