{include file='header.tpl'} {* $Id: profile.tpl 255 2009-11-18 02:21:01Z steve $ *}
{* BEGIN LEFT COLUMN *} {* SHOW USER PHOTO *}
{* SHOW PHOTOS OF THIS PERSON *} {if $total_photo_tags != 0} {assign var='showmenu' value='1'} {/if} {* SHOW BUTTONS IF LOGGED IN AND VIEWING SOMEONE ELSE *} {if $owner->user_info.user_id != $user->user_info.user_id} {* SHOW ADD OR REMOVE FRIEND MENU ITEM *} {if $friendship_allowed != 0 && $user->user_exists != 0} {assign var='showmenu' value='1'} {/if} {* SHOW SEND MESSAGE MENU ITEM *} {if ($user->level_info.level_message_allow == 2 || ($user->level_info.level_message_allow == 1 && $is_friend)) && $owner->level_info.level_message_allow != 0} {assign var='showmenu' value='1'} {/if} {* SHOW REPORT THIS PERSON MENU ITEM *} {if $user->user_exists != 0} {assign var='showmenu' value='1'} {/if} {* SHOW BLOCK OR UNBLOCK THIS PERSON MENU ITEM *} {if $user->level_info.level_profile_block != 0} {assign var='showmenu' value='1'} {/if} {/if} {* PLUGIN RELATED PROFILE MENU ITEMS *} {hook_foreach name=profile_menu var=profile_menu_args} {assign var='showmenu' value='1'} {/hook_foreach}
{lang_sprintf id=1204 1=$owner->user_displayname_short 2=$total_photo_tags}
{* JAVASCRIPT FOR CHANGING FRIEND MENU OPTION *} {literal} {/literal}
{lang_print id=839}
{lang_print id=840}
user_blocked($owner->user_info.user_id) == FALSE} style='display: none;'{/if}>{lang_print id=841}
user_blocked($owner->user_info.user_id) == TRUE} style='display: none;'{/if}>{lang_print id=842}
{lang_sprintf id=$profile_menu_args.title 1=$profile_menu_args.title_1 2=$profile_menu_args.title_2}
{if $showmenu == 1}
 
