clipbucket/upload/styles/cbv2.7/layout/index.html

407 lines
18 KiB
HTML
Raw Normal View History

2014-05-09 14:38:00 +00:00
<div class="container">
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=120542078043680";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="row cb-box marginBottom">
<!-- ******************************************* //-->
<!-- ******** GLOBAL ANNOUNCEMENT START ******** //-->
<!-- ******************************************* //-->
2014-06-05 17:30:48 +00:00
<!--<div class="alert alert-info margin-bottom-10 ">-->
{ANCHOR place='global'}
<!-- </div> -->
<div class="clearfix"></div>
2014-05-09 14:38:00 +00:00
<!-- ******************************************* //-->
<!-- ********* GLOBAL ANNOUNCEMENT END ********* //-->
<!-- ******************************************* //-->
<!-- ******************************************* //-->
<!-- ************ EDITORS BLOCK START ********** //-->
<!-- ******************************************* //-->
{if is_installed('editorspick')}
{if $editor_picks}
<div class="row">
<div class="col-md-8 nopadding-right">
<!-- Editor Pick Video Main Container START //-->
<div id="ep_video_container">
{if is_installed('editorspick')}
{section name=e_list loop=$editor_picks max=1}
{include file="$style_dir/blocks/editor_pick/video_block.html" video=$editor_picks[e_list]}
{sectionelse}
There is no video in editor's pick, Please Add Videos In Editor's Pick<br />Videos Manager > Add to editor's pick
{/section}
{/if}
</div>
<!-- Editor Pick Video Main Container END //-->
</div>
<!-- Editor Pick Videos Slider Container START //-->
<div class="col-md-4 ">
<div id="slide" class="" style="">
{section name=e_list loop=$editor_picks}
{include file="$style_dir/blocks/editor_pick/index_featured_video.html" video=$editor_picks[e_list]}
{/section}
</div>
<div class="next_pre_hold">
<a href="#" class="col-md-6 btn btn-primary" id="slide_prev">
<span class="glyphicon glyphicon-chevron-up"></span>
</a>
<a href="#" class="col-md-6 btn btn-primary" id="slide_next">
<span class="glyphicon glyphicon-chevron-down"></span>
</a>
</div>
</div>
<!-- Editor Pick Videos Slider Container END //-->
</div>
{/if}
{/if}
<!-- ******************************************* //-->
<!-- ************ EDITORS BLOCK END ************ //-->
<!-- ******************************************* //-->
2014-06-05 17:30:48 +00:00
<!-- <div align="center" class="margin-bottom-10">
2014-05-09 14:38:00 +00:00
<a href="http://www.arvixe.com/clipbucket_hosting">
<img class="banner" src="{$theme}/assets/images/ad-box-728x90.jpg" >
2014-06-05 17:30:48 +00:00
2014-05-09 14:38:00 +00:00
</a>
2014-06-05 17:30:48 +00:00
</div>-->
<div class="ad">{AD place='ad_728x90'}</div>
2014-05-09 14:38:00 +00:00
<!-- ******************************************* //-->
<!-- *********** LATEST VIDEOS START *********** //-->
<!-- ******************************************* //-->
<div class="row">
<div class="col-md-12">
<div class="col-md-8 nopadding padding-right-10">
<h2 class="myHeading theme_color">{lang code="Featured Videos"}</h2>
{if $videos_01}
<div class="col-md-12 nopadding">
<div class="col-md-12 text-center nopadding ">
<div class="col-md-8 text-center nopadding mouse_hover" style="min-height: 300px;">
{foreach from=$videos_01 item=video_01}
<div class="col-md-12 text-center nopadding ">
<a href="{videoLink vdetails=$video_01}" title="{$video_01.title}">
2014-06-05 17:30:48 +00:00
<img class="cb_img_thum" src="{getThumb vdetails=$video_01 num='4' size='big'}" width="500" height="285" border="0" {ANCHOR place="video_thumb" data=$video_01} />
2014-05-09 14:38:00 +00:00
</a>
<div class="cbHomeVidTitle cbHomeVidTitle_Big mouse_hover_on">{$video_01.title|truncate:30}</div>
</div>
<div class="cbHomeVidDuration mouse_hover_on">
{$video_01.duration|date_format:$config.time}
</div>
<div class="cbHomeVidDuration_left mouse_hover_on">
By: {$video_01.username}
</div>
{/foreach}
</div>
<div class="col-md-4 hidden-sm hidden-xs text-center nopadding-right pull-right" style="padding-left:8px;">
{foreach from=$videos_03 item=video_02 name=foo}
<div class="col-md-12 text-center nopadding mouse_hover1" style="{if not $smarty.foreach.foo.last} min-height: 150px; {/if} " >
<a href="{videoLink vdetails=$video_02}" title="{$video_02.title}">
2014-06-05 17:30:48 +00:00
<img class="cb_img_thum" src="{getThumb vdetails=$video_02 size='big' }" width="240" height="133" {ANCHOR place="video_thumb" data=$video_03} />
2014-05-09 14:38:00 +00:00
<div class="cbHomeVidTitle mouse_hover_on1" style="margin-bottom:8px;">{$video_02.title|truncate:10}</div>
</a>
<div class="cbHomeVidDuration mouse_hover_on1">
{$video_02.duration|date_format:$config.time}
</div>
</div>
{/foreach}
</div>
<div class="col-md-8 text-center nopadding">
{foreach from=$videos_02 item=video_03}
<div class="col-md-6 hidden-sm hidden-xs text-center nopadding-left mouse_hover" style="">
<a href="{videoLink vdetails=$video_03}" title="{$video_02.title}">
2014-06-05 17:30:48 +00:00
<img src="{getThumb vdetails=$video_03 size='big'}" width="240" height="133" style="border:1px solid #CCC;" {ANCHOR place="video_thumb" data=$video_03} />
2014-05-09 14:38:00 +00:00
<div class="cbHomeVidTitle cbHomeVidTitle_small mouse_hover_on">{$video_03.title|truncate:10}</div>
</a>
<div class="cbHomeVidDuration cbHomeVidDuration_more mouse_hover_on">
{$video_03.duration|date_format:$config.time}
</div>
</div>
{/foreach}
</div>
</div>
<div class="clearfix"></div>
</div>
{else}
<div class="col-md-12 nopadding">No featured Video</div>
{/if}
<!-- ******************************************* //-->
<!-- ************ LATEST VIDEOS END ************ //-->
<!-- ******************************************* //-->
<div class="clearfix"></div>
<!-- ******************************************* //-->
<!-- *************** VIDEOS START ************** //-->
<!-- ******************************************* //-->
<div class="row nopadding">
<hr>
<div class="col-md-12 vidoe_home" >
<div class="bs-example bs-example-tabs">
<ul class="nav nav-tabs" id="myTab_home">
<li class="active"><a data-toggle="tab" href="#recent_video">{lang code="Recent videos"}</a></li>
<li class=""><a data-toggle="tab" href="#being_viewed">{lang code="Being viewed"}</a></li>
</ul>
<div class="tab-content" id="myTabContent">
<div id="recent_video" class="tab-pane fade active in" style="padding-top: 25px;">
{include file="$style_dir/blocks/videos/video-home-sliders.html" video_06_da=$videos_06_da slider='slider'}
</div>
<div id="being_viewed" class="tab-pane fade" style="padding-top: 25px;">
{include file="$style_dir/blocks/videos/video-home-sliders.html" video_06_da=$videos_06_da slider3='slider3'}
</div>
</div>
</div>
<div style="height: 18px;" class="clearfix"></div>
</div>
</div>
<!-- ******************************************* //-->
<!-- *************** VIDEOS END ************** //-->
<!-- ******************************************* //-->
2014-06-05 17:30:48 +00:00
<div class="ad">{AD place='ad_468x60'}</div>
<!-- <div class="clearfix" style="height: 10px;"></div>
2014-05-09 14:38:00 +00:00
<div align="center" > <a href="http://www.clip-bucket.com"><img class="banner" src="{$theme}/assets/images/ad-box-468x60.jpg" >
</a>
2014-06-05 17:30:48 +00:00
</div>-->
2014-05-09 14:38:00 +00:00
<!-- ******************************************* //-->
<!-- *********** PHOTOS START ************ //-->
<!-- ******************************************* //-->
<div class="row nopadding">
<div class="col-md-12 nopadding ">
<h2 class="myHeading theme_color">{lang code="Featured Photos"}</h2>
<!-- *********** FIRST PHOTOS START ************ //-->
<div class="col-md-12 fill-background" style="display:block; height:265px; padding:5px;">
<div class="col-md-7 big_img">
{foreach from=$result_photos1_01 item=result_photo1_01}
<a href="{$cbphoto->photo_links($result_photo1_01,'view_item')}">
{get_photo details=$result_photo1_01 output='html' width="420" height="235" size="l" class="cb_img_thum"}
</a>
{/foreach}
</div>
<div class="col-md-5 nopadding" style="display:block; height:132px;">
{foreach from=$result_photos1_08 item=result_photo1_08}
<div class="col-md-6" style="border-right: 1px solid rgb(204, 204, 204); display: block; height: 133px; padding: 7px; border-top: 1px solid rgb(204, 204, 204);">
<a href="{$cbphoto->photo_links($result_photo1_08,'view_item')}">
{get_photo details=$result_photo1_08 output='html' width="128" height="118" size="l" class='photoThumbBox moveL cb_img_thum'}
</a>
{if $photos@iteration > 1}{break}{/if}
</div>
{/foreach}
</div>
</div>
<!-- *********** FIRST PHOTOS END ************ //-->
<!-- *********** SECOND PHOTOS START ************ //-->
<div class="col-md-12" style="display:block; height:265px; padding:5px;">
<div class="col-md-5 nopadding" style="display:block; height:132px;">
{foreach from=$result_photos2_08 item=result_photo2_08}
<div class="col-md-6" style="display: block; height: 132px; padding: 7px; border-left: 1px solid rgb(204, 204, 204); border-bottom: 1px solid rgb(204, 204, 204);">
<a href="{$cbphoto->photo_links($result_photo2_08,'view_item')}">
{get_photo details=$result_photo2_08 output='html' width="128" height="118" size="l" class='photoThumbBox moveL cb_img_thum'}
</a>
{if $photos@iteration > 1}{break}{/if}
</div>
{/foreach}
</div>
<div class="col-md-7 big_img">
{foreach from=$result_photos2_01 item=result_photo2_01}
<a href="{$cbphoto->photo_links($result_photo2_01,'view_item')}">
{get_photo details=$result_photo2_01 output='html' width="420" height="235" size="l" class="cb_img_thum"}
</a>
{/foreach}
</div>
</div>
<!-- *********** SECOND PHOTOS END ************ //-->
</div>
</div>
<!-- ******************************************* //-->
<!-- *********** PHOTOS END ************ //-->
<!-- ******************************************* //-->
</div>
<!-- ******************************************* //-->
<!-- ******** ADVERTISEMENT BLOCK START ******** //-->
<!-- ******************************************* //-->
<!--<div class="col-md-4" style="background-color:#F2F2F2; padding-top:10px; padding-bottom:10px; margin-bottom:10px;">
<h2 class="myHeadingBLK" style="margin-top:0;">Advertisement</h2>
<div class="col-md-12 text-center nopadding" style="font-size:18px; border:1px solid #CCC; background:#FFF; display:block; height: 250px; width: 300px; line-height: 200px; text-align:center; left:7%;">
Ad Box 300 x 250
</div>
</div>-->
<!-- ******************************************* //-->
<!-- ******** ADVERTISEMENT BLOCK END ******** //-->
<!-- ******************************************* //-->
<!-- ******************************************* //-->
<!-- ************* USER BLOCK START ************ //-->
<!-- ******************************************* //-->
<div class="col-md-4 side_user_home">
<h4 class="home-side-heading">{lang code="Featured Users"}</h4>
{section name=result_users loop=$result_users}
<div class="col-md-12 nopadding clearfix user-view-home" style="height: 85px;">
<div class="col-md-3 nopadding">
<img src="{$userquery->getuserthumb($result_users[result_users],'small')}" width="65" height="65" class="img-circle" />
</div>
<div class="col-md-9 nopadding" style="font-size:12px; margin-top:3px;">
<div class="min-height-35">
<h4 class="nopadding "><a href="{$userquery->profile_link($result_users[result_users])}">{$result_users[result_users].username}</a></h4>
</div>
<div class=" nopadding col-md-6 min-height-20">
<div class="pull-left small"><small>{$result_users[result_users].profile_hits|number_format} {lang code='views'}</small></div>
<div class="pull-right small"><small>{$result_users[result_users].total_videos|number_format} {lang code='Videos'}</small></div>
</div>
<br>
<div class="row pull-left" style="margin-left: 0px; width: 99%;">
<div class="progres">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
<span class="sr-only">40% Complete (success)</span>
</div>
</div>
</div>
<!--<div class="col-md-12 nopadding progress no-border-radius">
<div style="width: 40%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="40" role="progressbar" class="progress-bar progress-bar-success">
<span class="sr-only">40% Complete (success)</span>
</div>
</div>-->
</div>
<div class="user_icon">
<a href="{$userquery->profile_link($result_users[result_users])}">
2014-06-05 17:30:48 +00:00
<img class="" src="{$baseurl}/styles/cb_2014/images/user_next_icon.png" width="25" height="25" />
2014-05-09 14:38:00 +00:00
</a>
</div>
</div>
{/section}
</div>
<!-- ******************************************* //-->
<!-- ************* USER BLOCK END ************ //-->
<!-- ******************************************* //-->
<!-- ******************************************* //-->
<!-- ********** FACEBOOK BLOCK START *********** //-->
<!-- ******************************************* //-->
<div class="col-md-4 nopadding" >
<div class="fb-like-box" data-href="https://www.facebook.com/ClipBucket" data-width="390" data-colorscheme="dark" data-show-faces="true" data-header="true" data-stream="false" data-show-border="true"></div>
</div>
<!-- ******************************************* //-->
<!-- ********** FACEBOOK BLOCK END *********** //-->
<!-- ******************************************* //-->
<div class="col-md-4 comment_home side_user_home" >
<h4 class="home-side-heading">{lang code="Top Collections"}</h4>
{foreach from=$collections item=collection}
<div class="collection_home mouse_hover">
<a href="{$baseurl}/view_collection.php?cid={$collection.collection_id}&type={$collection.type}" title="{$collection.collection_name}">
<div class="details mouse_hover_on">
<div align="center" class="collection_name">{$collection.collection_name}</div>
<div align="center" class="collection_total">{$collection.total_objects} {$collection.type}</div>
</div>
</a>
<img class="cb_img_thum" src="{$cbcollection->get_thumb($collection,'',TRUE)}"/>
</div>
{/foreach}
</div>
</div>
</div>
{*include file="$style_dir/blocks/videos/video-home-sliders2.html" video_06_da=$video_06_da slider3='slider3'*}
</div>
</div>
<div style="height:20px;"></div>
<script type="text/javascript">
$(function() {
$('#slide').ulslide({
width: 350,
height: 88,
effect: {
type: 'carousel', // slide or fade
axis: 'y', // x, y
showCount: 5
},
nextButton: '#slide_next',
prevButton: '#slide_prev',
duration: 800,
/*autoslide: 2000*/
easing: 'easeOutBounce'
});
$('#slide1').ulslide({
width: 150,
height: 80,
effect: {
type: 'carousel', // slide or fade
axis: 'x', // x, y
showCount: 5
},
nextButton: '#slide_next1',
prevButton: '#slide_prev1',
duration: 800,
autoslide: 2000
/*easing: 'easeOutBounce'*/
});
$('#slide3').ulslide({
width: 150,
height: 80,
effect: {
type: 'carousel', // slide or fade
axis: 'x', // x, y
showCount: 5
},
nextButton: '#slide_next3',
prevButton: '#slide_prev3',
duration: 800,
autoslide: 2000,
easing: 'easeOutBounce'
});
});
2014-06-05 17:30:48 +00:00
</script>
<!--<style>
.ad{
background: none repeat scroll 0 0 #F3F3F3;
border: 1px solid #CCCCCC;
font-size: 15px;
height: 90px;
margin: 0 auto 25px;
padding: 0;
text-align: center;
width: 728px;
}
</style>-->