{lang code='channel' assign='object_type'} {include file="$style_dir/global_header.html"} {$user_videos=get_videos(['user'=>$u.userid,'limit'=>6])} {$user_photos=get_photos(['user'=>$u.userid,'limit'=>6])} {$user_contacts=$userquery->get_contacts($u.userid, 0, "yes")} {display_user_custom_background( $u )}
{include_template_file file="header.html" }
{if $feeds} {foreach $feeds as $feed} {include_template_file file='blocks/view_channel/feed.html' feed=$feed} {/foreach} {else}

{lang code='No feeds were found'}

{/if}

Videos ({$u.total_videos|number_format})

{if $user_videos} {foreach $user_videos as $user_video} {include_template_file file='blocks/video.html' video=$user_video display_method='view_channel'} {/foreach} {/if}

Photos ({$u.total_photos|number_format})

{if $user_photos} {foreach $user_photos as $user_photo} {include_template_file file='blocks/photo.html' photo=$user_photo display_method='view_channel'} {/foreach} {/if}