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

<td width="70" align="right">
 <form style="margin:0;padding:0;" id="MCaddFrm" onsubmit="sbtFrmMC991();return false;"> 
<br> 
<span> 
<span style="padding-right: 1px;" id="bc9"><input title="Вставить картинку" value="img" onclick="tag_image1('mchatMsgF','')" class="codeButtons" style="width: 25px;" id="img" type="button"></span> 
<span style="padding-right: 1px;" id="bc18"><input title="Вставить код" value="code" onclick="simpletag1('code','','','mchatMsgF','')" class="codeButtons" style="width: 30px;" id="code" type="button"></span> 
<span style="padding-right: 1px;" id="bc7"><input title="Вставить ссылку" value="URL" onclick="tag_url1('mchatMsgF','')" class="codeButtons" style="direction: ltr; width: 30px;" id="url" type="button"></span> 
<script src="http://mc-mix.clan.su/js/bbmchat.js" type="text/javascript"></script> <span style="padding-right: 1px;" id="bc1"><input title="Bold" value="b" onclick="simpletag1('b','','','mchatMsgF','')" class="codeButtons" id="b" style="width: 20px; font-weight: bold;" type="button"></span> 
<span style="padding-right: 1px;" id="bc2"><input title="Italic" value="i" onclick="simpletag1('i','','','mchatMsgF','')" class="codeButtons" id="i" style="width: 20px; font-style: italic;" type="button"></span> 
<span style="padding-right: 1px;" id="bc3"><input title="Underline" value="u" onclick="simpletag1('u','','','mchatMsgF','')" class="codeButtons" id="u" style="width: 15px; text-decoration: underline;" type="button"></span> 
<br> 
<table border="0" cellpadding="1" cellspacing="1" width="100%"> 
<td width="10%" align="left"> 
<div align="center"> 
<span style="padding-right: 
0px;" id="bc18"><input title="Правила мини-чата" value="Правила чата" href="javascript://" onclick="openLayerB('Rules_Mchat',0,'/xml/rules_mchat.xml','Правила мини-чата',400,200,'1','','',0,'justify'); return false;" 
class="codeButtons" style="width: 80px;" id="code" 
type="button"></span></div></td> 
<td width="70%" align="right"> 
<a href="javascript://" rel="nofollow" onclick="document.getElementById('mchatIfm2').src='/mchat/?'+Math.random();return false;" title="Обновить"><img border="0" align="absmiddle" src="http://www.gam1x.pp.ua/diz/chat/update.png"></a> 
<a href="javascript://" rel="nofollow" onclick="new _uWnd('Sml',' ',-250,-350,{autosize:0,closeonesc:1,resize:0},{url:'/index/35-0-2'});return false;" title="Вставить смайл"><img border="0" align="absmiddle" src="http://www.gam1x.pp.ua/diz/chat//smile.png"></a> 
<a href="javascript://" rel="nofollow" onclick="window.open('/index/17','cbbcodes','scrollbars=1,width=550,height=450,left=0,top=0');return false;" title="BB-Коды"><img border="0" align="absmiddle" src="http://www.gam1x.pp.ua/diz/chat/bbcode.png"></a> 
<?if($MSGCTRL_URI$)?>&nbsp;<a href="$MSGCTRL_URI$" title="Управление сообщениями"><img alt="" border="0" align="absmiddle" src="http://www.gam1x.pp.ua/diz/chat//cmt.png" width="15" height="15"></a><?endif?> 
</td></tr></table> 
 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 
 <tr><td width="50%"><input type="text" maxlength="60" name="custom1" class="mchat" id="mchatC1F" value="Other 1" title="Other 1" onfocus="if(this.value==$(this).attr('title')){this.value='';}" style="width:100%;"></td><td></td></tr> 
 </table> 
 <script type="text/javascript">$('#mchatC1F').hide();</script>
</td></tr></table>
<?if(!$USER_LOGGED_IN$)?>
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td colspan="2">$FLD_NAME$</td></tr>
<tr><td width="50%">$FLD_EMAIL$</td><td>$FLD_URL$</td></tr>
</table>
<?endif?>
<?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?>

<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td width="95%" rowspan="2">$FLD_MESSAGE$</td>
<td align="center" valign="top"><div style="font-size:10px;">$LENGTH_COUNTER$</div></td>
</tr><tr><td align="center" valign="bottom">$SUBMIT$</td></tr></table>
<?endif?>