- 注册时间
- 2007-6-27
- 最后登录
- 2012-6-29
- 在线时间
- 164 小时
- 阅读权限
- 150
- 积分
- 1317
- 帖子
- 614
- 精华
- 2
- UID
- 55
|
<TABLE cellSpacing=0 cellPadding=4 width="100%">
<TBODY>
<TR class=bottom>
<TD class=altbg1 vAlign=top></TD>
<TD class=altbg2 vAlign=top align=left>
<DIV id=posteditor><LINK href="forumdata/cache/style_1_editor.css" type=text/css rel=stylesheet>
<SCRIPT type=text/javascript>
var editorid = 'posteditor';
var wysiwyg = (is_ie || is_moz || (is_opera >= 9)) && parseInt('1') && bbinsert == 1 ? 1 : 0;
var allowswitcheditor = parseInt('1');
var allowhtml = parseInt('0');
var forumallowhtml = parseInt('1');
var allowsmilies = parseInt('1');
var allowbbcode = parseInt('1');
var allowimgcode = parseInt('1');
var smilies = new Array();
smilies[1] = {'code' : ':)', 'url' : 'smile.gif'};
smilies[54] = {'code' : '', 'url' : 'em27.gif'};
smilies[16] = {'code' : '', 'url' : 'kiss.gif'};
smilies[17] = {'code' : '', 'url' : 'handshake.gif'};
smilies[18] = {'code' : '', 'url' : 'call.gif'};
smilies[28] = {'code' : '', 'url' : 'loveliness.gif'};
smilies[68] = {'code' : ':x', 'url' : 'em26.gif'};
smilies[71] = {'code' : ':m', 'url' : 'em38.gif'};
smilies[67] = {'code' : ':a', 'url' : 'em25.gif'};
smilies[66] = {'code' : ':l', 'url' : 'em24.gif'};
smilies[59] = {'code' : ':s', 'url' : 'em29.gif'};
smilies[58] = {'code' : ':h', 'url' : 'em20.gif'};
smilies[14] = {'code' : '', 'url' : 'victory.gif'};
smilies[13] = {'code' : '', 'url' : 'hug.gif'};
smilies[2] = {'code' : '', 'url' : 'sad.gif'};
smilies[3] = {'code' : '', 'url' : 'biggrin.gif'};
smilies[4] = {'code' : ':\'(', 'url' : 'cry.gif'};
smilies[70] = {'code' : ':s', 'url' : 'em37.gif'};
smilies[6] = {'code' : '', 'url' : 'shocked.gif'};
smilies[7] = {'code' : '', 'url' : 'tongue.gif'};
smilies[8] = {'code' : '', 'url' : 'shy.gif'};
smilies[9] = {'code' : '', 'url' : 'titter.gif'};
smilies[10] = {'code' : '', 'url' : 'sweat.gif'};
smilies[69] = {'code' : ':j', 'url' : 'em10.gif'};
smilies[12] = {'code' : '', 'url' : 'lol.gif'};
smilies[53] = {'code' : ':f', 'url' : 'em23.gif'};
var BORDERCOLOR = "#86B9D6";
var ALTBG2 = "#FFFFFF";
var charset = 'gbk';
function previewpost(){
if(!validate($('postform'), true)) {
$('subject').focus();
return;
}
$("previewmessage").innerHTML = '<span class="bold"><span class="smalltxt">' + $('subject').value + '</span></span><br><br><span style="font-size: 13px">' + bbcode2html($('postform').message.value) + '</span>';
$("previewtable").style.display = '';
window.scroll(0, 0);
}
function clearcontent() {
if(wysiwyg && bbinsert) {
editdoc.body.innerHTML = is_moz ? '<br />' : '';
} else {
textobj.value = '';
}
}
function resizeEditor(change) {
var editorbox = bbinsert ? editbox : textobj;
var newheight = parseInt(editorbox.style.height, 10) + change;
if(newheight >= 100) {
editorbox.style.height = newheight + 'px';
}
}
var lang = new Array();
if(is_ie >= 5 || is_moz >= 2) {
window.onbeforeunload = function () {saveData(wysiwyg && bbinsert ? editdoc.body.innerHTML : textobj.value)};
lang['post_autosave_none'] = "没有可以恢复的数据!";
lang['post_autosave_confirm'] = "此操作将覆盖当前帖子内容,确定要恢复数据吗?";
}
</SCRIPT>
<SCRIPT src="include/javascript/bbcode.js" type=text/javascript></SCRIPT>
<SCRIPT src="include/javascript/editor.js" type=text/javascript></SCRIPT>
<SCRIPT type=text/javascript>
lang['enter_list_item'] = "输入一个列表项目.\r\n留空或者点击取消完成此列表.";
lang['enter_link_url'] = "请输入链接的地址:";
lang['enter_image_url'] = "请输入图片链接地址:";
lang['enter_email_link'] = "请输入此链接的邮箱地址:";
lang['fontname'] = "字体";
lang['fontsize'] = "大小";
var custombbcodes = new Array();
custombbcodes["fly"] = {'example' : '', 'prompt' : '请输入滚动显示的文字:'};
custombbcodes["flash"] = {'example' : 'Flash Movie', 'prompt' : '请输入 Flash 动画的 URL:'};
custombbcodes["qq"] = {'example' : '', 'prompt' : '请输入显示在线状态 QQ 号码:'};
custombbcodes["ra"] = {'example' : '[ra]rtsp://your.com/example.ra[/ra]', 'prompt' : '请输入 Real 音频的 URL:'};
custombbcodes["rm"] = {'example' : '[rm]rtsp://your.com/example.rm[/rm]', 'prompt' : '请输入 Real 音频或视频的 URL:'};
custombbcodes["wma"] = {'example' : '[wma]mms://your.com/example.wma[/wma]', 'prompt' : '请输入 Windows media 音频的 URL:'};
custombbcodes["wmv"] = {'example' : '[wmv]mms://your.com/example.wmv[/wmv]', 'prompt' : '请输入 Windows media 音频或视频的 URL:'};
custombbcodes["mp3"] = {'example' : '', 'prompt' : '请输入 MP3 音频的 URL:'};
var fontoptions = new Array("仿宋_GB2312", "黑体", "楷体_GB2312", "宋体", "新宋体", "Tahoma", "Arial", "Impact", "Verdana", "Times New Roman");
</SCRIPT>
<TABLE class=editor cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD id=posteditor_controls colSpan=2>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_removeformat onmouseover="buttonContext(this, 'mouseover')" style="CURSOR: pointer" onclick="discuzcode('removeformat')" onmouseout="buttonContext(this, 'mouseout')" mode="normal"><IMG title=清除文本格式 height=20 alt=清除文本格式 src="http://www.ingso.net/images/common/bb_removeformat.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_undo onmouseover="buttonContext(this, 'mouseover')" style="CURSOR: pointer" onclick="discuzcode('undo')" onmouseout="buttonContext(this, 'mouseout')" mode="normal"><IMG title=撤销 height=20 alt=撤销 src="http://www.ingso.net/images/common/bb_undo.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_redo onmouseover="buttonContext(this, 'mouseover')" onclick="discuzcode('redo')" onmouseout="buttonContext(this, 'mouseout')"><IMG title=重做 height=20 alt=重做 src="http://www.ingso.net/images/common/bb_redo.gif" width=21></DIV></TD>
<TD><IMG height=20 alt="" src="http://www.ingso.net/images/common/bb_separator.gif" width=6></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_bold onmouseover="buttonContext(this, 'mouseover')" onclick="discuzcode('bold')" onmouseout="buttonContext(this, 'mouseout')"><IMG title=粗体 height=20 alt=粗体 src="http://www.ingso.net/images/common/bb_bold.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_italic onmouseover="buttonContext(this, 'mouseover')" onclick="discuzcode('italic')" onmouseout="buttonContext(this, 'mouseout')"><IMG title=斜体 height=20 alt=斜体 src="http://www.ingso.net/images/common/bb_italic.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_underline onmouseover="buttonContext(this, 'mouseover')" onclick="discuzcode('underline')" onmouseout="buttonContext(this, 'mouseout')"><IMG title=下划线 height=20 alt=下划线 src="http://www.ingso.net/images/common/bb_underline.gif" width=21></DIV></TD>
<TD><IMG height=20 alt="" src="http://www.ingso.net/images/common/bb_separator.gif" width=6></TD>
<TD id=posteditor_popup_fontname title=字体 onclick=editorMenu(this)>
<DIV class=editor_buttonnormal onmouseover="menuContext(this, 'mouseover')" onmouseout="menuContext(this, 'mouseout')">
<TABLE cellSpacing=0 cellPadding=0 border=0 unselectable="on">
<TBODY>
<TR>
<TD class=editor_menunormal id=posteditor_menu_fontname unselectable="on">
<DIV id=posteditor_font_out style="WIDTH: 91px" unselectable="on">字体</DIV></TD>
<TD unselectable="on"><IMG height=4 alt="" src="http://www.ingso.net/images/common/bb_menupop.gif" width=7></TD></TR></TBODY></TABLE></DIV></TD>
<TD id=posteditor_popup_fontsize title=大小 onclick=editorMenu(this)>
<DIV class=editor_buttonnormal onmouseover="menuContext(this, 'mouseover')" onmouseout="menuContext(this, 'mouseout')">
<TABLE cellSpacing=0 cellPadding=0 border=0 unselectable="on">
<TBODY>
<TR>
<TD class=editor_menunormal id=posteditor_menu_fontsize unselectable="on">
<DIV id=posteditor_size_out style="WIDTH: 25px" unselectable="on">大小</DIV></TD>
<TD unselectable="on"><IMG height=4 alt="" src="http://www.ingso.net/images/common/bb_menupop.gif" width=7></TD></TR></TBODY></TABLE></DIV></TD>
<TD id=posteditor_popup_forecolor title=颜色 onclick=editorMenu(this)>
<DIV class=editor_buttonnormal onmouseover="menuContext(this, 'mouseover')" onmouseout="menuContext(this, 'mouseout')">
<TABLE cellSpacing=0 cellPadding=0 border=0 unselectable="on">
<TBODY>
<TR>
<TD class=editor_colormenunormal id=posteditor_colormenu unselectable="on"><IMG height=16 alt="" src="http://www.ingso.net/images/common/bb_color.gif" width=21><BR><IMG id=posteditor_color_bar style="BACKGROUND-COLOR: black" height=4 alt="" src="http://www.ingso.net/images/common/bb_clear.gif" width=21></TD>
<TD unselectable="on"><IMG height=4 alt="" src="http://www.ingso.net/images/common/bb_menupop.gif" width=7></TD></TR></TBODY></TABLE></DIV></TD>
<TD><IMG height=20 alt="" src="http://www.ingso.net/images/common/bb_separator.gif" width=6></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_justifyleft onmouseover="buttonContext(this, 'mouseover')" onclick="discuzcode('justifyleft')" onmouseout="buttonContext(this, 'mouseout')"><IMG title=居左 height=20 alt=居左 src="http://www.ingso.net/images/common/bb_left.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_justifycenter onmouseover="buttonContext(this, 'mouseover')" onclick="discuzcode('justifycenter')" onmouseout="buttonContext(this, 'mouseout')"><IMG title=居中 height=20 alt=居中 src="http://www.ingso.net/images/common/bb_center.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_justifyright onmouseover="buttonContext(this, 'mouseover')" onclick="discuzcode('justifyright')" onmouseout="buttonContext(this, 'mouseout')"><IMG title=居右 height=20 alt=居右 src="http://www.ingso.net/images/common/bb_right.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_floatleft onmouseover="buttonContext(this, 'mouseover')" onclick="discuzcode('floatleft')" onmouseout="buttonContext(this, 'mouseout')"><IMG title=左浮动 height=20 alt=左浮动 src="http://www.ingso.net/images/common/bb_floatleft.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_floatright onmouseover="buttonContext(this, 'mouseover')" onclick="discuzcode('floatright')" onmouseout="buttonContext(this, 'mouseout')"><IMG title=右浮动 height=20 alt=右浮动 src="http://www.ingso.net/images/common/bb_floatright.gif" width=21></DIV></TD>
<TD><IMG height=20 alt="" src="http://www.ingso.net/images/common/bb_separator.gif" width=6></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_insertorderedlist onmouseover="buttonContext(this, 'mouseover')" onclick="discuzcode('insertorderedlist')" onmouseout="buttonContext(this, 'mouseout')"><IMG title=排序的列表 height=20 alt=排序的列表 src="http://www.ingso.net/images/common/bb_orderedlist.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_insertunorderedlist onmouseover="buttonContext(this, 'mouseover')" onclick="discuzcode('insertunorderedlist')" onmouseout="buttonContext(this, 'mouseout')"><IMG title=未排序列表 height=20 alt=未排序列表 src="http://www.ingso.net/images/common/bb_unorderedlist.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_outdent onmouseover="buttonContext(this, 'mouseover')" onclick="discuzcode('outdent')" onmouseout="buttonContext(this, 'mouseout')"><IMG title=减少缩进 height=20 alt=减少缩进 src="http://www.ingso.net/images/common/bb_outdent.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_indent onmouseover="buttonContext(this, 'mouseover')" onclick="discuzcode('indent')" onmouseout="buttonContext(this, 'mouseout')"><IMG title=增加缩进 height=20 alt=增加缩进 src="http://www.ingso.net/images/common/bb_indent.gif" width=21></DIV></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD>
<DIV class=editor_buttonhover id=posteditor_cmd_createlink onmouseover="buttonContext(this, 'mouseover')" style="CURSOR: pointer" onclick="discuzcode('createlink')" onmouseout="buttonContext(this, 'mouseout')" mode="hover"><IMG title=插入链接 height=20 alt=插入链接 src="http://www.ingso.net/images/common/bb_url.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_unlink onmouseover="buttonContext(this, 'mouseover')" style="CURSOR: pointer" onclick="discuzcode('unlink')" onmouseout="buttonContext(this, 'mouseout')" mode="normal"><IMG title=移除链接 height=20 alt=移除链接 src="http://www.ingso.net/images/common/bb_unlink.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_email onmouseover="buttonContext(this, 'mouseover')" style="CURSOR: pointer" onclick="discuzcode('email')" onmouseout="buttonContext(this, 'mouseout')" mode="normal"><IMG title=插入邮箱链接 height=20 alt=插入邮箱链接 src="http://www.ingso.net/images/common/bb_email.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_insertimage onmouseover="buttonContext(this, 'mouseover')" style="CURSOR: pointer" onclick="discuzcode('insertimage')" onmouseout="buttonContext(this, 'mouseout')" mode="normal"><IMG title=插入图片 height=20 alt=插入图片 src="http://www.ingso.net/images/common/bb_image.gif" width=21></DIV></TD>
<TD><IMG height=20 alt="" src="http://www.ingso.net/images/common/bb_separator.gif" width=6></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_wrap0_quote onmouseover="buttonContext(this, 'mouseover')" style="CURSOR: pointer" onclick="discuzcode('quote')" onmouseout="buttonContext(this, 'mouseout')" mode="normal"><IMG title=插入引用 height=20 alt=插入引用 src="http://www.ingso.net/images/common/bb_quote.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_wrap0_code onmouseover="buttonContext(this, 'mouseover')" style="CURSOR: pointer" onclick="discuzcode('code')" onmouseout="buttonContext(this, 'mouseout')" mode="normal"><IMG title=插入代码 height=20 alt=插入代码 src="http://www.ingso.net/images/common/bb_code.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_popup_table onmouseover="buttonContext(this, 'mouseover')" style="CURSOR: pointer" onclick=editorMenu(this) onmouseout="buttonContext(this, 'mouseout')" mode="normal"><IMG title=插入表格 height=20 alt=插入表格 src="http://www.ingso.net/images/common/bb_table.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_free onmouseover="buttonContext(this, 'mouseover')" style="CURSOR: pointer" onclick="discuzcode('free')" onmouseout="buttonContext(this, 'mouseout')" mode="normal"><IMG title=插入免费信息 height=20 alt=插入免费信息 src="http://www.ingso.net/images/common/bb_free.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_hide onmouseover="buttonContext(this, 'mouseover')" onclick="discuzcode('hide')" onmouseout="buttonContext(this, 'mouseout')"><IMG title=插入隐藏内容 height=20 alt=插入隐藏内容 src="http://www.ingso.net/images/common/bb_hide.gif" width=21></DIV></TD>
<TD><IMG height=20 alt="" src="http://www.ingso.net/images/common/bb_separator.gif" width=6></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_custom1_fly onmouseover="buttonContext(this, 'mouseover')" onclick="discuzcode('custom1_fly')" onmouseout="buttonContext(this, 'mouseout')"><IMG title="使内容横向滚动,这个效果类似 HTML 的 marquee 标签,注意:这个效果只在 Internet Explorer 浏览器下有效。" height=20 alt=fly src="http://www.ingso.net/images/common/bb_fly.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_custom1_flash onmouseover="buttonContext(this, 'mouseover')" onclick="discuzcode('custom1_flash')" onmouseout="buttonContext(this, 'mouseout')"><IMG title="嵌入 Flash 动画" height=20 alt=flash src="http://www.ingso.net/images/common/bb_flash.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_custom1_qq onmouseover="buttonContext(this, 'mouseover')" style="CURSOR: pointer" onclick="discuzcode('custom1_qq')" onmouseout="buttonContext(this, 'mouseout')" mode="normal"><IMG title="显示 QQ 在线状态,点这个图标可以和他(她)聊天" height=20 alt=qq src="http://www.ingso.net/images/common/bb_qq.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_custom1_ra onmouseover="buttonContext(this, 'mouseover')" onclick="discuzcode('custom1_ra')" onmouseout="buttonContext(this, 'mouseout')"><IMG title="嵌入 Real 音频" height=20 alt=ra src="http://www.ingso.net/images/common/bb_ra.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_custom1_rm onmouseover="buttonContext(this, 'mouseover')" onclick="discuzcode('custom1_rm')" onmouseout="buttonContext(this, 'mouseout')"><IMG title="嵌入 Real 音频或视频" height=20 alt=rm src="http://www.ingso.net/images/common/bb_rm.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_custom1_wma onmouseover="buttonContext(this, 'mouseover')" onclick="discuzcode('custom1_wma')" onmouseout="buttonContext(this, 'mouseout')"><IMG title="嵌入 Windows media 音频" height=20 alt=wma src="http://www.ingso.net/images/common/bb_wma.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_custom1_wmv onmouseover="buttonContext(this, 'mouseover')" onclick="discuzcode('custom1_wmv')" onmouseout="buttonContext(this, 'mouseout')"><IMG title="嵌入 Windows media 音频或视频" height=20 alt=wmv src="http://www.ingso.net/images/common/bb_wmv.gif" width=21></DIV></TD>
<TD>
<DIV class=editor_buttonnormal id=posteditor_cmd_custom1_mp3 onmouseover="buttonContext(this, 'mouseover')" style="CURSOR: pointer" onclick="discuzcode('custom1_mp3')" onmouseout="buttonContext(this, 'mouseout')" mode="normal"><IMG title=插入mp3格式文件 style="WIDTH: 150px; HEIGHT: 233px" height=20 alt=mp3 src="http://www.ingso.net/images/common/bb_mp3.gif" width=21></DIV></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE>使用这个相应的播放器就能达到效果了! |
|