{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}
{AD place='ad_300x250'}
{/if}
{$videos=get_videos(['limit'=>15])}
{if $videos}
{$heading='Latest Videos'}
{$more_mode='recent'}
{/if}
{$featured_videos=get_videos(['limit'=>8,'featured'=>'yes'])}
{if $featured_videos}
{lang code='Featured Videos'} More Videos
{foreach $featured_videos as $ftvideo}
{if $ftvideo@first || $open_tag=='true'}
{$open_tag=''}
{/if}
{/foreach}
‹
›
{/if}
{$photos=get_photos(['limit'=>9])}
{if $photos}
{$heading='Latest Photos'}
{$more_mode='recent'}
{/if}
{if $photos}
{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}