{include file='header.tpl'} {* $Id: profile.tpl 255 2009-11-18 02:21:01Z steve $ *}
{* BEGIN LEFT COLUMN *} {* SHOW USER PHOTO *}
{assign var="profilepicture" value=$owner->user_photo("./images/nophoto.png")} {if $album_id!=""} {$owner->userprofiledot($profilepicture)} {else} {$owner->userprofiledot($profilepicture)} {/if}
{if $user->user_info.user_id!=$owner->user_info.user_id} {* 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} {if $owner->user_info.user_id!=$user->user_info.user_id} {if $noims!="1"} {/if} {/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}
Send IM
{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} {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} {if $owner->profile_info.profilevalue_41!=""||$owner->profile_info.profilevalue_33!=""||$owner->profile_info.profilevalue_34!=""||$owner->profile_info.profilevalue_40!=""||$owner->profile_info.profilevalue_35!=""||$owner->profile_info.profilevalue_36!=""||$owner->profile_info.profilevalue_37!=""||$owner->profile_info.profilevalue_38!=""||$owner->profile_info.profilevalue_39!=""}
Social Media
{if $owner->profile_info.profilevalue_41!=""} {$owner->profile_info.profilevalue_41}
{/if} {if $owner->profile_info.profilevalue_33!=""} {$owner->profile_info.profilevalue_33}
{/if}{if $owner->profile_info.profilevalue_34!=""} {$owner->profile_info.profilevalue_34}
{/if}{if $owner->profile_info.profilevalue_40!=""} {$owner->profile_info.profilevalue_40}
{/if}{if $owner->profile_info.profilevalue_35!=""} {$owner->profile_info.profilevalue_35}
{/if}{if $owner->profile_info.profilevalue_36!=""} {$owner->profile_info.profilevalue_36}
{/if}{if $owner->profile_info.profilevalue_37!=""} {$owner->profile_info.profilevalue_37}
{/if}{if $owner->profile_info.profilevalue_38!=""} {$owner->profile_info.profilevalue_38}
{/if}{if $owner->profile_info.profilevalue_39!=""} {$owner->profile_info.profilevalue_39}
{/if}
{/if}
Intro Video {$fred}
{if $owner->user_info.introvid=="" && $user->user_info.user_id==$owner->user_info.user_id && $owner->user_info.user_level_id==2} CLICK HERE TO UPLOAD VIDEO {elseif $user->user_info.user_id==$owner->user_info.user_id && $owner->user_info.introapproved==0 && $owner->user_info.introvid!="" && $owner->user_info.user_level_id==2} Intro video is pending approval {elseif $owner->user_info.introvid=="" || $owner->user_info.introapproved==0 || $owner->user_info.user_level_id==1} No intro video uploaded {elseif $owner->user_info.video_is_converted==0 && $owner->user_info.introvid!=""} Intro video is pending approval {else} {if $user->user_info.user_level_id!=2} You must be a premium member to see intro videos {else} {literal}
{/literal} {/if} {literal} {/literal} {/if}
{* 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 || $planname.plan_id==9} {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==0 || $time > $owner->user_info.user_plan_expiration} {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 *}
BATOR Q&A
{if $countmotm>0} Click here to see the answers{else}Bator Q & A not answered yet {/if}
{php}batelists();{/php} {* $Id: profile_music.tpl 11 2009-01-11 06:03:58Z john $ *} {* SHOW MUSIC PLAYER *} {if $user->user_info.user_level_id == 2} {if $music_empty}
{$owner->user_displayname}'s Audio
{literal}
{/literal} {include_php file="music_playlist.php"}
{/if} {else}
{lang_sprintf id=4000041 1=$owner->user_displayname}
You must be a premium member to listen to members' music.
{/if} {* 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 *}
{* PROFILE TAB *}
{* SHOW PROFILE CATS AND FIELDS *} {section name=cat_loop loop=$cats} {section name=subcat_loop loop=$cats[cat_loop].subcats}
{lang_print id=$cats[cat_loop].subcats[subcat_loop].subcat_title}
{* LOOP THROUGH FIELDS IN TAB, ONLY SHOW FIELDS THAT HAVE BEEN FILLED IN *} {section name=field_loop loop=$cats[cat_loop].subcats[subcat_loop].fields} {if $cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_id==4} {if $owner->profile_info.profilevalue_42!=1} {/if} {else} {/if} {/section}
{lang_print id=$cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_title}:
{$cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_value_formatted}
{if $cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_special == 1 && $cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_value|substr:0:4 != "0000"}{if $owner->profile_info.profilevalue_26!=1} ({lang_sprintf id=852 1=$datetime->age($cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_value)}){/if}{/if}
{lang_print id=$cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_title}:
{$cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_value_formatted}
{if $cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_special == 1 && $cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_value|substr:0:4 != "0000"}{if $owner->profile_info.profilevalue_26!=1} ({lang_sprintf id=852 1=$datetime->age($cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_value)}){/if}{/if}
{/section} {/section} {* END PROFILE TABS AND FIELDS *} {* SHOW RECENT ACTIVITY *} {if $actions|@count > 0} {literal} {/literal} {* SHOW RECENT ACTIONS *}
{lang_print id=851}
{section name=actions_loop loop=$actions}
{assign var='action_date' value=$datetime->time_since($actions[actions_loop].action_date)} {lang_sprintf id=$action_date[0] 1=$action_date[1]} {* DISPLAY DELETE LINK IF NECESSARY *} {if $setting.setting_actions_selfdelete == 1 && $actions[actions_loop].action_user_id == $user->user_info.user_id} {/if}
{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 PROFILE TAB *} {* FRIENDS TAB *} {if $total_friends_all != 0}
{if $m == 1} {lang_sprintf id=1024 1=$owner->user_displayname_short} {else} {lang_sprintf id=930 1=$owner->user_displayname_short} {/if} ({$total_friends})
{if $search == ""} {/if}
{* IF MUTUAL FRIENDS EXIST, SHOW OPTION TO VIEW THEM *} {if $owner->user_info.user_id != $user->user_info.user_id && $total_friends_mut != 0}
{if $m != 1} {lang_print id=1022} {else} {lang_print id=1022} {/if}  |  {if $m == 1} {lang_print id=1020} {else} {lang_print id=1020} {/if}
{/if} {* DISPLAY NO RESULTS MESSAGE *} {if $search != "" && $total_friends == 0}
{lang_sprintf id=934 1=$owner->user_displayname_short}
{elseif $m == 1 && $total_friends == 0}
{lang_sprintf id=1023 1=$owner->user_displayname_short}
{/if} {* DISPLAY PAGINATION MENU IF APPLICABLE *} {if $maxpage_friends > 1}
{if $p_members != 1}« ‹{else}« ‹{/if} | {foreach from=$for item=foo} {$foo} {/foreach} | {if $p_members != $maxpage_friends}› »{else}› »{/if}
{if $p_start_friends == $p_end_friends} {lang_sprintf id=184 1=$p_start_friends 2=$total_friends} {else} {lang_sprintf id=185 1=$p_start_friends 2=$p_end_friends 3=$total_friends} {/if}
Go to Page:
{/if} {* LOOP THROUGH FRIENDS *} {section name=friend_loop loop=$friends}
{if $friends[friend_loop]->user_info.user_dateupdated != 0}
{lang_print id=849} {assign var='last_updated' value=$datetime->time_since($friends[friend_loop]->user_info.user_dateupdated)}{lang_sprintf id=$last_updated[0] 1=$last_updated[1]}
{/if} {if $show_details != 0} {if $friends[friend_loop]->friend_type != ""}
{lang_print id=882} {$friends[friend_loop]->friend_type}
{/if} {if $friends[friend_loop]->friend_explain != ""}
{lang_print id=907} {$friends[friend_loop]->friend_explain}
{/if} {/if}{if $friends[friend_loop]->online_now() == 1}
{lang_print id=1086}
{/if}
{if !$friends[friend_loop]->is_viewers_friend && !$friends[friend_loop]->is_viewers_blocklisted && $friends[friend_loop]->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 && $friends[friend_loop]->is_viewers_friend == 2)) && $friends[friend_loop]->user_info.user_id != $user->user_info.user_id}{lang_print id=839}{/if}
{/section} {if $maxpage_friends > 1}
{if $p_members != 1}« ‹{else}« ‹{/if} | {foreach from=$for item=foo} {$foo} {/foreach} | {if $p_members != $maxpage_friends}› »{else}› »{/if}
{if $p_start_friends == $p_end_friends} {lang_sprintf id=184 1=$p_start_friends 2=$total_friends} {else} {lang_sprintf id=185 1=$p_start_friends 2=$p_end_friends 3=$total_friends} {/if}
Go to Page:
{/if}
{/if} {* END FRIENDS TAB *} {* BEGIN COMMENTS TAB *} {if $allowed_to_comment != 0 || $total_comments != 0} {* SHOW COMMENT TAB *}
{* COMMENTS *}
Comments ({$total_comments|default:0})
Allowed HTML Tags: b, img, a, br
{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}
{/if} {* END COMMENTS *} {counter start=3 print=false} {* PLUGIN RELATED PROFILE TABS *} {hook_foreach name=profile_tab var=profile_tab_args}
{include file=$profile_tab_args.file}
{/hook_foreach} {/if} {* END PRIVACY IF STATEMENT *}
{* END RIGHT COLUMN *}
{literal} {/literal} {include file='footer.tpl'}