[Table]Файлы в корень (не забываем необходимо создать папки в менжере файлов) Тык В вид материалов чата:[/Table]
Code
<div style="white-space:normal">
<script type="text/javascript" src="http://diz-cs.ru/js/mchat.js"></script>
<div class="Mchat" style="padding:0 4px 5px 2px;margin-bottom:3px;">
<div class="forumP"/>
<table width="100%"><tr><td><?if($CUSTOM1$)?><img alt="" src="$CUSTOM1$" border="0" style="vertical-align:-2px"/><?else?><img src="http://s105.ucoz.net/img/icon/profile.png" align="absmiddle" width="13" border="0"><?endif?> <span style='cursor: pointer;' onclick='show_bar(event, $USER_ID$)'><b>$USERNAME$</b></span></td>
<td align="right"><span style="font-size:8px">$TIME$</span></td></tr></table>
</div>
<div align="center" style="display:none" id="hide2"></div>
<table id="win_$USER_ID$" onclick='hide_bar(860)' style='background: #333333; position:absolute; visibility:hidden; filter:alpha(opacity=85); opacity: 0.85; width: 110px; border: 1px solid #999999;'>
<tbody>
<tr><td onmouseover="this.bgColor='666666';" onmouseout="this.bgColor='#444444';" style="padding: 5px; border: 1px solid #999999;"><a href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[b]$USERNAME$[/b], ';return false;"><font color="222222">Цитировать</font></a></td></tr>
<tr><td onmouseover="this.bgColor='666666';" onmouseout="this.bgColor='#444444';" style="padding: 5px; border: 1px solid #999999;"><a href="/index/14-$USER_ID$-0-1" target="self" ><font color="222222">Отправить ЛС</font></a></td></tr>
<tr><td onmouseover="this.bgColor='666666';" onmouseout="this.bgColor='#444444';" style="padding: 5px; border: 1px solid #999999;"><a href="javascript://" rel="nofollow" onclick="new _uWnd('Rd',' ',400,250,{autosize:1,maxh:300,minh:100,closeonesc:1},{url:'/index/23-$USER_ID$'});return false;"><font color="222222">Репутация ±</font></a></td></tr>
<tr><td onmouseover="this.bgColor='666666';" onmouseout="this.bgColor='#444444';" style="padding: 5px; border: 1px solid #999999;"><a href="/index/8-$USER_ID$" target="blank" ><font color="222222">Профиль</font></a></td></tr>
<tr><td style="text-align: left;"><img onclick="hide_bar($USER_ID$)" src="http://diz-cs.ru/images/close.png" alt="Закрыть" border="0"></td></tr>
</tbody></table>
<div class="cMessage" style="text-align:left;">$MESSAGE$</div>
</div>
<style type="text/css" media="all">
.cMessage {color:#707070}
.mchat {background:url('http://diz-cs.ru/img/fon2.bmp') repeat-x #333333; border: #222222 1px solid; color:#707070;}
</style>
[Table]В форму добавления:[/Table]
Code
<?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%">
<hr/>
<input value="Правила чата" href="javascript://" onclick="openLayerB('Rules_Mchat',0,'/images/rules_mchat.xml','Правила мини-чата',400,200,'1','','',0,'justify'); return false;" class="codeButtons" style="width: 100%;" id="code" type="button"/>
<tr><td>$FLD_AUTOUPD$</td>
<td width="70%" align="right">
<a href="$RELOAD_URI$" title="Обновить"><img alt="" border="0" align="absmiddle" src="/images/tf.png" width="13" height="15"></a>
<?if($SMILES_URI$)?> <a href="$SMILES_URI$" title="Вставить смайл"><img alt="" border="0" align="absmiddle" src="/images/s.png"></a><?endif?>
<?if($BBCODES_URI$)?> <a href="$BBCODES_URI$" title="BB-Коды"><img alt="" border="0" align="absmiddle" src="/images/b8adc987f389.png"></a><?endif?>
<?if($MSGCTRL_URI$)?> <a href="$MSGCTRL_URI$" title="Управление сообщениями"><img alt="" border="0" align="absmiddle" src="/images/cmt.png"></a><?endif?>
</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_CUSTOM1$ || $FLD_CUSTOM2$)?>
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td width="50%">$FLD_CUSTOM1$</td><td>$FLD_CUSTOM2$</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?>
<style>
input[type="submit"] {background-attachment: scroll;background-color: #181818;background-image: url("http://diz-cs.ru/imgs/forumtitle.png");background-position: 0% 0%;background-repeat: repeat;border-bottom-color: #292929;border-bottom-style: solid;border-bottom-width: 1px;border-left-color: #292929;border-left-style: solid;border-left-width: 1px;border-right-color: #292929;border-right-style: solid;border-right-width: 1px;border-top-color: #292929;border-top-style: solid;border-top-width: 1px;color: #98b400;font-size: 7pt;padding-bottom: 2px;padding-left: 3px;padding-right: 3px;padding-top: 2px;}
.mchat {background-attachment: scroll;background-color: #333333;background-image: url("http://diz-cs.ru/img/fon2.bmp");background-position: 0% 0%;background-repeat: repeat-x;border-bottom-color: #222222;border-bottom-style: solid;border-bottom-width: 1px;border-left-color: #222222;border-left-style: solid;border-left-width: 1px;border-right-color: #222222;border-right-style: solid;border-right-width: 1px;border-top-color: #222222;border-top-style: solid;border-top-width: 1px;color: #707070;}
.checkbtn, .pollreSultsBut, .allUsersBtn, .codeButtons {background-attachment: scroll;background-color: #181818;background-image: url("http://diz-cs.ru/imgs/forumtitle.png");background-position: 0% 0%;background-repeat: repeat;border-bottom-color: #292929;border-bottom-style: solid;border-bottom-width: 1px;border-left-color: #292929;border-left-style: solid;border-left-width: 1px;border-right-color: #292929;border-right-style: solid;border-right-width: 1px;border-top-color: #292929;border-top-style: solid;border-top-width: 1px;color: #98b400;font-size: 7pt;padding-bottom: 2px;padding-left: 3px;padding-right: 3px;padding-top: 2px;}
</style>