<% select case  domaintag
case "dme" %>
<form action="whois.asp" method=post>
  <table cellspacing=0 cellpadding=3 width="70%" align=center 
                  border=0>
    <tbody> 
    <tr> 
      <td width="30%" valign="top"> 
        <div align="right"></div>
      </td>
      <td width="30%"> 
        <div align=center> 
          <input class=normalform  id=Domain13 
                        name=searchedDomainName size="15">
        </div>
      </td>
      <td width="40%"> 
        <div align="left"> 
          <input type="image" border="0" name="imageField3" src="/imgs/search2.gif" width="46" height="21">
          <input type="hidden" name="module" value="dme">
          <input type="hidden" name="pcid" value="<%=pcid%>">
          <input type="hidden" name="g_tag" value="dme">
          <input type="hidden" name="pstrotprd"  value="<%=SafeRequest("pstrotprd")%>" >
          <input type="hidden" name="pstrotnme"  value="<%=SafeRequest("pstrotnme")%>" >
          <input type="hidden" name="pstcolumn" value="<%=SafeRequest("pstcolumn")%>" >
        </div>
      </td>
    </tr>
    <tr> 
      <td colspan="3"> 
        <table cellspacing=0 cellpadding=3 width="99%" align=center 
                  border=0>
          <tbody> 
          <tr> 
            <td> 
              <input type="checkbox" name="suffix" value=".com" checked>
              <b><font color="#FF0000">.com</font></b></td>
            <td> 
              <input type="checkbox" name="suffix" value=".net" checked>
              .net</td>
            <td> 
              <input type="checkbox" name="suffix" value=".org" checked>
              .org</td>
          </tr>
          </tbody> 
        </table>
      </td>
    </tr>
    </tbody> 
  </table>
</form>
<% case "cn"
 %>
<form action="whois.asp" method=post>
  <table cellspacing=0 cellpadding=3 width="100%" align=center 
                  border=0>
    <tbody> 
    <tr> 
      <td width="30%" valign="top"> 
        <div align="right"></div>
      </td>
      <td width="30%"> 
        <div align=center> 
          <input class=normalform id=Domain13 
                        name=searchedDomainName size="15">
        </div>
      </td>
      <td width="40%"> 
        <div align="left"> 
          <input type="image" border="0" name="imageField" src="/imgs/search2.gif" width="46" height="21">
          <input type="hidden" name="pcid" value="<%=pcid%>">
          <input type="hidden" name="g_tag" value="cn">
          <input type="hidden" name="pstrotprd"  value="<%=SafeRequest("pstrotprd")%>" >
          <input type="hidden" name="pstrotnme"  value="<%=SafeRequest("pstrotnme")%>" >
          <input type="hidden" name="pstcolumn" value="<%=SafeRequest("pstcolumn")%>" >
          <input type="hidden" name="module" value="dme">
        </div>
      </td>
    </tr>
    <tr> 
      <td colspan="3"> 
        <table cellspacing=0 cellpadding=3 width="80%" align=center 
                  border=0>
          <tbody> 
          <tr> 
            <td width="14%"> 
              <input type="checkbox" name="suffix" value=".cn" checked>
              <b><font color="#FF0000">.cn</font></b></td>
            <td width="21%"> 
              <input type="checkbox" name="suffix" value=".com.cn" checked>
              .com.cn</td>
            <td width="21%"> 
              <input type="checkbox" name="suffix" value=".net.cn" checked>
              .net.cn</td>
          </tr>
          <tr> 
            <td width="14%"> 
              <input type="checkbox" name="suffix" value=".org.cn">
              .org.cn</td>
            <td width="21%"> 
              <input type="checkbox" name="suffix" value=".gov.cn">
              .gov.cn</td>
            <td width="21%"> 
              <select name="suffix">
                <option>.bj.cn</option>
                <option>.sh.cn</option>
                <option>.tj.cn</option>
                <option>.cq.cn</option>
                <option>.he.cn</option>
                <option>.sx.cn</option>
                <option>.nm.cn</option>
                <option>.ln.cn</option>
                <option>.jl.cn</option>
                <option>.hl.cn</option>
                <option>.js.cn</option>
                <option>.zj.cn</option>
                <option>.ah.cn</option>
                <option>.fj.cn</option>
                <option>.jx.cn</option>
                <option>.sd.cn</option>
                <option>.ha.cn</option>
                <option>.hb.cn</option>
                <option>.hn.cn</option>
                <option>.gd.cn</option>
                <option>.gx.cn</option>
                <option>.hi.cn</option>
                <option>.sc.cn</option>
                <option>.gz.cn</option>
                <option>.yn.cn</option>
                <option>.xz.cn</option>
                <option>.sn.cn</option>
                <option>.gs.cn</option>
                <option>.qh.cn</option>
                <option>.nx.cn</option>
                <option>.xj.cn</option>
                <option>.tw.cn</option>
                <option>.hk.cn</option>
                <option>.mo.cn</option>
              </select>
            </td>
          </tr>
          </tbody> 
        </table>
      </td>
    </tr>
    </tbody> 
  </table>
