ClipBucket's new official theme joins the STYLES family
|
@ -16,7 +16,7 @@
|
|||
{ANCHOR place='global'}
|
||||
<!-- </div> -->
|
||||
<div class="clearfix"></div>
|
||||
|
||||
<button id="home_load_more" class="btn btn-primary" loadtype="video" loadmode="recent" loadlimit="8" loadhit="1">Load More</button>
|
||||
{if is_installed('editorspick')}
|
||||
{if $editor_picks}
|
||||
<div class="row">
|
||||
|
@ -485,6 +485,99 @@
|
|||
easing: 'easeOutBounce'
|
||||
});
|
||||
});
|
||||
|
||||
/*$('.cb_item_thumb').on("click",function(e){
|
||||
e.preventDefault();
|
||||
var url2Fetch = $(this).closest('a').attr('src');
|
||||
$.get( url2Fetch, function( data ) {
|
||||
console.log(data);
|
||||
$( "#container" ).html( "<h1>YES" );
|
||||
alert( "Load was performed." );
|
||||
});
|
||||
});*/
|
||||
|
||||
function cleanup_videos(json_data) {
|
||||
console.log(json_data);
|
||||
var total_elements = json_data.array_meta.length;
|
||||
var read_elements = json_data.array_meta;
|
||||
for (var i = 0; i < total_elements; i++) {
|
||||
console.log("VIDEO ID = "+read_elements[i].videoid)
|
||||
}
|
||||
}
|
||||
|
||||
function cleanup_photos(json_data) {
|
||||
console.log(json_data);
|
||||
var total_elements = json_data.array_meta.length;
|
||||
var read_elements = json_data.array_meta;
|
||||
for (var i = 0; i < total_elements; i++) {
|
||||
console.log("PHOTO ID = "+read_elements[i].photo_id)
|
||||
}
|
||||
}
|
||||
|
||||
function cleanup_users(json_data) {
|
||||
console.log(json_data);
|
||||
var total_elements = json_data.array_meta.length;
|
||||
var read_elements = json_data.array_meta;
|
||||
for (var i = 0; i < total_elements; i++) {
|
||||
console.log("USER ID = "+read_elements[i].userid)
|
||||
}
|
||||
}
|
||||
|
||||
function cleanup_collections(json_data) {
|
||||
console.log(json_data);
|
||||
var total_elements = json_data.array_meta.length;
|
||||
var read_elements = json_data.array_meta;
|
||||
for (var i = 0; i < total_elements; i++) {
|
||||
console.log("COLLECTION ID = "+read_elements[i].collection_id)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
$('#home_load_more').on("click",function(){
|
||||
var loadLink = baseurl + '/ajax/home.php',
|
||||
main_object = $(this),
|
||||
sendType = 'post',
|
||||
dataType = 'html',
|
||||
loadType = $(main_object).attr('loadtype'),
|
||||
loadMode = $(main_object).attr('loadmode'),
|
||||
loadLimit = $(main_object).attr('loadlimit'),
|
||||
loadHit = $(main_object).attr('loadhit')
|
||||
;
|
||||
|
||||
$.ajax({
|
||||
url: loadLink,
|
||||
type: sendType,
|
||||
dataType: dataType,
|
||||
data: {
|
||||
"load_type":loadType,
|
||||
"load_mode":loadMode,
|
||||
"load_limit":loadLimit,
|
||||
"load_hit":loadHit
|
||||
},
|
||||
|
||||
beforeSend: function() {
|
||||
// setting a timeout
|
||||
$(main_object).text("Loading..");
|
||||
},
|
||||
|
||||
success: function(data) {
|
||||
var json_data = $.parseJSON(data);
|
||||
var load_hit = json_data.loadhit;
|
||||
$(main_object).attr('loadhit',load_hit);
|
||||
$(main_object).text("Load More");
|
||||
if (loadType == 'video') {
|
||||
cleanup_videos(json_data);
|
||||
} else if (loadType == 'users') {
|
||||
cleanup_users(json_data);
|
||||
} else if (loadType == 'photos') {
|
||||
cleanup_photos(json_data);
|
||||
} else if (loadType == 'collections') {
|
||||
cleanup_collections(json_data);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<!--<style>
|
||||
|
|
BIN
upload/styles/cb_28/images/200x800.png
Normal file
After Width: | Height: | Size: 7 KiB |
BIN
upload/styles/cb_28/images/403.png
Normal file
After Width: | Height: | Size: 8 KiB |
BIN
upload/styles/cb_28/images/404.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
upload/styles/cb_28/images/ajax-loader .gif
Normal file
After Width: | Height: | Size: 8.6 KiB |
BIN
upload/styles/cb_28/images/ajax-loader-big.gif
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
upload/styles/cb_28/images/ajax-loader.gif
Normal file
After Width: | Height: | Size: 8.6 KiB |
BIN
upload/styles/cb_28/images/cancel.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
upload/styles/cb_28/images/dot.gif
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
upload/styles/cb_28/images/eror_colin.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
upload/styles/cb_28/images/h-upload-icon.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
upload/styles/cb_28/images/header_logo.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
upload/styles/cb_28/images/icons-sprite.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
upload/styles/cb_28/images/icons-sprite@2x.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
upload/styles/cb_28/images/logo.png
Normal file
After Width: | Height: | Size: 9 KiB |
BIN
upload/styles/cb_28/images/m_arrow_down.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
upload/styles/cb_28/images/m_arrow_up.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
upload/styles/cb_28/images/messagebox_warning.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
upload/styles/cb_28/images/preview_240.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
upload/styles/cb_28/images/preview_240_invert.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
upload/styles/cb_28/images/preview_360.png
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
upload/styles/cb_28/images/preview_360_invert.png
Normal file
After Width: | Height: | Size: 8.2 KiB |
BIN
upload/styles/cb_28/images/preview_480.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
upload/styles/cb_28/images/preview_480_invert.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
upload/styles/cb_28/images/preview_640.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
upload/styles/cb_28/images/preview_720.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
upload/styles/cb_28/images/preview_720_invert.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
upload/styles/cb_28/images/quick_icon.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
upload/styles/cb_28/images/star-icon.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
upload/styles/cb_28/images/u-sprite.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
upload/styles/cb_28/images/user_next_icon.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
upload/styles/cb_28/images/view_group.gif
Normal file
After Width: | Height: | Size: 9.4 KiB |
70
upload/styles/cb_28/layout/403.html
Normal file
|
@ -0,0 +1,70 @@
|
|||
<div class="full-width ">
|
||||
<div class="container ">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="error-pix-sec">
|
||||
<span class="error-pix-403"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-12">
|
||||
<div class="error-text-sec2">
|
||||
<div class="error-text">
|
||||
<span></span>
|
||||
Forbidden Error
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-2"></div>
|
||||
<div class="col-lg-8 mtl">
|
||||
<form class="" role="search" action="{link name='search_result'}">
|
||||
<div class="input-group cbsearchtype">
|
||||
<input type="text" class="form-control" name="query" value="{'query'|get_form_val:true}" id="query">
|
||||
<div class="input-group-btn">
|
||||
<input tabindex="-1" type="submit" name="cbsearch" id="cbsearch" value="{lang code='Go'}" class="btn btn-default" />
|
||||
<input type="hidden" name="type" class="type form-control" value="{if isset($smarty.get.type)}{$smarty.get.type}{else}videos{/if}" id="type">
|
||||
<button tabindex="-1" data-toggle="dropdown" class="btn btn-default dropdown-toggle search-drop-btn" type="button">
|
||||
<span class="caret"></span>
|
||||
<span class="sr-only">Toggle Dropdown</span>
|
||||
</button>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
{$counter = 1}
|
||||
{foreach from=$Cbucket->search_types item=t key=stypes}
|
||||
{if $counter == 3}
|
||||
<li value="{$stypes}" {if $smarty.get.type==$stypes || $smarty.get.type==''} class="active" {/if}>
|
||||
<a href="#">{$stypes}</a>
|
||||
</li>
|
||||
{else}
|
||||
<li value="{$stypes}" {if $smarty.get.type==$stypes} class="active" {/if}>
|
||||
<a href="#">{$stypes}</a>
|
||||
</li>
|
||||
{/if}
|
||||
{$counter = $counter + 1}
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</form>
|
||||
<div class="col-lg-2"></div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<div class="row">
|
||||
{if $videos}
|
||||
{foreach $videos as $video}
|
||||
<div class="col-md-3 col-sm-4 col-xs-6 marginBottom grid_view list_view">
|
||||
{include file="$style_dir/blocks/videos/video.html" display_type='normal'}
|
||||
</div>
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<br> <br>
|
||||
</div>
|
||||
</div>
|
69
upload/styles/cb_28/layout/404.html
Normal file
|
@ -0,0 +1,69 @@
|
|||
<div class="full-width ">
|
||||
<div class="container ">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="error-pix-sec">
|
||||
<span class="error-pix-404"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-12">
|
||||
<div class="error-text-sec">
|
||||
<div class="error-text">
|
||||
<span></span>
|
||||
Oops! The page you requested was not found!
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-2"></div>
|
||||
<div class="col-lg-8 mtl">
|
||||
<form class="" role="search" action="{link name='search_result'}">
|
||||
<div class="input-group cbsearchtype">
|
||||
<input type="text" class="form-control" name="query" value="{'query'|get_form_val:true}" id="query">
|
||||
<div class="input-group-btn">
|
||||
<input tabindex="-1" type="submit" name="cbsearch" id="cbsearch" value="{lang code='Go'}" class="btn btn-default" />
|
||||
<input type="hidden" name="type" class="type form-control" value="{if isset($smarty.get.type)}{$smarty.get.type}{else}videos{/if}" id="type">
|
||||
<button tabindex="-1" data-toggle="dropdown" class="btn btn-default dropdown-toggle search-drop-btn" type="button">
|
||||
<span class="caret"></span>
|
||||
<span class="sr-only">Toggle Dropdown</span>
|
||||
</button>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
{$counter = 1}
|
||||
{foreach from=$Cbucket->search_types item=t key=stypes}
|
||||
{if $counter == 3}
|
||||
<li value="{$stypes}" {if $smarty.get.type==$stypes || $smarty.get.type==''} class="active" {/if}>
|
||||
<a href="#">{$stypes}</a>
|
||||
</li>
|
||||
{else}
|
||||
<li value="{$stypes}" {if $smarty.get.type==$stypes} class="active" {/if}>
|
||||
<a href="#">{$stypes}</a>
|
||||
</li>
|
||||
{/if}
|
||||
{$counter = $counter + 1}
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</form>
|
||||
<div class="col-lg-2"></div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="row">
|
||||
{if $videos}
|
||||
{foreach $videos as $video}
|
||||
<div class="col-md-3 col-sm-4 col-xs-6">
|
||||
{include file="$style_dir/blocks/videos/video.html" display_type='normal'}
|
||||
</div>
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<br> <br>
|
||||
</div>
|
||||
</div>
|
10
upload/styles/cb_28/layout/PopularPhotos.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
{if $display_type == ""}
|
||||
<div class="show-image">
|
||||
<div class="col-md-6 col-sm-6 col-xs-6">
|
||||
<a href="{$cbphoto->photo_links($photo,'view_item')}" title="Tolpis barbata (mariluzpicado)">
|
||||
<span class="photoname">{$photo.photo_title|truncate:15}</span>
|
||||
{get_photo details=$photo size='l' class='Pphotos img-responsive' output='html'}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
8
upload/styles/cb_28/layout/blocks/PopularPhotos.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{if $display_type == ""}
|
||||
<div class="show-image col-lg-3 col-md-3 col-sm-4 col-xs-6"">
|
||||
<a href="{$cbphoto->photo_links($photo,'view_item')}" title="Tolpis barbata (mariluzpicado)">
|
||||
<span class="photoname">{$photo.photo_title|truncate:15}</span>
|
||||
{get_photo details=$photo size='l' class='img-responsive Pphotos' output='html'}
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
3
upload/styles/cb_28/layout/blocks/category_list.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<ul class="panel-body" >
|
||||
{cbCategories type=$type echo="TRUE" list_style="collapsed" output="list" with_all="TRUE"}
|
||||
</ul>
|
143
upload/styles/cb_28/layout/blocks/channels.html
Normal file
|
@ -0,0 +1,143 @@
|
|||
{if $block_type == '' || $block_type=='normal'}
|
||||
<div class="clearfix" id="user-{$user.userid}">
|
||||
<a href="{$userquery->profile_link($user)}" class="avatar">
|
||||
<img src="{avatar details=$user size='220x124'}">
|
||||
</a>
|
||||
<h2><a href="{$userquery->profile_link($user)}">{$user.username}</a></h2>
|
||||
<span class="videos-count">
|
||||
{if isSectionEnabled('videos')}
|
||||
{lang code="videos"}: {$user.total_videos|number_format}
|
||||
{/if}
|
||||
</span>
|
||||
<span class="subscribers-count">
|
||||
{lang code="subscribers"}: {$user.subscribers|number_format}
|
||||
</span>
|
||||
|
||||
<h2>{$user.total_videos|number_format} {lang code="videos"} {$user.profile_hits|number_format} {lang code="views"}</h2>
|
||||
<img src="{$userquery->getCover($user.userid)}" alt="">
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $block_type == 'homeChannel' || $block_type=='normal'}
|
||||
{assign var='user_cover' value=$userquery->getCover($user.userid)}
|
||||
|
||||
<a href="{$userquery->profile_link($user)}" id="user-{$user.userid}" style="background:url({if $user_cover != ''} {$user_cover} {else} {$theme}/images/cover_default.jpg {/if} )">
|
||||
<img class="avatar" src="{avatar details=$user}">
|
||||
<div class="info">
|
||||
<h2>{$user.username}</h2>
|
||||
<div class="clearfix">
|
||||
<span>{$user.total_videos|number_format} {lang code="videos"}</span>
|
||||
<span>{$user.profile_hits|number_format} {lang code="views"}</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
{if $block_type == 'featuredChannel'}
|
||||
{assign var='user_cover' value=$userquery->getCover($featured.userid)}
|
||||
|
||||
<a href="{$userquery->profile_link($featured)}" id="user-{$featured.userid}" class="featured-userlink">
|
||||
<img class="sm-cover img-responsive" src="{if $user_cover != ''} {$user_cover} {else} {$theme}/images/cover_default.jpg {/if}" size='368x124'>
|
||||
<div class="info">
|
||||
<img class="avatar" src="{avatar details=$featured}">
|
||||
<h2>{$featured.username}</h2>
|
||||
<div class="clearfix">
|
||||
<span>{$featured.total_videos|number_format} {lang code="videos"}</span>
|
||||
<span>{$featured.profile_hits|number_format} {lang code="views"}</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<i class="btn-subscribe">{$featured.subscribers|number_format} {lang code="subscriber(s)"}</i>
|
||||
{/if}
|
||||
|
||||
{if $block_type == 'itemChannel' || $block_type=='normal'}
|
||||
{assign var='user_cover_tune' value=$userquery->getCover($user.userid)}
|
||||
|
||||
<div class="channel-holder">
|
||||
<a href="{$userquery->profile_link($user)}" id="user-{$user.userid}" class="user-block">
|
||||
<img class="avatar" src="{avatar details=$user}">
|
||||
<h2>{$user.username}</h2>
|
||||
</a>
|
||||
<div class="info">
|
||||
<span>{$user.total_videos|number_format} {lang code="videos"}</span>
|
||||
<span>{$user.profile_hits|number_format} {lang code="views"}</span>
|
||||
<span>{lang code="subscribers"}: {$user.subscribers|number_format}</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
|
||||
{if $block_type == 'subscribedby_channel'}
|
||||
|
||||
{assign var="user_data" value=$userquery->get_user_details($subscriber)}
|
||||
<div class="channel-holder">
|
||||
<a href="{$userquery->profile_link($user_data.userid)}" id="user-{$my_user.userid}" class="user-block">
|
||||
<img class="avatar" src="{$userquery->getuserthumb($user_data.userid)}">
|
||||
<h2>{$user_data.username}</h2>
|
||||
</a>
|
||||
<div class="info">
|
||||
<span>{$user_data.total_videos|number_format} {lang code="videos"}</span>
|
||||
<span>{$user_data.profile_hits|number_format} {lang code="views"}</span>
|
||||
<span>{lang code="subscribers"}: {$user_data.subscribers|number_format}</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
|
||||
{if $block_type == 'subscribedby_list'}
|
||||
|
||||
{assign var="user_data" value=$userquery->get_user_details($subscriber)}
|
||||
<a href="{$userquery->profile_link($user_data.userid)}" title="{$user_data.username}" id="user-{$user_data.userid}" class="sub-avatar">
|
||||
<img class="avatar img-responsive img-circle" src="{$userquery->getuserthumb($user_data.userid)}">
|
||||
</a>
|
||||
<span>{$user_data.username}</span>
|
||||
{/if}
|
||||
|
||||
{if $block_type =='small'}
|
||||
<div class="col-md-2" id="user-{$user.userid}" align="center">
|
||||
<a href="{$userquery->profile_link($user)}">{$user.username}</a>
|
||||
<a href="{$userquery->profile_link($user)}">
|
||||
<img src="{$userquery->getuserthumb($user)}" class="img-thumbnail" class="user_mid_thumb">
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $block_type =='medium'}
|
||||
<div class="user_block_med" id="user-{$user.userid}">
|
||||
<div class="thumb_container_medium" >
|
||||
<a href="{$userquery->profile_link($user)}">
|
||||
<img src="{$userquery->getuserthumb($user)}" class="img-thumbnail" class="user_thumb_medium">
|
||||
</a>
|
||||
</div>
|
||||
<div class="prof_title"><a href="{$userquery->profile_link($user)}">{$user.username}</a></div>
|
||||
{$user.total_videos|number_format} {lang code="videos"} {$user.profile_hits|number_format} {lang code="views"}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $block_type == "friends"}
|
||||
<div class="pull-left marginLeft" id="user-{$user.userid}">
|
||||
<a href="{$userquery->profile_link($user)}" title="{$user.username}">
|
||||
<img class="img-thumbnail" src="{avatar details=$user size='small'}" alt="{$user.username}" />
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $block_type == "topic_view"}
|
||||
<div class="topicStarterAvatar moveL">
|
||||
<i class="topicStarterAvatarBG" style="background:url({avatar details=$user }) center no-repeat; width:56px; height:56px;"><a href="{$userquery->profile_link($user)}">{$user.username}</a></i>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<script>
|
||||
$(document).ready(function (){
|
||||
var id = '{$user.userid}';
|
||||
$('#subuser-' + id).on({
|
||||
click: function(e){
|
||||
e.preventDefault();
|
||||
_cb.subscribeToChannel(id,'subscribe_user','video_detail_result_cont');
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
54
upload/styles/cb_28/layout/blocks/collection.html
Normal file
|
@ -0,0 +1,54 @@
|
|||
{if $display_type == "" || $display_type == "normal"}
|
||||
<div class="collection-item">
|
||||
<div class="thumb">
|
||||
<img class="img-responsive" src="{$cbcollection->get_thumb($collection,'',TRUE)}">
|
||||
</div>
|
||||
<a href="{$baseurl}/view_collection.php?cid={$collection.collection_id}&type={$collection.type}" title="{$collection.collection_name}">
|
||||
<div class="details">
|
||||
<span>{$collection.collection_name|truncate:30}<br>{$collection.total_objects} {$collection.type}</span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_type == "view_collection"}
|
||||
|
||||
<div class="collectItemBox">
|
||||
{if $type == "videos"}
|
||||
|
||||
<div class="the_item">
|
||||
<div class="onePhotoContainer oneVideoContainer">
|
||||
<div class="onePhotoTitle">
|
||||
<a href="{$cbphoto->photo_links($object,'view_item')}">{$object.title|truncate:15}</a>
|
||||
</div>
|
||||
|
||||
<a class="CollectThumb" href="{$cbphoto->photo_links($object,'view_item')}">
|
||||
<img src="{getThumb vdetails=$object}" alt="{$object.title}" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
{if $type == "photos"}
|
||||
<a class="CollectThumb" href="{$cbphoto->photo_links($object,'view_item')}">
|
||||
{get_photo details=$object size='l' class='img-responsive' output='html'}
|
||||
<div class="hover">
|
||||
{$object.photo_title|truncate:15}
|
||||
<span class="plus">plus</span>
|
||||
</div>
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_type == "user_collections"}
|
||||
<div class="moveL">
|
||||
<a href="{$cbcollection->collection_links($collection,'view')}" style="width:47px; height:47px;" title="{$collection.collection_name}">
|
||||
<img src="{$imageurl}/dot.gif" style="background:url({$cbcollection->get_thumb($collection,'small')}) center top no-repeat;" />
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
26
upload/styles/cb_28/layout/blocks/collection_form.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!-- Add To Collection This {$type} -->
|
||||
<div id="collection_form" class="action_box" >
|
||||
|
||||
<div class="form_container" align="center">
|
||||
|
||||
<div class="form_result" id="collection_form_result" style="display:none"></div>
|
||||
|
||||
<form id="add_collection_form" name="collection_form" method="post" action="" class="">
|
||||
<p>Please select collection name from following</p>
|
||||
<div class="form-group">
|
||||
<select name="collection" id="collection" class="form-control">
|
||||
{section name=clist loop=$collections}
|
||||
<option value="{$collections[clist].collection_id}">{$collections[clist].collection_name} ({$collections[clist].total_objects})</option>
|
||||
{sectionelse}
|
||||
<option>No Collection Found</option>
|
||||
{/section}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<input type="button" name="add_to_playlist" value="Add to collection" class="btn btn-primary mtm btn-block" onclick="collection_actions('add_collection_form','add_new_item','{$id}','#collection_form_result','video');">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Add To Collection This {$type} -->
|
86
upload/styles/cb_28/layout/blocks/comments/add_comment.html
Normal file
|
@ -0,0 +1,86 @@
|
|||
<div class="add-comments clearfix" id="add_comment">
|
||||
{if $userquery->login_check('',true) || $Cbucket->configs.anonym_comments == 'yes' }
|
||||
<form name="comment_form" method="post" action="" id="comment_form" onsubmit="return false;">
|
||||
<div class="clearfix com-txtarea">
|
||||
<span id="comment_err_output" class="alert alert-danger comment_err_output pull-left" style="display:none;width:100%"></span>
|
||||
<span id="comment_msg_output" class="alert alert-success comment_msg_output pull-left" style="display:none;"></span>
|
||||
<input type="hidden" name="reply_to" id="reply_to" value="0">
|
||||
<input type="hidden" name="obj_id" id="obj_id" value="{$id}">
|
||||
<input type="hidden" name="type" value="{$type}" />
|
||||
{if !$userquery->login_check('',true) && $Cbucket->configs.anonym_comments == 'yes'}
|
||||
<div class="clearfix"></div>
|
||||
<label for="name" class="Label">{lang code='name'}</label>
|
||||
<input type="text" name="name" id="name" class="form-control" placeholder="Your Name">
|
||||
<div class="clearfix"></div>
|
||||
<br>
|
||||
<div class="clearfix"></div>
|
||||
<label for="email" class="Label">{lang code='email_wont_display'}</label>
|
||||
<input type="text" name="email" id="email" class="form-control" placeholder="Your Email">
|
||||
<div class="clearfix"></div>
|
||||
<br>
|
||||
{else}
|
||||
<div class="clearfix"></div>
|
||||
{*<span>
|
||||
{if $userquery->udetails.fullname}
|
||||
{$userquery->udetails.fullname}
|
||||
{else}
|
||||
{$userquery->username}
|
||||
{/if}
|
||||
</span>*}
|
||||
|
||||
{/if}
|
||||
{if config('comments_captcha')=='all' || ( config('comments_captcha')=='guests' && !$userquery->login_check('',true) )}
|
||||
{$captcha=get_captcha()}
|
||||
{if $captcha}
|
||||
|
||||
{if $captcha.show_field}
|
||||
<label class="Label" for="captcha">Verification Code</label>
|
||||
<div class="ADfieldInputs">{load_captcha captcha=$captcha load=field field_params = ' id="captcha" class="TextField"'}</div>
|
||||
{/if}
|
||||
{load_captcha captcha=$captcha load=function}
|
||||
<div class="clearfix"></div>
|
||||
{/if}
|
||||
{/if}
|
||||
{ANCHOR place='before_compose_box'}
|
||||
|
||||
<div class="avatar_comment_as">
|
||||
<img src="{$userquery->avatar(false,'false',userid())}" class="img-circle">
|
||||
</div>
|
||||
|
||||
<div class="comment_txt_area">
|
||||
<textarea name="comment" id="comment_box" class="form-control" placeholder="Please type something in a comment box"></textarea>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="clearfix btn-holder text-right">
|
||||
<input type="button" name="add_comment" id="add_comment_button" class="btn btn-primary" value='Post Comment'>
|
||||
</div>
|
||||
<div class="clearfix" id="msg_container"></div>
|
||||
</form>
|
||||
{else}
|
||||
<span class="sizeSmall bold error"></span>
|
||||
<div class="col-lg-10 col-md-9 col-sm-9 col-xs-9">
|
||||
<span class="alert-warning alert msg-display">{lang code='please_login_to_comment'}</span>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
var form_selector = 'comment_form';
|
||||
var type = '{$type}';
|
||||
var video_id = '{$vdo.video_id}';
|
||||
$('body').on("click","#add_comment_button",function(){
|
||||
add_comment_js(form_selector,type,video_id);
|
||||
});
|
||||
$('#comment_box').keypress(function(e){
|
||||
if(e.keyCode == 13 && !e.shiftKey)
|
||||
{
|
||||
e.preventDefault();
|
||||
add_comment_js(form_selector,type,video_id);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
161
upload/styles/cb_28/layout/blocks/comments/comment.html
Normal file
|
@ -0,0 +1,161 @@
|
|||
{if marked_spammed($comment)}
|
||||
{assign var='comment_attr' value='style="display:none"'}
|
||||
{assign var='spam_attr' value='style="display:block"'}
|
||||
{else}
|
||||
{assign var='comment_attr' value=''}
|
||||
{assign var='spam_attr' value='style="display:none"'}
|
||||
{/if}
|
||||
|
||||
{if $rep_mode}
|
||||
<li id="reply-{$comment.comment_id}" class="commentBox clearfix reply-{$comment.comment_id}">
|
||||
<div class="reply-holder">
|
||||
<div class="comments-box clearfix">
|
||||
{$user_id = $comment.userid}
|
||||
{$user=$userquery->get_user_details($user_id)}
|
||||
<div class="comment-avatar">
|
||||
<img src="{avatar details=$user}" alt="" class="reply_pic">
|
||||
</div>
|
||||
<div class="comment-info">
|
||||
<a href="{$userquery->profile_link($user)}">
|
||||
<span>{name($user)}</span>
|
||||
</a>
|
||||
<p>{$comment.comment|comment}</p>
|
||||
<div class="com-info-actions clearfix">
|
||||
<span>{$comment.date_added|niceTime}</span>
|
||||
<div class="reply">
|
||||
{if !$comment.userid==userid() || has_access('admin_access',true)}
|
||||
<a href="javascript:void(0)" onclick="spam_comment('{$comment.comment_id}','{$type}','{$type_id}')">{lang code='spam'}</a>
|
||||
{/if}
|
||||
{if has_access('admin_del_access') || $comment.userid==userid() || $comment.type_owner_id==userid()} · <a href="javascript:void(0)" onclick="delete_comment('{$comment.comment_id}','{$type}')">{lang code='delete'}</a>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
{else}
|
||||
|
||||
<li id="comment_{$comment.comment_id}" class="clearfix" {$comment_attr}>
|
||||
<div class="comments-box clearfix">
|
||||
{$user_id=$comment.userid}
|
||||
{$user=$userquery->get_user_details($user_id)}
|
||||
<div class="comment-avatar">
|
||||
<img src="{avatar details=$user}" alt="" class="comnt_pic">
|
||||
</div>
|
||||
<div class="comment-info">
|
||||
<a href="{$userquery->profile_link($user)}" >
|
||||
<strong>{name($user)}</strong>
|
||||
</a>
|
||||
<!-- <i class="text-muted">- {$comment.date_added|niceTime}</i> -->
|
||||
<p>{$comment.comment|comment}</p>
|
||||
<div class="com-info-actions clearfix">
|
||||
<span>{$comment.date_added|niceTime}</span>
|
||||
<div class="reply">
|
||||
{if $userquery->login_check('',true)}
|
||||
|
||||
<a href="javascript:void(0)" onclick="reply_box('{$comment.comment_id}','{$comment.type}','{$comment.type_id}')">{lang code='reply'}</a>
|
||||
{/if}
|
||||
{if !$comment.userid==userid() || has_access('admin_access',true)}
|
||||
<a href="javascript:void(0)" onclick="spam_comment('{$comment.comment_id}','{$type}','{$type_id}')">{lang code='spam'}</a>
|
||||
{/if}
|
||||
{if has_access('admin_del_access') || $comment.userid==userid() || $comment.type_owner_id==userid()} <a href="javascript:void(0)" onclick="delete_comment('{$comment.comment_id}','{$type}')">{lang code='delete'}</a>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="clearfix text-right">
|
||||
<i class="text-muted">{$comment.date_added|niceTime}</i>
|
||||
</div> -->
|
||||
|
||||
</div>
|
||||
<div class="reply-box-{$comment.comment_id} clearfix" style="display:none;">
|
||||
</div>
|
||||
<ul class="comments-reply-{$comment.comment_id}">
|
||||
|
||||
{if $comment.children}
|
||||
{$child_comment = $comment.children}
|
||||
{foreach from=$child_comment item=replies}
|
||||
{foreach from=$replies|@array_reverse item=reply}
|
||||
{if $reply@iteration < 4}
|
||||
|
||||
<li id="reply-{$comment.comment_id}" class="commentBox clearfix reply-{$reply.comment_id}">
|
||||
<div class="reply-holder">
|
||||
<div class="comments-box clearfix">
|
||||
{$user_id = $reply.userid}
|
||||
{$user=$userquery->get_user_details($user_id)}
|
||||
<div class="comment-avatar">
|
||||
<img src="{avatar details=$user}" alt="" class="reply_pic">
|
||||
</div>
|
||||
<div class="comment-info">
|
||||
<a href="{$userquery->profile_link($user)}">
|
||||
<span>{name($user)}</span>
|
||||
</a>
|
||||
<p>{$reply.comment|comment}</p>
|
||||
<div class="com-info-actions clearfix">
|
||||
<span>{$reply.date_added|niceTime}</span>
|
||||
<div class="reply">
|
||||
{if !$comment.userid==userid() || has_access('admin_access',true)}
|
||||
<a href="javascript:void(0)" onclick="spam_comment('{$reply.comment_id}','{$type}','{$type_id}')">{lang code='spam'}</a>
|
||||
{/if}
|
||||
{if has_access('admin_del_access') || $comment.userid==userid() || $comment.type_owner_id==userid()} · <a href="javascript:void(0)" onclick="delete_comment('{$reply.comment_id}','{$type}')">{lang code='delete'}</a>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
{else}
|
||||
{$flag = $comment.comment_id}
|
||||
<div class="more-comments-{$comment.comment_id}" style="display:none;">
|
||||
<li id="reply-{$comment.comment_id}" class="commentBox clearfix reply-{$reply.comment_id}">
|
||||
<div class="reply-holder">
|
||||
<div class="comments-box clearfix">
|
||||
{$user_id = $reply.userid}
|
||||
{$user=$userquery->get_user_details($user_id)}
|
||||
<div class="comment-avatar">
|
||||
<img src="{avatar details=$user}" alt="" class="reply_pic">
|
||||
</div>
|
||||
<div class="comment-info">
|
||||
<a href="{$userquery->profile_link($user)}">
|
||||
<span>{name($user)}</span>
|
||||
</a>
|
||||
<p>{$reply.comment|comment}</p>
|
||||
<div class="com-info-actions clearfix">
|
||||
<span>{$reply.date_added|niceTime}</span>
|
||||
<div class="reply">
|
||||
<a href="javascript:void(0)" onclick="spam_comment('{$reply.comment_id}','{$type}','{$type_id}')">{lang code='spam'}</a>
|
||||
{if has_access('admin_del_access') || $comment.userid==userid() || $comment.type_owner_id==userid()} · <a href="javascript:void(0)" onclick="delete_comment('{$reply.comment_id}','{$type}')">{lang code='delete'}</a>{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
|
||||
|
||||
|
||||
|
||||
{/if}
|
||||
</ul>
|
||||
{if $flag}
|
||||
<div class="comments-load-more moad-more-btn-{$flag} clearfix" data-flag="{$flag}">
|
||||
<span class="btn btn-sm btn-danger">More Replies...</span>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
|
49
upload/styles/cb_28/layout/blocks/comments/comments.html
Normal file
|
@ -0,0 +1,49 @@
|
|||
<div class="comments clearfix">
|
||||
<ul id="comments-ul">
|
||||
{if $comments}
|
||||
{foreach from=$comments.comments item=comment}
|
||||
{include file="$style_dir/blocks/comments/comment.html" comment=$comment type=$type parents=$comments.parents}
|
||||
{/foreach}
|
||||
<div class="break2"></div>
|
||||
{else}
|
||||
<div class="break2"></div>
|
||||
<li class="col-lg-12 no-related no-comments clearfix">
|
||||
<span class="well well-info btn-block">No Comments Added</span>
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
li {
|
||||
list-style: none;
|
||||
}
|
||||
.main_pic, .comnt_pic, .reply_pic {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
.textarea-comment {
|
||||
position: relative;
|
||||
}
|
||||
.textarea-comment textarea {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.textarea-comment .remove-icon {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
//user page user popover
|
||||
$('.comments-load-more').on("click", function(){
|
||||
var _this = $(this).data("flag");
|
||||
show_replies(_this);
|
||||
$(this).hide();
|
||||
console.log('nae g ');
|
||||
});
|
||||
</script>
|
51
upload/styles/cb_28/layout/blocks/common/playlist.html
Normal file
|
@ -0,0 +1,51 @@
|
|||
<!-- Add To Playlist This {$type} -->
|
||||
<div id="playlist_form" class="action_box" >
|
||||
<div class="form_container" align="center">
|
||||
<div class="form_result" id="playlist_form_result" style="display:none"></div>
|
||||
<form id="add_playlist_form" name="playlist_form" method="post" action="" class="">
|
||||
<p>{lang("Please select playlist name from following")}</p>
|
||||
<div class="form-group">
|
||||
<select name="playlist_id" id="playlist_id" class="form-control">
|
||||
{if $playlists}
|
||||
{foreach $playlists as $playlist}
|
||||
<option value="{$playlist.playlist_id}">{$playlist.playlist_name}</option>
|
||||
{/foreach}
|
||||
{else}
|
||||
<option value="" placeholder>--- {lang("No playlist exists")} ---</option>
|
||||
{/if}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
|
||||
<input type="button" class="btn mtm btn-block btn-primary" name="add_to_playlist" value="Add to playlist" class="cb_button" onclick="add_playlist('add','{$params.id}','add_playlist_form','{$type}')">
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
|
||||
<a class="btn btn-block mtm btn-success" href="javascript:void(0)" onClick="$('#add_playlist_form').css('display','none');$('#new_playlist_form').css('display','block')">{lang('create new playlist')}</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<form id="new_playlist_form" name="new_playlist_form" method="post" action="" class="" style="display:none">
|
||||
<div class="form-group">
|
||||
<label for="playlist_name">{lang("Enter playlist name")}</label>
|
||||
<input name="playlist_name" type="text" class="form-control" id="playlist_name" value="">
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
|
||||
<input type="button" name="add_new_playlist" value="Add new playlist" class="btn mtm btn-block btn-success cb_button" onclick="add_playlist('new','{$params.id}','new_playlist_form','{$type}')">
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
|
||||
<a href="javascript:void(0)" class="btn btn-block mtm btn-primary" onClick="$('#add_playlist_form').css('display','block');$('#new_playlist_form').css('display','none')">Select from list </a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Add To Playlist This {$type} -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
53
upload/styles/cb_28/layout/blocks/common/rating.html
Normal file
|
@ -0,0 +1,53 @@
|
|||
<!-- CB like and dislike section -->
|
||||
<div class="rating clearfix">
|
||||
<div class="clearfix rating-holder">
|
||||
<div class="like-dislike">
|
||||
<a {if !$disable} onclick="rate('{$id}','5','{$type}')"{/if} href="javascript:void(0)" class="btn-like">Likes <i></i></a>
|
||||
<span>{$likes} Likes</span>
|
||||
</div>
|
||||
|
||||
<div id="circle"></div>
|
||||
|
||||
<div class="like-dislike">
|
||||
<a {if !$disable} onclick="rate('{$id}','1','{$type}')"{/if} href="javascript:void(0)" class="btn-dislike"><i></i> Dislike</a>
|
||||
<span>{$dislikes} Dislike</span>
|
||||
</div>
|
||||
</div>
|
||||
{if $rating_msg}
|
||||
<div id="rating_result_container" class="like-error clearfix">
|
||||
{$rating_msg}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var _percent = 0;
|
||||
|
||||
{if $perc}
|
||||
_percent = '{$perc}';
|
||||
_percent = parseInt(_percent);
|
||||
{/if}
|
||||
|
||||
var _numb = parseInt(_percent);
|
||||
if ( _numb > 49 )
|
||||
$('._percentage').addClass('likes_perc_more');
|
||||
else
|
||||
$('._percentage').addClass('likes_perc_less');
|
||||
|
||||
function updateLikeCircle(pre) {
|
||||
|
||||
if(pre)
|
||||
_percent=pre;
|
||||
|
||||
console.log('hello '+_percent);
|
||||
$( '#circle' ).progressCircle({
|
||||
nPercent : _percent,
|
||||
showPercentText : _percent,
|
||||
thickness : 5,
|
||||
/*circleSize : 50*/
|
||||
});
|
||||
}
|
||||
|
||||
updateLikeCircle();
|
||||
|
||||
</script>
|
24
upload/styles/cb_28/layout/blocks/common/report.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
<!-- Flag This {$type} -->
|
||||
<div id="flag_item" class="action_box" style="">
|
||||
<div class="form_container">
|
||||
<div class="form_result" id="flag_form_result" style="display:none"></div>
|
||||
|
||||
<form id="flag_form" name="flag_form" method="post" action="#">
|
||||
<div class="alert alert-info">
|
||||
{sprintf(lang("Please select the category that most closely reflects your concern about the %s, so that we can review it and determine whether it violates our Community Guidelines or isn't appropriate for all viewers. Abusing this feature is also a violation of the Community Guidelines, so don't do it."),$params.type)}
|
||||
</div>
|
||||
{$flag_options=get_flag_options($type)}
|
||||
|
||||
<div class="form-group">
|
||||
<label for="flag_type">{lang("Choose a category")}</label>
|
||||
<select class="form-control" name="flag_type" id="flag_type">
|
||||
{foreach from=$flag_options key=key item=item}
|
||||
<option value="{$key}">{$item}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
<input type="button" name="send_content" value="{sprintf(lang("Flag this %s"),$params.type)}" class="btn btn-primary" onclick="flag_object('flag_form','{$params.id}','{$params.type}')"/>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Flag This {$type} -->
|
100
upload/styles/cb_28/layout/blocks/common/share.html
Normal file
|
@ -0,0 +1,100 @@
|
|||
<!-- Share This {$type} -->
|
||||
{$type=$params.type}
|
||||
<div id="share_form_div" class="action_box share_form clearfix">
|
||||
{if $params.type=='v' || $params.type =='video' || $params.type =='Video'}
|
||||
<div class="clearfix">
|
||||
{if $Cbucket->configs.video_embed==1 && $vdo.allow_embedding=='yes'}
|
||||
<div class="form-group">
|
||||
<label for="embed_code">{lang code='embed_code'}</label>
|
||||
<textarea name="embed_code" id="embed_code" onclick="this.select()" class="form-control">{if $Cbucket->configs.embed_type=='iframe'}{$cbvid->embed_code($vdo,'iframe')|htmlspecialchars}{else}{$cbvid->embed_code($vdo,'embed_object')|htmlspecialchars}{/if}</textarea>
|
||||
|
||||
<input type="hidden" name="alternate_embed_code" id="alternate_embed_code" value="{if $Cbucket->configs.embed_type=='iframe'}{$cbvid->embed_code($vdo,'embed_object')|htmlspecialchars}{else}{$cbvid->embed_code($vdo,'iframe')|htmlspecialchars}{/if}">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>{lang('Player size')}</label>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="player_size" value="default" id="player_size_0" checked="checked" onclick="{$updateEmbedCode}('{$Cbucket->configs.embed_player_width}' ,'{$Cbucket->configs.embed_player_height}',autoPlayEmbed)">
|
||||
{lang('Default')} ({$Cbucket->configs.embed_player_width}x{$Cbucket->configs.embed_player_height})
|
||||
</label>
|
||||
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="player_size" value="small" id="player_size_1" onclick="{$updateEmbedCode}('440','272',autoPlayEmbed)">
|
||||
{lang('Small')} (440x272)
|
||||
</label>
|
||||
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="player_size" value="medium" id="player_size_2" onclick="{$updateEmbedCode}('540','334',autoPlayEmbed)">
|
||||
{lang('Medium')} (540x334)
|
||||
</label>
|
||||
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="player_size" value="large" id="player_size_3" onclick="{$updateEmbedCode}('600','370',autoPlayEmbed)">
|
||||
{lang('Large')} (600x370)
|
||||
</label>
|
||||
</div>
|
||||
|
||||
{if $pakplayer=='yes'}
|
||||
<div class="form-group">
|
||||
Autoplay video :
|
||||
<label>
|
||||
<input type="radio" name="autoplay" value="yes" onclick="{$updateEmbedCode}(embedPlayerWidth,embedPlayerHeight,'yes')" {if $Cbucket->configs.autoplay_embed=='yes'} checked{/if}>Yes
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" name="autoplay" value="no" onclick="{$updateEmbedCode}(embedPlayerWidth,embedPlayerHeight,'no')" {if $Cbucket->configs.autoplay_embed!='yes'} checked{/if}>No
|
||||
</label>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="form-group">
|
||||
<label>{lang('Embed type')}</label>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="embed_type" value="iframe" onclick="switchEmbedCode('iframe')" {if $Cbucket->configs.embed_type=='iframe'} checked{/if}>Iframe
|
||||
</label>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="embed_type" value="iframe" onclick="switchEmbedCode('embed_object')" {if $Cbucket->configs.embed_type=='embed_object'} checked{/if}>Embed Object
|
||||
</label>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="action_box_title"></div>
|
||||
<div class="form-group">
|
||||
<label for="link_video">{lang code='link_this_video'}</label>
|
||||
<input type="text" name="link_video" id="link_video" value="{videoLink vdetails=$vdo}" onclick="this.select()" class="form-control">
|
||||
</div>
|
||||
<div class="action_box_title"></div>
|
||||
{/if}
|
||||
|
||||
<div class="form_container">
|
||||
<div id="share_form_results" class="form_result" style="display:none"></div>
|
||||
<form id="cb_share_item" name="share_form" method="post" action="">
|
||||
<div class="form-group">
|
||||
<label for="ShareUsers">{sprintf(lang('share_this_type'),$type)}</label>
|
||||
<input name="users" type="text" class="form-control" id="ShareUsers" placeholder="{lang code='seperate_usernames_with_comma'}">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="message">{lang('Message')}
|
||||
<span class="example">{lang('optional')}</span>
|
||||
</label>
|
||||
<textarea name="message" id="message" rows="5" class="form-control"></textarea>
|
||||
<input name="objectid" id="objectid" type="hidden" value="{$params.id}">
|
||||
</div>
|
||||
<div class="form-group text-right">
|
||||
<input type="submit" name="send_content" value="Send" class="btn btn-primary">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
{ANCHOR place="video_sharing_options" data=$vdo}
|
||||
</div>
|
||||
<!-- Share This {$type} -->
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('body').on('submit','#cb_share_item',function(e){
|
||||
e.preventDefault();
|
||||
_cb.submit_share_form('share_form','{$params.type}');return false;
|
||||
})
|
||||
})
|
||||
</script>
|
|
@ -0,0 +1,4 @@
|
|||
<a href="{videoLink($video)}">
|
||||
<img class="img-responsive" src="{getThumb vdetails=$video size='665x350'}" >
|
||||
<h2 class="caption"><i class="fa fa-play"></i>{$video.title|truncate:55}</h2>
|
||||
</a>
|
|
@ -0,0 +1,5 @@
|
|||
<div onclick="get_bx_video('{$video.videoid}')" class="featured_vid_con2 clearfix">
|
||||
<div class="video_thumb2">
|
||||
<img src="{getThumb vdetails=$video}" width="160" height="90" border="0" {ANCHOR place="video_thumb" data=$video} />
|
||||
</div> <!--VIDEO_THUMB END-->
|
||||
</div>
|
|
@ -0,0 +1,15 @@
|
|||
<div onclick="get_ep_video('{$video.videoid}')" class="featured_vid_con clearfix">
|
||||
<div class="video_thumb">
|
||||
<img src="{getThumb vdetails=$video size=112x70}" {ANCHOR place="video_thumb" data=$video}>
|
||||
<time datetime="2016-15-03" class="duration">
|
||||
{if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}</time>
|
||||
</div> <!--VIDEO_THUMB END-->
|
||||
<div class="details_block">
|
||||
<strong class="title"><a href="#">{$video.title|truncate:50}</a></strong>
|
||||
<span class="author">by <a href="{$userquery->profile_link($video)}">{$video.username}</a></span>
|
||||
<div class="views-date">
|
||||
<span>{$video.views} views</span>
|
||||
<time datetime="2016-15-03" class="date">{$video.date_added|niceTime}</time>
|
||||
</div>
|
||||
</div>
|
||||
</div> <!--DETAILS_BLOCK END-->
|
|
@ -0,0 +1,26 @@
|
|||
<!-- <div class="feature_heading">{$video.title|truncate:35}</div> //-->
|
||||
<div>
|
||||
{FlashPlayer vdetails = $video height='400' width='100%' }
|
||||
</div>
|
||||
|
||||
<div class="featured_video_details">
|
||||
<div style="float:left; width:100%">
|
||||
{*$video.description|description|truncate:35*}
|
||||
</div>
|
||||
|
||||
<div style="float:left; width:40%;">
|
||||
<!--
|
||||
<div class="vid_stats" style="float:left; width:75%; margin:0; padding:0; margin-top:-7px;">
|
||||
<ul>
|
||||
<li class="views_icon" style="float:left"><strong>{$video.views|number_format}</strong></li>
|
||||
<li class="duration_icon" style="float:left"><strong>{$video.duration|SetTime}</strong></li>
|
||||
<li class="comments_icon" style="float:left"><strong>{$video.comments_count|number_format}</strong></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div style="float:right; width:50px; text-align:center">{show_rating class='rating' rating=$video.rating ratings=$video.rated_by total='10'}</div>
|
||||
//-->
|
||||
</div>
|
||||
|
||||
<div class="clearfix"></div>
|
||||
<!-- - <a href="{*videoLink vdetails=$video*}">{*lang code='view_video'*}</a> //-->
|
||||
</div>
|
22
upload/styles/cb_28/layout/blocks/editor_pick/video_box.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
<div class="feature_heading2">{$video.title|truncate:35}</div>
|
||||
<div class="featured_video_player2">
|
||||
{FlashPlayer vdetails = $video height='250' width='440' }
|
||||
</div>
|
||||
<div class="featured_video_details2">
|
||||
<div style="float:left; width:70%">
|
||||
{$video.description|description|truncate:35}</div>
|
||||
|
||||
<div style="float:left; width:30%;">
|
||||
<div class="vid_stats" style="float:left; width:75%; margin:0; padding:0; margin-top:-7px;">
|
||||
<ul>
|
||||
<li class="views_icon" style="float:left"><strong>{$video.views|number_format}</strong></li>
|
||||
<li class="duration_icon" style="float:left"><strong>{$video.duration|SetTime}</strong></li>
|
||||
<li class="comments_icon" style="float:left"><strong>{$video.comments_count|number_format}</strong></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div style="float:right; width:50px; text-align:center">{show_rating class='rating' rating=$video.rating ratings=$video.rated_by total='10'}</div>
|
||||
</div>
|
||||
|
||||
<div class="clearfix"></div>
|
||||
<!-- - <a href="{*videoLink vdetails=$video*}">{*lang code='view_video'*}</a> //-->
|
||||
</div>
|
108
upload/styles/cb_28/layout/blocks/feed.html
Normal file
|
@ -0,0 +1,108 @@
|
|||
|
||||
{literal}
|
||||
<script>
|
||||
// function deleteFeed(uid,file)
|
||||
// {
|
||||
// $('#feedload-'+file).html(loading_img);
|
||||
// $.post(page,
|
||||
// {mode:"delete_feed",uid:uid,file:file},
|
||||
// function(data)
|
||||
// {
|
||||
// $('#feedload-'+file).html('');
|
||||
// if(data.msg)
|
||||
// $('#feed-'+file).html('<div class="cb_error">'+data.msg+"</div>");
|
||||
// else
|
||||
// $('#feed-'+file).prepend('<div class="cb_error" style="color:#ed0000">'+data.err+"</div>");
|
||||
// },
|
||||
// 'json');
|
||||
// }
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="feads clearfix" id="feed-{$feed.file}">
|
||||
<div class="avatar">
|
||||
<a href="{$userquery->profile_link($feed.user)}">
|
||||
<img class="img-circle" src="{avatar details=$feed.user size='55x55'}">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="text">
|
||||
{if !$feed.action_title}
|
||||
<a href="{$userquery->profile_link($feed.user)}">{$feed.user.username}</a>
|
||||
{else}
|
||||
<p>{$feed.action_title}</p>
|
||||
{/if}
|
||||
<span class="time"><i class="glyphicon glyphicon-time"></i> {$feed.datetime}</span>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="clearfix">
|
||||
|
||||
<!--<div class="row">-->
|
||||
<!--<div class="col-md-14">-->
|
||||
<!--<div class="col-md-12 pull-left font">-->
|
||||
<!--<a href="{$userquery->profile_link($feed.user)}" title="{$feed.user.username}">-->
|
||||
<!--<img class="img-circle" src="{avatar details=$feed.user size='small'}" height="50" width="50" style="border: solid; border-color: #D7DFEE;">-->
|
||||
<!--<!–<img src="{avatar details=$feed.user size='small'}" alt="{$feed.user.username}" class="img-circle" />–>-->
|
||||
<!--</a>-->
|
||||
<!--{if !$feed.action_title}-->
|
||||
<!--<a href="{$userquery->profile_link($feed.user)}">{$feed.user.username}</a>-->
|
||||
<!--{else}-->
|
||||
<!--<small class="small">{$feed.action_title}</small>-->
|
||||
<!--{/if}-->
|
||||
<!--<span class="padding36 new1"><i class="glyphicon glyphicon-time"></i> {$feed.datetime}</span>-->
|
||||
<!--<hr>-->
|
||||
<!--</div>-->
|
||||
<!--<!–<div class="feedTitle col-md-12 pull-right">–>-->
|
||||
|
||||
<!--<!–<span id="feedload-{$feed.file}"></span>–>-->
|
||||
<!--<!–<!–{if $u.userid==userid() || has_access('admin_access',true)}–>–>-->
|
||||
<!--<!–<!–<a href="javascript:void(0)" onclick="deleteFeed('{$feed.user.userid}','{$feed.file}')" class="btn btn-primary btn-xs">–>–>-->
|
||||
<!--<!–<!–delete–>–>-->
|
||||
<!--<!–<!–</a>–>–>-->
|
||||
<!--<!–<!–{/if}–>–>-->
|
||||
<!--<!–<!–<div class="feedState pull-right">–>–>-->
|
||||
<!--<!–<!–{if $feed.links}–>–>-->
|
||||
<!--<!–<!–{foreach from=$feed.links item=link}–>–>-->
|
||||
<!--<!–<!–<span class="show">–>–>-->
|
||||
<!--<!–<!–{if $link.link}<a class="font" href="{$link.link}">{/if}{$link.text}{if $link.link}</a>{/if}–>–>-->
|
||||
<!--<!–<!–</span>–>–>-->
|
||||
<!--<!–<!–{/foreach}–>–>-->
|
||||
<!--<!–<!–{/if}–>–>-->
|
||||
<!--<!–<!–</div>–>–>-->
|
||||
<!--<!–<hr>–>-->
|
||||
<!--<!–</div>–>-->
|
||||
|
||||
<!--</div>-->
|
||||
|
||||
<!--<div class="col-md-9">-->
|
||||
<!--<div class="feed">-->
|
||||
<!--<div class="feedContent">-->
|
||||
<!--{if $feed.thumb}-->
|
||||
<!--{if $feed.link}-->
|
||||
<!--<a href="{$feed.link}">-->
|
||||
<!--{/if}-->
|
||||
<!--<!–<img src="{$feed.thumb}" class="img-thumbnail"> –>-->
|
||||
<!--{if $feed.link}-->
|
||||
<!--</a>-->
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--<!–<div class="feedText">–>-->
|
||||
<!--<!–{if $feed.link}–>-->
|
||||
<!--<!–<a href="{$feed.link}">{$feed.title}</a>–>-->
|
||||
<!--<!–{elseif $feed.title}–>-->
|
||||
<!--<!–{$feed.title}–>-->
|
||||
<!--<!–{/if}–>-->
|
||||
<!--<!–{if $feed.object_content}–>-->
|
||||
<!--<!–<div class="objectContent">–>-->
|
||||
<!--<!–{$feed.object_content}–>-->
|
||||
<!--<!–</div>–>-->
|
||||
<!--<!–{/if}–>-->
|
||||
<!--<!–</div>–>-->
|
||||
<!--</div>-->
|
||||
|
||||
<!--</div>-->
|
||||
<!--</div>-->
|
||||
<!--</div>-->
|
23
upload/styles/cb_28/layout/blocks/group.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
<div class="clearfix group-tab group-result col-lg-3 col-md-3 col-sm-3 col-xs-6">
|
||||
<div class="clearfix">
|
||||
<div class="group-thumb">
|
||||
<img src="{$cbgroup->get_group_thumb($group)}" width="50" height="50"/>
|
||||
</div>
|
||||
<div class="group-info">
|
||||
<div class="clearfix group-title">
|
||||
<a href="{$baseurl}/view_group.php?url={$group.group_url}" target="_blank"> {$group.group_name}</a>
|
||||
</div>
|
||||
<div class="labels clearfix">
|
||||
{if $group.featured=='yes'}<span class="label label-primary">Featured{else}{/if}</span>
|
||||
<span class="label label-danger"><span>Members:</span>{$group.total_members|number_format}</span>
|
||||
<span class="label {if $group.active=='yes'}label-success{else}label-warning{/if}"><span></span>{if
|
||||
$group.active=="yes"} Active{else}Inactive{/if}</span>
|
||||
<span class="label label-info"> {if $group.group_privacy =="0"}Public{elseif $group.group_privacy =="1"}Private{else}Invited{/if}</span>
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
{$user = $userquery->get_user_details($group.userid)}
|
||||
Owner: <a href="{$userquery->profile_link($user)}">{$group.userid|get_username}</a></strong>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
14
upload/styles/cb_28/layout/blocks/group/add_topic.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
<div class="add_topic_container">
|
||||
<form name="form1" method="post" action="{group_link details=$group type=view_topics}" class="topic_form">
|
||||
{assign var='form_fields' value=$cbgroup->load_add_topic_form_fields()}
|
||||
{foreach from=$form_fields item=field}
|
||||
<div class="form-group">
|
||||
<label for="{$field.id}">{$field.title}</label>
|
||||
<small class="show">{$field.hint_1}</small>
|
||||
{$field.class = 'form-control'}
|
||||
{$formObj->createField($field)}
|
||||
</div>
|
||||
{/foreach}
|
||||
<button name="add_topic" id="add_topic" value="submit" class="btn btn-primary">{lang code='grp_add_new_topic'}</button>
|
||||
</form>
|
||||
</div>
|
17
upload/styles/cb_28/layout/blocks/group/group.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 group-item">
|
||||
<a href="{group_link details=$group}" class="avatar">
|
||||
<img src="{$cbgroup->get_group_thumb($group)}" class="img-responsive group_thumb" style="">
|
||||
</a>
|
||||
<div class="text">
|
||||
<h2><a href="{group_link details=$group}">{$group.group_name}</a></h2>
|
||||
<p>{$group.group_description}</p>
|
||||
<div class="clearfix">
|
||||
<span class="icon-friends"></span> {$group.total_members|number_format}
|
||||
{lang code='members'}
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
{$join_link=$cbgroup->group_opt_link($group,'join'," class='btn btn-primary btn-sm line-height-1' ")}
|
||||
{if $join_link}{$join_link}{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
156
upload/styles/cb_28/layout/blocks/group/group_header.html
Normal file
|
@ -0,0 +1,156 @@
|
|||
<!-- GROUP HEADER STARTS HERE -->
|
||||
|
||||
<div class="group_top_cont clearfix">
|
||||
<!-- Group Left Column -->
|
||||
<div class="grp_left_column">
|
||||
<div class="group_thumb_cont" > <a href="{group_link details=$group}"><img src="{$cbgroup->get_group_thumb($group)}" border="0" /></a>
|
||||
</div>
|
||||
<div class="group_option_container">
|
||||
<span class="grp_opt_title">{lang code='group_options'}</span>
|
||||
<ul>
|
||||
{assign var=join_link value=$cbgroup->group_opt_link($group,'join')}
|
||||
{if $join_link}<li>{$join_link}</li>{/if}
|
||||
|
||||
{assign var=invite_link value=$cbgroup->group_opt_link($group,'invite')}
|
||||
{if $invite_link}<li>{$invite_link}</li>{/if}
|
||||
|
||||
{assign var=leave_link value=$cbgroup->group_opt_link($group,'leave')}
|
||||
{if $leave_link}<li>{$leave_link}</li>{/if}
|
||||
|
||||
{if isSectionEnabled('videos')}
|
||||
{assign var=add_videos_link value=$cbgroup->group_opt_link($group,'add_videos')}
|
||||
{if $add_videos_link}<li>{$add_videos_link}</li>{/if}
|
||||
{/if}
|
||||
|
||||
{if isSectionEnabled('videos')}
|
||||
{assign var=manage_videos_link value=$cbgroup->group_opt_link($group,'manage_videos')}
|
||||
{if $manage_videos_link}<li>{$manage_videos_link}</li>{/if}
|
||||
{/if}
|
||||
|
||||
{if isSectionEnabled('channels')}
|
||||
{assign var=manage_members_link value=$cbgroup->group_opt_link($group,'manage_members')}
|
||||
{if $manage_members_link}<li>{$manage_members_link}</li>{/if}
|
||||
{/if}
|
||||
|
||||
{assign var=edit_group_link value=$cbgroup->group_opt_link($group,'edit_group')}
|
||||
{if $edit_group_link}<li>{$edit_group_link}</li>{/if}
|
||||
|
||||
{assign var=remove_group_link value=$cbgroup->group_opt_link($group,'remove_group')}
|
||||
{if $remove_group_link}<li>{$remove_group_link}</li>{/if}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- Group Left Column End-->
|
||||
<!-- Group Right Column -->
|
||||
<div class="grp_right_column">
|
||||
<div class="group_title">
|
||||
<div class="group_detail_tabs clearfix">
|
||||
<ul>
|
||||
<li class="selected" onclick="get_group_info('#info',this)">{lang code='info'}</li>
|
||||
{if isSectionEnabled('channels') && $isviewable}
|
||||
<li onclick="get_group_info('#members',this)">{lang code='members'}</li>
|
||||
{/if}
|
||||
{if isSectionEnabled('videos') && $isviewable}
|
||||
<li onclick="get_group_info('#gpvideos',this)">{lang code='videos'}</li>
|
||||
{/if}
|
||||
<li onclick="get_group_info('#flag_group',this); $('#flag_item').slideDown()">{lang code='report_this'}</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="group_details">
|
||||
|
||||
|
||||
<div id="group_info_cont">
|
||||
<!-- Group Information-->
|
||||
<div id="info" class="grp_info">
|
||||
|
||||
<div class="info_cont clearfix">
|
||||
<div class="info_title"><span onclick="$('#basic_info').slideToggle()">{lang code='basic_info'}</span></div>
|
||||
<div id="basic_info">
|
||||
<span><span>{lang code='grp_name_title'} </span> <span>{$group.group_name}</span></span>
|
||||
<div class="clear"></div>
|
||||
{assign var=owner value=$userquery->get_user_details($group.userid)}
|
||||
<span><span>{lang code='group_owner'} </span> <span><a href="{$userquery->profile_link($owner)}">{$owner.username}</a></span></span>
|
||||
<div class="clear"></div>
|
||||
|
||||
<span><span>{lang code='total_mems'} </span> <span>{$group.total_members|number_format}</span></span>
|
||||
<div class="clear"></div>
|
||||
|
||||
<span><span>{lang code='com_total_vids'} </span> <span>{$group.total_videos|number_format}</span></span>
|
||||
<div class="clear"></div>
|
||||
|
||||
<span><span>{lang code='total_topics'} </span> <span>{$group.total_topics|number_format}</span></span>
|
||||
<div class="clear"></div>
|
||||
|
||||
<span><span>{lang code='views'} </span> <span>{$group.total_views|number_format}</span></span>
|
||||
<div class="clear"></div>
|
||||
|
||||
<span><span>{lang code='grp_url'}</span> <span>
|
||||
<input type="text" value="{group_link details=$group}" class="grp_url" onclick="this.select()"/></span></span>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="info_cont">
|
||||
<div class="info_title"><span onclick="$('#more_details').slideToggle()">{lang code='more_details'}</span></div>
|
||||
<div id="more_details" style="display:none">
|
||||
<span><span>{lang code='vdo_desc'} </span> <span>{$group.group_description}</span></span>
|
||||
<div class="clear"></div>
|
||||
|
||||
<span><span>{lang code='tags'} </span> <span>{$group.group_tags|tags:group}</span></span>
|
||||
<div class="clear"></div>
|
||||
|
||||
<span><span>{lang code='category'} </span> <span>{$group.category|categories:group}</span></span>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Group Information-->
|
||||
|
||||
<!-- Group members-->
|
||||
<div id="members" class="grp_info" style="display:none">
|
||||
{assign var=users_items_group_page value=func->config(users_items_group_page)}
|
||||
{assign var=members value=$cbgroup->get_members($group.group_id,"yes",$users_items_group_page)}
|
||||
{if $members}
|
||||
{foreach from=$members item=member}
|
||||
{include file="$style_dir/blocks/user.html" user=$member block_type='medium'}
|
||||
{/foreach}
|
||||
{/if}
|
||||
<div class="clear"></div>
|
||||
<div align="right"><a href="{group_link details=$group type='view_members'}">{lang code='view_all_mems'}</a></div>
|
||||
</div>
|
||||
<!-- Group members-->
|
||||
|
||||
<!-- Group videos-->
|
||||
<div id="gpvideos" class="grp_info" style="display:none">
|
||||
{assign var=gpvidlimit value=func->config(videos_items_grp_page)}
|
||||
{assign var=gpvids value=$cbgroup->get_group_videos($group.group_id,'yes',$gpvidlimit)}
|
||||
{if $gpvids}
|
||||
{foreach from=$gpvids item=video}
|
||||
{include file="$style_dir/blocks/video.html" video=$video video_view="grid_view"}
|
||||
{/foreach}
|
||||
{/if}
|
||||
<div class="clear"></div>
|
||||
<div align="right"><a href="{group_link details=$group type='view_videos'}">{lang code='view_all_vids'}</a></div>
|
||||
</div>
|
||||
<!-- Group videos-->
|
||||
|
||||
<!-- Report This Group -->
|
||||
<div id="flag_group" class="grp_info" style="display:none">
|
||||
{show_flag_form id=$group.group_id type=Group}
|
||||
</div>
|
||||
<!-- Report This Group -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Group Right Column Ends-->
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- GROUP HEADER ENDS HERE -->
|
82
upload/styles/cb_28/layout/blocks/group/group_left.html
Normal file
|
@ -0,0 +1,82 @@
|
|||
<div class="groupLeftSide">
|
||||
<div class="groupThumb" align="center">
|
||||
<h3>{$group.group_name}</h3>
|
||||
<span class="groupThumbBG"><a href="{group_link details=$group}"><img src="{$cbgroup->get_group_thumb($group)}" border="0" /></a></span>
|
||||
</div>
|
||||
|
||||
{isGroupAdmin
|
||||
groupid = $group.group_id
|
||||
group = $group
|
||||
user = $userquery->udetails
|
||||
uid = $userquery->udetails.userid
|
||||
checkowner = 'yes'
|
||||
assign = isGroupAdmin}
|
||||
|
||||
|
||||
{if $isGroupAdmin}
|
||||
<div class="channelLegend">Admin Links</div>
|
||||
<ul class="channel_action_links channelBox clearfix">
|
||||
{if isSectionEnabled('videos')}
|
||||
{assign var=manage_videos_link value=$cbgroup->group_opt_link($group,'manage_videos')}
|
||||
{if $manage_videos_link}<li>{$manage_videos_link}</li>{/if}
|
||||
{/if}
|
||||
|
||||
{if isSectionEnabled('channels')}
|
||||
{assign var=manage_members_link value=$cbgroup->group_opt_link($group,'manage_members')}
|
||||
{if $manage_members_link}<li>{$manage_members_link}</li>{/if}
|
||||
{/if}
|
||||
|
||||
{assign var=edit_group_link value=$cbgroup->group_opt_link($group,'edit_group')}
|
||||
{if $edit_group_link}<li onClick="groupsAjax(event,this);">{$edit_group_link}</li>{/if}
|
||||
|
||||
{assign var=remove_group_link value=$cbgroup->group_opt_link($group,'remove_group')}
|
||||
{if $remove_group_link}<li>{$remove_group_link}</li>{/if}
|
||||
</ul>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="well well-sm margin-top-25">
|
||||
<h5 class="nomargin">{lang code="Group Members"}</h5>
|
||||
<div class="friendsBox clearfix marginBottom">
|
||||
{assign var=users_items_group_page value=config(users_items_group_page)}
|
||||
{assign var=members value=$cbgroup->get_members($group.group_id,"yes",$users_items_group_page)}
|
||||
{if $members}
|
||||
<div class="marginBottom clearfix">
|
||||
{foreach from=$members item=member}
|
||||
{include file="$style_dir/blocks/user.html" user=$member block_type='friends'}
|
||||
{/foreach}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul class="list-group">
|
||||
<a href="#" class="list-group-item active">
|
||||
{lang code="Options"}
|
||||
</a>
|
||||
{assign var=join_link value=$cbgroup->group_opt_link($group,'join'," class='' ")}
|
||||
{if $join_link}
|
||||
<li class="list-group-item">{$join_link}</li>
|
||||
{/if}
|
||||
|
||||
{assign var=invite_link value=$cbgroup->group_opt_link($group,'invite')}
|
||||
{if $invite_link}
|
||||
{* onClick="groupsAjax(event,this);" *}
|
||||
<li class="list-group-item">{$invite_link}</li>
|
||||
{/if}
|
||||
|
||||
{assign var=leave_link value=$cbgroup->group_opt_link($group,'leave')}
|
||||
{if $leave_link}
|
||||
<li class="list-group-item">{$leave_link}</li>
|
||||
{/if}
|
||||
{if isSectionEnabled('videos')}
|
||||
{assign var=add_videos_link value=$cbgroup->group_opt_link($group,'add_videos')}
|
||||
{if $add_videos_link}
|
||||
<li class="list-group-item">{$add_videos_link}</li>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
|
27
upload/styles/cb_28/layout/blocks/group/group_right.html
Normal file
|
@ -0,0 +1,27 @@
|
|||
<div class="well well-sm clearfix">
|
||||
<h5 class="nomargin">{lang code="Suggested Groups"}</h5>
|
||||
{foreach $groups as $key => $group}
|
||||
<div class="grid_view list_view clearfix user_on_right">
|
||||
<div id="group-" class="user_block">
|
||||
<div class="avatar pull-left">
|
||||
<a href="{group_link details=$group}">
|
||||
<img src="{$cbgroup->get_group_thumb($group)}" class="img-responsive" style="" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="prof_title small">
|
||||
|
||||
<h5 class="nomargin "><a class="theme_color" href="{group_link details=$group}">{$group.group_name}</a></h5>
|
||||
<div class="list-unstyled small">
|
||||
{$group.total_members|number_format}
|
||||
{lang code='members'}
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
{$join_link=$cbgroup->group_opt_link($group,'join'," class='btn btn-primary btn-sm line-height-1' ")}
|
||||
{if $join_link}{$join_link}{/if}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
41
upload/styles/cb_28/layout/blocks/group/group_topics.html
Normal file
|
@ -0,0 +1,41 @@
|
|||
<!-- Getting list of topics -->
|
||||
{if !$topics}
|
||||
{assign var=topics value=$cbgroup->get_group_topics($group.group_id)}
|
||||
{/if}
|
||||
|
||||
{if $topics}
|
||||
<ul style="padding-left:0px; list-style:none;">
|
||||
{foreach from=$topics item=topic}
|
||||
{assign var=user value=$userquery->get_user_details($topic.userid)}
|
||||
{if $topic.last_poster}
|
||||
{assign var=last_poster value=$userquery->get_user_details($topic.last_poster)}
|
||||
{else}
|
||||
{assign var=last_poster value=''}
|
||||
{/if}
|
||||
<li class="topicRow clearfix" style="border-bottom:1px solid #ccc; padding:15px 0;">
|
||||
<!-- <div class="topicStarterAvatar moveL">
|
||||
<i class="topicStarterAvatarBG" style="background:url({avatar details=$user }) center no-repeat; width:48px; height:48px;"><a href="{$userquery->profile_link($user)}">{$user.username}</a></i>
|
||||
</div>
|
||||
|
||||
<div class="itemdiv">
|
||||
<div class="user">
|
||||
<a href="{$userquery->profile_link($user)}">
|
||||
<span>{$user.username}</span>
|
||||
<img class="img-circle" src="{avatar details=$user }">
|
||||
|
||||
</a>
|
||||
</div>
|
||||
</div>-->
|
||||
<div class="moveR" style="width:90%;">
|
||||
<!-- <h2 class="topicStarter" style="margin:0;"><a href="{$userquery->profile_link($user)}">{$user.username}</a></h2> -->
|
||||
<div class="topicPreviewContainer clearfix">
|
||||
<h4 class="topicTitle"><a href="{$cbgroup->topic_link($topic)}">{$topic.topic_title}</a></h4>
|
||||
<div style="height:2px;"></div>
|
||||
<div class="topicPreview">{$topic.topic_post|description|strip_tags|truncate:100}</div>
|
||||
</div>
|
||||
<span style="font:normal 10px Tahoma; color:#464646">{$topic.date_added|niceTime} – Added by <a href="{$userquery->profile_link($user)}"> {$user.username} </a> –{if $last_poster}{lang code="last_reply"} {lang code="by"} <a href="{$userquery->profile_link($last_poster)}">{$last_poster.username}</a> ({$topic.last_post_time|niceTime}){else}<a href="{$cbgroup->topic_link($topic)}">Participate</a>{/if} {if has_access('admin_access') || $topic.userid == $userquery->userid} – <a href="javascript:void(0)" id="delete_topic-{$topic.topic_id}" onmousedown="delete_item('delete_topic','{$topic.topic_id}','{lang code="tp_del_confirm"}','?mode=view_topics&topic_action=delete&topic_id={$topic.topic_id}&url={$group.group_url}');">Delete</a>{/if}</span>
|
||||
</div>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
|
@ -0,0 +1,107 @@
|
|||
{if $mode ==''}{assign var='mode' value='manage'}{/if}
|
||||
{if $display_type == "" || $display_type == "collections"}
|
||||
|
||||
<tr style="font-size: 0.9em">
|
||||
<td width="25">
|
||||
<input type="checkbox" name="check_col[]" id="check_col-{$collection.collection_id}" value="{$collection.collection_id}" />
|
||||
<label for="checkbox"></label>
|
||||
</td>
|
||||
<td>
|
||||
<p>{$collection.collection_name}</p>
|
||||
<div class="btn-group show">
|
||||
<a class="btn btn-primary btn-sm" href="{$cbcollection->collection_links($collection,'view')}">
|
||||
{lang code="view"}
|
||||
</a>
|
||||
<a class="btn btn-primary btn-sm" href="?mode=edit_collection&cid={$collection.collection_id}">
|
||||
{lang("edit")}
|
||||
</a>
|
||||
<a class="btn btn-primary btn-sm" href="?mode=manage_items&cid={$collection.collection_id}&type={$collection.type}">
|
||||
{lang("manage_items")}
|
||||
</a>
|
||||
<a class="btn btn-primary btn-sm" href="javascript:void(0)" onmousedown="delete_item('delete_coll','{$collection.collection_id}','{lang code="confirm_collection_delete"}','?mode={$mode}&delete_collection={$collection.collection_id}');" id="delete_coll-{$collection.collection_id}">
|
||||
{lang("delete")}
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
<td width="100">{$collection.date_added|date_format}</td>
|
||||
<td width="100">{$collection.views|number_format}</td>
|
||||
<td width="100">{$collection.total_objects|number_format}</td>
|
||||
<td width="100">{$collection.type}</td>
|
||||
<td width="100" class="last_td">{$collection.active}</td>
|
||||
</tr>
|
||||
|
||||
{/if}
|
||||
|
||||
{if $display_type == "items"}
|
||||
{if $type == "videos"}
|
||||
<div id="collectionItem_{$collection.videoid}" class="account_vid_list" style="background-color:#{$bg}">
|
||||
<table class="table table-bordered table-striped">
|
||||
<tr>
|
||||
<td width="25"><input type="checkbox" name="check_item[]" id="check_item-{$collection.videoid}" value="{$collection.videoid}" />
|
||||
<label for="checkbox"></label></td>
|
||||
<td valign="middle">
|
||||
<div style="padding-left:10px; float:left;width:300px">
|
||||
<label for="check_item-{$collection.videoid}"> <img src="{getThumb vdetails=$collection}" width="40" height="30" border="0" class="acc_usr_video_thumb" /></label>{$collection.title|truncate:100}<br />
|
||||
<span class="video_control"><a href="{$cbcollection->collection_links($collection,'view_item')}">{lang code="view"}</a></span>
|
||||
</div>
|
||||
</td>
|
||||
<td width="100">{$collection.date_added|date_format}</td>
|
||||
<td width="100">{$collection.views|number_format}</td>
|
||||
<td width="100">
|
||||
<a onclick="collection_actions('collectionItem','remove_collection_item','{$collection.videoid}','#removeItemContainer','{$type}','{$c.collection_id}')" id="collectionItem{$collection.videoid}" href="javascript:void(0);"><img src="{$imageurl}/cancel.png" width="16" height="16" /></a>
|
||||
<div id="removeItemContainer_{$collection.videoid}" style="display:none"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $type == "photos"}
|
||||
<div id="collectionItem_{$collection.photo_id}" class="account_vid_list" style="background-color:#{$bg}">
|
||||
<table class="table table-bordered table-striped">
|
||||
<tr>
|
||||
<td width="25"><input type="checkbox" name="check_item[]" id="check_item-{$collection.photo_id}" value="{$collection.photo_id}" />
|
||||
<label for="checkbox"></label></td>
|
||||
<td valign="middle">
|
||||
<div style="padding-left:10px; float:left;">
|
||||
<label for="check_item-{$collection.photo_id}">{get_photo style='padding:1px; border:1px solid #999; float:left;' details=$collection output="html"}</label>
|
||||
{$collection.photo_title|truncate:100}<br />
|
||||
<span class="video_control"><a href="{$cbphoto->photo_links($collection,'view_item')}">{lang code="view"}</a></span>
|
||||
</div>
|
||||
</td>
|
||||
<td width="100">{$collection.date_added|date_format}</td>
|
||||
<td width="100">{$collection.views|number_format}</td>
|
||||
<td width="100">
|
||||
<a onclick="collection_actions('collectionItem','remove_collection_item','{$collection.photo_id}','#removeItemContainer','{$type}','{$c.collection_id}')" id="collectionItem{$collection.photo_id}" href="javascript:void(0);"><img src="{$imageurl}/cancel.png" width="16" height="16" /></a>
|
||||
<div id="removeItemContainer_{$collection.photo_id}" style="display:none"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{if $display_type == "favorite"}
|
||||
|
||||
|
||||
<tr>
|
||||
<td width="25"><input type="checkbox" name="check_col[]" id="check_col-{$collection.collection_id}" value="{$collection.collection_id}" />
|
||||
</td>
|
||||
<td valign="middle">
|
||||
<label for="check_col-{$collection.collection_id}">
|
||||
<img src="{$cbcollection->get_thumb($collection,'small',TRUE)}" border="0" class="acc_usr_video_thumb" />
|
||||
</label>
|
||||
{$collection.collection_name}
|
||||
<div class="btn-group show">
|
||||
<a class="btn btn-primary btn-sm" href="{$cbcollection->collection_links($collection,'view')}">{lang code="view"}</a>
|
||||
<a class="btn btn-primary btn-sm" href="javascript:void(0)" onmousedown="delete_item('delete_coll','{$collection.collection_id}','{lang code="Are you sure you want to remove this collection from favorites?"}','?mode={$mode}&remove_fav_collection={$collection.collection_id}');" id="delete_coll-{$collection.collection_id}">
|
||||
{lang code="remove"}
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
<td width="100">{$collection.date_added|date_format}</td>
|
||||
<td width="100">{$collection.type}</td>
|
||||
<td width="100" class="last_td">{$collection.views|number_format}</td>
|
||||
</tr>
|
||||
|
||||
{/if}
|
134
upload/styles/cb_28/layout/blocks/manage/account_group.html
Normal file
|
@ -0,0 +1,134 @@
|
|||
|
||||
{if $control =='full'}
|
||||
<tr>
|
||||
<td width="30" >
|
||||
<input name="check_group[]" type="checkbox" id="check_group" value="{$group.group_id}"/>
|
||||
</td>
|
||||
<td width="50" >{$group.group_id}</td>
|
||||
<td>
|
||||
<div class="row">
|
||||
<div class="col-md-10">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<img src="{$cbgroup->get_group_thumb($groups)}" width="50" height="50"/>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<a href="{$baseurl}/view_group.php?url={$group.group_url}" target="_blank"> {$group.group_name}
|
||||
</a>
|
||||
<div class="labels">
|
||||
{if $group.featured=='yes'}<span class="label label-primary">Featured{else}{/if}</span>
|
||||
<span class="label label-danger"><span>Members:</span>{$group.total_members|number_format}</span>
|
||||
<span class="label {if $group.active=='yes'}label-success{else}label-warning{/if}"><span></span>{if
|
||||
$group.active=="yes"} Active{else}Inactive{/if}</span>
|
||||
<span class="label label-info"> {if $group.group_privacy =="0"}Public{elseif $group.group_privacy =="1"}Private{else}Invited{/if}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div id="vid_opt-{$group.group_id}" class="dropdown">
|
||||
<button id="dropdownMenu1" class="btn btn-primary btn-xs dropdown-toggle pull-right"
|
||||
data-toggle="dropdown">Actions <i class="caret"></i></button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1" role="menu">
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="{group_link details=$group}"target="_blank">View</a></li>
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="edit_group.php?group_id={$group.group_id}">Edit</a>
|
||||
</li>
|
||||
{if $group.featured == yes}
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="?unfeature={$group.group_id}">Make
|
||||
Unfeatured</a> {/if}
|
||||
</li>
|
||||
{if $group.featured == no}
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="?feature={$group.group_id}">Make
|
||||
Featured</a> {/if}
|
||||
</li>
|
||||
|
||||
{if $group.active == yes}
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="?deactivate={$group.group_id}">Deactivate</a>
|
||||
{else}
|
||||
</li>
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="?activate={$group.group_id}">Activate</a>
|
||||
{/if}
|
||||
</li>
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="{$baseurl}/manage_groups.php?mode=manage_videos&gid={$group.group_id}">Manage</a>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="?gid_delete={$group.group_id}">Delete</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
{if $control =='basic'}
|
||||
<tr>
|
||||
<td width="30" >
|
||||
<input name="check_group[]" type="checkbox" id="check_group1" value="{$group.group_id}"/>
|
||||
</td>
|
||||
<td width="50" >{$group.group_id}</td>
|
||||
<td>
|
||||
<div class="row">
|
||||
<div class="col-md-10">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<img src="{$cbgroup->get_group_thumb($groups)}" width="50" height="50"/>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<a href="{$baseurl}/view_group.php?url={$group.group_url}" target="_blank"> {$group.group_name}
|
||||
</a>
|
||||
<div class="labels">
|
||||
{if $group.featured=='yes'}<span class="label label-primary">Featured{else}{/if}</span>
|
||||
<span class="label label-danger">Members:{$group.total_members|number_format}</span>
|
||||
<span class="label {if $group.active=='yes'}label-success{else}label-warning{/if}"><span></span>{if
|
||||
$group.active=="yes"} Active{else}Inactive{/if}</span>
|
||||
<span class="label label-info"> {if $group.group_privacy =="0"}Public{elseif $group.group_privacy =="1"}Private{else}Invited{/if}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
Owner: <a href="view_user.php?uid={$group.userid}">{$group.userid|get_username}</a></strong>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div id="vid_opt-{$group.group_id}1" class="dropdown">
|
||||
<button id="dropdownMenu" class="btn btn-primary btn-xs dropdown-toggle pull-right"
|
||||
data-toggle="dropdown">Actions <i class="caret"></i></button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1" role="menu">
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="{group_link details=$group}"target="_blank">View</a></li>
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="edit_group.php?group_id={$group.group_id}">Edit</a>
|
||||
</li>
|
||||
{if $group.featured == yes}
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="?unfeature={$group.group_id}">Make
|
||||
Unfeatured</a> {/if}
|
||||
</li>
|
||||
{if $group.featured == no}
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="?feature={$group.group_id}">Make
|
||||
Featured</a> {/if}
|
||||
</li>
|
||||
{if $group.active == yes}
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="?deactivate={$group.group_id}">Deactivate</a>
|
||||
{else}
|
||||
</li>
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="?activate={$group.group_id}">Activate</a>
|
||||
{/if}
|
||||
</li>
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="{$baseurl}/manage_groups.php?mode=manage_videos&gid={$group.group_id}">Manage</a>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="?delete_group={$group.group_id}">Delete</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
223
upload/styles/cb_28/layout/blocks/manage/account_head.html
Normal file
|
@ -0,0 +1,223 @@
|
|||
<div class="message">
|
||||
<div class="row accountprofile">
|
||||
<div class="col-md-10">
|
||||
<div class="media">
|
||||
<a class="pull-left" href="#">
|
||||
<img class="media-object imgobject" src="{$userquery->getUserThumb($user)}" width="142" alt="...">
|
||||
</a>
|
||||
<div class="media-body">
|
||||
<div class="row">
|
||||
<div class="col-md-6 procolor">
|
||||
<h4 class="media-heading headcolor">{$user.username}</h4>
|
||||
<b>{lang code='Since:'}</b> ({$user.doj|date_format})
|
||||
<b>{lang code='last Login:'}</b> ({$user.last_logged|nicetime})
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="newhr1">
|
||||
<div class="mvideo accountprofile">
|
||||
<span class="lead">
|
||||
{lang code='Latest Videos'}
|
||||
</span>
|
||||
<table class="table table-bordered table-striped manageUsersTable">
|
||||
<tr>
|
||||
<td><i class="icon-facetime-video"></i> Videos Details</td>
|
||||
<td>Option</td>
|
||||
</tr>
|
||||
{if $videos}
|
||||
|
||||
{foreach from=$videos item=video}
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<div class="row">
|
||||
<div class="col-md-10">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<a class="manageVid_thumb" href="{$baseurl}/edit_video.php?vid={$video.videoid}">
|
||||
<img src="{getThumb vdetails=$video}" class="img-responsive" width="130" height="80" id="thumbs_{$video.videoid}" class="vthumb" title=""/>
|
||||
<span class="duration">({if
|
||||
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if})</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<a href="edit_video.php?vid={$video.videoid}">
|
||||
{$video.title|truncate:80} </a><br>
|
||||
<span class="maccountlabels"> <strong>{$video.date_added|niceTime}</strong>
|
||||
{lang code='views'} : <strong>{$video.views|number_format}</strong></span>
|
||||
<div class="labels">
|
||||
{if $video.featured=='yes'}<span class="label label-primary">Featured{else}{/if}</span>
|
||||
<span class="label {if $video.active=='yes'}label-success{else}label-warning{/if} mlabel">
|
||||
{if $video.active=='yes'}Active{else}InActive{/if}</span>
|
||||
<span class="label {if $video.status=='Successful'}label-success{else}label-warning{/if}">
|
||||
{if $video.status=='Successful'}Successful{else}Processing{/if}</span>
|
||||
<span class="label label-info">
|
||||
Viewed {$video.last_viewed|niceTime}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<div class="row">
|
||||
{if $video.broadcast=='public'}
|
||||
<div class="col-md-1"><i class="icon-globe"></i></div>
|
||||
{elseif $video.broadcast!='public'}
|
||||
<div class="col-md-1"><i class="icon-lock"></i></div>
|
||||
{/if}
|
||||
</div>
|
||||
<a href="view_user.php?uid={$video.userid}">{$video.username}</a>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="dropdown">
|
||||
<button id="dropdownMenu1" class="btn btn-primary btn-xs dropdown-toggle" data-toggle="dropdown">
|
||||
Actions <i class="caret"></i></button>
|
||||
<ul class="dropdown-menu pull-right" aria-labelledby="dropdownMenu1" role="menu">
|
||||
<li><a role="menuitem" tabindex="-1"
|
||||
href="{$baseurl}/edit_video.php?vid={$video.videoid}" class="">Edit</a></li>
|
||||
<li><a role="menuitem" tabindex="-1"
|
||||
href="{$baseurl}/watch_video.php?v={$video.videokey}"target="_blank">Watch</a>
|
||||
|
||||
|
||||
|
||||
<li class="divider"></li>
|
||||
<li><a role="menuitem" tabindex="-1" href="{$baseurl}/myaccount.php?delete_video={$video.videoid}">Delete</a>
|
||||
</li>
|
||||
{foreach from=$cbvid->video_manager_links item=links}
|
||||
{$cbvid->video_manager_link($links,$video)}
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{else}
|
||||
<div align="center"><strong><em>No Video Found</em></strong></div>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="flaggedtable accountprofile1">
|
||||
<table class="table table-bordered table-striped">
|
||||
<div id="fobjects" class="tab-pane" >
|
||||
<div class="widget-box">
|
||||
<td>
|
||||
<div class="widget-header">
|
||||
<h5><i class="glyphicon glyphicon-flag"></i>Flagged Objects</h5>
|
||||
</div>
|
||||
|
||||
<div class="widget-body">
|
||||
|
||||
<div class="tabbable tabs-left">
|
||||
<ul class="nav nav-tabs" id="myTab">
|
||||
<li class="active">
|
||||
<a data-toggle="tab" href="#fvideos">Videos</a>
|
||||
</li>
|
||||
|
||||
<li class="photos">
|
||||
<a data-toggle="tab" href="#fphotos">Photos</a>
|
||||
</li>
|
||||
</ul>
|
||||
<br>
|
||||
<div class="tab-content">
|
||||
<div id="fvideos" class="tab-pane active">
|
||||
{section name=list loop=$flagedVideos}
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<img src="{getThumb vdetails=$flagedVideos[list]}" width="85" height="70" id="thumbs_{$flagedVideos[list].videoid}" title=""/>
|
||||
</div>
|
||||
<div class="col-md-6 fvideos">
|
||||
{$flagedVideos[list].title|truncate:50}
|
||||
</div>
|
||||
|
||||
<div class="col-md-7 fvideos">
|
||||
<label class="label label-danger">Uploaded {$flagedVideos[list].date_added|niceTime}</label>
|
||||
<label class="label label-default"> {lang code='views'} : {$flagedVideos.views|number_format}</label>
|
||||
<label class="label label-primary"> Flags:{$flagedVideos[list].total_flags}</label>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="newhr">
|
||||
{/section}
|
||||
</div>
|
||||
<div id="fphotos" class="tab-pane">
|
||||
{section name=list loop=$flagedPhotos}
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<img src="{getThumb vdetails=$flagedPhotos[list]}" width="85" height="70" id="thumbs_{$flagedPhotos[list].photoid}" title=""/>
|
||||
</div>
|
||||
<div class="col-md-6 fusers">
|
||||
{$flagedphotos[list].title|truncate:50}
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<strong class="btn btn-primary btn-xs pull-right"> Flags:{$flagedPhotos[list].total_flags}</strong>
|
||||
</div>
|
||||
<div class="col-md-7 fusers">
|
||||
<label class="label label-danger">Uploaded {$flagedPhotos[list].date_added|niceTime}</label>
|
||||
<label class="label label-default"> {lang code='views'} : {$flagedPhotos.views|number_format}</label>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{/section}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /widget-main -->
|
||||
</div><!-- /widget-body -->
|
||||
</div>
|
||||
</div>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="padding38">
|
||||
{if $user.userid == userid()}
|
||||
<button class="btn btn-primary new1" style="background-color: #000000;color: white">
|
||||
<span class="line-height-1 bigger-170 blue">{$user.total_videos}</span>
|
||||
<br>
|
||||
<span class="line-height-1 smaller-90 new1"> {lang code='Videos'} </span>
|
||||
</button>
|
||||
<span class="btn btn-primary new1" style="background-color: #000000;color: #ffffff">
|
||||
<span class="line-height-1 bigger-170 blue">{$user.total_photos}</span>
|
||||
<br>
|
||||
<span class="line-height-1 smaller-90 new1"> Photos </span>
|
||||
</span>
|
||||
<span class="btn btn-primary new1" style="background-color: #000000;color: #ffffff">
|
||||
<span class="line-height-1 bigger-170 blue">{$user.num_visits|number_format}</span>
|
||||
<br>
|
||||
<span class="line-height-1 smaller-90 new1"> {lang code='total_logins'} </span>
|
||||
</span>
|
||||
<span class="btn btn-primary new1" style="background-color: #000000;color: #ffffff">
|
||||
<span class="line-height-1 bigger-170 blue">{$user.total_watched|number_format}</span>
|
||||
<br>
|
||||
<span class="line-height-1 smaller-90 new1"> {lang code='Watched'} </span>
|
||||
</span>
|
||||
<span class="btn btn-primary new1" style="background-color: #000000;color: #ffffff">
|
||||
<span class="line-height-1 bigger-170 blue">{$user.total_comments|number_format}</span>
|
||||
<br>
|
||||
<span class="line-height-1 smaller-90 new1"> {lang code='Comments'} </span>
|
||||
</span>
|
||||
<span class="btn btn-primary new1" style="background-color: #000000;color: #ffffff">
|
||||
<span class="line-height-1 bigger-170 blue">{$user.total_collections|number_format}</span>
|
||||
<br>
|
||||
<span class="line-height-1 smaller-90 new1"> {lang code='Collections'} </span>
|
||||
</span>
|
||||
<span class="btn btn-primary new1" style="background-color: #000000; color: #ffffff">
|
||||
<span class="line-height-1 bigger-170 blue">{$user.profile_hits}</span>
|
||||
<br>
|
||||
<span class="line-height-1 smaller-90 new1"> {lang code='Views'} </span>
|
||||
</span>
|
||||
<span class="btn btn-primary new1" style="background-color: #000000;color: #ffffff">
|
||||
<span class="line-height-1 bigger-170 blue">{$user.subscribers}</span>
|
||||
<br>
|
||||
<span class="line-height-1 smaller-90 new1"> {lang code='Subscribers'} </span>
|
||||
</span>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
14
upload/styles/cb_28/layout/blocks/manage/account_left.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
<div class="my_account_left">
|
||||
<ul>
|
||||
{foreach from=$userquery->my_account_links() item=link key=name}
|
||||
<li class="li">
|
||||
<span class="heading">{$name}</span>
|
||||
<ul>
|
||||
{foreach from=$link item=alink key=link_name}
|
||||
<li><a href="{$alink}">{$link_name}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
41
upload/styles/cb_28/layout/blocks/manage/account_menu.html
Normal file
|
@ -0,0 +1,41 @@
|
|||
{$topMenuLinks = array_slice($myAccountLinks, 0, 6)}
|
||||
{if userid()}
|
||||
<div class="userAccountMenu navbar navbar-default cb-box row visible-xs">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<div class="userPicContainer">
|
||||
{if userid()}
|
||||
<a class="navbar-brand {if userid()} nopadding {/if}" style="{if userid()} padding-top: 7px ! important; {/if}" href="#">
|
||||
<img class="cb_img_thum" src="{$userquery->getUserThumb('','small',userid())}" style="width: 40px; height: 40px;"/>
|
||||
My Account <small>Total Uploaded Videos: {$user['total_videos']}</small>
|
||||
</a>
|
||||
{/if}
|
||||
<!--<a class="navbar-brand" href="#"> -->
|
||||
<!--My Account-->
|
||||
<!--</a>-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<ul class="nav navbar-nav">
|
||||
{foreach $topMenuLinks as $key => $value}
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{$key}<b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
{foreach $value as $subKey => $subValue}
|
||||
<li><a href="{$subValue}">{$subKey}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
<div class="pull-right">
|
||||
<a class="btn btn-info" href="{$userquery->profile_link($userquery->udetails)}">{lang code='com_my_channel'}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
69
upload/styles/cb_28/layout/blocks/manage/account_photo.html
Normal file
|
@ -0,0 +1,69 @@
|
|||
{if $control == 'full'}
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<input type="checkbox" name="check_photo[]" id="check_photo-{$photo.photo_id}" value="{$photo.photo_id}" />
|
||||
</td>
|
||||
<td valign="middle">
|
||||
<label for="check_photo-{$photo.photo_id}">{get_photo details=$photo output='html' class='acc_usr_video_thumb' style='width:auto;'}</label>
|
||||
{$photo.photo_title|truncate:100}<br />
|
||||
<span class="btn-group show">
|
||||
<a class="btn btn-primary btn-sm" href="{$cbphoto->photo_links($photo,'view_item')}">view</a>
|
||||
<a class="btn btn-primary btn-sm" href="{$baseurl}/edit_photo.php?photo={$photo.photo_id}">edit</a>
|
||||
<a class="btn btn-primary btn-sm" href="javascript:void(0)" onmousedown="delete_item('delete_icon_a','{$photo.photo_id}','{lang code="Are you sure you want to delete this photo? This action will delete photo permanently."}','?mode=uploaded&delete_photo={$photo.photo_id}')" id="delete_icon_a-{$photo.photo_id}">delete</a>
|
||||
{if !$userquery->isProfileItem($photo.photo_id,'p')}
|
||||
<a class="btn btn-primary btn-sm" href="{$queryString}makeProfileItem={$photo.photo_id}&type=p">{lang code='make_profile_item'}</a>
|
||||
{else}
|
||||
<a class="btn btn-primary btn-sm" href="{$queryString}removeProfileItem={$photo.photo_id}&type=p">{lang code='remove_profile_item'}</a>
|
||||
{/if}
|
||||
</span>
|
||||
</td>
|
||||
<td>{$photo.date_added|date_format}</td>
|
||||
<td>{$photo.views|number_format}</td>
|
||||
<td>{$photo.total_comments|number_format}</td>
|
||||
<td>{$photo.total_favorites|number_format}</td>
|
||||
</tr>
|
||||
|
||||
{/if}
|
||||
|
||||
{if $control == "partail"}
|
||||
|
||||
<tr>
|
||||
<td><input type="checkbox" name="check_photo[]" id="check_photo-{$photo.photo_id}" value="{$photo.photo_id}" /></td>
|
||||
<td valign="middle">
|
||||
<label for="check_photo-{$photo.photo_id}">{get_photo details=$photo output='html' class='acc_usr_video_thumb' style='width:auto;'}</label>
|
||||
{$photo.photo_title|truncate:100}<br />
|
||||
<span class="btn-group show">
|
||||
<a class="btn btn-primary btn-sm" href="{$cbphoto->photo_links($photo,'view_item')}">view</a>
|
||||
<a class="btn btn-primary btn-sm" href="javascript:void(0)" onmousedown="delete_video('delete_icon_a','{$photo.photo_id}','{lang code="Are you sure you want to remove photo from favorites?"}','?mode={$mode}&remove_fav_photo={$photo.photo_id}')" id="delete_icon_a-{$photo.photo_id}">{lang code='delete'}</a>
|
||||
</span>
|
||||
</td>
|
||||
<td>{$photo.date_added|date_format}</td>
|
||||
<td>{$photo.views|number_format}</td>
|
||||
<td>{$photo.total_comments|number_format}</td>
|
||||
<td>{$photo.total_favorites|number_format}</td>
|
||||
</tr>
|
||||
|
||||
{/if}
|
||||
|
||||
{if $control == 'orphan'}
|
||||
|
||||
<tr>
|
||||
<td><input type="checkbox" name="check_photo[]" id="check_photo-{$photo.photo_id}" value="{$photo.photo_id}" /></td>
|
||||
|
||||
<td valign="middle">
|
||||
<label for="check_photo-{$photo.photo_id}">{get_photo details=$photo output='html' class='acc_usr_video_thumb' style='width:auto;'}</label>
|
||||
{$photo.photo_title|truncate:100}<br />
|
||||
<span class="btn-group show">
|
||||
<a class="btn btn-primary btn-sm" href="{$baseurl}/edit_photo.php?photo={$photo.photo_id}">edit</a>
|
||||
<a class="btn btn-primary btn-sm" href="{get_photo size='o' details=$photo}">Direct Link</a>
|
||||
<a class="btn btn-primary btn-sm" href="javascript:void(0)" onmousedown="delete_video('delete_icon_a','{$photo.photo_id}','{lang code="Are you sure you want to delete this photo? This action will delete photo permanently."}','?mode={$mode}&delete_orphan_photo={$photo.photo_id}')" id="delete_icon_a-{$photo.photo_id}">{lang code='delete'}</a>
|
||||
</span>
|
||||
</td>
|
||||
<td>{$photo.date_added|date_format}</td>
|
||||
<td>{$photo.views|number_format}</td>
|
||||
<td>{$photo.total_comments|number_format}</td>
|
||||
<td>{$photo.total_favorites|number_format}</td>
|
||||
</tr>
|
||||
|
||||
{/if}
|
20
upload/styles/cb_28/layout/blocks/manage/account_user.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
<tr>
|
||||
<td width="15"><input type="checkbox" name="users[]" id="check_userd-{$user.userid}" value="{$user.userid}" /></td>
|
||||
<td width="50" height="50" align="center" valign="middle"><a href="{$userquery->profile_link($user)}"><img src="{$userquery->getUserThumb($user)}" alt="{$user.username}" width="40" height="40" border="0"></a></td>
|
||||
<td><a href="{$userquery->profile_link($user)}">{$user.username}</a>
|
||||
{assign var=uid value=$user.userid}
|
||||
{if ($makeAdmin=='yes' || $rmAdmins.$uid=='yes') && $makeAdmins.$uid!='yes'}
|
||||
<span class="cb_fb_style_button" style="margin-left:10px"><a href="{$queryString}make_admin={$user.userid}">Make admin</a></span>
|
||||
{/if}
|
||||
{if ($removeAdmin=='yes' || $makeAdmins.$uid=='yes') && $rmAdmins.$uid!='yes'}
|
||||
<span class="cb_fb_style_button" style="margin-left:10px"><a href="{$queryString}remove_admin={$user.userid}">Remove admin</a></span>
|
||||
{/if}
|
||||
</td>
|
||||
<td width="100">{$user.profile_hits|number_format}</td>
|
||||
<td width="100">{$status}
|
||||
</td>
|
||||
<td width="50" align="center" valign="middle">{if $del_link}<a href="{$del_link}"><img src="{$imageurl}/cancel.png" width="16" height="16" border="0" /></a>{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
128
upload/styles/cb_28/layout/blocks/manage/account_video.html
Normal file
|
@ -0,0 +1,128 @@
|
|||
{if $control=='' || $control =='view'}
|
||||
{if $mode ==''}{assign var='mode' value='favorites'}{/if}
|
||||
|
||||
{/if}
|
||||
|
||||
{if $control =='full'}
|
||||
<tr>
|
||||
<td>
|
||||
<div class="col-md-3">
|
||||
<a class="manageVid_thumb" href="edit_video.php?video={$video.videoid}">
|
||||
<img src="{getThumb vdetails=$video}" class="img-responsive" width="130" height="80" id="thumbs_{$video.videoid}" class="vthumb" title=""/>
|
||||
<span class="duration">({if
|
||||
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if})</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<a href="edit_video.php?vid={$video.videoid}">{$video.title|truncate:80} 111</a>
|
||||
<br>
|
||||
<span class="maccountlabels">
|
||||
<strong>{$video.date_added|niceTime}</strong>
|
||||
{lang code='views'} : <strong>{$video.views|number_format}</strong>
|
||||
</span>
|
||||
<div class="labels">
|
||||
{if $video.featured=='yes'}
|
||||
<span class="label label-primary">Featured{else}{/if}</span>
|
||||
<span class="label {if $video.active=='yes'}label-success{else}label-warning{/if} mlabel">{if $video.active=='yes'}Active{else}InActive{/if}</span>
|
||||
<span class="label {if $video.status=='Successful'}label-success{else}label-warning{/if}">{if $video.status=='Successful'}Successful{else}Processing{/if}</span>
|
||||
<span class="label label-info">Viewed {$video.last_viewed|niceTime}</span>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
{*<td>
|
||||
<div class="clearfix">
|
||||
{if $video.broadcast=='public'}
|
||||
<div class="col-md-1"><i class="icon-globe"></i></div>
|
||||
{elseif $video.broadcast!='public'}
|
||||
<div class="col-md-1"><i class="icon-lock"></i></div>
|
||||
{/if}
|
||||
</div>
|
||||
<a href="view_user.php?uid={$video.userid}">{$video.username}</a>
|
||||
</td>*}
|
||||
|
||||
<td>
|
||||
<div class="dropdown text-center">
|
||||
<button id="dropdownMenu1" class="btn btn-primary btn-xs dropdown-toggle" data-toggle="dropdown">
|
||||
Actions <i class="caret"></i></button>
|
||||
<ul class="dropdown-menu pull-right" aria-labelledby="dropdownMenu1" role="menu">
|
||||
<li><a role="menuitem" tabindex="-1" href="{$baseurl}/edit_video.php?vid={$video.videoid}" class="">Edit</a></li>
|
||||
<li><a role="menuitem" tabindex="-1" href="{$baseurl}/watch_video.php?v={$video.videokey}"target="_blank">Watch</a>
|
||||
|
||||
</li>
|
||||
<li><a role="menuitem" tabindex="-1" href="javascript:_cb.Confirm_Delete('?vid_delete={$video.videoid}')">Delete</a>
|
||||
</li>
|
||||
|
||||
{foreach from=$cbvid->video_manager_links item=links}
|
||||
{$cbvid->video_manager_link($links,$video)}
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
{if $control=='playlist'}
|
||||
<tr>
|
||||
<td width="25">
|
||||
<input type="checkbox" name="check_playlist_items[]" id="check_vid-{$video.playlist_item_id}" value="{$video.playlist_item_id}" />
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<img class="edit-img-thumbnail" src="{getThumb vdetails=$video}" />
|
||||
<p class="marginTop">{$video.title|truncate:100}</p>
|
||||
<div class="btn-group show">
|
||||
<a class="btn btn-primary btn-sm" href="{videoLink vdetails=$video}">view</a>
|
||||
<a class="btn btn-primary btn-sm" href="javascript:void(0)" onmousedown="delete_video('delete_icon_a','{$video.playlist_item_id}','{lang code="remove_playlist_item_confirm"}','?mode=edit_playlist&pid={$pid}&delete_item={$video.playlist_item_id}')" id="delete_icon_a-{$video.playlist_item_id}">
|
||||
delete
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<a href="javascript:void(0)" onmousedown="delete_video('delete_icon','{$video.playlist_item_id}','{lang code="remove_playlist_item_confirm"}','?mode=edit_playlist&pid={$pid}&delete_item={$video.playlist_item_id}')" id="delete_icon-{$video.playlist_item_id}"><img src="{$imageurl}/dot.gif" border="0" class="delete_icon" /></a>
|
||||
</td>
|
||||
<td width="100">
|
||||
{$video.date_added|date_format}
|
||||
</td>
|
||||
<td width="100">
|
||||
{$video.views|number_format}
|
||||
</td>
|
||||
<td width="100">
|
||||
{$video.comments_count|number_format}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
|
||||
{if $control=='basic'}
|
||||
|
||||
<div class="clearfix">
|
||||
<input type="checkbox" name="check_vid[]" id="check_vid-{$video.videoid}" value="{$video.videoid}" />
|
||||
</div>
|
||||
|
||||
<div class="clearfix">
|
||||
<a href="{videoLink vdetails=$video}">
|
||||
<img src="{getThumb vdetails=$video}" width="130" height="80" id="thumbs_{$video.videoid}" class="vthumb" />
|
||||
<p class="marginTop">{$video.title|truncate:100}</p>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="clearfix">{$video.date_added|date_format}</div>
|
||||
<div class="clearfix">{$video.views|number_format}</div>
|
||||
<div class="clearfix">{$video.comments_count|number_format}</div>
|
||||
|
||||
{/if}
|
||||
|
||||
{if $control=='onWatch'}
|
||||
<div class="clearfix popular-video">
|
||||
<div class="col-lg-5 col-md-6 col-sm-6 col-xs-6 thumb-holder">
|
||||
<a href="{videoLink($video)}" title="{$video.title|title}" class="video_link">
|
||||
<img class="img-responsive" src="{getThumb vdetails=$video}">
|
||||
<span class="duration">{if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-7 col-md-6 col-sm-6 col-xs-6 vid-info">
|
||||
<strong class="title">{$video.title|truncate:50}</strong>
|
||||
<span class="views-count">Playlist: {$items[plist].playlist_name|truncate:100}</span>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
|
@ -0,0 +1,20 @@
|
|||
<div class="btn-group pull-right">
|
||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
Actions <span class="caret caret_margin"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu pull-right" role="menu">
|
||||
<li><a href="{$baseurl}/edit_group.php?gid={$group.group_id}">{lang code='grp_edit_grp_title'}</a></li>
|
||||
<li><a href="{group_link details=$group}">{lang code='view_group'}</a></li>
|
||||
<li><a href="{$baseurl}/manage_groups.php?mode=manage_members&gid={$group.group_id}">
|
||||
{lang code='grp_manage_mems'}</a></li>
|
||||
<li><a href="{$baseurl}/manage_groups.php?mode=manage_videos&gid={$group.group_id}">{lang code='com_manage_vids'}</a></li>
|
||||
|
||||
{if $group.userid == userid()}
|
||||
<li><a href="javascript:void(0)" onClick="
|
||||
if (confirm('{lang code='are_you_sure_del_grp'}'))
|
||||
document.location = '{$baseurl}/manage_groups.php??mode=delete&gid={$group.group_id}';">{lang code='grp_del_group_title'}</a></li>
|
||||
{/if}
|
||||
</ul>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
132
upload/styles/cb_28/layout/blocks/manage/left_side_bar.html
Normal file
|
@ -0,0 +1,132 @@
|
|||
<link rel="stylesheet" href="{$baseurl}/styles/cb_2014/theme/css/sb-admin.css">
|
||||
|
||||
<div class="leftSidebar col-md-3 cb-box">
|
||||
<nav role="navigation" class="navbar-default navbar-static-side">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="sidebar-collapse clearfix">
|
||||
|
||||
<ul id="side-menu" class="nav list-group">
|
||||
|
||||
{foreach $leftMenuLinks as $key => $value}
|
||||
<li class="">
|
||||
<a href="#" class="tgl" data-toggle="dropdown" style="background: none repeat scroll 0% 0% rgb(231, 231, 231); border-bottom: 1px solid rgb(204, 204, 204);">{$key}<span class="icon-caret arrow"></span></a>
|
||||
<ul class="nav nav-second-level collapse">
|
||||
{foreach $value as $subKey => $subValue}
|
||||
<li><a href="{$subValue}" style="font-weight: normal">{$subKey}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</li>
|
||||
{/foreach}
|
||||
|
||||
</ul>
|
||||
<!-- /#side-menu -->
|
||||
</div>
|
||||
<!-- /.sidebar-collapse -->
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<!--<div class="leftSidebar col-md-3">
|
||||
<ul class="">
|
||||
{foreach $leftMenuLinks as $key => $value}
|
||||
<li class="">
|
||||
<a href="#" class="" data-toggle="dropdown">{$key}</a>
|
||||
<ul class="">
|
||||
{foreach $value as $subKey => $subValue}
|
||||
<li><a href="{$subValue}">{$subKey}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>-->
|
||||
<script>
|
||||
$('#sidebar > a').on('click', function (e) {
|
||||
e.preventDefault();
|
||||
|
||||
if(!$(this).hasClass("active")){
|
||||
var lastActive = $(this).closest("#sidebar").children(".active");
|
||||
lastActive.removeClass("active");
|
||||
lastActive.next('div').collapse('hide');
|
||||
$(this).addClass("active");
|
||||
$(this).next('div').collapse('show');
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
;(function ($, window, document, undefined) {
|
||||
|
||||
var pluginName = "metisMenu",
|
||||
defaults = {
|
||||
toggle: false
|
||||
};
|
||||
|
||||
function Plugin(element, options) {
|
||||
this.element = element;
|
||||
this.settings = $.extend({}, defaults, options);
|
||||
this._defaults = defaults;
|
||||
this._name = pluginName;
|
||||
this.init();
|
||||
}
|
||||
|
||||
Plugin.prototype = {
|
||||
init: function () {
|
||||
|
||||
var $this = $(this.element),
|
||||
$toggle = this.settings.toggle;
|
||||
|
||||
$this.find('li.active').has('ul').children('ul').addClass('collapse in');
|
||||
$this.find('li').not('.active').has('ul').children('ul').addClass('collapse');
|
||||
|
||||
$this.find('li').has('ul').children('a').on('click', function (e) {
|
||||
e.preventDefault();
|
||||
|
||||
$(this).parent('li').toggleClass('active').children('ul').collapse('toggle');
|
||||
|
||||
if ($toggle) {
|
||||
$(this).parent('li').siblings().removeClass('active').children('ul.in').collapse('hide');
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
$.fn[ pluginName ] = function (options) {
|
||||
return this.each(function () {
|
||||
if (!$.data(this, "plugin_" + pluginName)) {
|
||||
$.data(this, "plugin_" + pluginName, new Plugin(this, options));
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
})(jQuery, window, document);
|
||||
|
||||
$(function() {
|
||||
|
||||
$('#side-menu').metisMenu();
|
||||
|
||||
});
|
||||
|
||||
//Loads the correct sidebar on window load,
|
||||
//collapses the sidebar on window resize.
|
||||
$(function() {
|
||||
$(window).bind("load resize", function() {
|
||||
console.log($(this).width())
|
||||
if ($(this).width() < 768) {
|
||||
$('div.sidebar-collapse').addClass('collapse')
|
||||
} else {
|
||||
// alert($(this).width());
|
||||
$('div.sidebar-collapse').removeClass('collapse')
|
||||
}
|
||||
})
|
||||
})
|
||||
/*$('li a.tgl').click(function(){
|
||||
$('a.tgl ul.nav li').toggle();
|
||||
});*/
|
||||
</script>
|
14
upload/styles/cb_28/layout/blocks/manage/userMenuLeft.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
{*$topMenuLinks = array_slice($myAccountLinks, 0, 5)*}
|
||||
{$topMenuLinks = $myAccountLinks}
|
||||
<ul class="nav nav-pills nav-stacked">
|
||||
{foreach $topMenuLinks as $key => $value}
|
||||
{if $key!='Groups' && $key!='Collections' && $key!='Photos'}
|
||||
|
||||
<li class="active"><a href="#">{$key}</a></li>
|
||||
|
||||
{foreach $value as $subKey => $subValue}
|
||||
<li><a href="{$subValue}">{$subKey}</a></li>
|
||||
{/foreach}
|
||||
{/if}
|
||||
{/foreach}
|
||||
</ul>
|
|
@ -0,0 +1,8 @@
|
|||
<div class="account_table">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="19" align="center" valign="middle" class="last_td"> Pages : {if $first_link !=''}<a {$first_link}>«</a>{/if} {if $pre_link !=''}<a {$pre_link} >‹</a>{/if} {$pagination} {if $next_link !=''}<a {$next_link}>›</a>{/if} {if $last_link !=''}<a {$last_link}>»</a>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
82
upload/styles/cb_28/layout/blocks/manage/user_contacts.html
Normal file
|
@ -0,0 +1,82 @@
|
|||
{assign var=friends value=$userquery->get_contacts($user.userid,0)}
|
||||
{if $friends}
|
||||
{foreach from=$friends item=friend}
|
||||
{assign var=user_detail value=$friend}
|
||||
<tr>
|
||||
<td>
|
||||
<a href="edit_video.php?video={$video.videoid}">
|
||||
<img src="{$userquery->getUserThumb($user_detail)}" width="100" height="60" id="thumbs_{$video.videoid}" class="vthumb" title=""/>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="{$userquery->profile_link($user_detail)}">{$user_detail.username} </a><br>
|
||||
<div class="labels">
|
||||
<span class="label {if $friend.confirmed=='yes'}label-success{else}label-warning{/if} mlabel">
|
||||
{if $friend.confirmed!='yes'}Request Sent{elseif $friend.confirmed =='yes'}Friends{/if}</span>
|
||||
<span class="label label-success">{if $user_detail.total_videos|number_format > 1}Videos: {$user_detail.total_videos|number_format}{else}Video: {$user_detail.total_videos|number_format}{/if}</span>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="dropdown ">
|
||||
<button id="dropdownMenu1" class="btn btn-primary btn-xs dropdown-toggle" data-toggle="dropdown">
|
||||
Actions <i class="caret"></i></button>
|
||||
<ul class="dropdown-menu pull-right" aria-labelledby="dropdownMenu1" role="menu">
|
||||
<li><a role="menuitem" href="{$userquery->profile_link($user_detail)}" class="">View Profile</a></li>
|
||||
<li><a role="menuitem" href="{$baseurl}/user_videos.php?user={$user_detail.username}" class="">View Videos</a></li>
|
||||
<li><a role="menuitem" href="{$baseurl}/private_message.php?mode=new_msg&to={$user_detail.username}" class="">Send Message</a></li>
|
||||
{if $friend.confirmed =='yes'}
|
||||
<li><a role="menuitem" href="?mode=delete&userid={$user_detail.userid}">UnFriend</a></li>
|
||||
{else}
|
||||
<li><a role="menuitem" href="?mode=delete&userid={$user_detail.userid}">Cancel Request</a></li>
|
||||
{/if}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
{/foreach}
|
||||
{else}
|
||||
<div class="alert alert-info" role="alert">You have no friends in your list</div>
|
||||
{/if}
|
||||
|
||||
{assign var=friends value=$userquery->get_pending_contacts($user.userid,0)}
|
||||
{if $friends}
|
||||
{foreach from=$friends item=friend}
|
||||
{assign var=user_detail value=$friend}
|
||||
<tr>
|
||||
<td>
|
||||
<a href="edit_video.php?video={$video.videoid}">
|
||||
<img src="{$userquery->getUserThumb($user_detail)}" width="100" height="60" id="thumbs_{$video.videoid}" class="vthumb" title=""/>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="{$userquery->profile_link($user_detail)}">{$user_detail.username} </a><br>
|
||||
<div class="labels">
|
||||
{if $video.featured=='yes'}
|
||||
<span class="label label-primary">Featured{else}{/if}</span>
|
||||
<span class="label {if $friend.confirmed=='yes'}label-success{elseif $friend.confirmed!='yes'}label-danger{else}label-warning{/if} mlabel">
|
||||
{if $friend.confirmed!='yes'}Pending{elseif $friend.confirmed =='yes'}Friends{/if}</span>
|
||||
<span class="label label-success">Videos: {$user_detail.total_videos|number_format}</span>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="dropdown ">
|
||||
<button id="dropdownMenu1" class="btn btn-primary btn-xs dropdown-toggle" data-toggle="dropdown">
|
||||
Actions <i class="caret"></i></button>
|
||||
<ul class="dropdown-menu pull-right" aria-labelledby="dropdownMenu1" role="menu">
|
||||
<li><a role="menuitem" href="{$userquery->profile_link($user_detail)}" class="">View Profile</a></li>
|
||||
<li><a role="menuitem" href="?mode=requests&confirm={$friend.userid}" class="">Accept Request</a></li>
|
||||
<li><a role="menuitem" href="{$baseurl}/user_videos.php?user={$user_detail.username}" class="">View Videos</a></li>
|
||||
<li><a role="menuitem" href="{$baseurl}/private_message.php?mode=new_msg&to={$user_detail.username}" class="">Send Message</a></li>
|
||||
<li><a role="menuitem" href="?mode=delete&userid={$user_detail.userid}">Reject Request</a>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
{else}
|
||||
<div class="alert alert-info" role="alert">No Pending Friend Requests</div>
|
||||
{/if}
|
||||
|
||||
|
||||
|
43
upload/styles/cb_28/layout/blocks/pagination.html
Normal file
|
@ -0,0 +1,43 @@
|
|||
{if $pagination}
|
||||
<div class="clearfix pagination-holder text-center">
|
||||
<ul align="center" class="pagination pagination-center clearfix">
|
||||
{if $first_link !=''}
|
||||
<li>
|
||||
<a href="javascript:void(0)"
|
||||
onclick="_cb.getAllComments('{$type}','{$type_id}','{$last_update}','1','{$total}','{$object_type}')">
|
||||
<i class="fa fa-angle-double-left"></i>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $pre_link !=''}
|
||||
<li>
|
||||
<a href="javascript:void(0)"
|
||||
onclick="_cb.getAllComments('{$type}','{$type_id}','{$last_update}','{$pre_page}','{$total}','{$object_type}')">
|
||||
<i class="fa fa-angle-left"></i>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{$pagination}
|
||||
|
||||
{if $next_link !=''}
|
||||
<li>
|
||||
<a href="javascript:void(0)"
|
||||
onclick="_cb.getAllComments('{$type}','{$type_id}','{$last_update}','{$next_page}','{$total}','{$object_type}')">
|
||||
<i class="fa fa-angle-right"></i>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $last_link !=''}
|
||||
<li>
|
||||
<a href="javascript:void(0)"
|
||||
onclick="_cb.getAllComments('{$type}','{$type_id}','{$last_update}','{$total_pages}','{$total}','{$object_type}')">
|
||||
<i class="fa fa-angle-double-right"></i>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
72
upload/styles/cb_28/layout/blocks/photo.html
Normal file
|
@ -0,0 +1,72 @@
|
|||
{if $display_type == ""}
|
||||
<div class="col-lg-3 col-md-3 col-sm-4 col-xs-6 col-valign-top photo-item">
|
||||
<a class="searchresult-photo" href="{$cbphoto->photo_links($photo,'view_item')}" title="Tolpis barbata (mariluzpicado)">
|
||||
{get_photo details=$photo size='l' class='img-responsive photo-land' output='html'}
|
||||
<div class="hover">
|
||||
<span class="photo-title">
|
||||
{if $photo.photo_title=='no-tag'}no-title
|
||||
{else}
|
||||
{$photo.photo_title|truncate:25}
|
||||
{/if}
|
||||
</span>
|
||||
<span class="plus hidden-xs hidden-sm">plus</span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
|
||||
{if $display_type == 'related_photos'}
|
||||
<div class="relatedPhotos clearfix">
|
||||
<a href="{$cbphoto->photo_links($photo,'view_item')}">{get_photo details=$photo output='html' width='120' class='photoThumbBox moveL' style='margin-right:5px;'}</a>
|
||||
<div class="photoTitle" style="margin-bottom:5px;"><a href="{$cbphoto->photo_links($photo,'view_item')}" title="{$photo.photo_title}">{$photo.photo_title|truncate:15}</a></div>
|
||||
<span class="photoInfo">{$photo.views|number_format} {lang code="views"} <br/> {$photo.total_comments} {lang code="comments"}</span>
|
||||
{show_rating rating=$photo.rating total='10' class='rating moveL'}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_type == 'subscription'}
|
||||
<div class="grid_view clearfix" style="width:auto; margin-right:4px;">
|
||||
<a href="{$cbphoto->photo_links($photo,'view_item')}">{get_photo details=$photo output='html' class='photoThumbBox' width='110'}</a>
|
||||
<div class="photoTitle" style="margin:5px 0px; font:bold 11px Arial;">
|
||||
<a href="{$cbphoto->photo_links($photo,'view_item')}" title="{$photo.photo_title}">{$photo.photo_title|truncate:15}</a></div>
|
||||
{show_rating rating=$photo.rating total='10' class='rating'}
|
||||
<div style="font-size:10px; margin:2px;">{$photo.views|number_format} {lang code="views"}</div>
|
||||
<a href="{$userquery->profile_link($photo)}" style="font:bold 10px Arial; text-decoration:none;">{$photo.username|truncate:20}</a>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_type == "side_photos"}
|
||||
<div style="display:inline-block; *display:inline; vertical-align:middle; padding:0 8px 5px 0px;">
|
||||
<a href="{$cbphoto->photo_links($photo,'view_item')}">{get_photo details=$photo output='html' width='82' class='photoThumbBox'}</a>
|
||||
<div class="photoTitle" style="font:bold 10px Arial; margin:1px 0px">
|
||||
<a href="{$cbphoto->photo_links($photo,'view_item')}" title="{$photo.photo_title}">{$photo.photo_title|truncate:15}</a>
|
||||
</div>
|
||||
<div class="watch_video_box_details">
|
||||
<span style="color:#666; font:normal 10px Arial;">{lang code='views'}: {$photo.views|number_format}</span><br>
|
||||
<a style="font:bold 10px Arial; text-decoration:none;" href="{$userquery->profile_link($photo)}" title="{$photo.username}" alt="{$photo.username}">{$photo.username|truncate:12}</a>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{if $display_type == "side_photos_viewed"}
|
||||
<div style="display:inline-block; *display:inline; vertical-align:middle; padding:0 8px 5px 0px;">
|
||||
<a href="{$cbphoto->photo_links($photo,'view_item')}">{get_photo details=$photo output='html' width="255" height="100" class='cb_img_thum'}</a>
|
||||
<div class="photoTitle pull-left" style="font:bold 10px Arial; margin:1px 0px">
|
||||
<a href="{$cbphoto->photo_links($photo,'view_item')}" title="{$photo.photo_title}">{$photo.photo_title|truncate:15}</a>
|
||||
</div>
|
||||
<div class="watch_video_box_details pull-right">
|
||||
<span style="color:#666; font:normal 10px Arial;">{lang code='views'}: {$photo.views|number_format}</span>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_type == "channel_page"}
|
||||
<li class="itemBox" onclick="loadObject(this,'photos','{$photo.photo_id}','viewingArea')">
|
||||
{get_photo details=$photo output='html' width='110' height='64' size='m' style='display:block;margin:0px auto;'}
|
||||
</li> <!-- itemBox {$photo.photo_key} end -->
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
{$list_id=$playlist.playlist_id}
|
||||
{$first=get_playlist_items($list_id,1)}
|
||||
{$count_items = $cbvid->action->count_playlist_items($list_id)}
|
||||
|
||||
<!-- storing default thumb in variable -->
|
||||
{assign var='playlist_def_thumb' value=get_playlist_thumb($playlist)}
|
||||
|
||||
{if $playlist_def_thumb|substr:-18 == 'playlist_thumb.png'}
|
||||
{assign var='playlist_def_thumb' value=$theme|cat:'/images/playlist-default.png'}
|
||||
{/if}
|
||||
|
||||
<div class="playlist-thumb">
|
||||
<h2><a href="{videoLink vdetails=$first[0]}">{$playlist.playlist_name}</a></h2>
|
||||
<a href="{videoLink vdetails=$first[0]}" class="playlist-box">
|
||||
<img class="img-responsive" src="{$playlist_def_thumb}">
|
||||
<span>
|
||||
{$count_items}<br>Videos
|
||||
<img src="{$theme}/images/folder-icon.png">
|
||||
</span>
|
||||
</a>
|
||||
<time datetime="{$playlist.date_added}" class="date-time">{$playlist.date_added|niceTime}</time>
|
||||
</div>
|
12
upload/styles/cb_28/layout/blocks/playlist/playlist.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
{$list_id=$playlist.playlist_id}
|
||||
{$first=get_playlist_items($list_id,1)}
|
||||
{$count_items = $cbvid->action->count_playlist_items($list_id)}
|
||||
<div class="clearfix item_playlist">
|
||||
<h3>{$playlist.playlist_name}<span><i class="fa fa-play"></i>{$count_items}</span></h3>
|
||||
<div class="playlist-thumb">
|
||||
<a href="{videoLink vdetails=$first[0]}">
|
||||
<img class="img-responsive" src="{get_playlist_thumb($playlist)}">
|
||||
<i class="fa fa fa-play"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
27
upload/styles/cb_28/layout/blocks/playlists-top.html
Normal file
|
@ -0,0 +1,27 @@
|
|||
<div class="playlists-dropdown hidden-xs custom-elements">
|
||||
<header class="playlist-header row clearfix">
|
||||
<div class="left-col col-lg-6 col-md-6 col-sm-6 col-xs-12">
|
||||
<h2>Playlists</h2>
|
||||
{*<button class="btn-default btn btn-newplaylist"><span class="fa fa-plus-circle"></span> New playlist</button>*}
|
||||
</div>
|
||||
<div class="left-col col-lg-6 col-md-6 col-sm-6 col-xs-12">
|
||||
{*<button class="btn btn-default btn-showmore">Show more</button>*}
|
||||
<a href="{$baseurl}/manage_playlists.php" class="btn btn-default btn-viewall">View All</a>
|
||||
<button class="btn close-playlists">close</button>
|
||||
</div>
|
||||
</header>
|
||||
<div class="clearfix item_playlist scrollable-area hscrollable playlists-scroll">
|
||||
{$playlists = $cbvid->action->get_playlists(["limit"=>12])}
|
||||
|
||||
{if $playlists}
|
||||
{*pr($playlists,true)*}
|
||||
|
||||
{foreach $playlists as $playlist name=limit}
|
||||
{include file="$style_dir/blocks/playlist/playlist-block.html"}
|
||||
{/foreach}
|
||||
|
||||
{else}
|
||||
no playlist found
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
87
upload/styles/cb_28/layout/blocks/pm/messages.html
Normal file
|
@ -0,0 +1,87 @@
|
|||
|
||||
|
||||
<form name="videos_manager" method="post">
|
||||
<div>
|
||||
<input type="submit" name="delete_pm" id="delete_fav_videos" value="{lang code='delete'}" class="btn btn-primary" />
|
||||
</div>
|
||||
<div id="messages_container" class="account_table marginTop">
|
||||
<table class="table table-bordered table-striped">
|
||||
<tr>
|
||||
<td width="25">
|
||||
<input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/>
|
||||
</td>
|
||||
{if $show_from}
|
||||
<td width="100">{lang code='from'}</td>
|
||||
{/if}
|
||||
{if $show_to}
|
||||
<td width="100">{lang code='to'}</td>
|
||||
{/if}
|
||||
<td>{lang code='subject'}</td>
|
||||
<td width="100">{lang code='date_sent'}</td>
|
||||
<td>{lang code='date_added'}</td>
|
||||
</tr>
|
||||
{section name=msg loop=$user_msgs}
|
||||
<tr id="message-{$user_msgs[msg].message_id}">
|
||||
<td>
|
||||
<input type="checkbox" name="msg_id[]" id="msg_id" value="{$user_msgs[msg].message_id}" />
|
||||
</td>
|
||||
{if $show_from}
|
||||
<td>
|
||||
<a href="?mode={$mode}&mid={$user_msgs[msg].message_id}">{$user_msgs[msg].message_from_user}</a>
|
||||
</td>
|
||||
{/if}
|
||||
{if $show_to}
|
||||
<td>
|
||||
<a href="?mode={$mode}&mid={$user_msgs[msg].message_id}">
|
||||
{$to_id = $user_msgs[msg].message_to}
|
||||
{$trimed_to = str_replace('#','', $to_id)}
|
||||
|
||||
{ucfirst(get_username($trimed_to))}
|
||||
|
||||
</a>
|
||||
</td>
|
||||
{/if}
|
||||
<td>
|
||||
<a href="?mode={$mode}&mid={$user_msgs[msg].message_id}">{$user_msgs[msg].message_subject|truncate:70}</a>
|
||||
</td>
|
||||
<td>
|
||||
<a id="delete_icon-{$pr_msg.message_id}" href="?mode={$mode}&delete_mid={$user_msgs[msg].message_id}">
|
||||
<img src="{$imageurl}/dot.gif" border="0" class="delete_icon" />
|
||||
</a>
|
||||
</td>
|
||||
<td>{$user_msgs[msg].date_added}</td>
|
||||
</tr>
|
||||
{sectionelse}
|
||||
<strong><em>{lang code='you_dont_hv_any_pm'}</em></strong>
|
||||
{/section}
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
|
||||
{if $pr_msg !=''}
|
||||
|
||||
<div>
|
||||
<div style="padding:5px" align="right">
|
||||
<a id="delete_icon-{$pr_msg.message_id}" href="?mode={$mode}&delete_mid={$pr_msg.message_id}"><img src="{$imageurl}/dot.gif" border="0" class="delete_icon" /></a>
|
||||
<a id="reply_icon-{$pr_msg.message_id}" href="?mode=new_msg&reply={$pr_msg.message_id}"><img src="{$imageurl}/dot.gif" border="0" class="reply_icon" title="Reply!" /></a>
|
||||
</div>
|
||||
<div class="pm_message_top" align="left">
|
||||
<div class="pm_line">
|
||||
{lang code='from'} :
|
||||
<strong>
|
||||
<a href="{$userquery->profile_link($pr_msg)}">{$pr_msg.username}</a>
|
||||
</strong> - {$pr_msg.date_added|date_format:"%A, %B %e, %Y %I:%M %p"}
|
||||
</div>
|
||||
<div class="pm_line">
|
||||
{lang code='Subject'} : <strong>{$pr_msg.message_subject}</strong>
|
||||
</div>
|
||||
</div>
|
||||
{private_message pm=$pr_msg}
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
|
||||
<div class="clearfix" style="height:10px"></div>
|
41
upload/styles/cb_28/layout/blocks/quicklist/block.html
Normal file
|
@ -0,0 +1,41 @@
|
|||
{assign var=quicklist value=$cbvid->get_quicklist()}
|
||||
{assign var=quicklist_json value=$quicklist|@json_encode}
|
||||
|
||||
<div class="quicklist_box">
|
||||
<div class="quicklist_box_head clearfix">
|
||||
<span class="quick_title">{lang code='quicklists'}({$cbvid->total_quicklist()})</span>
|
||||
<div class="btn-group">
|
||||
<a class="ql_show-hide1 glyphicon glyphicon-minus btn btn-danger btn-sm" href="javascript:void(0)" onClick="quick_show_hide_toggle('#quicklist_cont')"></a>
|
||||
<a class="ql_rem glyphicon glyphicon-trash btn btn-danger btn-sm" href="javascript:void(0)" onClick='clear_quicklist({$quicklist_json})' ></a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="quicklist_cont" class="quicklist_cont">
|
||||
|
||||
{if $quicklist}
|
||||
<div id="my_quicklist" class="my_quicklist">
|
||||
|
||||
<!-- Getting Playlist Items-->
|
||||
{assign var='bg' value='fff'}
|
||||
{foreach from=$quicklist item=vid}
|
||||
{assign var=item value=$cbvid->get_video_details($vid)}
|
||||
|
||||
{include file="$style_dir/blocks/quicklist/video_block.html" video=$item bg=$bg show_delete='yes' unique_id="quicklist_"}
|
||||
|
||||
{if $bg=='fff'}
|
||||
{assign var='bg' value='EFF5F8'}
|
||||
{else}
|
||||
{assign var='bg' value='fff'}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$(".ql_show-hide1").click(function(){
|
||||
$(this).toggleClass('glyphicon-minus glyphicon-plus');
|
||||
});;
|
||||
});
|
||||
</script>
|
22
upload/styles/cb_28/layout/blocks/quicklist/video_block.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
{if !$videoLink}
|
||||
{videoLink vdetails=$video assign='videoLink'}
|
||||
{/if}
|
||||
<div class="qlist_item clearfix" style="background-color:#{$bg}; {if $selected==$video.videoid} border:1px solid #999{/if}" id="{$unique_id}playlist_cont_{$video.videoid}">
|
||||
<div class="pl_num">{$smarty.section.item.iteration}</div>
|
||||
<div class="pl_thumb">
|
||||
<a href="{videoLink($video)}" target="blank">
|
||||
<img src="{getThumb vdetails=$video}"/>
|
||||
</a>
|
||||
<span class="pl_duration">{$video.duration|SetTime}</span>
|
||||
</div>
|
||||
<div class="pl_details" onclick="window.location='{$videoLink}'">
|
||||
<p><a href="{videoLink($video)}" target="blank" >{$video.title|truncate:25}</a></p>
|
||||
<p>by {$video.username}</p>
|
||||
</div>
|
||||
{if $show_delete=='yes'}
|
||||
<button class="ql_delete glyphicon glyphicon-trash btn btn-danger btn-sm" onclick="remove_qucklist('#{$unique_id}playlist_cont_{$video.videoid}','{$video.videoid}')" title="remove {$video.title} from qucklist" alt="quicklist">
|
||||
</button>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
75
upload/styles/cb_28/layout/blocks/sidebar.html
Normal file
|
@ -0,0 +1,75 @@
|
|||
<div id="sidenav">
|
||||
<div class="sidenav-holder clearfix">
|
||||
<!-- <div class="widget clearfix"> -->
|
||||
<!-- <p>Create an account or sign in for a tailor-made video experience</p> -->
|
||||
<!-- <buttun class="btn btn-primary">Sign Up / Sign In</buttun> -->
|
||||
<!-- </div> -->
|
||||
<!-- <div class="widget clearfix">
|
||||
<a href="#">Videos you might like</a>
|
||||
</div> -->
|
||||
<div class="panel-group clearfix widget" id="accordion" role="tablist" aria-multiselectable="true">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">
|
||||
<a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne"><span class="caret"></span> Video Categories</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="collapseOne" class="panel-collapse collapse in">
|
||||
{include file="$style_dir/blocks/category_list.html" type='video'}
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">
|
||||
<a href="{cblink(['name'=>'photos'])}">Photos</a>
|
||||
</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">
|
||||
<a href="{cblink(['name'=>'collections'])}">Collections</a>
|
||||
</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">
|
||||
<a href="{cblink(['name'=>'groups'])}">Groups</a>
|
||||
</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">
|
||||
<a href="{cblink(['name'=>'channels'])}">{lang code="View Channels"}</a>
|
||||
</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">
|
||||
<a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseTwo"><span class="caret"></span> Who to Follow</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="collapseThree" class="panel-collapse collapse in">
|
||||
<ul class="panel-body">
|
||||
{$users=get_users(["order"=>"subscribers DESC","limit" =>"3"])}
|
||||
{foreach $users as $user}
|
||||
<li>
|
||||
<div class="avatar">
|
||||
<a href="{$userquery->profile_link($user)}">
|
||||
<img src="{avatar details=$user size='58x58'}">
|
||||
</a>
|
||||
</div>
|
||||
<span class="user-name">
|
||||
<a href="{$userquery->profile_link($user)}">{$user.username}</a>
|
||||
</span>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
23
upload/styles/cb_28/layout/blocks/topCollection.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
{if $display_type == "" || $display_type == "normal"}
|
||||
<div class="collection-item">
|
||||
<div class="thumb">
|
||||
<img class="img-responsive" src="{$cbcollection->get_thumb($collection,'',TRUE)}">
|
||||
</div>
|
||||
<a href="{$baseurl}/view_collection.php?cid={$collection.collection_id}&type={$collection.type}" title="{$collection.collection_name}">
|
||||
<div class="details">
|
||||
<span>{$collection.collection_name|truncate:30}<br>{$collection.total_objects} {$collection.type}</span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<!--<div class="row" style="margin-bottom: 3px">-->
|
||||
<!--<div class="col-md-5">-->
|
||||
<!--<a href="">-->
|
||||
<!--<a href="{$cbcollection->collection_links($collection,'view')}"><img src="{$cbcollection->get_thumb($collection,'small')}" /></a>-->
|
||||
<!--</a>-->
|
||||
<!--</div>-->
|
||||
<!--<div class="col-md-6">-->
|
||||
<!--{$collection.collection_name|truncate:15}</a> ({$collection.total_objects} {$collection.type})-->
|
||||
<!--</div>-->
|
||||
<!--</div>-->
|
14
upload/styles/cb_28/layout/blocks/upload/form.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
{assign var='video_fields' value=$Upload->load_video_fields($input)}
|
||||
|
||||
|
||||
|
||||
{foreach from=$video_fields item=field}
|
||||
<pre>
|
||||
{foreach from=$field key=key item=oneField}
|
||||
<pre class="alert alert-info">
|
||||
{$key}
|
||||
{var_dump($oneField)}
|
||||
</pre>
|
||||
{/foreach}
|
||||
</pre>
|
||||
{/foreach}
|
46
upload/styles/cb_28/layout/blocks/upload/photo_form.html
Normal file
|
@ -0,0 +1,46 @@
|
|||
{assign var='reqFields' value=$cbphoto->load_required_forms($photoArray)}
|
||||
{assign var='otherFields' value=$cbphoto->load_other_forms($photoArray)}
|
||||
<div id="uploadFormContainer0" class="uploadFormContainer">
|
||||
<form action="#" method="post" id="Form{$uniqueID}">
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<div>
|
||||
{foreach from=$reqFields item=item}
|
||||
<div class="form-group">
|
||||
<label>{$item.title}</label>
|
||||
{$item.class='form-control'}
|
||||
{$formObj->createField($item)}
|
||||
{if $item.hint_1}
|
||||
<span class="hint">{$item.hint_1}</span>
|
||||
{/if}
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
<div class="">
|
||||
<div class="photoOptionalSettings">
|
||||
<div class="">
|
||||
{foreach from=$otherFields item=field}
|
||||
<div class="form-group">
|
||||
<label class="show">{$field.title}</label>
|
||||
{$field.label_class='radio-inline'}
|
||||
{$field.notShowSeprator=true}
|
||||
{$formObj->createField($field)}
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<button disabled class="btn btn-primary submitPhoto">
|
||||
Save Details
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="edit-img-thumbnail" id="photoPreview">
|
||||
<img src="{get_photo details=$photoArray size='m'}" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
48
upload/styles/cb_28/layout/blocks/upload/photo_upload.html
Normal file
|
@ -0,0 +1,48 @@
|
|||
<div class="PhotoUploaderWrapper" style="margin-bottom: 10px">
|
||||
<button class="btn big blue btn-block cbSubmitUpload" id="plupload-pickfiles">{lang code='browse_photos'}</button>
|
||||
</div>
|
||||
|
||||
<div id="upload-form-container"></div>
|
||||
|
||||
{assign var='reqFields' value=$cbphoto->load_required_forms($photoArray)}
|
||||
{assign var='otherFields' value=$cbphoto->load_other_forms($photoArray)}
|
||||
|
||||
<div id="photo_upload_form" style="display: none">
|
||||
<div class="photo_upload_container clearfix">
|
||||
<div class="photo_upload_header clearfix">
|
||||
<h3 class="photo-filename">Filename</h3> - <span class="photo-percentage">0%</span> - <span class="photo-speed">0 kb/s</span>
|
||||
<div class="photo-progress-bar">
|
||||
<div class="photo-progressed-bar" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="photo-upload-info">
|
||||
<form action="" onsubmit="return false;" method="post" name="photo-upload-form">
|
||||
{foreach from=$reqFields item=item}
|
||||
<div class="field clearfix">
|
||||
<div><label for="{$item.id}" class="label">{$item.title}</label></div>
|
||||
{$formObj->createField($item)}
|
||||
{if $item.hint_1}
|
||||
<div class="clear"></div>
|
||||
<span class="hint">{$item.hint_1}</span>
|
||||
{/if}
|
||||
</div>
|
||||
{/foreach}
|
||||
|
||||
{foreach from=$otherFields item=item}
|
||||
<div class="field clearfix">
|
||||
<div><label for="{$item.id}" class="label">{$item.title}</label></div>
|
||||
{$formObj->createField($item)}
|
||||
{if $item.hint_1}
|
||||
<div class="clear"></div>
|
||||
<span class="hint">{$item.hint_1}</span>
|
||||
{/if}
|
||||
</div>
|
||||
{/foreach}
|
||||
|
||||
<button class="cbSubmitUpload btn blue purple-stripe pull-right margin-top-10 moveR photo-save" disabled="disabled">{lang code='Uploading'}</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
163
upload/styles/cb_28/layout/blocks/upload/upload_form.html
Normal file
|
@ -0,0 +1,163 @@
|
|||
{$videoFields = $Upload->load_video_fields($input)}
|
||||
{$requiredFields = $videoFields[0]}
|
||||
{$sharingOptions = $videoFields[1]}
|
||||
{$dateAndLocation = $videoFields[2]}
|
||||
|
||||
<form action="#" id="updateVideoInfoFormNew">
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<div class="" id="updateVideoInfo">
|
||||
<fieldset class="">
|
||||
<legend class="">{$requiredFields.group_name}</legend>
|
||||
</fieldset>
|
||||
<div class="requiredFields">
|
||||
{foreach $requiredFields.fields as $field}
|
||||
<div class="form-group">
|
||||
{$field.class='form-control'}
|
||||
{$field.notShowSeprator='yes'}
|
||||
{if $field.type == 'radiobutton'}
|
||||
{$field.label_class='radio'}
|
||||
{$field.class=''}
|
||||
{$formObj->createField($field)}
|
||||
{elseif $field.type == 'checkbox'}
|
||||
{$categories = $field}
|
||||
{else}
|
||||
<label for="{$field.id}">{$field.title}</label>
|
||||
{$formObj->createField($field)}
|
||||
{/if}
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
<div class="formSection clear">
|
||||
<h4>{$dateAndLocation.group_name} <i class="glyphicon glyphicon-chevron-down pull-right"></i></h4>
|
||||
<div class="sectionContent hidden">
|
||||
{foreach $dateAndLocation.fields as $field}
|
||||
<div class="form-group">
|
||||
{$field.class='form-control'}
|
||||
{$field.notShowSeprator='yes'}
|
||||
{if $field.type == 'radiobutton'}
|
||||
{$field.label_class='radio'}
|
||||
{$field.class=''}
|
||||
{$formObj->createField($field)}
|
||||
{elseif $field.type == 'checkbox'}
|
||||
<h4>{$field.title}</h4>
|
||||
{$field.label_class='checkbox'}
|
||||
{$field.class='checkbox'}
|
||||
{$formObj->createField($field)}
|
||||
{else}
|
||||
<label for="{$field.id}">{$field.title}</label>
|
||||
{$formObj->createField($field)}
|
||||
{/if}
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="formSection clear">
|
||||
<h4>{$sharingOptions.group_name}<i class="glyphicon glyphicon-chevron-down pull-right"></i></h4>
|
||||
<div class="sectionContent hidden">
|
||||
{foreach $sharingOptions.fields as $field}
|
||||
<div class="form-group">
|
||||
{$field.class='form-control'}
|
||||
{$field.notShowSeprator='yes'}
|
||||
{if $field.type == 'radiobutton'}
|
||||
{$field.label_class='radio'}
|
||||
{$field.class=''}
|
||||
{$formObj->createField($field)}
|
||||
{else}
|
||||
<label for="{$field.id}">{$field.title}</label>
|
||||
{$formObj->createField($field)}
|
||||
{/if}
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pad-bottom-sm text-right">
|
||||
<button class="btn btn-primary btn-lg" type="button" id="saveVideoDetailsNew">Submit Now</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 uploadFormSidebarDiv">
|
||||
<h4>{$categories.title}</h4>
|
||||
<small>{$categories.hint_1}</small>
|
||||
<div class="categoriesContainer">
|
||||
{$categories.label_class='checkbox'}
|
||||
{$categories.class='checkbox'}
|
||||
{$formObj->createField($categories)}
|
||||
</div>
|
||||
<!-- <div class="cb-box pad-bottom terms-contatiner">
|
||||
<div class="checkbox">
|
||||
<label class="light">
|
||||
<input type="checkbox" value="">
|
||||
I have read and agree to submission policy
|
||||
</label>
|
||||
</div>
|
||||
<div class="checkbox">
|
||||
<label class="light">
|
||||
<input type="checkbox" value="">
|
||||
I have read and agree to terms and conditions
|
||||
</label>
|
||||
</div>
|
||||
<div class="checkbox">
|
||||
<label class="light">
|
||||
<input type="checkbox" value="">
|
||||
Remember these settings
|
||||
</label>
|
||||
</div>
|
||||
</div> -->
|
||||
<input type="hidden" name="videoid" value="{$videoid}">
|
||||
<input type="hidden" name="updateVideo" value="yes">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$(".formSection h4").on({
|
||||
click: function(e){
|
||||
e.preventDefault();
|
||||
if($(this).find("i").hasClass("glyphicon-chevron-down")){
|
||||
$(this).find("i").removeClass("glyphicon-chevron-down").addClass("glyphicon-chevron-up");
|
||||
$(this).next().toggleClass("hidden");
|
||||
}else{
|
||||
$(this).find("i").removeClass("glyphicon-chevron-up").addClass("glyphicon-chevron-down");
|
||||
$(this).next().toggleClass("hidden");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
//update form
|
||||
$("#saveVideoDetailsNew").on({
|
||||
click: function(e){
|
||||
e.preventDefault();
|
||||
var data = $("#updateVideoInfoFormNew").serialize();
|
||||
$.ajax({
|
||||
url : baseurl + "/actions/file_uploader.php",
|
||||
type : "post",
|
||||
data : data,
|
||||
dataType : 'json',
|
||||
success: function(msg)
|
||||
{
|
||||
|
||||
//msg = $.parseJSON(msg);
|
||||
console.log(msg);
|
||||
$("#uploadMessage").removeClass("hidden");
|
||||
if(msg.error){
|
||||
$("#uploadMessage").html(msg.error).attr("class", "alert alert-danger");
|
||||
}else{
|
||||
$("#uploadMessage").html(msg.msg).attr("class", "alert alert-success");
|
||||
}
|
||||
setTimeout(function(){
|
||||
$("#uploadMessage").addClass("hidden");
|
||||
}, 5000);
|
||||
}
|
||||
})
|
||||
}
|
||||
});
|
||||
})
|
||||
|
||||
</script>
|
94
upload/styles/cb_28/layout/blocks/user.html
Normal file
|
@ -0,0 +1,94 @@
|
|||
{if $block_type == '' || $block_type=='normal'}
|
||||
<div class="item_channel col-lg-3 col-md-3 col-sm-4 col-xs-12" id="user-{$user.userid}">
|
||||
<div class="channel-holder">
|
||||
<a class="user-block" href="{$userquery->profile_link($user)}">
|
||||
<img class="avatar" src="{$userquery->getuserthumb($user)}">
|
||||
<h2>{$user.username}</h2>
|
||||
</a>
|
||||
<div class="info">
|
||||
{if isSectionEnabled('videos')}
|
||||
<span>{$user.total_videos|number_format} {lang code="videos"}</span>
|
||||
{/if}
|
||||
<span>{$user.profile_hits|number_format} {lang code="views"}</span>
|
||||
<span>{$user.subscribers|number_format} {lang code="subscribers"}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{if $block_type=='groups_show'}
|
||||
<div class="clearfix" id="user-{$user.userid}">
|
||||
<div class="cb-user-thumb clearfix">
|
||||
<div class="chanel-cover clearfix" style="background: url({$coverPhoto}) center #000000 no-repeat;"></div>
|
||||
<a class="avatar" href="{$userquery->profile_link($user)}">
|
||||
<img src="{$userquery->getuserthumb($user)}">
|
||||
</a>
|
||||
</div>
|
||||
<div class="user-detail-block">
|
||||
<div class="clearfix">
|
||||
<h4>
|
||||
<a class="show" href="{$userquery->profile_link($user)}">{$user.username}</a>
|
||||
</h4>
|
||||
<div class="clearfix row info-box">
|
||||
<div class="col-sm-6 col-xs-12">
|
||||
<span class="bg-videocam"></span> <span>{$user.total_videos|number_format} {lang code='Videos'}</span>
|
||||
</div>
|
||||
<div class="col-sm-6 col-xs-12">
|
||||
<span>{$user.subscribers|number_format} {lang code="subscribers"}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
<a href="javascript:void(0)" class="btn btn-default btn-subscribe" id="subuser-{$user.userid}" >Subscribe</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $block_type =='small'}
|
||||
<div class="col-md-2" id="user-{$user.userid}" align="center">
|
||||
<a href="{$userquery->profile_link($user)}">{$user.username}</a>
|
||||
<a href="{$userquery->profile_link($user)}">
|
||||
<img src="{$userquery->getuserthumb($user)}" class="img-thumbnail" class="user_mid_thumb">
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $block_type =='medium'}
|
||||
<div class="user_block_med" id="user-{$user.userid}">
|
||||
<div class="thumb_container_medium" >
|
||||
<a href="{$userquery->profile_link($user)}">
|
||||
<img src="{$userquery->getuserthumb($user)}" class="img-thumbnail" class="user_thumb_medium">
|
||||
</a>
|
||||
</div>
|
||||
<div class="prof_title"><a href="{$userquery->profile_link($user)}">{$user.username}</a></div>
|
||||
{$user.total_videos|number_format} {lang code="videos"} {$user.profile_hits|number_format} {lang code="views"}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $block_type == "friends"}
|
||||
<div class="pull-left marginLeft group_thumb_member" id="user-{$user.userid}">
|
||||
<a href="{$userquery->profile_link($user)}" title="{$user.username}">
|
||||
<img class="group_thumb " src="{avatar details=$user size='small'}" alt="{$user.username}" />
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $block_type == "topic_view"}
|
||||
<div class="topicStarterAvatar moveL">
|
||||
<i class="topicStarterAvatarBG" style="background:url({avatar details=$user }) center no-repeat; width:56px; height:56px;"><a href="{$userquery->profile_link($user)}">{$user.username}</a></i>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function (){
|
||||
var id ='{$user.userid}';
|
||||
$('#subuser-'+id).on({
|
||||
click: function(e){
|
||||
e.preventDefault();
|
||||
_cb.subscribeToChannel(id,'subscribe_user','result_cont');
|
||||
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
154
upload/styles/cb_28/layout/blocks/video.html
Normal file
|
@ -0,0 +1,154 @@
|
|||
{if $display_type=='normal' || $display_type==''}
|
||||
<div class="clearfix popular-video">
|
||||
<div class="col-lg-3 col-md-3 col-sm-4 col-xs-6 thumb-holder">
|
||||
<a class="video_link" href="{videoLink($video)}" title="{$video.title|title}">
|
||||
<img class="img-responsive" src="{getThumb vdetails=$video size=300x169 }">
|
||||
<span class="duration">{if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}{*$video.duration|date_format:$config.time*}</span>
|
||||
</a>
|
||||
{ANCHOR place='in_video_thumb' data=$video}
|
||||
<img src="{$imageurl}/dot.gif" data-quick="quick-{$video.videoid}" class="add_icon cb_quickie cb-btn-quick-{$video.videoid}" onclick="add_quicklist(this,'{$video.videoid}')" title="Add {$video.title} to Quicklist" alt="Quicklist">
|
||||
</div>
|
||||
|
||||
{$show_dropdown ='yes'}
|
||||
{if $dis_type == 'no-dropdown' || $related == 'yes'}
|
||||
{$show_dropdown ='no'}
|
||||
{/if}
|
||||
<div class="col-lg-9 col-md-9 col-sm-8 col-xs-6 vid-info">
|
||||
<strong class="title"><a href="{videoLink($video)}">{$video.title|truncate:30}</a></strong>
|
||||
{$user = $video.username}
|
||||
<span class="author">by <a href="{$userquery->profile_link($user)}">{$video.username}</a> {$video.date_added|niceTime}</span>
|
||||
<div class="clearfix">
|
||||
<span class="icon-eye"><i class="icon-eye"></i> {$video.views} views</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_type=='user_videos'}
|
||||
<div class="col-md-3 col-sm-4 col-xs-6">
|
||||
<a href="{videoLink($video)}" title="{$video.title|title}">
|
||||
<img alt="{$video.title|title}" src="{getThumb vdetails=$video size='171x120'}" id="thumbs_{$video.videoid}" title="{$video.title|title}"/>
|
||||
</a>
|
||||
<p class="cbHomeVidDuration duration_view">
|
||||
{if $video.duration>1}
|
||||
{$video.duration|SetTime}
|
||||
{else}
|
||||
00:00
|
||||
{/if}
|
||||
</p>
|
||||
<a href="{videoLink($video)}" title="{$video.title|title}"><h5>
|
||||
<b> {$video.title|truncate:30}</b></h5></a>
|
||||
<span class="pull-left"><h5><small>{$video.views} views</small></h5></span>
|
||||
<span class="pull-right"><h5><small>{$video.date_added|niceTime}</small></h5></span>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_type=='trending'}
|
||||
<div class="item_video row clearfix">
|
||||
<div class="col-xs-6">
|
||||
<div class="cb_item_thumb video_thumb">
|
||||
<a class="video-link" href="{videoLink($video)}" title="{$video.title|title}">
|
||||
<span class="duration">{if
|
||||
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if}{*$video.duration|date_format:$config.time*}
|
||||
</span>
|
||||
<i class="icon-playweb play-icon"></i>
|
||||
<img class="img-responsive" src="{getThumb vdetails=$video size=300x169 } " border="1" />
|
||||
</a>
|
||||
{ANCHOR place='in_video_thumb' data=$video}
|
||||
|
||||
<img src="{$imageurl}/dot.gif" data-quick="quick-{$video.videoid}"
|
||||
class="add_icon cb_quickie cb-btn-quick-{$video.videoid}" onclick="add_quicklist(this,'{$video.videoid}')" title="Add {$video.title} to Quicklist" alt="Quicklist" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<h5 class="dropdown hide_btn">
|
||||
<a data-hover="dropdown" data-toggle="dropdown" class="dropdown-toggle" data-delay="1000" data-close-others="false" onClick="location.href='{videoLink($video)}'" href="{videoLink($video)}">{$video.title|truncate:15} </a>
|
||||
</h5>
|
||||
{$user = $video.username}
|
||||
<h5>by <a href="{$userquery->profile_link($user)}">{$video.username}</a></h5>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_type=='related'}
|
||||
<div class="item_video row clearfix">
|
||||
<div class="col-xs-6">
|
||||
<div class="cb_item_thumb video_thumb">
|
||||
<a class="video-link" href="{videoLink($video)}" title="{$video.title|title}">
|
||||
<span class="duration">{if
|
||||
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if}{*$video.duration|date_format:$config.time*}
|
||||
</span>
|
||||
<i class="icon-playweb play-icon"></i>
|
||||
<img class="img-responsive" src="{getThumb vdetails=$video size=300x169 } " border="1" />
|
||||
</a>
|
||||
{ANCHOR place='in_video_thumb' data=$video}
|
||||
|
||||
<img src="{$imageurl}/dot.gif" data-quick="quick-{$video.videoid}"
|
||||
class="add_icon cb_quickie cb-btn-quick-{$video.videoid}" onclick="add_quicklist(this,'{$video.videoid}')" title="Add {$video.title} to Quicklist" alt="Quicklist" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<h5 class="dropdown hide_btn">
|
||||
<a data-hover="dropdown" data-toggle="dropdown" class="dropdown-toggle" data-delay="1000" data-close-others="false" onClick="location.href='{videoLink($video)}'" href="{videoLink($video)}">{$video.title|truncate:15} </a>
|
||||
|
||||
</h5>
|
||||
{$user = $video.username}
|
||||
<h5>by <a href="{$userquery->profile_link($user)}">{$video.username}</a></h5>
|
||||
<div class="clearfix views-time">
|
||||
<span><i class="icon-eye"></i> {$video.views} views</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_type=='morefrom-channel'}
|
||||
<div class="item_video clearfix">
|
||||
<div class="clearfix vid_thumb">
|
||||
<div class="cb_item_thumb video_thumb">
|
||||
<a class="video-link" href="{videoLink($video)}" title="{$video.title|title}">
|
||||
<span class="duration">{if
|
||||
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if}{*$video.duration|date_format:$config.time*}
|
||||
</span>
|
||||
<i class="icon-playweb play-icon"></i>
|
||||
<img class="img-responsive" src="{getThumb vdetails=$video size=300x169 } " border="1" />
|
||||
</a>
|
||||
{ANCHOR place='in_video_thumb' data=$video}
|
||||
|
||||
<img src="{$imageurl}/dot.gif" data-quick="quick-{$video.videoid}"
|
||||
class="add_icon cb_quickie cb-btn-quick-{$video.videoid}" onclick="add_quicklist(this,'{$video.videoid}')" title="Add {$video.title} to Quicklist" alt="Quicklist" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
<h5 class="dropdown hide_btn">
|
||||
<a data-hover="dropdown" data-toggle="dropdown" class="dropdown-toggle" data-delay="1000" data-close-others="false" onClick="location.href='{videoLink($video)}'" href="{videoLink($video)}">{$video.title|truncate:15} </a>
|
||||
</h5>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_type=='user-videos'}
|
||||
<div class="item_video clearfix">
|
||||
<div class="clearfix vid_thumb">
|
||||
<div class="cb_item_thumb video_thumb">
|
||||
<a class="video-link" href="{videoLink($video)}" title="{$video.title|title}">
|
||||
<span class="duration">{if
|
||||
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if}{*$video.duration|date_format:$config.time*}
|
||||
</span>
|
||||
<i class="icon-playweb play-icon"></i>
|
||||
<img class="img-responsive" src="{getThumb vdetails=$video size=300x169 } " border="1" />
|
||||
</a>
|
||||
{ANCHOR place='in_video_thumb' data=$video}
|
||||
|
||||
<img src="{$imageurl}/dot.gif" data-quick="quick-{$video.videoid}"
|
||||
class="add_icon cb_quickie cb-btn-quick-{$video.videoid}" onclick="add_quicklist(this,'{$video.videoid}')" title="Add {$video.title} to Quicklist" alt="Quicklist" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
<h5>
|
||||
<a href="{videoLink($video)}">{$video.title|truncate:30}</a>
|
||||
</h5>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
|
@ -0,0 +1,54 @@
|
|||
{if $slider !=''}
|
||||
|
||||
<div id="slide1">
|
||||
{foreach from=$videos_06_da item=video_06_da}
|
||||
<div class="col-md-2 text-center nopadding mouse_hover">
|
||||
<div class="col-md-11 text-center nopadding">
|
||||
<a href="{videoLink vdetails=$video_06_da}" title="{$video_06_da.title}">
|
||||
<img class="cb_img_thum" src="{getThumb vdetails=$video_06_da}" width="135" height="75" {ANCHOR place="video_thumb" data=$video_06_da} />
|
||||
<div class="cbHomeVidTitle cbHomeVidTitle_slid-title mouse_hover_on">{$video_06_da.title|truncate:10}</div>
|
||||
</a>
|
||||
<div class="cbHomeVidDuration cbHomeVidDuration_slide mouse_hover_on">
|
||||
{$video_06_da.duration|date_format:$config.time}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
<div class="nxt-pre">
|
||||
<a href="#" class="circle" id="slide_prev1">
|
||||
<span class="glyphicon glyphicon-chevron-left"></span>
|
||||
</a>
|
||||
<a href="#" class="circle" id="slide_next1">
|
||||
<span class="glyphicon glyphicon-chevron-right"></span>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
{if $slider3 !=''}
|
||||
|
||||
<div id="slide3">
|
||||
{foreach from=$videos_06_da item=video_06_da}
|
||||
<div class="col-md-2 text-center nopadding mouse_hover">
|
||||
<div class="col-md-11 text-center nopadding">
|
||||
<a href="{videoLink vdetails=$video_06_da}" title="{$video_06_da.title}">
|
||||
<img class="cb_img_thum" src="{getThumb vdetails=$video_06_da}" width="135" height="75" {ANCHOR place="video_thumb" data=$video_06_da} />
|
||||
<div class="cbHomeVidTitle cbHomeVidTitle_slid-title mouse_hover_on">{$video_06_da.title|truncate:10}</div>
|
||||
</a>
|
||||
<div class="cbHomeVidDuration cbHomeVidDuration_slide mouse_hover_on">
|
||||
{$video_06_da.duration|date_format:$config.time}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
<div class="nxt-pre">
|
||||
<a href="#" class="circle" id="slide_prev3">
|
||||
<span class="glyphicon glyphicon-chevron-left"></span>
|
||||
</a>
|
||||
<a href="#" class="circle" id="slide_next3">
|
||||
<span class="glyphicon glyphicon-chevron-right"></span>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
|
@ -0,0 +1,89 @@
|
|||
<div class="">
|
||||
|
||||
<h2 class="text-center">Here we can scroll through a couple of item clusters.</h2>
|
||||
<p class="text-center">Captions are still supported, too!</p>
|
||||
<hr>
|
||||
<h3>New Products</h3>
|
||||
|
||||
<div class="row-fluid">
|
||||
<div id="myCarousel" class="carousel slide">
|
||||
<div class="carousel-inner">
|
||||
<div class="item active">
|
||||
<ul class="thumbnails_new">
|
||||
<li class="span3">
|
||||
<div class="thumbnail_new">
|
||||
<img alt="" src="assets/img/thumb1.jpg">
|
||||
</div>
|
||||
<p>First item<br>
|
||||
<small class="red">$19.99</small><br>
|
||||
<a class="btn btn-success" href="#">Buy Now</a></p>
|
||||
</li>
|
||||
<li class="span3">
|
||||
<div class="thumbnail_new">
|
||||
<img alt="" src="assets/img/thumb2.jpg">
|
||||
</div>
|
||||
<p>This is second<br>
|
||||
<small class="red">$19.99</small><br>
|
||||
<a class="btn btn-success" href="#">Buy Now</a></p>
|
||||
</li>
|
||||
<li class="span3">
|
||||
<div class="thumbnail_new">
|
||||
<img alt="" src="assets/img/thumb3.jpg">
|
||||
</div>
|
||||
<p>Third product<br>
|
||||
<small class="red">$19.99</small><br>
|
||||
<a class="btn btn-success" href="#">Buy Now</a></p>
|
||||
</li>
|
||||
<li class="span3">
|
||||
<div class="thumbnail_new">
|
||||
<img alt="" src="assets/img/thumb4.jpg">
|
||||
</div>
|
||||
<p>And the fourth<br>
|
||||
<small class="red">$19.99</small><br>
|
||||
<a class="btn btn-success" href="#">Buy Now</a></p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="item">
|
||||
<ul class="thumbnails_new">
|
||||
<li class="span3">
|
||||
<div class="thumbnail_new">
|
||||
<img alt="" src="assets/img/thumb5.jpg">
|
||||
</div>
|
||||
<p>Another caption<br>
|
||||
<small class="red">$19.99</small><br>
|
||||
<a class="btn btn-success" href="#">Buy Now</a></p>
|
||||
</li>
|
||||
<li class="span3">
|
||||
<div class="thumbnail_new">
|
||||
<img alt="" src="assets/img/thumb6.jpg">
|
||||
</div>
|
||||
<p>Another caption<br>
|
||||
<small class="red">$19.99</small><br>
|
||||
<a class="btn btn-success" href="#">Buy Now</a></p>
|
||||
</li>
|
||||
<li class="span3">
|
||||
<div class="thumbnail_new">
|
||||
<img alt="" src="assets/img/thumb7.jpg">
|
||||
</div>
|
||||
<p>Another caption<br>
|
||||
<small class="red">$19.99</small><br>
|
||||
<a class="btn btn-success" href="#">Buy Now</a></p>
|
||||
</li>
|
||||
<li class="span3">
|
||||
<div class="thumbnail_new">
|
||||
<img alt="" src="assets/img/thumb8.jpg">
|
||||
</div>
|
||||
<p>Another caption<br>
|
||||
<small class="red">$19.99</small><br>
|
||||
<a class="btn btn-success" href="#">Buy Now</a></p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<a class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a>
|
||||
<a class="right carousel-control" href="#myCarousel" data-slide="next">›</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
209
upload/styles/cb_28/layout/blocks/videos/video.html
Normal file
|
@ -0,0 +1,209 @@
|
|||
{if $display_type=='popVideos'}
|
||||
<div class="col-lg-5 col-md-6 col-sm-6 col-xs-6 thumb-holder">
|
||||
<a class="video_link" href="{videoLink($pop_video)}" title="{$pop_video.title|title}">
|
||||
<img class="img-responsive" src="{getThumb vdetails=$pop_video size=600x338 }">
|
||||
<span class="duration">{if $pop_video.duration>1}{$pop_video.duration|SetTime}{else}00:00{/if}</span>
|
||||
</a>
|
||||
{ANCHOR place='in_video_thumb' data=$pop_video}
|
||||
<img data-quick="quick-{$pop_video.videoid}"
|
||||
class="icon-add add_icon cb_quickie cb-btn-quick-{$pop_video.videoid}" onclick="add_quicklist(this,'{$pop_video.videoid}')" src="{$imageurl}/dot.gif" title="Add {$pop_video.title} to Quicklist">
|
||||
</div>
|
||||
<div class="col-lg-7 col-md-6 col-sm-6 col-xs-6 vid-info">
|
||||
<strong class="title"><a href="{videoLink($pop_video)}">{$pop_video.title|truncate:50}</a></strong>
|
||||
<span class="author">by <a href="{$userquery->profile_link($pop_video)}">{$pop_video.username}</a></span>
|
||||
<div class="clearfix view-date">
|
||||
<span class="icon-eye"><i class="fa fa-eye"></i> {$pop_video.views} views</span>
|
||||
<span class="icon-date"><i class="fa fa-clock-o"></i> {$pop_video.date_added|niceTime}</span>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_type=='homeVideos'}
|
||||
<div class="clearfix thumb-holder">
|
||||
<a class="video-link" href="{videoLink($video)}" title="{$video.title|title}">
|
||||
<img class="img-responsive" src="{getThumb vdetails=$video size=600x338 }">
|
||||
<span class="duration">{if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}</span>
|
||||
</a>
|
||||
{ANCHOR place='in_video_thumb' data=$video}
|
||||
<img data-quick="quick-{$video.videoid}"
|
||||
class="icon-add add_icon cb_quickie cb-btn-quick-{$video.videoid}" onclick="add_quicklist(this,'{$video.videoid}')" src="{$imageurl}/dot.gif" title="Add {$video.title} to Quicklist">
|
||||
</div>
|
||||
<div class="clearfix video-info">
|
||||
<h2 class="title"><a href="{videoLink($pop_video)}">{$video.title|truncate:50}</a></h2>
|
||||
<span class="author">by <a href="{$userquery->profile_link($video)}">{$video.username}</a></span>
|
||||
<div class="clearfix views-date">
|
||||
<span>{$video.views} views</span>
|
||||
<time class="date" datetime="2016-15-03">{$video.date_added|niceTime}</time>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_type=='featuredVideos'}
|
||||
<div class="clearfix thumb-holder">
|
||||
<a class="video-link" href="{videoLink($video)}" title="{$video.title|title}">
|
||||
<img class="img-responsive" src="{getThumb vdetails=$video size=600x338 }">
|
||||
<h2 class="title">{$video.title|truncate:50}</h2>
|
||||
<span class="duration">{if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}</span>
|
||||
</a>
|
||||
{ANCHOR place='in_video_thumb' data=$video}
|
||||
<img data-quick="quick-{$video.videoid}"
|
||||
class="icon-add add_icon cb_quickie cb-btn-quick-{$video.videoid}" onclick="add_quicklist(this,'{$video.videoid}')" src="{$imageurl}/dot.gif" title="Add {$video.title} to Quicklist">
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_type=='normal' || $display_type==''}
|
||||
<div class="item_video col-lg-12 col-md-12 col-sm-6 clearfix">
|
||||
<div class="row clearfix">
|
||||
<div class="col-xs-6">
|
||||
<div class="cb_item_thumb video_thumb">
|
||||
<a class="video-link" href="{videoLink($video)}" title="{$video.title|title}">
|
||||
<span class="duration">{if
|
||||
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if}{*$video.duration|date_format:$config.time*}
|
||||
</span>
|
||||
<i class="icon-playweb play-icon"></i>
|
||||
<img class="img-responsive" src="{getThumb vdetails=$video size=600x338 } " border="1" />
|
||||
</a>
|
||||
{ANCHOR place='in_video_thumb' data=$video}
|
||||
<img src="{$imageurl}/dot.gif" data-quick="quick-{$video.videoid}"
|
||||
class="add_icon cb_quickie cb-btn-quick-{$video.videoid}" onclick="add_quicklist(this,'{$video.videoid}')" title="Add {$video.title} to Quicklist" alt="Quicklist">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{$show_dropdown ='yes'}
|
||||
{if $dis_type == 'no-dropdown' || $related == 'yes'}
|
||||
{$show_dropdown ='no'}
|
||||
{/if}
|
||||
<div class="col-xs-6">
|
||||
<h5 class="dropdown hide_btn">
|
||||
<a onClick="location.href='{videoLink($video)}'" href="{videoLink($video)}">
|
||||
{$video.title|truncate:30}
|
||||
</a>
|
||||
</h5>
|
||||
|
||||
<h5>by <a href="{$userquery->profile_link($video)}">{name($video)}</a></h5>
|
||||
{if $show_dropdown = 'yes'}
|
||||
<div class="clearfix views-time">
|
||||
<span><i class="icon-eye"></i> {$video.views} views</span>
|
||||
<span><i class="icon-clock"></i> {$video.date_added|niceTime}</span>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_type=='user_videos'}
|
||||
<div class="col-md-3 col-sm-4 col-xs-6">
|
||||
<a href="{videoLink($video)}" title="{$video.title|title}">
|
||||
<img alt="{$video.title|title}" src="{getThumb vdetails=$video size='171x120'}" id="thumbs_{$video.videoid}" title="{$video.title|title}"/>
|
||||
</a>
|
||||
<p class="cbHomeVidDuration duration_view">
|
||||
{if $video.duration>1}
|
||||
{$video.duration|SetTime}
|
||||
{else}
|
||||
00:00
|
||||
{/if}
|
||||
</p>
|
||||
<a href="{videoLink($video)}" title="{$video.title|title}"><h5>
|
||||
<b> {$video.title|truncate:25}</b></h5></a>
|
||||
<span class="pull-left"><h5><small>{$video.views} views</small></h5></span>
|
||||
<span class="pull-right"><h5><small>{$video.date_added|niceTime}</small></h5></span>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_type=='playlistVideos'}
|
||||
<div class="video_thumb">
|
||||
<a class="video_link" href="{videoLink($video)}" title="{$video.title|title}">
|
||||
<img class="img-responsive" src="{getThumb vdetails=$video size=600x338 }">
|
||||
<div class="play-info">
|
||||
<strong class="title">{$video.title|truncate:30}</strong>
|
||||
<i class="icon-playweb"></i>
|
||||
<span class="duration">{if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}</span>
|
||||
</div>
|
||||
</a>
|
||||
{ANCHOR place='in_video_thumb' data=$video}
|
||||
<i data-quick="quick-{$video.videoid}"
|
||||
class="icon-add add_icon cb_quickie cb-btn-quick-{$video.videoid}" onclick="add_quicklist(this,'{$video.videoid}')" title="Add {$video.title} to Quicklist"></i>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_type=='related'}
|
||||
<div class="item_video row clearfix">
|
||||
<div class="col-xs-6">
|
||||
<div class="row cb_item_thumb video_thumb">
|
||||
<a class="video-link" href="{videoLink($video)}" title="{$video.title|title}">
|
||||
<span class="duration">{if
|
||||
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if}{*$video.duration|date_format:$config.time*}
|
||||
</span>
|
||||
<i class="icon-playweb play-icon"></i>
|
||||
<img class="img-responsive" src="{getThumb vdetails=$video size=600x338 } " border="1" />
|
||||
</a>
|
||||
{ANCHOR place='in_video_thumb' data=$video}
|
||||
<img src="{$imageurl}/dot.gif" data-quick="quick-{$video.videoid}"
|
||||
class="add_icon cb_quickie cb-btn-quick-{$video.videoid}" onclick="add_quicklist(this,'{$video.videoid}')" title="Add {$video.title} to Quicklist" alt="Quicklist">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<h5 class="dropdown hide_btn">
|
||||
<a data-hover="dropdown" data-toggle="dropdown" class="dropdown-toggle" data-delay="1000" data-close-others="false" onClick="location.href='{videoLink($video)}'" href="{videoLink($video)}">{$video.title|truncate:15} </a>
|
||||
</h5>
|
||||
|
||||
<h5>by <a href="{$userquery->profile_link($video)}">{name($video)}</a></h5>
|
||||
<div class="clearfix views-time">
|
||||
<span><i class="icon-eye"></i> {$video.views} views</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_type=='morefrom-channel'}
|
||||
<div class="item_video clearfix">
|
||||
<div class="clearfix vid_thumb">
|
||||
<div class="cb_item_thumb video_thumb">
|
||||
<a class="video-link" href="{videoLink($video)}" title="{$video.title|title}">
|
||||
<span class="duration">{if
|
||||
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if}{*$video.duration|date_format:$config.time*}
|
||||
</span>
|
||||
<i class="icon-playweb play-icon"></i>
|
||||
<img class="img-responsive" src="{getThumb vdetails=$video size=600x338 } " border="1" />
|
||||
</a>
|
||||
{ANCHOR place='in_video_thumb' data=$video}
|
||||
<img src="{$imageurl}/dot.gif" data-quick="quick-{$video.videoid}"
|
||||
class="add_icon cb_quickie cb-btn-quick-{$video.videoid}" onclick="add_quicklist(this,'{$video.videoid}')" title="Add {$video.title} to Quicklist" alt="Quicklist">
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
<h5 class="dropdown hide_btn">
|
||||
<a data-hover="dropdown" data-toggle="dropdown" class="dropdown-toggle" data-delay="1000" data-close-others="false" onClick="location.href='{videoLink($video)}'" href="{videoLink($video)}">{$video.title|truncate:15} </a>
|
||||
</h5>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_type=='view_videos'}
|
||||
<div class="item_video">
|
||||
<div class="clearfix">
|
||||
<div class="cb_item_thumb video_thumb">
|
||||
<a class="video-link" href="{videoLink($video)}" title="{$video.title|title}">
|
||||
<span class="duration">{if
|
||||
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if}{*$video.duration|date_format:$config.time*}
|
||||
</span>
|
||||
<i class="icon-playweb play-icon"></i>
|
||||
<img class="img-responsive" src="{getThumb vdetails=$video size=600x338 } " border="1" />
|
||||
</a>
|
||||
{ANCHOR place='in_video_thumb' data=$video}
|
||||
<img src="{$imageurl}/dot.gif" data-quick="quick-{$video.videoid}"
|
||||
class="add_icon cb_quickie cb-btn-quick-{$video.videoid}" onclick="add_quicklist(this,'{$video.videoid}')" title="Add {$video.title} to Quicklist" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
<h5 class="dropdown hide_btn">
|
||||
<a data-hover="dropdown" data-toggle="dropdown" class="dropdown-toggle" data-delay="1000" data-close-others="false" onClick="location.href='{videoLink($video)}'" href="{videoLink($video)}">{$video.title|truncate:30} </a>
|
||||
|
||||
</h5>
|
||||
|
||||
<h5>by <a href="{$userquery->profile_link($video)}">{name($video)}</a> {$video.date_added|niceTime}</h5>
|
||||
<h5><i class="icon-eye"></i> {$video.views} views</h5>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
24
upload/styles/cb_28/layout/blocks/videos/video_popular.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
<div class="clearfix marginBottom grid_view list_view item_video_pop">
|
||||
<div class="item_video">
|
||||
<div class="cb_item_container clearfix">
|
||||
<div class=" col-md-5 thumb row">
|
||||
<a href="{videoLink($video)}" title="{$video.title|title}" >
|
||||
<img class="" src="{getThumb vdetails=$video}">
|
||||
<span class="duration">{if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="pull-right col-md-8 paddingright0">
|
||||
<div class="item_text overflow_hidden">
|
||||
<div class="clearfix">
|
||||
<a href="{videoLink($video)}"><b>{$video.title|truncate:50}</b></a>
|
||||
</div>
|
||||
<span class="user-block">{name($video)}</span>
|
||||
</div>
|
||||
<div class="row small col-md-8">
|
||||
<span class="pull-left views-count"><!-- <span class="bg-eye"></span> --> {$video.views} views</span>
|
||||
<!-- <span class="pull-right"><small><span class="glyphicon glyphicon-thumbs-up"></span> {$video.rating}</small></span> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
52
upload/styles/cb_28/layout/blocks/videos/videos.html
Normal file
|
@ -0,0 +1,52 @@
|
|||
|
||||
<!-- Listing Categories -->
|
||||
{include file="$style_dir/blocks/category_list.html" type='video'}
|
||||
<!-- Listing Categories End -->
|
||||
|
||||
<div style="width:620px; float:left" class="vid_page_conainer" >
|
||||
<div class="sort_cont">
|
||||
|
||||
<ul>
|
||||
<li>{lang code='sort_by'} :</li>
|
||||
{assign var=sorting_links value=func->sorting_links()}
|
||||
{foreach from=$sorting_links item=name key=sort}
|
||||
<li {if $smarty.get.sort==$sort} class="selected"{/if}><a href="{link name=sort sort=$sort type=videos}">{$name}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="time_cont">
|
||||
{assign var=time_links value=func->time_links()}
|
||||
{foreach from=$time_links item=name key=sort name=times}
|
||||
<a href="{link name=time sort=$sort type=videos}" {if $smarty.get.time==$sort} class="selected"{/if}>{$name}</a> {if !$smarty.foreach.times.last}|{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
<div id="style_change" style="margin-top:10px">
|
||||
<div id="grid" onclick="ToggleView(this);" title="Change To Grid Style"></div>
|
||||
<div id="list" onclick="ToggleView(this);" title="Change to List Style"></div>
|
||||
{lang code='change_style_of_listing'}
|
||||
</div>
|
||||
|
||||
<div id="videos_page">
|
||||
{section name=v_list loop=$videos}
|
||||
{include file="$style_dir/blocks/video.html" video=$videos[v_list]}
|
||||
{sectionelse}
|
||||
{lang code='no_results_found'}
|
||||
{/section}
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
|
||||
<div class="vert_add_box">
|
||||
<div style="width:160px; margin:auto; margin-top:5px">
|
||||
{AD place='ad_160x600'}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="clearfix" style="margin-bottom:10px"></div>
|
||||
|
||||
{include file="$style_dir/blocks/pagination.html"}
|
|
@ -0,0 +1,38 @@
|
|||
<div id="messageFav" class="channel-alert"></div>
|
||||
<div class="cover" id="coverContainer">
|
||||
<div class="cover-holder clearfix">
|
||||
<img class="img-responsive cb-live-background" src="{if $coverPhoto != ''}{$coverPhoto}{else}{$theme}/images/cover_default.jpg {/if}" size='1140x276' alt="">
|
||||
<div class="avatar-block">
|
||||
<a class="avatar" href="#">
|
||||
<img class="img-responsive img-circle" src="{$userquery->getUserThumb($user)}">
|
||||
</a>
|
||||
<h2>{$user.username}</h2>
|
||||
<div class="clearfix btn-holder">
|
||||
{if $user.userid != userid()}
|
||||
|
||||
<span class="subscribers">{lang code="Subscribers"} {$user.subscribers}</span>
|
||||
|
||||
<div class="clearfix">
|
||||
<button id="subscribe_channel" class="btn btn-primary btn-subscribe">{lang code="Subscribe"}</button>
|
||||
</div>
|
||||
{/if}
|
||||
{if $user.userid == userid()}
|
||||
<span class="subscribers">{lang code="Subscribers"} {$user.subscribers}</span>
|
||||
{/if}
|
||||
</div>
|
||||
{if $user.userid == userid()}
|
||||
<ul class="clearfix counts-info">
|
||||
<li>
|
||||
<span>{$user.total_videos}</span> <i class="fa fa-video-camera"></i>
|
||||
</li>
|
||||
<li>
|
||||
<span>{$user.profile_hits}</span> <i class="fa fa-eye"></i>
|
||||
</li>
|
||||
</ul>
|
||||
{/if}
|
||||
</div>
|
||||
{if $user.userid == userid()}
|
||||
<a href="#" class="btn btn-sm changeCover" id="changeCover">{lang code="Update Cover"}<span class="icon-photo"></span></a>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,23 @@
|
|||
<div class="channel_right hidden-xs">
|
||||
<section class="clearfix">
|
||||
<header class="heading clearfix">
|
||||
<h1>{lang code="Recent Activities"} <i class="icon-arrow-right"></i></h1>
|
||||
</header>
|
||||
<div id="content_1" class="content user-activities">
|
||||
<div class="feeds1" id="selectedDiv">
|
||||
<div id="userFeeds" >
|
||||
{assign var=userFeeds value=$cbfeeds->getUserFeeds($u)}
|
||||
{if $userFeeds}
|
||||
{foreach from=$userFeeds item=userFeed}
|
||||
{include file="$style_dir/blocks/feed.html" feed=$userFeed}
|
||||
{/foreach}
|
||||
{else}
|
||||
<div align="center" class="no_comments">
|
||||
{lang code='no_activity' assign=no_activity} {$no_activity|sprintf:$u.username}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
23
upload/styles/cb_28/layout/body.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
{include file="$style_dir/global_header.html"}
|
||||
<body>
|
||||
<div id="container">
|
||||
{ANCHOR place='premium_button'}
|
||||
{include file="$style_dir/header.html" }
|
||||
|
||||
{*if this_page('channels')*}
|
||||
{*include file="$style_dir/sidebar.html" display_type='channels'*}
|
||||
|
||||
{*else*}
|
||||
{*include file="$style_dir/sidebar.html" display_type='categories'*}
|
||||
{*/if*}
|
||||
<!-- Message -->
|
||||
{include file="$style_dir/message.html"}
|
||||
|
||||
{foreach from=$template_files item=file}
|
||||
{include_template_file file=$file}
|
||||
{/foreach}
|
||||
|
||||
{include file="$style_dir/footer.html" }
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
61
upload/styles/cb_28/layout/channels.html
Normal file
|
@ -0,0 +1,61 @@
|
|||
{$myAccountLinks = $userquery->my_account_links()}
|
||||
{$leftMenuLinks = array_slice($myAccountLinks, 7)}
|
||||
<div id="main" class="clearfix">
|
||||
<div class="custom-container clearfix">
|
||||
<section class="clearfix inner-block channels-block">
|
||||
<header class="heading clearfix">
|
||||
<div class="clearfix cat-tabs">
|
||||
{include file="$style_dir/blocks/category_list.html" type='channels'}
|
||||
</div>
|
||||
</header>
|
||||
{$featured_users = get_users(["featured"=>"yes","limit"=>2])}
|
||||
{if $featured_users}
|
||||
<div class="featured-channels clearfix">
|
||||
{foreach $featured_users as $featured}
|
||||
<div class="clearfix featured-row">
|
||||
<div class="item_channel col-lg-4 col-md-4 col-sm-5 col-xs-12">
|
||||
<div class="channel-holder">
|
||||
{include file="$style_dir/blocks/channels.html" block_type = 'featuredChannel'}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-8 col-md-8 col-sm-7 col-xs-12 popular-vids clearfix">
|
||||
{$uservideos=get_videos(["user"=>$featured.userid,"limit"=>3])}
|
||||
{if $uservideos}
|
||||
{foreach $uservideos as $video}
|
||||
<div class="video-block col-lg-4 col-md-4 col-sm-4 col-xs-12">
|
||||
{include file="$style_dir/blocks/videos/video.html" display_type='homeVideos'}
|
||||
</div>
|
||||
{/foreach}
|
||||
{else}
|
||||
<div class="well well-info">No Videos Found !</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
{else}
|
||||
{/if}
|
||||
<div class="clearfix">
|
||||
<div class="time_cont">
|
||||
{assign var=time_links value=time_links()}
|
||||
{foreach from=$time_links item=name key=sort name=times}
|
||||
{if !$smarty.foreach.times.last}{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
{if $users}
|
||||
{foreach $users as $user}
|
||||
<div class="item_channel col-lg-3 col-md-3 col-sm-4 col-xs-12">
|
||||
{include file="$style_dir/blocks/channels.html" block_type = 'itemChannel'}
|
||||
</div>
|
||||
{/foreach}
|
||||
{else}
|
||||
<div class="left-space well well-info">No Channel Found !</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{include file="$style_dir/blocks/pagination.html"}
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
75
upload/styles/cb_28/layout/collections.html
Normal file
|
@ -0,0 +1,75 @@
|
|||
{$myAccountLinks = $userquery->my_account_links()}
|
||||
{$leftMenuLinks = array_slice($myAccountLinks, 7)}
|
||||
<div id="main" class="clearfix">
|
||||
<div class="custom-container clearfix">
|
||||
{*include file="$style_dir/blocks/manage/account_menu.html"*}
|
||||
{*include file="$style_dir/blocks/category_list.html" type='collections'*}
|
||||
<section class="clearfix inner-block">
|
||||
<header class="heading clearfix">
|
||||
{assign var=sorting_links value=sorting_links()}
|
||||
<h1>Browsing All Collections<i class="icon-arrow-right"></i></h1>
|
||||
<div class="dropdowns clearfix">
|
||||
<!--Sorting By View-->
|
||||
<div class="dropdown">
|
||||
{if $smarty.get.sort}
|
||||
{foreach from=$sorting_links item=name key=sort name=sorts}
|
||||
{if $smarty.get.sort==$sort && isset($smarty.get.sort)}
|
||||
<a href="javascript:void(0)" data-toggle="dropdown" class="dropdown-toggle">{$name} <span class="caret"></span></a>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
<a href="javascript:void(0)" data-toggle="dropdown" class="dropdown-toggle">Recent <span class="caret"></span></a>
|
||||
{/if}
|
||||
|
||||
<ul class="dropdown-menu">
|
||||
{foreach from=$sorting_links item=name key=sort}
|
||||
<li>
|
||||
<a href="{link name=sort sort=$sort type=collections}&sorting=sort" {if $smarty.get.sort==$sort} class="selected" {/if}>{$name}</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!--Sorting By time-->
|
||||
{assign var=time_links value=time_links()}
|
||||
<div class="dropdown">
|
||||
{if $smarty.get.time}
|
||||
|
||||
{foreach from=$time_links item=name key=sort name=times}
|
||||
{if $smarty.get.time==$sort && isset($smarty.get.time)}
|
||||
<a href="javascript:void(0)" data-toggle="dropdown" class="dropdown-toggle">{$name} <span class="caret"></span></a>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
<a href="javascript:void(0)" data-toggle="dropdown" class="dropdown-toggle">all time <span class="caret"></span></a>
|
||||
{/if}
|
||||
<ul class="dropdown-menu">
|
||||
{foreach from=$time_links item=name key=sort name=times}
|
||||
<li>
|
||||
<a href="{link name=time sort=$sort type=collections}&timing=time" {if $smarty.get.time==$sort} class="selected"{/if}>{$name}</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</header><!-- end of page heading -->
|
||||
<div class="heading clearfix">
|
||||
<a class="btn btn-primary pull-right" href="{$baseurl}/manage_collections.php?mode=add_new">{lang code='add_new_collection'}</a>
|
||||
</div>
|
||||
|
||||
<div class="collections row clearfix">
|
||||
{section name=c_list loop=$collections}
|
||||
<div class="col-lg-3 col-md-3 col-sm-4 col-xs-6">
|
||||
{include file="$style_dir/blocks/collection.html" collection=$collections[c_list]}
|
||||
</div>
|
||||
{sectionelse}
|
||||
{lang code='no_results_found'}
|
||||
{/section}
|
||||
</div>
|
||||
|
||||
<div align="center" class="clearfix"><!--Pagination-->
|
||||
{include file="$style_dir/blocks/pagination.html"}
|
||||
</div><!-- Pagination-->
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
42
upload/styles/cb_28/layout/contact.html
Normal file
|
@ -0,0 +1,42 @@
|
|||
<div id="container">
|
||||
<div class="container marginBottom">
|
||||
<div class="cb-box clearfix row">
|
||||
<div class="well well-sm">
|
||||
<h2>{lang code="contact_us"}</h2>
|
||||
<div class="panel-heading">
|
||||
<h4 id="contactLabel" class="panel-title"><span class="glyphicon glyphicon-info-sign"></span> {lang code="contact_us_msg"}</h4>
|
||||
</div>
|
||||
<form id="form1" name="form1" method="post" action="" class="contact_form">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="name">{lang code="name"}</label>
|
||||
<input type="text" required="required" placeholder="Enter name" id="name" name="name" class="form-control">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email">{lang code="email"|capitalize}</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><span class="glyphicon glyphicon-envelope"></span>
|
||||
</span>
|
||||
<input type="email" required="required" placeholder="Enter email" id="email" name="email" class="form-control"></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="reason">{lang code="pelase_enter_reason"}</label>
|
||||
<input type="text" required="required" placeholder="Enter name" id="reason" name="reason" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="message">{lang code="message"}</label>
|
||||
<textarea placeholder="Message" required="required" cols="25" rows="9" class="form-control" id="message" name="message"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<button id="button" class="btn btn-primary pull-right" name="contact" type="submit">Send Message</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|