<!--#include file="conn.asp"-->
<!--#include file="config/config.asp"-->
<%
id=request.QueryString("id")
if id="" or not isnumeric(id) then
Response.Write "<script>alert('参数错误！');history.go(-1);</script>" 
Response.End()
end if

set rs=server.CreateObject("adodb.recordset")
sql="select * from news where id="&id
rs.open sql,conn,1,1

if id<>"" then
hitsql="update news set hit=hit+1 where id="&id
conn.execute hitsql
end if

set flrs=server.CreateObject("adodb.recordset")
flsql="select * from fl where id="&rs("fl")
flrs.open flsql,conn,1,1
title1=flrs(1)
%>
<!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="Content-Type" content="text/html; charset=gb2312" />
<meta name="keywords" content="<%=w78_keywords%>" />
<meta name="description" content="<%=w78_description%>" />
<title><%=w78_home%></title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script src="js/flash.js" type="text/javascript"></script>

</head>

<body>
<div align="center">
<!--#include file="top.asp"-->
<table width="1004" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
  <tr>
    <td width="10"></td>
    <td width="250" valign="top">
	  <!--#include file="left.asp"-->
	</td>
    <td width="9"></td>
    <td width="725" valign="top">
      <table width="725" border="0" cellspacing="0" cellpadding="0" class="table_spacing1">
        <tr>
          <td class="part_bg1">
		    <div class="part1"><%=title1%></div>
			<div class="nav">您的当前位置：<a href="index.asp">首页</a> >> <a href="news.asp?id=<%=flrs(0)%>"><%=title1%></a> >> <a href="news_cont.asp?id=<%=id%>"><%=rs("title")%></a> >></div>
		  </td>
        </tr>
        <tr>
          <td class="content_bk2">
		    <div class="title"><%=rs("title")%></div>
			<div class="time">添加时间：<%=rs("data")%> &nbsp;&nbsp;&nbsp;阅读次数：<%=rs("hit")%></div>
			<div class="content"><%=rs("body")%></div>
		  </td>
        </tr>
      </table>
	  </td>
    <td width="10"></td>
  </tr>
</table>
<!--#include file="foot.asp"-->
</div>
</body>
</html>