{/if} {* DISPLAY IF PROFILE IS PRIVATE TO VIEWING USER *} {if $is_profile_private != 0} {* END LEFT COLUMN *}
{* BEGIN RIGHT COLUMN *} {lang_print id=844} {* DISPLAY ONLY IF PROFILE IS NOT PRIVATE TO VIEWING USER *} {else} {* BEGIN STATUS *} {if ($owner->level_info.level_profile_status != 0 && ($owner->user_info.user_status != "" || $owner->user_info.user_id == $user->user_info.user_id)) || $is_online == 1}
{lang_print id=768}
{if $is_online == 1}
{lang_sprintf id=845 1=$owner->user_displayname_short}
{/if} {if $owner->level_info.level_profile_status != 0 && ($owner->user_info.user_status != "" || $owner->user_info.user_id == $user->user_info.user_id)}
{if $owner->user_info.user_id == $user->user_info.user_id} {* JAVASCRIPT FOR CHANGING STATUS - THIS IS ONLY SHOWN WHEN OWNER IS VIEWING OWN PROFILE, SO WE CAN USE VIEWER OBJECT *} {lang_javascript ids=773,1113 range=743-747} {literal} {/literal}
{if $owner->user_info.user_status != ""} {assign var='status_date' value=$datetime->time_since($user->user_info.user_status_date)} {$user->user_displayname_short} {$user->user_info.user_status}
{lang_print id=1113} {lang_sprintf id=$status_date[0] 1=$status_date[1]}
{else} {lang_print id=743} {/if}
{else} {assign var='status_date' value=$datetime->time_since($owner->user_info.user_status_date)} {$owner->user_displayname_short} {$owner->user_info.user_status}
{lang_print id=1113} {lang_sprintf id=$status_date[0] 1=$status_date[1]} {/if}
{/if}
{/if} {* END STATUS *} {* BEGIN STATS *}
{lang_print id=24}
{if $setting.setting_connection_allow != 0}{/if} {if $owner->user_info.user_dateupdated != ""}{/if} {if $owner->user_info.user_signupdate != ""}{/if} {if $owner->user_info.user_lastlogindate != ""}{/if} {if $owner->user_info.user_id==$user->user_info.user_id} {/if}
{lang_print id=846}{lang_sprintf id=740 1=$profile_views}
{lang_print id=847}{lang_sprintf id=848 1=$total_friends}
{lang_print id=1113}{assign var='last_updated' value=$datetime->time_since($owner->user_info.user_dateupdated)}{lang_sprintf id=$last_updated[0] 1=$last_updated[1]}
{lang_print id=850}{$datetime->cdate("`$setting.setting_dateformat`", $datetime->timezone("`$owner->user_info.user_signupdate`", $global_timezone))}
Last Logged On:     {$datetime->cdate("`$setting.setting_dateformat`", $datetime->timezone("`$owner->user_info.user_lastlogindate`", $global_timezone))}
Membership: {if $planname.plan_id==0 || $time > $owner->user_info.user_plan_expiration} Basic Membership{else}{$planname.plan_name}
{/if} {if $planname.plan_id==1}{if $time < $owner->user_info.user_plan_expiration}Automatically Rebills {$datetime->cdate("`$setting.setting_dateformat`", $owner->user_info.user_plan_expiration}}{/if}{elseif $planname.plan_id==2 || $planname.plan_id==3 || $planname.plan_id==4 || $planname.plan_id==6 || $planname.plan_id==5}{if $time < $owner->user_info.user_plan_expiration}Expires {$datetime->cdate("`$setting.setting_dateformat`", $owner->user_info.user_plan_expiration)}{if $user->user_info.user_id==$owner->user_info.user_id}
{if $planname.plan_id!=5} To renew your membership, CLICK HERE.{/if}{/if}{/if}{elseif $planname.plan_id!=5}Basic Membership{if $user->user_info.user_id==$owner->user_info.user_id}
To upgrade your membership, CLICK HERE.{/if} {/if}
{if $planname.plan_id==0 || $time > $owner->user_info.user_plan_expiration}Sign up for a premium account{/if}
{* *}
{* END STATS *} {* PLUGIN RELATED PROFILE SIDEBAR *} {hook_foreach name=profile_side var=profile_side_args} {include file=$profile_side_args.file} {/hook_foreach} {* END LEFT COLUMN *}
{* BEGIN RIGHT COLUMN *} {* JAVASCRIPT FOR SWITCHING TABS *} {literal} {/literal} {* SHOW PROFILE TAB BUTTONS *} {if $total_friends_all != 0}{/if} {if $allowed_to_comment != 0 || $total_comments != 0}{/if} {* PLUGIN RELATED PROFILE TABS *} {hook_foreach name=profile_tab var=profile_tab_args max=8 complete=profile_tab_complete} {/hook_foreach} {if !$profile_tab_complete} {/if}
{lang_print id=652}
{lang_print id=653}
{lang_print id=854}
{lang_print id=$profile_tab_args.title}
{lang_print id=1317}
 
{* PROFILE TAB *} {* END PROFILE TAB *} {* FRIENDS TAB *} {if $total_friends_all != 0} {/if} {* END FRIENDS TAB *} {* BEGIN COMMENTS TAB *} {if $allowed_to_comment != 0 || $total_comments != 0} {* SHOW COMMENT TAB *} {/if} {* END COMMENTS *} {* PLUGIN RELATED PROFILE TABS *} {hook_foreach name=profile_tab var=profile_tab_args} {/hook_foreach} {/if} {* END PRIVACY IF STATEMENT *}
{* END RIGHT COLUMN *}
{include file='footer.tpl'}