<!--#include file="conn.asp"-->
<!--#include file="filter.asp"-->

<%
	'检测ID
	dim id
	call filter_news()
	
	id=trim(request("id"))
	set rs_newsbody=Server.CreateObject("ADODB.RecordSet")
	rs_newsbody.open "select * from [fksf_news] where id="&id,conn,1,1
	if(rs_newsbody.eof) then
		response.Write("<script language=javascript>")
		Response.Write("alert('没有这条新闻或这条新闻已被删除');")
		Response.Write("window.location='index.asp';")
		response.Write("</script>")
	else
%>
		<TABLE cellSpacing=0 cellPadding=0 width=690 align=center 
                  border=0>
                    <TBODY>
                    <TR>
                      <TD background=images/view_bottom.gif 
                    height=11></TD></TR>
                    <TR>
                      <TD style="HEIGHT: 97px">
                        <TABLE class=style1 cellSpacing=0 cellPadding=0 
                        width=690 border=0>
                          <TBODY>
                          <TR>
                            <TD width=544 background=images/view_bg04.jpg 
                            height=24><STRONG 
                              class=hese> <SPAN 
                              id=title><div align="center"><%=rs_newsbody("subject")%></div></SPAN></STRONG></TD></TR>
                          <TR>
                            <TD vAlign=top 
                              background=images/view_bg05.jpg><TABLE 
                              class=hese cellSpacing=5 cellPadding=0 
                              width="100%" border=0>
                                <TBODY>
                                <TR>
                                <TD>
                                <P align=right><SPAN class=style1><SPAN 
                                id=postTime><%=year(rs_newsbody("publishdate"))&"-"&month(rs_newsbody("publishdate"))&"-"&day(rs_newsbody("publishdate"))%></SPAN></SPAN>                                </P></TD></TR>
                                <TR>
                                <TD>
                                <P><SPAN class=style1 id=content><div align="left">
								<%=rs_newsbody("content")%></div></SPAN>
                                </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
                    <TR>
                      <TD style="HEIGHT: 24px" 
                      background=images/list_numbg.gif height=24>
                        <DIV align=right><IMG 
                        height=12 src="images/top.gif" width=41 
                        border=0></DIV></TD></TR>
                    <TR>
                      <TD background=images/view_bottom.gif 
                    height=11></TD></TR></TBODY></TABLE>
<%
	end if
	rs_newsbody.close()
	set rs_newsbody=nothing
%>
