<!--头部Star-->
<!--#include file="head.asp"-->
<!--头部End-->
<!--中间Star-->
<%
call aspsql()
%>
<%
NewsId=Request("NewsId")
If not isNumeric(NewsId) then
Response.Redirect("main.asp")	
response.end
end if
set rs=Server.CreateObject("ADODB.RecordSet")
sql= "select * from News where online=true and Pubdate<= now() and OffDate> now() and NewsId="&request("NewsId")
rs.open sql,conn,1,1
%>
<table width="1004" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="180" align="center" valign="top"><table width="183" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="163">&nbsp;</td>
    <td width="20">&nbsp;</td>
  </tr>
    <tr>
    <td><table width="100" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#B5C096">
        <tr>
          <td><table width="100"  border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
              <tr>
                <td><table width="189"  border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td colspan="2"><div align="center"><img src="hf_images/hf_product.gif" width="189" height="32"></div></td>
                    </tr>
                    <tr>
                      <td height="3" colspan="2"></td>
                    </tr>
                  <%dim sqlClass,rsClass
        sqlClass="select * from BigClass order by orderid"
		Set rsClass= Server.CreateObject("ADODB.Recordset")
		rsClass.open sqlClass,conn,1,1   
		do while not rsClass.eof			
		%>
  <tr>
  <td align="left" valign="middle" style="padding-left:4px;padding-top:4px;padding-right:4px;padding-bottom:4px; height:28px; background:url(hf_images/cxcx.gif) bottom no-repeat; width:171px; word-break:break-all;">
  <table width="100%" border="0" cellspacing="0" cellpadding="2">
  <tr>
    <td width="38"><img src="hf_images/next.jpg"  align="absmiddle"></td>
	<td align="left" width="120"><a href="product.asp?s_id=<%=rsClass("bigclassid")%>" IsShowProcessBar=True><samp class="TitleFont"><b><%=rsClass("Bigclassname")%></b></samp></a></td>
  </tr>
</table>
  </td>
  </tr>
   
 <% rsClass.movenext
  loop
  rsClass.close
  %>

                   
                </table></td>
              </tr>
          </table></td>
        </tr>
    </table></td>
  </tr>
</table>

</td>
    <td width="705" valign="top"><table width="705" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="495">&nbsp;</td>
        <td width="210" valign="top"><img src="hf_images/icon_3.jpg" width="14" height="12" align="absmiddle"><a href=index.asp IsShowProcessBar=True>Home</a> > <a href=news.asp IsShowProcessBar=True>新闻中心</a> > 浏览新闻</td>
      </tr>
      <tr>
        <td height="24">　<img src="hf_images/icon_2.jpg" width="19" height="21" align="absmiddle"><img src="hf_images/news.gif" width="87" height="21" align="absmiddle"></td>
        <td height="24">&nbsp;</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">&nbsp;</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" >浏览新闻</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">&nbsp;</td>
            <td width="9" valign="top">&nbsp;</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">
             
<%
if rs.bof and rs.eof then
Response.Redirect("main.asp")	
response.end
else
NewsContain= rs("NewsContain")
%>

	<TR align=center><TD><B><div style="font-size=15pt;line-height=250%"><FONT color=#7BA330><%=rs("NewsTitle")%></FONT></div></B></TD></TR>
	<TR><TD align=center><FONT color=#448697><img src=images/small/xie.gif border=0>出处：<%=rs("Source")%> &nbsp; 发布日期：<%=rs("PubDate")%> &nbsp; 浏览次数：<%=rs("cktimes")%> </FONT></TD></TR>
	   <tr>
	       <td width="569"  align="center" height="1" background="images/small/bgline.gif"></td>
       </tr>
	
  <%
	n=rs("ckTimes")
	n=n+1
	conn.execute "UPDATE news SET ckTimes ="&n&" WHERE NewsId="&request("NewsId")
	rs.close
	set rs=nothing
  %>

<TR><TD height=25></td></tr>
<TR><TD vAlign=center >
<div style="line-height=180%">
<%=NewsContain%>
</div>
</TD></TR>
<%end if%>
	
             </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></td>
      </tr>
    </table></td>
    <td width="116" align="right" valign="top"><img src="hf_images/hf_right_ad.jpg" width="116" height="342"></td>
  </tr>
</table>
<%
conn.close
set conn=nothing
%>
<!--中间End-->
<!--底部Star-->
<!--#include file="hf_down.asp"-->
<!--底部End-->
