{include file='header.tpl'} {* $Id: group.tpl 247 2009-11-14 03:30:43Z phil $ *} {if $group->user_rank != -1 && $user->user_exists == 1 && (int)$user->level_info.level_group_allow & 2} {if $group->group_info.adoption==1 && $task!=adopt}

This group is in need of a new group leader. No special skills needed. Want to run it? Click here. Include the name of this group in your message.

{/if} {/if}
{* BEGIN LEFT COLUMN *} {* JAVASCRIPT FOR SWITCHING TABS *} {if $group->user_rank != -1} {literal} {/literal} {/if} {* SHOW PHOTO *}
{* SHOW EDIT GROUP BUTTON IF ALLOWED *} {if $group->user_rank>=2} {/if} {* SHOW JOIN GROUP BUTTON IF NOT ALREADY A MEMBER *} {if $group->user_rank == -1 && $user->user_exists == 1 && (int)$user->level_info.level_group_allow & 2} {if $group->groupmember_info.groupmember_id != 0 && $group->groupmember_info.groupmember_approved != 1} {elseif $group->groupmember_info.groupmember_id != 0 && $group->groupmember_info.groupmember_approved == 1} {else} {/if} {/if} {if $group->user_rank<2} {if $user->blocked_group($group->group_info.group_id)} {else} {/if} {/if} {* SHOW LEAVE GROUP BUTTON IF ALREADY A MEMBER *} {if $group->user_rank != -1} {/if} {if $group->user_rank>=2} {/if} {* SHOW SUBSCRIBE TO THIS GROUP ITEM *} {if $group->user_rank != -1} {/if} {* SHOW INVITE USERS MENU ITEM *} {if $allowed_to_invite} {/if} {* SHOW REPORT THIS GROUP MENU ITEM *}
{lang_print id=2000159}
{lang_print id=2000203}
{lang_print id=2000165}
Unblock this Group
Block this Group
{lang_print id=2000160}
Send Message to Members
Place Group for Adoption
{lang_print id=2000174}
{lang_print id=2000226}
{* DISPLAY IF GROUP IS PRIVATE TO VIEWING USER *} {if $is_group_private != 0} {* END LEFT COLUMN *}
{* BEGIN RIGHT COLUMN *} {lang_print id=2000228}

