<div id="reply_comment"></div><article class="hentry">
    <header class="entry-header">
        <form action="guestbook/send" method="post" onsubmit="return validate(this)" enctype="multipart/form-data">
            <ol class="comment-list">
                <li id="comment-114" class="comment even thread-even depth-1">
                    [open]
                    <div class="commentAdd" id="comment_add">
                        <h3>[lang_tpl:add_guestbook]</h3></br>
                        [guest]
                        <div style="margin-bottom:2px;">
                            <input id="author" name="name" type="text" value="" size="40" class="ajax_error" required placeholder="[lang_tpl:your_name]"/>
                            <label for="author" id="name" class="ajax_error">
                                <small class="content">[lang_tpl:your_name_required]</small>
                            </label>
                        </div>
                        <div style="margin-bottom:2px;">
                            <input id="email" name="email" type="text" value="" size="40" required placeholder="[lang_tpl:your_email]"/>
                            <label for="email" id="email" class="ajax_error">
                                <small class="content">[lang_tpl:your_email_required]</small>
                            </label>
                        </div>
                        <div style="margin-bottom:2px;">
                            <label for="url"></label><input id="url" name="site" type="text" value="" size="40" class="ajax_error" placeholder="[lang_tpl:your_website]"/>
                            <label for="site" id="site" class="ajax_error">
                                <small class="content">[lang_tpl:your_website_required]</small>
                            </label>
                        </div>
                        <div style="margin-bottom:2px;">
                            <label>
                                <select class="date_selection" name="gender">
                                    <option value="0">[lang_tpl:your_gender]</option>
                                    <option value="1">[lang_tpl:gender_male]</option>
                                    <option value="2">[lang_tpl:gender_female]</option>
                                </select>
                            </label>
                            <label for="gender" id="gender" class="ajax_error">
                                <small class="content">[lang_tpl:your_gender_required]</small>
                            </label>
                        </div>
                        [/guest]
                        [user]
                        <div style="margin-bottom:2px;">
                            [lang_tpl:your_names] {%UNAME%}
                            <input type="hidden" name="uid" value="{%UID%}">
                        </div>
                        [/user]</br>
                        <p class="comment-form-comment">
                            <label for="comment"><span class="screen-reader-text">[lang_tpl:message_required]</span></label>
                            <textarea id="comment" name="message"  onfocus="setFieldName(this.name)" class="ajax_error" rows="8" aria-required="true" placeholder="[lang_tpl:message_required]"></textarea>
                        </p>
                        <p class="form-allowed-tags" id="form-allowed-tags"></p>
                        [captcha]
                        <div class="register">
                            <div class="rightreg descreg">[lang_tpl:security_code]</br>{%CAPTCHA%}</div>
                            [recaptcha:0]<br/>
                            <div class="rightreg">
                                <input placeholder="[lang_tpl:repeat_captcha_code]" title="[lang_tpl:pre_security_code]" type="text" name="securityCode" id="securityCode" required>
                            </div>
                            [/recaptcha]
                        </div>
                        [/captcha]</br></br></br></br>
                        <div style="margin-bottomiv;">
                            <input type="hidden" name="reply_id" value="{%ID%}">
                            <input name="submit" type="submit" id="submit" value="[lang_tpl:add]">
                            <button name="nview" onclick="preview()" class="submit" type="reset"><span>[lang_tpl:clear]</span></button>
                        </div>
                        [/open]
                </li>
            </ol>
        </form>
</article>