Advertisement
Guest User

userinfopane

a guest
Jul 30th, 2014
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.33 KB | None | 0 0
  1. <div itemscope itemtype="http://schema.org/Person" class='user_details'>
  2.     <span class='hide' itemprop="name">{$author['members_display_name']}</span>
  3.     <ul class='basic_info'>
  4.         <if test="avatar:|:$author['member_id']">
  5.             <li class='avatar'>
  6.                 <if test="canSeeProfiles:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
  7.                 <a itemprop="url" href="{parse url="showuser={$author['member_id']}" template="showuser" seotitle="{$author['members_seo_name']}" base="public"}" title="{$this->lang->words['view_profile']}: {$author['members_display_name']}" class='ipsUserPhotoLink'>
  8.                 </if>
  9.                 <if test="hasVariable:|:$this->settings['member_topic_avatar_max']">   
  10.                     <img itemprop="image" src='{$author['pp_main_photo']}' class='ipsUserPhoto ipsUserPhoto_variable' />
  11.                 <else />
  12.                     <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
  13.                 </if>
  14.                 <if test="canSeeProfiles2:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
  15.                 </a>
  16.                 </if>
  17.             </li>
  18.         <else />
  19.             <li class='avatar'>test
  20.                 <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
  21.             </li>
  22.         </if>
  23.         <if test="rankimage:|:$author['member_rank_img']">
  24.             <li class='group_icon'>
  25.             <if test="rankimageimage:|:$author['member_rank_img_i'] == 'img'">
  26.                 <img src='{$author['member_rank_img']}' alt='' />
  27.             <else />
  28.                 {$author['member_rank_img']}
  29.             </if>
  30.             </li>
  31.         </if>
  32.     </ul>
  33.    
  34.     <if test="authorcfields:|:$author['custom_fields'] != """>
  35.         <ul class='user_fields'>
  36.         <if test="authorwarn:|:$author['show_warn']">
  37.             <li>
  38.                 <if test="hasWarningId:|:$options['wl_id']">
  39.                     <img src='{$this->settings['img_url']}/warn.png' class='clickable' onclick='warningPopup( this, {$options['wl_id']} )' title='{$this->lang->words['warnings_issued']}' />
  40.                 </if>
  41.                 <a class='desc lighter blend_links' href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;member={$author['member_id']}&amp;from_app={$this->request['app']}&amp;from_id1={$contentid}&amp;from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( $this->lang->words['warn_status'], $author['warn_level'] )"}</a>
  42.             </li>
  43.         </if>
  44.                 <if test="postCount:|:$author['member_id']">
  45.                 <li>
  46.             <span class="ft">Posturi</span> <span class="fc">{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}</span>
  47.         </li>
  48.                 <li>
  49.             <span class="ft">Reputatie</span> <span class="fc">{parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</span>
  50.                 </li>
  51.                 </if>
  52.                 <li>
  53.             <span class="ft">Inregistrare</span> <span class="fc">{parse date="$author['joined']" format="DATE"}</span>
  54.         </li>
  55.             <foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
  56.                 <foreach loop="customFields:$author['custom_fields'][ $group ] as $field">
  57.                     <if test="$field != ''">
  58.                         <li>
  59.                             {$field}
  60.                         </li>
  61.                     </if>
  62.                 </foreach>
  63.             </foreach>
  64.         </ul>
  65.     </if>
  66.    
  67. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement