本帖最后由 miaoqing1983 于 2010-10-28 11:48 编辑
- <div id="editorbox" class="bm bw0 cl">
- <h1 class="mt" id="sti">
- <em id="returnmessage" class="wx ">
- 编辑帖子
- </em>
- </h1>
- <div id="postbox">
- <div class="pbt cl">
- <div class="z">
- <span><input type="text" style="width: 25em;" tabindex="1" onkeyup="strLenCalc(this, 'checklen', 80);" value="" class="px" id="subject" name="subject"></span>
- <span id="subjectchk">还可输入 <strong id="checklen">80</strong> 个字符</span>
- </div>
- <div class="y"><input type="checkbox" title="删除本帖" value="1" class="pc" id="delete" name="delete"><label for="delete">删?</label></div>
- </div>
- <div id="e_body" class="edt simpleedt" style="visibility: visible;">
- <div style="display: none; height: 30px;" id="e_controls_mask"></div><div class="bar" id="e_controls">
- <div class="y">
- <div id="e_adv_5" class="b2r nbl nbr" style="display: none;">
- <p>
- <a title="撤销" id="e_undo" href="javascript:;">Undo</a>
- </p>
- <p>
- <a title="重做" id="e_redo" href="javascript:;">Redo</a>
- </p>
- </div>
- <div class="z">
- <span class="mbn"><a id="e_fullswitcher" href="javascript:;">全屏</a><a id="e_simple" href="javascript:;">高级</a></span>
- <label class="bar_swch ptn" id="e_switcher" style="display: none;"><input type="checkbox" onclick="switchEditor(this.checked?0:1)" value="0" name="checkbox" class="pc" id="e_switchercheck">纯文本</label>
- </div>
- </div>
- <div class="btn cl" id="e_button">
- <div id="e_adv_s0" class="b2r" style="display: none;">
- <a title="粘贴" id="e_paste" href="javascript:;">粘贴</a>
- </div>
- <div id="e_adv_s2" class="b2r">
- <a title="设置字体" class="dp" id="e_fontname" href="javascript:;"><span id="e_font">字体</span></a>
- <a title="设置文字大小" class="dp" id="e_fontsize" href="javascript:;"><span id="e_size">大小</span></a>
- <br id="e_adv_1" style="display: none;">
- <a title="文字加粗" id="e_bold" href="javascript:;">B</a>
- <a title="文字斜体" id="e_italic" href="javascript:;">I</a>
- <a title="文字加下划线" id="e_underline" href="javascript:;">U</a>
- <a title="设置文字颜色" id="e_forecolor" href="javascript:;">Color</a>
- <a title="添加链接" id="e_url" href="javascript:;">Url</a>
- <span id="e_adv_8" style="display: none;">
- <a title="移除链接" id="e_unlink" href="javascript:;">Unlink</a>
- <a title="分隔线" id="e_inserthorizontalrule" href="javascript:;">Hr</a>
- </span>
- </div>
- <div id="e_adv_2" class="b2r nbl" style="display: none;">
- <p id="e_adv_3" style="display: none;">
- <a title="添加表格" id="e_tbl" href="javascript:;">Table</a>
- </p>
- <p>
- <a title="清除文本格式" id="e_removeformat" href="javascript:;">Removeformat</a>
- </p>
- </div>
- <div class="b2r">
- <p>
- <a title="居左" id="e_justifyleft" href="javascript:;" style="cursor: pointer;" class="hover">Left</a>
- <a title="居中" id="e_justifycenter" href="javascript:;">Center</a>
- <a title="居右" id="e_justifyright" href="javascript:;">Right</a>
- </p>
- <p id="e_adv_4" style="display: none;">
- <a title="自动排版" id="e_autotypeset" href="javascript:;">Autotypeset</a>
- <a title="排序的列表" id="e_insertorderedlist" href="javascript:;">Orderedlist</a>
- <a title="未排序列表" id="e_insertunorderedlist" href="javascript:;">Unorderedlist</a>
- </p>
- </div>
- <div id="e_adv_s1" class="b2r">
- <a title="添加表情" id="e_sml" href="javascript:;">表情</a>
- <div style="display: none;" id="e_imagen">!</div>
- <a title="添加图片" id="e_image" href="javascript:;">图片</a>
- <div style="display: none;" id="e_attachn">!</div>
- <a title="添加附件" id="e_attach" href="javascript:;">附件</a>
- </div>
- <div id="e_adv_6" class="b2r" style="display: none;">
- <p>
- <a title="添加代码文字" id="e_code" href="javascript:;">代码</a>
- </p>
- <p>
- <a title="添加引用文字" id="e_quote" href="javascript:;">引用</a>
- </p>
- </div>
- </div>
- </div>
- <div class="area">
- <textarea rows="15" tabindex="2" class="pt" id="e_textarea" name="message" style="display: none;">[code]$topicIds = array(
- 'xianxinbing' => array(118243,46760630,118656),
- 'fuzaxianxinbing' => array(46133060,117953,101268),
- 'guanxinbing' => array(118596,46058525,46238225),
- 'banmojibing' => array(118234,118154,46197819),
- );
复制代码 </textarea>
<iframe frameborder="0" style="height: 400px;" id="e_iframe" class="pt"></iframe></div><link href="data/cache/style_1_editor.css?PmU" type="text/css" rel="stylesheet">
<script type="text/javascript" src="static/js/editor.js?PmU"></script>
<script type="text/javascript" src="static/js/bbcode.js?PmU"></script>
<script type="text/javascript">
var editorid = 'e';
var textobj = $(editorid + '_textarea');
var wysiwyg = (BROWSER.ie || BROWSER.firefox || (BROWSER.opera >= 9)) && parseInt('1') == 1 ? 1 : 0;
var allowswitcheditor = parseInt('1');
var allowhtml = parseInt('0');
var allowsmilies = parseInt('1');
var allowbbcode = parseInt('1');
var allowimgcode = parseInt('1');
var simplodemode = parseInt('1');
var fontoptions = new Array("仿宋_GB2312", "黑体", "楷体_GB2312", "宋体", "新宋体", "微软雅黑", "Trebuchet MS", "Tahoma", "Arial", "Impact", "Verdana", "Times New Roman");
var custombbcodes = new Array();
editorsimple();
</script>
<div class="bbar" id="e_bbar">
<em id="e_tip"> </em>
<span id="e_svdsecond"><a onclick="setAutosave()" href="javascript:;" title="点击关闭自动保存">20 秒后保存</a> </span>
<a id="e_svd" onclick="discuzcode('svd');return false;" href="javascript:;">保存数据</a> |
<a id="e_rst" onclick="discuzcode('rst');return false;" href="javascript:;">恢复数据</a>
<a id="e_chck" onclick="discuzcode('chck');return false;" href="javascript:;">字数检查</a> |
<a id="e_tpr" onclick="discuzcode('tpr');return false;" href="javascript:;">清除内容</a>
<span id="e_resize"><a onclick="editorsize('+')" href="javascript:;">加大编辑框</a> | <a onclick="editorsize('-')" href="javascript:;">缩小编辑框</a><img onmousedown="editorresize(event)" src="static/image/editor/resize.gif"></span>
</div></div>
<div class="mtm mbm">
<a target="_blank" class="y" href="https://discuz.dismall.com/home.php?mod=spacecp&ac=credit&op=rule&fid=88">本版积分规则</a>
<button name="editsubmit" value="true" class="pn pnc" id="postsubmit" type="submit">
<span>保存</span>
</button>
<input type="hidden" value="" name="save" id="postsave">
</div>
</div>
</div>[/code]
|