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

📄 pishi_save.asp

📁 物流管理系统,可以用于中小企业,建立自己的内部物流管理.
💻 ASP
字号:
<%@ codepage ="936" %>
<%
if instr(session("flag_fyadmin"),"09")=0 then
response.write "<SCRIPT language=JavaScript>alert('对不起,你没有权限打开此页!');"
response.write"this.location.href='../login.asp';</SCRIPT>" 
response.end
end if
%><!--#include file="../../inc/config.asp"-->
<!--#include file="../../conn/dbconn2.asp"-->
<%
dim bighy,lithy,showname,mmfx,period,content,bookid,linkman,address,email,phone,fax,postcode,web,city,country
dim rs,sql
bighy=request("bighy")
lithy=request("lithy")
showname=request("showname")
mmfx=request("type")
period=request("period")
content=request("content")
bookid=request("bookid")
linkman=request("linkman")
company=request("company")
address=request("address")
email=request("email")
phone=request("phone")
country=request("country")
if trim(request("postcode"))="" then
post="空"
else
post=request("postcode")
end if
if trim(request.form("fax"))="" then
fax="空"
else
fax=request.form("fax")
end if
if trim(request.form("web"))="" then
web="空"
else
web=request.form("web")
end if
city=request.form("city")
set rs=server.createobject("adodb.recordset")
sql="select * from book where (info_id is null)" 
rs.open sql,conn,1,3
rs.addnew
rs("sortid")=bighy
rs("typeid")=lithy
rs("showname")=showname
rs("type")=mmfx
rs("period")=period
rs("bookid")=bookid
rs("content")=content
rs("linkman")=linkman
rs("company")=company
rs("address")=address
rs("mail")=email
rs("phone")=phone
rs("fax")=fax
rs("postcode")=post
rs("country")=country
rs("web")=web
rs("city")=city
rs("gsid")=session("id")
rs("dateandtime")=date()
rs("pishi")=1
rs.update
rs.close

response.write"<SCRIPT language=JavaScript>alert('您的信息提交成功,请返回');"
response.write"javascript:history.go(-1)</SCRIPT>"
set rs=noting
conn.close
set conn=nothing
%>

⌨️ 快捷键说明

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