<?if($PAGE_ID$='main')?>
<a class="item-serial wr-fx-row wr-fx-between wr-fx-middle" href="$ENTRY_URL$" data-date="$DATE$">
<div class="item-title">
$TITLE$
<?if($OTHER7$)?><span>($OTHER7$)</span><?endif?>
</div>
<?if($OTHER8$)?><div class="is-serie"><?if(len($OTHER8$)>12)?><?substr($OTHER8$,0,9)?><?else?>$OTHER8$<?endif?></div><?endif?>
</a>
<?else?>
<article class="item-expanded">

<div class="full-rating" style="margin-top: 0px !important;">
<div class="full-rating3 clearfix">
<a href="javascript://" onclick="rateForm(1,$ID$,1,<?if($CID$)?>$CID$<?else?>nullRate<?endif?>); setTimeout(reitingwebo4karu$ID$, 2000); return false;"><i class="fa fa-plus"></i></a>
<a href="javascript://" onclick="rateForm(-1,$ID$,1,<?if($CID$)?>$CID$<?else?>nullRate<?endif?>); setTimeout(reitingwebo4karu$ID$, 2000); return false;"><i class="fa fa-minus"></i></a>
<span class="ratingtypeplusminus <?if(($RATING$*$RATED$-2*$RATED$)<0)?>ratingminus<?else?><?if(($RATING$*$RATED$-2*$RATED$)>0)?>ratingplus<?else?>ratingzero<?endif?><?endif?>"><script type="text/javascript">document.write(Math.round(<?($RATING$*$RATED$)?>)-<?2*$RATED$?>)</script></span>
<!-- Вёрстка кнопки рейтинга материала by webo4ka.ru -->
<script type="text/javascript">
//Автор: B@rmaley.e><e 
//http://helper.ucoz.ru/ 
rateForm=function(c,d,f,g,q){if(typeof c=='undefined'||typeof d=='undefined'||(c!=1&&c!=-1))return;c+=2;var h,m=['publ','load','dir','board','blog','news','photo'],i;if(!f&&f!=0){h=location.href.match(new RegExp(location.host+'/(\w+)/?','i'));if(!h)return;f=m.indexOf(h[1])}switch(f){case 0:case 1:case 2:case 3:h='/'+m[f]+'/0-1-'+c+'-'+d+'-3';break;case 4:h='/blog/0-0-'+c+'-'+d+'-14-1';break;case 5:h='/news/0-0-'+c+'-'+d+'-15-1';break;case 6:h='/photo/'+g+'-1-'+d+'-13-'+c;break}if(!h)return;i=$('#rate_'+d);if(typeof q!='function'){}else q(i);$.get(h,function(a){a=$('cmd:first',a).text();var b=a.match(/рейтинг:\s*([0-9.]+)\/(\d+)/i);if(!b){try{(new Function('',a))()}catch(e){};return}b=Math.round(b[1]*b[2])-2*b[2];i.html(b).addClass(b>0?'positiveRate':(b==0?'nullRate':'negativeRate'));_uWnd.alert('Оценка засчитана!')})} 
</script>
<link rel="stylesheet" href="/style/font-awesome.css" />
</div>
</div>

<a class="itex-title" href="$ENTRY_URL$">$TITLE$</a>
<div class="itex-cols wr-fx-row wr-fx-between wr-fx-wrap">
<a class="itex-img img-box with-mask" href="$ENTRY_URL$">
<img src="<?if($SCREEN_URL$)?>$SCREEN_URL$<?else?>$IMG_URL1$<?endif?>" alt="$TITLE$" />
<?if($DATE$='Сегодня')?><<div class="item-meta meta-new">Новинка</div><?endif?>
<?if($OTHER8$)?><div class="item-meta meta-serie">$OTHER8$</div><?endif?>
<div class="mask wr-fx-col wr-fx-middle wr-fx-center"></div>
</a>

<div class="itex-text incat">
<div class="itex-list">
<?if($MODER_PANEL$)?><div style="float: right; border-bottom: none !important;">$MODER_PANEL$</div><?endif?>
<?if($OTHER1$)?><div><span>Год:</span> $OTHER1$ </div><?endif?>
<?if($CATEGORY_NAME$)?><div><span>Жанр:</span> <?if($SECTION_NAME$)?><a href="$SECTION_URL$">$SECTION_NAME$</a> » <?endif?> <?if($CATEGORY_NAME$)?><a href="$CATEGORY_URL$">$CATEGORY_NAME$</a><?endif?></div><?endif?>
<?if($OTHER2$)?><div><span>Страна:</span> $OTHER2$</div><?endif?>
<?if($OTHER4$)?><div><span>В ролях:</span> $OTHER4$</div><?endif?>
</div>

<div class="itex-desc"><?if(len($MESSAGE$)>200)?><?substr($MESSAGE$,0,197)?>...<?else?>$MESSAGE$<?endif?></div>
<a class="btn-more" href="$ENTRY_URL$">Смотреть</a>
</div>
</div>
</article><br>
<?endif?>