<!--#include virtual="/incs/config.asp"-->
<!--#include virtual="/incs/top.asp"-->
<% chk_log()%>
<%
chk_newpwr 4,20,2
conn.open constr
ptid=SafeRequest("PTID")
if chk_int(ptid)=false 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"> 
      <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> 
            <font color="#000000">|</font> <a href="javascript:showurl('pdt_add.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> <b>请选择大类：</b> 
            <%
						  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_add.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> 
            <%
						  rs.movenext
						  if not rs.eof then
						  response.write " | "
						  end if
						  wend
						 
						  rs.close
						  %>
          </TD>
        </tr>
        </tbody> 
      </table>
    </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>注意：如果是上级服务商提供的产品，请务必保持参数和上级服务商处一致，您只要在&quot;代理初始设置&quot;中点击&quot;产品设置初始化&quot;即可。如果是本代理商自定义的产品，那么请将开通方式改为&quot;会员手工开通，管理员手工开通&quot;，这样相关订单就不会往上级服务商处递交。<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="">
                  </td>
                  <td>产品显示的名称</td>
                <tr  > 
                  <td height="22">编号<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td> 
                    <input type="text" name="g_prd" size="28"  value="">
                  </td>
                  <td>产品编号(不可重复)</td>
                </tr>
                <tr  > 
                  <td height="22">产品类型<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td> 
                    <select name="g_pdtcls">
                      <% 
					  if ptid<>0 then
				query="select * from v_pdtcls where pt_id="&ptid&" order by pt_odr,pc_odr"
				else
				query="select * from v_pdtcls  order by pt_odr,pc_odr"
				end if
						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")
						
						response.write ">"&rs("pc_nme")&"----"&trim(Rs("pt_nme"))&"</option>"
						
						rs.movenext
						wend
						rs.close
						%>
                    </select>
                  </td>
                  <td>&nbsp;</td>
                </tr>
                <tr> 
                  <td height="22" >成本价/单位<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td > 
                    <input type="text" name="g_cst" size="10"  value="" >
                    元每 
                    <select name="g_tmetpe">
                      <%
					for i=0 to ubound(tmenmes)
					response.write "<option value="&i
					if i=5 then
					response.write " selected "
					end if
					response.write ">"&tmenmes(i)&"</option>"
					 next
					  %>
                    </select>
                  </td>
                  <td >&nbsp;</td>
                </tr>
                <tr  > 
                  <td height="22">是否显示<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td> 
                    <select name="g_shw">
                      <option value="1"  >显示</option>
                      <option value="0"  >不可显示</option>
                    </select>
                  </td>
                  <td>是否在价格表中显示</td>
                </tr>
                                <tr  > 
                  <td height="22">开通方式<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td> 
                    <select name="g_ifnow">
                      <option value="1"   >会员实时开通;管理员实时开通</option>
                      <option value="2"  >会员手工开通;管理员实时开通</option>
                      <option value="0" >会员手工开通;管理员手工开通</option>
                    </select>
                  </td>
                  <td>是否实时开通</td>
                </tr>
                <tr  > 
                  <td height="22">管理方式<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td> 
                    <select name="g_ifnowctl">
                      <option value="1"  >会员实时管理;管理员实时管理</option>
                      <option value="2" >会员手工管理;管理员实时管理</option>
                      <option value="0"  >会员手工管理;管理员手工管理</option>
                    </select>
                  </td>
                  <td>是否实时管理</td>
                </tr>

                <tr  > 
                  <td height="22">暂停开设的原因</td>
                  <td>：</td>
                  <td> 
                    <input type="text" name="g_err" size="28" style="color:#ff0000;" value="" >
                  </td>
                  <td>保持为空则表正常开设</td>
                </tr>
                <tr  > 
                  <td height="22">暂停管理的原因</td>
                  <td>：</td>
                  <td> 
                    <input type="text" name="g_errctl" size="28" style="color:#ff0000;" >
                  </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="" >
                    <input type="hidden" name="module" value="pdt_add">
                  </td>
                  <td>价格表里的排列顺序</td>
                </tr>
                <tr  > 
                  <td height="22">服务提供商</td>
                  <td>：</td>
                  <td> 
                    <input type="text" name="g_cprnme" size="28" value="" >
                  </td>
                  <td>提供服务的合作商</td>
                </tr>
                <tr  > 
                  <td height="22">产品操作类型<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td> 
                    <select name="g_tag" onchange="javascript:return toselected();">
                      <%
					query="select * from pdttpe order by pt_odr"
					rs.open query,conn,1,1
					while not rs.eof 
					if cstr(rs("pt_id"))=cstr(ptid) then
					call showpdt(trim(rs("pt_nme")),trim(rs("pt_tag")),trim(rs("pt_clr")),true)
					'else
					'call showpdt(trim(rs("pt_nme")),trim(rs("pt_tag")),trim(rs("pt_clr")),false)
                    end if					
					rs.movenext
					wend
					rs.close
					%>
                    </select>
                  </td>
                  <td>&nbsp;</td>
                </tr>
                <tr  > 
                  <td height="22">产品代理权限<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td> 
                    <select name="g_ifagt">
                      <option value="0"   >禁止下级平台获取该产品</option>
                      <option value="1"  >允许下级平台获取该产品</option>
                    </select>
                  </td>
                  <td>&nbsp;</td>
                </tr>
                <tr  > 
                  <td height="22">图片链接</td>
                  <td>：</td>
                  <td colspan="2"> 
                    <input type="text" name="g_pic" size="58" value="" >
                  </td>
                </tr>
                <tr  > 
                  <td height="22">简短说明</td>
                  <td>：</td>
                  <td colspan="2"> 
                    <input type="text" name="g_inf" size="58" value="" >
                  </td>
                </tr>
                <tr  > 
                  <td height="22">详细说明</td>
                  <td>：</td>
                  <td colspan="2"> 
                    <textarea name="g_cnt" cols="58" rows="5"></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>
                <tbody> 
                <tr  > 
                  <td height="22" width="20%">域名注册商<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td width="40%">
                    <select name="g_cpr" 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")&"' "
					  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>

                  </td>
                  <td>对转入DNS管理，这一选项表示DNS解析提供商</td>
                </tr>
                <tr  > 
                  <td height="22">DNS解析提供者<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td> 
                    <input type="radio" name="g_dnspri" value="0" checked>
                    服务商 
                    <input type="radio" name="g_dnspri" value="3">
                    本站系统</td>
                  <td>对转入DNS管理，这一选项不产生作用</td>
                </tr>
                <tr  > 
                  <td height="22">URL转发提供者<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td> 
                    <input type="radio" name="g_urlpri" value="0" checked>
                    服务商 
                    <input type="radio" name="g_urlpri" value="3">
                    本站系统</td>
                  <td>对转入DNS管理，这一选项不产生作用</td>
                </tr>
                <!--
				<tr  > 
                  <td height="22">DNS提供商<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td> 
                    <input type="radio" name="g_dnspri" value="1" >
                    1(商务中国) 
                    <input type="radio" name="g_dnspri" value="2"   >
                    2(厦门华众) 
                    <input type="radio" name="g_dnspri" value="0"  >
                    0 其它公司(手工)</td>
                  <td>&nbsp;</td>
                </tr>
				-->
                <tr  > 
                  <td height="22">DNS解析条数<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td colspan="2"> 
                    <input type="text" name="g_maxdns" size="26"   value="20" >
                    条 </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_maxcns" size="20"   value="3" >
                    天</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_sst">
                      <option value="0">不限制</option>
                      <option value="1">Win2000系统系统</option>
                      <option value="3">Win2003系统</option>
                      <option value="2">Linux系统</option>
                    </select>
                  </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_svrtpe">
                      <option value="NULL">未定义</option>
                      <% query="select * from svrtpe order by st_tid"
					rs2.open query,conn,1,1
					while not rs2.eof 
					response.write "<option  value="&rs2("st_tid")&">"&rs2("st_nme")&"</option>"
					rs2.movenext
					wend
					rs2.close
					%>
                    </select>
                  </td>
                  <td>则主机将开在此分类下的服务器里</td>
                </tr>
                <tr  > 
                  <td height="22">空间大小<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_sze" size="26" value="">
                    M </td>
                  <td>主机空间容量</td>
                </tr>
                <tr  > 
                  <td height="22">并发连接数<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_maxcns" size="26" value="">
                    个 </td>
                  <td>指IIS并发连接数</td>
                </tr>
                <tr  > 
                  <td height="22">可绑定域名数<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_maxdns" size="26" value="2">
                    个 </td>
                  <td>指可以同时绑定多少个域名</td>
                </tr>
                <tr  > 
                  <td height="22">空间大小(试用)<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_szetst" size="26" value="10">
                    M </td>
                  <td>主机空间容量</td>
                </tr>
                <tr  > 
                  <td height="22">并发连接数(试用)<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_maxcnstst" size="26" value="10">
                    个 </td>
                  <td>指IIS并发连接数</td>
                </tr>
                <tr  > 
                  <td height="22">可绑定域名数(试用)<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_maxdnstst" size="26" value="2">
                    个 </td>
                  <td>指可以同时绑定多少个域名</td>
                </tr>
                <tr  > 
                  <td height="22">试用时间<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_tst" size="26" value="7">
                    天 </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_ftpcns" size="26" value="2">
                    个 </td>
                  <td>指FTP帐号同时可以支持几个用户连接</td>
                </tr>
                <tr  > 
                  <td height="22">脚本支持<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td colspan="2"> 
                    <input type="checkbox" name="g_appid_asp" value="1" >
                    asp 
                    <input type="checkbox" name="g_appid_php" value="1"  >
                    php 
                    <input type="checkbox" name="g_appid_cgi" value="1" >
                    cgi 
                    <input type="checkbox" name="g_appid_net" value="1">
                    net 
                    <input type="checkbox" name="g_appid_dwn" value="1"  >
                    禁止下载</td>
                </tr>
                <tr  > 
                  <td height="22">CPU占用率<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_cpu" size="26" value="1">
                    ％</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_bnd" size="26" value="0">
                    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%">操作系统<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td width="40%"> 
                    <select name="g_sst">
                      <option value="0">不限制</option>
                      <option value="1">Win2000系统系统</option>
                      <option value="3">Win2003系统</option>
                      <option value="2">Linux系统</option>
                    </select>
                  </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_svrtpe">
                      <option value="NULL">未定义</option>
                      <% query="select * from svrtpe order by st_tid"
					rs2.open query,conn,1,1
					while not rs2.eof 
 					response.write "<option  value="&rs2("st_tid")&">"&rs2("st_nme")&"</option>"
 					rs2.movenext
					wend
					rs2.close
					%>
                    </select>
                  </td>
                  <td>FTP空间将开在此分类下的服务器里</td>
                </tr>
                <tr  > 
                  <td height="22">空间大小<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_sze" size="26" value="">
                    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_maxcns" size="26" value="1">
                    个 </td>
                  <td>指FTP帐号总数</td>
                </tr>
                <tr  > 
                  <td height="22">空间大小(试用)<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_szetst" size="26" value="10">
                    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_maxcnstst" size="26" value="1">
                    个 </td>
                  <td>指试用FTP帐号总数</td>
                </tr>
                <tr  > 
                  <td height="22">试用时间<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_tst" size="26" value="7">
                    天 </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_ftpcns" size="26" value="2">
                    个 </td>
                  <td>指FTP帐号同时可以支持几个用户连接</td>
                </tr>
                </tbody> 
              </table>
            </td>
          </tr>
          <% end if %>
          <% if pt_tag="ftp"    then %>
          <% 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_sst">
                      <option value="1">IMail系统</option>
                      <option value="2">WebEasymail系统</option>
                    </select>
                  </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_svrtpe">
                      <option value="NULL">未定义</option>
                      <% query="select * from svrtpe order by st_tid"
					rs2.open query,conn,1,1
					while not rs2.eof 
 					response.write "<option  value="&rs2("st_tid")&">"&rs2("st_nme")&"</option>"
 					rs2.movenext
					wend
					rs2.close
					%>
                    </select>
                  </td>
                  <td>邮局将开在此分类下的服务器里</td>
                </tr>
                <tr  > 
                  <td height="22">空间大小<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_sze" size="26" value="">
                    M </td>
                  <td>邮局空间总容量</td>
                </tr>
                <tr  > 
                  <td height="22">邮局用户数<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_maxcns" size="26" value="">
                    个 </td>
                  <td>邮局可以开设的邮箱数</td>
                </tr>
                <tr  > 
                  <td height="22">空间大小(试用)<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_szetst" size="26" value="10">
                    M </td>
                  <td>邮局空间总容量</td>
                </tr>
                <tr  > 
                  <td height="22">邮局用户数(试用)<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_maxcnstst" size="26" value="1">
                    个 </td>
                  <td>邮局可以开设的邮箱数</td>
                </tr>
                <tr  > 
                  <td height="22">可绑定域名数<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_maxdns" size="26" value="1">
                    个 </td>
                  <td>指可以同时绑定多少个域名</td>
                </tr>
                <tr  > 
                  <td height="22">试用时间<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_tst" size="26" value="7">
                    天 </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_sidc" size="26" value="厦门超级信息港">
                  </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_sucnt" size="26" value="1U">
                  </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_sbnd" size="26" value="100M共享">
                  </td>
                  <td>如&quot;50M共享&quot;</td>
                </tr>
                <tr  > 
                  <td height="22">CPU描述<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_scpu" size="26" value="PIV2.8G *2">
                  </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_sram" size="26" value="1024M DDRram">
                  </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_shd" size="26" value="80G HardDisk">
                  </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_sip" size="26" value="免费赠送一个固定IP">
                  </td>
                  <td>如&quot;免费赠送一个固定IP&quot;</td>
                </tr>
                <tr  > 
                  <td height="22">其它描述</td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_soth" size="26" value="连续租用两年赠送服务器硬件产权">
                  </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_sst">
                      <option value="1">MSSQL Server 2000</option>
                      <option value="2">MYSQL(windows平台)</option>
                      <option value="3">MYSQL(linux平台)</option>
                    </select>
                  </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_svrtpe">
                      <option value="NULL">未定义</option>
                      <% query="select * from svrtpe order by st_tid"
					rs2.open query,conn,1,1
					while not rs2.eof 
 					response.write "<option  value="&rs2("st_tid")&">"&rs2("st_nme")&"</option>"
 					rs2.movenext
					wend
					rs2.close
					%>
                    </select>
                  </td>
                  <td>数据库将开在此分类下的服务器里</td>
                </tr>
                <tbody> 
                <tr  > 
                  <td height="22">空间大小<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td> 
                    <input type="text" name="g_sze" size="26" value="">
                    M </td>
                  <td>数据库空间总容量</td>
                </tr>
                <tr  > 
                  <td height="22">空间大小(试用)<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td> 
                    <input type="text" name="g_szetst" size="26" value="10">
                    M </td>
                  <td>数据库空间总容量(试用)</td>
                </tr>
                <tr  > 
                  <td height="22">试用时间<font color="#FF0000">*</font></td>
                  <td>：</td>
                  <td width="34%"> 
                    <input type="text" name="g_tst" size="26" value="7">
                    天 </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="20" width="20%">捆绑产品一</td>
                  <td width="10" height="20">：</td>
                  <td height="20"> 
                    <select name="g_pstprd1">
                      <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")
						response.write ">"&rs("g_nme")&"----"&trim(Rs("pt_nme"))&"</option>"
						
						rs.movenext
						wend
						rs.close
						%>
                    </select>
                  </td>
                  <td height="20">&nbsp;</td>
                </tr>
                <tr  > 
                  <td height="22">捆绑产品二</td>
                  <td>：</td>
                  <td> 
                    <select name="g_pstprd2">
                      <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")

						response.write ">"&rs("g_nme")&"----"&trim(Rs("pt_nme"))&"</option>"
						
						rs.movenext
						wend
						rs.close
						%>
                    </select>
                  </td>
                  <td>&nbsp;</td>
                </tr>
                <tr  > 
                  <td height="22">捆绑产品三</td>
                  <td>：</td>
                  <td> 
                    <select name="g_pstprd3">
                      <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")
						
						response.write ">"&rs("g_nme")&"----"&trim(Rs("pt_nme"))&"</option>"
						
						rs.movenext
						wend
						rs.close
						%>
                    </select>
                  </td>
                  <td>&nbsp;</td>
                </tr>
                <tr  > 
                  <td height="22">捆绑产品四</td>
                  <td>：</td>
                  <td> 
                    <select name="g_pstprd4">
                      <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")
						response.write">"&rs("g_nme")&"----"&trim(Rs("pt_nme"))&"</option>"
						
						rs.movenext
						wend
						rs.close
						%>
                    </select>
                  </td>
                  <td>&nbsp;</td>
                </tr>
                <tr  > 
                  <td height="22">捆绑产品五</td>
                  <td>&nbsp;</td>
                  <td> 
                    <select name="g_pstprd5">
                      <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")
						response.write ">"&rs("g_nme")&"----"&trim(Rs("pt_nme"))&"</option>"
						
						rs.movenext
						wend
						rs.close
						%>
                    </select>
                  </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_pstprd1">
                      <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")
						response.write ">"&rs("g_nme")&"----"&trim(Rs("pt_nme"))&"</option>"
						
						rs.movenext
						wend
						rs.close
						%>
                    </select>
                  </td>
                  <td>&nbsp;</td>
                </tr>
                <tr  > 
                  <td height="22">赠送产品二<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td> 
                    <select name="g_pstprd2">
                      <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")
						response.write ">"&rs("g_nme")&"----"&trim(Rs("pt_nme"))&"</option>"
						
						rs.movenext
						wend
						rs.close
						%>
                    </select>
                  </td>
                  <td>&nbsp;</td>
                </tr>
                <tr  > 
                  <td height="22">赠送产品三<font color="#FF0000">*</font></td>
                  <td width="10">：</td>
                  <td> 
                    <select name="g_pstprd3">
                      <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")
						response.write ">"&rs("g_nme")&"----"&trim(Rs("pt_nme"))&"</option>"
						
						rs.movenext
						wend
						rs.close
						%>
                    </select>
                  </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>
        <div align="center"><br>
          <br>
          <br>
        </div>
      </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 ifselected)
