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

📄 reedit.asp

📁 网佳网络办公系统(以下简称OA)是一套基于B/S模式的无纸化办公系统。[显著特点:无须安装客户端] 主要功能模块:管理 公文 车辆 通知 档案 值班 人事 审批 仓库 主界面 软件下载 个人办公室
💻 ASP
字号:
<!--#include file="../config/config.asp"-->
<%username=session("hxf_u_nickname")
if username=""  then  Response.Redirect "../error.asp?id=440"
Set conn=Server.CreateObject("ADODB.CONNECTION")
Set rs=Server.CreateObject("ADODB.RecordSet")
connstr=Application("hg_connstr")
conn.open connstr
if request.querystring("id")="" then
response.write "没有正确的ID号"
else
NUMBER=clng(request.querystring("id"))
end if
'zhuti=request("zhuti")
'url=request("url")
info1=request("info1")
jieshou=request("jieshou")
newurl=request("newurl")
n=Year(date())
y=Month(date())
r=Day(date())
s=Hour(time())
f=Minute(time())
m=Second(time())
if len(y)=1 then y="0" & y
if len(r)=1 then r="0" & r
if len(s)=1 then s="0" & s
if len(f)=1 then f="0" & f
if len(m)=1 then m="0" & m
sj=n & "-" & y & "-" & r
if len(info1)<1 or len(jieshou)<1 then%>
<script language=vbscript>
MsgBox "所填项目不能有空,没有的请填写无!"
location.href = "list.asp"
'window.close()
</script>
<%'检验数据合法性
else
conn.execute"update 审批 set send='" &username&"',jieshou='"&jieshou&"',info1='"&info1&"',sj='"&sj&"',newurl='"&newurl&"',dufou=true,del=false where id="&NUMBER
conn.close
set conn=nothing
end if
%>
<script language=vbscript>
MsgBox "提交成功,请注意留意回复!"
location.href = "duanxinlist.asp"
'window.close()
    </script>

⌨️ 快捷键说明

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