{strip} {assign var=c_tr_w value=''} {assign var=c_tr_h value=''} {assign var=visible_videos value=0} {assign var=widget_enabled value=0} {assign var=club_id value=$clubid} {if $clubid > 0} {assign var=feed_author value={$clubid}} {assign var=isclub value=true} {else} {assign var=isclub value=false} {assign var=feed_author value={$res.uid}} {/if} {if $res.community == 'yes' && !$isclub && $index_feed > 0} {$clubid = $res.parent_id} {/if}
{if $video_c == 1}
{else if $video_c <= 5 && $video_c > 1}
{else}
{/if} {foreach $m_videos as $vd_id} {assign var=kl_res value={$this->gMultiPhotosKlass($vd_id)}} {assign var=kl_count value={$this->smarty_explode_data($kl_res,',','0')}} {assign var=kl_eu value={$this->smarty_explode_data($kl_res,',','1')}} {if $clubid > 0}{assign var=video_details value=$this->getGroupVideoDetails($vd_id)} {/if} {if $video_c == 1} {assign $widget_enabled $widget_enabled++ nocache} {assign var=v_descr value=$this->getPhotoDescription($vd_id)}
{$this->str_smilies($v_descr)} {$this->checkForTranslating($v_descr)}
{if $clubid > 0}
{$video_details.vd_duration}
{$video_details.vd_name}
{$video_details.views} {$this->lang['video_views']}
{else} {/if}
{else} {assign var=comm_count value=$this->getCommentsCount($vd_id,'video',$clubid)}
{$video_details.vd_duration}
{$video_details.vd_name}
{if $video_c > 6 && $visible_videos == 5}
+{$video_c-6}
{/if} {$visible_videos = $visible_videos+1} {/if} {/foreach}
{if $widget_enabled}
{include file="{$smarty.const.__ROOT__}{$this->feed_templates}/widget-list.html"}
{/if}
{if $widget_enabled} {/if} {/strip}