controller.asp 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <%@ LANGUAGE="VBSCRIPT" CODEPAGE="65001" %>
  2. <%
  3. action = Request.Item("action")
  4. Session.Contents.Remove("ueditor_asp_uploadTemplateName")
  5. Session.Contents.Remove("ueditor_asp_base64Upload")
  6. Session.Contents.Remove("ueditor_asp_listTemplateName")
  7. Select Case action
  8. Case "config"
  9. Server.Execute("action_config.asp")
  10. Case "uploadimage"
  11. Session.Value("ueditor_asp_uploadTemplateName") = "image"
  12. Server.Execute("action_upload.asp")
  13. Case "uploadscrawl"
  14. Session.Value("ueditor_asp_uploadTemplateName") = "scrawl"
  15. Session.Value("base64Upload") = "scrawl.png"
  16. Server.Execute("action_upload.asp")
  17. Case "uploadvideo"
  18. Session.Value("ueditor_asp_uploadTemplateName") = "video"
  19. Server.Execute("action_upload.asp")
  20. Case "uploadfile"
  21. Session.Value("ueditor_asp_uploadTemplateName") = "file"
  22. Server.Execute("action_upload.asp")
  23. Case "listimage"
  24. Session.Value("ueditor_asp_listTemplateName") = "image"
  25. Server.Execute("action_list.asp")
  26. Case "listfile"
  27. Session.Value("ueditor_asp_listTemplateName") = "file"
  28. Server.Execute("action_list.asp")
  29. Case "catchimage"
  30. Server.Execute("action_crawler.asp")
  31. End Select
  32. %>