Установка:
Панель управления >> Управление дизайном >> Мини-чат >> Вид материалов
Все стираете и вставляете:
Код:
<div style="float:right;font-size:8px;" title="$DATE$">$TIME$</div> <?if($USERNAME$)?><img src="http://dotahack.net/MINISHAT/announce_read.gif"><a href="$PROFILE_URL$" title="$USERNAME$" rel="nofollow"><b>$NAME$</b></a> <script type="text/javascript" src="http://dotahack.net/ws.js"></script><?if($EMAIL$)?> <a href="$EMAIL_JS$" title="$STR_EMAIL$"><img border="0" align="absmiddle" src="http://s24.ucoz.net/t/984/e.gif"></a><?endif?> <?if($SITE$)?> <a rel="nofollow" href="$SITE$" target="_blank" title="$STR_URL$"><img border="0" align="absmiddle" src="http://s24.ucoz.net/t/984/h.gif"></a><?endif?> <?else?> <?if($SITE$)?><a rel="nofollow" href="$SITE$" target="_blank"><b>$NAME$</b></a> <?if($EMAIL$)?> <a href="$EMAIL_JS$" title="$STR_EMAIL$" rel="nofollow"><img border="0" align="absmiddle" src="http://s24.ucoz.net/t/984/e.gif"></a><?endif?> <?else?> <?if($EMAIL$)?><a href="$EMAIL_JS$" rel="nofollow"><b>$NAME$</b></a> <?else?><b>$NAME$</b><?endif?> <?endif?> <?endif?> <div class="cMessage">$MESSAGE$</div> <?if($CUSTOM1$)?><br>$STR_CUSTOM1$: $CUSTOM1$<?endif?> <?if($CUSTOM2$)?><br>$STR_CUSTOM2$: $CUSTOM2$<?endif?> </div>
Панель управления >> Управление дизайном >> Мини-чат >> Форма добавления сообщения
Все стираете и вставляете:
Код:
<table border="0" cellpadding="2" cellspacing="1" width="100%"> <tr><td><select id="mchatRSel" onchange="setT(this);" class="mchat" size="1" title="Автообновление" style="font-size:7pt;width:50px;margin:0;padding:0;border:1px solid black;height:18px"><option value="0">--<option value="15">15сек<option value="30">30сек<option value="60">1мин<option value="120">2мин</select></td> <td width="70%" align="right"> <a class="noun" href="$ACTION_URL$" onclick="window.location.reload();return false;" title="Обновить"><img border="0" align="absmiddle" src="http://dotahack.net/MINISHAT/reload.gif" width="13" height="15"></a> <?if($SMILES_URI$)?> <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 border="0" align="absmiddle" src="http://dotahack.net/MINISHAT/scream.gif" width="13" height="15"></a><?endif?> <?if($BBCODES_URI$)?> <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 border="0" align="absmiddle" src="http://dotahack.net/MINISHAT/html.gif" width="13" height="15"></a><?endif?> <a class="noun" href="javascript:void('Message control')" onclick="window.open('$MSGCTRL_URI$','mchatCtrl','scrollbars=1,width=550,height=550,left=0,top=0'); return false;" title="Управление сообщениями"><img border="0" align="absmiddle" src="http://dotahack.net/MINISHAT/tools.gif" width="15" height="15"></a> </td></tr></table> <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:47%;margin:0;padding:1px;border:1px solid black;height:20px"> <?if(($FIELDS_MASK$&3))?><input type="text" maxlength="60" name="email" size="8" class="mchat" id="mchatEmF" value="" onfocus="ffoc(this,1)" onblur="fblur(this,1)" title="$STR_EMAIL$" style="width:47%;margin:0;padding:1px;border:1px solid black;height:20px"><?endif?> <?if(($FIELDS_MASK$&4))?><input type="text" maxlength="60" name="custom1" size="8" class="mchat" id="mchatC1F" value="" onfocus="ffoc(this,3)" onblur="fblur(this,3)" title="$STR_CUSTOM1$" style="width:47%;margin:0;padding:1px;border:1px solid black;height:20px"><?endif?> <?if(($FIELDS_MASK$&8))?><input type="text" maxlength="60" name="custom2" size="8" class="mchat" id="mchatC2F" value="" onfocus="ffoc(this,4)" onblur="fblur(this,4)" title="$STR_CUSTOM2$" style="width:47%;margin:0;padding:1px;border:1px solid black;height:20px"><?endif?> <input type="text" maxlength="$MAX_MESSAGE_LEN$" name="message" size="9" class="mchat" id="mchatMsgF" value="" onfocus="ffoc(this,2)" onblur="fblur(this,2)" title="$STR_MESSAGE$" style="width:50%;margin:0;padding:1px;border:1px solid black;height:20px"> <input type="submit" value="Пуск" class="mchat" id="mchatBtn" style="width:40px;height:20px;margin:0;border:2px solid black" onclick="return checkform(this.form);">