copypro.asp
上传用户:btntkt
上传日期:2021-04-16
资源大小:5296k
文件大小:2k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

DOS

  1. <!--#include file="conn.asp"-->
  2. <%
  3. dim action,bookid
  4. bookid=request.QueryString("id")
  5. set rse=server.CreateObject("adodb.recordset")
  6. rse.Open "select * from products where bookid="&bookid,conn,1,3
  7. set rs=server.CreateObject("adodb.recordset")
  8. rs.Open "select * from products ",conn,1,3
  9. rs.AddNew
  10. rs("mch")=rse("mch")
  11. rs("pp")=rse("pp")
  12. rs("isbn1")=rse("isbn1")
  13. rs("jj")=rse("jj")
  14. rs("jg")=rse("jg")
  15. rs("zl")=rse("zl")
  16. rs("tp")=rse("tp")
  17. rs("nr")=rse("nr")
  18. rs("bh")=rse("bh")
  19. rs("anclassid")=rse("anclassid")
  20. rs("nclassid")=rse("nclassid")
  21. rs("xclassid")=rse("xclassid") '子类
  22. rs("bookname")=rse("bookname")
  23. set rsq=server.CreateObject("adodb.recordset")
  24. rsq.Open "select top 1  from products",conn,1,3
  25. id=rs("bookid")
  26.    bianhao1=date()
  27.         bianhao1=replace(bianhao1, "-", "")
  28.         bianhao1=replace(bianhao1, " ", "")
  29.         bianhao1=replace(bianhao1, ":", "")
  30.         bianhao=trim(request("bianhao"))
  31. rs("grade")=bianhao1&id
  32. rs("pingpai")=rse("pingpai")
  33. rs("isbn")=rse("isbn") 
  34. rs("chima")=rse("chima")
  35. rs("yanse")=rse("yanse")
  36. rs("bookchuban")=rse("bookchuban")
  37. rs("shichangjia")=rse("shichangjia")  
  38. rs("huiyuanjia")=rse("huiyuanjia") 
  39. rs("vipjia")=rse("vipjia") 
  40. rs("dazhe")=rse("dazhe") 
  41. rs("kucun")=rse("kucun")  
  42. rs("bookpic")=rse("bookpic")
  43. rs("zhuang")=rse("zhuang") 
  44. rs("metad")=rse("metad")
  45. rs("metak")=rse("metak")
  46. rs("bookcontent")=rse("bookcontent")
  47. rs("yeshu")=rse("yeshu")
  48. rs("bestbook")=rse("bestbook")
  49. rs("newsbook")=rse("newsbook")
  50. rs("tejiabook")=rse("tejiabook")
  51. rs("chengjiaocount")=rse("chengjiaocount") 
  52. rs("liulancount")=rse("liulancount")  
  53. rs("adddate")=now()
  54. rs("pingji")=rse("pingji")  
  55. rs("pingjizong")=rse("pingjizong")
  56. rs.Update
  57. rs.Close
  58. set rs=nothing
  59. if request("linkaddress")="" then
  60. response.redirect request.servervariables("http_referer")
  61. else
  62. response.redirect request("linkaddress")
  63. end if
  64. response.End
  65. %>