<br>
<?if(!$CAN_ADD$)?><div align="center" class="tp_login_box" style="font-size: 14px; margin: 5px 5px 15px !important; height: 30px !important; padding: 0px !important; display: block; text-transform: uppercase; font-family: 'proxima_nova_rgbold'; background: none !important; width: 100% !important; float: inherit !important;"><?if($LOGIN_LINK$)?>Для добавления необходима авторизация<?else?>Доступ запрещен<?endif?></div><?else?>
<div class="iChat_editor">
<textarea id="mchatMsgF" name="mcmessage"></textarea>
<div class="clr"></div>
</div>

<div style="padding-top:12px;">
<div style="display: none;">$SUBMIT$</div>
<div style="float: right; padding-bottom: 5px;">
<a href="$RELOAD_URI$" title="Обновить" class="mcReloadBtn"><img alt="" border="0" align="absmiddle" src="/.s/img/fr/mcr.gif" width="13" height="15"></a>
<?if($SMILES_URI$)?><a href="$SMILES_URI$" title="Вставить смайл" class="mcSmilesBtn"><img alt="" border="0" align="absmiddle" src="/.s/img/fr/mcs.gif" width="13" height="15"></a><?endif?>
<?if($BBCODES_URI$)?><a href="$BBCODES_URI$" title="BB-Коды" class="mcBBcodesBtn"><img alt="" border="0" align="absmiddle" src="/.s/img/fr/mcb.gif" width="13" height="15"></a><?endif?>
<?if($MSGCTRL_URI$)?><a href="$MSGCTRL_URI$" title="Управление сообщениями" class="mcManageBtn"><img alt="" border="0" align="absmiddle" src="/.s/img/fr/mcm.gif" width="15" height="15"></a><?endif?>
</div>
<input id="mchatBtn" class="button" title="Отправить" type="submit" value="Отправить">
<div class="clr"></div>
</div>
<?endif?>