
modified : extra code removed modified : duration class changed, in_video_thumb anchor placed and extra code removed modified : buy_premium anchor placed and extra code removed modified : classes added
68 lines
2.9 KiB
HTML
68 lines
2.9 KiB
HTML
{if $cur_class==''}
|
|
{assign var=cur_class value=$smarty.cookies.current_style}
|
|
{/if}
|
|
|
|
{if $display_type =='normal' || $display_type==''}
|
|
<!-- Video Box -->
|
|
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 mbm">
|
|
<a class="thumb-holder display-block relative" href="{videoLink($video)}" title="{$video.title|title}">
|
|
<img class="cb_img_thum" src="{getThumb vdetails=$video size='160x90'}" id="thumbs_{$video.videoid}" title=""/>
|
|
<!-- style="position: absolute;right: 15px;margin-right: -39px;" -->
|
|
<span class="duration">{if
|
|
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if}
|
|
</span>
|
|
<!-- <div class="vid-type"><span class="glyphicon glyphicon-star white-premium-icon"></span>Premium</div> -->
|
|
|
|
</a>
|
|
<h5><a href="{videoLink($video)}" title="{$video.title|title}"><b>{$video.title|truncate:16}</b></a></h5>
|
|
|
|
<div class="clearfix views-time">
|
|
<span class="font1"><span class="bg-eye"></span> {lang code='views'} :{$video.views}</span>
|
|
<span class="font2"><span class="bg-time"></span> {$video.date_added|niceTime}</span>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{if $only_once}
|
|
<div class="clearfix"></div>
|
|
{/if}
|
|
<!-- Video Box -->
|
|
{/if}
|
|
|
|
|
|
{if $display_type == "channel_page"}
|
|
<li class="itemBox" onclick="loadObject(this,'videos','{$video.videoid}','viewingArea')">
|
|
<div align="center"><img src="{getThumb vdetails=$video size='big'}" alt="{$video.title}" width="110" height="64" /></div>
|
|
</li> <!-- itemBox {$video.videokey} end -->
|
|
{/if}
|
|
|
|
|
|
{if $display_type=='add_type'}
|
|
<div class="col-md-3">
|
|
<a class="thumb-holder" href="{videoLink($video)}" title="{$video.title|title}">
|
|
<img src="{getThumb vdetails=$video size='big'}" width="203" height="115" id="thumbs_{$video.videoid}" title=""/>
|
|
<span class="duration1" style="">
|
|
{if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}</span>
|
|
</a>
|
|
<h5><a href="{videoLink($video)}" title="{$video.title|title}"><b>{$video.title|truncate:22}</b></a></h5>
|
|
<span class="font1 new1"><b>{lang code='views'} :{$video.views}</b></span>
|
|
<span class="font2 new1"><b>{$video.date_added|niceTime}</b></span>
|
|
{if $check_type=='array'}
|
|
<input type="checkbox" class="form-control" name="check_video[]" style="position:absolute; bottom:0px; left:0px" {if $check_this} checked="checked"{/if} value="{$video.videoid}" />
|
|
{else}
|
|
<div class="col-md-1">
|
|
<input type="checkbox" class="form-control" name="check_video_{$video.videoid}" id="check_video_{$video.videoid}" style="position:absolute; bottom:0px; left:135px; margin-left: 33px;width: 16px;" {if $check_this} checked="checked"{/if} value="yes" />
|
|
</div>
|
|
{/if}
|
|
<hr>
|
|
</div>
|
|
|
|
|
|
|
|
{if $only_once}
|
|
<div class="clearfix"></div>
|
|
{/if}
|
|
|
|
{/if}
|