Blog.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,User_Conn,Str_ME_ilogID,Rs_ME_ilog,Str_ME_ilog_Templet,StrSql
  8. Dim f_Phy_Templet,f_FSO_OBJ,f_FILE_OBJ,f_FILE_STREAM_OBJ,f_File_Content,f_PAGES_DICT_OBJ
  9. MF_Default_Conn
  10. MF_User_Conn
  11. 'User_Conn
  12. Str_ME_ilogID=NoSqlHack(Trim(Request("ID")))
  13. if not isnumeric(Str_ME_ilogID) then
  14. response.Write("错误的参数")
  15. response.End
  16. end if
  17. If Str_ME_ilogID<>"" Then
  18. StrSql="SELECT FS_ME_InfoiLogParam.TempletID FROM FS_ME_Infoilog,FS_ME_InfoiLogParam WHERE FS_ME_Infoilog.UserNumber=FS_ME_InfoiLogParam.UserNumber AND FS_ME_Infoilog.iLogID="&Str_ME_ilogID
  19. 'Response.Write StrSql
  20. Set Rs_ME_ilog=User_Conn.Execute(StrSql)
  21. If Not Rs_ME_ilog.eof Then
  22. Str_ME_ilog_Templet=Rs_ME_ilog("TempletID")
  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_ME_ilog_Templet="/"&G_VIRTUAL_ROOT_DIR&Str_ME_ilog_Templet&"/page.htm"
  33. Else
  34. Str_ME_ilog_Templet=Str_ME_ilog_Templet&"/page.htm"
  35. End If
  36. Response.Write Get_Dynamic_Refresh_Content(Str_ME_ilog_Templet,Str_ME_ilogID,"ME",0,"news")
  37. %>