copypro.asp
资源名称:shop2.rar [点击查看]
上传用户:btntkt
上传日期:2021-04-16
资源大小:5296k
文件大小:2k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
DOS
- <!--#include file="conn.asp"-->
- <%
- dim action,bookid
- bookid=request.QueryString("id")
- set rse=server.CreateObject("adodb.recordset")
- rse.Open "select * from products where bookid="&bookid,conn,1,3
- set rs=server.CreateObject("adodb.recordset")
- rs.Open "select * from products ",conn,1,3
- rs.AddNew
- rs("mch")=rse("mch")
- rs("pp")=rse("pp")
- rs("isbn1")=rse("isbn1")
- rs("jj")=rse("jj")
- rs("jg")=rse("jg")
- rs("zl")=rse("zl")
- rs("tp")=rse("tp")
- rs("nr")=rse("nr")
- rs("bh")=rse("bh")
- rs("anclassid")=rse("anclassid")
- rs("nclassid")=rse("nclassid")
- rs("xclassid")=rse("xclassid") '子类
- rs("bookname")=rse("bookname")
- set rsq=server.CreateObject("adodb.recordset")
- rsq.Open "select top 1 from products",conn,1,3
- id=rs("bookid")
- bianhao1=date()
- bianhao1=replace(bianhao1, "-", "")
- bianhao1=replace(bianhao1, " ", "")
- bianhao1=replace(bianhao1, ":", "")
- bianhao=trim(request("bianhao"))
- rs("grade")=bianhao1&id
- rs("pingpai")=rse("pingpai")
- rs("isbn")=rse("isbn")
- rs("chima")=rse("chima")
- rs("yanse")=rse("yanse")
- rs("bookchuban")=rse("bookchuban")
- rs("shichangjia")=rse("shichangjia")
- rs("huiyuanjia")=rse("huiyuanjia")
- rs("vipjia")=rse("vipjia")
- rs("dazhe")=rse("dazhe")
- rs("kucun")=rse("kucun")
- rs("bookpic")=rse("bookpic")
- rs("zhuang")=rse("zhuang")
- rs("metad")=rse("metad")
- rs("metak")=rse("metak")
- rs("bookcontent")=rse("bookcontent")
- rs("yeshu")=rse("yeshu")
- rs("bestbook")=rse("bestbook")
- rs("newsbook")=rse("newsbook")
- rs("tejiabook")=rse("tejiabook")
- rs("chengjiaocount")=rse("chengjiaocount")
- rs("liulancount")=rse("liulancount")
- rs("adddate")=now()
- rs("pingji")=rse("pingji")
- rs("pingjizong")=rse("pingjizong")
- rs.Update
- rs.Close
- set rs=nothing
- if request("linkaddress")="" then
- response.redirect request.servervariables("http_referer")
- else
- response.redirect request("linkaddress")
- end if
- response.End
- %>
English
