<!--#include virtual="/incs/config.asp" -->
<!--#include virtual="/incs/top.asp" -->


<%
chk_log()
''''''''''''''''''''''''''''''''
chk_newpwr 1,4,1

	dnme=SafeRequest("dnme")
If dnme="" Then
 call errorpage(-2,"请选择域名!")
end if
	conn.open constr
if session("sysclass")>=5 then
query="select * from v_dmelst   where d_dme ='"&dnme&"'"
elseif session("sysclass")>=4 then
query="select * from v_dmelst  where d_dme ='"&dnme&"'  and  ((("&session("sysarestr")&" or u_myare=0) and u_rotnme='') or u_rotnme='"&session("usrname")&"')"
else
query="select * from v_dmelst  where d_unme='"&session("usrname")&"' and d_dme ='"&dnme&"'"
end if
	rs.open query,conn,1,1
 
	  if rs.recordcount<=0 then
      call errorpage(-2,"对不起，	该订单不存在或者不属于您的会员号，管理员请先切换到该订单会员！")
      end if
	  cooper=rs("d_cpr")
	domain_to_modi= rs("d_dme")
	domainname=domain_to_modi
	proid=rs("d_prd")
	pstprd1=trim(rs("pstprd1"))
	pstprd2=trim(rs("pstprd2"))
	pstprd3=trim(rs("pstprd3"))
	pstnme1=trim(rs("pstnme1"))
	pstnme2=trim(rs("pstnme2"))
	pstnme3=trim(rs("pstnme3"))
	setnme=trim(rs("setnme"))
	pstrotprd=trim(rs("pstrotprd"))
	pstrotnme=trim(rs("pstrotnme"))
