Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 21st, 2012  |  syntax: None  |  size: 7.16 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <ul class='user_details'>
  2.                 <if test="avatar:|:$author['member_id'] AND $author['avatar']">
  3.                         <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>
  4.                 <else />
  5.                         <li class='avatar'>{$author['avatar']}</li>
  6.                 </if>
  7.                 <if test="membertitle:|:$author['title']">
  8.                         <li class='title'>{$author['title']}</li>
  9.                 </if>
  10.                 <if test="rankimage:|:$author['member_rank_img']">
  11.                         <li class='group_icon'>
  12.                         <if test="rankimageimage:|:$author['member_rank_img_i'] == 'img'">
  13.                                 <img src='{$author['member_rank_img']}' alt='' />
  14.                         <else />
  15.                                 {$author['member_rank_img']}
  16.                         </if>
  17.                         </li>
  18.                 </if>
  19.         </ul>
  20.         <div style='margin: 0 auto;'>
  21.                 <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' ))">
  22.                         <ul class='user_controls clear'>
  23.                                 <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']">
  24.                                         <if test="isfriend:|:IPSMember::checkFriendStatus( $author['member_id'] )">
  25.                                                 <li class='mini_friend_toggle is_friend' id='friend_{$contentid}_{$author['member_id']}'><a href='{parse url="app=members&amp;module=profile&amp;section=friends&amp;do=remove&amp;member_id={$author['member_id']}&amp;secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['remove_friend']}'>{parse replacement="remove_friend"}</a></li>
  26.                                         <else />
  27.                                                 <li class='mini_friend_toggle is_not_friend' id='friend_{$contentid}_{$author['member_id']}'><a href='{parse url="app=members&amp;module=profile&amp;section=friends&amp;do=add&amp;member_id={$author['member_id']}&amp;secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['add_friend']}'>{parse replacement="add_friend"}</a></li>
  28.                                         </if>
  29.                                 </if>
  30.                                 <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']">
  31.                                         <li class='pm_button' id='pm_{$contentid}_{$author['member_id']}'><a href='{parse url="app=members&amp;module=messaging&amp;section=send&amp;do=form&amp;fromMemberID={$author['member_id']}" base="public"}' title='{$this->lang->words['pm_member']}'>{parse replacement="send_msg"}</a></li>
  32.                                 </if>
  33.                                 <if test="hasblog:|:$author['has_blog'] AND IPSLib::appIsInstalled( 'blog' )">
  34.                                         <li><a href='{parse url="app=blog&amp;show_members_blogs={$author['member_id']}" base="public"}' title='{$this->lang->words['view_blog']}'>{parse replacement="blog_link"}</a></li>
  35.                                 </if>
  36.                                 <if test="hasgallery:|:$author['has_gallery'] AND IPSLib::appIsInstalled( 'gallery' )">
  37.                                         <li><a href='{parse url="app=gallery&amp;module=user&amp;section=user&amp;user={$author['member_id']}" base="public"}' title='{$this->lang->words['view_gallery']}'>{parse replacement="gallery_link"}</a></li>
  38.                                 </if>
  39.                         </ul>
  40.                 </if>
  41.         </div>
  42.         <ul class='user_fields'>
  43.                 <li>
  44.                         <span class='ft'>{$this->lang->words['m_group']}</span>
  45.                         <span class='fc'>{$author['_group_formatted']}</span>
  46.                 </li>
  47.                 <if test="ismember:|:$author['member_id']">
  48.                         <li>
  49.                                 <span class='ft'>{$this->lang->words['m_posts']}</span>
  50.                                 <span class='fc'>{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}</span>
  51.                         </li>
  52.                         <li>
  53.                                 <span class='ft'>{$this->lang->words['m_joined']}</span>
  54.                                 <span class='fc'>{parse date="$author['joined']" format="joined"}</span>
  55.                         </li>
  56.                 </if>
  57.                 <if test="authorcfields:|:$author['custom_fields'] != """>
  58.                         <foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
  59.                                 <foreach loop="customFields:$author['custom_fields'][ $group ] as $field">
  60.                                         <if test="$field != ''">
  61.                                                 <li>
  62.                                                         {$field}
  63.                                                 </li>
  64.                                         </if>
  65.                                 </foreach>
  66.                         </foreach>
  67.                 </if>
  68.         </ul>
  69.         <if test="authorwarn:|:$author['warn_percent'] !== NULL">
  70.                 <br class='clear' />
  71.                 <div class='warn_panel clear rounded'>
  72.                         <if test="$this->settings['warn_show_rating']">
  73.                                 <strong><a href='{parse url="app=members&amp;module=warn&amp;section=warn&amp;do=view&amp;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>
  74.                                 <p class='rating_mode user_warn' title='{$this->lang->words['warn_level']} {$author['warn_percent']}%'>
  75.                                         <if test="changewarn:|:$author['can_edit_warn']">
  76.                                                 <a href='{parse url="app=members&amp;module=warn&amp;section=warn&amp;type=minus&amp;mid={$author['member_id']}&amp;t=0&amp;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>
  77.                                         </if>
  78.                                         &lt;&nbsp;{$this->settings['warn_min']} ( {$author['warn_level']} ) {$this->settings['warn_max']}&nbsp;&gt;
  79.                                         <if test="changewarn:|:$author['can_edit_warn']">
  80.                                                 <a href='{parse url="app=members&amp;module=warn&amp;section=warn&amp;type=add&amp;mid={$author['member_id']}&amp;t={$this->request['t']}&amp;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>
  81.                                         </if>
  82.                                 </p>
  83.                         <else />
  84.                                 <if test="changewarn:|:$author['can_edit_warn']">
  85.                                         <a href='{parse url="app=members&amp;module=warn&amp;section=warn&amp;type=add&amp;mid={$author['member_id']}&amp;t={$this->request['t']}&amp;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&amp;module=warn&amp;section=warn&amp;type=minus&amp;mid={$author['member_id']}&amp;t=0&amp;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>
  86.                                 </if>
  87.                                         <strong><a href='{parse url="app=members&amp;module=warn&amp;section=warn&amp;do=view&amp;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>
  88.                                 <if test="highwarn:|:$author['warn_percent'] >= 80">
  89.                                         <p class='progress_bar user_warn limit' title='{$this->lang->words['warn_level']} {$author['warn_percent']}%'>
  90.                                 <else />
  91.                                         <p class='progress_bar user_warn' title='{$this->lang->words['warn_level']} {$author['warn_percent']}%'>
  92.                                 </if>
  93.                                         <span style='width: {$author['warn_percent']}%'><span>{$this->lang->words['warn_level']} {$author['warn_percent']}%</span></span>
  94.                                 </p>
  95.                         </if>
  96.                 </div>
  97.         </if>