Установка:
Зайдите в панель управления => Управление дизайном => Мини-чат => Вид материалов => Сотрите все и вставьте этот код:
Code <div style="padding:0px 4px 0px 3px;"> <br> <br> <div style="float:right;font-size:9px;" title="$DATE$">$TIME$</div> <br> <br><a class="m" href="javascript://" onclick="ffoc(document.forms.addform.message,2);document.forms.addform.message.value+='[b]$USERNAME$[/b], <br> <br> '" title="Цитировать $USERNAME$"> <br> <br><span <br> style="color:#108205;">$USERNAME$</span>[b]<span>$USERNAME$</span>[/b] <br> <br> <br> </a> <br> <br> <div class="cMessage" style="margin:0px 0px 5px 0px;border-bottom: #e5e5e5 1px <br> solid;">$MESSAGE$ <br> <br> <div style="padding:1px"></div> <br> <br> </div>
Зайдите в панель управления => Управление дизайном => Мини-чат => Форма добавления сообщения => Сотрите все и вставьте этот код:
Code <STYLE type="text/css"><!--.postSubmit {border: 0px;padding: 5px;text-align: <br> center;font-size: 10px;margin: 0px;width: auto;background: #0066ff;color: #ffffcc;cursor: <br> pointer;letter-spacing: 0px;font-family: verdana;}.postSubmit:hover {border: <br> 0px;padding: 5px;text-align: center;font-size: 10px;margin: 0px;width: <br> auto;background: #c70404;color: #ffffff;cursor: pointer;letter-spacing: <br> 0px;font-family: verdana;}.postReset {border: 0px;padding: 5px;text-align: <br> center;font-size: 10px;margin: 0px;width: auto;background: #32c425;color: #ffffff;cursor: <br> pointer;letter-spacing: 0px;font-family: verdana;}.postReset:hover {border: <br> 0px;padding: 5px;text-align: center;font-size: 10px;margin: 0px;width: <br> auto;background: #32c425;color: #ffffff;cursor: pointer;letter-spacing: <br> 0px;font-family: verdana;}.postPreview {border: 0px;padding: 5px;text-align: <br> center;font-size: 10px;margin: 0px;width: auto;background: #206ee3;color: #ffffff;cursor: <br> pointer;letter-spacing: 0px;font-family: verdana;}.postPreview:hover {border: <br> 0px;padding: 5px;text-align: center;font-size: 10px;margin: 0px;width: <br> auto;background: #32c425;color: #ffffff;cursor: pointer;letter-spacing: <br> 0px;font-family: verdana;}.postReset {border: 0px;padding: 5px;text-align: <br> center;font-size: 10px;margin: 0px;width: auto;background: #206ee3;color: #ffffff;cursor: <br> pointer;letter-spacing: 0px;font-family: verdana;}.postReset:hover {border: <br> 0px;padding: 5px;text-align: center;font-size: 10px;margin: 0px;width: <br> auto;background: #32c425;color: #ffffff;cursor: pointer;letter-spacing: <br> 0px;font-family: verdana;}.smaile {border: 0px;padding: 5px;text-align: <br> center;font-size: 10px;margin: 0px;width: auto;background: #1779BD;color: #ffffff;cursor: <br> pointer;letter-spacing: 0px;font-family: verdana;}.smaile:hover {border: <br> 0px;padding: 5px;text-align: center;font-size: 10px;margin: 0px;width: <br> auto;background: #32c425;color: #ffffff;cursor: pointer;letter-spacing: <br> 0px;font-family: verdana;}--></STYLE> <br> <br> <INPUT type="button" href="" onclick="window.location.reload();return false;" <br> title="Обновить" style="height: 20;;width:59;margin:0px" value="Обновить" class="postReset"> <br> <br> <br> <INPUT type="button" class="postPreview" onclick="window.open('/mchat/0-1','mchatCtrl','scrollbars=1,width=550,height=550,left=0,top=0'); <br> <br> return false;" style="height: 20;width:25;margin:0px" value="@"> <br> <br> <INPUT type="button" href="javascript:void('smiles')" onclick="ffoc(document.forms.addform.message,2);wasclk[2]=2;window.open('/index/35-0-2','csmiles','scrollbars=1,width=250,height=350,left=0,top=0'); <br> <br> return false;" onclick="ffoc(document.forms.addform.message,2);wasclk[2]=2;window.open('/index/35-0-2','csmiles','scrollbars=1,width=250,height=350,left=0,top=0'); <br> <br> return false;" title="Вставить смайл" style="height: <br> 20;;width:49;margin:0px" <br> value="Смайлы" class="smaile"><INPUT type="text" maxlength="60" <br> name="uname" <br> size="8" class="mchat" id="mchatNmF" value="" onfocus="ffoc(this,0)" onblur="fblur(this,0)" <br> title="Имя" style="display: none;height: 24px; color: #777777; <br> font-family: <br> Verdana; border: 1px solid #aaaaaa; background-color: #ffffcc; <br> background: url('http://coool.net.ru/images/1/main_top_gradient.png'); <br> background-repeat: repeat-x; background-position: left top;"><br> <br> <a href="http://pro100ucoz.ru/load/2" target="_blank" style="font-size:9px; <br> padding-left: 3px;visibility:hidden;">Скрипты для uCoz сайтов?</a><br> <br> <INPUT type="text" maxlength="500" name="message" size="22" class="mchat" <br> id="mchatMsgF" value="" onfocus="ffoc(this,2)" onblur="fblur(this,2)" <br> title="Пиши сюда" style="width: 93%; font-size: 7pt; padding: 5px; margin: 0px; <br> font-family: Tahoma; height: 24px; color: #777777; font-family: Verdana; border: <br> 1px solid #aaaaaa; background-color: #ffffcc; background: <br> url('http://coool.net.ru/images/1/main_top_gradient.png'); background-repeat: <br> repeat-x; background-position: left top;"><INPUT type="submit" style="height: <br> 23; width:68; margin:0px" value="Отправить" class="postSubmit" id="mchatBtn" onclick="return checkform(this.form);">
|