LT_TieZhi_CaoZuo.Asp
资源名称:4.rar [点击查看]
上传用户:zhbanny
上传日期:2020-11-04
资源大小:161k
文件大小:2k
源码类别:

手机WAP编程

开发平台:

ASP/ASPX

  1. <!--#Include File="../Inc/Head.Asp"--><%
  2. Private FangWen
  3. Set FangWen=New xkon_FangWen
  4. FangWen.FangWen()
  5. FangWen.TieZhi()
  6. Set FangWen=Nothing
  7. Private c,s
  8. Set c=New xkon_Response
  9. Set s=New xkon_Request
  10. Private ID
  11. ID=s.QueryString("ID")
  12. Private Sub x()
  13. Dim Cn1,Cn2,MingChen,NiChen,HuiYuan,ShiJian,ZuiHouHuiFu,Qian,BanKuai,DianJi,HuiFu,IP,TongZhi,MiMing,JingBi
  14. Call OpenData()
  15. Set Cn1=Server.CreateObject("Adodb.Command")
  16. Cn1.ActiveConnection=Conn
  17. Cn1.CommandType=1
  18. Cn1.CommandText="Select * From TieZhi Where ID="&Clng(ID)
  19. Set Cn2=Cn1.Execute
  20. If Cn2.Eof Then
  21. Call xkon_Error("该内容不存在")
  22. Else
  23. MingChen=Cn2("MingChen")
  24. NiChen=Cn2("NiChen")
  25. HuiYuan=Cn2("HuiYuan")
  26. ShiJian=Cn2("ShiJian")
  27. ZuiHouHuiFu=Cn2("ZuiHouHuiFu")
  28. Qian=Cn2("Qian")
  29. BanKuai=Cn2("BanKuai")
  30. DianJi=Cn2("DianJi")
  31. HuiFu=Cn2("HuiFu")
  32. IP=Cn2("IP")
  33. TongZhi=Cn2("TongZhi")
  34. MiMing=Cn2("MiMing")
  35. End If
  36. Set Cn2=Nothing
  37. Set Cn1=Nothing
  38. Call CloseData()
  39. c.Writeln("贴子ID:"&ID)
  40. c.Writeln("贴子名称:"&MingChen)
  41. c.Writeln("发贴人:"&NiChen)
  42. c.Writeln("发贴人用户名:"&HuiYuan)
  43. c.Writeln("发表时间:"&ShiJian)
  44. c.Writeln("最后回复时间"&ZuiHouHuiFu)
  45. c.Writeln("状态:"&Qian)
  46. c.Writeln("贴子所属版块:"&BanKuai)
  47. c.Writeln("贴子点击:"&DianJi)
  48. c.Writeln("贴子回复:"&HuiFu)
  49. c.Writeln("发贴人IP:"&IP)
  50. c.Writeln("回贴通知:"&Zhuan(TongZhi))
  51. c.Writeln("是否匿名:"&Zhuan(MiMing))
  52. End Sub
  53. Call H_Title("贴子管理")
  54. Call x()
  55. c.Write("<a href=""LT_TieZhi.Asp"">返回贴子管理</a>")
  56. Call H_End()
  57. Set c=Nothing
  58. Set s=Nothing
  59. %>