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

📄 meetingmodify.asp

📁 政府网站集成OA办公考勤新闻发布网站信息管理会员管理
💻 ASP
字号:
<!--#INCLUDE FILE="../HXINCLUDE/HXINCLUDEHEAD.ASP"-->
<%if WS_S.MemberPriv("WS_PublicAffairsMeetingModify")<>1 then response.Write "<script>alert('对不起,您的权限不够!');window.close();</script>":response.end
ColumnName="":Tablename="HX_MeetingMain":WS_MMID=request("WS_MMID")
if WS_MMID="" or isnull(WS_MMID) or (WS_MMID<>"" and not isnumeric(WS_MMID)) then 	response.write "<script>alert('非法操作');window.close();</script>":response.end  
MeetingName=request("MeetingName"):MeetingDescribe=request("MeetingDescribe"):MeetingState=request("MeetingState"):Orderby=" where WS_MMID="&WS_MMID
set rs=WS_S.HX_SetRSD(ColumnName,Tablename,Orderby)
action=request("action")
if action="saveinfo" then
  if rs("WS_MeetingState")=1 and MeetingState<>1 then
    if not conn.execute("select * from HX_MeetingApply where WS_MeetingSpsign=1 and WS_MMID="&WS_MMID).eof then
      HX_GoBack rs("WS_MeetingName")&"正在使用当中,不能更改成其它状态,请在归还后更改!",""
    end if
  end if
  rs("WS_MeetingName")=MeetingName
  rs("WS_MeetingDescribe")=MeetingDescribe
  rs("WS_MeetingState")=MeetingState
  rs.update
  response.write "<script>if(confirm('修改成功!\n是否关闭此窗口?')) {window.close();window.opener.location.reload();}else {location.href='Meetingmodify.asp?WS_MMID="&WS_MMID&"';}</script>"
  response.end
end if
response.write "<head><meta http-equiv='Content-Type' content='text/html; charset=gb2312'><title>修改会议室信息</title><link rel=stylesheet type=text/css href='../HXinclude/HX_Css.css'><script src='../HXinclude/HX_Function.js'></script></head><body topmargin='8' leftmargin='0' bottommargin='8'><table width='400'  border='0' cellspacing='1' cellpadding='0' align=center bgcolor='#115F8F'><tr><td colspan='2' bgcolor=ffffff><table width='100%'  border='0' cellspacing='0' cellpadding='0'><tr><td height='25' background='../hximages/titleline.gif'><font class='fontmenu'>修改会议室信息</font></td></tr></table><table width='100%'  border='0' cellspacing='1' cellpadding='3' bgcolor=f1f1f1><form name='form1' method='post' action='?action=saveinfo' onSubmit='return Meetingcheck(this);'><tr bgcolor='#FFFFFF'><td width='23%'>会议室名称</td><td width='77%'><input name='MeetingName' type='text' value='"&rs("WS_MeetingName")&"' maxlength='50'></td></tr><tr bgcolor='#FFFFFF'><td>会议室状态</td><td><select name='MeetingState'><option value='0' "
if rs("WS_MeetingState")=0 then response.write "selected"
response.Write ">空闲</option><option value='1' "
if rs("WS_MeetingState")=1 then response.write "selected"
response.Write ">使用中</option><option value='2' "
if rs("WS_MeetingState")=2 then response.write "selected"
response.Write ">维修</option></select></td></tr><tr bgcolor='#FFFFFF'><td width='23%' valign='top'>简要描述</td><td width='77%'><textarea rows='8' name='MeetingDescribe' cols='50' class='bgline'>"&rs("WS_MeetingDescribe")&"</textarea></td></tr><tr bgcolor='#FFFFFF'><td>&nbsp;</td><td><input type='submit' name='Submit' value=' 修 改 '> <input type='reset' name='Submit' value=' 重 输 '> <input type='button' name='Submit' value=' 关 闭 ' onclick='javascript:window.close();'><input name='WS_MMID' type='hidden' value='"&WS_MMID&"'></td></tr></form></table></td></tr></table>"
%>

⌨️ 快捷键说明

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