Вторник, 21.05.2024, 00:00 На сайте время по Москве

  • Страница 1 из 1
  • 1
Форум » Скрипты для uCoz » Другие скрипты для uCoz » Вид комментариев
Вид комментариев
MadFraggerДата: Среда, 21.04.2010, 15:37 | Сообщение # 1
.:Создатель:.
Группа: Администраторы
Сообщений: 116
Репутация: 0
Вот что у нас получится

Начнём
1. Заходим "Дизайн - Управление дизайном (шаблоны) - Коментраии -> Вид Коментариев" и вставляем туда это:

Code
<table width="100%" border="0" cellspacing="0" cellpadding="0">   
   <tr>   
   <td width="10" align="left" valign="top"><img src="/comments/16.gif" width="10" height="8" /></td>   
   <td align="left" valign="top" class="a_block_12"><img src="/comments/17.gif" width="1" height="8" /></td>   
   <td width="10" align="right" valign="top"><img src="/comments/18.gif" width="10" height="8" /></td>   
   </tr>   
   <tr>   
   <td width="10" align="left" valign="top"><img src="/comments/19.gif" width="10" height="23" /></td>   
   <td align="left" valign="top" class="a_block_22"><table width="100%" border="0" cellspacing="0" cellpadding="0">   
   <tr>   
   <td width="17" align="left" valign="top"><img src="/comments/20.gif" width="17" height="23" /></td>   
   <td align="left" class="ctitle">#$NUMBER$: <?if($USERNAME$)?><a href="$PROFILE_URL$">$USERNAME$</a><?else?>$NAME$<?endif?> <div style="float:right;font-size:11px;font-family:Arial,sans-serif;"><?if($COMMENT_RATING$<0)?><span class="myWinError"><b>$COMMENT_RATING$</b></span><?else?><?if($COMMENT_RATING$=0)?><span style="color:gray;"><b>$COMMENT_RATING$</b></span><?else?><span class="myWinSuccess"><b>+$COMMENT_RATING$</b></span><?endif?><?endif?>  <?if($GOOD_COMMENT_URL$)?><a href="$GOOD_COMMENT_URL$"><img alt="" src="http://s102.ucoz.net/img/icon/thumbu.png" width="13" align="absmiddle" border="0" title="Хороший пост"></a> <a href="$BAD_COMMENT_URL$"><img alt="" src="http://s102.ucoz.net/img/icon/thumbd.png" width="13" border="0" align="absmiddle" title="Плохой пост"></a><?else?><img alt="" src="http://s102.ucoz.net/img/icon/thumbu_.png" align="absmiddle" width="13" border="0" title="Хороший пост"> <img alt="" src="http://s102.ucoz.net/img/icon/thumbd_.png" width="13" align="absmiddle" border="0" title="Плохой пост"><?endif?> <?if($MODER_PANEL$)?>$MODER_PANEL$<?endif?></td>   
   <td width="17" align="right" valign="top"><img src="/comments/21.gif" width="17" height="23" /></td>   
   </tr>   
   </table></td>   
   <td width="10" align="right" valign="top"><img src="/comments/22.gif" width="10" height="23" /></td>   
   </tr>   
   <tr>   
   <td width="10" align="left" valign="top"><img src="/comments/23.gif" width="10" height="9" /></td>   
   <td align="left" valign="top" class="a_block_32"><img src="/comments/24.gif" width="1" height="9" /></td>   
   <td width="10" align="right" valign="top"><img src="/comments/25.gif" width="10" height="9" /></td>   
   </tr>   
   <tr>   
   <td width="10" align="left" valign="top"><img src="/comments/26.gif" width="10" height="20" /></td>   
   <td align="left" valign="top" class="a_block_42"><table width="100%" border="0" cellspacing="0" cellpadding="0">   
   <tr>   
   <td height="20" align="left" class="slink">$DATE$ ($TIME$)</td>   
   </tr>   
   </table></td>   
   <td width="10" align="right" valign="top"><img src="/comments/27.gif" width="10" height="20" /></td>   
   </tr>   
   <tr>   
   <td width="10" align="left" valign="top"><img src="/comments/28.gif" width="10" height="8" /></td>   
   <td align="left" valign="top" class="a_block_52"><img src="/comments/29.gif" width="1" height="8" /></td>   
   <td width="10" align="right" valign="top"><img src="/comments/30.gif" width="10" height="8" /></td>   
   </tr>   
   <tr>   
   <td width="10" align="left" valign="top" class="a_block_61"> </td>   
   <td align="left" valign="top">   
     
   <table width="100%" border="0" cellspacing="0" cellpadding="0">   
   <tr>   
   <td width="125" valign="top" style="background:#ffffff"><?if($USER_AVATAR_URL$)?><img class="userAvatar" title="$USERNAME$" src="$USER_AVATAR_URL$" border="0" width="120"><?else?><?if($USER_LOGGED_IN$)?><img class="userAvatar" title="$USERNAME$" src="/no_avatar.gif" border="0" width="120"><?else?><img class="userAvatar" title="$USERNAME$" src="/no_avatar.gif" border="0" width="120"><?endif?><?endif?> </td>   
   <td class="news" valign="top" style="background:#ffffff">$MESSAGE$<?if($ANSWER$)?><p><br><hr width="60%" align="left"><div class="cAnswer" style="text-align:left;clear:both;"><b>Ответ</b>: $ANSWER$</div><?endif?></td>   
   </tr>   
   </table>   
     
   </td>   
   <td width="10" align="right" valign="top" class="a_block_63"> </td>   
   </tr>   
   <tr>   
   <td width="10" align="left" valign="top"><img src="/comments/31.gif" width="10" height="7" /></td>   
   <td align="left" valign="top" class="a_block_72"><img src="/comments/32.gif" width="1" height="7" /></td>   
   <td width="10" align="right" valign="top"><img src="/comments/33.gif" width="10" height="7" /></td>   
   </tr>   
   <tr>   
   <td width="10" height="26" align="left" valign="top" class="a_block_61"> </td>   
   <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">   
   <tr>   
   <td height="26" align="left" class="stext" style="background:#ffffff"></td>  
   <td align="right" class="stext" style="background:#ffffff"><?if($ANSWER_URL$)?><a href="$ANSWER_URL$"><img src="/comments/34.gif" width="13" height="9" border="0" />ответить</a><?endif?> <?if($ENTRY_URL$)?><a href="$ENTRY_URL$" target="_blank" title="Перейти на страницу материала"><img src="/comments/34.gif" width="13" height="9" border="0" />Материал</a><?endif?>    </td>   
   </tr>   
   </table></td>   
   <td width="10" height="26" align="right" valign="top" class="a_block_63"> </td>   
   </tr>   
   <tr>   
   <td width="10" align="left" valign="top"><img src="/comments/35.gif" width="10" /></td>   
   <td align="left" valign="top" class="a_block_82"> </td>   
   <td width="10" align="right" valign="top"><img src="/comments/36.gif" width="10" /></td>   
   </tr>   
   </table>

