2014-09-19 15:29:36 +00:00
{if $display_type=='normal' || $display_type==''}
2014-05-08 14:12:46 +00:00
< div class = "item_video" >
< div class = "cb_item_container clearfix" >
2014-12-29 06:28:53 +00:00
< div class = "cb_item_thumb video_thumb relative" >
2014-05-08 14:12:46 +00:00
< a href = "{videoLink($video)}" title = "{$video.title|title}" >
< span class = "video_duration" > {if
2014-09-24 07:42:35 +00:00
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if}{*$video.duration|date_format:$config.time*}
< / span >
2014-12-18 14:11:02 +00:00
< img class = "" src = "{getThumb vdetails=$video size=160x90 } " border = "1" / >
2014-05-08 14:12:46 +00:00
< / a >
2014-12-29 06:28:53 +00:00
< img src = "{$imageurl}/dot.gif" class = "add_icon cb_quickie" onclick = "add_quicklist(this,'{$video.videoid}')" title = "Add {$video.title} to Quicklist" alt = "Quicklist" / >
2014-05-09 11:39:13 +00:00
< / div >
2014-12-08 11:52:09 +00:00
< h5 >
2014-09-19 09:58:54 +00:00
< a href = "{videoLink($video)}" > {$video.title|truncate:30}< / a >
2014-12-08 11:52:09 +00:00
< / h5 >
< div class = "clearfix views-time" >
< span class = "font1" > < span class = "bg-eye" > < / span > {$video.views} views< / span >
< span class = "font2" > < span class = "bg-time" > < / span > {$video.date_added|niceTime}< / span >
< / div >
2014-05-08 14:12:46 +00:00
< / div >
2014-09-19 13:26:52 +00:00
< / div >
{/if}
2014-09-19 15:29:36 +00:00
{if $display_type=='user_videos'}
2014-09-19 13:26:52 +00:00
< div class = "col-md-3 col-sm-4 col-xs-6" >
< a href = "{videoLink($video)}" title = "{$video.title|title}" >
2014-11-28 05:46:12 +00:00
< img alt = "{$video.title|title}" src = "{getThumb vdetails=$video size='171x120'}" id = "thumbs_{$video.videoid}" title = "{$video.title|title}" / >
2014-09-19 13:26:52 +00:00
< / a >
< p class = "cbHomeVidDuration duration_view" >
{if $video.duration>1}
{$video.duration|SetTime}
{else}
00:00
{/if}
< / p >
2014-11-28 05:46:12 +00:00
< a href = "{videoLink($video)}" title = "{$video.title|title}" > < h5 >
< b > {$video.title|truncate:25}< / b > < / h5 > < / a >
2014-09-19 13:26:52 +00:00
< span class = "pull-left" > < h5 > < small > {$video.views} views< / small > < / h5 > < / span >
< span class = "pull-right" > < h5 > < small > {$video.date_added|niceTime}< / small > < / h5 > < / span >
< / div >
{/if}