Это в Вид материалов
Code
<style type="text/css" media="all">
@import url(/highslide/highslide.css);
</style>
<script type="text/javascript" src="/highslide/highslide.js"></script>
<script type="text/javascript">
hs.graphicsDir = '/highslide/graphics/';
</script>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="eBlock"><tr><td style="padding:3px;">
<div class="eTitle" style="text-align:center;"><a href="$ENTRY_URL$">$TITLE$</a> <a title="Материал добавлен $DATE$ в $TIME$">$MODER_PANEL$</div>
<div class="eMessage" style="text-align:left;clear:both;padding-top:2px;padding-bottom:2px;">
<div id="cat_news_bg" style="float:right;background:url('/ripnews/bg.png');margin-right:-9px;"><a href="$CATEGORY_URL$">$CATEGORY_NAME$</a></div>
<div id="img_news_bg" style="float:left;border:1px solid #000;"><a href="$IMG_URL1$" class="highslide" onclick="return hs.expand(this, {captionId: 'caption1'})"><img alt="$TITLE$" src="$IMG_URL1$" align=" left" width="164" style="border: 1px solid #000;"></a></div>
$MESSAGE$</div>
<div class="eDetails" style="clear:both;">
<div style="float:right"><?if($RATING$)?><?$RSTARS$('12','/.s/img/stars/3/12.png','0','float')?><?endif?></div>
Категория: <a href="$CATEGORY_URL$">$CATEGORY_NAME$</a> |
Просмотров: $READS$ |
Добавил: <a href="$PROFILE_URL$">$USERNAME$</a> |
Дата: <span title="$TIME$">$DATE$</span>
<?if($COMMENTS_URL$)?>| <a href="$COMMENTS_URL$">Комментарии ($COMMENTS_NUM$)</a><?endif?>
</div></td></tr></table><br></div>
Это в CSS:
Code
.eBlock {background:#252525;border:1px solid #000;}
.eTitle {background:url('/ripnews/title.png');height:15px;margin:-3px;padding:9px;text-align:center;color:#fff;text-shadow:1px 1px 1px #000;text-family:Tahoma,Verdana,Arial;margin-bottom:5px;}
.eTitle1 {background:url('/ripnews/title.png');height:21px;margin:0px;padding:9px;text-align:center;color:#fff;text-shadow:1px 1px 1px #000;text-family:Tahoma,Verdana,Arial;margin-bottom:0px;border:1px solid #000;border-bottom:none;}
.eDetails {background:url('/ripnews/top.png');height:13px;margin:-3px;padding:9px;margin-top:5px;}
.eMessage {color:#fff;padding:5px;}
.eText {color:#fff;text-shadow:1px 1px 1px #000;text-family:Tahoma,Verdana,Arial;}
#img_news_bg { background:#404040; padding:5px; margin-right:10px; border:1px solid #000; float:right; margin-bottom:4px}
#img_news_bg1 { float:center; margin-bottom:4px}
#cat_news_bg { background:#232323; height:24px; line-height:23px; color:#fff; font-family:tahoma; font-size:8pt; font-weight:normal; text-decoration:none; text-shadow:1px 1px 1px #000; text-align:center; padding:0px 5px 0px 5px; margin:0px; border-top:1px solid #000; border-bottom:1px solid #000; border-left:1px solid #000; border-right:1px solid #000; margin-top:0px;}
#cat_news_bg a:link {text-decoration:none; color:#fff;}
#cat_news_bg a:visited {text-decoration:none; color:#fff;}
#cat_news_bg a:active {text-decoration:none; color:#fff;}
#cat_news_bg a:hover {text-decoration:none; color:#eda710;}