owneruser=trim(rs("d_unme"))
%>

   <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><b>英文域名列表</b><a href="index.asp" class=commonface><font color="#FF0000">（查询）</font></a> 
          </td>
          <td valign=bottom noWrap align=right 
                        width="75%"><a href="dme_lst.asp?querytype=8" class=commonface>今日新注册</a> 
            | <a href="dme_lst.asp?querytype=9" class=commonface>本周新注册</a> | <a href="dme_lst.asp?querytype=10" class=commonface>本周到期</a> 
            | <a href="dme_lst.asp?querytype=11" class=commonface>本月到期</a></td>
        </tr>
        <tr> 
          <td align=middle width="100%" colspan=2 height=5></td>
        </tr>
        <tr> 
          <td align=middle width="100%" colspan=2 height=2 class=menuline></td>
        </tr>
        </tbody> 
      </table>
      
    </td>
              </tr>
              <tr> 
                <td  colspan=2 valign="middle" height="28"> 
                  
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr> 
                      <td height=8></td>
                    </tr>
                    <tr> 
                      <td style="font-size:12px"> 
                        <div align="center"> 
                          <!--#include virtual="/master/pdtmng/dme_mng/menu.asp" -->
                          <br>
                          域名: <font style="FONT-FAMILY: Tahoma,verdana,arial;"><b><%= rs("d_dme") %></b></font> 
                          <br>
            </div>
                      </td>
                    </tr>
                  </table>
                  
      <table cellpadding="0" cellspacing="0" id="AutoNumber3" style="border-collapse: collapse" width="100%" border="0" align="center">
        <tr> 
          <td height="14" width="100%" valign="top"> 
            <table  cellpadding="0" cellspacing="0" >
              <tr> 
                <td height=1></td>
              </tr>
            </table>
            <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class=datalist >
              <% if (pstprd1="" or isnull(pstprd1)) and (pstprd2="" or isnull(pstprd2)) and (pstprd3="" or isnull(pstprd3)) then %>
                     <tr> 
          <td  valign="top">&nbsp;</td>
        </tr>
 <tr align="middle" > 
                <th class=datalistheader > 
                  <div align="center"><b>获取赠送产品</b> </div>
                </th>
              </tr>
              <tr > 
                <td height="80" class=datalistgrida> 
                  <div align="center">对不起，该产品没有赠送品！</div>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <% end if %>
        <% if pstprd1<>"" and isnull(pstprd1)=false then  %>
        <tr> 
          <td  valign="top"> </td>
        </tr>
        <tr> 
          <td  valign="top">&nbsp;</td>
        </tr>
        <tr> 
          <td  valign="top"> 
            <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"  class=datalist>
              <tr align="middle" > 
                <th colspan="2" class=datalistheader> 
                  <div align="center"><b>赠送品</b></div>
                </th>
              </tr>
              <%
			query="select * from v_pdtlst where g_prd='"&pstprd1&"'"
			rs1.open query,conn,1,1
			if rs1.eof then
			rs1.close
			call errorpage(-2,"对不起，系统错误！")
			end if
			g_cnt=trim(rs1("g_cnt"))
			g_nme=trim(rs1("g_nme"))
			rs1.close
			  %>
                <tr> 
                  <td class=datalistgrida   height="25" align="center" width="25%"> 
                    赠送品名：</td>
                  <td class=datalistgrida><%=g_nme%> </td>
                </tr>
              
              <tr> 
                <td class=datalistgrida align="center" height="25">产品介绍：</td>
                <td class=datalistgrida style="line-height:150%"><br>
                  <%=html_encode(g_cnt)%><br>
                  <br>
                </td>
              </tr>
              <tr> 
                <td class=datalistgrida   height="25" align="center" width="25%"> 
                  赠送价值：</td>
                <td class=datalistgrida><%=find_prc(pstprd1)%> </td>
              </tr>
            			         <%if trim(owneruser)<>trim(entryuser) then %>
                  <tr > 
                    
                <td height="28" class=datalistgrida  align=center>注意事项: </td>
                        <td height="28" class=datalistgrida colspan=2>该产品所属会员为：<b><%=owneruser%></b>，获取赠送品也将归属会员 
                          <b><%=owneruser%></b> ！ </td>
                  </tr>
                  <%end if %>
  <tr> 
                <td class=datalistgrida   height="25" align="center">现在申请：</td>
                <td class=datalistgrida height="22"> 
                  <% if pstnme1<>"" and pstnme1<>"0" and isnull(pstnme1)=false then %>
                  <a href="javascript:showurl('/master/turn.asp?gid=<%=pstprd1%>&pid=<%=pstnme1%>');" class=commonface>该赠送品已经开通，点击查看该赠品！</a> 
                  <% else %>
                  <input type="button" class=btxx name="Submit2" value="申 请" onClick="javascript:showurl('/master/turn?gid=<%=pstprd1%>&pstrotprd=<%=proid%>&pstrotnme=<%=domainname%>&pstcolumn=pstprd1&unme=<%=owneruser%>');">
                  <% end if %>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <% end if %>
        <% if pstprd2<>"" and isnull(pstprd2)=false then  %>
        <tr> 
          <td  valign="top">&nbsp;</td>
        </tr>
        <tr> 
          <td  valign="top"> 
            <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"  class=datalist>
              <tr align="middle" > 
                <th colspan="2" class=datalistheader> 
                  <div align="center"><b>赠送品</b></div>
                </th>
              </tr>
              <%
			query="select * from v_pdtlst where g_prd='"&pstprd2&"'"
			rs1.open query,conn,1,1
			if rs1.eof then
			rs1.close
			call errorpage(-2,"对不起，系统错误！")
			end if
			g_cnt=trim(rs1("g_cnt"))
			g_nme=trim(rs1("g_nme"))
			rs1.close
			  %>
                <tr> 
                  <td class=datalistgrida   height="25" align="center" width="25%"> 
                    赠送品名：</td>
                  <td class=datalistgrida><%=g_nme%> </td>
                </tr>
              
              <tr> 
                <td class=datalistgrida align="center" height="25">产品介绍：</td>
                <td class=datalistgrida style="line-height:150%"><br>
                  <%=html_encode(g_cnt)%><br>
                  <br>
                </td>
              </tr>
              <tr> 
                <td class=datalistgrida   height="25" align="center" width="25%"> 
                  赠送价值：</td>
                <td class=datalistgrida><%=find_prc(pstprd2)%> </td>
              </tr>
           			         <%if trim(owneruser)<>trim(entryuser) then %>
                  <tr > 
                    
                <td height="28" class=datalistgrida  align=center>注意事项: </td>
                        <td height="28" class=datalistgrida colspan=2>该产品所属会员为：<b><%=owneruser%></b>，获取赠送品也将归属会员 
                          <b><%=owneruser%></b> ！ </td>
                  </tr>
                  <%end if %>
   <tr> 
                <td class=datalistgrida   height="25" align="center">现在申请：</td>
                <td class=datalistgrida height="22"> 
                  <% if pstnme2<>"" and pstnme2<>"0" and isnull(pstnme2)=false then %>
                  <a href="javascript:showurl('/master/turn.asp?gid=<%=pstprd2%>&pid=<%=pstnme2%>');" class=commonface>该赠送品已经开通，点击查看该赠品！</a> 
                  <% else %>
                  <input type="button" class=btxx name="Submit" value="申 请" onclick="javascript:showurl('/master/turn.asp?gid=<%=pstprd2%>&pstrotprd=<%=proid%>&pstrotnme=<%=domainname%>&pstcolumn=pstprd2&unme=<%=owneruser%>');">
                  <% end if %>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <% end if %>
        <% if pstprd3<>"" and isnull(pstprd3)=false then  %>
        <tr> 
          <td  valign="top">&nbsp;</td>
        </tr>
        <tr> 
          <td  valign="top"> 
            <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"  class=datalist>
              <tr align="middle" > 
                <th colspan="2" class=datalistheader> 
                  <div align="center"><b>赠送品</b></div>
                </th>
              </tr>
              <%
			query="select * from v_pdtlst where g_prd='"&pstprd3&"'"
			rs1.open query,conn,1,1
			if rs1.eof then
			rs1.close
			call errorpage(-2,"对不起，系统错误！")
			end if
			g_cnt=trim(rs1("g_cnt"))
			g_nme=trim(rs1("g_nme"))
			rs1.close
			  %>
                <tr> 
                  <td class=datalistgrida   height="25" align="center" width="25%"> 
                    赠送品名：</td>
                  <td class=datalistgrida><%=g_nme%> </td>
                </tr>
             
              <tr> 
                <td class=datalistgrida align="center" height="25">产品介绍：</td>
                <td class=datalistgrida style="line-height:150%"><br>
                  <%=html_encode(g_cnt)%><br>
                  <br>
                </td>
              </tr>
              <tr> 
                <td class=datalistgrida   height="25" align="center" width="25%"> 
                  赠送价值：</td>
                <td class=datalistgrida><%=find_prc(pstprd3)%> </td>
              </tr>
         			         <%if trim(owneruser)<>trim(entryuser) then %>
                  <tr > 
                    
                <td height="28" class=datalistgrida  align=center>注意事项: </td>
                        <td height="28" class=datalistgrida colspan=2>该产品所属会员为：<b><%=owneruser%></b>，获取赠送品也将归属会员 
                          <b><%=owneruser%></b> ！ </td>
                  </tr>
                  <%end if %>
     <tr> 
                <td class=datalistgrida   height="25" align="center">现在申请：</td>
                <td class=datalistgrida height="22"> 
                  <% if pstnme3<>"" and pstnme3<>"0" and isnull(pstnme3)=false then %>
                  <a href="javascript:showurl('/master/turn.asp?gid=<%=pstprd3%>&pid=<%=pstnme3%>');" class=commonface>该赠送品已经开通，点击查看该赠品！</a> 
                  <% else %>
                  <input type="button" class=btxx name="Submit3" value="申 请" onClick="javascript:showurl('/master/turn.asp?gid=<%=pstprd3%>&pstrotprd=<%=proid%>&pstrotnme=<%=domainname%>&pstcolumn=pstprd3&unme=<%=owneruser%>');">
                  <% end if %>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <% end if %>
      </table>
      <br>
                  <br>
                </td>
              </tr>
              </tbody> 
            </table>
          
      <!--#include virtual="/incs/bottom.asp"-->

