📄 read.asp
字号:
<!--#include file="../includes/db.asp"-->
<%
call insureID()
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>办公自动化系统</title>
</head>
<body>
<center>
<%
dim NOTICE_ID
dim NOTICE_TITLE
dim Name
dim NOTICE_CONTENT
dim Notice_DATE
NOTICE_ID=request("NOTICE_ID")
if NOTICE_ID="" then
call trigErr()
end if
sql="SELECT Notice.*, Users_info.Name AS Name " _
&"FROM Notice INNER JOIN " _
&"Users_info ON Notice.User_id = Users_info.User_id " _
&"WHERE NOTICE_ID="&NOTICE_ID
call openDB()
rs.open sql,conn,1,1
Name=rs("Name")
Notice_DATE=rs("Notice_DATE")
NOTICE_TITLE=rs("NOTICE_TITLE")
NOTICE_CONTENT=rs("NOTICE_CONTENT")
NOTICE_TITLE = replaceBack(NOTICE_TITLE)
NOTICE_CONTENT=replaceBack(NOTICE_CONTENT)
call closeDB()
%>
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="50">
<tr>
<td width="100%"> </td>
</tr>
</table>
<table width="75%" border="0" cellpadding="0" cellspacing="1" bgcolor="#5A8BCE">
<tr>
<td height="35" align=left bgcolor="#E6F7FF"><div align="center"><b><font color="#000000"><%=NOTICE_TITLE%></font></b></div></td>
</tr>
</table>
<table width="75%" border="0" cellpadding="0" cellspacing="1" bordercolorlight="#C0C0C0" bordercolordark="#FFFFFF" bgcolor="#5A8BCE">
<tr>
<td width="291" height="25" bgcolor="#FCFCFC"><div >发布者: <font color=#0000FF><%=Name%></font></div> </td>
<td width="291" bgcolor="#FCFCFC">发布日期: <%=Notice_DATE%>
</td>
</tr>
<tr>
<td width="584" height="25" colspan="2" bgcolor="#FCFCFC">
<%=NOTICE_CONTENT%> </td>
</tr>
<tr>
<td colspan="2" width="584" bgcolor="#EFEFEF" align=center height="50">
[<a href="javascript:history.back()">返回</a>]
<%
if session("Position_id")<4 then
response.write" [<a href=Edit.asp?Notice_id="&Notice_id&">修改通知</a>]"
end if
%>
</td>
</tr>
</table>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -