Скрипт похожие материалы для ucoz.
Вставляем на странице материала и комментариев к нему перед переменной $COM_IS_ACTIVE$:
Код
<fieldset style="border-radius:5px;border:1px dashed #1b4257; font-size:13px;background-color:#cbdbe2;">
<legend style="background-color:#f2f6f7;">Похожие материалы</legend>
<div class="vvv"><?if($RELATED_ENTRIES$(6))?><?$RELATED_ENTRIES$(6)?></div><?else?>К сожалению, похожего ничего не нашлось!<?endif?>
</fieldset>
Далее идем в CSS и вставляем в самый низ:
Код
ul.uRelatedEntries {list-style: none; margin-top: 3px; margin-bottom: 0; margin-left: 0; padding: 0 0 0 0;}
.vvv li {list-style: none; margin-top: 0; padding: 0 0 3px 25px;background: url('http://urutor.ucoz.org/shablon_new/picture_file.png') no-repeat 0px 0px ; margin-bottom: .1em;}
.vvv :link {font-family: Verdana; text-decoration:none; color:#1d3d49;font-weight:bold;font-size:8pt;}
.vvv :visited {font-family: Verdana;text-decoration:none; color:#1d3d49;font-weight:bold;font-size:8pt;}
.vvv :active {font-family: Georgia;text-decoration:none; color:#1d3d49;font-weight:bold;font-size:10pt;}
.vvv :hover {font-family:Verdana;text-decoration:none; color:#397a93;font-weight:bold;font-size:8pt;}
li.uRelatedEntry a:link {font-family: Verdana; text-decoration:none; color:#1d3d49;font-weight:bold;font-size:8pt;}
li.uRelatedEntry a:visited {font-family: Verdana;text-decoration:none; color:#1d3d49;font-weight:bold;font-size:8pt;}
li.uRelatedEntry a:active {font-family: Georgia;text-decoration:none; color:#1d3d49;font-weight:bold;font-size:10pt;}
li.uRelatedEntry a:hover {font-family:Verdana;text-decoration:none; color:#397a93;font-weight:bold;font-size:8pt;}
Скрипт, похожие, материалы, для, ucoz
|