</form>
<% case "dmc" 
 %>
<form action="whois.asp" method=post>
  <table cellspacing=0 cellpadding=3 width="70%" align=center 
                  border=0>
    <tbody> 
    <tr> 
      <td width="30%" valign="top"> 
        <div align="right"></div>
      </td>
      <td width="30%"> 
        <div align=center> 
          <input class=normalform  id=Domain13 
                        name=searchedDomainName size="15">
        </div>
      </td>
      <td width="40%"> 
        <div align="left"> 
          <input type="image" border="0" name="imageField442" src="/imgs/search2.gif" width="46" height="21">
          <input type="hidden" name="pcid" value="<%=pcid%>">
          <input type="hidden" name="module" value="dmc">
          <input type="hidden" name="g_tag" value="dmc">
          <input type="hidden" name="pstrotprd"  value="<%=SafeRequest("pstrotprd")%>" >
          <input type="hidden" name="pstrotnme"  value="<%=SafeRequest("pstrotnme")%>" >
          <input type="hidden" name="pstcolumn" value="<%=SafeRequest("pstcolumn")%>" >
        </div>
      </td>
    </tr>
    <tr> 
      <td colspan="3"> 
        <table cellspacing=0 cellpadding=3 width="99%" align=center 
                  border=0>
          <tbody> 
          <tr> 
            <td width="33%"> 
              <input type="checkbox" name="suffix" value=".com" checked>
              <b><font color="#FF0000">.com</font></b></td>
            <td width="33%"> 
              <input type="checkbox" name="suffix" value=".net" checked>
              .net</td>
            <td width="33%"> 
              <input type="checkbox" name="suffix" value=".org" checked>
              .org</td>
          </tr>
          </tbody> 
        </table>
      </td>
    </tr>
    </tbody> 
  </table>
</form>
<% case "dmh"
 %>
<form action="whois.asp" method=post>
  <table cellspacing=0 cellpadding=3 width="70%" align=center 
                  border=0>
    <tbody> 
    <tr> 
      <td width="30%" valign="top"> 
        <div align="right"></div>
      </td>
      <td width="30%"> 
        <div align=center> 
          <input class=normalform  id=Domain13 
                        name=searchedDomainName size="15">
        </div>
      </td>
      <td width="40%"> 
        <div align="left"> 
          <input type="image" border="0" name="imageField44" src="/imgs/search2.gif" width="46" height="21">
          <input type="hidden" name="pcid" value="<%=pcid%>">
          <input type="hidden" name="module" value="dmc">
          <input type="hidden" name="g_tag" value="dmh">
          <input type="hidden" name="pstrotprd"  value="<%=SafeRequest("pstrotprd")%>" >
          <input type="hidden" name="pstrotnme"  value="<%=SafeRequest("pstrotnme")%>" >
          <input type="hidden" name="pstcolumn" value="<%=SafeRequest("pstcolumn")%>" >
        </div>
      </td>
    </tr>
    <tr> 
      <td colspan="3"> 
        <table cellspacing=0 cellpadding=3 width="99%" align=center 
                  border=0>
          <tbody> 
          <tr> 
            <td width="33%"> 
              <input type="checkbox" name="suffix" value=".中国" checked>
              <b><font color="#FF0000">.中国</font></b></td>
            <td width="33%"> 
              <input type="checkbox" name="suffix" value=".网络" checked>
              .网络</td>
            <td width="33%"> 
              <input type="checkbox" name="suffix" value=".公司" checked>
              .公司</td>
          </tr>
          </tbody> 
        </table>
      </td>
    </tr>
    </tbody> 
  </table>
