<!--#include file="conn.asp"-->
<!--#include file="inc/ubbcode.asp" -->
<%if not isnumeric(request("id")) and request("id")<>"" then
Response.Redirect"info.asp?info=ID必须是数字"
response.end
end if
if request("id")="0" or request("id")="" then
Response.Redirect"info.asp?info=对不起，您输入错误的ID"
response.end
end if%>
<%set rs=server.createobject("adodb.recordset")
sql="select * from affiche where afficheid="&request.querystring("id")
rs.open sql,conn,1,3
rs("AfficheHots")=rs("AfficheHots")+1
rs.update
if rs.eof and rs.bof then
Response.Redirect"info.asp?info=对不起，没有找到相关公告!"
response.end
end if
%>
<html>
<head>
<TITLE>公告 - <%=rs("affichename")%>-<%=SystemWebSite%> - <%=SystemPicUrl%></TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312">
<meta name="keywords" content="<%=SystemSearchKey%>">
<meta name="author" content="oplan@163.com,XuFang">
<meta name="description" content="旭飞壁纸 www.oplan.net - Powered by XuFang">
<LINK href="images/main.css" rel="stylesheet" type="text/css">
</head>
<BODY>
<table width="100%" border="0" cellspacing="1" cellpadding="2" align="center">
  <tr> 
    <td bgcolor="#FFFFFF" class="chinese" valign="top"> 
      <div align="center"><b><%=rs("affichename")%> </b>&nbsp;&nbsp;&nbsp;<%=year(rs("affichetime"))%>-<%=month(rs("affichetime"))%>-<%=day(rs("affichetime"))%></div><hr size="1" width="98%">
<%  response.Write ubbcode((rs("affichecontent"))) %>
    </td>
  </tr>

  <tr align="center"> 
    <td class="chinese" valign="top"><input type="button" name="close" value="关闭本窗口"  onClick="window.close()"></td>
  </tr>
</table>
<%
rs.close
set rs=nothing
%>
</BODY>
<html> 
