+
+
+
+ - {lang code='sort_by'} :
+ {assign var=sorting_links value=func->sorting_links()}
+ {foreach from=$sorting_links item=name key=sort}
+ - {$name}
+ {/foreach}
+
+
+
+
+
+
+{assign var=time_links value=func->time_links()}
+{foreach from=$time_links item=name key=sort name=times}
+
{$name} {if !$smarty.foreach.times.last}|{/if}
+{/foreach}
+
+
+
+
+
+ {lang code='change_style_of_listing'}
+
+
+
+ {section name=v_list loop=$videos}
+ {include file="$style_dir/blocks/video.html" video=$videos[v_list]}
+ {sectionelse}
+ {lang code='no_results_found'}
+ {/section}
+
+
+
+
+getUserBg($u,true)}
+ style="background-position:center;background-image:
+ {if $userquery->getUserBg($u)}
+ url('{$userquery->getUserBg($u)}');background-repeat: {$u.background_repeat};
+ {/if}
+ {if $u.background_color!=''}
+ background-color:{$u.background_color}{/if};
+ {if $u.background_attachement=='yes'}
+ background-attachment:fixed
+ {/if}"
+ {/if}>
\ No newline at end of file
diff --git a/upload/styles/cb_2014/layout/blocks/view_channel/channel_item.html b/upload/styles/cb_2014/layout/blocks/view_channel/channel_item.html
new file mode 100755
index 00000000..b2d8ae4f
--- /dev/null
+++ b/upload/styles/cb_2014/layout/blocks/view_channel/channel_item.html
@@ -0,0 +1,32 @@
+{if $object.photo_id}
+
{$object.photo_title}
+
{get_photo details=$object output='html' size='l' width='370'}
+
+
+
+
{show_rating class='rating' rating=$object.rating ratings=$object.rated_by total='10'}
+
{lang code='views'} {$object.views|number_format}
+
+ {$object.photo_description|description|truncate:200}
+
+
+{/if}
+
+
+{if $object.videoid}
+
{$object.title}
+ {FlashPlayer vdetails=$object width='100%' height='280' autoplay=true}
+
+
+
{show_rating class='rating' rating=$object.rating ratings=$object.rated_by total='10'}
+
{lang code='views'} {$object.views|number_format}
+
+ {$object.description|description|truncate:200}
+
+
+
+{/if}
\ No newline at end of file
diff --git a/upload/styles/cb_2014/layout/blocks/view_channel/channel_left.html b/upload/styles/cb_2014/layout/blocks/view_channel/channel_left.html
new file mode 100755
index 00000000..0090767f
--- /dev/null
+++ b/upload/styles/cb_2014/layout/blocks/view_channel/channel_left.html
@@ -0,0 +1,81 @@
+
+
+
{if $userquery->perm_check('admin_access')=='yes'}
{ANCHOR place=view_channel_admin_options data=$u}
{/if}
+
+ {assign var=isSubscribed value=$userquery->is_subscribed($u.userid)}
+
+
+ {if !$isSubscribed && $p.allow_subscription!='no'}
+ - {lang code='subscribe'}
+
+ {elseif $isSubscribed}
+ - {lang code='unsubscribe'}
+ {/if}
+
+ {assign var='channel_action_links' value=$userquery->get_channel_action_links($u)}
+
+ {foreach from=$channel_action_links item=link key=link_title}
+ - {$link_title}
+ {/foreach}
+
+
+
+{if $p.show_my_friends!='no'}
+
+
+ {assign var=userFriends value=$userquery->get_contacts($u.userid,'0','yes')}
+ {if $userFriends}
+ {foreach from=$userFriends item=friend}
+ {include file="$style_dir/blocks/user.html" user=$friend block_type="friends"}
+ {/foreach}
+ {else}
+
User dont any friends yet.
+ {/if}
+
+{/if}
+
+{if isSectionEnabled('collections') && $p.show_my_collections!='no'}
+
+
{lang code="Collections"}
+ {assign var=climit value=config(collection_channel_page)}
+ {get_collections assign=userCollections user=$u.userid limit=10 order=" date_added DESC" limit=$climit}
+ {if $userCollections}
+ {foreach from=$userCollections item=collection}
+ {include file="$style_dir/blocks/collection.html" collection=$collection display_type="user_collections"}
+ {/foreach}
+
+ {else}
+
{lang code='user_doesnt_any_collection'}
+ {/if}
+
+{/if}
+
+{if $p.show_my_subscriptions!='no'}
+
+
{lang code='user_subscriptions' assign='users_videos'}{$users_videos|sprintf:$u.username}
+ {assign var=users_items_subscriptions value=config(users_items_subscriptions)}
+ {assign var='usr_subs' value=$userquery->get_user_subscriptions($u.userid,$users_items_subscriptions)}
+ {if $usr_subs}
+ {foreach from=$usr_subs item=sub}
+ {include file="$style_dir/blocks/user.html" user=$sub block_type="friends"}
+ {/foreach}
+ {else}
+
{lang code='user_no_subscriptions' assign='user_subs'}{$user_subs|sprintf:$u.username}
+ {/if}
+
+{/if}
+
+{if $userquery->userid!=$u.userid}
+
+{/if}
+{show_flag_form id=$u.userid type=User}
\ No newline at end of file
diff --git a/upload/styles/cb_2014/layout/blocks/view_channel/channel_top.html b/upload/styles/cb_2014/layout/blocks/view_channel/channel_top.html
new file mode 100755
index 00000000..1806f145
--- /dev/null
+++ b/upload/styles/cb_2014/layout/blocks/view_channel/channel_top.html
@@ -0,0 +1,17 @@
+
+
+
+
+
+
{lang code='user_s_channel' assign='usr_s'}{$usr_s|sprintf:$u.username}
+
+ {assign var='channel_links' value=$userquery->get_inner_channel_top_links($u)}
+
+ {foreach from=$channel_links item=link key=link_title}
+ - {$link_title}
+ {/foreach}
+
+
+
+
+
\ No newline at end of file
diff --git a/upload/styles/cb_2014/layout/blocks/view_channel/user_block.html b/upload/styles/cb_2014/layout/blocks/view_channel/user_block.html
new file mode 100755
index 00000000..d85df61c
--- /dev/null
+++ b/upload/styles/cb_2014/layout/blocks/view_channel/user_block.html
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+ {*if $isBlocked!='yes'*}
+ {assign var='channel_action_links' value=$userquery->get_channel_action_links($u)}
+ {foreach from=$channel_action_links item=link key=link_title}
+ - {$link_title}
+ {/foreach}
+ {*/if*}
+ {if $userquery->userid!=$u.userid}
+ -
+ {lang code='report_this_user'}
+
+
+
+{/if}
+ {show_flag_form id=$u.userid type=User}
+
\ No newline at end of file
diff --git a/upload/styles/cb_2014/layout/channels.html b/upload/styles/cb_2014/layout/channels.html
new file mode 100644
index 00000000..b5a3847f
--- /dev/null
+++ b/upload/styles/cb_2014/layout/channels.html
@@ -0,0 +1,50 @@
+{$myAccountLinks = $userquery->my_account_links()}
+{$leftMenuLinks = array_slice($myAccountLinks, 7)}
+
+
+ {include file="$style_dir/blocks/manage/account_left.html"}
+
+
+
+
+
+
+
{lang code='sort_by'}
+ {assign var=sorting_links value=sorting_links()}
+ {foreach from=$sorting_links item=name key=sort}
+
{$name}
+ {/foreach}
+
+
+
+
+ {assign var=time_links value=time_links()}
+ {foreach from=$time_links item=name key=sort name=times}
+ {if !$smarty.foreach.times.last}{/if}
+ {/foreach}
+
+ {section name=u_list loop=$users}
+ {include file="$style_dir/blocks/user.html" user=$users[u_list]}
+ {sectionelse}
+ {lang code='no_results_found'}
+ {/section}
+
+
{AD place='ad_160x600'}
+ {include file="$style_dir/blocks/pagination.html"}
+
+
+
\ No newline at end of file
diff --git a/upload/styles/cb_2014/layout/view_channel.html b/upload/styles/cb_2014/layout/view_channel.html
new file mode 100644
index 00000000..3049f8c8
--- /dev/null
+++ b/upload/styles/cb_2014/layout/view_channel.html
@@ -0,0 +1,359 @@
+{$myAccountLinks = $userquery->my_account_links()}
+{$leftMenuLinks = array_slice($myAccountLinks, 7)}
+
+{lang code='channel' assign='object_type'}
+{*include file="$style_dir/blocks/view_channel/channel_global.html" *}
+
+
+ {include file="$style_dir/blocks/manage/account_left.html"}
+
+
+
+
+
+
+ {if isSectionEnabled('feeds')}
+
+ {/if}
+
+ {if isSectionEnabled('videos')}
+
+ {/if}
+ {if isSectionEnabled('groups')}
+
+ {/if}
+ {if isSectionEnabled('photos')}
+
+ {/if}
+
+
+
+
+ {if isSectionEnabled('feeds')}
+
Feeds
+ {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}
+
+ {/if}
+ {/if}
+
+
+
+
+
Channel Info
+
+
+ {if $p.profile_title}
+
{$p.profile_title}
+ {/if}
+ {if $p.profile_desc}
+ {$p.profile_desc|nl2br}
+ {/if}
+
+
{lang code='user_activity'}
+
+
+ {lang code='joined'} |
+ {$u.doj|niceTime} |
+
+
+ {lang code='user_last_login'} |
+ {$u.last_logged|niceTime} |
+
+
+ {lang code='online_status'} |
+
+ {if $userquery->isOnline($u.last_active,$p.online_status)}
+ {lang code='online'}
+ {else}
+ {lang code='offline'}
+ {/if}
+ |
+
+
+ {lang code='views'} |
+ {$u.profile_hits|number_format} |
+
+
+ {lang code='subscribers'} |
+ {$u.subscribers|number_format} |
+
+
+
+
+ {if $p.allow_ratings !='no' && $p.allow_ratings!='No'}
+
+ {show_video_rating rating=$p.rating ratings=$p.rated_by total='10' id=$p.userid type=user}
+
+ {/if}
+
+ {assign var='channel_profile_fields' value=$userquery->load_user_fields($p,'profile')}
+
+ {foreach from=$channel_profile_fields item=field_group name=profile_groups}
+
+
+ {if $field_group.channel_view !='no'}
+
+
+ {if $field_group.group_id=='profile_location'}
+
+
{lang code='country'}
+
{$u.country|country}
+
+ {/if}
+ {foreach from=$field_group.fields item=field}
+ {if $field.auto_view=='yes' && $field.value}
+
+ {if $field.type !='textarea' && $field.type !='text' && $field.type !='textfield'}
+
{$field.title}
+
{input_value input=$field}
+ {elseif $field.type =='textarea'}
+
{$field.title}
+
{$field.value|nl2br}
+ {else}
+
{$field.title}
+
{input_value input=$field}
+ {/if}
+
+ {/if}
+ {if $field_group.group_id=='profile_basic_info' && $field.name=='relation_status' && $p.show_dob!='no'}
+
+
{lang code='user_date_of_birth'}
+
{$u.dob}
+
+ {/if}
+ {/foreach}
+ {/if}
+
+ {/foreach}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file