<script type="text/javascript">var charset = 'utf-8',VERHASH = 'MVN';</script>
<script src="<?php echo $GLOBALS['path'];?>js/editor/bbeditor.js" type="text/javascript"></script>
<style type="text/css">
a {text-decoration:none; color:#000; font-size:13px;}
a:hover {text-decoration:underline;}
.smilieslist {text-align:center;padding:10px;border:1px solid #7FCAE2;background:#FEFEFE;}
.smilieslist td {padding:8px;border:none;cursor:pointer;}
.smilieslist_page {text-align:right;}
.smilieslist_page a {display:inline;margin:0 4px;color:#09C;text-decoration:underline;}
.smilieslist_table {position:absolute;left:-100px;top:0;*top:-1px;width:100px !important;height:100px;border:1px solid #E6E7E1;background:#FFF;}
.smilieslist_preview {text-align:center;vertical-align:middle;}
.smiliesgroup {height:33px;*height:34px;overflow:hidden;width:expression(this.parentNode.offsetWidth);}
.smiliesgroup ul, .imguptype {margin:6px 0;padding:0 0 26px 8px;border-bottom:1px solid #D3E8F2;}
.smiliesgroup li, .imguptype li {display:inline;}
.smiliesgroup li a, .imguptype li a {float:left;margin:2px 6px 0 0;padding:2px 10px;height:24px;height:19px;border:1px solid #D3E8F2;color:#09C;}
.smiliesgroup li a:focus, .imguptype li a:focus {outline:none;}
.smiliesgroup li a.current, .imguptype li a.current {border-bottom-color:#FEFEFE;font-weight:700;color:#444;}
.popupmenu_popup {overflow:hidden;padding:10px;text-align:left;line-height:1.4em;border:1px solid #7FCAE2;background:#FEFEFE;}
.editor_tb {margin:5px 0 0;width:600px;height:26px;border:1px solid;border-color:#999 #CCC #CCC #999;background:#F7F7F7;border-bottom:none;}
.editor_tb .right a {color:#09C;}
.editor_tb .right {padding-right:10px;line-height:26px;}
.editor_tb div a {float:left;margin:5px 3px 0;width:16px;height:16px;background:url(<?php echo getImageFile('editor.gif');?>) no-repeat;text-indent:-9999px;line-height:16px;overflow:hidden;}
.editor_tb div a.tb_bold {background-position:-3px -1px;}
.editor_tb div a.tb_color {background-position:-3px -81px;}
.editor_tb div a.tb_img {background-position:-3px -161px;}
.editor_tb div a.tb_link {background-position:-3px -121px;}
.editor_tb div a.tb_quote {background-position:-3px -441px;}
.editor_tb div a.tb_code {background-position:-3px -461px;}
.editor_tb div a.tb_smilies {background-position:-2px -102px;}
.editor_tb div a.tb_imme {background-position:-3px -763px;}
.editor_tb .popupmenu_popup td {padding:0 !important;height:14px;width:14px;}
.editor_tb .popupmenu_popup td div {height:10px;width:10px;cursor:pointer;}
.editor_tb .tb_color input {margin:2px;padding:0px;float:left;cursor:pointer;width:10px;height:10px;border:0;}
</style>
<div id="f_post" class="mainbox viewthread">
  <form method="post" id="fastpostform" action="<?php echo $this->actionUrl;?>" >
    <span id="append_parent"></span>
    <table cellspacing="0" cellpadding="0">
      <tr>
        <td class="postcontent"><span id="fastpostreturn"></span>
          <div class="editor_tb">
            <div><a href="javascript:;" title="粗体" class="tb_bold" onclick="seditor_insertunit('fastpost', '[b]', '[/b]')">B</a> <a href="javascript:;" title="颜色" class="tb_color" id="fastpostforecolor" onclick="showMenu(this.id, true, 0, 2)">Color</a>
              <div class="popupmenu_popup tb_color" id="fastpostforecolor_menu" style="display: none">
                <input type="button" style="background-color: Black" onclick="seditor_insertunit('fastpost', '[color=Black]', '[/color]')" />
                <input type="button" style="background-color: Sienna" onclick="seditor_insertunit('fastpost', '[color=Sienna]', '[/color]')" />
                <input type="button" style="background-color: DarkOliveGreen" onclick="seditor_insertunit('fastpost', '[color=DarkOliveGreen]', '[/color]')" />
                <input type="button" style="background-color: DarkGreen" onclick="seditor_insertunit('fastpost', '[color=DarkGreen]', '[/color]')" />
                <input type="button" style="background-color: DarkSlateBlue" onclick="seditor_insertunit('fastpost', '[color=DarkSlateBlue]', '[/color]')" />
                <input type="button" style="background-color: Navy" onclick="seditor_insertunit('fastpost', '[color=Navy]', '[/color]')" />
                <input type="button" style="background-color: Indigo" onclick="seditor_insertunit('fastpost', '[color=Indigo]', '[/color]')" />
                <input type="button" style="background-color: DarkSlateGray" onclick="seditor_insertunit('fastpost', '[color=DarkSlateGray]', '[/color]')" />
                <br />
                <input type="button" style="background-color: DarkRed" onclick="seditor_insertunit('fastpost', '[color=DarkRed]', '[/color]')" />
                <input type="button" style="background-color: DarkOrange" onclick="seditor_insertunit('fastpost', '[color=DarkOrange]', '[/color]')" />
                <input type="button" style="background-color: Olive" onclick="seditor_insertunit('fastpost', '[color=Olive]', '[/color]')" />
                <input type="button" style="background-color: Green" onclick="seditor_insertunit('fastpost', '[color=Green]', '[/color]')" />
                <input type="button" style="background-color: Teal" onclick="seditor_insertunit('fastpost', '[color=Teal]', '[/color]')" />
                <input type="button" style="background-color: Blue" onclick="seditor_insertunit('fastpost', '[color=Blue]', '[/color]')" />
                <input type="button" style="background-color: SlateGray" onclick="seditor_insertunit('fastpost', '[color=SlateGray]', '[/color]')" />
                <input type="button" style="background-color: DimGray" onclick="seditor_insertunit('fastpost', '[color=DimGray]', '[/color]')" />
                <br />
                <input type="button" style="background-color: Red" onclick="seditor_insertunit('fastpost', '[color=Red]', '[/color]')" />
                <input type="button" style="background-color: SandyBrown" onclick="seditor_insertunit('fastpost', '[color=SandyBrown]', '[/color]')" />
                <input type="button" style="background-color: YellowGreen" onclick="seditor_insertunit('fastpost', '[color=YellowGreen]', '[/color]')" />
                <input type="button" style="background-color: SeaGreen" onclick="seditor_insertunit('fastpost', '[color=SeaGreen]', '[/color]')" />
                <input type="button" style="background-color: MediumTurquoise" onclick="seditor_insertunit('fastpost', '[color=MediumTurquoise]', '[/color]')" />
                <input type="button" style="background-color: RoyalBlue" onclick="seditor_insertunit('fastpost', '[color=RoyalBlue]', '[/color]')" />
                <input type="button" style="background-color: Purple" onclick="seditor_insertunit('fastpost', '[color=Purple]', '[/color]')" />
                <input type="button" style="background-color: Gray" onclick="seditor_insertunit('fastpost', '[color=Gray]', '[/color]')" />
                <br />
                <input type="button" style="background-color: Magenta" onclick="seditor_insertunit('fastpost', '[color=Magenta]', '[/color]')" />
                <input type="button" style="background-color: Orange" onclick="seditor_insertunit('fastpost', '[color=Orange]', '[/color]')" />
                <input type="button" style="background-color: Yellow" onclick="seditor_insertunit('fastpost', '[color=Yellow]', '[/color]')" />
                <input type="button" style="background-color: Lime" onclick="seditor_insertunit('fastpost', '[color=Lime]', '[/color]')" />
                <input type="button" style="background-color: Cyan" onclick="seditor_insertunit('fastpost', '[color=Cyan]', '[/color]')" />
                <input type="button" style="background-color: DeepSkyBlue" onclick="seditor_insertunit('fastpost', '[color=DeepSkyBlue]', '[/color]')" />
                <input type="button" style="background-color: DarkOrchid" onclick="seditor_insertunit('fastpost', '[color=DarkOrchid]', '[/color]')" />
                <input type="button" style="background-color: Silver" onclick="seditor_insertunit('fastpost', '[color=Silver]', '[/color]')" />
                <br />
                <input type="button" style="background-color: Pink" onclick="seditor_insertunit('fastpost', '[color=Pink]', '[/color]')" />
                <input type="button" style="background-color: Wheat" onclick="seditor_insertunit('fastpost', '[color=Wheat]', '[/color]')" />
                <input type="button" style="background-color: LemonChiffon" onclick="seditor_insertunit('fastpost', '[color=LemonChiffon]', '[/color]')" />
                <input type="button" style="background-color: PaleGreen" onclick="seditor_insertunit('fastpost', '[color=PaleGreen]', '[/color]')" />
                <input type="button" style="background-color: PaleTurquoise" onclick="seditor_insertunit('fastpost', '[color=PaleTurquoise]', '[/color]')" />
                <input type="button" style="background-color: LightBlue" onclick="seditor_insertunit('fastpost', '[color=LightBlue]', '[/color]')" />
                <input type="button" style="background-color: Plum" onclick="seditor_insertunit('fastpost', '[color=Plum]', '[/color]')" />
                <input type="button" style="background-color: White" onclick="seditor_insertunit('fastpost', '[color=White]', '[/color]')" />
                <br />
              </div>
              <a href="javascript:;" title="插入图片" class="tb_img" onclick="seditor_insertunit('fastpost', '[img]', '[/img]')">Image</a> <a href="javascript:;" title="插入链接" class="tb_link" onclick="seditor_insertunit('fastpost', '[url]', '[/url]')">Link</a> <!-- <a href="javascript:;" title="插入引用" class="tb_quote" onclick="seditor_insertunit('fastpost', '[quote]', '[/quote]')">Quote</a> <a href="javascript:;" title="插入代码" class="tb_code" onclick="seditor_insertunit('fastpost', '[code]', '[/code]')">Code</a> --> <a href="javascript:;" class="tb_smilies" id="fastpostsmilies" onclick="showMenu(this.id, true, 0, 2)">Smilies</a>
              <script type="text/javascript">smilies_show('fastpostsmiliesdiv', 8, 0, 'fastpost');</script>
            </div>
          </div>
          <textarea rows="5" cols="80" name="<?php echo $this->inputName;?>" id="<?php echo $this->inputId;?>" onKeyDown="seditor_ctlent(event, 'fastpostvalidate($(\'fastpostform\'))');" tabindex="2" class="txtarea" style="width: 600px;height: 120px;"></textarea>
          <p>
            <input type="submit" value="提 交" class="btn-submit" />
          </p></td>
      </tr>
    </table>
  </form>
</div>