2. В табицу кодов CSS вставляем это:

Code
.block_02 {  
   background-image: url(/comments/1.gif);  
   background-repeat: repeat-y;  
}  
.a_block_12 {  
   background-image: url(/comments/2.gif);  
   background-repeat: repeat-x;  
}  
.a_block_22 {  
   background-image: url(/comments/3.gif);  
   background-repeat: repeat-x;  
}  
.a_block_32 {  
   background-image: url(/comments/4.gif);  
   background-repeat: repeat-x;  
}  
.a_block_42 {  
   background-image: url(/comments/5.gif);  
   background-repeat: repeat-x;  
}  
.a_block_52 {  
   background-image: url(/comments/6.gif);  
   background-repeat: repeat-x;  
}  
.a_block_61 {  
   background-image: url(/comments/7.gif);  
   background-repeat: repeat-y;  
}  
.a_block_63 {  
   background-image: url(/comments/8.gif);  
   background-repeat: repeat-y;  
}  
.a_block_72 {  
   background-image: url(/comments/9.gif);  
   background-repeat: repeat-x;  
}  
.a_block_82 {  
   background-image: url(/comments/10.gif);  
   background-repeat: repeat-x;  
}  
.adblock_12 {  
   background-image: url(/comments/11.gif);  
   background-repeat: repeat-x;  
}  
.adblock_21 {  
   background-image: url(/comments/12.gif);  
   background-repeat: repeat-y;  
}  
.adblock_23 {  
   background-image: url(/comments/13.gif);  
   background-repeat: repeat-y;  
}  
.adblock_32 {  
   background-image: url(/comments/14.gif);  
   background-repeat: repeat-x;  
}  
.footer_b {  
   background-image: url(/comments/15.gif);  
   background-repeat: repeat-x;  
   height: 71px;  
}  

/* ==================== */  

.slink {  
   color: #757575;  
   font-size: 11px;  /* ! */  
   font-family: tahoma;    /* ! */  
   text-decoration: none;  
}  
.slink a:active, .slink a:visited, .slink a:link {  
   color: #E34000;  
   text-decoration: none;  
}  
.slink a:hover {  
   color: #E34000;  
   text-decoration: underline;  
}  

/* ==================== */

Dowload



 
Форум » Скрипты для uCoz » Другие скрипты для uCoz » Вид комментариев
  • Страница 1 из 1
  • 1
Поиск:


Cs-Frags ©Все права защищены!Конструктор сайтов - uCoz Сайт оптимизирован под браузер FireFox Mozila. Sitemap | Sitemap-forum.