- <ul class='user_details'>
- <if test="avatar:|:$author['member_id'] AND $author['avatar']">
- <li class='avatar'><a href="{parse url="showuser={$author['member_id']}" template="showuser" seotitle="{$author['members_seo_name']}" base="public"}" title="{$this->lang->words['view_profile']}">{$author['avatar']}</a></li>
- <else />
- <li class='avatar'>{$author['avatar']}</li>
- </if>
- <if test="membertitle:|:$author['title']">
- <li class='title'>{$author['title']}</li>
- </if>
- <if test="rankimage:|:$author['member_rank_img']">
- <li class='group_icon'>
- <if test="rankimageimage:|:$author['member_rank_img_i'] == 'img'">
- <img src='{$author['member_rank_img']}' alt='' />
- <else />
- {$author['member_rank_img']}
- </if>
- </li>
- </if>
- </ul>
- <div style='margin: 0 auto;'>
- <if test="xhtmlftw:|:$this->memberData['member_id'] != $author['member_id'] OR ($author['has_blog'] AND IPSLib::appIsInstalled( 'blog' )) OR ($author['has_gallery'] AND IPSLib::appIsInstalled( 'gallery' ))">
- <ul class='user_controls clear'>
- <if test="friendop:|:$this->memberData['member_id'] AND $this->memberData['member_id'] != $author['member_id'] && $this->settings['friends_enabled'] AND $this->memberData['g_can_add_friends'] && $author['member_id']">
- <if test="isfriend:|:IPSMember::checkFriendStatus( $author['member_id'] )">
- <li class='mini_friend_toggle is_friend' id='friend_{$contentid}_{$author['member_id']}'><a href='{parse url="app=members&module=profile&section=friends&do=remove&member_id={$author['member_id']}&secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['remove_friend']}'>{parse replacement="remove_friend"}</a></li>
- <else />
- <li class='mini_friend_toggle is_not_friend' id='friend_{$contentid}_{$author['member_id']}'><a href='{parse url="app=members&module=profile&section=friends&do=add&member_id={$author['member_id']}&secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['add_friend']}'>{parse replacement="add_friend"}</a></li>
- </if>
- </if>
- <if test="sendpm:|:$this->memberData['g_use_pm'] AND $this->memberData['member_id'] != $author['member_id'] AND $this->memberData['members_disable_pm'] == 0 AND IPSLib::moduleIsEnabled( 'messaging', 'members' ) && $author['member_id']">
- <li class='pm_button' id='pm_{$contentid}_{$author['member_id']}'><a href='{parse url="app=members&module=messaging&section=send&do=form&fromMemberID={$author['member_id']}" base="public"}' title='{$this->lang->words['pm_member']}'>{parse replacement="send_msg"}</a></li>
- </if>
- <if test="hasblog:|:$author['has_blog'] AND IPSLib::appIsInstalled( 'blog' )">
- <li><a href='{parse url="app=blog&show_members_blogs={$author['member_id']}" base="public"}' title='{$this->lang->words['view_blog']}'>{parse replacement="blog_link"}</a></li>
- </if>
- <if test="hasgallery:|:$author['has_gallery'] AND IPSLib::appIsInstalled( 'gallery' )">
- <li><a href='{parse url="app=gallery&module=user&section=user&user={$author['member_id']}" base="public"}' title='{$this->lang->words['view_gallery']}'>{parse replacement="gallery_link"}</a></li>
- </if>
- </ul>
- </if>
- </div>
- <ul class='user_fields'>
- <li>
- <span class='ft'>{$this->lang->words['m_group']}</span>
- <span class='fc'>{$author['_group_formatted']}</span>
- </li>
- <if test="ismember:|:$author['member_id']">
- <li>
- <span class='ft'>{$this->lang->words['m_posts']}</span>
- <span class='fc'>{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}</span>
- </li>
- <li>
- <span class='ft'>{$this->lang->words['m_joined']}</span>
- <span class='fc'>{parse date="$author['joined']" format="joined"}</span>
- </li>
- </if>
- <if test="authorcfields:|:$author['custom_fields'] != """>
- <foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
- <foreach loop="customFields:$author['custom_fields'][ $group ] as $field">
- <if test="$field != ''">
- <li>
- {$field}
- </li>
- </if>
- </foreach>
- </foreach>
- </if>
- </ul>
- <if test="authorwarn:|:$author['warn_percent'] !== NULL">
- <br class='clear' />
- <div class='warn_panel clear rounded'>
- <if test="$this->settings['warn_show_rating']">
- <strong><a href='{parse url="app=members&module=warn&section=warn&do=view&mid={$author['member_id']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}' class='warn_link'>{$this->lang->words['warn_status']}</a></strong>
- <p class='rating_mode user_warn' title='{$this->lang->words['warn_level']} {$author['warn_percent']}%'>
- <if test="changewarn:|:$author['can_edit_warn']">
- <a href='{parse url="app=members&module=warn&section=warn&type=minus&mid={$author['member_id']}&t=0&st=0" base="public"}' title='{$this->lang->words['warn_decrease']}'><img src='{$this->settings['img_url']}/warn_minus.gif' alt='{$this->lang->words['minus']}' class='warn_edit down' /></a>
- </if>
- < {$this->settings['warn_min']} ( {$author['warn_level']} ) {$this->settings['warn_max']} >
- <if test="changewarn:|:$author['can_edit_warn']">
- <a href='{parse url="app=members&module=warn&section=warn&type=add&mid={$author['member_id']}&t={$this->request['t']}&st={$this->request['st']}" base="public"}' title='{$this->lang->words['warn_increase']}'><img src='{$this->settings['img_url']}/warn_add.gif' alt='{$this->lang->words['add']}' class='warn_edit up' /></a>
- </if>
- </p>
- <else />
- <if test="changewarn:|:$author['can_edit_warn']">
- <a href='{parse url="app=members&module=warn&section=warn&type=add&mid={$author['member_id']}&t={$this->request['t']}&st={$this->request['st']}" base="public"}' title='{$this->lang->words['warn_increase']}'><img src='{$this->settings['img_url']}/warn_add.gif' alt='{$this->lang->words['add']}' class='warn_edit up' /></a><a href='{parse url="app=members&module=warn&section=warn&type=minus&mid={$author['member_id']}&t=0&st=0" base="public"}' title='{$this->lang->words['warn_decrease']}'><img src='{$this->settings['img_url']}/warn_minus.gif' alt='{$this->lang->words['minus']}' class='warn_edit down' /></a>
- </if>
- <strong><a href='{parse url="app=members&module=warn&section=warn&do=view&mid={$author['member_id']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}' class='warn_link'>{$this->lang->words['warn_status']}</a></strong>
- <if test="highwarn:|:$author['warn_percent'] >= 80">
- <p class='progress_bar user_warn limit' title='{$this->lang->words['warn_level']} {$author['warn_percent']}%'>
- <else />
- <p class='progress_bar user_warn' title='{$this->lang->words['warn_level']} {$author['warn_percent']}%'>
- </if>
- <span style='width: {$author['warn_percent']}%'><span>{$this->lang->words['warn_level']} {$author['warn_percent']}%</span></span>
- </p>
- </if>
- </div>
- </if>