clipbucket/upload/styles/cb_27/layout/blocks/video.html

67 lines
2.7 KiB
HTML
Raw Normal View History

2014-02-07 13:26:05 +00:00
{if $cur_class==''}
{assign var=cur_class value=$smarty.cookies.current_style}
{/if}
{if $display_type =='normal' || $display_type==''}
<!-- Video Box -->
2014-09-24 11:43:17 +00:00
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 mbm">
2014-09-24 10:39:04 +00:00
<a class="thumb-holder display-block relative" href="{videoLink($video)}" title="{$video.title|title}">
2014-12-18 14:11:02 +00:00
<img class="cb_img_thum" src="{getThumb vdetails=$video size='160x90'}" id="thumbs_{$video.videoid}" title=""/>
<!-- style="position: absolute;right: 15px;margin-right: -39px;" -->
2014-09-24 07:42:35 +00:00
<span class="duration">{if
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if}
</span>
</a>
2014-04-17 12:25:12 +00:00
<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>&nbsp;{lang code='views'} :{$video.views}</span>
<span class="font2"><span class="bg-time"></span>&nbsp;{$video.date_added|niceTime}</span>
</div>
2014-09-24 10:39:04 +00:00
</div>
2014-02-07 13:26:05 +00:00
2014-04-03 13:57:46 +00:00
2014-02-07 13:26:05 +00:00
{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')">
2014-09-19 09:58:54 +00:00
<div align="center"><img src="{getThumb vdetails=$video size='big'}" alt="{$video.title}" width="110" height="64" /></div>
2014-02-07 13:26:05 +00:00
</li> <!-- itemBox {$video.videokey} end -->
{/if}
2014-04-17 11:43:12 +00:00
2014-04-17 11:57:33 +00:00
2014-02-07 13:26:05 +00:00
{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}
2014-02-07 13:26:05 +00:00
{/if}