diff --git a/upload/styles/cbv2.7/images/200x800.png b/upload/styles/cbv2.7/images/200x800.png
new file mode 100644
index 00000000..749205a7
Binary files /dev/null and b/upload/styles/cbv2.7/images/200x800.png differ
diff --git a/upload/styles/cbv2.7/images/add320x250.png b/upload/styles/cbv2.7/images/add320x250.png
new file mode 100644
index 00000000..bb3d1ccc
Binary files /dev/null and b/upload/styles/cbv2.7/images/add320x250.png differ
diff --git a/upload/styles/cbv2.7/images/ajax-loader-big.gif b/upload/styles/cbv2.7/images/ajax-loader-big.gif
new file mode 100644
index 00000000..e66abbdb
Binary files /dev/null and b/upload/styles/cbv2.7/images/ajax-loader-big.gif differ
diff --git a/upload/styles/cbv2.7/images/ajax-loader.gif b/upload/styles/cbv2.7/images/ajax-loader.gif
new file mode 100644
index 00000000..d89c7cb8
Binary files /dev/null and b/upload/styles/cbv2.7/images/ajax-loader.gif differ
diff --git a/upload/styles/cbv2.7/images/animals-q-c-558-132-10.jpg b/upload/styles/cbv2.7/images/animals-q-c-558-132-10.jpg
new file mode 100644
index 00000000..3a61bb78
Binary files /dev/null and b/upload/styles/cbv2.7/images/animals-q-c-558-132-10.jpg differ
diff --git a/upload/styles/cbv2.7/images/business-q-c-558-132-6.jpg b/upload/styles/cbv2.7/images/business-q-c-558-132-6.jpg
new file mode 100644
index 00000000..e5909454
Binary files /dev/null and b/upload/styles/cbv2.7/images/business-q-c-558-132-6.jpg differ
diff --git a/upload/styles/cbv2.7/images/cancel.png b/upload/styles/cbv2.7/images/cancel.png
new file mode 100644
index 00000000..33c876b2
Binary files /dev/null and b/upload/styles/cbv2.7/images/cancel.png differ
diff --git a/upload/styles/cbv2.7/images/cancel_upload.png b/upload/styles/cbv2.7/images/cancel_upload.png
new file mode 100644
index 00000000..35682b01
Binary files /dev/null and b/upload/styles/cbv2.7/images/cancel_upload.png differ
diff --git a/upload/styles/cbv2.7/images/category_buttons.png b/upload/styles/cbv2.7/images/category_buttons.png
new file mode 100644
index 00000000..29ad5275
Binary files /dev/null and b/upload/styles/cbv2.7/images/category_buttons.png differ
diff --git a/upload/styles/cbv2.7/images/city-q-c-250-130-5.jpg b/upload/styles/cbv2.7/images/city-q-c-250-130-5.jpg
new file mode 100644
index 00000000..fa4d179e
Binary files /dev/null and b/upload/styles/cbv2.7/images/city-q-c-250-130-5.jpg differ
diff --git a/upload/styles/cbv2.7/images/city-q-c-250-130-7.jpg b/upload/styles/cbv2.7/images/city-q-c-250-130-7.jpg
new file mode 100644
index 00000000..4e27c801
Binary files /dev/null and b/upload/styles/cbv2.7/images/city-q-c-250-130-7.jpg differ
diff --git a/upload/styles/cbv2.7/images/city-q-c-250-130-9.jpg b/upload/styles/cbv2.7/images/city-q-c-250-130-9.jpg
new file mode 100644
index 00000000..27151cf5
Binary files /dev/null and b/upload/styles/cbv2.7/images/city-q-c-250-130-9.jpg differ
diff --git a/upload/styles/cbv2.7/images/clean.png b/upload/styles/cbv2.7/images/clean.png
new file mode 100644
index 00000000..3f4e6099
Binary files /dev/null and b/upload/styles/cbv2.7/images/clean.png differ
diff --git a/upload/styles/cbv2.7/images/cross.png b/upload/styles/cbv2.7/images/cross.png
new file mode 100644
index 00000000..1d65bad2
Binary files /dev/null and b/upload/styles/cbv2.7/images/cross.png differ
diff --git a/upload/styles/cbv2.7/images/dot.gif b/upload/styles/cbv2.7/images/dot.gif
new file mode 100644
index 00000000..35d42e80
Binary files /dev/null and b/upload/styles/cbv2.7/images/dot.gif differ
diff --git a/upload/styles/cbv2.7/images/dow.png b/upload/styles/cbv2.7/images/dow.png
new file mode 100644
index 00000000..8e58ab9c
Binary files /dev/null and b/upload/styles/cbv2.7/images/dow.png differ
diff --git a/upload/styles/cbv2.7/images/down.png b/upload/styles/cbv2.7/images/down.png
new file mode 100644
index 00000000..347ccbf7
Binary files /dev/null and b/upload/styles/cbv2.7/images/down.png differ
diff --git a/upload/styles/cbv2.7/images/error.png b/upload/styles/cbv2.7/images/error.png
new file mode 100644
index 00000000..a9e4ff39
Binary files /dev/null and b/upload/styles/cbv2.7/images/error.png differ
diff --git a/upload/styles/cbv2.7/images/header_logo.png b/upload/styles/cbv2.7/images/header_logo.png
new file mode 100644
index 00000000..0372761d
Binary files /dev/null and b/upload/styles/cbv2.7/images/header_logo.png differ
diff --git a/upload/styles/cbv2.7/images/logo.png b/upload/styles/cbv2.7/images/logo.png
new file mode 100644
index 00000000..faf67d5c
Binary files /dev/null and b/upload/styles/cbv2.7/images/logo.png differ
diff --git a/upload/styles/cbv2.7/images/m_arrow_down.png b/upload/styles/cbv2.7/images/m_arrow_down.png
new file mode 100644
index 00000000..b6d76bc2
Binary files /dev/null and b/upload/styles/cbv2.7/images/m_arrow_down.png differ
diff --git a/upload/styles/cbv2.7/images/m_arrow_up.png b/upload/styles/cbv2.7/images/m_arrow_up.png
new file mode 100644
index 00000000..32438a4a
Binary files /dev/null and b/upload/styles/cbv2.7/images/m_arrow_up.png differ
diff --git a/upload/styles/cbv2.7/images/nature-q-c-300-250-5.jpg b/upload/styles/cbv2.7/images/nature-q-c-300-250-5.jpg
new file mode 100644
index 00000000..ef784929
Binary files /dev/null and b/upload/styles/cbv2.7/images/nature-q-c-300-250-5.jpg differ
diff --git a/upload/styles/cbv2.7/images/nature-q-c-558-132-9.jpg b/upload/styles/cbv2.7/images/nature-q-c-558-132-9.jpg
new file mode 100644
index 00000000..3af56ffc
Binary files /dev/null and b/upload/styles/cbv2.7/images/nature-q-c-558-132-9.jpg differ
diff --git a/upload/styles/cbv2.7/images/preview_240.png b/upload/styles/cbv2.7/images/preview_240.png
new file mode 100644
index 00000000..f2e6a4f9
Binary files /dev/null and b/upload/styles/cbv2.7/images/preview_240.png differ
diff --git a/upload/styles/cbv2.7/images/preview_240_invert.png b/upload/styles/cbv2.7/images/preview_240_invert.png
new file mode 100644
index 00000000..97c94421
Binary files /dev/null and b/upload/styles/cbv2.7/images/preview_240_invert.png differ
diff --git a/upload/styles/cbv2.7/images/preview_360.png b/upload/styles/cbv2.7/images/preview_360.png
new file mode 100644
index 00000000..ad6971e2
Binary files /dev/null and b/upload/styles/cbv2.7/images/preview_360.png differ
diff --git a/upload/styles/cbv2.7/images/preview_360_invert.png b/upload/styles/cbv2.7/images/preview_360_invert.png
new file mode 100644
index 00000000..66377c16
Binary files /dev/null and b/upload/styles/cbv2.7/images/preview_360_invert.png differ
diff --git a/upload/styles/cbv2.7/images/preview_480.png b/upload/styles/cbv2.7/images/preview_480.png
new file mode 100644
index 00000000..6f3506fb
Binary files /dev/null and b/upload/styles/cbv2.7/images/preview_480.png differ
diff --git a/upload/styles/cbv2.7/images/preview_480_invert.png b/upload/styles/cbv2.7/images/preview_480_invert.png
new file mode 100644
index 00000000..365c21e7
Binary files /dev/null and b/upload/styles/cbv2.7/images/preview_480_invert.png differ
diff --git a/upload/styles/cbv2.7/images/preview_640.png b/upload/styles/cbv2.7/images/preview_640.png
new file mode 100644
index 00000000..1c648de1
Binary files /dev/null and b/upload/styles/cbv2.7/images/preview_640.png differ
diff --git a/upload/styles/cbv2.7/images/preview_720.png b/upload/styles/cbv2.7/images/preview_720.png
new file mode 100644
index 00000000..3c792d09
Binary files /dev/null and b/upload/styles/cbv2.7/images/preview_720.png differ
diff --git a/upload/styles/cbv2.7/images/preview_720_invert.png b/upload/styles/cbv2.7/images/preview_720_invert.png
new file mode 100644
index 00000000..117a51a8
Binary files /dev/null and b/upload/styles/cbv2.7/images/preview_720_invert.png differ
diff --git a/upload/styles/cbv2.7/images/quick_icon.png b/upload/styles/cbv2.7/images/quick_icon.png
new file mode 100644
index 00000000..bf7d8b59
Binary files /dev/null and b/upload/styles/cbv2.7/images/quick_icon.png differ
diff --git a/upload/styles/cbv2.7/images/sports-q-c-558-132-5.jpg b/upload/styles/cbv2.7/images/sports-q-c-558-132-5.jpg
new file mode 100644
index 00000000..09ca02a6
Binary files /dev/null and b/upload/styles/cbv2.7/images/sports-q-c-558-132-5.jpg differ
diff --git a/upload/styles/cbv2.7/images/ui-ajax-loader.gif b/upload/styles/cbv2.7/images/ui-ajax-loader.gif
new file mode 100644
index 00000000..d89c7cb8
Binary files /dev/null and b/upload/styles/cbv2.7/images/ui-ajax-loader.gif differ
diff --git a/upload/styles/cbv2.7/images/user_next_icon.png b/upload/styles/cbv2.7/images/user_next_icon.png
new file mode 100644
index 00000000..6de17e9a
Binary files /dev/null and b/upload/styles/cbv2.7/images/user_next_icon.png differ
diff --git a/upload/styles/cbv2.7/layout/add_group_videos.html b/upload/styles/cbv2.7/layout/add_group_videos.html
new file mode 100644
index 00000000..d28c9382
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/add_group_videos.html
@@ -0,0 +1,79 @@
+{$myAccountLinks = $userquery->my_account_links()}
+{$leftMenuLinks = array_slice($myAccountLinks, 7)}
+
+
+ {include file="$style_dir/blocks/manage/account_menu.html"}
+
+
+
+
+
+
+
+ {if $usr_vids}
+
+
+
+
+
+
+
+
+
+
+
+
+ {include file="$style_dir/blocks/group/group_topics.html" group=$group}
+
+
+ {if $mode == "view_report_form"}
+
{lang code="Report"} {lang code="group"}
+ {show_flag_form id=$group.group_id type=Group display="block"}
+ {/if}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/PopularPhotos.html b/upload/styles/cbv2.7/layout/blocks/PopularPhotos.html
new file mode 100644
index 00000000..d2565737
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/PopularPhotos.html
@@ -0,0 +1,12 @@
+{if $display_type == ""}
+
+
+ {/if}
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/category_list.html b/upload/styles/cbv2.7/layout/blocks/category_list.html
new file mode 100644
index 00000000..887e9fa2
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/category_list.html
@@ -0,0 +1,40 @@
+
+
+
+
+
+ {lang code='categories'}
+
+ {cbCategories type=$type echo="TRUE" list_style="collapsed" output="a" with_all="TRUE"}
+
+
+
+
+
+
diff --git a/upload/styles/cbv2.7/layout/blocks/channels.html b/upload/styles/cbv2.7/layout/blocks/channels.html
new file mode 100644
index 00000000..a42e57c0
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/channels.html
@@ -0,0 +1,66 @@
+
+{if $block_type == '' || $block_type=='normal'}
+
+
+
+
+
+
+
+
+ {if isSectionEnabled('videos')}
+ {lang code="videos"}: {$user.total_videos|number_format}
+ {/if}
+
+
+ {lang code="subscribers"}: {$user.subscribers|number_format}
+
+
+
Subscribe
+
+
+
+
+{/if}
+
+{if $block_type =='small'}
+
+{/if}
+
+{if $block_type =='medium'}
+
+
+
+ {$user.total_videos|number_format} {lang code="videos"} {$user.profile_hits|number_format} {lang code="views"}
+
+{/if}
+
+{if $block_type == "friends"}
+
+{/if}
+
+{if $block_type == "topic_view"}
+
+{/if}
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/channeluser.html b/upload/styles/cbv2.7/layout/blocks/channeluser.html
new file mode 100644
index 00000000..71dc75c2
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/channeluser.html
@@ -0,0 +1,89 @@
+{if $block_type == '' || $block_type=='normal'}
+
+
+{/if}
+{if $block_type=='groups_show'}
+
+
+
+
+
+
+
+ {if isSectionEnabled('videos')}
+ {$user.total_videos|number_format} {lang code="videos"}
+ {/if}
+ {if isSectionEnabled('photos')}
+ {$user.total_photos|number_format} {lang code="photos"}
+ {/if}
+ {$user.profile_hits|number_format} {lang code="views"}
+ {$user.subscribers|number_format} {lang code="subscribers"}
+
+
+
+
+
+
+{/if}
+
+{if $block_type =='small'}
+
+{/if}
+
+{if $block_type =='medium'}
+
+
+
+ {$user.total_videos|number_format} {lang code="videos"} {$user.profile_hits|number_format} {lang code="views"}
+
+{/if}
+
+{if $block_type == "friends"}
+
+{/if}
+
+{if $block_type == "topic_view"}
+
+{/if}
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/collection.html b/upload/styles/cbv2.7/layout/blocks/collection.html
new file mode 100644
index 00000000..3c0f799c
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/collection.html
@@ -0,0 +1,148 @@
+{if $display_type == "" || $display_type == "normal"}
+
+
+
+
+
+
+
+
+
{$collection.collection_name|truncate:30}
+
{$collection.total_objects} {$collection.type}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{/if}
+
+{if $display_type == "view_collection"}
+
+
+ {if $type == "videos"}
+
+
+ {/if}
+ {if $type == "photos"}
+
+
+
{$object.photo_title|truncate:15}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {/if}
+
+{/if}
+
+{if $display_type == "user_collections"}
+
+{/if}
+
+
+
+
+
diff --git a/upload/styles/cbv2.7/layout/blocks/comments/add_comment.html b/upload/styles/cbv2.7/layout/blocks/comments/add_comment.html
new file mode 100644
index 00000000..34f67848
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/comments/add_comment.html
@@ -0,0 +1,124 @@
+{if $userquery->login_check('',true) || $Cbucket->configs.anonym_comments == 'yes'}
+
+
+
+
+
+
+{else}
+ {lang code='please_login_to_comment'}
+{/if}
+
diff --git a/upload/styles/cbv2.7/layout/blocks/comments/comment.html b/upload/styles/cbv2.7/layout/blocks/comments/comment.html
new file mode 100644
index 00000000..eee90f32
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/comments/comment.html
@@ -0,0 +1,119 @@
+{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}
+{*
+
+
+
+
+ {$user_link='#'}
+ {if $comment.username}{$user_link=$userquery->profile_link($comment)}{/if}
+
+
+
+
+
+
+
{$comment.comment|comment}
+
+
+
+
+
+ *}
+
+{if $comment}
+
+ {*$comment|print_r*}
+
+ {$user_link='#'}
+ {if $comment.username}{$user_link=$userquery->profile_link($comment)}{/if}
+
+
+
+
+
+
+
+ {$comment.date_added|niceTime}
+
+
+
+
+
{$comment.comment|comment}
+
+
+
+{/if}
+
+
+{*
+
+
+
+
+*}
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/comments/comments.html b/upload/styles/cbv2.7/layout/blocks/comments/comments.html
new file mode 100644
index 00000000..6834667e
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/comments/comments.html
@@ -0,0 +1,14 @@
+{if $comments}
+
+{/if}
+
+
diff --git a/upload/styles/cbv2.7/layout/blocks/common/pagination.html b/upload/styles/cbv2.7/layout/blocks/common/pagination.html
new file mode 100644
index 00000000..e69de29b
diff --git a/upload/styles/cbv2.7/layout/blocks/common/playlist.html b/upload/styles/cbv2.7/layout/blocks/common/playlist.html
new file mode 100644
index 00000000..64c413dd
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/common/playlist.html
@@ -0,0 +1,49 @@
+
+
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/common/rating.html b/upload/styles/cbv2.7/layout/blocks/common/rating.html
new file mode 100644
index 00000000..6ec2b7eb
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/common/rating.html
@@ -0,0 +1,52 @@
+
+{if $vdo}
+
+
+
{$vdo.views|number_format} {lang('views')}
+
+
+
+
+ {$likes|number_format}
+
+
+
+ {if $dislikes}-{/if}{$dislikes|number_format}
+
+
+
+
+{else}
+{$photos|print_r}
+
+
+
{$photo.views|number_format} {lang('views')}
+
+
+
+
+ {$likes|number_format}
+
+
+
+ {if $dislikes}-{/if}{$dislikes|number_format}
+
+
+
+
+{/if}
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/common/report.html b/upload/styles/cbv2.7/layout/blocks/common/report.html
new file mode 100644
index 00000000..23213b72
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/common/report.html
@@ -0,0 +1,24 @@
+
+
+
diff --git a/upload/styles/cbv2.7/layout/blocks/common/share.html b/upload/styles/cbv2.7/layout/blocks/common/share.html
new file mode 100644
index 00000000..e6b36e1c
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/common/share.html
@@ -0,0 +1,116 @@
+
+{$type=$params.type}
+
+
+
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/editor_pick/index_box_video.html b/upload/styles/cbv2.7/layout/blocks/editor_pick/index_box_video.html
new file mode 100644
index 00000000..1ee2895d
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/editor_pick/index_box_video.html
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/editor_pick/index_featured_video.html b/upload/styles/cbv2.7/layout/blocks/editor_pick/index_featured_video.html
new file mode 100644
index 00000000..5c31f365
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/editor_pick/index_featured_video.html
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+ {$video.description|description|truncate:30}
+
+
+ {$video.date_added|niceTime}
+
+
+
+
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/editor_pick/video_block.html b/upload/styles/cbv2.7/layout/blocks/editor_pick/video_block.html
new file mode 100644
index 00000000..0b96e9a6
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/editor_pick/video_block.html
@@ -0,0 +1,26 @@
+
+
+ {FlashPlayer vdetails = $video height='400' width='785' }
+
+
+
+
+ {*$video.description|description|truncate:35*}
+
+
+
+
+
+
+
+
+
diff --git a/upload/styles/cbv2.7/layout/blocks/editor_pick/video_box.html b/upload/styles/cbv2.7/layout/blocks/editor_pick/video_box.html
new file mode 100644
index 00000000..e1672654
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/editor_pick/video_box.html
@@ -0,0 +1,22 @@
+{$video.title|truncate:35}
+
+ {FlashPlayer vdetails = $video height='250' width='440' }
+
+
+
+ {$video.description|description|truncate:35}
+
+
+
+
+ {$video.views|number_format}
+ {$video.duration|SetTime}
+
+
+
+
{show_rating class='rating' rating=$video.rating ratings=$video.rated_by total='10'}
+
+
+
+
+
diff --git a/upload/styles/cbv2.7/layout/blocks/feed.html b/upload/styles/cbv2.7/layout/blocks/feed.html
new file mode 100644
index 00000000..448d63a0
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/feed.html
@@ -0,0 +1,112 @@
+
+{literal}
+
+{/literal}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/upload/styles/cbv2.7/layout/blocks/group.html b/upload/styles/cbv2.7/layout/blocks/group.html
new file mode 100644
index 00000000..64f4b699
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/group.html
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
{$group.group_name}
+
+
+ {if $group.featured=='yes'}Featured{else}{/if}
+ Members: {$group.total_members|number_format}
+ {if
+ $group.active=="yes"} Active{else}Inactive{/if}
+ {if $group.group_privacy =="0"}Public{elseif $group.group_privacy =="1"}Private{else}Invited{/if}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/group/add_topic.html b/upload/styles/cbv2.7/layout/blocks/group/add_topic.html
new file mode 100644
index 00000000..d39066f4
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/group/add_topic.html
@@ -0,0 +1,14 @@
+
+
+ {assign var='form_fields' value=$cbgroup->load_add_topic_form_fields()}
+ {foreach from=$form_fields item=field}
+
+ {$field.title}
+ {$field.hint_1}
+ {$field.class = 'form-control'}
+ {$formObj->createField($field)}
+
+ {/foreach}
+ {lang code='grp_add_new_topic'}
+
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/group/group.html b/upload/styles/cbv2.7/layout/blocks/group/group.html
new file mode 100644
index 00000000..68ae1af0
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/group/group.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
{$group.group_description}
+
+ {$group.total_members|number_format}
+ {lang code='members'}
+
+
+ {$join_link=$cbgroup->group_opt_link($group,'join'," class='btn btn-primary btn-sm line-height-1' ")}
+ {if $join_link}{$join_link}{/if}
+
+
+
+
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/group/group_header.html b/upload/styles/cbv2.7/layout/blocks/group/group_header.html
new file mode 100644
index 00000000..45a52109
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/group/group_header.html
@@ -0,0 +1,156 @@
+
+
+
+
+
+
+
+
+
{lang code='group_options'}
+
+ {assign var=join_link value=$cbgroup->group_opt_link($group,'join')}
+ {if $join_link}{$join_link} {/if}
+
+ {assign var=invite_link value=$cbgroup->group_opt_link($group,'invite')}
+ {if $invite_link}{$invite_link} {/if}
+
+ {assign var=leave_link value=$cbgroup->group_opt_link($group,'leave')}
+ {if $leave_link}{$leave_link} {/if}
+
+ {if isSectionEnabled('videos')}
+ {assign var=add_videos_link value=$cbgroup->group_opt_link($group,'add_videos')}
+ {if $add_videos_link}{$add_videos_link} {/if}
+ {/if}
+
+ {if isSectionEnabled('videos')}
+ {assign var=manage_videos_link value=$cbgroup->group_opt_link($group,'manage_videos')}
+ {if $manage_videos_link}{$manage_videos_link} {/if}
+ {/if}
+
+ {if isSectionEnabled('channels')}
+ {assign var=manage_members_link value=$cbgroup->group_opt_link($group,'manage_members')}
+ {if $manage_members_link}{$manage_members_link} {/if}
+ {/if}
+
+ {assign var=edit_group_link value=$cbgroup->group_opt_link($group,'edit_group')}
+ {if $edit_group_link}{$edit_group_link} {/if}
+
+ {assign var=remove_group_link value=$cbgroup->group_opt_link($group,'remove_group')}
+ {if $remove_group_link}{$remove_group_link} {/if}
+
+
+
+
+
+
+
+
+
+
+
+ {lang code='info'}
+ {if isSectionEnabled('channels') && $isviewable}
+ {lang code='members'}
+ {/if}
+ {if isSectionEnabled('videos') && $isviewable}
+ {lang code='videos'}
+ {/if}
+ {lang code='report_this'}
+
+
+
+
+
+
+
+
+
+
+
+
+
{lang code='basic_info'}
+
+
{lang code='grp_name_title'} {$group.group_name}
+
+ {assign var=owner value=$userquery->get_user_details($group.userid)}
+
{lang code='group_owner'} {$owner.username}
+
+
+
{lang code='total_mems'} {$group.total_members|number_format}
+
+
+
{lang code='com_total_vids'} {$group.total_videos|number_format}
+
+
+
{lang code='total_topics'} {$group.total_topics|number_format}
+
+
+
{lang code='views'} {$group.total_views|number_format}
+
+
+
{lang code='grp_url'}
+
+
+
+
+
+
+
{lang code='more_details'}
+
+
{lang code='vdo_desc'} {$group.group_description}
+
+
+
{lang code='tags'} {$group.group_tags|tags:group}
+
+
+
{lang code='category'} {$group.category|categories:group}
+
+
+
+
+
+
+
+
+ {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}
+
+
+
+
+
+
+
+ {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}
+
+
+
+
+
+
+
+ {show_flag_form id=$group.group_id type=Group}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/group/group_left.html b/upload/styles/cbv2.7/layout/blocks/group/group_left.html
new file mode 100644
index 00000000..a09ab93b
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/group/group_left.html
@@ -0,0 +1,81 @@
+
+
+
+
+
+ {isGroupAdmin
+ groupid = $group.group_id
+ group = $group
+ user = $userquery->udetails
+ uid = $userquery->udetails.userid
+ checkowner = 'yes'
+ assign = isGroupAdmin}
+
+
+ {if $isGroupAdmin}
+
Admin Links
+
+ {if isSectionEnabled('videos')}
+ {assign var=manage_videos_link value=$cbgroup->group_opt_link($group,'manage_videos')}
+ {if $manage_videos_link}{$manage_videos_link} {/if}
+ {/if}
+
+ {if isSectionEnabled('channels')}
+ {assign var=manage_members_link value=$cbgroup->group_opt_link($group,'manage_members')}
+ {if $manage_members_link}{$manage_members_link} {/if}
+ {/if}
+
+ {assign var=edit_group_link value=$cbgroup->group_opt_link($group,'edit_group')}
+ {if $edit_group_link}{$edit_group_link} {/if}
+
+ {assign var=remove_group_link value=$cbgroup->group_opt_link($group,'remove_group')}
+ {if $remove_group_link}{$remove_group_link} {/if}
+
+ {/if}
+
+
+
{lang code="Group Members"}
+
+ {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}
+
+ {foreach from=$members item=member}
+ {include file="$style_dir/blocks/user.html" user=$member block_type='friends'}
+ {/foreach}
+
+ {/if}
+
+
+
+
+
+ {lang code="Options"}
+
+ {assign var=join_link value=$cbgroup->group_opt_link($group,'join'," class='' ")}
+ {if $join_link}
+ {$join_link}
+ {/if}
+
+ {assign var=invite_link value=$cbgroup->group_opt_link($group,'invite')}
+ {if $invite_link}
+ {* onClick="groupsAjax(event,this);" *}
+ {$invite_link}
+ {/if}
+
+ {assign var=leave_link value=$cbgroup->group_opt_link($group,'leave')}
+ {if $leave_link}
+ {$leave_link}
+ {/if}
+ {if isSectionEnabled('videos')}
+ {assign var=add_videos_link value=$cbgroup->group_opt_link($group,'add_videos')}
+ {if $add_videos_link}
+ {$add_videos_link}
+ {/if}
+ {/if}
+
+
+
+
+
+
diff --git a/upload/styles/cbv2.7/layout/blocks/group/group_right.html b/upload/styles/cbv2.7/layout/blocks/group/group_right.html
new file mode 100644
index 00000000..c4a73f97
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/group/group_right.html
@@ -0,0 +1,29 @@
+
+
+
{lang code="Suggested Groups"}
+ {foreach $groups as $key => $group}
+
+
+
+
+
+
+
+ {$group.total_members|number_format}
+ {lang code='members'}
+
+
+ {$join_link=$cbgroup->group_opt_link($group,'join'," class='btn btn-primary btn-sm line-height-1' ")}
+ {if $join_link}{$join_link}{/if}
+
+
+
+
+
+ {/foreach}
+
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/group/group_topics.html b/upload/styles/cbv2.7/layout/blocks/group/group_topics.html
new file mode 100644
index 00000000..9963e2b3
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/group/group_topics.html
@@ -0,0 +1,29 @@
+
+{if !$topics}
+ {assign var=topics value=$cbgroup->get_group_topics($group.group_id)}
+{/if}
+
+{if $topics}
+{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}
+
+
+
+
+
+
+
+
{$topic.topic_post|description|strip_tags|truncate:100}
+
+
{$topic.date_added|niceTime} – {if $last_poster}{lang code="last_reply"} {lang code="by"} {$last_poster.username} ({$topic.last_post_time|niceTime}){else}Participate {/if} {if has_access('admin_access') || $topic.userid == $userquery->userid} – Delete {/if}
+
+
+{/foreach}
+{/if}
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/manage/account_collections.html b/upload/styles/cbv2.7/layout/blocks/manage/account_collections.html
new file mode 100644
index 00000000..3e2cbbe0
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/manage/account_collections.html
@@ -0,0 +1,107 @@
+{if $mode ==''}{assign var='mode' value='manage'}{/if}
+{if $display_type == "" || $display_type == "collections"}
+
+
+
+
+
+
+
+ {$collection.collection_name}
+
+
+ {$collection.date_added|date_format}
+ {$collection.views|number_format}
+ {$collection.total_objects|number_format}
+ {$collection.type}
+ {$collection.active}
+
+
+{/if}
+
+{if $display_type == "items"}
+ {if $type == "videos"}
+
+ {/if}
+
+ {if $type == "photos"}
+
+
+
+
+
+
+
+
{get_photo style='padding:1px; border:1px solid #999; float:left;' details=$collection output="html"}
+ {$collection.photo_title|truncate:100}
+
{lang code="view"}
+
+
+ {$collection.date_added|date_format}
+ {$collection.views|number_format}
+
+
+
+
+
+
+
+ {/if}
+{/if}
+
+{if $display_type == "favorite"}
+
+
+
+
+
+
+
+
+
+ {$collection.collection_name}
+
+
+ {$collection.date_added|date_format}
+ {$collection.type}
+ {$collection.views|number_format}
+
+
+{/if}
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/manage/account_group.html b/upload/styles/cbv2.7/layout/blocks/manage/account_group.html
new file mode 100644
index 00000000..abc42d95
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/manage/account_group.html
@@ -0,0 +1,134 @@
+
+ {if $control =='full'}
+
+
+
+
+ {$group.group_id}
+
+
+
+
+
+
+
+
+
{$group.group_name}
+
+
+ {if $group.featured=='yes'}Featured{else}{/if}
+ Members: {$group.total_members|number_format}
+ {if
+ $group.active=="yes"} Active{else}Inactive{/if}
+ {if $group.group_privacy =="0"}Public{elseif $group.group_privacy =="1"}Private{else}Invited{/if}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{/if}
+
+
+
+{if $control =='basic'}
+
+
+
+
+ {$group.group_id}
+
+
+
+
+
+
+
+
+
{$group.group_name}
+
+
+ {if $group.featured=='yes'}Featured{else}{/if}
+ Members:{$group.total_members|number_format}
+ {if
+ $group.active=="yes"} Active{else}Inactive{/if}
+ {if $group.group_privacy =="0"}Public{elseif $group.group_privacy =="1"}Private{else}Invited{/if}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{/if}
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/manage/account_head.html b/upload/styles/cbv2.7/layout/blocks/manage/account_head.html
new file mode 100644
index 00000000..13bda970
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/manage/account_head.html
@@ -0,0 +1,266 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {lang code='Latest Videos'}
+
+
+
+ Videos Details
+ Option
+
+ {if $videos}
+ {*$smarty.post|print_r*}
+ {foreach from=$videos item=video}
+
+
+
+
+
+
+
+
+
({if
+ $video.duration>1}{$video.duration|SetTime}{else}00:00{/if})
+
+
+
+ {$video.title|truncate:80}
+
{$video.date_added|niceTime}
+ {lang code='views'} : {$video.views|number_format}
+
+ {if $video.featured=='yes'}Featured{else}{/if}
+
+ {if $video.active=='yes'}Active{else}InActive{/if}
+
+ {if $video.status=='Successful'}Successful{else}Processing{/if}
+
+ Viewed {$video.last_viewed|niceTime}
+
+
+
+
+
+
+ {if $video.broadcast=='public'}
+
+ {elseif $video.broadcast!='public'}
+
+ {/if}
+
+
{$video.username}
+
+
+
+
+
+
+
+
+
+
+ {/foreach}
+
+{else}
+
No Video Found
+{/if}
+
+
+
+
+
+
+
+
+ {if $user.userid == userid()}
+
+ {$user.total_videos}
+
+ {lang code='Videos'}
+
+
+ {$user.total_photos}
+
+ Photos
+
+
+ {$user.num_visits|number_format}
+
+ {lang code='total_logins'}
+
+
+ {$user.total_watched|number_format}
+
+ {lang code='Watched'}
+
+
+ {$user.total_comments|number_format}
+
+ {lang code='Comments'}
+
+
+ {$user.total_collections|number_format}
+
+ {lang code='Collections'}
+
+
+ {$user.profile_hits}
+
+ {lang code='Views'}
+
+
+ {$user.subscribers}
+
+ {lang code='Subscribers'}
+
+ {/if}
+
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/manage/account_left.html b/upload/styles/cbv2.7/layout/blocks/manage/account_left.html
new file mode 100644
index 00000000..4f653f92
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/manage/account_left.html
@@ -0,0 +1,14 @@
+
+
+ {foreach from=$userquery->my_account_links() item=link key=name}
+
+ {$name}
+
+ {foreach from=$link item=alink key=link_name}
+ {$link_name}
+ {/foreach}
+
+
+ {/foreach}
+
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/manage/account_menu.html b/upload/styles/cbv2.7/layout/blocks/manage/account_menu.html
new file mode 100644
index 00000000..b656cd91
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/manage/account_menu.html
@@ -0,0 +1,41 @@
+{$topMenuLinks = array_slice($myAccountLinks, 0, 6)}
+ {if userid()}
+
+{/if}
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/manage/account_photo.html b/upload/styles/cbv2.7/layout/blocks/manage/account_photo.html
new file mode 100644
index 00000000..ec7410db
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/manage/account_photo.html
@@ -0,0 +1,69 @@
+{if $control == 'full'}
+
+
+
+
+
+
+ {get_photo details=$photo output='html' class='acc_usr_video_thumb' style='width:auto;'}
+ {$photo.photo_title|truncate:100}
+
+ view
+ edit
+ delete
+ {if !$userquery->isProfileItem($photo.photo_id,'p')}
+ {lang code='make_profile_item'}
+ {else}
+ {lang code='remove_profile_item'}
+ {/if}
+
+
+ {$photo.date_added|date_format}
+ {$photo.views|number_format}
+ {$photo.total_comments|number_format}
+ {$photo.total_favorites|number_format}
+
+
+{/if}
+
+{if $control == "partail"}
+
+{/if}
+
+{if $control == 'orphan'}
+
+{/if}
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/manage/account_user.html b/upload/styles/cbv2.7/layout/blocks/manage/account_user.html
new file mode 100644
index 00000000..281f1c45
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/manage/account_user.html
@@ -0,0 +1,23 @@
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/manage/account_video.html b/upload/styles/cbv2.7/layout/blocks/manage/account_video.html
new file mode 100644
index 00000000..6447bc8b
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/manage/account_video.html
@@ -0,0 +1,144 @@
+
+{if $control=='' || $control =='view'}
+{if $mode ==''}{assign var='mode' value='favorites'}{/if}
+
+
+{/if}
+
+{if $control =='full'}
+
+
+
+
+
+
+
+
({if
+ $video.duration>1}{$video.duration|SetTime}{else}00:00{/if})
+
+
+
+ {$video.title|truncate:80}
+
{$video.date_added|niceTime}
+ {lang code='views'} : {$video.views|number_format}
+
+ {if $video.featured=='yes'}Featured{else}{/if}
+
+ {if $video.active=='yes'}Active{else}InActive{/if}
+
+ {if $video.status=='Successful'}Successful{else}Processing{/if}
+
+ Viewed {$video.last_viewed|niceTime}
+
+
+
+
+
+
+ {if $video.broadcast=='public'}
+
+ {elseif $video.broadcast!='public'}
+
+ {/if}
+
+
{$video.username}
+
+
+
+
+
+
+
+
+
+
+ {/if}
+
+
+
+
+
+{if $control=='playlist'}
+
+
+
+
+
+
+
+
+
+
+
{$video.title|truncate:100}
+
+
+
+
+{$video.date_added|date_format}
+{$video.views|number_format}
+{$video.comments_count|number_format}
+
+
+{/if}
+
+
+{if $control=='basic'}
+
+
+
+
+
+
+
+
+
+
+{$video.date_added|date_format}
+{$video.views|number_format}
+{$video.comments_count|number_format}
+
+
+{/if}
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/manage/group_manage_links.html b/upload/styles/cbv2.7/layout/blocks/manage/group_manage_links.html
new file mode 100644
index 00000000..04189353
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/manage/group_manage_links.html
@@ -0,0 +1,16 @@
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/manage/left_side_bar.html b/upload/styles/cbv2.7/layout/blocks/manage/left_side_bar.html
new file mode 100644
index 00000000..14cd29b6
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/manage/left_side_bar.html
@@ -0,0 +1,132 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/manage/userMenuLeft.html b/upload/styles/cbv2.7/layout/blocks/manage/userMenuLeft.html
new file mode 100644
index 00000000..0ecf94ae
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/manage/userMenuLeft.html
@@ -0,0 +1,26 @@
+{$topMenuLinks = array_slice($myAccountLinks, 0, 6)}
+
+
+
+ {foreach $topMenuLinks as $key => $value}
+
+
+ {$key}
+
+
+
+
+
+ {foreach $value as $subKey => $subValue}
+
+ {/foreach}
+ {/foreach}
+
+
+
+
+
+
+
+
+
diff --git a/upload/styles/cbv2.7/layout/blocks/manage/user_account_pagination.html b/upload/styles/cbv2.7/layout/blocks/manage/user_account_pagination.html
new file mode 100644
index 00000000..283b6dc2
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/manage/user_account_pagination.html
@@ -0,0 +1,8 @@
+
+
+
+ Pages : {if $first_link !=''}« {/if} {if $pre_link !=''}‹ {/if} {$pagination} {if $next_link !=''}› {/if} {if $last_link !=''}» {/if}
+
+
+
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/new_pagination.html b/upload/styles/cbv2.7/layout/blocks/new_pagination.html
new file mode 100644
index 00000000..fd1a43e5
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/new_pagination.html
@@ -0,0 +1,4 @@
+{if $page_no}{assign var=ajaxPage value=$page_no}{else}{assign var=ajaxPage value=2}{/if}
+
+ Load More
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/pagination.html b/upload/styles/cbv2.7/layout/blocks/pagination.html
new file mode 100644
index 00000000..4e87f882
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/pagination.html
@@ -0,0 +1,46 @@
+
+{if $pagination}
+
+ {if !$commentPagination}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{/if}
diff --git a/upload/styles/cbv2.7/layout/blocks/photo.html b/upload/styles/cbv2.7/layout/blocks/photo.html
new file mode 100644
index 00000000..c8e53069
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/photo.html
@@ -0,0 +1,87 @@
+{if $display_type ==""}
+
+
+
+
{$photo.photo_title|truncate:30}
+
+
+{/if}
+
+{if $display_type == "all_photos"}
+
+
+
+
{$photo.photo_title|truncate:30}
+
+
+
+{/if}
+
+{if $display_type == 'related_photos'}
+
+{/if}
+
+{if $display_type == 'subscription'}
+
+{/if}
+
+{if $display_type == "side_photos"}
+
+{/if}
+{if $display_type == "side_photos_viewed"}
+
+{/if}
+
+{if $display_type == "channel_page"}
+
+ {get_photo details=$photo output='html' width='110' height='64' size='m' style='display:block;margin:0px auto;'}
+
+{/if}
+
+
+
+
+
diff --git a/upload/styles/cbv2.7/layout/blocks/pm/messages.html b/upload/styles/cbv2.7/layout/blocks/pm/messages.html
new file mode 100644
index 00000000..1407359e
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/pm/messages.html
@@ -0,0 +1,81 @@
+
+
+
+
+
+
+
+
+
+
+
+
+{if $pr_msg !=''}
+
+
+
+
+
+
+
+
+ {lang code='from'} :
+
+ {$pr_msg.username}
+ - {$pr_msg.date_added|date_format:"%A, %B %e, %Y %I:%M %p"}
+
+
+ {lang code='Subject'} : {$pr_msg.message_subject}
+
+
+ {private_message pm=$pr_msg}
+
+
+{/if}
+
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/topCollection.html b/upload/styles/cbv2.7/layout/blocks/topCollection.html
new file mode 100644
index 00000000..2dbdad61
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/topCollection.html
@@ -0,0 +1,31 @@
+{if $display_type == "" || $display_type == "normal"}
+
+{/if}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/upload/form.html b/upload/styles/cbv2.7/layout/blocks/upload/form.html
new file mode 100644
index 00000000..d70814e2
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/upload/form.html
@@ -0,0 +1,14 @@
+{assign var='video_fields' value=$Upload->load_video_fields($input)}
+
+
+
+{foreach from=$video_fields item=field}
+
+ {foreach from=$field key=key item=oneField}
+
+ {$key}
+ {var_dump($oneField)}
+
+ {/foreach}
+
+{/foreach}
diff --git a/upload/styles/cbv2.7/layout/blocks/upload/photo_form.html b/upload/styles/cbv2.7/layout/blocks/upload/photo_form.html
new file mode 100644
index 00000000..342b95b0
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/upload/photo_form.html
@@ -0,0 +1,46 @@
+{assign var='reqFields' value=$cbphoto->load_required_forms($photoArray)}
+{assign var='otherFields' value=$cbphoto->load_other_forms($photoArray)}
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/upload/photo_upload.html b/upload/styles/cbv2.7/layout/blocks/upload/photo_upload.html
new file mode 100644
index 00000000..1fc75bfe
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/upload/photo_upload.html
@@ -0,0 +1,48 @@
+
+ {lang code='browse_photos'}
+
+
+
+
+{assign var='reqFields' value=$cbphoto->load_required_forms($photoArray)}
+{assign var='otherFields' value=$cbphoto->load_other_forms($photoArray)}
+
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/user.html b/upload/styles/cbv2.7/layout/blocks/user.html
new file mode 100644
index 00000000..40b821ab
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/user.html
@@ -0,0 +1,94 @@
+
+{if $block_type == '' || $block_type=='normal'}
+
+
+
+
+
+
+
+ {if isSectionEnabled('videos')}
+ {$user.total_videos|number_format} {lang code="videos"}
+ {/if}
+ {if isSectionEnabled('photos')}
+ {$user.total_photos|number_format} {lang code="photos"}
+ {/if}
+ {$user.profile_hits|number_format} {lang code="views"}
+ {$user.subscribers|number_format} {lang code="subscribers"}
+
+
+
+
+
+
+
+{/if}
+{if $block_type=='groups_show'}
+
+
+
+
+
+
+ {if isSectionEnabled('videos')}
+ {$user.total_videos|number_format} {lang code="videos"}
+ {/if}
+ {if isSectionEnabled('photos')}
+ {$user.total_photos|number_format} {lang code="photos"}
+ {/if}
+ {$user.profile_hits|number_format} {lang code="views"}
+ {$user.subscribers|number_format} {lang code="subscribers"}
+
+
+
+
+
+
+{/if}
+
+{if $block_type =='small'}
+
+{/if}
+
+{if $block_type =='medium'}
+
+
+
+ {$user.total_videos|number_format} {lang code="videos"} {$user.profile_hits|number_format} {lang code="views"}
+
+{/if}
+
+{if $block_type == "friends"}
+
+{/if}
+
+{if $block_type == "topic_view"}
+
+{/if}
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/video.html b/upload/styles/cbv2.7/layout/blocks/video.html
new file mode 100644
index 00000000..f0dceb57
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/video.html
@@ -0,0 +1,68 @@
+{if $cur_class==''}
+{assign var=cur_class value=$smarty.cookies.current_style}
+{/if}
+
+{if $display_type =='normal' || $display_type==''}
+
+
+
+
+
+
+
+
{$video.views} views
+
{$video.date_added|niceTime}
+
+
+
+
+
+
+{if $only_once}
+
+{/if}
+
+{/if}
+
+
+{if $display_type == "channel_page"}
+
+
+
+{/if}
+
+
+{if $display_type=='add_type'}
+
+
+
+
+ {if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}
+
+
{lang code='views'} :{$video.views}
+
{$video.date_added|niceTime}
+ {if $check_type=='array'}
+
+ {else}
+
+
+
+ {/if}
+
+
+
+
+
+ {if $only_once}
+
+ {/if}
+
+ {/if}
diff --git a/upload/styles/cbv2.7/layout/blocks/videos.html b/upload/styles/cbv2.7/layout/blocks/videos.html
new file mode 100644
index 00000000..9ddee63a
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/videos.html
@@ -0,0 +1,52 @@
+
+
+ {include file="$style_dir/blocks/category_list.html" type='video'}
+
+
+
+
+
+
+ {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}
+
+
+
+
+
+
+ {AD place='ad_160x600'}
+
+
+
+
+
+
+{include file="$style_dir/blocks/pagination.html"}
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/videos/video-home-sliders.html b/upload/styles/cbv2.7/layout/blocks/videos/video-home-sliders.html
new file mode 100644
index 00000000..b01d27aa
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/videos/video-home-sliders.html
@@ -0,0 +1,54 @@
+{if $slider !=''}
+
+
+
+{/if}
+{if $slider3 !=''}
+
+
+
+{/if}
+
+
diff --git a/upload/styles/cbv2.7/layout/blocks/videos/video-home-sliders2.html b/upload/styles/cbv2.7/layout/blocks/videos/video-home-sliders2.html
new file mode 100644
index 00000000..863ad654
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/videos/video-home-sliders2.html
@@ -0,0 +1,89 @@
+
+
+
Here we can scroll through a couple of item clusters.
+
Captions are still supported, too!
+
+
New Products
+
+
+
+
+
+
+
+
+
+
+ First item
+ $19.99
+ Buy Now
+
+
+
+
+
+ This is second
+ $19.99
+ Buy Now
+
+
+
+
+
+ Third product
+ $19.99
+ Buy Now
+
+
+
+
+
+ And the fourth
+ $19.99
+ Buy Now
+
+
+
+
+
+
+
+
+
+ Another caption
+ $19.99
+ Buy Now
+
+
+
+
+
+ Another caption
+ $19.99
+ Buy Now
+
+
+
+
+
+ Another caption
+ $19.99
+ Buy Now
+
+
+
+
+
+ Another caption
+ $19.99
+ Buy Now
+
+
+
+
+
‹
+
›
+
+
+
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/videos/video-slider.html b/upload/styles/cbv2.7/layout/blocks/videos/video-slider.html
new file mode 100644
index 00000000..f068978b
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/videos/video-slider.html
@@ -0,0 +1,165 @@
+
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/videos/video.html b/upload/styles/cbv2.7/layout/blocks/videos/video.html
new file mode 100644
index 00000000..d5e1aa4f
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/videos/video.html
@@ -0,0 +1,33 @@
+
+
+
+
+
+
{$video.views} views
+
{$video.date_added|niceTime}
+
+
\ No newline at end of file
diff --git a/upload/styles/cbv2.7/layout/blocks/videos/video_popular.html b/upload/styles/cbv2.7/layout/blocks/videos/video_popular.html
new file mode 100644
index 00000000..c4158ef7
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/videos/video_popular.html
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+ {$video.views}
+ {$video.rating}
+
+
+
+
+
diff --git a/upload/styles/cbv2.7/layout/blocks/view_channel/channel_global.html b/upload/styles/cbv2.7/layout/blocks/view_channel/channel_global.html
new file mode 100644
index 00000000..fbbfaa6a
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/view_channel/channel_global.html
@@ -0,0 +1,12 @@
+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/cbv2.7/layout/blocks/view_channel/channel_item.html b/upload/styles/cbv2.7/layout/blocks/view_channel/channel_item.html
new file mode 100644
index 00000000..b2d8ae4f
--- /dev/null
+++ b/upload/styles/cbv2.7/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/cbv2.7/layout/blocks/view_channel/channel_left.html b/upload/styles/cbv2.7/layout/blocks/view_channel/channel_left.html
new file mode 100644
index 00000000..1724dc77
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/blocks/view_channel/channel_left.html
@@ -0,0 +1,65 @@
+
+
+
{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 $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/cbv2.7/layout/blocks/view_channel/channel_top.html b/upload/styles/cbv2.7/layout/blocks/view_channel/channel_top.html
new file mode 100644
index 00000000..1806f145
--- /dev/null
+++ b/upload/styles/cbv2.7/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/cbv2.7/layout/blocks/view_channel/user_block.html b/upload/styles/cbv2.7/layout/blocks/view_channel/user_block.html
new file mode 100644
index 00000000..d85df61c
--- /dev/null
+++ b/upload/styles/cbv2.7/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/cbv2.7/layout/body.html b/upload/styles/cbv2.7/layout/body.html
new file mode 100644
index 00000000..c88fbf17
--- /dev/null
+++ b/upload/styles/cbv2.7/layout/body.html
@@ -0,0 +1,16 @@
+{include file="$style_dir/global_header.html"}
+
+ {include file="$style_dir/header.html" }
+
+
+
+ {include file="$style_dir/message.html"}
+
+ {foreach from=$template_files item=file}
+ {include_template_file file=$file}
+ {/foreach}
+
+
+ {include file="$style_dir/footer.html" }
+
+