</form>
<% case "dmt"
 %>
<form action="whois.asp" method=post>
  <table cellspacing=0 cellpadding=3 width="80%" align=center 
                  border=0>
    <tbody> 
    <tr> 
      <td width="30%" valign="top"> 
        <div align="right"></div>
      </td>
      <td width="30%"> 
        <div align=center> 
          <input class=normalform  id=Domain13 
                        name=searchedDomainName size="15">
        </div>
      </td>
      <td width="40%"> 
        <div align="left"> 
          <input type="image" border="0" name="imageField443" src="/imgs/search2.gif" width="46" height="21">
          <input type="hidden" name="pcid" value="<%=pcid%>">
          <input type="hidden" name="module" value="dmt">
          <input type="hidden" name="pstrotprd"  value="<%=SafeRequest("pstrotprd")%>" >
          <input type="hidden" name="pstrotnme"  value="<%=SafeRequest("pstrotnme")%>" >
          <input type="hidden" name="pstcolumn" value="<%=SafeRequest("pstcolumn")%>" >
          <input type="hidden" name="g_tag" value="dmt">
        </div>
      </td>
    </tr>
    <tr> 
      <td colspan="3">&nbsp; </td>
    </tr>
    </tbody> 
  </table>
</form>
<% case "cc"
 %>
<form action="whois.asp" method=post>
  <table cellspacing=0 cellpadding=3 width="70%" align=center 
                  border=0>
    <tbody> 
    <tr> 
      <td valign="top"> 
        <div align="right"></div>
        <div align=center> 
          <input class=normalform  id=Domain13 
                        name=searchedDomainName size="15">
          <input type=hidden name=suffix value=".cc">
          <b><font color="#FF0000">.cc</font></b> 
          <input type="image" border="0" name="imageField222" src="/imgs/search2.gif" width="46" height="21" align="bottom">
          <input type="hidden" name="module" value="dme">
          <input type="hidden" name="pcid" value="<%=pcid%>">
          <input type="hidden" name="g_tag" value="cc">
          <input type="hidden" name="pstrotprd"  value="<%=SafeRequest("pstrotprd")%>" >
          <input type="hidden" name="pstrotnme"  value="<%=SafeRequest("pstrotnme")%>" >
          <input type="hidden" name="pstcolumn" value="<%=SafeRequest("pstcolumn")%>" >
        </div>
      </td>
    </tr>
    <tr> 
      <td> 
        <table cellspacing=0 cellpadding=3 width="99%" align=center 
                  border=0>
          <tbody> 
          <tr> 
            <td width="14%" align="center"> <b></b></td>
          </tr>
          </tbody> 
        </table>
      </td>
    </tr>
    </tbody> 
  </table>
</form>
<% case "tv"
 %>
<form action="whois.asp" method=post>
  <table cellspacing=0 cellpadding=3 width="70%" align=center 
                  border=0>
    <tbody> 
    <tr> 
      <td valign="top"> 
        <div align="right"></div>
        <div align=center> 
          <input class=normalform  id=Domain13 
                        name=searchedDomainName size="15">
          <b><font color="#FF0000">.tv</font></b> 
          <input type=hidden name=suffix value=".tv">
          <input type="image" border="0" name="imageField223" src="/imgs/search2.gif" width="46" height="21" align="bottom">
          <input type="hidden" name="pcid" value="<%=pcid%>">
          <input type="hidden" name="module" value="dme">
          <input type="hidden" name="g_tag" value="tv">
          <input type="hidden" name="pstrotprd"  value="<%=SafeRequest("pstrotprd")%>" >
          <input type="hidden" name="pstrotnme"  value="<%=SafeRequest("pstrotnme")%>" >
          <input type="hidden" name="pstcolumn" value="<%=SafeRequest("pstcolumn")%>" >
        </div>
      </td>
    </tr>
    <tr> 
      <td> 
        <table cellspacing=0 cellpadding=3 width="99%" align=center 
                  border=0>
          <tbody> 
          <tr> 
            <td width="14%" align="center"> <b></b></td>
          </tr>
          </tbody> 
        </table>
      </td>
    </tr>
    </tbody> 
  </table>
