<!--#include virtual="/incs/config.asp"-->
<!--#include virtual="/incs/top.asp"-->
<% chk_log()%>
<%
chk_newpwr 4,20,2
g_prd=trim(SafeRequest("g_prd"))
gid=SafeRequest("gid")
if g_prd="" and chk_int(gid)=false then
call errorpage(-2,"对不起，参数错误！")
end if
conn.open constr
if g_prd<>"" then
query="select * from v_pdtlst where g_prd='"&g_prd&"'"
else
query="select * from v_pdtlst where g_id="&gid
end if
rs1.open query,conn,1,1
if rs1.eof then
call errorpage(-2,"对不起，该产品不存在！")
end if
ptid=(rs1("pt_id"))
pcid=(rs1("pc_id"))
gid=rs1("g_id")
g_prd=trim(rs1("g_prd"))
pt_tag=trim(Rs1("pt_tag"))
if ptid=null or ptid="" then
ptid=0
end if				
					%>
<script language="javascript">
function toselected()
{
if (theform.g_tag.options(theform.g_tag.options.selectedIndex).value=="dmd"||theform.g_tag.options(theform.g_tag.options.selectedIndex).value=="dmcnd")
{domainreg.style.display="none";
domaindel.style.display="block";
}
else
{domainreg.style.display="block";
domaindel.style.display="none";
}
}
</script>
<table cellspacing=2 cellpadding=0 width="100%" border=0>
  <tbody> 
  <tr> 
    <td  colspan=2 valign="middle" align="center"> 
      <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>产品修改</strong></span></b></font></td>
          <td valign=bottom noWrap align=right 
                        width="75%"><a href="pdt_lst.asp" 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>
      <TABLE cellSpacing=0 cellPadding=0  border=0 bordercolordark="#FFFFFF" height="24" align="center" width=95%>
        <tbody> 
        <TR align=center > 
          <TD height="22"  align=center> 
            <%
						  query="select * from pdttpe  order by pt_odr"
						  rs.open query,conn,1,1
						  if rs.recordcount>0 and ptid=0 then
						  ptid=rs("pt_id")
						  end if
						  while not rs.eof  %>
            <A class=commonface style="text-decoration:underline;" href="pdt_lst.asp?ptid=<%=rs("pt_id")%>"> 
            <%if cint(ptid)=cint(rs("pt_id")) then
			pt_tag=trim(rs("pt_tag"))
						  response.write "<font color=#ff0000>"&trim(rs("pt_nme"))&"</font>"
						  else
						  response.write trim(rs("pt_nme"))
						  end if %>
            </A> 
            <%
						  response.write "|"
						  rs.movenext
						  wend
						 
						  rs.close
						  %>
            <A href="pdt_lst.asp?ptid=0" class=commonface  style="text-decoration:underline;">所有产品</A> 
          </TD>
        </tr>
        </tbody> 
      </table>
      <br>
      <%
	rsstr=""
	i=1
	j=0
	query="select g_id,g_prd from v_pdtlst where pt_id="&ptid&"  order by pt_odr,pc_odr,g_odr"
	rs.open query,conn,1,1
	while not rs.eof
	if clng(rs("g_id"))=clng(gid) then
	j=i
	end if
	rsstr=rsstr&"|" &cstr(rs("g_prd"))
	rs.movenext
	if not rs.eof then
	i=i+1
	end if
	wend
	rs.close
    rspre=j-1
	rspnext=j+1
	rsstrs=split(rsstr,"|")
	if rspre<=0 then
	rsprename=""
	else
	rsprename=rsstrs(rspre)
	end if
	if rspnext>i then
	rspnextname=""
	else
	rspnextname=rsstrs(rspnext)
	end if
 	%>
      <input <%if rsprename="" then
	  response.write " disabled "
	  end if %> type="button" name="Submit32" value="上一个" class=btxx onClick="javascript:location.href='pdt_edt.asp?g_prd=<%=rsprename%>';" title="产品编号：<%=rsprename%>">
      <input <%if rspnextname="" then
	  response.write " disabled "
	  end if %> type="button" name="Submit32" value="下一个" class=btxx onClick="javascript:location.href='pdt_edt.asp?g_prd=<%=rspnextname%>';"  title="产品编号：<%=rspnextname%>">
      <br>
    </td>
  </tr>
  <form action="pdt_mng.asp" method=post name=theform>
    <tr> 
      <td  colspan=2 valign="top" height="28"> 
        <table width="80%" border="0" cellspacing="0" cellpadding="10" align="center" class=datalist>
          <tr> 
            <td ><b>注意：该操作仅用于修改产品显示参数，不涉及到产品相关参数的修改，请在上级服务商的指导下使用本功能。<br>
              <br>
              基本信息</b></td>
          </tr>
          <tr> 
            <td class=datagroup> 
              <table border=0 cellpadding=0 
                        cellspacing=0 class=datalist width="98%" >
                <tbody> 
                <tr  > 
                  <td height="22" width="20%"> 名称<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td width="40%"> 
                    <input type="text" name="g_nme" size="28"  value="<%=trim(Rs1("g_nme"))%>">
                  </td>
                  <td>产品显示的名称</td>
                <tr  > 
                  <td height="22">编号<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td> 
                    <input type="text" name="g_prd_a" size="28"  value="<%=trim(Rs1("g_prd"))%>" disabled=1>
                    <input type="hidden" name="g_prd"  value="<%=trim(Rs1("g_prd"))%>">
                  </td>
                  <td>产品编号(不可重复)</td>
                </tr>
                <tr  > 
                  <td height="22">产品类型<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td> 
                    <select name="g_pdtclsss" disabled=1>
                      <% 
				query="select * from v_pdtcls  order by pt_odr,pc_odr"
						rs.open query,conn,1,1
						pt_tagnull=true
						while not rs.eof 
						
						response.write "<option style='color:"&trim(rs("pt_clr"))&";' value="&rs("pc_id")
						if (rs1("g_pdtcls"))=(rs("pc_id")) then
						response.write " selected "
						pt_tagnull=false
						end if
						response.write ">"&rs("pc_nme")&"----"&trim(Rs("pt_nme"))&"</option>"
						
						rs.movenext
						wend
						rs.close
						%>
                    </select><input type="hidden" name="g_pdtcls" value="<%=trim(Rs1("g_pdtcls"))%>" >
                  </td>
                  <td>把该产品复制为 
                    <input type="text" name="newprd" size="10" value="填新编号" onmousedown="javascript:this.value='';">
                    <input type="button" name="Submit4" value="修 改" class=btxx onClick="javascript:document.theform.submit();">
                  </td>
                </tr>
                <tr> 
                  <td height="22" >成本价/单位<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td > 
                    <input type="text" name="g_cst" size="10"  value="<%=trim(Rs1("g_cst"))%>" >
                    元每 
                    <select name="g_tmetpess" disabled=1>
                      <%
					for i=0 to ubound(tmenmes)
					response.write "<option value="&i
					if  cint(rs1("g_tmetpe"))=i then
					response.write " selected "
					end if
					response.write ">"&tmenmes(i)&"</option>"
					 next
					  %>
                    </select><input type="hidden" name="g_tmetpe" value="<%=trim(Rs1("g_tmetpe"))%>" >
                  </td>
                  <td >&nbsp;</td>
                </tr>
                <tr  > 
                  <td height="22">是否显示<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td> 
                    <select name="g_shw">
                      <option value="1"  <% if cint(rs1("g_shw"))=1 then 
					  response.write " selected "
					  end if %>>显示</option>
                      <option value="0"  <% if cint(rs1("g_shw"))=0 then 
					  response.write " selected "
					  end if %>>不可显示</option>
                    </select>
                  </td>
                  <td>是否在价格表中显示</td>
                </tr>
                <tr  > 
                  <td height="22">开通方式<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td> 
                    <select name="g_ifnowss" disabled=1>
                      <option value="1"  <% if rs1("g_ifnow")=1 then 
					  response.write " selected "
					  end if %>>会员实时开通;管理员实时开通</option>
                      <option value="2"  <% if rs1("g_ifnow")=2 then 
					  response.write " selected "
					  end if %>>会员手工开通;管理员实时开通</option>
                      <option value="0"  <% if rs1("g_ifnow")=0 then 
					  response.write " selected "
					  end if %>>会员手工开通;管理员手工开通</option>
                    </select><input type="hidden" name="g_ifnow" value="<%=trim(Rs1("g_ifnow"))%>" >
                  </td>
                  <td>是否实时开通</td>
                </tr>
                <tr  > 
                  <td height="22">管理方式<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td> 
                    <select name="g_ifnowctlss" disabled=1>
                      <option value="1" <% if rs1("g_ifnowctl")=1 then 
					  response.write " selected "
					  end if %>>会员实时管理;管理员实时管理</option>
                      <option value="2" <% if rs1("g_ifnowctl")=2 then 
					  response.write " selected "
					  end if %>>会员手工管理;管理员实时管理</option>
                      <option value="0" <% if rs1("g_ifnowctl")=0 then 
					  response.write " selected "
					  end if %>>会员手工管理;管理员手工管理</option>
                    </select><input type="hidden" name="g_ifnowctl" value="<%=trim(Rs1("g_ifnowctl"))%>" >
                  </td>
                  <td>是否实时管理</td>
                </tr>
                <tr  > 
                  <td height="22">暂停开设的原因</td>
                  <td>：</td>
                  <td> 
                    <input type="text" name="g_errss" disabled=1 size="28" style="color:#ff0000;" value="<%=trim(Rs1("g_err"))%>" >
					<input type="hidden" name="g_err" value="<%=trim(Rs1("g_err"))%>" >
                  </td>
                  <td>保持为空则表正常开设</td>
                </tr>
                <tr  > 
                  <td height="22">暂停管理的原因</td>
                  <td>：</td>
                  <td> 
                    <input type="text" name="g_errctlss" disabled=1 size="28" style="color:#ff0000;" value="<%=trim(Rs1("g_errctl"))%>" >
					<input type="hidden" name="g_errctl" value="<%=trim(Rs1("g_errctl"))%>" >
                  </td>
                  <td>保持为空则表正常管理</td>
                </tr>
                <tr  > 
                  <td height="22">排列顺序<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td> 
                    <input type="text" name="g_odr" size="28" value="<%=trim(Rs1("g_odr"))%>" >
                    <input type="hidden" name="module" value="pdt_edt">
                    <input type="hidden" name="gid" value="<%=gid%>">
                  </td>
                  <td>价格表里的排列顺序</td>
                </tr>
                <tr  > 
                  <td height="22">服务提供商</td>
                  <td>：</td>
                  <td> 
                    <input type="text" name="g_cprnme" size="28" value="<%=trim(Rs1("g_cprnme"))%>" >
                  </td>
                  <td>提供服务的合作商</td>
                </tr>
                <tr  > 
                  <td height="22" width="20%">产品操作类型<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td> 
                    <select name="g_tagss" disabled=1 onchange="javascript:toselected();">
                      <%
					query="select * from pdttpe order by pt_odr"
					rs.open query,conn,1,1
					while not rs.eof 
					call showpdt(trim(rs("pt_nme")),trim(rs("pt_tag")),trim(rs("pt_clr")),trim(rs1("g_tag")))
					rs.movenext
					wend
					rs.close
					%>
                    </select><input type="hidden" name="g_tag" value="<%=trim(Rs1("g_tag"))%>" >
                  </td>
                  <td>&nbsp;</td>
                </tr>
                <tr  > 
                  <td height="22" width="20%">产品代理权限*</td>
                  <td width="10">：</td>
                  <td> 
                    <select name="g_ifagtss" disabled=1>
                      <option value="0"  <%if rs1("g_ifagt")="0" then
					  response.write " selected"
					  end if %>>禁止下级平台获取该产品</option>
                      <option value="1" <%if rs1("g_ifagt")="1" then
					  response.write " selected"
					  end if %>>允许下级平台获取该产品</option>
                    </select><input type="hidden" name="g_ifagt" value="<%=trim(Rs1("g_ifagt"))%>" >
                  </td>
                  <td>&nbsp;</td>
                </tr>
                <tr  > 
                  <td height="22">图片链接</td>
                  <td>：</td>
                  <td colspan="2"> 
                    <input type="text" name="g_pic" size="58" value="<%=trim(Rs1("g_pic"))%>" >
                  </td>
                </tr>
                <tr  > 
                  <td height="22">简短说明</td>
                  <td>：</td>
                  <td colspan="2"> 
                    <input type="text" name="g_inf" size="58" value="<%=trim(Rs1("g_inf"))%>" >
                  </td>
                </tr>
                <tr  > 
                  <td height="22">详细说明</td>
                  <td>：</td>
                  <td colspan="2"> 
                    <textarea name="g_cnt" cols="58" rows="5"><%=trim(Rs1("g_cnt"))%></textarea>
                  </td>
                </tr>
                </tbody> 
              </table>
            </td>
          </tr>
          <% if pt_tag="dme"  then %>
          <tr> 
            <td ><b>域名必填（仅对英文域名起作用）</b></td>
          </tr>
          <tr> 
            <td class=datagroup> 
              <table border=0 cellpadding=0 
                        cellspacing=0 class=datalist width="98%"  id=domainreg style="display:block;">
                <tbody> 
                <tr  > 
                  <td height="22" width="20%">域名注册商<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td width="40%"> 
                    <select name="g_cprs" disabled=1 style="font-size: 9pt" size="1" >
                      <option value="0"  >由用户选择注册商</option>
                      <% 
					  query="select * from pltdns where pl_stt=1  order by pl_tpe"
					  rs2.open query,conn,1,1
					  while not rs2.eof 
					  response.write "<option value='"&rs2("pl_tpe")&"' "
					  if rs1("g_cpr")=rs2("pl_tpe") then
					  response.write " selected "
					  end if
					  response.write ">"&rs2("pl_nme")
					  if rs2("pl_tpe")=3 then
					  response.write "(仅对转入DNS管理可选)"
					  end if
					  response.write "</option>"
					  rs2.movenext
					  wend
					  rs2.close
					  %>
                    </select><input type="hidden" name="g_cpr" value="<%=trim(Rs1("g_cpr"))%>" >
                  </td>
                  <td>对转入DNS管理，这一选项表示DNS解析提供商</td>
                </tr>
                <tr  > 
                  <td height="22" width="20%">DNS解析条数<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td> 
                    <input type="text" name="g_maxdnss" size="26" disabled=1  value="<%=trim(Rs1("g_maxdns"))%>" ><input type="hidden" name="g_maxdns" value="<%=trim(Rs1("g_maxdns"))%>" >
                    条 </td>
                  <td>&nbsp;</td>
                </tr>
                </tbody> 
              </table>
              <table border=0 cellpadding=0 
                        cellspacing=0 class=datalist width="98%"  id=domaindel style="display:none;">
                <tbody> 
                <tr  > 
                  <td height="22" width="20%">域名删除的期限<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td width="40%"> 正式注册后 
                    <input type="text" name="g_maxcnss" size="20" disabled=1   value="<%=trim(Rs1("g_maxcns"))%>" >
					<input type="hidden" name="g_maxcns" value="<%=trim(Rs1("g_maxcns"))%>" >
                    天</td>
                  <td>仅对com.net.org以及cn类域名生效，当前支持该操作的仅有商务中国域名</td>
                </tr>
                </tbody> 
              </table>
            </td>
          </tr>
          <% end if %>
          <% if pt_tag="hst"  then %>
          <tr> 
            <td ><b>主机必填</b></td>
          </tr>
          <tr> 
            <td class=datagroup> 
              <table border=0 cellpadding=0 
                        cellspacing=0 class=datalist width="98%" >
                <tbody> 
                <tr  > 
                  <td height="22" width="20%">操作系统<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td width="40%"> 
                    <select name="g_sstss" disabled=1>
                      <option value="0" <% if rs1("g_sst")="0" then
					  response.write " selected "
					  end if %>>不限制</option>
                      <option value="1" <% if rs1("g_sst")="1" then
					  response.write " selected "
					  end if %>>Win2000系统</option>
                      <option value="3" <% if rs1("g_sst")="3" then
					  response.write " selected "
					  end if %>>Win2003系统</option>
                      <option value="2" <% if rs1("g_sst")="2" then
					  response.write " selected "
					  end if %> >Linux系统</option>
                    </select><input type="hidden" name="g_sst" value="<%=trim(Rs1("g_sst"))%>" >
                  </td>
                  <td>服务器所安装的操作系统</td>
                </tr>
                <tr  > 
                  <td height="22" width="20%">服务器分类<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td width="40%"> 
                    <select name="g_svrtpess" disabled=1>
                      <option value="NULL">未定义</option>
                      <% query="select * from svrtpe order by st_tid"
					rs2.open query,conn,1,1
					while not rs2.eof 
					if rs1("g_svrtpe")=rs2("st_tid") then
					response.write "<option selected value="&rs2("st_tid")&">"&rs2("st_nme")&"</option>"
					else
					response.write "<option  value="&rs2("st_tid")&">"&rs2("st_nme")&"</option>"
					end if
					rs2.movenext
					wend
					rs2.close
					%>
                    </select><input type="hidden" name="g_svrtpe" value="<%=trim(Rs1("g_svrtpe"))%>" >
                  </td>
                  <td>则主机将开在此分类下的服务器里</td>
                </tr>
                <tr  > 
                  <td height="22">空间大小<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_szess" size="26" disabled=1 value="<%=rs1("g_sze")%>"><input type="hidden" name="g_sze" value="<%=trim(Rs1("g_sze"))%>" >
                    M </td>
                  <td>主机空间容量</td>
                </tr>
                <tr  > 
                  <td height="22">并发连接数<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_maxcnsss" disabled=1 size="26" value="<%=rs1("g_maxcns")%>"><input type="hidden" name="g_maxcns" value="<%=trim(Rs1("g_maxcns"))%>" >
                    个 </td>
                  <td>指IIS并发连接数</td>
                </tr>
                <tr  > 
                  <td height="22">可绑定域名数<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_maxdnsss" disabled=1 size="26" value="<%=rs1("g_maxdns")%>"><input type="hidden" name="g_maxdns" value="<%=trim(Rs1("g_maxdns"))%>" >
                    个 </td>
                  <td>指可以同时绑定多少个域名</td>
                </tr>
                <tr  > 
                  <td height="22">空间大小(试用)<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_szetstss" disabled=1 size="26" value="<%=rs1("g_szetst")%>"><input type="hidden" name="g_szetst" value="<%=trim(Rs1("g_szetst"))%>" >
                    M </td>
                  <td>主机空间容量</td>
                </tr>
                <tr  > 
                  <td height="22">并发连接数(试用)<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_maxcnststss" disabled=1 size="26" value="<%=rs1("g_maxcnstst")%>"><input type="hidden" name="g_maxcnstst" value="<%=trim(Rs1("g_maxcnstst"))%>" >
                    个 </td>
                  <td>指IIS并发连接数</td>
                </tr>
                <tr  > 
                  <td height="22">可绑定域名数(试用)<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_maxdnststss" disabled=1 size="26" value="<%=rs1("g_maxdnstst")%>"><input type="hidden" name="g_maxdnstst" value="<%=trim(Rs1("g_maxdnstst"))%>" >
                    个 </td>
                  <td>指可以同时绑定多少个域名</td>
                </tr>
                <tr  > 
                  <td height="22">试用时间<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td> 
                    <input type="text" name="g_tstss"  disabled=1 size="26" value="<%=rs1("g_tst")%>"><input type="hidden" name="g_tst" value="<%=trim(Rs1("g_tst"))%>" >
                    天 </td>
                  <td>主机试用天数,0表示不可试用</td>
                </tr>
                <tr  > 
                  <td height="22">FTP同时连接数<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_ftpcnsss" disabled=1 size="26" value="<%=rs1("g_ftpcns")%>"><input type="hidden" name="g_ftpcns" value="<%=trim(Rs1("g_ftpcns"))%>" >
                    个 </td>
                  <td>指FTP帐号同时可以支持几个用户连接</td>
                </tr>
                <tr  > 
                  <td height="22">脚本支持<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td colspan="2"> 
                    <%g_appid=right("00000"&trim(rs1("g_appid")),5)%>
                    <input type="checkbox" name="g_appid_aspss" value="1"  disabled=1 <% if mid(g_appid,5,1)="1" then
					  response.write " checked "
					  end if %> ><input type="hidden" name="g_appid_asp" value="<%=mid(g_appid,5,1)%>" >
                    asp 
                    <input type="checkbox" name="g_appid_phpss" value="1"  disabled=1  <% if mid(g_appid,3,1)="1" then
					  response.write " checked "
					  end if %>  ><input type="hidden" name="g_appid_php" value="<%=mid(g_appid,3,1)%>" >
                    php 
                    <input type="checkbox" name="g_appid_cgiss" value="1" disabled=1  <% if mid(g_appid,4,1)="1" then
					  response.write " checked "
					  end if %> ><input type="hidden" name="g_appid_cgi" value="<%=mid(g_appid,4,1)%>" >
                    cgi 
                    <input type="checkbox" name="g_appid_netss" value="1" disabled=1   <% if mid(g_appid,2,1)="1" then
					  response.write " checked "
					  end if %>  ><input type="hidden" name="g_appid_net" value="<%=mid(g_appid,2,1)%>" >
                    net 
                    <input type="checkbox" name="g_appid_dwnss" value="1" disabled=1 <% if mid(g_appid,1,1)="1" then
					  response.write " checked "
					  end if %>  ><input type="hidden" name="g_appid_dwn" value="<%= mid(g_appid,1,1)%>" >
                    禁止下载</td>
                </tr>
                <tr  > 
                  <td height="22">CPU占用率<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_cpuss" disabled=1 size="26" value="<%=rs1("g_cpu")%>"><input type="hidden" name="g_cpu" value="<%=trim(Rs1("g_cpu"))%>" >
                    ％</td>
                  <td>主机的CPU 使用率（0表示不限制）</td>
                </tr>
                <tr  > 
                  <td height="22">网络带宽<font color="#FF0000">*</font></td>
                  <td>&nbsp;</td>
                  <td width="34%"> 
                    <input type="text" name="g_bndss" disabled=1 size="26" value="<%=rs1("g_bnd")%>"><input type="hidden" name="g_bnd" value="<%=trim(Rs1("g_bnd"))%>" >
                    k（1k=1024字节）</td>
                  <td>主机的带宽使用量(0表不限制)</td>
                </tr>
                </tbody> 
              </table>
            </td>
          </tr>
          <% end if %>
          <% if pt_tag="ftp"  then %>
          <tr> 
            <td ><b>FTP空间必填</b></td>
          </tr>
          <tr> 
            <td class=datagroup> 
              <table border=0 cellpadding=0 
                        cellspacing=0 class=datalist width="98%" >
                <tbody> 
                <tr  > 
                  <td height="22" width="20%">操作系统</td>
                  <td width="10">：</td>
                  <td width="40%"> 
                    <select name="g_sstss" disabled=1>
                      <option value="0" <% if rs1("g_sst")="0" then
					  response.write " selected "
					  end if %>>不限制</option>
                      <option value="1" <% if rs1("g_sst")="1" then
					  response.write " selected "
					  end if %>>Win2000系统</option>
                      <option value="3" <% if rs1("g_sst")="3" then
					  response.write " selected "
					  end if %>>Win2003系统</option>
                      <option value="2" <% if rs1("g_sst")="2" then
					  response.write " selected "
					  end if %> >Linux系统</option>
                    </select><input type="hidden" name="g_sst" value="<%=trim(Rs1("g_sst"))%>" >
                  </td>
                  <td>服务器所安装的操作系统</td>
                </tr>
                <tr  > 
                  <td height="22" width="20%">服务器分类<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td width="40%"> 
                    <select name="g_svrtpess" disabled=1>
                      <option value="NULL">未定义</option>
                      <% query="select * from svrtpe order by st_tid"
					rs2.open query,conn,1,1
					while not rs2.eof 
					if rs1("g_svrtpe")=rs2("st_tid") then
					response.write "<option selected value="&rs2("st_tid")&">"&rs2("st_nme")&"</option>"
					else
					response.write "<option  value="&rs2("st_tid")&">"&rs2("st_nme")&"</option>"
					end if
					rs2.movenext
					wend
					rs2.close
					%>
                    </select><input type="hidden" name="g_svrtpe" value="<%=trim(Rs1("g_svrtpe"))%>" >
                  </td>
                  <td>FTP空间将开在此分类下的服务器里</td>
                </tr>
                <tr  > 
                  <td height="22">空间大小<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_szess" disabled=1 size="26" value="<%=rs1("g_sze")%>"><input type="hidden" name="g_sze" value="<%=trim(Rs1("g_sze"))%>" >
                    M </td>
                  <td>FTP空间容量</td>
                </tr>
                <tr  > 
                  <td height="22">FTP帐号个数<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_maxcnsss" disabled=1 size="26" value="<%=rs1("g_maxcns")%>"><input type="hidden" name="g_maxcns" value="<%=trim(Rs1("g_maxcns"))%>" >
                    个 </td>
                  <td>指FTP帐号总数</td>
                </tr>
                <tr  > 
                  <td height="22">空间大小(试用)<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_szetstss" disabled=1 size="26" value="<%=rs1("g_szetst")%>"><input type="hidden" name="g_szetst" value="<%=trim(Rs1("g_szetst"))%>" >
                    M </td>
                  <td>试用FTP空间容量</td>
                </tr>
                <tr  > 
                  <td height="22">FTP帐号个数(试用)<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_maxcnststss" disabled=1 size="26" value="<%=rs1("g_maxcnstst")%>"><input type="hidden" name="g_maxcnstst" value="<%=trim(Rs1("g_maxcnstst"))%>" >
                    个 </td>
                  <td>指试用FTP帐号总数</td>
                </tr>
                <tr  > 
                  <td height="22">试用时间<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td> 
                    <input type="text" name="g_tstss" disabled=1 size="26" value="<%=rs1("g_tst")%>"><input type="hidden" name="g_tst" value="<%=trim(Rs1("g_tst"))%>" >
                    天 </td>
                  <td>FTP空间试用天数,0表示不可试用</td>
                </tr>
                <tr  > 
                  <td height="22">FTP同时连接数<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_ftpcnsss" disabled=1 size="26" value="<%=rs1("g_ftpcns")%>"><input type="hidden" name="g_ftpcns" value="<%=trim(Rs1("g_ftpcns"))%>" >
                    个 </td>
                  <td>指FTP帐号同时可以支持几个用户连接</td>
                </tr>
                </tbody> 
              </table>
            </td>
          </tr>
          <% end if %>
          <% if pt_tag="eml"    then %>
          <tr> 
            <td ><b>邮局必填</b></td>
          </tr>
          <tr> 
            <td class=datagroup> 
              <table border=0 cellpadding=0 
                        cellspacing=0 class=datalist width="98%" >
                <tbody> 
                <tr  > 
                  <td height="22" width="20%">邮局系统<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td width="40%"> 
                    <select name="g_sstss" disabled=1>
                      <option value="1" <% if rs1("g_sst")=1 then
					  response.write "selected "
					  end if %>>IMail系统</option>
                      <option value="2"  <% if rs1("g_sst")=2 then
					  response.write "selected "
					  end if %>>WebEasymail系统</option>
                    </select><input type="hidden" name="g_sst" value="<%=trim(Rs1("g_sst"))%>" >
                  </td>
                  <td>所安装的邮局系统</td>
                </tr>
                <tr  > 
                  <td height="22" width="20%">服务器分类<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td width="40%"> 
                    <select name="g_svrtpess" disabled=1>
                      <option value="NULL">未定义</option>
                      <% query="select * from svrtpe order by st_tid"
					rs2.open query,conn,1,1
					while not rs2.eof 
					if rs1("g_svrtpe")=rs2("st_tid") then
					response.write "<option selected value="&rs2("st_tid")&">"&rs2("st_nme")&"</option>"
					else
					response.write "<option  value="&rs2("st_tid")&">"&rs2("st_nme")&"</option>"
					end if
					rs2.movenext
					wend
					rs2.close
					%>
                    </select><input type="hidden" name="g_svrtpe" value="<%=trim(Rs1("g_svrtpe"))%>" >
                  </td>
                  <td>邮局将开在此分类下的服务器里</td>
                </tr>
                <tr  > 
                  <td height="22">空间大小<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_szess" disabled=1 size="26" value="<%=rs1("g_sze")%>"><input type="hidden" name="g_sze" value="<%=trim(Rs1("g_sze"))%>" >
                    M </td>
                  <td>邮局空间总容量</td>
                </tr>
                <tr  > 
                  <td height="22">邮局用户数<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_maxcnsss" disabled=1 size="26" value="<%=rs1("g_maxcns")%>"><input type="hidden" name="g_maxcns" value="<%=trim(Rs1("g_maxcns"))%>" >
                    个 </td>
                  <td>邮局可以开设的邮箱数</td>
                </tr>
                <tr  > 
                  <td height="22">空间大小(试用)<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_szetstss" disabled=1 size="26" value="<%=rs1("g_szetst")%>"><input type="hidden" name="g_szetst" value="<%=trim(Rs1("g_szetst"))%>" >
                    M </td>
                  <td>邮局空间总容量</td>
                </tr>
                <tr  > 
                  <td height="22">邮局用户数(试用)<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_maxcnststss" disabled=1 size="26" value="<%=rs1("g_maxcnstst")%>"><input type="hidden" name="g_maxcnstst" value="<%=trim(Rs1("g_maxcnstst"))%>" >
                    个 </td>
                  <td>邮局可以开设的邮箱数</td>
                </tr>
                <tr  > 
                  <td height="22">可绑定域名数<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_maxdnsss" disabled=1 size="26" value="<%=rs1("g_maxdns")%>"><input type="hidden" name="g_maxdns" value="<%=trim(Rs1("g_maxdns"))%>" >
                    个 </td>
                  <td>指可以同时绑定多少个域名</td>
                </tr>
                <tr  > 
                  <td height="22">试用时间<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td> 
                    <input type="text" name="g_tstss" disabled=1 size="26" value="<%=rs1("g_tst")%>"><input type="hidden" name="g_tst" value="<%=trim(Rs1("g_tst"))%>" >
                    天 </td>
                  <td>邮局试用天数,0表示不可试用</td>
                </tr>
                </tbody> 
              </table>
            </td>
          </tr>
          <% end if %>
          <% if pt_tag="svr"    then %>
          <tr> 
            <td ><b>服务器租用必填</b></td>
          </tr>
          <tr> 
            <td class=datagroup> 
              <table border=0 cellpadding=0 
                        cellspacing=0 class=datalist width="98%" >
                <tbody> 
                <tr  > 
                  <td height="22" width="20%">IDC机房描述<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td width="40%"> 
                    <input type="text" name="g_sidcss" disabled=1 size="26" value="<%=rs1("g_sidc")%>"><input type="hidden" name="g_sidc" value="<%=trim(Rs1("g_sidc"))%>" >
                  </td>
                  <td>如&quot;厦门超级信息港&quot;</td>
                </tr>
                <tr  > 
                  <td height="22">服务器高度描述<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_sucntss" disabled=1 size="26" value="<%=rs1("g_sucnt")%>"><input type="hidden" name="g_sucnt" value="<%=trim(Rs1("g_sucnt"))%>" >
                  </td>
                  <td>如&quot;1U&quot;</td>
                </tr>
                <tr  > 
                  <td height="22">服务器带宽描述<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_sbndss" disabled=1 size="26" value="<%=rs1("g_sbnd")%>"><input type="hidden" name="g_sbnd" value="<%=trim(Rs1("g_sbnd"))%>" >
                  </td>
                  <td>如&quot;100M共享&quot;</td>
                </tr>
                <tr  > 
                  <td height="22">CPU描述<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_scpuss" disabled=1 size="26" value="<%=rs1("g_scpu")%>"><input type="hidden" name="g_scpu" value="<%=trim(Rs1("g_scpu"))%>" >
                  </td>
                  <td>如&quot;PIV2.8G *2&quot;</td>
                </tr>
                <tr  > 
                  <td height="22">内存描述<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_sramss" disabled=1 size="26" value="<%=rs1("g_sram")%>"><input type="hidden" name="g_sram" value="<%=trim(Rs1("g_sram"))%>" >
                  </td>
                  <td>如&quot;1024M DDRram&quot;</td>
                </tr>
                <tr  > 
                  <td height="22">硬盘描述<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_shdss" disabled=1 size="26" value="<%=rs1("g_shd")%>"><input type="hidden" name="g_shd" value="<%=trim(Rs1("g_shd"))%>" >
                  </td>
                  <td>如&quot;80G HardDisk&quot;</td>
                </tr>
                <tr  > 
                  <td height="22">IP描述<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_sipss" disabled=1 size="26" value="<%=rs1("g_sip")%>"><input type="hidden" name="g_sip" value="<%=trim(Rs1("g_sip"))%>" >
                  </td>
                  <td>如&quot;免费赠送一个固定IP&quot;</td>
                </tr>
                <tr  > 
                  <td height="22">其它描述</td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_sothss" disabled=1 size="26" value="<%=rs1("g_soth")%>"><input type="hidden" name="g_soth" value="<%=trim(Rs1("g_soth"))%>" >
                  </td>
                  <td>如&quot;连续租用两年赠送服务器硬件产权&quot;</td>
                </tr>
                </tbody> 
              </table>
            </td>
          </tr>
          <% end if %>
          <% if pt_tag="sql"   then %>
          <tr> 
            <td ><b>数据库必填</b></td>
          </tr>
          <tr> 
            <td class=datagroup> 
              <table border=0 cellpadding=0 
                        cellspacing=0 class=datalist width="98%" >
                <tr  > 
                  <td height="22" width="20%">数据库系统<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td width="40%"> 
                    <select name="g_sstss" disabled=1>
                      <option value="1" <% if rs1("g_sst")="1" then
					  response.write " selected "
					  end if %>>MSSQL Server 2000</option>
                      <option value="2" <% if rs1("g_sst")="2" then
					  response.write " selected "
					  end if %> >MYSQL（windows平台）</option>
                      <option value="3" <% if rs1("g_sst")="3" then
					  response.write " selected "
					  end if %> >MYSQL（linux平台）</option>
                    </select><input type="hidden" name="g_sst" value="<%=trim(Rs1("g_sst"))%>" >
                  </td>
                  <td>服务器所安装的数据库系统</td>
                </tr>
                <tr  > 
                  <td height="22" width="20%">服务器分类<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td width="40%"> 
                    <select name="g_svrtpess" disabled=1>
                      <option value="NULL">未定义</option>
                      <% query="select * from svrtpe order by st_tid"
					rs2.open query,conn,1,1
					while not rs2.eof 
					if rs1("g_svrtpe")=rs2("st_tid") then
					response.write "<option selected value="&rs2("st_tid")&">"&rs2("st_nme")&"</option>"
					else
					response.write "<option  value="&rs2("st_tid")&">"&rs2("st_nme")&"</option>"
					end if
					rs2.movenext
					wend
					rs2.close
					%>
                    </select><input type="hidden" name="g_svrtpe" value="<%=trim(Rs1("g_svrtpe"))%>" >
                  </td>
                  <td>数据库将开在此分类下的服务器里</td>
                </tr>
                <tbody> 
                <tr  > 
                  <td height="22" width="20%">空间大小<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td width="40%"> 
                    <input type="text" name="g_szess" disabled=1 size="26" value="<%=rs1("g_sze")%>"><input type="hidden" name="g_sze" value="<%=trim(Rs1("g_sze"))%>" >
                    M </td>
                  <td>数据库空间总容量</td>
                </tr>
                <tr  > 
                  <td height="22" width="20%">空间大小(试用)<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td width="40%"> 
                    <input type="text" name="g_szetstss" disabled=1 size="26" value="<%=rs1("g_szetst")%>"><input type="hidden" name="g_szetst" value="<%=trim(Rs1("g_szetst"))%>" >
                    M </td>
                  <td>数据库空间总容量(试用)</td>
                </tr>
                <tr  > 
                  <td height="22">试用时间<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td> 
                    <input type="text" name="g_tstss" disabled=1 size="26" value="<%=rs1("g_tst")%>"><input type="hidden" name="g_tst" value="<%=trim(Rs1("g_tst"))%>" >
                    天 </td>
                  <td>邮局试用天数,0表示不可试用</td>
                </tr>
                </tbody> 
              </table>
            </td>
          </tr>
          <% end if %>
          <% if pt_tag="set"    then %>
          <tr> 
            <td ><b>捆绑销售必填（注意，所选的产品必须都是有以年为单位的价格定义）</b></td>
          </tr>
          <tr> 
            <td class=datagroup> 
              <table border=0 cellpadding=0 
                        cellspacing=0 class=datalist width="98%" >
                <tbody> 
                <tr  > 
                  <td height="22" width="20%">捆绑产品一</td>
                  <td width="10">：</td>
                  <td> 
                    <select name="g_pstprd1ss" disabled=1>
                      <option value=" " >空值</option>
                      <% 
				query="select * from v_pdtlst  where pt_tag<>'set'  order by pt_odr,pc_odr"
						rs.open query,conn,1,1
						while not rs.eof 
						
						response.write "<option style='color:"&trim(rs("pt_clr"))&";' value="&rs("g_prd")
						if trim(rs1("g_pstprd1"))=trim(rs("g_prd")) then
						response.write " selected "
						end if 
						response.write ">"&rs("g_nme")&"----"&trim(Rs("pt_nme"))&"</option>"
						
						rs.movenext
						wend
						rs.close
						%>
                    </select><input type="hidden" name="g_pstprd1" value="<%=trim(Rs1("g_pstprd1"))%>" >
                  </td>
                  <td>&nbsp;</td>
                </tr>
                <tr  > 
                  <td height="22">捆绑产品二</td>
                  <td>：</td>
                  <td> 
                    <select name="g_pstprd2ss" disabled=1>
                      <option value=" " >空值</option>
                      <% 
				query="select * from v_pdtlst  where pt_tag<>'set'  order by pt_odr,pc_odr"
						rs.open query,conn,1,1
						while not rs.eof 
						
						response.write "<option style='color:"&trim(rs("pt_clr"))&";' value="&rs("g_prd")
						if trim(rs1("g_pstprd2"))=trim(rs("g_prd")) then
						response.write " selected "
						end if 

						response.write ">"&rs("g_nme")&"----"&trim(Rs("pt_nme"))&"</option>"
						
						rs.movenext
						wend
						rs.close
						%>
                    </select><input type="hidden" name="g_pstprd2" value="<%=trim(Rs1("g_pstprd2"))%>" >
                  </td>
                  <td>&nbsp;</td>
                </tr>
                <tr  > 
                  <td height="22">捆绑产品三</td>
                  <td>：</td>
                  <td> 
                    <select name="g_pstprd3ss" disabled=1>
                      <option value=" " >空值</option>
                      <% 
				query="select * from v_pdtlst  where pt_tag<>'set'  order by pt_odr,pc_odr"
						rs.open query,conn,1,1
						while not rs.eof 
						
						response.write "<option style='color:"&trim(rs("pt_clr"))&";' value="&rs("g_prd")
						if trim(rs1("g_pstprd3"))=trim(rs("g_prd")) then
						response.write " selected "
						end if 
						
						response.write ">"&rs("g_nme")&"----"&trim(Rs("pt_nme"))&"</option>"
						
						rs.movenext
						wend
						rs.close
						%>
                    </select><input type="hidden" name="g_pstprd3" value="<%=trim(Rs1("g_pstprd3"))%>" >
                  </td>
                  <td>&nbsp;</td>
                </tr>
                <tr  > 
                  <td height="22">捆绑产品四</td>
                  <td>：</td>
                  <td> 
                    <select name="g_pstprd4ss" disabled=1>
                      <option value=" " >空值</option>
                      <% 
				query="select * from v_pdtlst  where pt_tag<>'set'  order by pt_odr,pc_odr"
						rs.open query,conn,1,1
						while not rs.eof 
						
						response.write "<option style='color:"&trim(rs("pt_clr"))&";' value="&rs("g_prd")
						if trim(rs1("g_pstprd4"))=trim(rs("g_prd")) then
						response.write " selected "
						end if 
						response.write">"&rs("g_nme")&"----"&trim(Rs("pt_nme"))&"</option>"
						
						rs.movenext
						wend
						rs.close
						%>
                    </select><input type="hidden" name="g_pstprd4" value="<%=trim(Rs1("g_pstprd4"))%>" >
                  </td>
                  <td>&nbsp;</td>
                </tr>
                <tr  > 
                  <td height="22">捆绑产品五</td>
                  <td>&nbsp;</td>
                  <td> 
                    <select name="g_pstprd5ss" disabled=1>
                      <option value=" " >空值</option>
                      <% 
				query="select * from v_pdtlst  where pt_tag<>'set'  order by pt_odr,pc_odr"
						rs.open query,conn,1,1
						while not rs.eof 
						
						response.write "<option style='color:"&trim(rs("pt_clr"))&";' value="&rs("g_prd")
						if trim(rs1("g_pstprd5"))=trim(rs("g_prd")) then
						response.write " selected "
						end if 

						response.write ">"&rs("g_nme")&"----"&trim(Rs("pt_nme"))&"</option>"
						
						rs.movenext
						wend
						rs.close
						%>
                    </select><input type="hidden" name="g_pstprd5" value="<%=trim(Rs1("g_pstprd5"))%>" >
                  </td>
                  <td>&nbsp;</td>
                </tr>
                </tbody> 
              </table>
            </td>
          </tr>
          <% end if %>
          <% if  pt_tag<>"set" then %>
          <tr> 
            <td ><b>选填项</b></td>
          </tr>
          <tr> 
            <td class=datagroup> 
              <table border=0 cellpadding=0 
                        cellspacing=0 class=datalist width="98%" >
                <tbody> 
                <tr  > 
                  <td height="22" width="20%">赠送产品一<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td> 
                    <select name="g_pstprd1ss" disabled=1>
                      <option value=" " >空值</option>
                      <% 
				query="select * from v_pdtlst  where pt_tag<>'set'  order by pt_odr,pc_odr"
						rs.open query,conn,1,1
						while not rs.eof 
						
						response.write "<option style='color:"&trim(rs("pt_clr"))&";' value="&rs("g_prd")
						if trim(rs1("g_pstprd1"))=trim(rs("g_prd")) then
						response.write " selected "
						end if
						response.write ">"&rs("g_nme")&"----"&trim(Rs("pt_nme"))&"</option>"
						
						rs.movenext
						wend
						rs.close
						%>
                    </select><input type="hidden" name="g_pstprd1" value="<%=trim(Rs1("g_pstprd1"))%>" >
                  </td>
                  <td>&nbsp;</td>
                </tr>
                <tr  > 
                  <td height="22" width="20%">赠送产品二<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td> 
                    <select name="g_pstprd2ss" disabled=1>
                      <option value=" " >空值</option>
                      <% 
				query="select * from v_pdtlst  where pt_tag<>'set'  order by pt_odr,pc_odr"
						rs.open query,conn,1,1
						while not rs.eof 
						
						response.write "<option style='color:"&trim(rs("pt_clr"))&";' value="&rs("g_prd")
						if trim(rs1("g_pstprd2"))=trim(rs("g_prd")) then
						response.write " selected "
						end if
						response.write ">"&rs("g_nme")&"----"&trim(Rs("pt_nme"))&"</option>"
						
						rs.movenext
						wend
						rs.close
						%>
                    </select><input type="hidden" name="g_pstprd2" value="<%=trim(Rs1("g_pstprd2"))%>" >
                  </td>
                  <td>&nbsp;</td>
                </tr>
                <tr  > 
                  <td height="22" width="20%">赠送产品三<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td> 
                    <select name="g_pstprd3ss" disabled=1>
                      <option value=" " >空值</option>
                      <% 
				query="select * from v_pdtlst  where pt_tag<>'set'  order by pt_odr,pc_odr"
						rs.open query,conn,1,1
						while not rs.eof 
						
						response.write "<option style='color:"&trim(rs("pt_clr"))&";' value="&rs("g_prd")
						if trim(rs1("g_pstprd3"))=trim(rs("g_prd")) then
						response.write " selected "
						end if
						response.write ">"&rs("g_nme")&"----"&trim(Rs("pt_nme"))&"</option>"
						
						rs.movenext
						wend
						rs.close
						%>
                    </select><input type="hidden" name="g_pstprd3" value="<%=trim(Rs1("g_pstprd3"))%>" >
                  </td>
                  <td>&nbsp;</td>
                </tr>
                <% end if %>
                </tbody> 
              </table>
            </td>
          </tr>
          <tr> 
            <td  align="center"> 
              <input type="button" name="Submit" value="修 改" class=btxx onClick="javascript:document.theform.submit();">
              <input type="button" name="Submit2" value="清 除" class=btxx onClick="javascript:document.theform.reset();">
              <br>
            </td>
          </tr>
        </table>
        <% rs1.close %>
      </td>
    </tr>
  </form>
  <form action=/master/sysmng/prc_mng/prc_mng.asp method=post name=frm_prc>
    <tr> 
      <td  colspan=2 valign="top" height="28"> 
        <table border=0 cellpadding=0 
                        cellspacing=0 width="80%" bordercolordark="#FFFFFF" align="center"  class=datalist>
          <tr> 
            <td ><b>价格调整</b></td>
          </tr>
          <tr> 
            <td  > 
              <table border=0 cellpadding=0 
                        cellspacing=0 class=datalist width="100%" >
                <tbody> 
                <tr > 
                  <th height="22" align="center" class=datalistheader>级别</th>
                  <th align="center" width="10%"  class=datalistheader>1年/份/套<%=g_tmetpenme%></th>
                  <th align="center" width="10%"  class=datalistheader>2年/份/套<%=g_tmetpenme%></th>
                  <th align="center" width="10%"  class=datalistheader>3年/份/套<%=g_tmetpenme%></th>
                  <th align="center" width="10%"  class=datalistheader>4年/份/套<%=g_tmetpenme%></th>
                  <th align="center" width="10%"  class=datalistheader>5年/份/套<%=g_tmetpenme%></th>
                  <th align="center" width="10%"  class=datalistheader>月</th>
                  <th align="center" width="10%"  class=datalistheader>季</th>
                  <th align="center" width="10%"  class=datalistheader>半年</th>
                  <%
				  query="select * from clslst order by c_cls"
				  rs.open query,conn,1,1
				  while not rs.eof 
				  c_cls=rs("c_cls")
				  %>
                <tr  > 
                  <td height="22" align="center"   class=datalistgridb >&nbsp;<%=trim(Rs("c_nme"))%></td>
                  <td   class=datalistgridb > 
                    <%
				  query1="select * from prclst where  p_yar=1 and p_tmetpe>=5  and p_cls="&c_cls&" and p_prd='"&g_prd &"'"
				  rs1.open query1,conn,1,1
				  				  				  				  if rs1.recordcount<=0 then
				  g_prc=""
				  p_tmetpe=5

				  else
				  g_prc=rs1("p_prc")
				  p_tmetpe=rs1("p_tmetpe")
				  end if
				  rs1.close