pdttpe=lcase(pdttpe)
select  case pdttpe
case "dme"
%><option style="color:<%=colors%>"
					  <% if ifselected then
					  response.write  " selected "
					  end if %>
					   value="">
--------<%=ptnme%>类--------</option> <option value="dme" selected  style="color:<%=colors%>">英文国际顶级域名注册</option> <option value="cn"  style="color:<%=colors%>"> 
英文国内顶级域名注册</option> <option value="dmc"  style="color:<%=colors%>">中文国际域级域名注册</option> <option value="dmh"  style="color:<%=colors%>"> 
中文通用顶级域名注册</option> <option value="cc"  style="color:<%=colors%>">CC英文国际域名注册</option> <option value="tv" style="color:<%=colors%>"> 
TV英文国际域名注册</option> <option value="biz"  style="color:<%=colors%>">BIZ英文国际域名注册</option> <option value="info"  style="color:<%=colors%>"> 
INFO英文国际域名注册</option> <option value="dmt" style="color:<%=colors%>">CNNIC通用网址注册</option> <option value="dmi"  style="color:<%=colors%>"> 
英文域名转入管理</option> <option value="dmd"  style="color:<%=colors%>">英文国际域名删除</option> <option value="dmcnd"  style="color:<%=colors%>"> 
英文国内域名删除</option> 
<% case "hst" %><option value="" style="color:<%=colors%>"
					   <% if ifselected then
					  response.write  " selected "
					  end if %>>