</form>
<% case "info"
 %>
<form action="whois.asp" method=post>
  <table cellspacing=0 cellpadding=3 width="70%" align=center 
                  border=0>
    <tbody> 
    <tr> 
      <td valign="top"> 
        <div align="right"></div>
        <div align=center> 
          <input class=normalform  id=Domain13 
                        name=searchedDomainName size="15">
          <b><font color="#FF0000">.info</font></b> 
          <input type=hidden name=suffix value=".info">
          <input type="image" border="0" name="imageField22" src="/imgs/search2.gif" width="46" height="21" align="bottom">
          <input type="hidden" name="pcid" value="<%=pcid%>">
          <input type="hidden" name="module" value="dme">
          <input type="hidden" name="g_tag" value="info">
          <input type="hidden" name="pstrotprd"  value="<%=SafeRequest("pstrotprd")%>" >
          <input type="hidden" name="pstrotnme"  value="<%=SafeRequest("pstrotnme")%>" >
          <input type="hidden" name="pstcolumn" value="<%=SafeRequest("pstcolumn")%>" >
        </div>
      </td>
    </tr>
    <tr> 
      <td> 
        <table cellspacing=0 cellpadding=3 width="99%" align=center 
                  border=0>
          <tbody> 
          <tr> 
            <td width="14%" align="center"> <b></b></td>
          </tr>
          </tbody> 
        </table>
      </td>
    </tr>
    </tbody> 
  </table>
</form>
<% case "biz"
 %>
<form action="whois.asp" method=post>
  <table cellspacing=0 cellpadding=3 width="70%" align=center 
                  border=0>
    <tbody> 
    <tr> 
      <td valign="top"> 
        <div align="right"></div>
        <div align=center> 
          <input class=normalform  id=Domain13 
                        name=searchedDomainName size="15">
          <input type=hidden name=suffix value=".biz">
          <b><font color="#FF0000">.biz</font></b> 
          <input type="image" border="0" name="imageField2" src="/imgs/search2.gif" width="46" height="21" align="bottom">
          <input type="hidden" name="pcid" value="<%=pcid%>">
          <input type="hidden" name="g_tag" value="biz">
          <input type="hidden" name="module" value="dme">
          <input type="hidden" name="pstrotprd"  value="<%=SafeRequest("pstrotprd")%>" >
          <input type="hidden" name="pstrotnme"  value="<%=SafeRequest("pstrotnme")%>" >
          <input type="hidden" name="pstcolumn" value="<%=SafeRequest("pstcolumn")%>" >
        </div>
      </td>
    </tr>
    <tr> 
      <td> 
        <table cellspacing=0 cellpadding=3 width="99%" align=center 
                  border=0>
          <tbody> 
          <tr> 
            <td width="14%" align="center"> <b></b></td>
          </tr>
          </tbody> 
        </table>
      </td>
    </tr>
    </tbody> 
  </table>
</form>
<%case "dmi"%>
                  <%  
		
							query="select * from pdtlst where g_tag='dmi'"
					rs1.open query,conn,1,1
					if rs1.eof then
					   call errorpage(-2,"对不起，该产品不存在或者已下架！")
					else  
					   g_cpr=cint(rs1("g_cpr"))
					   g_dnspri=cint(rs1("g_dnspri"))
					   g_cnt=html_encode(trim(rs1("g_cnt")))
		            end if
					rs1.close
					if g_cpr=0 then
					   g_cpr=pl_dftcpr
					   ifcanselected=true
					else
					   ifcanselected=false  
					end if
					   g_dnspri=g_cpr

		%>