%>
                    <input type="text" name="<%=g_prd%>_<%=c_cls%>_1" size="6" value="<%=g_prc%>"  style="background:#CFCAC2">
                    <%call yarlst("t"&g_prd&"_"&c_cls&"_1",p_tmetpe,1)%>
                  </td>
                  <td  class=datalistgridb > 
                    <%
				  query1="select * from prclst where  p_yar=2 and  p_tmetpe>=5 and  p_cls="&c_cls&" and p_prd='"&g_prd &"'"
					  rs1.open query1,conn,1,1
			  				  				  				  if rs1.recordcount<=0 then
				  g_prc=""
				  p_tmetpe=5

				  else
				  g_prc=rs1("p_prc")
				  p_tmetpe=rs1("p_tmetpe")
				  end if
				  rs1.close

%>
                    <input type="text" name="<%=g_prd%>_<%=c_cls%>_2" size="6" value="<%=g_prc%>"  style="background:#CFCAC2">
                    <%call yarlst("t"&g_prd&"_"&c_cls&"_2",p_tmetpe,2)%>
                  </td>
                  <td  class=datalistgridb > 
                    <%
				  query1="select * from prclst where  p_yar=3   and p_tmetpe>=5 and p_cls="&c_cls&" and p_prd='"&g_prd &"'"
					  rs1.open query1,conn,1,1
			  				  				  				  if rs1.recordcount<=0 then
				  g_prc=""
				  p_tmetpe=5

				  else
				  g_prc=rs1("p_prc")
				  p_tmetpe=rs1("p_tmetpe")
				  end if
				  rs1.close

