<!--头部Star-->
<!--#include file="head.asp"-->
<!--头部End-->
<!--中间Star-->
<%
call aspsql()
%>
<% dim tempp,flas
  tempp=4
  flas=3
%>
<%
id=trim(request("id"))
if id="" then
	response.Redirect("index.asp")
end if

sql="select * from hf_sbzs where productid=" & id & ""
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,3
if rs.bof and rs.eof then
	response.write"<SCRIPT language=JavaScript>alert('找不到此产品！');"
  response.write"javascript:history.go(-1)</SCRIPT>"
else	
	rs("Hits")=rs("Hits")+1
	rs.update
	if rs("hits")>=HitsOfHot then
		rs("Hot")=True
		rs.update
	end if
%>
<table width="1004" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="180" align="center" valign="top">
	<table width="100" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td height="43"></td>
  </tr>
<!--#include file="left_sbzs.asp"-->
</table>

</td>
    <td width="705" valign="top"><table width="705" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="495">　</td>
        <td width="210" valign="top"><img src="hf_images/icon_3.jpg" width="14" height="12" align="absmiddle"><a href="hf_sbzs.asp" IsShowProcessBar=True>展示首页 &gt; </a>
<%
  s_id=cstr(trim(request("s_id")))
  if s_id="" then
  response.Write("全部设备")
  else
  set bclass=Server.CreateObject("ADODB.Recordset")
  bclass.open "select * from bigclass_sbzs where bigclassid="&cstr(s_id),conn,3,3
  response.write "类别："+bclass("Bigclassname")
  blcass.close
  set blcass=nothing
  end if
  %></TD></TR>
      
      <tr>
        <td height="24">　<img src="hf_images/icon_2.jpg" width="19" height="21" align="absmiddle"><img src="hf_images/hf_sbzs.jpg" width="80" height="23" align="absmiddle"></td>
        <td height="24">　</td>
      </tr>
      <tr>
        <td colspan="2" align="center"><img src="hf_images/line_2.jpg" width="677" height="2"></td>
      </tr>
      <tr>
        <td colspan="2">　</td>
      </tr>
      <tr>
        <td colspan="2" align="center"><table width="658" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="140" height="24" valign="top"><table width="100%" height="24" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="8" align="left"><img src="hf_images/kuan_L.jpg" width="8" height="30"></td>
                <td width="161" class="line_T"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="6%"><img src="hf_images/Kuan_R_R.jpg" width="10" height="28"></td>
                    <td width="77%" align="center" valign="middle" background="hf_images/Kuan_R_BG.jpg" class="title_FF" ><%
  s_id=cstr(trim(request("s_id")))
  if s_id="" then
  response.Write("全部设备")
  else
  set bclass=Server.CreateObject("ADODB.Recordset")
  bclass.open "select * from bigclass_sbzs where bigclassid="&cstr(s_id),conn,3,3
  response.write ""+bclass("Bigclassname")
  blcass.close
  set blcass=nothing
  end if
  %></td>
                    <td width="17%"><img src="hf_images/Kuan_R_2.jpg" width="26" height="28"></td>
                  </tr>
                </table></td>
                <td width="7"><img src="hf_images/kuan_R.jpg" width="7" height="30"></td>
              </tr>
            </table></td>
            <td width="600" valign="top" class="line_B">　</td>
            <td width="9" valign="top">　</td>
          </tr>
          <tr>
            <td height="5" colspan="3" align="right" valign="top" class="line_L"><img src="hf_images/kuan_RT.jpg" width="10" height="10"></td>
          </tr>
          <tr>
            <td colspan="3" align="center" valign="top" class="line_LR"><table width="640" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="650" height="30" align="center" valign="middle" class="txt14">
<strong><samp class="TitleFont">名称：</samp> <font color="#F66000"><%=rs("title")%></font></strong></td>
</tr>
<tr>
<td height="30" align="center" valign="middle" class="downtxt12">编号：<font color="#FF0000"><%=rs("product_id")%></font> 点击次数：<font color="#FF0000"><%=rs("Hits")%></font></td>
</tr>
<tr>

<td align="center" valign="top">
<% if rs("defaultpicurl")<>"" then%>
	<a href="<%=rs("defaultpicurl")%>" target="_blank" IsShowProcessBar=True><img onmousewheel="return cgimg(this);" src="<%=rs("defaultpicurl")%>" onload="javascript:DrawImage(this);" alt="点击查看原图" width="480" border="0"></a>
	<%else
		 response.write ("<table width='480' cellspacing='0' cellpadding='10' align='center'><tr><td style='height:360px;border: 4px double #cccccc;font-weight:bold;font-size:14px;color:#666;' align='center' valign='middle'>没有找到图片</tr></td></table>")
	 end if%>

</td>
</tr>
<tr>
<td height="30" valign="middle" class="txt14"><strong><samp class="TitleFont">设备介绍：</samp></strong></td>
</tr>
<tr>
<td  valign="top">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="5" bgcolor="#EEEEEE">
<tr>
 <td bgcolor="#FFFFFF">
 <table width="100%" border="0" cellspacing="17" cellpadding="0">
<tr>
<td>
<tr>
<td  valign="top" style="padding:5px;font-size:12px;line-height:18px; color:#666666;">
<%=rs("content")%></td>
</tr>
</td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
<tr><td align="center" height="30" valign="middle"><a href="javascript:window.close()" >关闭本页</a></td></tr>
            </table></td>
          </tr>
          <tr>
            <td height="10" colspan="3" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="2%"><img src="hf_images/kuan_LB.jpg" width="10" height="10"></td>
                <td width="95%" class="line_B"><img src="hf_images/spacer.gif" width="640" height="10"></td>
                <td width="3%"><img src="hf_images/kuan_RB.jpg" width="10" height="10"></td>
              </tr>
            </table></td>
          </tr>
        </table>
          <br>
          <br></td>
      </tr>
    </table>
    <td width="116" align="right" valign="top"><img src="hf_images/hf_right_ad.jpg" width="116" height="342"></td>
  </tr>
</table>
<%
end if
rs.close
set rs=nothing
call CloseConn()
%><!--中间End--><!--底部Star--><!--#include file="hf_down.asp"--><!--底部End-->