www.gusucode.com > 共享世纪内容管理系统 2.1 build 080704 全站开源版 > announce.asp

    <!--#include file="Checkstr.asp"-->
<%
id=Checkstr(request.querystring("id"))
if not isnumeric(id) and id<>"" then
Response.Redirect"index.html"
end if
MDBpath="admin/"
%>
<!--#include file="admin/mdb_path_down.asp"-->
<%
set rs=server.createobject("adodb.recordset")
sql="select * from news where id="&id
rs.open sql,conn,1,1
if rs.eof and rs.bof then
Response.Redirect"index.html"
else
%>
<html>
<head>
<TITLE>公告 -<%=rs("newsname")%></TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312">
<style>
body {font-size:10pt;color: #4f6b72;background: #E6EAE9;}
a:link{color:#000000;text-decoration:none}
a:visited{color:#000000;text-decoration:none}
a:hover{BACKGROUND-COLOR:#D7ECFF; color:#CC0000; text-decoration:none}
.content { margin:10px 2px 10px 2px; color:#333;font-size:9pt; line-height: 25px;}
.time { color:#CCC;font-size:9pt; text-align:center;}
.top { border-bottom:#ddd 1px dashed; margin:10px 0 5px 5px;}
</style>
</head>
<BODY>
<table width="600" border="0" cellspacing="1" cellpadding="2" align="center">
  <tr>
    <td bgcolor="#FFFFFF" class="chinese" valign="top"><div class="top"><b><%=rs("newsname")%> </b><br>
        <span class="time"><%=rs("addtime")%></span></div>
      <div class="content"><%=rs("newsnote")%></div>
      <span style="font-size:9pt;">直接对话:</span><a href=tencent://message/?uin=406006595&Site=共享世纪&Menu=yes><img src="/images/Qme.gif" border="0" align="absmiddle"></a></td>
  </tr>
  <tr align="center">
    <td class="chinese" valign="top"><input type="button" name="close" value="关闭本窗口"  onClick="window.close()"></td>
  </tr>
</table>
<%
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
</BODY>
<html>