154 lines
6.8 KiB
HTML
154 lines
6.8 KiB
HTML
{if $display_type=='normal' || $display_type==''}
|
|
<div class="clearfix popular-video">
|
|
<div class="col-lg-3 col-md-3 col-sm-4 col-xs-6 thumb-holder">
|
|
<a class="video_link" href="{videoLink($video)}" title="{$video.title|title}">
|
|
<img class="img-responsive" src="{getThumb vdetails=$video size=300x169 }">
|
|
<span class="duration">{if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}{*$video.duration|date_format:$config.time*}</span>
|
|
</a>
|
|
{ANCHOR place='in_video_thumb' data=$video}
|
|
<img src="{$imageurl}/dot.gif" data-quick="quick-{$video.videoid}" class="add_icon cb_quickie cb-btn-quick-{$video.videoid}" onclick="add_quicklist(this,'{$video.videoid}')" title="Add {$video.title} to Quicklist" alt="Quicklist">
|
|
</div>
|
|
|
|
{$show_dropdown ='yes'}
|
|
{if $dis_type == 'no-dropdown' || $related == 'yes'}
|
|
{$show_dropdown ='no'}
|
|
{/if}
|
|
<div class="col-lg-9 col-md-9 col-sm-8 col-xs-6 vid-info">
|
|
<strong class="title"><a href="{videoLink($video)}">{$video.title|truncate:30}</a></strong>
|
|
{$user = $video.username}
|
|
<span class="author">by <a href="{$userquery->profile_link($user)}">{$video.username}</a> {$video.date_added|niceTime}</span>
|
|
<div class="clearfix">
|
|
<span class="icon-eye"><i class="icon-eye"></i> {$video.views} views</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
|
|
{if $display_type=='user_videos'}
|
|
<div class="col-md-3 col-sm-4 col-xs-6">
|
|
<a href="{videoLink($video)}" title="{$video.title|title}">
|
|
<img alt="{$video.title|title}" src="{getThumb vdetails=$video size='171x120'}" id="thumbs_{$video.videoid}" title="{$video.title|title}"/>
|
|
</a>
|
|
<p class="cbHomeVidDuration duration_view">
|
|
{if $video.duration>1}
|
|
{$video.duration|SetTime}
|
|
{else}
|
|
00:00
|
|
{/if}
|
|
</p>
|
|
<a href="{videoLink($video)}" title="{$video.title|title}"><h5>
|
|
<b> {$video.title|truncate:30}</b></h5></a>
|
|
<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}
|
|
|
|
{if $display_type=='trending'}
|
|
<div class="item_video row clearfix">
|
|
<div class="col-xs-6">
|
|
<div class="cb_item_thumb video_thumb">
|
|
<a class="video-link" href="{videoLink($video)}" title="{$video.title|title}">
|
|
<span class="duration">{if
|
|
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if}{*$video.duration|date_format:$config.time*}
|
|
</span>
|
|
<i class="icon-playweb play-icon"></i>
|
|
<img class="img-responsive" src="{getThumb vdetails=$video size=300x169 } " border="1" />
|
|
</a>
|
|
{ANCHOR place='in_video_thumb' data=$video}
|
|
|
|
<img src="{$imageurl}/dot.gif" data-quick="quick-{$video.videoid}"
|
|
class="add_icon cb_quickie cb-btn-quick-{$video.videoid}" onclick="add_quicklist(this,'{$video.videoid}')" title="Add {$video.title} to Quicklist" alt="Quicklist" />
|
|
</div>
|
|
</div>
|
|
<div class="col-xs-6">
|
|
<h5 class="dropdown hide_btn">
|
|
<a data-hover="dropdown" data-toggle="dropdown" class="dropdown-toggle" data-delay="1000" data-close-others="false" onClick="location.href='{videoLink($video)}'" href="{videoLink($video)}">{$video.title|truncate:15} </a>
|
|
</h5>
|
|
{$user = $video.username}
|
|
<h5>by <a href="{$userquery->profile_link($user)}">{$video.username}</a></h5>
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
|
|
{if $display_type=='related'}
|
|
<div class="item_video row clearfix">
|
|
<div class="col-xs-6">
|
|
<div class="cb_item_thumb video_thumb">
|
|
<a class="video-link" href="{videoLink($video)}" title="{$video.title|title}">
|
|
<span class="duration">{if
|
|
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if}{*$video.duration|date_format:$config.time*}
|
|
</span>
|
|
<i class="icon-playweb play-icon"></i>
|
|
<img class="img-responsive" src="{getThumb vdetails=$video size=300x169 } " border="1" />
|
|
</a>
|
|
{ANCHOR place='in_video_thumb' data=$video}
|
|
|
|
<img src="{$imageurl}/dot.gif" data-quick="quick-{$video.videoid}"
|
|
class="add_icon cb_quickie cb-btn-quick-{$video.videoid}" onclick="add_quicklist(this,'{$video.videoid}')" title="Add {$video.title} to Quicklist" alt="Quicklist" />
|
|
</div>
|
|
</div>
|
|
<div class="col-xs-6">
|
|
<h5 class="dropdown hide_btn">
|
|
<a data-hover="dropdown" data-toggle="dropdown" class="dropdown-toggle" data-delay="1000" data-close-others="false" onClick="location.href='{videoLink($video)}'" href="{videoLink($video)}">{$video.title|truncate:15} </a>
|
|
|
|
</h5>
|
|
{$user = $video.username}
|
|
<h5>by <a href="{$userquery->profile_link($user)}">{$video.username}</a></h5>
|
|
<div class="clearfix views-time">
|
|
<span><i class="icon-eye"></i> {$video.views} views</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
|
|
{if $display_type=='morefrom-channel'}
|
|
<div class="item_video clearfix">
|
|
<div class="clearfix vid_thumb">
|
|
<div class="cb_item_thumb video_thumb">
|
|
<a class="video-link" href="{videoLink($video)}" title="{$video.title|title}">
|
|
<span class="duration">{if
|
|
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if}{*$video.duration|date_format:$config.time*}
|
|
</span>
|
|
<i class="icon-playweb play-icon"></i>
|
|
<img class="img-responsive" src="{getThumb vdetails=$video size=300x169 } " border="1" />
|
|
</a>
|
|
{ANCHOR place='in_video_thumb' data=$video}
|
|
|
|
<img src="{$imageurl}/dot.gif" data-quick="quick-{$video.videoid}"
|
|
class="add_icon cb_quickie cb-btn-quick-{$video.videoid}" onclick="add_quicklist(this,'{$video.videoid}')" title="Add {$video.title} to Quicklist" alt="Quicklist" />
|
|
</div>
|
|
</div>
|
|
<div class="clearfix">
|
|
<h5 class="dropdown hide_btn">
|
|
<a data-hover="dropdown" data-toggle="dropdown" class="dropdown-toggle" data-delay="1000" data-close-others="false" onClick="location.href='{videoLink($video)}'" href="{videoLink($video)}">{$video.title|truncate:15} </a>
|
|
</h5>
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
|
|
{if $display_type=='user-videos'}
|
|
<div class="item_video clearfix">
|
|
<div class="clearfix vid_thumb">
|
|
<div class="cb_item_thumb video_thumb">
|
|
<a class="video-link" href="{videoLink($video)}" title="{$video.title|title}">
|
|
<span class="duration">{if
|
|
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if}{*$video.duration|date_format:$config.time*}
|
|
</span>
|
|
<i class="icon-playweb play-icon"></i>
|
|
<img class="img-responsive" src="{getThumb vdetails=$video size=300x169 } " border="1" />
|
|
</a>
|
|
{ANCHOR place='in_video_thumb' data=$video}
|
|
|
|
<img src="{$imageurl}/dot.gif" data-quick="quick-{$video.videoid}"
|
|
class="add_icon cb_quickie cb-btn-quick-{$video.videoid}" onclick="add_quicklist(this,'{$video.videoid}')" title="Add {$video.title} to Quicklist" alt="Quicklist" />
|
|
</div>
|
|
</div>
|
|
<div class="clearfix">
|
|
<h5>
|
|
<a href="{videoLink($video)}">{$video.title|truncate:30}</a>
|
|
</h5>
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
|
|
|