/** * copyright : (C) 2001-2017 Advanced Internet Designs Inc. * email : forum@fudforum.org * $Id: usrinfo.tmpl 6078 2017-09-25 14:57:31Z naudefj $ * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; version 2 of the License. **/ {PHP_FILE: input: usrinfo.php.t; output: usrinfo.php;} {REF: security.tmpl} {REF: header.tmpl} {REF: footer.tmpl} {REF: curtime.tmpl} {REF: usercp.tmpl} {REF: stats.tmpl} {REF: rev_fmt.tmpl} {REF: is_perms.tmpl} {REF: alt_var.tmpl} {REF: allowed_user_lnk.tmpl} {SECTION: userinfo_last_post_lnk} {ROOT}?t={DEF: d_thread_view}&goto={VAR: r[1]}&{DEF: _rsid}#msg_{VAR: r[1]} {SECTION: END} {SECTION: last_post last post link} {MSG: usrinfo_last_post} {TEMPLATE: uinfo_last_post_date}
{VAR: r[0]} {SECTION: END} {SECTION: email_link} {MSG: email} {VAR: u->email} {SECTION: END} {SECTION: email_form_link_lnk} {ROOT}?t=email&toi={VAR: u->id}&{DEF: _rsid} {SECTION: END} {SECTION: email_form_link link to the email form} {MSG: email} [{MSG: email_user}] {SECTION: END} {SECTION: usrinfo_last_ip_lnk} {ROOT}?t=ip&ip={VAR: u->last_used_ip}&{DEF: _rsid} {SECTION: END} {SECTION: usrinfo_private_msg_lnk} {ROOT}?t=ppost&{DEF: _rsid}&toi={VAR: u->id} {SECTION: END} {SECTION: referals_lnk} {ROOT}?t=list_referers&{DEF: _rsid} {SECTION: END} {SECTION: referals an indicator of how many people this user has referred} {MSG: userinfo_referals} {MSG: userinfo_referals_count} {SECTION: END} {SECTION: birth_date} {MSG: birth_date} {TEMPLATE: uinfo_bday} {SECTION: END} {SECTION: level_name user's level name as determined by post count} {VAR: u->level_name}
{SECTION: END} {SECTION: level_image user's level image if available as determined by post count}
{SECTION: END} {SECTION: moderation list of all forums moderated by user} {MSG: moderator_of} {TEMPLATE-DATA: moderation} {SECTION: END} {SECTION: moderation_entry_lnk} {ROOT}?t={DEF: t_thread_view}&frm_id={VAR: r[0]}&{DEF: _rsid} {SECTION: END} {SECTION: moderation_entry link to forum moderated by user} {VAR: r[1]}  {SECTION: END} {SECTION: USERINFO_PAGE_lnk} {ROOT}?t=showposts&id={VAR: u->id}&{DEF: _rsid} {SECTION: END} {PAGE: USERINFO_PAGE info about a particular user in the forum} {TEMPLATE: header} {TEMPLATE: usercp} {IF: $u->users_opt & 32768}{ELSE}{END} {IF: ($level_name || $moderation || $level_image || $u->custom_status)}{ENDIF} {IF: ($FUD_OPT_1 & 28 && $u->users_opt & 8388608 && !($u->level_opt & 2))}{ENDIF} {TEMPLATE-DATA: last_post} {IF: $u->last_visit && !($u->users_opt & 32768)}{ENDIF} {TEMPLATE-DATA: polls} {IF: ($FUD_OPT_2 & 65536 && $u->user_image && strpos($u->user_image, '://'))}{ENDIF} {TEMPLATE-DATA: email_link} {IF: ($FUD_OPT_1 & 1024 && _uid)}{ENDIF} {TEMPLATE-DATA: buddy} {TEMPLATE-DATA: referals} {IF: $u->home_page}{ENDIF} {TEMPLATE-DATA: gender} {IF: $u->location}{ENDIF} {IF: $u->occupation}{ENDIF} {IF: $u->interests}{ENDIF} {IF: $u->bio}{ENDIF} {TEMPLATE-DATA: birth_date} {TEMPLATE-DATA: custom_fields_disp} {IF: $u->icq}{ENDIF} {IF: $u->aim}{ENDIF} {IF: $u->yahoo}{ENDIF} {IF: $u->msnm}{ENDIF} {IF: $u->jabber}{ENDIF} {IF: $u->google}{ENDIF} {IF: $u->skype}{ENDIF} {IF: $u->twitter}{ENDIF} {IF: $is_a} {ENDIF}
{MSG: date_registered}
{MSG: post_count_l} {MSG: average_post_count}
{MSG: usrinfo_show_all_posts}
{MSG: userinfo_real_name} {VAR: u->name}
{MSG: status} {TEMPLATE-DATA: level_name} {TEMPLATE-DATA: level_image} {IF: $u->custom_status}{VAR: u->custom_status}
{ENDIFI}
{TEMPLATE-DATA: moderation}
{MSG: avatar} {VAR: u->avatar_loc}
{MSG: usrinfo_last_visit} {TEMPLATE: uinfo_last_visit_date} {IF: $u->last_used_ip && $is_a}
{VAR: u->last_used_ip} {ENDIFI}
{MSG: image}
{MSG: usrinfo_private_message}
{MSG: homepage} {VAR: u->home_page}
{MSG: location} {VAR: u->location}
{MSG: occupation} {VAR: u->occupation}
{MSG: interests} {VAR: u->interests}
{MSG: biography} {VAR: u->bio}
{MSG: icq_message_form} {VAR: u->icq}
{MSG: icq_control_panel}
{MSG: sender_name}
{MSG: sender_email}
{MSG: subject}

{MSG: message}

{MSG: im_aim}{FUNC: htmlentities(urldecode($u->aim))}
{MSG: im_yahoo}{FUNC: htmlentities(urldecode($u->yahoo))}
{MSG: im_msnm}{FUNC: char_fix(htmlspecialchars(urldecode($u->msnm)))}
{MSG: im_jabber}{VAR: u->jabber}
{MSG: im_google}{VAR: u->google}
{MSG: im_skype}{VAR: u->skype}
{MSG: im_twitter}{VAR: u->twitter}
{MSG: findu_admin_opts_header} {MSG: findu_edit} || {MSG: findu_delete} || {IF: $u->users_opt & 65536} {MSG: findu_unban} {ELSE} {MSG: findu_ban} {ENDI}
{MSG: usrinfo_show_all_posts}
{TEMPLATE: curtime} {TEMPLATE-DATA: page_stats} {TEMPLATE: footer} {PAGE: END} {SECTION: user_info_l} {MSG: user_info_l} {SECTION: END} {SECTION: userinfo_update} {MSG: userinfo_update} {SECTION: END} {SECTION: male} {MSG: gender}{MSG: male} {SECTION: END} {SECTION: female} {MSG: gender}{MSG: female} {SECTION: END} {SECTION: no_view_perm} {MSG: usrinfo_last_post}{MSG: no_view_perm} {SECTION: END} {SECTION: polls_lnk} {ROOT}?t=polllist&uid={VAR: u->id}&{DEF: _rsid} {SECTION: END} {SECTION: polls an indicator of how many polls this user has created} {MSG: userinfo_polls}{VAR: polls} {SECTION: END} {SECTION: ui_buddy_lnk} {ROOT}?t=buddy_list&add={VAR: u->id}&{DEF: _rsid}&SQ={GVAR: sq} {SECTION: END} {SECTION: ui_buddy} {MSG: userinfo_buddy}{MSG: add_to_buddy_list} {SECTION: END} {SECTION: ui_custom_field} {VAR: custom_field_name}:{VAR: custom_field_val} {SECTION: END}