 <script type="text/javascript" src="/modules/mod_alfacontent/js/rating.js" ></script>


{foreach key=k item=artle from=$articles}
{if $artle}
<div style="width:100%; height: 120px;">

<table>
<tr>
<td style="padding-top:0; width:30px;">
<div >
{if $artle.rat}<a href="#" ><div class="rating" id="{$artle.id}" rat="pos" >
{/if}
<div style="width:30px; height:39px; text-align: center; line-height:39px; background:url(modules/mod_alfacontent/1-1.jpg) repeat-x; overflow:hidden;">

<b style="display:block; margin-top:-7px; color:#777777;
">
{$artle.pos}</b>
</div>{if $artle.rat}</a></div><a href="#" ><div class="rating" id="{$artle.id}" rat="neg" >{/if}
<div style="width:30px; height:39px; text-align: center; line-height:39px; background:url(modules/mod_alfacontent/2-2.jpg) repeat-y; overflow:hidden;
">


<b style="display:block; margin-top:-7px; color:#777777;
">{$artle.neg}</b>
</div>{if $artle.rat}</a></div>{/if}
</div>
</td>
<td>
<div style=" float:left;">
	<img src="{$artle.image}"  width="{$cfg.widtchi}px" height="{$cfg.heighti}px"/>
</div></td><td style="padding-top:0; width:100%;">
<div style="width:100%; float:left; margin-left:10px; margin-top:0;">

<c style="font-size: 11px;color: #198fcf;">{$artle.fpubdate} {$artle.author}</c><br>
<b style="font-size: 14px;color: #1e92d0;">{$artle.title}</b>
<b style="color:#000; font-size: 12px; margin-left:10px;">{$artle.description|truncate:$cfg.counttit:"..."}</b>
</div><br><div style="width:auto; float:right; margin-right:20px;">
<c style="font-size: 11px;color: #198fcf;">просмотров {$artle.hits} | комментариев {$artle.comments} </c>
<a style="font-size: 11px;color: #fff; background: #f00; padding: 2px 10px ;" href="{$artle.seolink}.html">подробнее...</a>

</div>
</td></tr></table>
</div>
{else}
нет материалов{/if}
{/foreach}