<!--#include virtual="/incs/config.asp"-->
<!--#include virtual="/incs/web_top.asp"-->
<!--#include virtual="/incs/domaindns.asp"-->
<script>
var pldns1=new Array;
var pldns2=new Array;
var plip1=new Array;
var plip2=new Array;
pldns1[1]="<%=pldns1(1)%>";
pldns1[2]="<%=pldns1(2)%>";
pldns1[3]="<%=pldns1(3)%>";
pldns1[4]="<%=pldns1(4)%>";
pldns1[5]="<%=pldns1(5)%>";
pldns1[6]="<%=pldns1(6)%>";
pldns1[7]="<%=pldns1(7)%>";
pldns1[8]="<%=pldns1(8)%>";
pldns2[1]="<%=pldns2(1)%>";
pldns2[2]="<%=pldns2(2)%>";
pldns2[3]="<%=pldns2(3)%>";
pldns2[4]="<%=pldns2(4)%>";
pldns2[5]="<%=pldns2(5)%>";
pldns2[6]="<%=pldns2(6)%>";
pldns2[7]="<%=pldns2(7)%>";
pldns2[8]="<%=pldns2(8)%>";
plip1[1]="<%=plip1(1)%>";
plip1[2]="<%=plip1(2)%>";
plip1[3]="<%=plip1(3)%>";
plip1[4]="<%=plip1(4)%>";
plip1[5]="<%=plip1(5)%>";
plip1[6]="<%=plip1(6)%>";
plip1[7]="<%=plip1(7)%>";
plip1[8]="<%=plip1(8)%>";
plip2[1]="<%=plip2(1)%>";
plip2[2]="<%=plip2(2)%>";
plip2[3]="<%=plip2(3)%>";
plip2[4]="<%=plip2(4)%>";
plip2[5]="<%=plip2(5)%>";
plip2[6]="<%=plip2(6)%>";
plip2[7]="<%=plip2(7)%>";
plip2[8]="<%=plip2(8)%>";
function toselecteddns(itemdns1,itemip1,itemdns2,itemip2,itemcpr,ifchg)
{
if (ifchg!=3)
{
itemdns1.value=pldns1[itemcpr.options(itemcpr.options.selectedIndex).value];
itemdns2.value=pldns2[itemcpr.options(itemcpr.options.selectedIndex).value];
itemip1.value=plip1[itemcpr.options(itemcpr.options.selectedIndex).value];
itemip2.value=plip2[itemcpr.options(itemcpr.options.selectedIndex).value];
}
}
</script>
      <%
pcid=SafeRequest("pcid")
if chk_int(pcid) then
querystr=" and pc_id="&pcid
end if
query="select * from v_pdtcls  where pc_shw=1 and   pt_tag='dme' "&querystr&" order by pc_odr"
rs.open query,conn,1,1
if rs.eof then
    call errorpage(-2,"对不起，产品未找到！")
