DownClass_review.asp
上传用户:jisenq
上传日期:2014-06-29
资源大小:7216k
文件大小:2k
源码类别:

数据库编程

开发平台:

ASP/ASPX

  1. <% Option Explicit %>
  2. <!--#include file="../../FS_Inc/Const.asp" -->
  3. <!--#include file="../../FS_Inc/Function.asp" -->
  4. <!--#include file="../../FS_InterFace/MF_Function.asp" -->
  5. <!--#include file="../../FS_InterFace/MF_LoadLabel.asp" -->
  6. <%
  7. Dim conn,Str_NS_NewsClassID,Rs_NS_NewsClass,Str_NS_NewsClass_Templet,StrSql
  8. Dim f_Phy_Templet,f_FSO_OBJ,f_FILE_OBJ,f_FILE_STREAM_OBJ,f_File_Content,f_PAGES_DICT_OBJ,Page
  9. MF_Default_Conn
  10. Str_NS_NewsClassID=NoSqlHack(Trim(Request("id")))
  11. Page=NoSqlHack(Trim(Request("Page")))
  12. If isnumeric(Page) then
  13. Page=Cint(Page)
  14. Else
  15. Page=0
  16. End if
  17. If Str_NS_NewsClassID<>"" Then
  18. StrSql="SELECT Templet FROM FS_DS_Class WHERE ReycleTF=0 AND ClassID='"&Str_NS_NewsClassID&"'"
  19. 'Response.Write StrSql
  20. Set Rs_NS_NewsClass=conn.Execute(StrSql)
  21. If Not Rs_NS_NewsClass.eof Then   
  22. Str_NS_NewsClass_Templet=Rs_NS_NewsClass(0)
  23. Else
  24. Response.Write "<script language=""JavaScript"" type=""text/javascript"" src=""../FS_Inc/PublicJs.js""></script>"&vbcrlf
  25. Response.Write "<SCRIPT LANGUAGE=""JavaScript"">ShowErr(""错误:n参数错误"");</SCRIPT>"
  26. End If
  27. Else
  28. Response.Write "<script language=""JavaScript"" type=""text/javascript"" src=""../FS_Inc/PublicJs.js""></script>"&vbcrlf
  29. Response.Write "<SCRIPT LANGUAGE=""JavaScript"">ShowErr(""错误:n参数错误"");</SCRIPT>"
  30. End If
  31. If G_VIRTUAL_ROOT_DIR<>"" Then
  32. Str_NS_NewsClass_Templet="/"&G_VIRTUAL_ROOT_DIR&Str_NS_NewsClass_Templet
  33. Else
  34. Str_NS_NewsClass_Templet=Str_NS_NewsClass_Templet
  35. End If
  36. Response.Write Get_Dynamic_Refresh_Content(Str_NS_NewsClass_Templet,Str_NS_NewsClassID,"DS",Page,"down")
  37. %>