<!--#include file="conn.asp"-->
<link rel="stylesheet" type="text/css" href="inc/css.css">
<%news_id = Request.QueryString("news_id")
If Not(isNumeric(news_id)) Then
Response.Write "<p align=center>请勿进行非法操作！</p>"
Response.End
End If
set rs=server.createobject("adodb.recordset")
sql="select * from news where news_id="&request("news_id")
rs.open sql,conn,3,3
if rs.eof then
response.write "此信息不存在或者已被删除"
else%>
<title><%=rs("news_title")%></title>
<body topmargin="5" leftmargin="0" rightmargin="0" bottommargin="5">
<div align="center">
<center>
<table width="500" border="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" >
<tr> 
  <td height="31" background="img/news1.gif">
	<p style="margin-left: 60px; margin-bottom: 5px"><b>
  	<a target="_blank" href="allnews.asp">新闻</a> >> <%=rs("news_title")%></b></td>
  </tr>
<tr><td height="100" valign="top" background="img/newsbg.gif" align="center">
<table border="0" width="98%" cellspacing="0" cellpadding="0">
	<tr>
		<td><%if rs("news_pic")<>"" then
response.write "<p align=center><img src=" + rs("news_pic") + " width=220 height=160></p>"
end if
%><%=rs("news_content")%></td>
	</tr>
</table></td>
</tr>
<tr><td height="25" background="img/news2.gif">
	<p align="right" style="margin-right: 20px; margin-top: 5px">日期：<%=rs("news_date")%></td>
</tr>
</table>
</center>
</div><%end if
rs.close
set rs=nothing
conn.close
set conn=nothing%>