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

📄 hxnotifymanage.asp

📁 精美OA网络办公系统,带PSD文件.可任意修改.
💻 ASP
字号:
<!--#INCLUDE FILE="../HXINCLUDE/HXINCLUDEHEAD.ASP"-->
<%if WS_S.MemberPriv("WS_SystemSetNotifyManage")<>1 then HX_GoBack "对不起,您的权限不够!",""
ColumnName="":Tablename="HX_Notify":Orderby=" ORDER BY WS_NNID DESC"
action=request("action")
if action="del" then
  WS_NNID=request("WS_NNID")
  if WS_NNID="" or isnull(WS_NNID) or (WS_NNID<>"" and not isnumeric(WS_NNID)) then HX_GoBack "非法操作",""  
  conn.execute("delete from "&Tablename&" where WS_NNID="&WS_NNID)
  WS_S.HX_Redirect "hxNotifyManage.asp?page="&request("page")
end if
set rs=WS_S.HX_SetRSD(ColumnName,Tablename,Orderby)
WSOASCOMSTR="<head><meta http-equiv='Content-Type' content='text/html; charset=gb2312'><title></title><link rel=stylesheet type=text/css href='../HXinclude/HX_Style.css'><script src='../HXinclude/HX_Function.js'></script></head>"
WSOASCOMSTR=WSOASCOMSTR&"<body topmargin='20' leftmargin='0' bottommargin='0'><table width='596'  border='0' cellspacing='1' cellpadding='0' align=center bgcolor='#613c25'><tr><td colspan='2' bgcolor=FFFBE8><table width='100%'  "
WSOASCOMSTR=WSOASCOMSTR&"border='0' cellspacing='0' cellpadding='0'><tr><td height='25' background='../hximages/titleline.gif'><font class='fontmenu'>通知公告管理</font>        "
WSOASCOMSTR=WSOASCOMSTR&"<a href='javascript:' onClick=""openwin(600,500,'NotifyAdd.asp')""><font color='#FFFBE8'>添加通知公告</font></a></td></tr></table><table width='100%'  border='0' cellspacing='1' cellpadding='3' bgcolor=FFFBE8><tr bgcolor='#BF9B73' class='td4'><td width='18%' align='center'>"
WSOASCOMSTR=WSOASCOMSTR&"标题</td><td width='44%' align='center'>内空</td><td width='12%' align='center'>接受人</td><td width='9%' align='center'>重要性</td><td align='center' colspan='2'>操作</td></tr>"
if rs.recordcount<=0 then
WSOASCOMSTR=WSOASCOMSTR&"<tr><td colspan=6 bgcolor=FFFBE8 height=25 align=center>暂无记录!</td></tr>"
RESPONSE.Write WSOASCOMSTR
else
rs.PageSize =15 '每页记录条数
 iCount=rs.RecordCount '记录总数
 iPageSize=rs.PageSize
maxpage=rs.PageCount 
page=request("page")
if Not IsNumeric(page) or page="" then
page=1
else
page=cint(page)
end if
if page<1 then
page=1
elseif  page>maxpage then
page=maxpage
end if
rs.AbsolutePage=Page
if page=maxpage then
x=iCount-(maxpage-1)*iPageSize
else
x=iPageSize
end if
ii=0
do while not rs.EOF 
WSOASCOMSTR=WSOASCOMSTR&"<tr align='center' bgcolor='#FFFBE8' onmouseover=javascript:this.bgColor='#F9F8F2' onmouseout=javascript:this.bgColor='#FFFBE8'><td width='18%'>"&rs("WS_NotifyTitle")&"</td><td width='44%'><div align='left'>"&rs("WS_NotifyContent")&"</div></td><td width='12%'>"
if rs("WS_NotifyToMan")<>0 then Call WS_S.HX_OutUserInfo(rs("WS_NotifyToMan")):WSOASCOMSTR=WSOASCOMSTR&OutName else WSOASCOMSTR=WSOASCOMSTR&"全体成员"
WSOASCOMSTR=WSOASCOMSTR&"</td><td width='9%'>"&WS_S.HX_NotifyFlag(rs("WS_NotifyFlag"))&"</td><td width='8%'><input type='button' name='modify' value='修改' onClick=""openwin(600,500,'hxNotifyModify.asp?WS_NNID="&rs("WS_NNID")&"');""></td><td width='9%'><input type='button' name='deld' value='删除' onClick=""location.href='?action=del&WS_NNID="&rs("WS_NNID")&"&page="&Page&"';""></td></tr>"
ii=ii+1
if ii>=rs.PageSize then Exit Do
rs.movenext
loop
RESPONSE.Write WSOASCOMSTR
call WS_S.PageControl(iCount,maxpage,page,"border=0 align=right","<p align=right>",6)
end if
call WS_S.HX_RSClose(rs) 
RESPONSE.Write"</table></td></tr></table>"%>

⌨️ 快捷键说明

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