%>
                    <input type="text" name="<%=g_prd%>_<%=c_cls%>_3" size="6" value="<%=g_prc%>"  style="background:#CFCAC2">
                    <%call yarlst("t"&g_prd&"_"&c_cls&"_3",p_tmetpe,3)%>
                  </td>
                  <td  class=datalistgridb > 
                    <%
				  query1="select * from prclst where  p_yar=4 and   p_tmetpe>=5  and  p_cls="&c_cls&" and p_prd='"&g_prd &"'"
					  rs1.open query1,conn,1,1
			  				  				  				  if rs1.recordcount<=0 then
				  g_prc=""
				  p_tmetpe=5

				  else
				  g_prc=rs1("p_prc")
				  p_tmetpe=rs1("p_tmetpe")
				  end if
				  rs1.close

%>
                    <input type="text" name="<%=g_prd%>_<%=c_cls%>_4" size="6" value="<%=g_prc%>"  style="background:#CFCAC2">
                    <%call yarlst("t"&g_prd&"_"&c_cls&"_4",p_tmetpe,4)%>
                  </td>
                  <td  class=datalistgridb > 
                    <%
				  query1="select * from prclst where  p_yar=5  and p_tmetpe>=5  and p_cls="&c_cls&" and p_prd='"&g_prd &"'"
				  rs1.open query1,conn,1,1
				  				  				  				  if rs1.recordcount<=0 then
				  g_prc=""
				  p_tmetpe=5

				  else
				  g_prc=rs1("p_prc")
				  p_tmetpe=rs1("p_tmetpe")
				  end if
				  rs1.close

