{$myAccountLinks = $userquery->my_account_links()} {$leftMenuLinks = array_slice($myAccountLinks, 7)}
{include file="$style_dir/blocks/group/group_left.html"}
{$group.group_name|htmlspecialchars_decode}
{lang code="info"} {lang code="grp_topics_title"} {lang code="members"} {lang code="videos"} {lang code='Report'}
{if $mode == "" || $mode == "main"}

### {lang code="basic_info"}

{lang code="Group name"} | {$group.group_name}
{lang code="vdo_desc"} | {$group.group_description}
{lang code="category"} | {$group.category|categories:group}
{lang code="tags"} | {$group.group_tags|tags:group}
{lang code="privacy"} | {$group.group_privacy|getGroupPrivacy}

### {lang code="Group Stats"}

{lang code="Since"} | {$group.date_added|date_format:"%B %e, %Y"}
{lang code="total_mems"} | {$group.total_members|number_format} {lang code="members"}
{lang code="com_total_vids"} | {$group.total_videos|number_format} {lang code="videos"}
{lang code="total_topics"} | {$group.total_topics|number_format} {lang code="grp_topics_title"}
{lang code="viewed"} | {$group.total_views|number_format} {lang code="user_times"}

{/if} {if $mode=='invite_group'}

### {lang code='grp_invite_grp_title'}

{if $friends}

|  | Username | views

{foreach from=$friends item=friend} {if userid()!=$friend.userid} {assign var=user_detail value=$userquery->get_user_details($friend.userid)} {else} {assign var=user_detail value=$userquery->get_user_details($friend.contact_userid)} {/if}

|  | {$user_detail.username} | {$user_detail.profile_hits|number_format}

{/foreach}
{else} No Contact {/if} {/if} {if $mode == "view_members"}

### {lang code="group"} {lang code="members"}

{section name=u_list loop=$users} {include file="$style_dir/blocks/user.html" user=$users[u_list]} {/section} {/if} {if $mode == "view_videos"}

### {lang code="group"} {lang code="videos"}

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

### {lang code="group"} {lang code="grp_topics_title"}

{lang code="grp_add_new_topic"}
{include file="$style_dir/blocks/group/add_topic.html"}
{include file="$style_dir/blocks/group/group_topics.html" group=$group} {/if} {if $mode == "view_report_form"}
{lang code="Report"} {lang code="group"}
{show_flag_form id=$group.group_id type=Group display="block"} {/if}
{include file="$style_dir/blocks/group/group_right.html" group=$groups}