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

61 lines
2.5 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-04-03 13:57:46 +00:00
<div class="col-md-3">
<a href="{videoLink($video)}" title="{$video.title|title}">
<img src="{getThumb vdetails=$video}" width="203" height="115" id="thumbs_{$video.videoid}" title=""/></a>
2014-04-17 11:51:43 +00:00
<p class="duration1"><b class="color" style="position: absolute;right: 15px;">{if
2014-04-03 13:57:46 +00:00
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if}</b></p>
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>
2014-04-03 13:57:46 +00:00
<small class="font1 new1"><b>{lang code='views'} :{$video.views}</b></small>
<small class="font2 new1"><b>{$video.date_added|niceTime}</b></small>
<hr>
</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')">
<div align="center"><img src="{getThumb vdetails=$video}" alt="{$video.title}" width="110" height="64" /></div>
</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'}
2014-04-17 11:58:47 +00:00
<div class="col-md-3">
2014-04-17 11:36:58 +00:00
<a href="{videoLink($video)}" title="{$video.title|title}">
<img src="{getThumb vdetails=$video}" width="203" height="115" id="thumbs_{$video.videoid}" title=""/></a>
2014-04-17 11:56:25 +00:00
<p class="duration1" style="margin-left: 25px;"><b class="color" >
2014-04-17 11:50:08 +00:00
{if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}</b></p>
2014-04-17 12:26:11 +00:00
<h5><a href="{videoLink($video)}" title="{$video.title|title}"><b>{$video.title|truncate:22}</b></a></h5>
2014-04-17 11:36:58 +00:00
<small class="font1 new1"><b>{lang code='views'} :{$video.views}</b></small>
<small class="font2 new1"><b>{$video.date_added|niceTime}</b></small>
{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">
2014-04-17 11:43:12 +00:00
<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" />
2014-04-17 10:38:49 +00:00
</div>
2014-04-17 11:36:58 +00:00
{/if}
2014-04-17 11:43:12 +00:00
<hr>
2014-04-17 11:36:58 +00:00
</div>
2014-04-03 13:57:46 +00:00
2014-04-17 10:38:49 +00:00
{if $only_once}
2014-02-07 13:26:05 +00:00
<div class="clearfix"></div>
2014-04-17 10:38:49 +00:00
{/if}
2014-02-07 13:26:05 +00:00
2014-04-17 10:38:49 +00:00
{/if}