%>
                    <input type="text" name="<%=g_prd%>_<%=c_cls%>_5" size="6" value="<%=g_prc%>"  style="background:#CFCAC2">
                    <%call yarlst("t"&g_prd&"_"&c_cls&"_5",p_tmetpe,5)%>
                  </td>
                  <td  class=datalistgridb > 
                    <%
				  query1="select * from prclst where  p_yar=1  and p_tmetpe=2  and p_cls="&c_cls&" and p_prd='"&g_prd &"'"
				  rs1.open query1,conn,1,1
				  				  				  				  if rs1.recordcount<=0 then
				  g_prc=""
				  p_tmetpe=5

				  else
				  g_prc=rs1("p_prc")
				  p_tmetpe=rs1("p_tmetpe")
				  end if
				  rs1.close

%>
                    <input type="text" name="<%=g_prd%>_<%=c_cls%>_6" size="6" value="<%=g_prc%>"  style="background:#CFCAC2">
                    <select name="t<%=g_prd%>_<%=c_cls%>_6" >
                      <option value="2"  style='background:#958471' >月</option>
                    </select>
                  </td>
                  <td  class=datalistgridb > 
                    <%
				  query1="select * from prclst where  p_yar=1  and p_tmetpe=3  and p_cls="&c_cls&" and p_prd='"&g_prd &"'"
				  rs1.open query1,conn,1,1
				  				  				  				  if rs1.recordcount<=0 then
				  g_prc=""
				  p_tmetpe=5

				  else
				  g_prc=rs1("p_prc")
				  p_tmetpe=rs1("p_tmetpe")
				  end if
				  rs1.close