end if
pdttpenme=trim(rs("pt_nme"))
pdtclsnme=trim(Rs("pc_nme"))
pcid=rs("pc_id")
rs.close
if chk_int(session("usrclass")) then
p_cls=session("usrclass")
else
p_cls=pl_dftprc
end if
%>
      <table cellspacing=0 cellpadding=0 width="100%" border=0>
        <tbody> 
        <tr> 
          <td colspan=2><img height=3 
            src="/imgs/spacer.gif" width=3></td>
        </tr>
        <tr> 
          <td width=438 
          background=/imgs/bg_inside_pages_link.jpg 
          height=30>&nbsp;<img height=11 
            src="/imgs/aword_square.gif" width=11 
            align=absMiddle> <a href="/">首 页</a> <strong>&gt;</strong> <a href="/pdtshw/dmeshw/index.asp"><%=pdttpenme%></a> 
            <strong>&gt;</strong> <%=pdtclsnme%> </td>
          <td>&nbsp; </td>
        </tr>
        <tr> 
          <td colspan=2><img height=10 
            src="/imgs/shadow_inside_pages.jpg" 
        width=438></td>
        </tr>
        </tbody> 
      </table>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY> 
        <TR> 
          <TD vAlign=top width=180 bgColor=#f3f3f3> 
            <!--#include file="menu.asp"-->
          </TD>
          <TD vAlign=top width=10 
          background=/imgs/bg_inside_pages_block.jpg><IMG 
            height=1 src="/imgs/bg_inside_pages_block.jpg" 
            width=10></TD>
          <TD vAlign=top align=right> 
            <table cellspacing=2 cellpadding=0 width="100%" border=0>
              <tbody> 
              <% query="select * from v_pdtlst where g_pdtcls="&pcid&" and g_shw=1 order by g_odr"
    		  rs.open query,conn,1,1
			  if rs.eof then
			  response.write "<br><br><center>该类别下当前还没有产品！</center>"
			  end if
			  i=1
			  allnum=rs.recordcount
			  while not rs.eof 
			  %>
              <tr> 
                <td class=clear colspan=2 valign="middle"><span class=enbold><strong><%=pdtclsnme&trim(rs("g_prd"))%></strong></span></td>
              </tr>
              <tr> 
                <td align=middle width="21%" height="200"> 
                  <div align="center"><span class=enbold><strong><img src="<%=rs("g_pic")%>" border="0"><br>
                    <br>
                    <br>
                    &nbsp;&nbsp;<br>
                    <br>
                    </strong></span> </div>
                </td>
                <td valign="top"> 
                  <table cellspacing=2 cellpadding=0 width="95%" border=0 align="center">
                    <tbody> 
                    <tr> 
                      <td  style="line-height:160%" width="40"><b><font color="#FF0000">型号：</font></b></td>
                      <td  style="line-height:160%"><b><%=trim(rs("g_nme"))%>(<%=trim(Rs("g_prd"))%>型)</b> 
                      </td>
                    </tr>
                    <tr> 
                      <td  style="line-height:160%"><b><font color="#FF0000">价格：</font></b></td>
                      <td  style="line-height:160%"><b> 
                        <%
					  query="select * from v_prclst where p_prd='"&rs("g_prd")&"' and p_cls="&p_cls&" order by p_tmetpe ,p_yar"
					  rs1.open query,conn,1,1
					  j=1
					  while j<=3  and ( not rs1.eof )
					  p_yar=cstr(rs1("p_yar"))
					  if  p_yar="1" then
					  p_yar=""
					  end if
					  response.write rs1("p_prc")&"元/"&p_yar&tmenmes(rs1("p_tmetpe"))&"&nbsp;"
					  rs1.movenext
					  j=j+1
					  wend
					  rs1.close
					  %>
                        </b></td>
                    </tr>
                    <tr> 
                      <td  style="line-height:160%" valign="top"><b><font color="#FF0000">内容：</font></b></td>
                      <td  style="line-height:160%"><%=html_encode(trim(rs("g_cnt")))%></td>
                    </tr>
                    <tr align="center"> 
                      <td  style="line-height:160%" colspan="2">
                        <%domaintag=trim(Rs("g_tag"))%>
                        <!--#include file="form_whois.asp"-->
                      </td>
                    </tr>
                    </tbody> 
                  </table>
                </td>
              </tr>
              <% if i<allnum or i<=2 then %>
              <tr> 
                <td colspan=2><img height=5 
                        src="/imgs/spacer.gif" 
width=5></td>
              </tr>
              <tr bgcolor=#005a9d> 
                <td colspan=2><img height=5 
                        src="/imgs/spacer.gif" 
width=5></td>
              </tr>
              <% 
			  end if
			  i=i+1
			  rs.movenext
			  wend
			  rs.close %>
              </tbody> 
            </table>
          </TD>
        </TR>
        </TBODY> 
      </TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY> 
        <TR> 
          <TD bgColor=#cccccc><IMG height=1 
            src="/imgs/spacer.gif" 
      width=1></TD>
        </TR>
        </TBODY> 
      </TABLE>
      <!--#include virtual="/incs/web_bottom.asp"-->

