{if is_installed('editorspick')}
{if $editor_picks}
{include_template_file file="blocks/editor_pick/video_block.html" video=$editor_picks.0}
{foreach $editor_picks as $video} {include_template_file file='blocks/editor_pick/index_featured_video.html' video=$video first=$video@first} {/foreach}
{else}
There is no video in editor's pick, Please Add Videos In Editor's Pick
Videos Manager > Add to editor's pick
{/if}
{/if}
{$videos=get_videos(['limit'=>16])} {if $videos} {$heading='Latest Videos'} {$more_mode='recent'} {/if}
{if $videos}

{$heading}

{/if}

Being Watched

{$last_viewed=get_videos(['limit'=>'8','order'=>' last_viewed DESC'])} {if $last_viewed}
{foreach $last_viewed as $video}
{/foreach}
{/if}
{$featured_videos=get_videos(['limit'=>8,'featured'=>'yes'])} {if $featured_videos} {/if} {AD place='ad_468x60'} {$photos=get_photos(['limit'=>9])} {if $photos} {$heading='Latest Photos'} {$more_mode='recent'} {/if} {if $photos}

{lang code=$heading}

{foreach $photos as $photo} {include_template_file file="blocks/photo.html" photo=$photo display_method="index_photos" iteration=$photo@iteration last=$photo@last first=$photo@first} {/foreach}
{/if}