{$myAccountLinks = $userquery->my_account_links()} {$leftMenuLinks = array_slice($myAccountLinks, 7)} {lang code='channel' assign='object_type'}
{*include file="$style_dir/blocks/manage/account_menu.html"*}
{include file="$style_dir/blocks/view_channel/channel_header.html" }
{FlashPlayer vdetails=$firstVideo width='100%' height='355'}

## {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}

{assign var='channel_profile_fields' value=$userquery->load_user_fields($p,'profile')} {foreach from=$channel_profile_fields item=field_group name=profile_groups} {if $smarty.foreach.profile_groups.iteration==2}
{/if} {if $field_group.channel_view !='no'}

## {$field_group.group_name}

{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} {if $smarty.foreach.profile_groups.last}
{/if} {/foreach}
{lang code='more'}
{include file="$style_dir/blocks/view_channel/channel_right.html" }
{show_flag_form id=$user.userid type=user}