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

56 lines
2.2 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>
<p class="duration1"><b class="color">{if
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if}</b></p>
<h5><a href="{videoLink($video)}" title="{$video.title|title}"><b>{$video.title|truncate:22}</b></a></h5>
<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}
{if $display_type=='add_type'}
2014-04-17 10:38:49 +00:00
<div class="row" style="margin-left: 20px">
<hr>
<div class="col-md-3">
2014-02-07 13:26:05 +00:00
{ANCHOR place='in_video_thumb' data=$video}
<label for="check_video_{$video.videoid}"><img src="{getThumb vdetails=$video}" width="110" height="66" border="0" /></label>
{if $check_type=='array'}
<input type="checkbox" name="check_video[]" id="check_video_{$video.videoid}" style="position:absolute; bottom:0px; left:0px" {if $check_this} checked="checked"{/if} value="{$video.videoid}" />
{else}
<input type="checkbox" name="check_video_{$video.videoid}" id="check_video_{$video.videoid}" style="position:absolute; bottom:0px; left:0px" {if $check_this} checked="checked"{/if} value="yes" />
{/if}
2014-04-17 10:38:49 +00:00
</div>
<div class="col-md-6">
<a href="{videoLink vdetails=$video}">{$video.title|truncate:60}</a>
<div class="length">Duration: <span class="color">{$video.duration|SetTime:false}</span></div>
</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}
</div>