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

中间件编程

开发平台:

HTML/CSS

  1. <%@ CODEPAGE=65001 %>
  2. <%
  3. '///////////////////////////////////////////////////////////////////////////////
  4. '//              Z-Blog 彩虹网志个人版
  5. '// 作    者:    朱煊(zx.asd)
  6. '// 版权所有:    RainbowSoft Studio
  7. '// 技术支持:    rainbowsoft@163.com
  8. '// 程序名称:    
  9. '// 程序版本:    
  10. '// 单元名称:    edit.asp
  11. '// 开始时间:    2004.07.27
  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_Begin in Action_Plugin_Edit_Begin
  30. If Not IsEmpty(sAction_Plugin_Edit_Begin) Then Call Execute(sAction_Plugin_Edit_Begin)
  31. Next
  32. '检查非法链接
  33. Call CheckReference("")
  34. '检查权限
  35. If Not CheckRights("ArticleEdt") Then Call ShowError(6)
  36. Dim EditArticle
  37. Set EditArticle=New TArticle
  38. If Not IsEmpty(Request.QueryString("id")) Then
  39. If EditArticle.LoadInfobyID(Request.QueryString("id")) Then
  40. If EditArticle.AuthorID<>BlogUser.ID Then
  41. If CheckRights("Root")=False Then 
  42. Call ShowError(6)
  43. End If
  44. End If
  45. Else
  46. Call ShowError(9)
  47. End If
  48. Else
  49. EditArticle.AuthorID=BlogUser.ID
  50. End If
  51. BlogTitle=ZC_BLOG_TITLE & ZC_MSG044 & ZC_MSG047
  52. EditArticle.Title=TransferHTML(EditArticle.Title,"[html-japan]")
  53. EditArticle.Content=TransferHTML(EditArticle.Content,"[html-japan]")
  54. EditArticle.Intro=TransferHTML(EditArticle.Intro,"[html-japan]")
  55. EditArticle.Title=TransferHTML(EditArticle.Title,"[html-format]")
  56. EditArticle.Content=TransferHTML(EditArticle.Content,"[textarea]")
  57. EditArticle.Intro=TransferHTML(EditArticle.Intro,"[textarea]")
  58. %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  59. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%=ZC_BLOG_LANGUAGE%>" lang="<%=ZC_BLOG_LANGUAGE%>">
  60. <head>
  61. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  62. <meta http-equiv="Content-Language" content="<%=ZC_BLOG_LANGUAGE%>" />
  63. <link rel="stylesheet" rev="stylesheet" href="../CSS/admin.css" type="text/css" media="screen" />
  64. <script language="JavaScript" src="../script/common.js" type="text/javascript"></script>
  65. <link rel="stylesheet" href="../CSS/jquery.bettertip.css" type="text/css" media="screen">
  66. <script language="JavaScript" src="../script/jquery.bettertip.pack.js" type="text/javascript"></script>
  67. <script language="JavaScript" src="../script/jquery.tagto.js" type="text/javascript"></script>
  68. <script language="JavaScript" src="../script/jquery.textarearesizer.compressed.js" type="text/javascript"></script>
  69.     <script type="text/javascript">
  70.         (function($){
  71.             $(document).ready(function(){
  72.                 $("#ulTag").tagTo("#edtTag");
  73.             });    
  74.         })(jQuery);
  75.     </script>
  76. <title><%=BlogTitle%></title>
  77. </head>
  78. <body>
  79. <div id="divMain">
  80. <div class="Header"><%=ZC_MSG047%></div>
  81. <%
  82. Response.Write "<div class=""SubMenu"">" & Response_Plugin_ArticleEdt_SubMenu & "</div>"
  83. %>
  84. <div class="form">
  85. <% Call GetBlogHint() %>
  86. <div id="divClick" style="display:none;"><a href="#" onclick="document.getElementById('divClick').style.display='none';document.getElementById('divAdv').style.display='block';document.getElementById('divFileSnd').style.display='block';document.getElementById('divIntro').style.display='block';Advanced();return false;"><%=GetSettingFormNameWithDefault("ZC_MSG316","Advanced Option")%><span style="font-size: 1.5em; vertical-align: -1px;">»</span></a></div>
  87. <form id="edit" name="edit" method="post">
  88. <input type="hidden" name="edtID" id="edtID" value="<%=EditArticle.ID%>">
  89. <p><%=ZC_MSG060%>:<input type="text" name="edtTitle" id="edtTitle" style="width:470px;"  onblur="if(this.value=='') this.value='<%=ZC_MSG099%>'" onfocus="if(this.value=='<%=ZC_MSG099%>') this.value=''" value="<%=EditArticle.Title%>" />
  90. </p>
  91. <%
  92. Err.Clear
  93. On Error Resume Next
  94. BlogTitle=EditArticle.Tag
  95. If Err.Number=0 Then
  96. %>
  97. <p><%=ZC_MSG012%>:<select style="width:205px;" class="edit" size="1" id="cmbCate" onchange="edtCateID.value=this.options[this.selectedIndex].value"><option value="0"></option>
  98. <%
  99. GetCategory()
  100. Dim Category
  101. For Each Category in Categorys
  102. If IsObject(Category) Then
  103. Response.Write "<option value="""&Category.ID&""" "
  104. If EditArticle.CateID=Category.ID Then Response.Write "selected=""selected"""
  105. Response.Write ">"&TransferHTML(Category.Name,"[html-format]")&"</option>"
  106. End If
  107. Next
  108. %>
  109. </select><input type="hidden" name="edtCateID" id="edtCateID" value="<%=EditArticle.CateID%>">
  110. &nbsp;<%=ZC_MSG138%>:<input type="text" style="width:223px;" name="edtTag" id="edtTag" value="<%=TransferHTML(EditArticle.TagToName,"[html-format]")%>"> (<%=ZC_MSG296%>) <a href="" style="cursor:pointer;" onclick="if(document.getElementById('ulTag').style.display=='none'){document.getElementById('ulTag').style.display='block';}else{document.getElementById('ulTag').style.display='none'};return false;"><%=ZC_MSG139%><span style="font-size: 1.5em; vertical-align: -1px;">»</span></a>
  111. <ul id="ulTag" style="display:none;">
  112. <%
  113. Dim objRS
  114. Set objRS=objConn.Execute("SELECT [tag_ID] FROM [blog_Tag] ORDER BY [tag_Name] ASC")
  115. If (Not objRS.bof) And (Not objRS.eof) Then
  116. Do While Not objRS.eof
  117. If InStr(EditArticle.Tag,"{"& objRS("tag_ID") & "}")>0 Then
  118. Response.Write "<span><a href='#' class='selected'>"& TransferHTML(Tags(objRS("tag_ID")).Name,"[html-format]") &"</a></span> "
  119. Else
  120. Response.Write "<span><a href='#'>"& TransferHTML(Tags(objRS("tag_ID")).Name,"[html-format]") &"</a></span> "
  121. End If
  122. objRS.MoveNext
  123. Loop
  124. End If
  125. objRS.Close
  126. Set objRS=Nothing
  127. %>
  128. </ul></p>
  129. <%
  130. End If
  131. Err.Clear
  132. %>
  133. <div id="divAdv" style="display:block;">
  134. <p><%=ZC_MSG003%>:<select style="width:205px;" class="edit" size="1" id="cmbUser" onchange="edtAuthorID.value=this.options[this.selectedIndex].value"><option value="0"></option>
  135. <%
  136. GetUser()
  137. Dim User
  138. For Each User in Users
  139. If IsObject(User) Then
  140. If CheckRights("Root")=True Then
  141. Response.Write "<option value="""&User.ID&""" "
  142. If User.ID=EditArticle.AuthorID Then
  143. Response.Write "selected=""selected"""
  144. End If
  145. Response.Write ">"&TransferHTML(User.Name,"[html-format]")&"</option>"
  146. Else
  147. If User.ID=EditArticle.AuthorID Then
  148. Response.Write "<option value="""&User.ID&""" "
  149. Response.Write "selected=""selected"""
  150. Response.Write ">"&TransferHTML(User.Name,"[html-format]")&"</option>"
  151. End If
  152. End If
  153. End If
  154. Next
  155. %>
  156. </select><input type="hidden" name="edtAuthorID" id="edtAuthorID" value="<%=EditArticle.AuthorID%>">
  157. &nbsp;<%=ZC_MSG061%>:<select style="width:230px;" class="edit" size="1" id="cmbArticleLevel" onchange="edtLevel.value=this.options[this.selectedIndex].value">
  158. <%
  159. Dim ArticleLevel
  160. Dim i:i=0
  161. For Each ArticleLevel in ZVA_Article_Level_Name
  162. Response.Write "<option value="""& i &""" "
  163. If EditArticle.Level=i Then Response.Write "selected=""selected"""
  164. Response.Write ">"& ZVA_Article_Level_Name(i) &"</option>"
  165. i=i+1
  166. Next
  167. %>
  168. </select><input type="hidden" name="edtLevel" id="edtLevel" value="<%=EditArticle.Level%>" />
  169. <%
  170. Err.Clear
  171. On Error Resume Next
  172. BlogTitle=EditArticle.Istop
  173. If Err.Number=0 Then
  174. %>
  175. &nbsp;<%=ZC_MSG051%>
  176. <%If EditArticle.Istop Then%>
  177. <input type="checkbox" name="edtIstop" id="edtIstop" value="True" checked=""/>
  178. <%Else%>
  179. <input type="checkbox" name="edtIstop" id="edtIstop" value="True"/>
  180. <%End If%>
  181. <%
  182. End If
  183. Err.Clear
  184. %>
  185. </p>
  186. <p><%=ZC_MSG062%>:<input type="text" name="edtYear" id="edtYear" style="width:40px;" value="<%=Year(EditArticle.PostTime)%>" />-<input type="text" name="edtMonth" id="edtMonth" style="width:21px;" value="<%=Month(EditArticle.PostTime)%>" />-<input type="text" name="edtDay" id="edtDay" style="width:21px;" value="<%=Day(EditArticle.PostTime)%>" />-<input type="text" name="edtTime" id="edtTime" style="width:73px;" value="<%= Hour(EditArticle.PostTime)&":"&Minute(EditArticle.PostTime)&":"&Second(EditArticle.PostTime)%>" />
  187. <%
  188. Err.Clear
  189. On Error Resume Next
  190. BlogTitle=EditArticle.Alias
  191. If Err.Number=0 Then
  192. %>
  193. &nbsp;<%=ZC_MSG147%>:<input type="text" style="width:223px;" name="edtAlias" id="edtAlias" value="<%=TransferHTML(EditArticle.Alias,"[html-format]")%>"> .<%=ZC_STATIC_TYPE%>
  194. <%
  195. End If
  196. Err.Clear
  197. %>
  198. </div>
  199. <%
  200. If Response_Plugin_Edit_Form<>"" Then
  201. %>
  202. <div><%=Response_Plugin_Edit_Form%></div>
  203. <%
  204. End If
  205. %>
  206. <div id="divFileSnd">
  207. <%If CheckRights("FileSnd") Then%>
  208. <p id="filesnd"><iframe frameborder="0" height="78" marginheight="0" marginwidth="0" scrolling="no" width="100%" src="../cmd.asp?act=FileSnd"></iframe></p>
  209. <%Else%>
  210. <%End If%>
  211. </div>
  212. <div id="divUBB">
  213. <ul id="ulHtml">
  214. <li><%=ZC_MSG059%>:</li>
  215. <li><span onmousedown='InsertText(objActive,ReplaceText(objActive,"<h1>","</h1>"),true);'>&lt;h1&gt;</span></li>
  216. <li><span onmousedown='InsertText(objActive,ReplaceText(objActive,"<h2>","</h2>"),true);'>&lt;h2&gt;</span></li>
  217. <li><span onmousedown='InsertText(objActive,ReplaceText(objActive,"<h3>","</h3>"),true);'>&lt;h3&gt;</span></li>
  218. <li><span onmousedown='InsertText(objActive,ReplaceText(objActive,"<h4>","</h4>"),true);'>&lt;h4&gt;</span></li>
  219. <li><span onmousedown='InsertText(objActive,ReplaceText(objActive,"<h5>","</h5>"),true);'>&lt;h5&gt;</span></li>
  220. <li><span onmousedown='InsertText(objActive,ReplaceText(objActive,"<h6>","</h6>"),true);'>&lt;h6&gt;</span></li>
  221. <li><span onmousedown='InsertText(objActive,ReplaceText(objActive,"<a href="">","</a>"),true);'>&lt;a&gt;</span></li>
  222. <li><span onmousedown='InsertText(objActive,ReplaceText(objActive,"<p>","</p>"),true);'>&lt;p&gt;</span></li>
  223. <li><span onmousedown='InsertText(objActive,"<br/>",false);'>&lt;br&gt;</span></li>
  224. <li><span onmousedown='InsertText(objActive,ReplaceText(objActive,"<b>","</b>"),true);'>&lt;b&gt;</span></li>
  225. <li><span onmousedown='InsertText(objActive,ReplaceText(objActive,"<s>","</s>"),true);'>&lt;s&gt;</span></li>
  226. <li><span onmousedown='InsertText(objActive,ReplaceText(objActive,"<u>","</u>"),true);'>&lt;u&gt;</span></li>
  227. <li><span onmousedown='InsertText(objActive,ReplaceText(objActive,"<i>","</i>"),true);'>&lt;i&gt;</span></li>
  228. <li><span onmousedown='InsertText(objActive,"<img src="" width="" height="" />",false);'>&lt;img&gt;</span></li>
  229. <li><span onmousedown='InsertText(objActive,ReplaceText(objActive,"<ul>","</ul>"),true);'>&lt;ul&gt;</span></li>
  230. <li><span onmousedown='InsertText(objActive,ReplaceText(objActive,"<ol>","</ol>"),true);'>&lt;ol&gt;</span></li>
  231. <li><span onmousedown='InsertText(objActive,ReplaceText(objActive,"<li>","</li>"),true);'>&lt;li&gt;</span></li>
  232. <li><span onmousedown='InsertText(objActive,"&amp;nbsp;",false);'>&amp;nbsp;</span></li>
  233. <li><span onmousedown='InsertText(objActive,"&amp;lt;",false);'>&amp;lt;</span></li>
  234. <li><span onmousedown='InsertText(objActive,"&amp;gt;",false);'>&amp;gt;</span></li>
  235. <li><span onmousedown='InsertText(objActive,ReplaceText(objActive,"<!-- "," -->"),true);'>&lt;!--&gt;</span></li>
  236. <%=Response_Plugin_Edit_HtmlTag%>
  237. </ul>
  238. <ul id="ulUBB">
  239. <li><%=ZC_MSG037%>:</li>
  240. <li><select  style="width: 76px;"  size="1" onchange='InsertText(objActive,ReplaceText(objActive,"[FONT-FACE="+this.options[this.selectedIndex].text+"]","[/FONT-FACE]"),true);this.selectedIndex=0'><option>字体</option><option>宋体</option><option>楷体_GB2312</option><option>新宋体</option><option>黑体</option><option>隶书</option><option>幼圆</option><option>Arial</option><option>Tahoma</option><option>Verdana</option></select></li>
  241. <li><select  style="width: 76px;"  size="1" onchange='InsertText(objActive,ReplaceText(objActive,"[FONT-SIZE="+this.options[this.selectedIndex].text+"]","[/FONT-SIZE]"),true);this.selectedIndex=0'><option>大小</option><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option></select></li>
  242. <li><select  style="width: 76px;"  size="1" onchange='InsertText(objActive,ReplaceText(objActive,"[FONT-COLOR="+this.options[this.selectedIndex].text+"]","[/FONT-COLOR]"),true);this.selectedIndex=0'><option>颜色</option><option>Black</option><option>White</option><option>Red</option><option>Yellow</option><option>Lime</option><option>Aqua</option><option>Blue</option><option>Fuchsia</option><option>Gray</option><option>Silver</option><option>Maroon</option><option>Olive</option><option>Green</option><option>Teal</option><option>Navy</option><option>Purple</option></select></li>
  243. <li><img src="../image/edit/separator.gif" class="separator"/></li>
  244. <li><img src="../image/edit/aleft.gif" onclick='InsertText(objActive,ReplaceText(objActive,"[ALIGN-LELT]","[/ALIGN-LELT]"),true);'/></li>
  245. <li><img src="../image/edit/acenter.gif" onclick='InsertText(objActive,ReplaceText(objActive,"[ALIGN-CENTER]","[/ALIGN-CENTER]"),true);'/></li>
  246. <li><img src="../image/edit/aright.gif" onclick='InsertText(objActive,ReplaceText(objActive,"[ALIGN-RIGHT]","[/ALIGN-RIGHT]"),true);'/></li>
  247. <li><img src="../image/edit/separator.gif" class="separator"/></li>
  248. <li><img src="../image/edit/bold.gif" onclick='InsertText(objActive,ReplaceText(objActive,"[B]","[/B]"),true);'/></li>
  249. <li><img src="../image/edit/italic.gif" onclick='InsertText(objActive,ReplaceText(objActive,"[I]","[/I]"),true);'/></li>
  250. <li><img src="../image/edit/underline.gif" onclick='InsertText(objActive,ReplaceText(objActive,"[U]","[/U]"),true);'/></li>
  251. <li><img src="../image/edit/hr.gif" onclick='InsertText(objActive,"[HR][/HR]",false);'/></li>
  252. <li><img src="../image/edit/separator.gif" class="separator"/></li>
  253. <li><img src="../image/edit/wlink.gif" onclick='InsertText(objActive,ReplaceText(objActive,"[URL=http://]","[/URL]"),true);'/></li>
  254. <li><img src="../image/edit/email.gif" onclick='InsertText(objActive,ReplaceText(objActive,"[EMAIL=@]","[/EMAIL]"),true);'/></li>
  255. <li><img src="../image/edit/separator.gif" class="separator"/></li>
  256. <li><img src="../image/edit/img.gif" onclick='InsertText(objActive,"[IMG=400,300,title]upload/[/IMG]",false);'/></li>
  257. <li><img src="../image/edit/img_l.gif" onclick='InsertText(objActive,"[IMG_LEFT=400,300,title]upload/[/IMG_LEFT]",false);'/></li>
  258. <li><img src="../image/edit/img_r.gif" onclick='InsertText(objActive,"[IMG_RIGHT=400,300,title]upload/[/IMG_RIGHT]",false);'/></li>
  259. <li><img src="../image/edit/separator.gif" class="separator"/></li>
  260. <li><img src="../image/edit/wmp.gif" onclick='InsertText(objActive,"[MEDIA=AUTO,400,300]upload/[/MEDIA]",false);'/></li>
  261. <li><img src="../image/edit/swf.gif" onclick='InsertText(objActive,"[FLASH=400,300,True]upload/[/FLASH]",false);'/></li>
  262. <li><img src="../image/edit/separator.gif" class="separator"/></li>
  263. <li><img src="../image/edit/wmv.gif" onclick='InsertText(objActive,"[WMV=400,300,True]upload/[/WMV]",false);'/></li>
  264. <li><img src="../image/edit/rm.gif" onclick='InsertText(objActive,"[RM=400,300,True]upload/[/RM]",false);'/></li>
  265. <li><img src="../image/edit/mov.gif" onclick='InsertText(objActive,"[QT=400,300,True]upload/[/QT]",false);'/></li>
  266. <li><img src="../image/edit/wma.gif" onclick='InsertText(objActive,"[WMA=True]upload/[/WMA]",false);'/></li>
  267. <li><img src="../image/edit/ra.gif" onclick='InsertText(objActive,"[RA=True]upload/[/RA]",false);'/></li>
  268. <li><img src="../image/edit/separator.gif" class="separator"/></li>
  269. <li><img src="../image/edit/code.gif" onclick='InsertText(objActive,ReplaceText(objActive,"[CODE]","[/CODE]"),true);'/></li>
  270. <li><img src="../image/edit/codelite.gif" onclick='InsertText(objActive,ReplaceText(objActive,"[CODE_LITE]","[/CODE_LITE]"),true);'/></li>
  271. <%=Response_Plugin_Edit_UbbTag%>
  272. </ul>
  273. </div>
  274. <div id="divContent" style="clear:both;">
  275. <p><%=ZC_MSG055%>: (<span id="timemsg"></span><span id="msg2"></span><span id="msg"></span><script language="JavaScript" src="c_autosaverjs.asp?act=edit&type=normal"></script>)<br/>
  276. <textarea rows="4" class="resizable" onchange="GetActiveText(this.id);" onclick="GetActiveText(this.id);" onfocus="GetActiveText(this.id);" name="txaContent" id="txaContent"><%=EditArticle.Content%></textarea></p>
  277. </div>
  278. <div id="divAutoIntro" class="anti_normal" style="display:<%If EditArticle.ID=0 And EditArticle.Intro="" Then Response.Write "block" Else Response.Write "none"%>;" onclick="this.style.display='none';document.getElementById('divIntro').style.display='block';AutoIntro();"><p><a title="<%=ZC_MSG297%>" href="javascript:AutoIntro()">[<%=ZC_MSG310%>]</a></p></div>
  279. <div id="divIntro" style="display:<%If EditArticle.Intro="" Then Response.Write "none" Else Response.Write "block"%>;">
  280. <!-- <div id="divIntro"> -->
  281. <p><%=ZC_MSG016%>: <a title="<%=ZC_MSG297%>" href="javascript:AutoIntro()">[<%=ZC_MSG310%>]</a><br/>
  282. <textarea rows="4" onchange="GetActiveText(this.id);" onclick="GetActiveText(this.id);" onfocus="GetActiveText(this.id);" name="txaIntro" id="txaIntro"><%=EditArticle.Intro%></textarea></p>
  283. </div>
  284. <%
  285. If Response_Plugin_Edit_Form2<>"" Then
  286. %>
  287. <div><%=Response_Plugin_Edit_Form2%></div>
  288. <%
  289. End If
  290. %>
  291. <p><input class="button" type="submit" value="<%=ZC_MSG087%>" id="btnPost" onclick='return checkArticleInfo();' /></p>
  292. </form>
  293. </div>
  294. </div>
  295. </body>
  296. <script>
  297. objActive="txaContent";
  298. var str10="<%=ZC_MSG115%>";
  299. var str11="<%=ZC_MSG116%>";
  300. var str12="<%=ZC_MSG117%>";
  301. function checkArticleInfo(){
  302. document.getElementById("edit").action="../cmd.asp?act=ArticlePst";
  303. if(document.getElementById("edtCateID").value==0){
  304. alert(str10);
  305. return false
  306. }
  307. if(!document.getElementById("txaContent").value){
  308. alert(str11);
  309. return false
  310. }
  311. }
  312. function AddKey(i) {
  313. var strKey=document.getElementById("edtTag").value;
  314. var strNow=","+i
  315. if(strKey==""){
  316. strNow=i
  317. }
  318. if(strKey.indexOf(strNow)==-1){
  319. strKey=strKey+strNow;
  320. }
  321. document.getElementById("edtTag").value=strKey;
  322. }
  323. function DelKey(i) {
  324. var strKey=document.getElementById("edtTag").value;
  325. var strNow="{"+i+"}"
  326. if(strKey.indexOf(strNow)!=-1){
  327. strKey=strKey.substring(0,strKey.indexOf(strNow))+strKey.substring(strKey.indexOf(strNow)+strNow.length,strKey.length)
  328. }
  329. document.getElementById("edtTag").value=strKey;
  330. }
  331. function AutoIntro() {
  332. document.getElementById("txaIntro").value=document.getElementById("txaContent").value.replace(/<[^>]+>/g, "").substring(0,200)    //去掉HTML后截取200字符,UBB标签就不过滤了,Z-Blog应该不会处理未闭合的UBB吧。
  333. }
  334. function Advanced(){
  335. $("div.normal").css("display","block");
  336. $("div.anti_normal").css("display","none");
  337. }
  338. /* jQuery textarea resizer plugin usage 
  339. $(document).ready(function() {
  340. $('textarea.resizable:not(.processed)').TextAreaResizer();
  341. $('iframe.resizable:not(.processed)').TextAreaResizer();
  342. });*/
  343. </script>
  344. </html>
  345. <% 
  346. Call System_Terminate()
  347. If Err.Number<>0 then
  348. Call ShowError(0)
  349. End If
  350. %>