<!--#include file="conn.asp"-->
<!--#include file="../webconfig.asp"-->
<html><head><title><%=webname%>--新闻查看</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../images/css.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<%dim newsid
newsid=request.QueryString("id")

if not isnumeric(newsid) then 
response.write"<script>alert(""非法访问!"");location.href=""../index.asp"";</script>"
response.end
else
if not isinteger(newsid) then
response.write"<script>alert(""非法访问!"");location.href=""../index.asp"";</script>"
else

set rs_shjia=server.CreateObject("adodb.recordset")
strshjia="select * from news  where newsid="&newsid
rs_shjia.open strshjia,conn,1,1
if rs_shjia.bof and rs_shjia.eof then
response.write"<script>alert(""非法访问!"");location.href=""../index.asp"";</script>"
else
%>
<br>
<table width="400" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="3"><img name="Annouce_r1_c1" src="images/Annouce_r1_c1.gif" width="400" height="25" border="0" alt=""></td>
  </tr>
  <tr>
    <td colspan="3"><img name="Annouce_r2_c1" src="images/Annouce_r2_c1.gif" width="400" height="43" border="0" alt=""></td>
  </tr>
  <tr>
    <td width="105" height="112" valign="top" background="images/Annouce_r4_c1.gif"><img name="Annouce_r3_c1" src="images/Annouce_r3_c1.gif" width="105" height="112" border="0" alt=""></td>
    <td width="279" height="300" rowspan="2" valign="top" background="images/Annouce_r3_c2.gif"><table width="100%"  border="0" cellspacing="5" cellpadding="0">
        <tr>
          <td><div align="center"><font color=#ff0000><b><%=trim(rs_shjia("title"))%></b></font></div></td>
        </tr>
      </table>
        <table width="100%" border="0">
          <tr>
            <td><%=trim(rs_shjia("content"))%></td>
          </tr>
        </table>
        <table width="100%" border="0" align="right" cellspacing="5">
          <tr>
            <td><div align="right">发布人:<%=trim(rs_shjia("shjianame"))%></div></td>
          </tr>
          <tr>
            <td><div align="right">发布时间:<%=year(rs_shjia("addtime"))&"年"&month(rs_shjia("addtime"))&"月"&day(rs_shjia("addtime"))&"日"%></div></td>
          </tr>
    </table></td>
    <td width="16" height="112" valign="top" bgcolor="#83CDFD"><img name="Annouce_r3_c3" src="images/Annouce_r3_c3.gif" width="16" height="112" border="0" alt=""></td>
  </tr>
  <tr>
    <td background="images/Annouce_r4_c1.gif">&nbsp;</td>
    <td bgcolor="#83CDFD">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3"><img name="Annouce_r5_c1" src="images/Annouce_r5_c1.gif" width="400" height="24" border="0" alt=""></td>
  </tr>
  <tr>
    <td colspan="3"><img src="images/Annouce_r6_c1.gif" alt="" name="Annouce_r6_c1" width="400" height="39" border="0" usemap="#Annouce_r6_c1Map"> </td>
  </tr>
</table>
<%
end if
rs_shjia.close
set rs_shjia=nothing
end if
end if%>
<map name="Annouce_r6_c1Map">
  <area shape="rect" coords="171,9,231,30" href="javascript:window.close();">
</map>
</body>
</html>