diff --git a/upload/styles/cb_2014/layout/blocks/feed.html b/upload/styles/cb_2014/layout/blocks/feed.html new file mode 100755 index 00000000..991458c1 --- /dev/null +++ b/upload/styles/cb_2014/layout/blocks/feed.html @@ -0,0 +1,88 @@ + +{literal} + +{/literal} + + +
+
+
+
+ + {$feed.user.username} + +
+
+ {if !$feed.action_title} + {$feed.user.username} + {else} + {$feed.action_title} + {/if} +
+ + {if $u.userid==userid() || has_access('admin_access',true)} + + delete + + {/if} +
+
+
+
+ {if $feed.thumb} + {if $feed.link} + + {/if} + + {if $feed.link} + + {/if} + {/if} +
+ {if $feed.link} + {$feed.title} + {elseif $feed.title} + {$feed.title} + {/if} + {if $feed.object_content} +
+ {$feed.object_content} +
+ {/if} +
+
+
+ {if $feed.icon} + + {/if} + {$feed.datetime} + + {if $feed.links} + {foreach from=$feed.links item=link} + + {if $link.link}{/if}{$link.text}{if $link.link}{/if} + + {/foreach} + {/if} +
+
+
+
+
+ diff --git a/upload/styles/cb_2014/layout/blocks/group.html b/upload/styles/cb_2014/layout/blocks/group.html new file mode 100755 index 00000000..0f652a93 --- /dev/null +++ b/upload/styles/cb_2014/layout/blocks/group.html @@ -0,0 +1,10 @@ + +
+ + {$group.group_name} + {lang code='views'} : {$group.total_views|number_format} + {lang code="total_members"}:{$group.total_members|number_format} + {lang code="total_videos"} : {$group.total_videos|number_format} + {lang code="total_topics"} : {$group.total_topics|number_format} + {lang code="owner"} : {$group.username} +
\ No newline at end of file diff --git a/upload/styles/cb_2014/layout/blocks/user.html b/upload/styles/cb_2014/layout/blocks/user.html index 968d67e3..40123f31 100755 --- a/upload/styles/cb_2014/layout/blocks/user.html +++ b/upload/styles/cb_2014/layout/blocks/user.html @@ -1,7 +1,7 @@ {$block_type} {if $block_type == '' || $block_type=='normal'} -
+
diff --git a/upload/styles/cb_2014/layout/blocks/video.html b/upload/styles/cb_2014/layout/blocks/video.html new file mode 100755 index 00000000..ef0935d3 --- /dev/null +++ b/upload/styles/cb_2014/layout/blocks/video.html @@ -0,0 +1,87 @@ +{if $cur_class==''} +{assign var=cur_class value=$smarty.cookies.current_style} +{/if} + + +{if $display_type =='normal' || $display_type==''} + +
+
+ {$video.title} + {$video.duration|SetTime} + Quicklist + {if $video.broadcast=='private'} +   + {/if} + {ANCHOR place='in_video_thumb' data=$video} +
+
+

{$video.title|truncate:40}

+ +
+ {show_rating class='rating' rating=$video.rating ratings=$video.rated_by total='10' } +
+

{$video.description|description|truncate:100}

+

{$video.views} View(s) | {$video.comments_count} Comment(s)

+

Uploaded By {$video.username} ({$video.date_added|niceTime})

+
+
+ +{if $only_once} +
+{/if} + +{/if} + + +{if $display_type == "channel_page"} +
  • +
    {$video.title}
    +
  • +{/if} + +{if $display_type=='add_type'} +
    +
    + {ANCHOR place='in_video_thumb' data=$video} + + {if $check_type=='array'} + + {else} + + {/if} +
    {$video.duration|SetTime}
    + +
    +
    +
    + + + {show_rating class='rating' rating=$video.rating ratings=$video.rated_by total='10'} + +
    + +
    +
    {$video.description|description|strip_tags|truncate:100}
    +
    Time: {$video.duration|SetTime:false}
    +
    + +
    +
    {$video.views} view(s)
    +
    + + + + +
    +
    +
    +{if $only_once} +
    +{/if} + +{/if} \ No newline at end of file diff --git a/upload/styles/cb_2014/layout/blocks/videos.html b/upload/styles/cb_2014/layout/blocks/videos.html new file mode 100755 index 00000000..9ddee63a --- /dev/null +++ b/upload/styles/cb_2014/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/cb_2014/layout/blocks/view_channel/channel_global.html b/upload/styles/cb_2014/layout/blocks/view_channel/channel_global.html new file mode 100755 index 00000000..fbbfaa6a --- /dev/null +++ b/upload/styles/cb_2014/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/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 $p.show_my_friends!='no'} +
    +
    {lang code="friends"} {lang code="view_all"}
    + {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 @@ + +
    +
    +
    +
    {$u.username}
    +
    {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)} + +
    +
    +
    + \ 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} + {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')} + + {lang code='activity'} + + {/if} + + {lang code='info'} + + {if isSectionEnabled('videos')} + + {lang code='videos'} + + {/if} + {if isSectionEnabled('groups')} + + {lang code='groups'} + + {/if} + {if isSectionEnabled('photos')} + + {lang code='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} +
    + {lang code='no_activity' assign=no_activity} {$no_activity|sprintf:$u.username} +
    + {/if} + {/if} +
    +
    + + + + + + + + + +
    + {lang code="comments"} +
      +

      no comments found

      + + {if $myquery->is_commentable($p,'u')} + {include file="$style_dir/blocks/comments/add_comment.html" id=$u.userid type=c} + {else} +
      {lang code='coments_disabled_profile'}
      + {/if} +
      +
      +
      + +
      +
      + + \ No newline at end of file