{* BEGIN RIGHT COLUMN *}
{* JAVASCRIPT FOR SWITCHING TABS *}
{literal}
{/literal}
{* SHOW club TAB BUTTONS *}
{* club TAB *}
{* SHOW club INFORMATION *}
Loading...
{* END club 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:
Online
Recent Members
Username
{* DISPLAY NO RESULTS MESSAGE *}
{if $search != "" && $total_members == 0}
{/if}
{* DISPLAY PAGINATION MENU IF APPLICABLE *}
{* DISPLAY PAGINATION MENU IF APPLICABLE *}
{if $maxpage_members > 1}
{if $p_members != 1}
club_info.club_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}
› club_info.club_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}
{/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].clubmember_rank == 2}{lang_print id=2000179}{elseif $members[member_loop].clubmember_rank == 1 && $club->clubowner_level_info.level_club_officers == 1}{lang_print id=2000180}{/if}{/capture}
{if $members[member_loop].clubmember_title != "" && $club->clubowner_level_info.level_club_titles == 1}{lang_sprintf id=2000182 1=$member_rank 2=$members[member_loop].clubmember_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}
club_info.club_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}
› club_info.club_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}
{/if}
{/if}
{* END MEMBERS TAB *}
{* BEGIN PHOTOS TAB *}
{if $allowed_to_upload != 0 || $total_files != 0}
{* PHOTOS TAB *}
{if $total_albums > 0}
{* IF MORE THAN 6 ALBUMS, SHOW VIEW MORE LINKS *}
{if $total_albums > 6} [
user_info.user_username)}'>view all ]{/if}
{* LOOP THROUGH FIRST 6 ALBUMS *}
{section name=album_loop loop=$albums}
{* SET ALBUM COVER *}
{if $albums[album_loop].clubalbum_cover_id == 0}
{assign var='album_cover_src' value='./images/icons/folder_big.gif'}
{else}
{* IF IMAGE, GET THUMBNAIL *}
{if $albums[album_loop].clubalbum_cover_ext == "jpeg" || $albums[album_loop].clubalbum_cover_ext == "jpg" || $albums[album_loop].clubalbum_cover_ext == "gif" || $albums[album_loop].clubalbum_cover_ext == "png" || $albums[album_loop].clubalbum_cover_ext == "bmp"||$albums[album_loop].clubalbum_cover_ext == "JPEG" || $albums[album_loop].clubalbum_cover_ext == "JPG" || $albums[album_loop].clubalbum_cover_ext == "GIF" || $albums[album_loop].clubalbum_cover_ext == "PNG" || $albums[album_loop].clubalbum_cover_ext == "BMP"}
{assign var='album_cover_dir' value=$url->url_userdir($owner->user_info.user_id)}
{assign var='album_cover_src' value="`$album_cover_dir``$albums[album_loop].clubalbum_cover_id`_thumb.`$albums[album_loop].clubalbum_cover_ext`"}
{* SET THUMB PATH FOR AUDIO *}
{elseif $albums[album_loop].clubalbum_cover_ext == "mp3" || $albums[album_loop].clubalbum_cover_ext == "mp4" || $albums[album_loop].clubalbum_cover_ext == "wav"}
{assign var='album_cover_src' value='./images/icons/audio_big.gif'}
{* SET THUMB PATH FOR VIDEO *}
{elseif $albums[album_loop].clubalbum_cover_ext == "mpeg" || $albums[album_loop].clubalbum_cover_ext == "mpg" || $albums[album_loop].clubalbum_cover_ext == "mpa" || $albums[album_loop].clubalbum_cover_ext == "avi" || $albums[album_loop].clubalbum_cover_ext == "swf" || $albums[album_loop].clubalbum_cover_ext == "mov" || $albums[album_loop].clubalbum_cover_ext == "ram" || $albums[album_loop].clubalbum_cover_ext == "rm"}
{assign var='album_cover_src' value='./images/icons/video_big.gif'}
{* SET THUMB PATH FOR UNKNOWN *}
{else}
{assign var='album_cover_src' value='./images/icons/file_big.gif'}
{/if}
{/if}
{if $albums[album_loop].clubalbum_dateupdated > 0}
{assign var="album_dateupdated" value=$datetime->time_since($albums[album_loop].clubalbum_dateupdated)}
{capture assign='updateddate'}{lang_sprintf id=$album_dateupdated[0] 1=$album_dateupdated[1]}{/capture}
{lang_sprintf id=1000140 1=$updateddate}
{/if}
{$albums[album_loop].clubalbum_desc|truncate:75:"...":true}
{cycle values=",
"}
{/section}
{/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}
{/if}
{if $maxpage_videos > 1}
{if $p_videos != 1}
« ‹ {else}
« ‹ {/if}
| {foreach from=$for3 item=foo}
{$foo}
{/foreach} |
{if $p_videos != $maxpage_videos}
› » {else}
› » {/if}
{if $p_start_videos == $p_end_videos}
{lang_sprintf id=184 1=$p_start_videos 2=$total_videos}
{else}
{lang_sprintf id=185 1=$p_start_videos 2=$p_end_videos 3=$total_videos}
{/if}
{/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 $maxpage_videos > 1}
{if $p_videos != 1}
« ‹ {else}
« ‹ {/if}
| {foreach from=$for3 item=foo}
{$foo}
{/foreach} |
{if $p_videos != $maxpage_videos}
› » {else}
› » {/if}
{if $p_start_videos == $p_end_videos}
{lang_sprintf id=184 1=$p_start_videos 2=$total_videos}
{else}
{lang_sprintf id=185 1=$p_start_videos 2=$p_end_videos 3=$total_videos}
{/if}
{/if}
{/if}
{* END PHOTOS TAB *}
{* DISCUSSION TAB *}
{if $allowed_to_discuss != 0 || $total_topics != 0}
{lang_print id=2000257} ({$total_topics})
{if $allowed_to_discuss}
{/if}
{* DISPLAY NO RESULTS MESSAGE *}
{if $total_topics == 0}
{/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}
{/if}
{section name=topic_loop loop=$topics}
{lang_sprintf id=2000260 1=$topics[topic_loop].total_posts-1}
{if !$topics[topic_loop].clubtopic_closed}
{else}
{/if}
{if $topics[topic_loop].clubtopic_sticky}
{/if}
{assign var='datecreated_vars' value=$datetime->time_since($topics[topic_loop].clubtopic_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].clubtopic_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].clubtopic_views}
{if $club->user_rank == 2 || $club->user_rank == 1}
- [
{lang_print id=155} ]
{/if}
{if $topics[topic_loop].lastposter->user_exists}
{lang_sprintf id=2000263 1=$url->url_create("club_discussion_post", $smarty.const.NULL, $club->club_info.club_id, $topics[topic_loop].clubtopic_id, $topics[topic_loop].clubpost_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].clubpost_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("club_discussion_post", $smarty.const.NULL, $club->club_info.club_id, $topics[topic_loop].clubtopic_id, $topics[topic_loop].clubpost_id) 2=$lastposter}
{/if}
{assign var="clubpost_date" value=$datetime->time_since($topics[topic_loop].clubpost_date)}
{lang_sprintf id=$clubpost_date[0] 1=$clubpost_date[1]}
{/section}
{* 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}
{/if}
{if $club->user_rank == 2 || $club->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 *}
{/if}
{* END COMMENTS *}