%>
                    <input type="text" name="<%=g_prd%>_<%=c_cls%>_7" size="6" value="<%=g_prc%>"  style="background:#CFCAC2">
                    <select name="t<%=g_prd%>_<%=c_cls%>_7" >
                      <option value="3"  style='background:#958471' >季</option>
                    </select>
                  </td>
                  <td  class=datalistgridb > 
                    <%
				  query1="select * from prclst where  p_yar=1  and p_tmetpe=4  and p_cls="&c_cls&" and p_prd='"&g_prd &"'"
				  rs1.open query1,conn,1,1
				  				  				  				  if rs1.recordcount<=0 then
				  g_prc=""
				  p_tmetpe=5

				  else
				  g_prc=rs1("p_prc")
				  p_tmetpe=rs1("p_tmetpe")
				  end if
				  rs1.close

%>
                    <input type="text" name="<%=g_prd%>_<%=c_cls%>_8" size="6" value="<%=g_prc%>"  style="background:#CFCAC2">
                    <select name="t<%=g_prd%>_<%=c_cls%>_8" >
                      <option value="4"  style='background:#958471' >半年</option>
                    </select>
                  </td>
                </tr>
                <% rs.movenext
				wend 
				rs.close
				%>
                </tbody> 
              </table>
            </td>
          </tr>
          <tr> 
            <td  align="center"> <br>
              <input type="button" name="Submit3" value="修 改" class=btxx onClick="javascript:document.frm_prc.submit();">
              <input type="button" name="Submit22" value="清 除" class=btxx onClick="javascript:document.frm_prc.reset();">
              <input type="hidden" name="module" value="prd_prc">
              <input type="hidden" name="p_prd" value="<%=g_prd%>">
              <br>
            </td>
          </tr>
        </table>
        <br>
      </td>
    </tr>
  </form>
  </tbody> 
