<!--#include virtual="/incs/config.asp"-->
<!--#include virtual="/incs/web_top.asp"-->
<%
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='ot3' "&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/ot3shw/index.asp"><%=pdttpenme%></a> 
            <strong>&gt;</strong> <%=pdtclsnme%> </td>
          <td>&nbsp; 
            <!--#include file="roll.asp"-->
          </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="33%" height="200"> 
                  <div align="center"><span class=enbold><strong><a href="/pdtshw/ot3shw/ot3_frm.asp?gid=<%=rs("g_prd")%>"><img src="<%=rs("g_pic")%>" border="0"></a><br>
                    <br>
                    <br>
                    <a href="/pdtshw/ot3shw/ot3_frm.asp?gid=<%=rs("g_prd")%>"><img src="/imgs/info.gif" border="0"></a><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%"><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> 
                      <td  style="line-height:160%">&nbsp;</td>
                      <td  style="line-height:160%">&nbsp;</td>
                    </tr>
                    </tbody> 
                  </table>
                </td>
              </tr>
			<% if i<allnum 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"-->
