📄 save.asp
字号:
<%@ codepage ="936" %>
<%
if instr(session("flag"),"02")=0 then
response.redirect "../login.asp"
response.end
end if
%>
<!--#include file="../../conn/dbconn2.asp"-->
<!--#include file="../../inc/safe.asp"-->
<link rel="stylesheet" type="text/css" href="../style.css">
<%
name1=Replace_Text(request.form("name"))
ch=Replace_Text(request.form("ch"))
email=Replace_Text(request.form("email"))
phonecountry=Replace_Text(request.form("phonecountry"))
phonearea=Replace_Text(request.form("phonearea"))
phonenumber=Replace_Text(request.form("phonenumber"))
phone=phonecountry&" "&phonearea&" "&phonenumber
faxcountry=Replace_Text(request.form("faxcountry"))
faxarea=Replace_Text(request.form("faxarea"))
faxnumber=Replace_Text(request.form("faxnumber"))
fax=faxcountry&" "&faxarea&" "&faxnumber
mobile=Replace_Text(request.form("mobile"))
post=Replace_Text(request.form("post"))
country=Replace_Text(request.form("country1"))
sf=Replace_Text(request.form("province"))
city=Replace_Text(request.form("city"))
address=Replace_Text(request.form("address"))
qymc=Replace_Text(request.form("qymc"))
zw=Replace_Text(request.form("zw"))
categoryid=Replace_Text(request.form("categoryid"))
categoryidarray=split(categoryid,",")
sortid=categoryidarray(0)
typeid=categoryidarray(1)
web=Replace_Text(request.form("web"))
p_z_Z_productionService=Replace_Text(request.form("p_z_Z_productionService"))
qylb=Replace_Text(request.form("qylb"))
frdb=Replace_Text(request.form("frdb"))
qyjj=Replace_Text(request.form("qyjj"))
isournotify=Replace_Text(request.form("isournotify"))
if isournotify="" then
isournotify=0
else
isournotify=1
end if
isothernotify=Replace_Text(request.form("isothernotify"))
if isothernotify="" then
isothernotify=0
else
isothernotify=1
end if
set rs=server.CreateObject ("adodb.recordset")
sql="select * from corporation where id="&request("id")&""
rs.open sql,conn,1,3
rs("name")=name1
rs("ch")=ch
rs("email")=email
rs("phone")=phone
rs("fax")=fax
rs("mobile")=mobile
rs("post")=post
rs("country")=country
rs("sf")=sf
rs("city")=city
rs("address")=address
rs("qymc")=qymc
rs("zw")=zw
rs("sortid")=sortid
rs("typeid")=typeid
rs("web")=web
rs("zycp")=p_z_Z_productionService
rs("qylb")=qylb
rs("frdb")=frdb
rs("qyjj")=qyjj
rs("isournotify")=isournotify
rs("isothernotify")=isothernotify
rs.update
rs.close
set rs=noting
conn.close
set conn=nothing
response.write"<SCRIPT language=JavaScript> this.location.href='javascript:window.history.go(-2)';</SCRIPT>"
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -