• 网站前台后台的文本编辑器的调用方法

    2012-04-12

    前台文本编辑器:                   

     
     
     
     
     
      
      
      
      
      


    第二个文本编辑器

     


    前台文本编辑器修改:

     <%
    Dim htmlData
    htmlData = rs("q9")
    Function htmlspecialchars(str)
     str = Replace(str, "&", "&")
     str = Replace(str, "<", "<")
     str = Replace(str, ">", ">")
     str = Replace(str, """", """)
     htmlspecialchars = str
    End Function
    %>






     
      


      

    第二个修改:

    <%
    Dim htmlData1
    htmlData1 = rs("q11")
    Function htmlspecialchars(str)
     str = Replace(str, "&", "&")
     str = Replace(str, "<", "<")
     str = Replace(str, ">", ">")
     str = Replace(str, """", """)
     htmlspecialchars = str
    End Function
    %>

      
      
       


    后台文本编辑器:

    修改页面
    ======================  


     <%

    Dim htmlData
    htmlData = rso("content")

    Function htmlspecialchars(str)
     str = Replace(str, "&", "&")
     str = Replace(str, "<", "<")
     str = Replace(str, ">", ">")
     str = Replace(str, """", """)
     htmlspecialchars = str
    End Function
    %>


     

     
     
     
     
     
     
     

      

    添加页面


    =================

     

     
     
     
     
     
     
     
     



    ================================================