<?if(!$CAN_ADD$)?>
<div align="center"><?if($LOGIN_LINK$)?><a href="$LOGIN_LINK$">Для добавления необходима авторизация</a><?else?>Доступ запрещен<?endif?></div>
<?else?>

<?if($FLD_SECURE$)?>
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td width="50%">$FLD_SECURE$</td><td align="right">$IMG_SECURE$</td></tr>
</table>
<?endif?>

<div class="addmess_b">
<div class="addmess_fld">$FLD_MESSAGE$</div>
<div class="addmess_ico">
<a href="$BBCODES_URI$" class="bbico"></a>
<a href="$SMILES_URI$" class="smico"></a>
</div>
</div>
<div class="addmess_bb">
<div class="addmess_sub"><input type="submit" value="Отправить" class="mchat" id="mchatBtn2"></div>
<a href="$RELOAD_URI$" class="rlico"></a>
<a href="$MSGCTRL_URI$" class="chatctrl">Управление чатом</a>
</div>
<?endif?>