<table cellspacing=0 cellpadding=3 width="70%" align=center 
                  border=0>
  <form action=dmi_rez.asp method=post name=dme_frm>
    <tbody> 
    <tr> 
      <td align="left" width="35%"> 域名：</td>
      <td valign="top"> 
        <input class=normalform  id=Domain13 
                        name=d_dme size="20">
      </td>
    </tr>
    <tr> 
      <td align="left">密码：</td>
      <td> 
        <input class=normalform  id=Domain13 
                        name=d_pss size="20" type="password">
      </td>
    </tr>
    
    <tr> 
      <td> 请选择注册商:</td>
      <td> 
        <select name="d_cpr" style="font-size: 9pt" size="1"   onChange="javascript:toselecteddns(dme_frm.d_dnshst1,dme_frm.d_dnsip1,dme_frm.d_dnshst2,dme_frm.d_dnsip2,dme_frm.d_cpr,<%=g_dnspri%>);">
          <% 
					  query="select * from pltdns where pl_stt=1  order by pl_tpe"
					  rs2.open query,conn,1,1
					  while not rs2.eof 
					  if cint(rs2("pl_tpe"))=cint(g_cpr) then
					  response.write "<option value='"&rs2("pl_tpe")&"' selected>"&rs2("pl_nme")&"</option>"
					  else
					  response.write "<option value='"&rs2("pl_tpe")&"'>"&rs2("pl_nme")&"</option>"
					  end if
					  rs2.movenext
					  wend
					  rs2.close
					  %>
        </select>
      </td>
    </tr>
    <tr> 
      <td> 域名服务器1(DNS):</td>
      <td> 
        <input disabled=1 style="font-size: 9pt" type="text" name="d_dnshst1" value="<%=pldns1(g_dnspri)%>" size=28>
      </td>
    </tr>
    <tr> 
      <td> 域名服务器1IP:</td>
      <td> 
        <input  disabled=1 style="font-size: 9pt" type="text" name="d_dnsip1" value="<%=plip1(g_dnspri)%>" size=28>
      </td>
    </tr>
    <tr> 
      <td> 域名服务器2(DNS):</td>
      <td> 
        <input  disabled=1 style="font-size: 9pt" type="text" name="d_dnshst2" value="<%=pldns2(g_dnspri)%>" size=28>
      </td>
    </tr>
    <tr> 
      <td> 域名服务器IP:</td>
      <td> 
        <input disabled=1  style="font-size: 9pt" type="text" name="d_dnsip2" value="<%=plip2(g_dnspri)%>" size=28>
      </td>
    </tr>
    <tr> 
      <td align="left">年限：</td>
      <td> 
        <input style="font-size: 9pt"  type="text" name="years" maxlength=32 size=6 value="1" >
        X 
        <select name="d_prcstr" style="font-size: 9pt" size="1" >
          <%
					  if chk_int(session("usrclass")) then
					  p_cls=session("usrclass")
					  else
					  p_cls=pl_dftprc
					  end if					  
					   query="select * from v_prclst where p_prd='"&find_prd("dmi")&"' and p_cls="&p_cls&" order by p_tmetpe,p_yar"
					  rs2.open query,conn,1,1
					  while not rs2.eof 
					  response.write "<option "
					  p_yar=rs2("p_yar")
					  if p_yar="1" then
					  p_yar=""
					  end if
					  response.write " value='"&rs2("p_prcstr")&"'>"&rs2("p_prc")&"元/"&p_yar&tmenmes(rs2("p_tmetpe"))&"</option>"
					  rs2.movenext
					  wend
					  rs2.close
					  %>
        </select>
        <input type="submit" name="Submit" value="转入" class=dud_button1>
      </td>
    </tr>
    <tr> 
      <td>&nbsp;</td>
      <td> 
        <input type="hidden" name="module" value="dmi">
        <input type="hidden" name="gid" value="<%=gid%>">
        <input type="hidden" name="pstrotprd"  value="<%=SafeRequest("pstrotprd")%>" >
        <input type="hidden" name="pstrotnme"  value="<%=SafeRequest("pstrotnme")%>" >
        <input type="hidden" name="pstcolumn" value="<%=SafeRequest("pstcolumn")%>" >
      </td>
    </tr>
    </tbody> 
  </form>
</table>
<% end select %>
