<div class="ac-form serv form ignore-select ac-toggle">
<?if($ERROR$)?>$ERROR$<?endif?>
<style>.myWinError, .myWinSuccess { font-weight: bold; position: relative; bottom: 10px;}</style>

<?if(!$USER_LOGGED_IN$)?>
<div class="ac-form__header d-flex ai-center">
<input class="ac-form__input flex-grow-1" type="text" maxlength="35" name="name" id="name" placeholder="Ваше имя" />
<input class="ac-form__input flex-grow-1" type="text" maxlength="35" name="email" id="mail" placeholder="Ваш e-mail" />
</div>
<?endif?>

<div class="ac-form__editor p-relative">
<div style="display:none;">$BBCODES$</div>
<div class="bb-editor ignore-select">
<?if($BBCODES$)?>
<div class="bb-pane">
<b id="b_b" class="bb-btn" onclick="simpletag('b','','','message','')" title="Полужирный"></b>
<b id="b_i" class="bb-btn" onclick="simpletag('i','','','message','')" title="Наклонный текст"></b>
<b id="b_u" class="bb-btn" onclick="simpletag('u','','','message','')" title="Подчёркнутый текст"></b>
<b id="b_s" class="bb-btn" onclick="simpletag('s','','','message','')" title="Зачёркнутый текст"></b>
<b id="b_emo" class="bb-btn" onclick="new _uWnd('Sml',' ',-250,-350,{},{url:'/index/35-1-0'});return false;" title="Вставка смайликов" tabindex="-1"></b>
<b id="b_hide" class="bb-btn" onclick="simpletag('hide','','','message','')" title="Скрытый текст"></b>
<b id="b_quote" class="bb-btn" onclick="simpletag('quote','','','message','')" title="Вставка цитаты"></b>
<b id="b_spoiler" class="bb-btn" onclick="simpletag('spoiler','','','message','')" title="Вставка спойлера"></b>
</div>
<?endif?>
</div>
<textarea name="message" id="message" cols="70" rows="10">$MESSAGE$</textarea>
</div>

<?if($SECURITY_CODE$)?>
<div class="message-info form d-none">
<div class="form__row form__row--protect">
<label class="form__label form__label--important" for="">Защита от спама</label>
$SECURITY_CODE$
</div>
</div>
<?endif?>

<div class="ac-form__bottom d-flex ai-center"><button class="ac-form__btn" name="submit" type="submit">Отправить</button></div>
</div>