{{extend 'zlayout.html'}}

{{=XML(T('View Profile'))}}

{{if auth_user.is_auth():}} {{if not forumhelper.get_friend_status(auth_user.get_user_id(), user_id):}} {{else:}} {{pass}} {{pass}} {{if not view_info['props']['real_name_hidden'] or auth_user.is_admin() or (auth_user.is_auth() and forumhelper.get_friend_status(user_id, auth_user.get_user_id())):}} {{pass}} {{if not view_info['props']['web_page_hidden'] or auth_user.is_admin() or (auth_user.is_auth() and forumhelper.get_friend_status(user_id, auth_user.get_user_id())):}} {{pass}} {{if not view_info['props']['country_hidden'] or auth_user.is_admin() or (auth_user.is_auth() and forumhelper.get_friend_status(user_id, auth_user.get_user_id())):}} {{pass}} {{if not view_info['props']['user_info_hidden'] or auth_user.is_admin() or (auth_user.is_auth() and forumhelper.get_friend_status(user_id, auth_user.get_user_id())):}} {{pass}} {{if not view_info['props']['signature_hidden'] or auth_user.is_admin() or (auth_user.is_auth() and forumhelper.get_friend_status(user_id, auth_user.get_user_id())):}} {{pass}} {{if forumhelper.has_member_avatar(user_id):}} {{pass}}
{{=XML(T('Send private message to user'))}}
{{=XML(T('Add to friendslist'))}}
{{=XML(T('Remove from friendslist'))}}
{{=XML(T('Username'))}}: {{=forumhelper.get_member_property('zfmp_display_name', user_id, 'user_%s' % (user_id))}}
{{=XML(T('Real Name'))}}: {{=request.vars.get('real_name', view_info['props']['real_name'])}}
{{=XML(T('Web Page'))}}: {{=request.vars.get('web_page', view_info['props']['web_page'])}}
{{=XML(T('City/Country'))}}: {{=request.vars.get('country', view_info['props']['country'])}}
{{=XML(T('User Info'))}}: {{=request.vars.get('user_info', view_info['props']['user_info'])}}
{{=XML(T('Signature'))}}: {{=request.vars.get('signature', view_info['props']['signature'])}}
{{=XML(T('Avatar'))}}:

{{=XML(T('Topics'))}}


{{=XML(view_info['pagination_widget_1'])}}
{{if my_threads:}} {{if auth_user.is_auth() and user_id != auth_user.get_user_id():}} {{pass}} {{for row, this_topic in enumerate(my_threads):}} {{if not this_topic.profile_hidden or auth_user.is_admin() or (auth_user.is_auth() and forumhelper.get_friend_status(user_id, auth_user.get_user_id())):}} {{if auth_user.is_auth():}} {{pass}} {{pass}} {{pass}}
{{=XML(T('My Topics'))}} {{=XML(T('By'))}} {{=XML(T('Replies'))}} {{=XML(T('Views'))}} {{=XML(T('Last Updated'))}}{{=XML(T('Add To Profile'))}}
{{=XML(parse_content(this_topic.title))}} {{if view_info['zfsp_topic_teaser_length']:}}
{{=parse_content(this_topic.content[:view_info['zfsp_topic_teaser_length']], mode='forumpreview')}} .. {{pass}}
{{if this_topic.creation_user_id:}}{{=forumhelper.get_display_name(this_topic.creation_user_id, 'Anonymous User')}}{{else:}}Anonymous User{{pass}} {{=topic_1_replies_info[this_topic.id]}} {{=this_topic.hits}}
{{=this_topic.modifying_date.strftime(str(T('%b %d, %Y - %I:%M %p')))}}
{{=XML(T('By'))}} {{if not this_topic.modifying_user_id:}} {{=XML(T('Anonymous User'))}} {{else:}} {{if auth_user.is_auth():}} {{=forumhelper.get_member_property('zfmp_display_name', this_topic.modifying_user_id, 'user_%s' % (this_topic.modifying_user_id))}} {{else:}} {{=forumhelper.get_member_property('zfmp_display_name', this_topic.modifying_user_id, 'user_%s' % (this_topic.modifying_user_id))}} {{pass}} {{pass}}
{{=XML(T('Add'))}}
{{else:}}

{{=XML(T('No profile topics found in this forum'))}}.

{{pass}}


{{=XML(view_info['pagination_widget_2'])}}
{{if my_ref_threads:}} {{for row, this_topic in enumerate(my_ref_threads):}} {{if not this_topic.zf_referenced_topic.profile_hidden or auth_user.is_admin() or (auth_user.is_auth() and forumhelper.get_friend_status(user_id, auth_user.get_user_id())):}} {{pass}} {{pass}}
{{=XML(T('Bookmarked Topics'))}} {{=XML(T('By'))}} {{=XML(T('Replies'))}} {{=XML(T('Views'))}} {{=XML(T('Last Updated'))}}
{{=XML(parse_content(this_topic.zf_topic.title))}} {{if view_info['zfsp_topic_teaser_length']:}}
{{=parse_content(this_topic.zf_topic.content[:view_info['zfsp_topic_teaser_length']], mode='forumpreview')}} .. {{pass}}
{{if this_topic.zf_topic.creation_user_id:}}{{=forumhelper.get_display_name(this_topic.zf_topic.creation_user_id, 'Anonymous User')}}{{else:}}Anonymous User{{pass}} {{=topic_2_replies_info[this_topic.zf_topic.id]}} {{=this_topic.zf_topic.hits}}
{{=this_topic.zf_topic.modifying_date.strftime(str(T('%b %d, %Y - %I:%M %p')))}}
{{=XML(T('By'))}} {{if not this_topic.zf_topic.modifying_user_id:}} {{=XML(T('Anonymous User'))}} {{else:}} {{if auth_user.is_auth():}} {{=forumhelper.get_member_property('zfmp_display_name', this_topic.zf_topic.modifying_user_id, 'user_%s' % (this_topic.zf_topic.modifying_user_id))}} {{else:}} {{=forumhelper.get_member_property('zfmp_display_name', this_topic.zf_topic.modifying_user_id, 'user_%s' % (this_topic.zf_topic.modifying_user_id))}} {{pass}} {{pass}}
{{else:}}

{{=XML(T('No bookmarked topics found in this forum'))}}.

{{pass}}