edit_link.asp
上传用户:saigedz
上传日期:2019-10-14
资源大小:997k
文件大小:6k
源码类别:

中间件编程

开发平台:

HTML/CSS

  1. <%@ CODEPAGE=65001 %>
  2. <%
  3. '///////////////////////////////////////////////////////////////////////////////
  4. '//              Z-Blog
  5. '// 作    者:    
  6. '// 版权所有:    RainbowSoft Studio
  7. '// 技术支持:    
  8. '// 程序名称:    
  9. '// 程序版本:    
  10. '// 单元名称:    
  11. '// 开始时间:    
  12. '// 最后修改:    
  13. '// 备    注:    
  14. '///////////////////////////////////////////////////////////////////////////////
  15. %>
  16. <% Option Explicit %>
  17. <% On Error Resume Next %>
  18. <% Response.Charset="UTF-8" %>
  19. <% Response.Buffer=True %>
  20. <!-- #include file="../c_option.asp" -->
  21. <!-- #include file="../function/c_function.asp" -->
  22. <!-- #include file="../function/c_system_lib.asp" -->
  23. <!-- #include file="../function/c_system_base.asp" -->
  24. <!-- #include file="../function/c_system_plugin.asp" -->
  25. <!-- #include file="../plugin/p_config.asp" -->
  26. <%
  27. Call System_Initialize()
  28. 'plugin node
  29. For Each sAction_Plugin_Edit_Link_Begin in Action_Plugin_Edit_Link_Begin
  30. If Not IsEmpty(sAction_Plugin_Edit_Link_Begin) Then Call Execute(sAction_Plugin_Edit_Link_Begin)
  31. Next
  32. '检查非法链接
  33. Call CheckReference("")
  34. '检查权限
  35. If Not CheckRights("LinkMng") Then Call ShowError(6)
  36. Dim EditArticle
  37. BlogTitle=ZC_BLOG_TITLE & ZC_MSG044 & ZC_MSG298
  38. %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  39. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%=ZC_BLOG_LANGUAGE%>" lang="<%=ZC_BLOG_LANGUAGE%>">
  40. <head>
  41. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  42. <meta http-equiv="Content-Language" content="<%=ZC_BLOG_LANGUAGE%>" />
  43. <link rel="stylesheet" rev="stylesheet" href="../CSS/admin.css" type="text/css" media="screen" />
  44. <script language="JavaScript" src="../script/common.js" type="text/javascript"></script>
  45. <script language="JavaScript" src="../script/jquery.tabs.pack.js" type="text/javascript"></script>
  46. <link rel="stylesheet" href="../CSS/jquery.tabs.css" type="text/css" media="print, projection, screen">
  47. <!--[if lte IE 7]>
  48. <link rel="stylesheet" href="../CSS/jquery.tabs-ie.css" type="text/css" media="projection, screen">
  49. <![endif]-->
  50. <link rel="stylesheet" href="../CSS/jquery.bettertip.css" type="text/css" media="screen">
  51. <script language="JavaScript" src="../script/jquery.bettertip.pack.js" type="text/javascript"></script>
  52. <script language="JavaScript" src="../script/jquery.textarearesizer.compressed.js" type="text/javascript"></script>
  53. <title><%=BlogTitle%></title>
  54. </head>
  55. <body>
  56. <div id="divMain">
  57. <div class="Header"><%=ZC_MSG298%></div>
  58. <%
  59. Response.Write "<div class=""SubMenu"">" & Response_Plugin_LinkMng_SubMenu & "</div>"
  60. %>
  61. <form method="post" action="../cmd.asp?act=LinkSav">
  62. <div id="divMain2">
  63. <% Call GetBlogHint() %>
  64. <ul>
  65. <li class="tabs-selected"><a href="#fragment-1"><span><%=ZC_MSG233%></span></a></li>
  66. <li><a href="#fragment-2"><span><%=ZC_MSG031%></span></a></li>
  67. <li><a href="#fragment-3"><span><%=ZC_MSG030%></span></a></li>
  68. <li><a href="#fragment-4"><span><%=ZC_MSG039%></span></a></li>
  69. </ul>
  70. <%
  71. Dim tpath
  72. Response.Write "<div class=""tabs-div"" id=""fragment-1"">"
  73. tpath="./INCLUDE/navbar.asp"
  74. Response.Write "<p>" & ZC_MSG170 & ": </p><p><INPUT TYPE=""text"" Value="""&unEscape(tpath)&""" style=""width:100%"" readonly></p>"
  75. Response.Write "<p></p>"
  76. Response.Write "<p><textarea class=""resizable""  style=""height:300px;width:100%"" name=""txaContent_Navbar"" id=""txaContent_Navbar"">"&TransferHTML(LoadFromFile(BlogPath & unEscape(tpath),"utf-8"),"[textarea]")&"</textarea></p>" & vbCrlf
  77. Response.Write "</div>"
  78. Response.Write "<div class=""tabs-div"" id=""fragment-2"">"
  79. tpath="./INCLUDE/link.asp"
  80. Response.Write "<p>" & ZC_MSG170 & ": </p><p><INPUT TYPE=""text"" Value="""&unEscape(tpath)&""" style=""width:100%"" readonly></p>"
  81. Response.Write "<p></p>"
  82. Response.Write "<p><textarea class=""resizable""   style=""height:300px;width:100%"" name=""txaContent_Link"" id=""txaContent_Link"">"&TransferHTML(LoadFromFile(BlogPath & unEscape(tpath),"utf-8"),"[textarea]")&"</textarea></p>" & vbCrlf
  83. Response.Write "</div>"
  84. Response.Write "<div class=""tabs-div"" id=""fragment-3"">"
  85. tpath="./INCLUDE/favorite.asp"
  86. Response.Write "<p>" & ZC_MSG170 & ": </p><p><INPUT TYPE=""text"" Value="""&unEscape(tpath)&""" style=""width:100%"" readonly></p>"
  87. Response.Write "<p></p>"
  88. Response.Write "<p><textarea class=""resizable""   style=""height:300px;width:100%"" name=""txaContent_Favorite"" id=""txaContent_Favorite"">"&TransferHTML(LoadFromFile(BlogPath & unEscape(tpath),"utf-8"),"[textarea]")&"</textarea></p>" & vbCrlf
  89. Response.Write "</div>"
  90. Response.Write "<div class=""tabs-div"" id=""fragment-4"">"
  91. tpath="./INCLUDE/misc.asp"
  92. Response.Write "<p>" & ZC_MSG170 & ": </p><p><INPUT TYPE=""text"" Value="""&unEscape(tpath)&""" style=""width:100%"" readonly></p>"
  93. Response.Write "<p></p>"
  94. Response.Write "<p><textarea class=""resizable""   style=""height:300px;width:100%"" name=""txaContent_Misc"" id=""txaContent_Misc"">"&TransferHTML(LoadFromFile(BlogPath & unEscape(tpath),"utf-8"),"[textarea]")&"</textarea></p>" & vbCrlf
  95. Response.Write "</div>"
  96. Response.Write "<p><br/><input type=""submit"" class=""button"" value="""& ZC_MSG087 &""" id=""btnPost"" onclick='' /></p>"
  97. %>
  98. </div></form></div>
  99. <script language="javascript">
  100. $(document).ready(function(){
  101. $("#divMain2").tabs({ fxFade: true, fxSpeed: 'fast' });
  102. /* jQuery textarea resizer plugin usage */
  103. $(document).ready(function() {
  104. $('textarea.resizable:not(.processed)').TextAreaResizer();
  105. $('iframe.resizable:not(.processed)').TextAreaResizer();
  106. });
  107. });
  108. </script>
  109. </body>
  110. </html>
  111. <% 
  112. Call System_Terminate()
  113. If Err.Number<>0 then
  114. Call ShowError(0)
  115. End If
  116. %>