--------<%=ptnme%>类--------</option> <option value="hst" selected  style="color:<%=colors%>">虚拟主机购买</option> <option value="hsze"  style="color:<%=colors%>"> 
虚拟主机增加空间</option> <option value="hcns"  style="color:<%=colors%>">虚拟主机增加连接</option> <option value="platform"  style="color:<%=colors%>"> 
独立代理平台购买</option> 
<% case "ftp" %><option value="" style="color:<%=colors%>" 
					   <% if ifselected then
					  response.write  " selected "
					  end if %>>
------<%=ptnme%>类-------</option> <option value="ftp" style="color:<%=colors%>" selected >FTP空间购买</option> <option value="fsze"  style="color:<%=colors%>"> 
FTP空间增加空间</option> <option value="fcns"  style="color:<%=colors%>">FTP空间增加帐号</option> 
<% case "eml" %><option value="" style="color:<%=colors%>"
					   <% if ifselected then
					  response.write  " selected "
					  end if %>>
--------<%=ptnme%>类--------</option> <option value="eml" style="color:<%=colors%>" selected >企业邮局购买</option> <option value="msze"  style="color:<%=colors%>"> 
企业邮局增加空间</option> <option value="mcns"  style="color:<%=colors%>">企业邮局增加用户</option> 
<% case "sql" %><option value="" style="color:<%=colors%>"
					  <% if ifselected then
					  response.write  " selected "
					  end if %>>