</table>
<% if pt_tag<>"dme"  then %>
<table height="0" width="0"  id=domainreg>
  <tr> 
    <td></td>
  </tr>
</table>
<table height="0" width="0"  id=domaindel>
  <tr> 
    <td></td>
  </tr>
</table>
<% end if %>
<%
sub showpdt(byval ptnme,byval pdttpe,byval colors,byval g_tag)

select case  pdttpe
case "dme"
%><option style="color:<%=colors%>" value="">
--------<%=ptnme%>类--------</option><option value="dme" <%if g_tag="dme" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">英文国际顶级域名注册</option> <option value="cn" <%if g_tag="cn" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">
英文国内顶级域名注册</option> <option value="dmc" <%if g_tag="dmc" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">中文国际域级域名注册</option> <option value="dmh" <%if g_tag="dmh" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">
中文通用顶级域名注册</option> <option value="cc" <%if g_tag="cc" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">CC英文国际域名注册</option> <option value="tv" <%if g_tag="tv" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">
TV英文国际域名注册</option> <option value="biz" <%if g_tag="biz" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">BIZ英文国际域名注册</option> <option value="info" <%if g_tag="info" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">
INFO英文国际域名注册</option> <option value="dmt" <%if g_tag="dmt" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>"> CNNIC通用网址注册</option> <option value="dmi" <%if g_tag="dmi" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">
英文域名转入管理</option> <option value="dmd" <%if g_tag="dmd" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">英文国际域名删除</option> <option value="dmcnd" <%if g_tag="dmcnd" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">英文国内域名删除</option> 
<% case "hst" %><option value="" style="<%=colors%>">
--------<%=ptnme%>类--------</option> <option value="hst" <%if g_tag="hst" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">虚拟主机购买</option> <option value="hsze" <%if g_tag="hsze" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">虚拟主机增加空间</option> <option value="hcns" <%if g_tag="hcns" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">虚拟主机增加连接</option> <option value="platform" <%if g_tag="platform" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">独立代理平台购买</option> 
<% case "ftp" %><option value="" style="color:<%=colors%>">
------<%=ptnme%>类-------</option> <option value="ftp" <%if g_tag="ftp" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">FTP空间购买</option> <option value="fsze" <%if g_tag="fsze" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">FTP空间增加空间</option> <option value="fcns" <%if g_tag="fcns" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">FTP空间增加连接</option> 
<% case "eml" %><option value="" style="color:<%=colors%>">
--------<%=ptnme%>类--------</option> <option value="eml" <%if g_tag="eml" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">企业邮局购买</option> <option value="msze" <%if g_tag="msze" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">企业邮局增加空间</option> <option value="mcns" <%if g_tag="mcns" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">企业邮局增加用户</option> 
<% case "sql" %><option value="" style="color:<%=colors%>">
-------<%=ptnme%>类-------</option> <option value="sql" <%if g_tag="sql" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">数据库购买</option> <option value="qsze" <%if g_tag="qsze" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">数据库增加空间</option> 
<% case "adv" %><option value="" style="color:<%=colors%>">
--------<%=ptnme%>类--------</option> <option value="adv" <%if g_tag="adv" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">网站推广购买</option> 
<% case "svr" %><option value="" style="color:<%=colors%>">
------<%=ptnme%>类------</option> <option value="svrhir" <%if g_tag="svrhir" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">整机租用购买</option> <option value="svrtuo" <%if g_tag="svrtuo" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">服务器托管购买</option> 
<% case "dsn" %><option value="" style="color:<%=colors%>">
------<%=ptnme%>类------</option> <option value="dsn" <%if g_tag="dsn" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">网站建设产品购买</option> 
<% case "set" %><option value="" style="color:<%=colors%>">
------<%=ptnme%>类------</option> <option value="set" <%if g_tag="set" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>">捆绑销售产品购买</option> 
<% case "ot1" %><option value="" style="color:<%=colors%>">
-----<%=ptnme%>类------</option> <option value="ot1" <%if g_tag="ot1" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>"><%=ptnme%>购买</option> 
<% case "ot2" %><option value="" style="color:<%=colors%>">
-----<%=ptnme%>类------</option> <option value="ot2" <%if g_tag="ot2" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>"><%=ptnme%>购买</option> 
<% case "ot3" %><option value="" style="color:<%=colors%>">
-----<%=ptnme%>类------</option> <option value="ot3" <%if g_tag="ot3" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>"><%=ptnme%>购买</option> 
<% case "ot4" %><option value="" style="color:<%=colors%>">
-----<%=ptnme%>类------</option> <option value="ot4" <%if g_tag="ot4" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>"><%=ptnme%>购买</option> 
<% case "ot5" %><option value="" style="color:<%=colors%>">
-----<%=ptnme%>类------</option> <option value="ot5" <%if g_tag="ot5" then
					  response.write " selected "
					  end if %> style="color:<%=colors%>"><%=ptnme%>购买</option> 
<%
end select
end sub
if  pt_tag="dme" then
%>
<script>

if (theform.g_tag.options(theform.g_tag.options.selectedIndex).value=="dmd"||theform.g_tag.options(theform.g_tag.options.selectedIndex).value=="dmcnd")
{domainreg.style.display="none";
domaindel.style.display="block";
}
else
{domainreg.style.display="block";
domaindel.style.display="none";
}
</script>
<%
end if 
%>
<!--#include virtual="/incs/bottom.asp"-->

