⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 popnotice.asp

📁 中国计生委网络办公系统,政府电子商务程序
💻 ASP
字号:
<!--#include file="asp/keepformat.asp"-->
<!--#include file="asp/sqlstr.asp"-->
<!--#include file="asp/opendb.asp"-->
<!--#include file="asp/bgsub.asp"-->
<%
oabusyusername=request.cookies("oabusyusername")
oabusyuserid=request.cookies("oabusyuserid")
if request("submit")="我已经看了此通告" then
	id=request("id")
	set conn=opendb("oabusy","conn","accessdsn")
	sql = "update newnotice set readuserid=readuserid+'("&oabusyuserid&")' where ID="&id
	conn.Execute sql
	conn.close
%>
<SCRIPT language=JavaScript>                   
window.close();
opener.location.reload();
</script> 
<%
	response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css/css.css">
<title>Crackgo办公系统--查看通告</title>
</head>
<bgsound src="xbmsg.wav" loop="1">
<body bgcolor="#eeeeee" topmargin="5" leftmargin="5" onunload="opener.location.reload();">
<%
call bghead()
set conn=opendb("oabusy","conn","accessdsn")
Set rs=Server.CreateObject("ADODB.recordset")
sql="select * from newnotice where readuserid NOT LIKE '%("&oabusyuserid&")%' and sendusername<>'"&oabusyusername&"'"
rs.open sql,conn,1
%>
<center>
<b>通告标题:<%=rs("title")%></b>
<br>
[发布日期:<%=rs("noticedate")%>]
</center>
<%
call bgmid()
%>
&nbsp;<br>
<%=keepformat(rs("content"))%>
<center>
<form method=post action="popnotice.asp">
<input type="hidden" value="<%=rs("ID")%>" name="id">
<input type="submit" name="submit" value="我已经看了此通告">
</form>
</center>
<%
call bgback()
%> 
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -