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

📄 popnotice.asp

📁 红金羚v1.5办公自动化软件是基于大型数据库系统开发的应用系统
💻 ASP
字号:
<%response.expires=0%>
<!--#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.form("submit")="我已经看了此通告" then
	id=request.form("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>                   
	opener.parent("banner2").doflag.value='1';
	window.close();
</script> 
<%
	response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css/css.css">
<meta http-equiv="pragma" content="no-cache">
<title>红孩儿Office办公系统--查看通告</title>
<script language="javascript">
opener.parent("banner2").doflag.value="0";
</script>
</head>
<bgsound src="xbmsg.wav" loop="1">
<body bgcolor="#ffffff" topmargin="5" leftmargin="5" onunload="opener.parent('banner2').doflag.value='1';">
<%
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>通告标题:<%=keepformat(rs("title"))%></b>
<br>
[发布日期:<%=keepformat(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>
<%
%>
         </td>
            
          <td background="<%=imgpath%>images/j5.gif" width=19 height=280></td>
          </tr>
        </table>
    </tr>
    <tr>
      <td height=19>
        <table border="0" cellpadding="0" cellspacing="0" width="610" height="19">
          <tr>
            
          <td width=18 height=20><img border="0" src="<%=imgpath%>images/j6.gif" width="18" height="19"></td>
            
          <td background="<%=imgpath%>images/j7.gif" width=100% height=20></td>
            
          <td width="19" height="20"><img border="0" src="<%=imgpath%>images/j8.gif"></td>
          </tr>
		  <tr>
          <td width="100%" height=20 colspan="3"><center>-----<a href="http://office.11k.net/" target=_blank><font color="red">Red office v1.5</font></a>-----</center></td>
		  </tr>
        </table>
      </td>
    </tr>
  </table>
<%
%> 
</body>
</html>

⌨️ 快捷键说明

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