-------<%=ptnme%>类-------</option> <option value="sql"  style="color:<%=colors%>" selected >数据库购买</option> <option value="qsze"  style="color:<%=colors%>"> 
数据库增加空间</option> 
<% case "adv" %><option value="" style="color:<%=colors%>"
					   <% if ifselected then
					  response.write  " selected "
					  end if %>>
--------<%=ptnme%>类--------</option> <option value="adv"  style="color:<%=colors%>" selected >网站推广购买</option> 
<% case "svr" %><option value="" style="color:<%=colors%>"
					   <% if ifselected then
					  response.write  " selected "
					  end if %>>
------<%=ptnme%>类------</option> <option value="svrhir"  style="color:<%=colors%>" selected >整机租用购买</option> <option value="svrtuo"  style="color:<%=colors%>"> 
服务器托管购买</option> 
<% case "dsn" %><option value="" style="color:<%=colors%>"
					   <% if ifselected then
					  response.write  " selected "
					  end if %>>
------<%=ptnme%>类------</option> <option value="dsn"  style="color:<%=colors%>" selected >网站建设产品购买</option> 
<% case "set" %><option value="" style="color:<%=colors%>"
					   <% if ifselected then
					  response.write  " selected "
					  end if %>>
------<%=ptnme%>类------</option> <option value="set"  style="color:<%=colors%>" selected >捆绑销售产品购买</option> 
<% case "ot1" %><option value="" style="color:<%=colors%>"
					  <% if ifselected then
					  response.write  " selected "
					  end if %>>
-----<%=ptnme%>类-----</option> <option value="ot1"  style="color:<%=colors%>" selected ><%=ptnme%>购买</option> 
<% case "ot2" %><option value="" style="color:<%=colors%>"
					  <% if ifselected then
					  response.write  " selected "
					  end if %>>
--------<%=ptnme%>类--------</option> <option value="ot2"  style="color:<%=colors%>" selected ><%=ptnme%>购买</option> 
<% case "ot3" %><option value="" style="color:<%=colors%>"
					  <% if ifselected then
					  response.write  " selected "
					  end if %>>
--------<%=ptnme%>类--------</option> <option value="ot3"  style="color:<%=colors%>" selected ><%=ptnme%>购买</option> 
<% case "ot4" %><option value="" style="color:<%=colors%>"
					  <% if ifselected then
					  response.write  " selected "
					  end if %>>
--------<%=ptnme%>类--------</option> <option value="ot4"  style="color:<%=colors%>" selected ><%=ptnme%>购买</option> 
<% case "ot5" %><option value="" style="color:<%=colors%>"
					  <% if ifselected then
					  response.write  " selected "
					  end if %>>
--------<%=ptnme%>类--------</option> <option value="ot5"  style="color:<%=colors%>" selected ><%=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"-->







