Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] 论坛发帖和编辑帖子出现这种情况怎么回事?

[复制链接]
大海无情 发表于 2013-7-29 09:09:24 | 显示全部楼层 |阅读模式
点击编辑帖子或者发帖时出现这种情况怎么回事呢?就是出现代码,页面无法显示
  1. <script type="text/javascript">
  2. var allowpostattach = parseInt('1');
  3. var allowpostimg = parseInt('1');
  4. var pid = parseInt('0');
  5. var tid = parseInt('0');
  6. var extensions = '';
  7. var imgexts = 'jpg, jpeg, gif, png, bmp';
  8. var postminchars = parseInt('4');
  9. var postmaxchars = parseInt('10000');
  10. var disablepostctrl = parseInt('1');
  11. var seccodecheck = parseInt('0');
  12. var secqaacheck = parseInt('0');
  13. var typerequired = parseInt('');
  14. var sortrequired = parseInt('');
  15. var special = parseInt('0');
  16. var isfirstpost = 1;
  17. var allowposttrade = parseInt('');
  18. var allowpostreward = parseInt('');
  19. var allowpostactivity = parseInt('');
  20. var sortid = parseInt('0');
  21. var special = parseInt('0');
  22. var fid = 39;
  23. var postaction = 'newthread';
  24. var ispicstyleforum = 0;
  25. </script>

  26. <script src="static/js/forum_post.js?gDZ" type="text/javascript"></script>



  27. <div id="pt" class="bm cl">
  28. <div class="z"><a href="./" class="nvhm" title="首页">安徽大学论坛 </a>  <em>&#8250;</em> <a >论坛</a> <em>&#8250;</em> <a >校园生活</a> <em>&#8250;</em> <a >新人报道</a>

  29. <em>&#8250;</em>
  30. 发表帖子

  31. </div>
  32. </div><form method="post" autocomplete="off" id="postform"
  33. action="forum.php?mod=post&action=newthread&fid=39&extra=&topicsubmit=yes"
  34. onsubmit="return validate(this)">
  35. <div id="ct" class="ct2_a ct2_a_r wp cl">
  36. <div class="mn">
  37. <input type="hidden" name="formhash" id="formhash" value="561071d8" />
  38. <input type="hidden" name="posttime" id="posttime" value="1375060149" />
  39. <input type="hidden" name="wysiwyg" id="e_mode" value="1" />
  40. <div class="bm bw0 cl" id="editorbox">
  41. <ul class="tb cl mbw">
  42. <li class="a"><a href="javascript:;" onclick="switchpost('forum.php?mod=post&action=newthread')">发表帖子</a></li><li><a href="javascript:;" onclick="switchpost('forum.php?mod=post&action=newthread&special=1')">发起投票</a></li></ul>

  43. <div id="draftlist_menu" style="display:none">
  44. <ul class="xl xl1">
  45. <li class="xi2"><a  target="_blank">查看所有草稿</a></li>
  46. </ul>
  47. </div>


  48. <div id="postbox">
  49. <div class="pbt cl">
  50. <div class="z">
  51. <span><input type="text" name="subject" id="subject" class="px" value="" onblur="if($('tags')){relatekw('-1','-1',function(){extraCheck(4)});doane();}" onkeyup="strLenCalc(this, 'checklen', 80);" style="width: 25em" tabindex="1" /></span>
  52. <span id="subjectchk">还可输入 <strong id="checklen">80</strong> 个字符</span>
  53. </div>
  54. </div>

  55. <div id="attachnotice_attach" class="tbms mbm xl" style="display:none">
  56. 您有 <span id="unusednum_attach"></span> 个未使用的附件   <a href="javascript:;" class="xi2" onclick="attachoption('attach', 2);" />查看</a><span class="pipe">|</span><a href="javascript:;" class="xi2" onclick="attachoption('attach', 1)">使用</a><span class="pipe">|</span><a href="javascript:;" class="xi2" onclick="attachoption('attach', 0)">删除</a>
  57. <div id="unusedlist_attach" style="display:none"></div>
  58. </div>
  59. <div id="attachnotice_img" class="tbms mbm xl" style="display:none">
  60. 您有 <span id="unusednum_img"></span> 个未使用的图片   <a href="javascript:;" class="xi2" onclick="attachoption('img', 2);" />查看</a><span class="pipe">|</span><a href="javascript:;" class="xi2" onclick="attachoption('img', 1)">使用</a><span class="pipe">|</span><a href="javascript:;" class="xi2" onclick="attachoption('img', 0)">删除</a>
  61. <div id="unusedlist_img" style="display:none"></div>
  62. </div>

  63. <div id="e_body_loading"><img src="static/image/common/loading.gif" width="16" height="16" class="vm" /> 请稍后 ...</div>
  64. <div class="edt" id="e_body" style="display: none">
  65. <div id="e_controls" class="bar">
  66. <div class="y">
  67. <div class="b2r nbl nbr" id="e_adv_5">
  68. <p>
  69. <a id="e_undo" title="撤销">Undo</a>
  70. </p>
  71. <p>
  72. <a id="e_redo" title="重做">Redo</a>
  73. </p>
  74. </div>
  75. <div class="z">
  76. <span class="mbn"><a id="e_fullswitcher"></a><a id="e_simple"></a></span>
  77. <label id="e_switcher" class="bar_swch ptn"><input id="e_switchercheck" type="checkbox" class="pc" name="checkbox" value="0"  onclick="switchEditor(this.checked?0:1)" />纯文本</label>
  78. </div>
  79. </div>
  80. <div id="e_button" class="btn cl">
  81. <div class="b2r nbr nbl" id="e_adv_s2">
  82. <a id="e_fontname" class="dp" title="设置字体" menupos="43!"><span id="e_font">字体</span></a>
  83. <a id="e_fontsize" class="dp" title="设置文字大小" menupos="43!" menuwidth="25"><span id="e_size">大小</span></a>
  84. <span id="e_adv_1">
  85. <a id="e_inserthorizontalrule" title="分隔线">Hr</a>
  86. <br />
  87. </span>
  88. <a id="e_bold" title="文字加粗">B</a>
  89. <a id="e_italic" title="文字斜体">I</a>
  90. <a id="e_underline" title="文字加下划线">U</a>
  91. <a id="e_forecolor" title="设置文字颜色">Color</a>
  92. <a id="e_backcolor" title="设置文字背景色">BgColor</a>
  93. <a id="e_url" title="添加链接">Url</a>
  94. <span id="e_adv_8">
  95. <a id="e_unlink" title="移除链接">Unlink</a>
  96. </span>
  97. </div>
  98. <div class="b2r nbl" id="e_adv_2">
  99. <p id="e_adv_3">
  100. <a id="e_tbl" title="添加表格">Table</a>
  101. </p>
  102. <p>
  103. <a id="e_removeformat" title="清除文本格式">Removeformat</a>
  104. </p>
  105. </div>
  106. <div class="b2r">
  107. <p>
  108. <a id="e_autotypeset" title="自动排版">Autotypeset</a>
  109. <a id="e_justifyleft" title="居左">Left</a>
  110. <a id="e_justifycenter" title="居中">Center</a>
  111. <a id="e_justifyright" title="居右">Right</a>
  112. </p>
  113. <p id="e_adv_4">
  114. <a id="e_floatleft" title="左浮动">FloatLeft</a>
  115. <a id="e_floatright" title="右浮动">FloatRight</a>
  116. <a id="e_insertorderedlist" title="排序的列表">Orderedlist</a>
  117. <a id="e_insertunorderedlist" title="未排序列表">Unorderedlist</a>
  118. </p>
  119. </div>
  120. <div class="b1r" id="e_adv_s1">
  121. <a id="e_sml" title="添加表情">表情</a>
  122. <div id="e_imagen" style="display:none">!</div>
  123. <a id="e_image" title="添加图片" menupos="00" menuwidth="600">图片</a>
  124. <div id="e_attachn" style="display:none">!</div>
  125. <a id="e_attach" title="添加附件" menupos="00" menuwidth="600">附件</a>
  126. <a id="e_at" title="@好友和关注的人" menupos="43" menuwidth="600">@朋友</a>
  127. </div>
  128. <div class="b2r" id="e_adv_6">
  129. <p>
  130. <a id="e_code" title="添加代码文字">代码</a>
  131. <a id="e_free" title="添加免费信息">Free</a><a id="e_pasteword" title="从 Word 粘贴内容">Word 粘贴</a>
  132. <a id="e_downremoteimg" title="下载远程图片">下载图片</a></p>
  133. <p>
  134. <a id="e_quote" title="添加引用文字">引用</a>
  135. <a id="e_hide" title="添加隐藏内容">Hide</a></p>
  136. </div>
  137. </div>
  138. </div>

  139. <div id="rstnotice" class="ntc_l bbs" style="display:none">
  140. <a href="javascript:;" title="清除内容" class="d y" onclick="userdataoption(0)">close</a>您有上次未提交成功的数据 <a class="xi2" href="javascript:;" onclick="userdataoption(1)"><strong>恢复数据</strong></a>
  141. </div>

  142. <div class="area">
  143. <textarea name="message" id="e_textarea" class="pt" rows="15" tabindex="2"></textarea>
  144. </div><link rel="stylesheet" type="text/css" href="data/cache/style_1_editor.css?gDZ" />
  145. <script src="static/js/editor.js?gDZ" type="text/javascript"></script>
  146. <script src="static/js/bbcode.js?gDZ" type="text/javascript"></script>
  147. <script type="text/javascript">
  148. var editorid = 'e';
  149. var textobj = $(editorid + '_textarea');
  150. var wysiwyg = (BROWSER.ie || BROWSER.firefox || (BROWSER.opera >= 9)) && parseInt('1') == 1 ? 1 : 0;
  151. var allowswitcheditor = parseInt('1');
  152. var allowhtml = parseInt('0');
  153. var allowsmilies = parseInt('1');
  154. var allowbbcode = parseInt('1');
  155. var allowimgcode = parseInt('1');
  156. var simplodemode = parseInt('1');
  157. var fontoptions = new Array("宋体", "新宋体", "黑体", "微软雅黑", "Arial", "Verdana", "Mingliu", "Helvetica", "Trebuchet MS", "Tahoma", "Impact", "Times New Roman", "仿宋,仿宋_GB2312", "楷体,楷体_GB2312");
  158. var smcols = 8;
  159. var custombbcodes = new Array();
  160. </script>

  161. <div id="e_bbar" class="bbar">
  162. <em id="e_tip"></em>
  163. <span id="e_svdsecond"></span>
  164. <a href="javascript:;" onclick="discuzcode('svd');return false;" id="e_svd">保存数据</a> |
  165. <a href="javascript:;" onclick="discuzcode('rst');return false;" id="e_rst">恢复数据</a>   
  166. <a href="javascript:;" onclick="discuzcode('chck');return false;" id="e_chck">字数检查</a> |
  167. <a href="javascript:;" onclick="discuzcode('tpr');return false;" id="e_tpr">清除内容</a>   
  168. <span id="e_resize"><a href="javascript:;" onclick="editorsize('+');return false;">加大编辑框</a> | <a href="javascript:;" onclick="editorsize('-');return false;">缩小编辑框</a><img src="static/image/editor/resize.gif" onmousedown="editorresize(event)" /></span>
  169. </div></div>
  170. <div id="post_extra" class="ptm cl">
  171. <div id="post_extra_tb" class="cl" onselectstart="return false">
  172. <label id="extra_replycredit_b" onclick="showExtra('extra_replycredit')"><span id="extra_replycredit_chk">回帖奖励</span></label>
  173. <label id="extra_readperm_b" onclick="showExtra('extra_readperm')"><span id="extra_readperm_chk">阅读权限</span></label>
  174. <label id="extra_price_b" onclick="showExtra('extra_price')"><span id="extra_price_chk">售价</span></label>
  175. <label id="extra_rushreplyset_b" onclick="showExtra('extra_rushreplyset')"><span id="extra_rushreplyset_chk">抢楼</span></label>
  176. <label id="extra_tag_b" onclick="showExtra('extra_tag')"><span id="extra_tag_chk">设置主题标签</span></label>
  177. <label id="extra_pubdate_b" onclick="showExtra('extra_pubdate')"><span id="extra_pubdate_chk">定时发布</span></label>
  178. </div>

  179. <div id="post_extra_c">
  180. <div id="extra_replycredit_c" class="exfm cl" style="display: none;">
  181. <div><label>每次回帖奖励: <input type="text" name="replycredit_extcredits" id="replycredit_extcredits" class="px pxs vm" value="0" onkeyup="javascript:getreplycredit();" onblur="extraCheck(0)" /> 金钱</label><span class="xg1">(留空或填 0 为不奖励)</span> , <label>奖励 <input type="text" name="replycredit_times" id="replycredit_times" class="px pxs vm" value="1" onkeyup="javascript:getreplycredit();"  onblur="extraCheck(0)" /> 次</label>, <label>每人最多可获得 <select id="replycredit_membertimes" name="replycredit_membertimes" class="ps vm"><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option></select> 次</label>, <label>中奖率 <select id="replycredit_random" name="replycredit_random" class="ps vm">
  182. <option value="100">100</option><option value="90">90</option><option value="80">80</option><option value="70">70</option><option value="60">60</option><option value="50">50</option><option value="40">40</option><option value="30">30</option><option value="20">20</option><option value="10">10</option></select> %</label></div>
  183. <div class="xg1">回帖奖励总额: <span id="replycredit_sum">0</span> 金钱, <span id="replycredit">税后支付 金钱 0</span> , 您有 金钱 1079 </div>
  184. </div>
  185. <div id="extra_readperm_c" class="exfm cl" style="display:none">
  186. <table cellspacing="0" cellpadding="0">
  187. <tr>
  188. <td class="xw1">阅读权限</td>
  189. <td>
  190. <select name="readperm" id="readperm" class="ps" style="width:90px" onchange="extraCheck(1)">
  191. <option value="">不限</option><option value="1" title="阅读权限: 1">QQ游客</option>
  192. <option value="1" title="阅读权限: 1">游客</option>
  193. <option value="10" title="阅读权限: 10">新手上路</option>
  194. <option value="20" title="阅读权限: 20">注册会员</option>
  195. <option value="30" title="阅读权限: 30">中级会员</option>
  196. <option value="50" title="阅读权限: 50">高级会员</option>
  197. <option value="70" title="阅读权限: 70">金牌会员</option>
  198. <option value="90" title="阅读权限: 90">论坛元老</option>
  199. <option value="100" title="阅读权限: 100">版主</option>
  200. <option value="100" title="阅读权限: 100">实习版主</option>
  201. <option value="100" title="阅读权限: 100">审核员</option>
  202. <option value="150" title="阅读权限: 150">超级版主</option>
  203. <option value="150" title="阅读权限: 150">网站编辑</option>
  204. <option value="200" title="阅读权限: 200">信息监察员</option>
  205. <option value="200" title="阅读权限: 200">管理员</option>
  206. <option value="255">最高权限</option>
  207. </select>
  208. <span class="xg1">阅读权限按由高到低排列,高于或等于选中组的用户才可以阅读</span>
  209. </td>
  210. </tr>
  211. </table>
  212. </div>
  213. <div id="extra_price_c" class="exfm cl" style="display:none">
  214. 售价:
  215. <input type="text" id="price" name="price" class="px pxs" value="" onblur="extraCheck(2)" /> 金钱<span class="xg1">(最高 30 )</span>
  216. </div>
  217. <div id="extra_tag_c" class="exfm cl" style="display: none;">
  218. <table cellspacing="0" cellpadding="0">
  219. <tr>
  220. <td class="xw1">标签 </td>
  221. <td>
  222. <input type="text" class="px vm" size="60" id="tags" name="tags" value="" onblur="extraCheck(4)" />
  223. <a href="javascript:;" id="clickbutton[]" class="xi2" onclick="relatekw('-1','-1');doane();">自动获取</a><span class="pipe">|</span><a href="javascript:;" id="choosetag" class="xi2" onclick="showWindow(this.id, 'forum.php?mod=tag', 'get', 0)">选择标签</a>
  224. </td>
  225. </tr>
  226. <tr>
  227. <td></td>
  228. <td>
  229. <p class="xg1">用逗号或空格隔开多个标签,最多可填写 5 个</p><p class="mtn">最近使用标签: <a href="javascript:;" class="xi2" onclick="$('tags').value == '' ? $('tags').value += '助理' : $('tags').value += ',助理';extraCheck(4);doane();">助理</a>, <a href="javascript:;" class="xi2" onclick="$('tags').value == '' ? $('tags').value += '通知' : $('tags').value += ',通知';extraCheck(4);doane();">通知</a>, <a href="javascript:;" class="xi2" onclick="$('tags').value == '' ? $('tags').value += '喻国明' : $('tags').value += ',喻国明';extraCheck(4);doane();">喻国明</a>, <a href="javascript:;" class="xi2" onclick="$('tags').value == '' ? $('tags').value += '报告会' : $('tags').value += ',报告会';extraCheck(4);doane();">报告会</a>, <a href="javascript:;" class="xi2" onclick="$('tags').value == '' ? $('tags').value += '教授' : $('tags').value += ',教授';extraCheck(4);doane();">教授</a></p>
  230. </td>
  231. </tr>
  232. </table>
  233. </div>
  234. <div class="exfm cl" id="extra_rushreplyset_c" style="display: none;">
  235. <div class="sinf sppoll z">
  236. <dl>
  237. <dt><span style="width: 4em"> </span></dt>
  238. <dd><label for="rushreply"><input type="checkbox" name="rushreply" id="rushreply" class="pc vm" value="1"  onclick="extraCheck(3)" /> 将该帖设为抢楼帖</label></dd>
  239. <dt><label>抢楼时间:</label></dt>
  240. <dd>
  241. <div>
  242. <input type="text" name="rushreplyfrom" id="rushreplyfrom" class="px" onclick="showcalendar(event, this, true)" autocomplete="off" value="" onkeyup="$('rushreply').checked = true;" /><span> ~ </span><input type="text" onclick="showcalendar(event, this, true)" autocomplete="off" id="rushreplyto" name="rushreplyto" class="px" value="" onkeyup="$('rushreply').checked = true;" />
  243. </div>
  244. </dd>
  245. <dt><label>奖励楼层:</label></dt>
  246. <dd>
  247. <input type="text" name="rewardfloor" id="rewardfloor" class="px oinf" value="" onkeyup="$('rushreply').checked = true;" />
  248. <p class="xg1">多楼层用逗号隔开,*号可匹配任意数或空值,如:8,88,*88</p>
  249. </dd>
  250. </dl>
  251. </div>
  252. <div class="sadd z">
  253. <dl>
  254. <dt> </dt>
  255. <dd> </dd>
  256. <dt><label for="stopfloor">截止楼层:</label></dt>
  257. <dd>
  258. <input type="text" name="stopfloor" id="stopfloor" class="px" autocomplete="off" value="" onkeyup="$('rushreply').checked = true;" />
  259. </dd>
  260. <dt><label for="creditlimit">积分下限:</label></dt>
  261. <dd>
  262. <input type="text" name="creditlimit" id="creditlimit" class="px" autocomplete="off" value="" onkeyup="$('rushreply').checked = true;" />
  263. <p class="xg1">总积分大于此设置才能参与抢楼,可不填</p>
  264. </dd>
  265. </dl>
  266. </div>
  267. </div>
  268. <div class="exfm cl" id="extra_pubdate_c" style="display: none;">
  269. <label><input type="checkbox" name="cronpublish" onclick="if(this.checked) {$('cronpublishdate').click();doane(event,false);};extraCheck(5);hidenFollowBtn(this.checked);" id="cronpublish" value="true" class="pc" />定时发布</label>
  270. <input type="text" name="cronpublishdate" id="cronpublishdate" class="px" onclick="showcalendar(event, this, true, false, false, true);" autocomplete="off" value="" onchange="if(this.value) $('cronpublish').checked = true;">
  271. </div>
  272. </div>
  273. </div>
  274. <div class="mtm mbm pnpost">
  275. <a  class="y" target="_blank">本版积分规则</a>
  276. <button type="submit" id="postsubmit" class="pn pnc" value="true" name="topicsubmit">
  277. <span>发表帖子</span>
  278. </button>
  279. <input type="hidden" id="postsave" name="save" value="" />
  280. <button type="button" id="postsubmit" class="pn" value="true" onclick="$('postsave').value = 1;$('postsubmit').click();"><em>保存草稿</em></button>
  281. <span id="adddynamicspan"><label><input type="checkbox" name="adddynamic" id="adddynamic" value="true" class="pc"  />转播给听众</label></span>
  282. </div>

  283. <script type="text/javascript" src="source/plugin/soso_smilies/js/soso_smilies.js?gDZ" charset="utf-8"></script><script type="text/javascript" charset="utf-8">SOSO_EXP_CHECK("newthread");</script></div>
  284. </div>
  285. </div><div id="psd" class="appl">
  286. <h3 class="mbm pbm bbs">附加选项</h3>
  287. <div class="bn">
  288. <p class="mbn"><input type="checkbox" name="htmlon" id="htmlon" class="pc" value="0"  disabled="disabled" /><label for="htmlon">HTML 代码</label></p>
  289. <p class="mbn"><input type="checkbox" id="allowimgcode" class="pc" disabled="disabled" checked="checked" /><label for="allowimgcode">[img] 代码</label></p>
  290. <p class="mbn"><input type="checkbox" id="allowimgurl" class="pc" checked="checked" /><label for="allowimgurl">解析图片链接</label></p>
  291. <p class="mbn"><input type="checkbox" name="parseurloff" id="parseurloff" class="pc" value="1"  /><label for="parseurloff">禁用链接识别</label></p>
  292. <p class="mbn"><input type="checkbox" name="smileyoff" id="smileyoff" class="pc" value="1"  /><label for="smileyoff">禁用表情</label></p>
  293. <p class="mbn"><input type="checkbox" name="bbcodeoff" id="bbcodeoff" class="pc" value="1"  /><label for="bbcodeoff">禁用编辑器代码</label></p>

  294. <hr class="bk" />

  295. <p class="mbn"><input type="checkbox" name="usesig" id="usesig" class="pc" value="1" checked="checked" /><label for="usesig">使用个人签名</label></p>
  296. <p class="mbn"><input type="checkbox" name="isanonymous" id="isanonymous" class="pc" value="1" /><label for="isanonymous">使用匿名发帖</label></p><p class="mbn"><input type="checkbox" name="hiddenreplies" id="hiddenreplies" class="pc" value="1"><label for="hiddenreplies">回帖仅作者可见</label></p>
  297. <p class="mbn"><input type="checkbox" name="ordertype" id="ordertype" class="pc" value="1"  /><label for="ordertype">回帖倒序排列</label></p>
  298. <p class="mbn"><input type="checkbox" name="allownoticeauthor" id="allownoticeauthor" class="pc" value="1" checked="checked" /><label for="allownoticeauthor">接收回复通知</label></p>
  299. <hr class="bk" />

  300. <p class="mbn"><input type="checkbox" name="sticktopic" id="sticktopic" class="pc" value="1"  /><label for="sticktopic">主题置顶</label></p>
  301. <p class="mbn"><input type="checkbox" name="addtodigest" id="addtodigest" class="pc" value="1"  /><label for="addtodigest">精华帖子</label></p>
  302. </div>
  303. </div></div>
  304. </form>
  305. <iframe name="ajaxpostframe" id="ajaxpostframe" style="display: none;"></iframe>

  306. <div id="e_menus" class="editorrow" style="overflow: hidden; margin-top: -5px; height: 0; border: none; background: transparent;"><div id="e_editortoolbar" class="editortoolbar"><div class="p_pop fnm" id="e_fontname_menu" style="display: none">
  307. <ul unselectable="on"><li onclick="discuzcode('fontname', '宋体')" style="font-family: 宋体" unselectable="on"><a href="javascript:;" title="宋体">宋体</a></li>
  308. <li onclick="discuzcode('fontname', '新宋体')" style="font-family: 新宋体" unselectable="on"><a href="javascript:;" title="新宋体">新宋体</a></li>
  309. <li onclick="discuzcode('fontname', '黑体')" style="font-family: 黑体" unselectable="on"><a href="javascript:;" title="黑体">黑体</a></li>
  310. <li onclick="discuzcode('fontname', '微软雅黑')" style="font-family: 微软雅黑" unselectable="on"><a href="javascript:;" title="微软雅黑">微软雅黑</a></li>
  311. <li onclick="discuzcode('fontname', 'Arial')" style="font-family: Arial" unselectable="on"><a href="javascript:;" title="Arial">Arial</a></li>
  312. <li onclick="discuzcode('fontname', 'Verdana')" style="font-family: Verdana" unselectable="on"><a href="javascript:;" title="Verdana">Verdana</a></li>
  313. <li onclick="discuzcode('fontname', 'Mingliu')" style="font-family: Mingliu" unselectable="on"><a href="javascript:;" title="Mingliu">Mingliu</a></li>
  314. <li onclick="discuzcode('fontname', 'Helvetica')" style="font-family: Helvetica" unselectable="on"><a href="javascript:;" title="Helvetica">Helvetica</a></li>
  315. <li onclick="discuzcode('fontname', 'Trebuchet MS')" style="font-family: Trebuchet MS" unselectable="on"><a href="javascript:;" title="Trebuchet MS">Trebuchet MS</a></li>
  316. <li onclick="discuzcode('fontname', 'Tahoma')" style="font-family: Tahoma" unselectable="on"><a href="javascript:;" title="Tahoma">Tahoma</a></li>
  317. <li onclick="discuzcode('fontname', 'Impact')" style="font-family: Impact" unselectable="on"><a href="javascript:;" title="Impact">Impact</a></li>
  318. <li onclick="discuzcode('fontname', 'Times New Roman')" style="font-family: Times New Roman" unselectable="on"><a href="javascript:;" title="Times New Roman">Times New Roman</a></li>
  319. <li onclick="discuzcode('fontname', '仿宋,仿宋_GB2312')" style="font-family: 仿宋,仿宋_GB2312" unselectable="on"><a href="javascript:;" title="仿宋,仿宋_GB2312">仿宋,仿宋_GB2312</a></li>
  320. <li onclick="discuzcode('fontname', '楷体,楷体_GB2312')" style="font-family: 楷体,楷体_GB2312" unselectable="on"><a href="javascript:;" title="楷体,楷体_GB2312">楷体,楷体_GB2312</a></li>
  321. </ul>
  322. </div><div class="p_pop fszm" id="e_fontsize_menu" style="display: none">
  323. <ul unselectable="on"><li onclick="discuzcode('fontsize', 1)" unselectable="on"><a href="javascript:;" title="1"><font size="1" unselectable="on">1</font></a></li>
  324. <li onclick="discuzcode('fontsize', 2)" unselectable="on"><a href="javascript:;" title="2"><font size="2" unselectable="on">2</font></a></li>
  325. <li onclick="discuzcode('fontsize', 3)" unselectable="on"><a href="javascript:;" title="3"><font size="3" unselectable="on">3</font></a></li>
  326. <li onclick="discuzcode('fontsize', 4)" unselectable="on"><a href="javascript:;" title="4"><font size="4" unselectable="on">4</font></a></li>
  327. <li onclick="discuzcode('fontsize', 5)" unselectable="on"><a href="javascript:;" title="5"><font size="5" unselectable="on">5</font></a></li>
  328. <li onclick="discuzcode('fontsize', 6)" unselectable="on"><a href="javascript:;" title="6"><font size="6" unselectable="on">6</font></a></li>
  329. <li onclick="discuzcode('fontsize', 7)" unselectable="on"><a href="javascript:;" title="7"><font size="7" unselectable="on">7</font></a></li>
  330. </ul>
  331. </div>

  332. </div>

  333. <script type="text/javascript">smilies_show('smiliesdiv', 8, editorid + '_');</script>
  334. <script src="static/js/swfupload.js?gDZ" type="text/javascript"></script>
  335. <script src="static/js/swfupload.queue.js?gDZ" type="text/javascript"></script>
  336. <script src="static/js/handlers.js?gDZ" type="text/javascript"></script>
  337. <script src="static/js/fileprogress.js?gDZ" type="text/javascript"></script>
  338. <script type="text/javascript">
  339. function switchImagebutton(btn) {
  340. switchButton(btn, 'image');
  341. $(editorid + '_image_menu').style.height = '';
  342. doane();
  343. }
  344. function switchAttachbutton(btn) {
  345. switchButton(btn, 'attach');
  346. doane();
  347. }
  348. </script>
  349. <div class="p_pof" id="e_image_menu" style="display: none" unselectable="on">
  350. <table width="100%" cellpadding="0" cellspacing="0" class="fwin"><tr><td class="t_l"></td><td class="t_c"></td><td class="t_r"></td></tr><tr><td class="m_l">  </td><td class="m_c"><div class="mtm">
  351. <ul class="tb tb_s cl" id="e_image_ctrl" style="margin-top:0;margin-bottom:0;">
  352. <li class="y"><span class="flbc" onclick="hideAttachMenu('image')">关闭</span></li>
  353. <li class="current" id="e_btn_imgattachlist"><a href="javascript:;" hidefocus="true" onclick="switchImagebutton('imgattachlist');">上传图片</a></li>
  354. <li id="e_btn_local" style="display:none;" did="e_btn_imgattachlist|local"><a href="javascript:;" hidefocus="true" onclick="switchImagebutton('local');">普通上传</a></li>
  355. <li  id="e_btn_www"><a href="javascript:;" hidefocus="true" onclick="switchImagebutton('www');">网络图片</a></li>

  356. </ul>
  357. <div unselectable="on" id="e_www" style="display: none;">
  358. <div class="p_opt popupfix">
  359. <table cellpadding="0" cellspacing="0" width="100%">
  360. <tr class="xg1">
  361. <th width="74%" class="pbn">请输入图片地址</th>
  362. <th width="13%" class="pbn">宽(可选)</th>
  363. <th width="13%" class="pbn">高(可选)</th>
  364. </tr>
  365. <tr>
  366. <td><input type="text" id="e_image_param_1" onchange="loadimgsize(this.value)" style="width: 95%;" value="" class="px" autocomplete="off" /></td>
  367. <td><input id="e_image_param_2" size="3" value="" class="px p_fre" autocomplete="off" /></td>
  368. <td><input id="e_image_param_3" size="3" value="" class="px p_fre" autocomplete="off" /></td>
  369. </tr>
  370. </table>
  371. </div>
  372. <div class="o">
  373. <button type="button" class="pn pnc" id="e_image_submit"><strong>提交</strong></button>
  374. </div>
  375. </div>

  376. <div unselectable="on" id="e_local" style="display: none;">
  377. <div class="p_opt">
  378. <table cellpadding="0" cellspacing="0" border="0" width="100%">
  379. <tbody id="imgattachbodyhidden" style="display:none"><tr>
  380. <td class="atnu"><span id="imglocalno[]"><img src="static/image/filetype/common_new.gif" /></span></td>
  381. <td class="atna">
  382. <span id="imgdeschidden[]" style="display:none">
  383. <span id="imglocalfile[]"></span>
  384. </span>
  385. <input type="hidden" name="imglocalid[]" />
  386. </td>
  387. <td class="attc"><span id="imgcpdel[]"></span></td>
  388. </tr></tbody>
  389. </table>
  390. <div class="p_tbl"><table cellpadding="0" cellspacing="0" summary="post_attachbody" border="0" width="100%"><tbody id="imgattachbody"></tbody></table></div>
  391. <div class="upbk pbm bbda">
  392. <div id="imgattachbtnhidden" style="display:none"><span><form name="imgattachform" id="imgattachform" method="post" autocomplete="off" action="misc.php?mod=swfupload&operation=upload&simple=1&type=image" target="attachframe" enctype="multipart/form-data"><input type="hidden" name="uid" value="1"><input type="hidden" name="hash" value="dd759f715768d0df63086d3921b26c07"><input type="file" name="Filedata" size="45" class="filedata" /></form></span></div>
  393. <div id="imgattachbtn" class="ptm pbn"></div>
  394. <p id="imguploadbtn">
  395. <button class="pn pnc vm" type="button" onclick="uploadAttach(0, 0, 'img')"><span>上传</span></button>
  396. <span class="xg1">←选择完文件后请点击“上传”按钮</span>
  397. </p>
  398. <p id="imguploading" style="display: none;"><img src="static/image/common/uploading.gif" style="vertical-align: middle;" /> 上传中,请稍候,您可以<a href="javascript:;" onclick="hideMenu()">暂时关闭这个小窗口</a>,上传完成后您会收到通知</p>
  399. </div>
  400. <div class="notice upnf">
  401. 文件尺寸: <span class="xi1">小于 2MB </span>
  402. , 可用扩展名: <span class="xi1">jpg, jpeg, gif, png, bmp</span>
  403. </div>
  404. </div>
  405. <div class="o">
  406. <button onclick="hideAttachMenu('image')" class="pn pnc">
  407. <strong>确定</strong>
  408. </button>
  409. </div>
  410. </div>


  411. <div unselectable="on" id="e_imgattachlist">
  412. <div class="p_opt">
  413. <div class="pbm bbda cl">
  414. <div id="imgattach_notice" class="y"  style="display: none">
  415. </div>
  416. <span id="imgSpanButtonPlaceholder"></span>
  417. </div>
  418. <div class="upfilelist upfl bbda">
  419. <div id="imgattachlist"></div>
  420. <div id="unusedimgattachlist"></div>


  421. <div class="fieldset flash" id="imgUploadProgress"></div>

  422. <script type="text/javascript">
  423. var imgUpload = new SWFUpload({
  424. upload_url: "http://www.ahubbs.net/misc.php?mod=swfupload&action=swfupload&operation=upload&fid=39",
  425. post_params: {"uid" : "1", "hash":"dd759f715768d0df63086d3921b26c07", "type":"image"},

  426. file_size_limit : "2000",
  427. file_types : "*.jpg;*.jpeg;*.gif;*.png;*.bmp",
  428. file_types_description : "Image File",
  429. file_upload_limit : 0,
  430. file_queue_limit : 0,
  431. swfupload_preload_handler : preLoad,
  432. swfupload_load_failed_handler : loadFailed,
  433. file_dialog_start_handler : fileDialogStart,
  434. file_queued_handler : fileQueued,
  435. file_queue_error_handler : fileQueueError,
  436. file_dialog_complete_handler : fileDialogComplete,
  437. upload_start_handler : uploadStart,
  438. upload_progress_handler : uploadProgress,
  439. upload_error_handler : uploadError,
  440. upload_success_handler : uploadSuccess,
  441. upload_complete_handler : uploadComplete,

  442. button_image_url : "static/image/common/uploadbutton.png",
  443. button_placeholder_id : "imgSpanButtonPlaceholder",
  444. button_width: 100,
  445. button_height: 25,
  446. button_cursor:SWFUpload.CURSOR.HAND,
  447. button_window_mode: "transparent",

  448. custom_settings : {
  449. progressTarget : "imgUploadProgress",
  450. uploadSource: 'forum',
  451. uploadType: 'image',
  452. imgBoxObj: $('imgattachlist'),
  453. singleUpload: $('e_btn_local')
  454. },
  455. debug: false
  456. });

  457. function createNewAlbum() {
  458. var inputObj = $('newalbum');
  459. if(inputObj.value == '' || inputObj.value == '请输入相册名称') {
  460. inputObj.value = '请输入相册名称';
  461. } else {
  462. var x = new Ajax();
  463. x.get('home.php?mod=misc&ac=ajax&op=createalbum&inajax=1&name=' + inputObj.value, function(s){
  464. var aid = parseInt(s);
  465. var albumList = $('uploadalbum');
  466. var haveoption = false;
  467. for(var i = 0; i < albumList.options.length; i++) {
  468. if(albumList.options[i].value == aid) {
  469. albumList.selectedIndex = i;
  470. haveoption = true;
  471. break;
  472. }
  473. }
  474. if(!haveoption) {
  475. var oOption = document.createElement("OPTION");
  476. oOption.text = trim(inputObj.value);
  477. oOption.value = aid;
  478. albumList.options.add(oOption);
  479. albumList.selectedIndex = albumList.options.length-1;
  480. }
  481. inputObj.value = ''
  482. });
  483. selectCreateTab(1)
  484. }
  485. }
  486. function selectCreateTab(flag) {
  487. var vwObj = $('uploadPanel');
  488. var opObj = $('createalbum');
  489. var selObj = $('uploadalbum');
  490. if(flag) {
  491. vwObj.style.display = '';
  492. opObj.style.display = 'none';
  493. selObj.value = selObj.options[0].value;
  494. } else {
  495. vwObj.style.display = 'none';
  496. opObj.style.display = '';
  497. }
  498. }
  499. </script>
  500. </div>
  501. <div class="notice upnf">
  502. 点击图片添加到帖子内容中
  503. <br />文件尺寸: <span class="xi1">小于 2MB </span>
  504. , 可用扩展名: <span class="xi1">jpg, jpeg, gif, png, bmp</span>
  505. </div>
  506. </div>
  507. <div class="o">
  508. <button onclick="hideAttachMenu('image')" class="pn pnc">
  509. <strong>确定</strong>
  510. </button>
  511. </div>
  512. </div>
  513. </div></td><td class="m_r"></td></tr><tr><td class="b_l"></td><td class="b_c"></td><td class="b_r"></td></tr></table>
  514. </div>

  515. <div class="p_pof upf" id="e_attach_menu" style="display: none" unselectable="on">
  516. <table width="100%" cellpadding="0" cellspacing="0" class="fwin"><tr><td class="t_l"></td><td class="t_c"></td><td class="t_r"></td></tr><tr><td class="m_l">  </td><td class="m_c"><div class="mtm">
  517. <ul class="tb tb_s cl" id="e_attach_ctrl" style="margin-top:0;margin-bottom:0;">
  518. <li class="y"><span class="flbc" onclick="hideAttachMenu('attach')">关闭</span></li>
  519. <li class="current" id="e_btn_attachlist"><a href="javascript:;" hidefocus="true" onclick="switchAttachbutton('attachlist');">上传附件</a></li>
  520. <li id="e_btn_upload" style="display: none;" did="e_btn_attachlist|upload"><a href="javascript:;" hidefocus="true" onclick="switchAttachbutton('upload');">普通上传</a></li>
  521. </ul>

  522. <div class="p_opt" unselectable="on" id="e_upload" style="display: none;">
  523. <table cellpadding="0" cellspacing="0" border="0" width="100%">
  524. <tbody id="attachbodyhidden" style="display:none"><tr>
  525. <td class="atnu"><span id="localno[]"><img src="static/image/filetype/common_new.gif" /></span></td>
  526. <td class="atna">
  527. <span id="deschidden[]" style="display:none">
  528. <span id="localfile[]"></span>
  529. </span>
  530. <input type="hidden" name="localid[]" />
  531. </td>
  532. <td class="attc"><span id="cpdel[]"></span></td>
  533. </tr></tbody>
  534. </table>
  535. <div class="p_tbl"><table cellpadding="0" cellspacing="0" summary="post_attachbody" border="0" width="100%"><tbody id="attachbody"></tbody></table></div>
  536. <div class="upbk pbm bbda">
  537. <div id="attachbtnhidden" style="display:none"><span><form name="attachform" id="attachform" method="post" autocomplete="off" action="misc.php?mod=swfupload&operation=upload&simple=1" target="attachframe" enctype="multipart/form-data"><input type="hidden" name="uid" value="1"><input type="hidden" name="hash" value="dd759f715768d0df63086d3921b26c07"><input type="file" name="Filedata" size="45" class="fldt" /></form></span></div>
  538. <div id="attachbtn" class="ptm pbn"></div>
  539. <p id="uploadbtn">
  540. <button type="button" class="pn pnc vm" onclick="uploadAttach(0, 0)"><span>上传</span></button>
  541. <span class="xg1">←选择完文件后请点击“上传”按钮</span>
  542. </p>
  543. <p id="uploading" style="display: none;"><img src="static/image/common/uploading.gif" style="vertical-align: middle;" /> 上传中,请稍候,您可以<a href="javascript:;" onclick="hideMenu()">暂时关闭这个小窗口</a>,上传完成后您会收到通知</p>
  544. </div>
  545. <div class="notice upnf">
  546. 文件尺寸: <span class="xi1">小于 2MB </span>
  547. </div>
  548. </div>


  549. <div class="p_opt post_tablelist" unselectable="on" id="e_attachlist">
  550. <div class="pbm bbda">
  551. <span id="spanButtonPlaceholder"></span>
  552. </div>
  553. <table cellpadding="0" cellspacing="0" border="0" width="100%" id="attach_tblheader" class="mtn bbs" style="display: none">
  554. <tr>
  555. <td class="atnu"></td>
  556. <td class="atna pbn">文件名 ( <a onclick="insertAllAttachTag();return false;" href="javascript:;" class="xi2">插入全部附件</a> )</td>
  557. <td class="atds pbn">描述</td>
  558. <td class="attv pbn">
  559. 阅读权限
  560. <img src="static/image/common/faq.gif" alt="Tip" class="vm" style="margin: 0;" onmouseover="showTip(this)" tip="阅读权限按由高到低排列,高于或等于选中组的用户才可以阅读" />
  561. </td>
  562. <td class="attp pbn">金钱</td><td class="attc"></td>
  563. </tr>
  564. </table>
  565. <div class="upfl">
  566. <div id="attachlist"></div>
  567. <div id="unusedattachlist"></div>


  568. <div class="fieldset flash" id="fsUploadProgress"></div>
  569. <script type="text/javascript">
  570. var upload = new SWFUpload({
  571. upload_url: "http://www.ahubbs.net/misc.php?mod=swfupload&action=swfupload&operation=upload&fid=39",
  572. post_params: {"uid":"1", "hash":"dd759f715768d0df63086d3921b26c07"},

  573. file_size_limit : "2000",
  574. file_types : "*.*",
  575. file_types_description : "All Support Formats",
  576. file_upload_limit : 0,
  577. file_queue_limit : 0,

  578. swfupload_preload_handler : preLoad,
  579. swfupload_load_failed_handler : loadFailed,
  580. file_dialog_start_handler : fileDialogStart,
  581. file_queued_handler : fileQueued,
  582. file_queue_error_handler : fileQueueError,
  583. file_dialog_complete_handler : fileDialogComplete,
  584. upload_start_handler : uploadStart,
  585. upload_progress_handler : uploadProgress,
  586. upload_error_handler : uploadError,
  587. upload_success_handler : uploadSuccess,
  588. upload_complete_handler : uploadComplete,

  589. button_image_url : "static/image/common/uploadbutton.png",
  590. button_placeholder_id : "spanButtonPlaceholder",
  591. button_width: 100,
  592. button_height: 25,
  593. button_cursor:SWFUpload.CURSOR.HAND,
  594. button_window_mode: "transparent",

  595. custom_settings : {
  596. progressTarget : "fsUploadProgress",
  597. uploadSource: 'forum',
  598. uploadType: 'attach',
  599. singleUpload: $('e_btn_upload')
  600. },

  601. debug: false
  602. });

  603. </script>

  604. </div>
  605. <div class="notice upnf">
  606. <p id="attach_notice" style="display: none">点击附件文件名添加到帖子内容中</p>
  607. 文件尺寸: <span class="xi1">小于 2MB </span>
  608. </div>
  609. </div>
  610. </div>
  611. <div class="o">
  612. <button onclick="hideAttachMenu('attach')" class="pn pnc" id="attach_confirms">
  613. <strong>确定</strong>
  614. </button>
  615. </div>
  616. </td><td class="m_r"></td></tr><tr><td class="b_l"></td><td class="b_c"></td><td class="b_r"></td></tr></table>
  617. </div>

  618. <iframe name="attachframe" id="attachframe" style="display: none;" onload="uploadNextAttach();"></iframe>

  619. <script type="text/javascript">
  620. if(wysiwyg) {
  621. newEditor(1, bbcode2html(textobj.value));
  622. } else {
  623. newEditor(0, textobj.value);
  624. }
  625. editorsimple();

  626. var ATTACHNUM = {'imageused':0,'imageunused':0,'attachused':0,'attachunused':0}, ATTACHUNUSEDAID = new Array(), IMGUNUSEDAID = new Array();
  627. ATTACHNUM['imageused'] = 0;
  628. switchImagebutton('multi');

  629. ATTACHNUM['attachused'] = 0;
  630. switchAttachbutton('swfupload');
  631. setCaretAtEnd();
  632. if(BROWSER.ie >= 5 || BROWSER.firefox >= '2') {
  633. _attachEvent(window, 'beforeunload', unloadAutoSave);
  634. }
  635. </script>
  636. </div>

  637. <script src="static/js/calendar.js?gDZ" type="text/javascript"></script>
  638. <script type="text/javascript">
  639. var editorsubmit = $('postsubmit');
  640. var editorform = $('postform');
  641. function switchpost(href) {
  642. editchange = false;
  643. saveData(1);
  644. location.href = href + '&fid=39&cedit=yes&extra=';
  645. doane();
  646. }

  647. addAttach();addAttach('img');
  648. (function () {
  649. var oSubjectbox = $('subjectbox'),
  650. oSubject = $('subject'),
  651. oTextarea = $('e_textarea'),
  652. sLen = 0;
  653. if(oSubjectbox) {
  654. if(oTextarea && oTextarea.style.display == '') {
  655. oTextarea.focus();
  656. }
  657. } else if(oSubject) {
  658. if(BROWSER.chrome) {
  659. sLen = oSubject.value.length;
  660. oSubject.setSelectionRange(sLen, sLen);
  661. }
  662. oSubject.focus();
  663. }
  664. })();

  665. if(loadUserdata('forum_'+discuz_uid)) {
  666. $('rstnotice').style.display = '';
  667. }
  668. var have_replycredit = 0;
  669. var creditstax = 0.2;
  670. var replycredit_result_lang = "税后支付金钱 ";
  671. var userextcredit = 1079;
  672. </script>
  673. <script src="static/js/at.js?gDZ" type="text/javascript"></script>
  674. </root>
复制代码
573243 发表于 2013-8-9 11:01:22 | 显示全部楼层
我也遇到这个问题了,球高人指点啊啊
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-11-14 17:37 , Processed in 0.026953 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表