{if $group->group_info.group_desc != ""}
{lang_print id=2000255}{$group->group_info.group_desc}
{/if} {* DISPLAY ONLY IF GROUP IS NOT PRIVATE TO VIEWING USER *} {else} {* SHOW OFFICERS *}
{lang_print id=2000229}
{section name=officer_loop loop=$officers}
{$officers[officer_loop].member->user_displayname}{if $officers[officer_loop].groupmember_rank == 2} {lang_print id=2000230}{/if} {if $officers[officer_loop].groupmember_title != "" && $group->groupowner_level_info.level_group_titles == 1}
{$officers[officer_loop].groupmember_title}
{/if} {if !$smarty.section.officer_loop.last}
{/if}
{/section}
{* END OFFICERS *} {assign var="documentRoot" value=$smarty.server.DOCUMENT_ROOT} {include_php file="$documentRoot/ads/groupad.php"} {* END LEFT COLUMN *}
{* BEGIN RIGHT COLUMN *} {* JAVASCRIPT FOR SWITCHING TABS *} {literal} {/literal} {* SHOW GROUP TAB BUTTONS *}
{* GROUP TAB *}
{* SHOW GROUP INFORMATION *}
{lang_print id=2000254}
{if $group->group_info.group_desc != ""}{/if} {section name=cat_loop loop=$cats} {section name=field_loop loop=$cats[cat_loop].fields} {/section} {/section}
{lang_print id=2000094}{$group->group_info.group_title}
{lang_print id=2000255}{$group->group_info.group_desc}
{lang_print id=2000256} {if $groupcat_info.subcat_dependency == 0}{lang_print id=$groupcat_info.subcat_title}{else}{lang_print id=$groupcat_info.cat_title} - {lang_print id=$groupcat_info.subcat_title}{/if}
{lang_print id=$cats[cat_loop].fields[field_loop].field_title}:
{$cats[cat_loop].fields[field_loop].field_value_formatted}
{* SHOW RECENT ACTIVITY *} {if $actions|@count > 0}
{lang_print id=2000253}
{section name=actions_loop loop=$actions max=20}
{assign var='action_date' value=$datetime->time_since($actions[actions_loop].action_date)} {lang_sprintf id=$action_date[0] 1=$action_date[1]}
{assign var='action_media' value=''} {if $actions[actions_loop].action_media !== FALSE}{capture assign='action_media'}{section name=action_media_loop loop=$actions[actions_loop].action_media}{/section}{/capture}{/if} {lang_sprintf assign='action_text' id=$actions[actions_loop].action_text args=$actions[actions_loop].action_vars} {$action_text|replace:"[media]":$action_media|choptext:50:"
"}
{/section}
{/if} {* END RECENT ACTIVITY *}
{* END GROUP TAB *} {* MEMBERS TAB *} {if $total_members_all != 0}
{* JAVASCRIPT FOR CHANGING FRIEND MENU OPTION *} {literal} {/literal}
{lang_print id=2000220} ({$total_members})
{if $search == ""} {/if}
Sort By: {* DISPLAY NO RESULTS MESSAGE *} {if $search != "" && $total_members == 0}
{lang_print id=2000222}
{/if} {* DISPLAY PAGINATION MENU IF APPLICABLE *} {* DISPLAY PAGINATION MENU IF APPLICABLE *} {if $maxpage_members > 1}
{if $p_members != 1}group_info.group_id)}&v=members&search={$search}&p=1&order={$smarty.get.order}">« ‹{else}« ‹{/if} | {foreach from=$for item=foo} {$foo} {/foreach} | {if $p_members != $maxpage_members}› group_info.group_id)}&v=members&search={$search}&p={$maxpage_members}&order={$smarty.get.order}">»{else}› »{/if}
{if $p_start_members == $p_end_members} {lang_sprintf id=184 1=$p_start_members 2=$total_members} {else} {lang_sprintf id=185 1=$p_start_members 2=$p_end_members 3=$total_members} {/if}
Go to Page:
{/if} {* LOOP THROUGH MEMBERS *} {section name=member_loop loop=$members}
{if $members[member_loop].member->user_info.user_dateupdated != 0}
{lang_print id=849} {assign var='last_updated' value=$datetime->time_since($members[member_loop].member->user_info.user_dateupdated)}{lang_sprintf id=$last_updated[0] 1=$last_updated[1]}
{/if} {capture assign='member_rank'}{if $members[member_loop].groupmember_rank == 2}{lang_print id=2000179}{elseif $members[member_loop].groupmember_rank == 1 && $group->groupowner_level_info.level_group_officers == 1}{lang_print id=2000180}{/if}{/capture}
{if $members[member_loop].groupmember_title != "" && $group->groupowner_level_info.level_group_titles == 1}{lang_sprintf id=2000182 1=$member_rank 2=$members[member_loop].groupmember_title}{elseif $member_rank != ""}{lang_sprintf id=2000178 1=$member_rank}{/if}
{if $members[member_loop].member->online_now() == 1}
{lang_print id=1086}
{/if}
{if !$members[member_loop].member->is_viewers_friend && !$members[member_loop].member->is_viewer_blocklisted && $members[member_loop].member->user_info.user_id != $user->user_info.user_id && $user->user_exists != 0}{/if} {if !$members[member_loop].member->is_viewer_blocklisted && ($user->level_info.level_message_allow == 2 || ($user->level_info.level_message_allow == 1 && $members[member_loop].member->is_viewers_friend)) && $members[member_loop].member->user_info.user_id != $user->user_info.user_id}{lang_print id=839}{/if}
{if !$smarty.section.member_loop.last}
{/if} {/section} {* DISPLAY PAGINATION MENU IF APPLICABLE *} {if $maxpage_members > 1}
{if $p_members != 1}group_info.group_id)}&v=members&search={$search}&p=1&order={$smarty.get.order}">« ‹{else}« ‹{/if} | {foreach from=$for item=foo} {$foo} {/foreach} | {if $p_members != $maxpage_members}› group_info.group_id)}&v=members&search={$search}&p={$maxpage_members}&order={$smarty.get.order}">»{else}› »{/if}
{if $p_start_members == $p_end_members} {lang_sprintf id=184 1=$p_start_members 2=$total_members} {else} {lang_sprintf id=185 1=$p_start_members 2=$p_end_members 3=$total_members} {/if}
Go to Page:
{/if}
{/if} {* END MEMBERS TAB *} {* BEGIN PHOTOS TAB *} {if $allowed_to_upload != 0 || $total_files != 0} {* PHOTOS TAB *}
Photos ({$total_files})
Start Slideshow
{if $allowed_to_upload}
{lang_print id=2000251}
{/if}
{if $maxpage_files > 1}
{if $p_files != 1}« ‹{else}« ‹{/if} | {foreach from=$for2 item=foo} {$foo} {/foreach} | {if $p_files != $maxpage_files}› »{else}› »{/if}
{if $p_start_files == $p_end_files} {lang_sprintf id=184 1=$p_start_files 2=$total_files} {else} {lang_sprintf id=185 1=$p_start_files 2=$p_end_files 3=$total_files} {/if}
Go to Page:
{/if} {section name=files_loop loop=$files} {* ENSURE VIDEO TITLE ISN'T BLANK *} {* IF IMAGE, GET THUMBNAIL *} {if $files[files_loop].groupmedia_ext == "jpeg" || $files[files_loop].groupmedia_ext == "jpg" || $files[files_loop].groupmedia_ext == "gif" || $files[files_loop].groupmedia_ext == "png" || $files[files_loop].groupmedia_ext == "bmp" || $files[files_loop].groupmedia_ext == "bmp"||$files[files_loop].groupmedia_ext == "JPEG" || $files[files_loop].groupmedia_ext == "JPG" || $files[files_loop].groupmedia_ext == "GIF" || $files[files_loop].groupmedia_ext == "PNG" || $files[files_loop].groupmedia_ext == "BMP" || $files[files_loop].groupmedia_ext == "BMP"} {assign var='file_dir' value=$group->group_dir($group->group_info.group_id)} {assign var='file_src' value="`$file_dir``$files[files_loop].groupmedia_id`.`$files[files_loop]`_thumb.`groupmedia_ext`} {if $file_src|file_exists eq ''} {assign var='file_src' value="`$file_dir``$files[files_loop].groupmedia_id`.`$files[files_loop].groupmedia_ext`} {/if} {* SET THUMB PATH FOR AUDIO *} {elseif $files[files_loop].groupmedia_ext == "mp3" || $files[files_loop].groupmedia_ext == "mp4" || $files[files_loop].groupmedia_ext == "wav"} {assign var='file_src' value='./images/icons/audio_big.gif'} {* SET THUMB PATH FOR VIDEO *} {elseif $files[files_loop].groupmedia_ext == "mpeg" || $files[files_loop].groupmedia_ext == "mpg" || $files[files_loop].groupmedia_ext == "mpa" || $files[files_loop].groupmedia_ext == "avi" || $files[files_loop].groupmedia_ext == "swf" || $files[files_loop].groupmedia_ext == "mov" || $files[files_loop].groupmedia_ext == "ram" || $files[files_loop].groupmedia_ext == "rm"} {assign var='file_src' value='./images/icons/video_big.gif'} {* SET THUMB PATH FOR UNKNOWN *} {else} {assign var='file_src' value='./images/icons/file_big.gif'} {/if} {* START NEW ROW *} {cycle name="startrow" values=",,,,"} {* SHOW THUMBNAIL *}
{$files[files_loop].groupmedia_title|truncate:20:"...":true} 
{* END ROW AFTER 5 RESULTS *} {if $smarty.section.files_loop.last == true} {else} {cycle name="endrow" values=",,,,"} {/if} {/section}

{if $maxpage_files > 1}
{if $p_files != 1}« ‹{else}« ‹{/if} | {foreach from=$for2 item=foo} {$foo} {/foreach} | {if $p_files != $maxpage_files}› »{else}› »{/if}
{if $p_start_files == $p_end_files} {lang_sprintf id=184 1=$p_start_files 2=$total_files} {else} {lang_sprintf id=185 1=$p_start_files 2=$p_end_files 3=$total_files} {/if}
Go to Page:
{/if}
{/if} {* END PHOTOS TAB *} {* BEGIN PHOTOS TAB *} {if $allowed_to_upload != 0 || $total_files != 0} {* PHOTOS TAB *}
Videos ({$total_videos})
{if $allowed_to_upload}
Add New Videos
{/if}
{section name=video_loop loop=$videos} {* ENSURE VIDEO TITLE ISN'T BLANK *} {if $videos[video_loop].video_title == ""}{capture assign="video_title"}{lang_print id=589}{/capture}{else}{assign var="video_title" value=$videos[video_loop].video_title}{/if}
{$videos[video_loop].total_comments} comment{if $videos[video_loop].total_comments!=1}s{/if} - {$videos[video_loop].video_views} view{if $videos[video_loop].video_views!=1}s{/if}
{section name=full_loop start=0 loop=$videos[video_loop].video_rating_full} {/section} {if $videos[video_loop].video_rating_part}{/if} {section name=none_loop start=0 loop=$videos[video_loop].video_rating_none} {/section}
{cycle values=","} {/section}
{/if} {* END PHOTOS TAB *} {* DISCUSSION TAB *} {if $allowed_to_discuss != 0 || $total_topics != 0}
{lang_print id=2000257} ({$total_topics})
{if $allowed_to_discuss}
{lang_print id=2000258}
{/if}
{* DISPLAY NO RESULTS MESSAGE *} {if $total_topics == 0}
{lang_print id=2000259}
{/if} {* DISPLAY PAGINATION MENU IF APPLICABLE *} {if $maxpage_topics > 1}
{if $p_topics != 1}« ‹{else}« ‹{/if} | {foreach from=$for1 item=foo} {$foo} {/foreach} | {if $p_topics != $maxpage_topics}› »{else}› »{/if}
{if $p_start_topics == $p_end_topics} {lang_sprintf id=184 1=$p_start_topics 2=$total_topics} {else} {lang_sprintf id=185 1=$p_start_topics 2=$p_end_topics 3=$total_topics} {/if}
Go to Page:
{/if} {section name=topic_loop loop=$topics} {/section}
{lang_sprintf id=2000260 1=$topics[topic_loop].total_posts-1}
{if !$topics[topic_loop].grouptopic_closed}
{else}
{/if} {if $topics[topic_loop].grouptopic_sticky}
{/if}
{assign var='datecreated_vars' value=$datetime->time_since($topics[topic_loop].grouptopic_date)} {capture assign='datecreated'}{lang_sprintf id=$datecreated_vars[0] 1=$datecreated_vars[1]}{/capture} {if $topics[topic_loop].creator->user_exists} {lang_sprintf id=2000261 1=$datecreated 2=$url->url_create('profile', $topics[topic_loop].creator->user_info.user_username) 3=$topics[topic_loop].creator->user_displayname} {else} {if $topics[topic_loop].grouptopic_creatoruser_id != 0} {capture assign='creator'}{lang_print id=1071}{/capture} {else} {capture assign='creator'}{lang_print id=835}{/capture} {/if} {lang_sprintf id=2000261 1=$datecreated 2=$creator} {/if} - {lang_sprintf id=2000262 1=$topics[topic_loop].grouptopic_views} {if $group->user_rank == 2 || $group->user_rank == 1} - [ {lang_print id=155} ] {/if}
{if $topics[topic_loop].lastposter->user_exists} {lang_sprintf id=2000263 1=$url->url_create("group_discussion_post", $smarty.const.NULL, $group->group_info.group_id, $topics[topic_loop].grouptopic_id, $topics[topic_loop].grouppost_id) 2=$url->url_create('profile', $topics[topic_loop].lastposter->user_info.user_username) 3=$topics[topic_loop].lastposter->user_displayname} {else} {if $topics[topic_loop].grouppost_authoruser_id != 0} {capture assign='lastposter'}{lang_print id=1071}{/capture} {else} {capture assign='lastposter'}{lang_print id=835}{/capture} {/if} {lang_sprintf id=2000265 1=$url->url_create("group_discussion_post", $smarty.const.NULL, $group->group_info.group_id, $topics[topic_loop].grouptopic_id, $topics[topic_loop].grouppost_id) 2=$lastposter} {/if}
{assign var="grouppost_date" value=$datetime->time_since($topics[topic_loop].grouppost_date)} {lang_sprintf id=$grouppost_date[0] 1=$grouppost_date[1]}
{* DISPLAY PAGINATION MENU IF APPLICABLE *} {if $maxpage_topics > 1}
{if $p_topics != 1}« ‹{else}« ‹{/if} | {foreach from=$for1 item=foo} {$foo} {/foreach} | {if $p_topics != $maxpage_topics}› »{else}› »{/if}
{if $p_start_topics == $p_end_topics} {lang_sprintf id=184 1=$p_start_topics 2=$total_topics} {else} {lang_sprintf id=185 1=$p_start_topics 2=$p_end_topics 3=$total_topics} {/if}
Go to Page:
{/if}
{if $group->user_rank == 2 || $group->user_rank == 1} {* JAVASCRIPT FOR CONFIRMING DELETION *} {literal} {/literal} {* HIDDEN DIV TO DISPLAY CONFIRMATION MESSAGE *} {/if} {/if} {* END DISCUSSION *} {* BEGIN COMMENTS TAB *} {if $allowed_to_comment != 0 || $total_comments != 0} {* SHOW COMMENT TAB *}
{* COMMENTS *} {if $allowed_to_comment}
Comments ({$total_comments|default:0})
Allowed HTML Tags: b, img, a, br
{/if}
{lang_javascript ids=39,155,175,182,183,184,185,187,784,787,829,830,831,832,833,834,835,854,856,891,1025,1026,1032,1034,1071} {literal} {/literal} {literal} {/literal}
{/if} {* END COMMENTS *}
{/if} {* END PRIVACY IF STATEMENT *}
{* END RIGHT COLUMN *}


{include file='footer.tpl'}