{lang code='channel' assign='object_type'} {include file="$style_dir/global_header.html"} {include file="$style_dir/header.html"}
{assign var=category value=$userquery->get_category($u.category)} {$u.username|capitalize} ({$category.category_name})
{if !$isSubscribed && $p.allow_subscription!='no'} {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}

{include file="$style_dir/blocks/view_channel/channel_right.html"}
{if $playlist_mode == 'on'} {if $playlists}
{foreach $playlists as $playlist}
{$list_id=$playlist.playlist_id} {$first=get_playlist_items($list_id,1)} {if $first} {lang code='play_now'} {/if}
{$playlist.date_added|niceTime}
{/foreach}
{include file="$style_dir/blocks/pagination.html"}
{/if} {else}

User Videos

{section name=v_list loop=$videos} {include file="$style_dir/blocks/video.html" video=$videos[v_list]} {/section}
{include file="$style_dir/blocks/pagination.html"}
{/if}
{include file="$style_dir/footer.html"}