Установка:
В вид материалов Вот этот код
<script type="text/javascript" src="/js/mchat.js"></script> <style type="text/css"> .name {border-top:1px solid #000000;border-left:1px solid #000000;border-bottom:1px solid #000000;} .osnovnoemc {background:url(/gs/menuo.png);border-top:1px solid #000000;border-left:1px solid #000000;border-bottom:1px solid #000000;} .time {border-left:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;border-bottom:1px solid #000000;} .message {background:url('/gs/body2.png');border-left:1px solid #000000;border-right:1px solid #000000;border-bottom:1px solid #000000;} span.gbct-nav img {border: 0; height: 13px; opacity: 0.5; filter:Alpha(Opacity='50');} span.gbct-nav img:hover {cursor: pointer; opacity: 1; filter:Alpha(Opacity='100');} span.gbct-nav1 img {border: 0; height: 12px; opacity: 0.5; filter:Alpha(Opacity='50');} span.gbct-nav1 img:hover {cursor: pointer; opacity: 1; filter:Alpha(Opacity='100');} </style> <table class="none" cellpaddin="0" cellspacing="0" style="width:100%;margin-bottom: 3px"> <tr class="osnovnoemc" width="100%"> <td class="name" style="margin:3px;"><img src="http://s105.ucoz.net/img/icon/profile.png" align="absmiddle" width="13" border="0"><span style='cursor: pointer;' onclick='show_bar(event, $USER_ID$)'><b>$NAME$</b></td> <td class="time" style="margin:3px;width:20%;"><span style="float:right;font-size:8px"><font color="#ff0000"><font size="1.5" face="Visitor_Rus"> <span class="gbct-nav1"><a title="$NAME$" onclick="window.open('/index/14-$USER_ID$-0-1','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350');return false;" href="javascript://"><img src="/gs/mail.gif" align="absmiddle" border="0"></a></span><span class="gbct-nav"><a href="$PROFILE_URL$"><img src="/gs/user_gray.png" align="absmiddle" border="0"></a></span></font></font></span></td> </tr> <tr> <td class="message" colspan="2" margin="3px"><div align="center" style="display:none" id="hide1"></div> <table id="win_$USER_ID$" onclick='hide_bar($USER_ID$)' style='background: #303030; position:absolute; visibility:hidden; filter:alpha(opacity=85); opacity: 0.85; width: 110px; border: 1px solid #000000;'> <tbody> <tr><td onmouseover="this.bgColor='272727';" onmouseout="this.bgColor='#303030';" style="padding: 5px; border: 1px solid #000000;"><a href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[i]$NAME$[/i], ';return false;"><font size="1.5" face="Visitor_Rus"><font color="ff0000">Ответить</font></font></a></td></tr> <tr><td onmouseover="this.bgColor='272727';" onmouseout="this.bgColor='#303030';" style="padding: 5px; border: 1px solid #000000;"><a href="/index/14-$USER_ID$-0-1" target="self" ><font color="ff0000"><font size="1.5" face="Visitor_Rus">Отправить ЛС</fon></font></a></td></tr> <tr><td onmouseover="this.bgColor='272727';" onmouseout="this.bgColor='#303030';" style="padding: 5px; border: 1px solid #000000;"><a href="$PROFILE_URL$"><font size="1.5" face="Visitor_Rus"><font color="ff0000">Профиль</font></font></a></td></tr> <tr><td style="text-align: left;"><img onclick="hide_bar($USER_ID$)" src="/gs/clos.png" alt="Закрыть" border="0"></td></tr> </tbody></table> <div class="cMessage" style="text-align:left;margin:2px"><font size="1.5" face="Visitor_Rus">$MESSAGE$</font></div></td> </tr> </table>
В Форум Добавление Сообщений
<p></p> <?if(!$USER_LOGGED_IN$)?><div align="center"><a href="$LOGIN_LINK$">Для добавления необходима авторизация</a></div><?else?> <?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%"> <tr><td>$FLD_AUTOUPD$</td> <td width="70%" align="right"> <a href="$RELOAD_URI$" title="Обновить"><img border="0" align="absmiddle" src="http://s12.ucoz.net/img/icon/tf.png" width="16" height="16"></a> <?if($SMILES_URI$)?> <a href="$SMILES_URI$" title="Вставить смайл"><img border="0" align="absmiddle" src="http://s12.ucoz.net/.s/img/icon/sf.png" width="16" height="16"></a><?endif?> <?if($BBCODES_URI$)?> <a href="$BBCODES_URI$" title="BB-Коды"><img border="0" align="absmiddle" src="http://i028.radikal.ru/0908/a3/b8adc987f389.png" width="16" height="16"></a><?endif?> <?if($MSGCTRL_URI$)?> <a href="$MSGCTRL_URI$" title="Управление сообщениями"><img border="0" align="absmiddle" src="http://s12.ucoz.net/img/icon/cmt.png" width="16" height="16"></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 class="mchat" style="font-size:10px;">$LENGTH_COUNTER$</div></td> </tr> <td align="center" valign="bottom">$SUBMIT$</td></tr></table> <?endif?><?endif?>