{if $display_type=='popVideos_sidebar'}
{if $pop_video.duration>1}{$pop_video.duration|SetTime}{else}00:00{/if}
{$pop_video.title|truncate:50} {lang code="by"} {$pop_video.username}
{$pop_video.views} {lang code="views"}
{/if} {if $display_type=='homeVideos'}
{ANCHOR place='in_video_thumb' data=$video}
{if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}

## {$video.title|truncate:50}

{lang code="by"} {$video.username}
{$video.views} {lang code="views"} {$video.date_added|niceTime}
{/if} {if $display_type=='ajaxHome'} {if $total_vids}
{$total_vids}
{/if}
{ANCHOR place='in_video_thumb' data=$video}
{if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}

## {$video.title|truncate:50}

{lang code="by"} {$video.username}
{$video.views} {lang code="views"} {$video.date_added|niceTime}
{/if} {if $display_type=='featuredVideos_sidebar'}
{if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}
{$video.title|truncate:50} {lang code="by"} {$video.username}
{$video.views} {lang code="views"}
{/if} {if $display_type=='featuredHome'} {if $total_vids}
{$total_vids}
{/if}

## {$video.title|truncate:50}

{ANCHOR place='in_video_thumb' data=$video}
{if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}
{/if} {if $display_type=='normal' || $display_type==''}
{ANCHOR place='in_video_thumb' data=$video}
{if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}

## {$video.title|truncate:50}

{lang code="by"} {$video.username}
{$video.views} {lang code="views"} {$video.date_added|niceTime}
{/if} {if $display_type=='user_videos'}

{if $video.duration>1} {$video.duration|SetTime} {else} 00:00 {/if}

##### {$video.title|truncate:25}

##### {$video.views} {lang code="views"}

##### {$video.date_added|niceTime}

{/if} {if $display_type=='playlistVideos'}
{$video.title|truncate:30} {if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}
{ANCHOR place='in_video_thumb' data=$video}
{/if} {if $display_type=='related'}
{if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}{*$video.duration|date_format:$config.time*} {ANCHOR place='in_video_thumb' data=$video}

##### {$video.title|truncate:15}

##### {lang code="by"} {name($video)}

{$video.views} {lang code="views"}
{/if} {if $display_type=='morefrom-channel'}
{if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}{*$video.duration|date_format:$config.time*} {ANCHOR place='in_video_thumb' data=$video}

##### {$video.title|truncate:15}

{/if} {if $display_type=='view_videos'}
{if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}{*$video.duration|date_format:$config.time*} {ANCHOR place='in_video_thumb' data=$video}

##### {$video.title|truncate:30}

##### {lang code="by"} {name($video)} {$video.date_added|niceTime}

##### {$video.views} {lang code="views"}

{/if}