 <script type="text/javascript">
    // Setup editor path for FCKeditor JS Functions
    geeklogEditorBasePath = "{site_url}/fckeditor/" ;
</script>
<script type="text/JavaScript" src="{site_url}/javascript/submitcomment_fckeditor.js"></script>

                                {start_block_postacomment}
                                            <form action="{site_url}/comment.php" method="post" onSubmit='set_postcontent();'>
                                                <table cellspacing="0" cellpadding="3" border="0" width="100%">
                                                    <tr>
                                                        <td class="alignright"><b>{lang_username}:</b></td>
                                                        <td>
                                                            <input type="hidden" name="sid" value="{sid}"{xhtml}>
                                                            <input type="hidden" name="pid" value="{pid}"{xhtml}>
                                                            <input type="hidden" name="type" value="{type}"{xhtml}>
                                                            <input type="hidden" name="comment" value=""{xhtml}>
                                                            <input type="hidden" name="uid" value="{uid}"{xhtml}>{username} [ <a href="{action_url}" rel="nofollow">{lang_logoutorcreateaccount}</a> ]
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="alignright"><b>{lang_title}:</b></td>
                                                        <td><input type="text" name="title" size="32" value="{title}" maxlength="96"{xhtml}></td>
                                                    </tr>
                                                    <tr>
                                                        <td class="alignright" style="vertical-align:top;"><b>{lang_comment}:</b></td>
                                                        <td>
                                                            <div id="text_editor" style="display:{show_texteditor};">
                                                                <textarea id="comment_text" name="comment" cols="60" rows="10">{comment}</textarea>
                                                            </div>
                                                            <div  id="html_editor" style="display:{show_htmleditor};">
                                                                <textarea id="comment_html" name="comment_html" rows="10">{comment}</textarea>
                                                            </div>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="alignright" style="vertical-align:top;"><b>{lang_postmode}:</b></td>
                                                        <td style="vertical-align:top;">
                                                            <select id="sel_editmode" name="postmode" onChange="change_editmode(this);">
                                                                {postmode_options}
                                                            </select><br{xhtml}>
                                                            <span class="warningsmall">{allowed_html}</span>
                                                        </td>
                                                    </tr>
                                                    {captcha}
                                                    <tr>
                                                        <td colspan="2"><hr{xhtml}></td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2"><b>{lang_importantstuff}</b><ul>
                                                            <li>{lang_instr_line1}</li>
                                                            <li>{lang_instr_line2}</li>
                                                            <li>{lang_instr_line3}</li>
                                                            <li>{lang_instr_line4}</li>
                                                            <li>{lang_instr_line5}</li></ul>
                                                            <input type="submit" name="mode" value="{lang_preview}"{xhtml}>
                                                            {save_option}
                                                        </td>
                                                    </tr>
                                                </table>
                                            </form>
                                {end_block}
