<!--#include file="../inc/conn.asp"-->
<!--#include file="../inc/md5.asp"-->
<!--#include file="../inc/config_list.asp"-->
<%

id=request.QueryString("id")
	set rs=server.createobject("adodb.recordset")

 sql="SELECT  [newsID],news.[newsClassID],[userID],[newsTitle],[newsContent],[newsPic],[isComment],[isActive],news.[addDate],[hits],[isgood],newsclassname FROM [News] LEFT JOIN NewsClass on NewsClass.newsClassID=news.newsClassID where newsid="&id
         rs.open sql,conn,1,3
		if not rs.eof then
			newsTitle=rs("newsTitle")
			newsclassid=rs("newsclassid")
			newsclassname=rs("newsclassname")
			addDate=rs("addDate")
			hits=rs("hits")
			newsContent=rs("newsContent")
			rs("hits")=hits+1
			rs.update()
		end if
		rs.close
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=newsTitle%>-<%=newsclassname%></title>
<LINK href="../images/home.css" type=text/css rel=stylesheet>
<script src="../jquery/jquery-1.3.2.src.js" language="javascript"></script>

</head>

<body>
<div class="width960">

<!--顶部开始-->
<!--#include file="../mb/topNews_mb.asp"-->
<!--顶部结束-->

<div style="width:960px; margin:0 auto; ">
<script language="javascript" src="/otherhtml/news_1.js"></script></div>

<div style="width:960px; margin:0 auto; ">
	<h3 class="textCenter" style="text-align:center; font-size:14px;"><%=newsTitle%></h3>
    <div class="textCenter" style="text-align:center; font-size:12px;">时间:<%=addDate%>  热度:<%=hits%></div>
    
     <div class="padding5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%=newsContent%> </div>
</div>

<div class="width960 margin_top5 textCenter"><script language="javascript" src="/otherhtml/news_2.js"></script></div>

<SCRIPT type="text/javascript">$("#menu<%=newsclassid%>").addClass("menuOn");</SCRIPT>

<script type="text/javascript" src="/js/foot.js"></script>
</div>


</body>
</html>
<SCRIPT language="javascript" src="/Std_StranJF.Js"></SCRIPT>

