Advertisement
Sanctuary

uip

Sep 26th, 2015
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.94 KB | None | 0 0
  1. <div class="ig_userinfo" itemscope itemtype="http://schema.org/Person" class='user_details'>
  2. <span class='hide' itemprop="name">{$author['members_display_name']}</span>
  3.  
  4. <div class='ig_userinfo_bg'></div>
  5.  
  6. <div class="ig_userinfo_b1">
  7. <if test="avatar:|:$author['member_id']">
  8.  
  9. <if test="canSeeProfiles:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
  10. <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'>
  11. </if>
  12. <if test="hasVariable:|:$this->settings['member_topic_avatar_max']">
  13. <img itemprop="image" src='{$author['pp_main_photo']}' class='ipsUserPhoto ipsUserPhoto_variable' />
  14. <else />
  15. <img itemprop="image" src='{$author['pp_main_photo']}' class='ipsUserPhoto' />
  16. </if>
  17. <if test="canSeeProfiles2:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
  18. </a>
  19. </if>
  20.  
  21. <else />
  22.  
  23. <img itemprop="image" src='{$author['pp_thumb_photo']}' alt="{parse expression="sprintf($this->lang->words['users_photo'],$this->memberData['members_display_name'])"}" class='ipsUserPhoto ipsUserPhoto_large' />
  24.  
  25. </if>
  26. </div>
  27. <div class="uipResponsive">
  28. <ul>
  29. <li>
  30. <if test="canSeeProfiles:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
  31. <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']}">{$author['members_display_name_formatted']}</a>
  32. <else />
  33. {$author['members_display_name_formatted']}
  34. </if>
  35. <if test="$author['_online']">
  36. <span class="respOnline"><i class="fa fa-fw fa-circle"></i></span>
  37. <else />
  38. <span class="respOffline"><i class="fa fa-fw fa-circle"></i></span>
  39. </if>
  40. </li>
  41. <li>{$author['_group_formatted']}</li>
  42. <li>{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} Posts</li>
  43. </ul>
  44. </div>
  45. <div class="uipResponsive extraFields">
  46. <ul>
  47. <li>Reputation: {$author['pp_reputation_points']}</li>
  48. <li>Thanks: {$author['thanked']}</li>
  49. <li class="custom_field_icons">
  50. <if test="$author['field_12'] != """>
  51. <a title="iDevice:
  52. <if test="$author['field_12'] == 'i'">iPhone</if>
  53. <if test="$author['field_12'] == '3g'">iPhone 3G</if>
  54. <if test="$author['field_12'] == '3gs'">iPhone 3GS</if>
  55. <if test="$author['field_12'] == '4'">iPhone 4</if>
  56. <if test="$author['field_12'] == '4s'">iPhone 4S</if>
  57. <if test="$author['field_12'] == '5'">iPhone 5</if>
  58. <if test="$author['field_12'] == '5c'">iPhone 5C</if>
  59. <if test="$author['field_12'] == '5s'">iPhone 5S</if>
  60. <if test="$author['field_12'] == '6'">iPhone 6</if>
  61. <if test="$author['field_12'] == '6+'">iPhone 6 Plus</if>
  62. <if test="$author['field_12'] == '1g'">iPod Touch</if>
  63. <if test="$author['field_12'] == '2g'">iPod Touch 2G</if>
  64. <if test="$author['field_12'] == 'i3g'">iPod Touch 3G</if>
  65. <if test="$author['field_12'] == '4G'">iPod Touch 4G</if>
  66. <if test="$author['field_12'] == '5g'">iPod Touch 5G</if>
  67. <if test="$author['field_12'] == '6g'">iPod Touch 6G</if>
  68. <if test="$author['field_12'] == 'ipad'">iPad</if>
  69. <if test="$author['field_12'] == '2'">iPad 2</if>
  70. <if test="$author['field_12'] == '3'">iPad 3</if>
  71. <if test="$author['field_12'] == 'ipad4'">iPad 4</if>
  72. <if test="$author['field_12'] == 'pro'">iPad Pro</if>
  73. <if test="$author['field_12'] == 'air'">iPad Air</if>
  74. <if test="$author['field_12'] == 'air2'">iPad Air 2</if>
  75. <if test="$author['field_12'] == 'mini'">iPad Mini</if>
  76. <if test="$author['field_12'] == 'mini2'">iPad Mini Retina</if>
  77. <if test="$author['field_12'] == 'mini3'">iPad Mini 3</if>
  78. <if test="$author['field_12'] == 'mini3'">iPad Mini 4</if>
  79. " class="respTooltip pm_button ipsButton_secondary ipsType_smaller"><i class="fa fa-mobile fa-lgb"></i></a>
  80. <else />
  81. <a class="pm_button opac50 ipsButton_secondary ipsType_smaller"><i class="fa fa-mobile fa-lgb"></i></a>
  82. </if>
  83. <if test="$author['field_13'] != """>
  84. <a title="iOS Version: {$author['field_13']}" class="respTooltip pm_button ipsButton_secondary ipsType_smaller"><i class="fa fa-apple fa-lga"></i></a>
  85. <else />
  86. <a class="pm_button opac50 ipsButton_secondary ipsType_smaller"><i class="fa fa-apple fa-lga"></i></a>
  87. </if>
  88. <if test="$author['field_6'] != """>
  89. <a id='location' title="Location: {$author['field_6']}" class="respTooltip pm_button ipsButton_secondary ipsType_smaller"><i class="fa fa-globe fa-lga"></i></a>
  90. <else />
  91. <a id='location' class="pm_button opac50 ipsButton_secondary ipsType_smaller"><i class="fa fa-globe fa-lga"></i></a>
  92. </if>
  93.  
  94. </li>
  95. </ul>
  96. </div>
  97. <ul class="igribbon">
  98. <if test="memberData:|:$author['member_group_id'] == '4'">
  99. <li class="igribbon3" style="background: rgba(255, 77, 77, 1);">
  100. <div class="Rleft" style="background: rgba(240, 75, 75, 1);"></div>
  101. <div class="Rright" style="background: rgba(240, 75, 75, 1);"></div>
  102. {$author['_group_formatted']}
  103. </li>
  104. </if>
  105. <if test="memberData:|:$author['member_group_id'] == '7'">
  106. <li class="igribbon3" style="background: #33BBFF;">
  107. <div class="Rleft" style="background: rgb(13, 158, 231);"></div>
  108. <div class="Rright" style="background: rgb(13, 158, 231);"></div>
  109. {$author['_group_formatted']}
  110. </li>
  111. </if>
  112. <if test="memberData:|:$author['member_group_id'] == '9'">
  113. <li class="igribbon3" style="background: darkorange;">
  114. <div class="Rleft" style="background: rgb(224, 124, 2);"></div>
  115. <div class="Rright" style="background: rgb(224, 124, 2);"></div>
  116. {$author['_group_formatted']}
  117. </li>
  118. </if>
  119. <if test="memberData:|:$author['member_group_id'] == '8'">
  120. <li class="igribbon3" style="background: #830080;">
  121. <div class="Rleft" style="background: #350034;"></div>
  122. <div class="Rright" style="background: #350034;"></div>
  123. {$author['_group_formatted']}
  124. </li>
  125. </if>
  126. <if test="memberData:|:$author['member_group_id'] == '16'">
  127. <li class="igribbon3" style="background: #1F36DA;">
  128. <div class="Rleft" style="background: #0520E2;"></div>
  129. <div class="Rright" style="background: #0520E2;"></div>
  130. {$author['_group_formatted']}
  131. </li>
  132. </if>
  133. <if test="memberData:|:$author['member_group_id'] == '12'">
  134. <li class="igribbon3" style="background: #ffcc00;">
  135. <div class="Rleft" style="background: #D0B004;"></div>
  136. <div class="Rright" style="background: #D0B004;"></div>
  137. {$author['_group_formatted']}
  138. </li>
  139. </if>
  140. <if test="memberData:|:$author['member_group_id'] == '14'">
  141. <li class="igribbon3" style="background: #0402B5;">
  142. <div class="Rleft" style="background: #030191;"></div>
  143. <div class="Rright" style="background: #030191;"></div>
  144. {$author['_group_formatted']}
  145. </li>
  146. </if>
  147. <if test="memberData:|:$author['member_group_id'] == '6'">
  148. <li class="igribbon3" style="background: #21cece;">
  149. <div class="Rleft" style="background: #1D9090;"></div>
  150. <div class="Rright" style="background: #1D9090;"></div>
  151. {$author['_group_formatted']}
  152. </li>
  153. </if>
  154. <if test="memberData:|:$author['member_group_id'] == '11'">
  155. <li class="igribbon3" style="background: #00C81B;">
  156. <div class="Rleft" style="background: #008E13;"></div>
  157. <div class="Rright" style="background: #008E13;"></div>
  158. {$author['_group_formatted']}
  159. </li>
  160. </if>
  161. </ul>
  162. <ul class="igribbon">
  163. <li class="igribbon3">
  164. <div class="Rleft"></div>
  165. <div class="Rright"></div>
  166. {$author['member_title']}
  167. </li>
  168. </ul>
  169. <!-- Supp brah? What are you looking for? -->
  170. <div class="ig_userinfo_b3">
  171. <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']">
  172. <a id='pm_{$contentid}_{$author['member_id']}' href='{parse url="app=members&module=messaging&section=send&do=form&fromMemberID={$author['member_id']}" base="public"}' title='{$this->lang->words['pm_this_member']}' class="pm_button ipsButton_secondary ipsType_smaller tooltip"><i class='fa fa-envelope fa-lgc' alt='Send a message' style='width: 17px;'></i></a>
  173. </if>
  174.  
  175. <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']">
  176. <if test="isfriend:|:IPSMember::checkFriendStatus( $author['member_id'] )">
  177. <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']}' class="pm_button ipsButton_secondary ipsType_smaller tooltip"><i class='fa fa-user-times fa-lgc' alt='Remove as friend' style='width: 17px;'></i></a>
  178. <else />
  179. <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']}' class="pm_button ipsButton_secondary ipsType_smaller tooltip"><i class='fa fa-user-plus fa-lgc' alt='Add as friend' style='width: 17px;'></i></a>
  180. </if>
  181. </if>
  182. <if test="$author['field_12'] != """>
  183. <a title="iDevice:
  184. <if test="$author['field_12'] == 'i'">iPhone</if>
  185. <if test="$author['field_12'] == '3g'">iPhone 3G</if>
  186. <if test="$author['field_12'] == '3gs'">iPhone 3GS</if>
  187. <if test="$author['field_12'] == '4'">iPhone 4</if>
  188. <if test="$author['field_12'] == '4s'">iPhone 4S</if>
  189. <if test="$author['field_12'] == '5'">iPhone 5</if>
  190. <if test="$author['field_12'] == '5c'">iPhone 5C</if>
  191. <if test="$author['field_12'] == '5s'">iPhone 5S</if>
  192. <if test="$author['field_12'] == '6'">iPhone 6</if>
  193. <if test="$author['field_12'] == '6+'">iPhone 6 Plus</if>
  194. <if test="$author['field_12'] == '1g'">iPod Touch</if>
  195. <if test="$author['field_12'] == '2g'">iPod Touch 2G</if>
  196. <if test="$author['field_12'] == 'i3g'">iPod Touch 3G</if>
  197. <if test="$author['field_12'] == '4G'">iPod Touch 4G</if>
  198. <if test="$author['field_12'] == '5g'">iPod Touch 5G</if>
  199. <if test="$author['field_12'] == '6g'">iPod Touch 6G</if>
  200. <if test="$author['field_12'] == 'ipad'">iPad</if>
  201. <if test="$author['field_12'] == '2'">iPad 2</if>
  202. <if test="$author['field_12'] == '3'">iPad 3</if>
  203. <if test="$author['field_12'] == 'ipad4'">iPad 4</if>
  204. <if test="$author['field_12'] == 'pro'">iPad Pro</if>
  205. <if test="$author['field_12'] == 'air'">iPad Air</if>
  206. <if test="$author['field_12'] == 'air2'">iPad Air 2</if>
  207. <if test="$author['field_12'] == 'mini'">iPad Mini</if>
  208. <if test="$author['field_12'] == 'mini2'">iPad Mini Retina</if>
  209. <if test="$author['field_12'] == 'mini3'">iPad Mini 3</if>
  210. <if test="$author['field_12'] == 'mini3'">iPad Mini 4</if>
  211. " class="pm_button ipsButton_secondary ipsType_smaller tooltip"><i class="fa fa-mobile fa-lgb" style="width:17px;"></i></a>
  212. <else />
  213. <a class="pm_button opac50 ipsButton_secondary ipsType_smaller"><i class="fa fa-mobile fa-lgb" style="width:17px;"></i></a>
  214. </if>
  215.  
  216. <if test="$author['field_13'] != """>
  217. <a title="iOS Version: {$author['field_13']}" class="pm_button ipsButton_secondary ipsType_smaller tooltip"><i class="fa fa-apple fa-lga" style="width:16px"></i></a>
  218. <else />
  219. <a class="pm_button opac50 ipsButton_secondary ipsType_smaller"><i class="fa fa-apple fa-lga" style="width:16px"></i></a>
  220. </if>
  221.  
  222. <if test="$author['field_6'] != """>
  223. <a id='location' title="Location: {$author['field_6']}" class="pm_button ipsButton_secondary ipsType_smaller tooltip"><i class="fa fa-globe fa-lga"></i></a>
  224. <else />
  225. <a id='location' class="pm_button opac50 ipsButton_secondary ipsType_smaller"><i class="fa fa-globe fa-lga"></i></a>
  226. </if>
  227.  
  228.  
  229. </div>
  230.  
  231. <div id="reputation_progress" class="tooltip" title="{parse expression="$author['author_reputation']['text']"}">
  232. <if test="cardRep:|:$this->settings['reputation_enabled'] && $this->settings['reputation_show_profile']">
  233. <div class="rep_bar_full tooltip" title="{parse expression="$author['author_reputation']['text']"}"></div>
  234. <div id="rep_bar"
  235. <if test="$author['pp_reputation_points']==0">class="gray width10"</if>
  236.  
  237. <if test="$author['pp_reputation_points']>=1 && $author['pp_reputation_points']<=20">class="lightblue width20"</if>
  238. <if test="$author['pp_reputation_points']>20 && $author['pp_reputation_points']<=40">class="lightblue width40"</if>
  239. <if test="$author['pp_reputation_points']>40 && $author['pp_reputation_points']<=60">class="lightblue width60"</if>
  240. <if test="$author['pp_reputation_points']>60 && $author['pp_reputation_points']<=80">class="lightblue width80"</if>
  241. <if test="$author['pp_reputation_points']>80 && $author['pp_reputation_points']<=100">class="lightblue"</if>
  242.  
  243. <if test="$author['pp_reputation_points']>100 && $author['pp_reputation_points']<=150">class="blue width20"</if>
  244. <if test="$author['pp_reputation_points']>150 && $author['pp_reputation_points']<=200">class="blue width40"</if>
  245. <if test="$author['pp_reputation_points']>200 && $author['pp_reputation_points']<=250">class="blue width60"</if>
  246. <if test="$author['pp_reputation_points']>250 && $author['pp_reputation_points']<=280">class="blue width80"</if>
  247. <if test="$author['pp_reputation_points']>280 && $author['pp_reputation_points']<=300">class="blue"</if>
  248.  
  249. <if test="$author['pp_reputation_points']>300 && $author['pp_reputation_points']<=350">class="green width20"</if>
  250. <if test="$author['pp_reputation_points']>350 && $author['pp_reputation_points']<=400">class="green width40"</if>
  251. <if test="$author['pp_reputation_points']>400 && $author['pp_reputation_points']<=450">class="green width60"</if>
  252. <if test="$author['pp_reputation_points']>450 && $author['pp_reputation_points']<=480">class="green width80"</if>
  253. <if test="$author['pp_reputation_points']>480 && $author['pp_reputation_points']<=500">class="green"</if>
  254.  
  255. <if test="$author['pp_reputation_points']>500 && $author['pp_reputation_points']<=600">class="purple width20"</if>
  256. <if test="$author['pp_reputation_points']>600 && $author['pp_reputation_points']<=700">class="purple width40"</if>
  257. <if test="$author['pp_reputation_points']>700 && $author['pp_reputation_points']<=800">class="purple width60"</if>
  258. <if test="$author['pp_reputation_points']>800 && $author['pp_reputation_points']<=900">class="purple width80"</if>
  259. <if test="$author['pp_reputation_points']>900 && $author['pp_reputation_points']<=1000">class="purple"</if>
  260.  
  261. <if test="$author['pp_reputation_points']>1000 && $author['pp_reputation_points']<=1200">class="gold width20"</if>
  262. <if test="$author['pp_reputation_points']>1200 && $author['pp_reputation_points']<=1400">class="gold width40"</if>
  263. <if test="$author['pp_reputation_points']>1400 && $author['pp_reputation_points']<=1600">class="gold width60"</if>
  264. <if test="$author['pp_reputation_points']>1600 && $author['pp_reputation_points']<=1800">class="gold width80"</if>
  265. <if test="$author['pp_reputation_points']>1800 && $author['pp_reputation_points']<=2000">class="gold"</if>
  266.  
  267. <if test="$author['pp_reputation_points']>2000 && $author['pp_reputation_points']<=2400">class="orange width20"</if>
  268. <if test="$author['pp_reputation_points']>2400 && $author['pp_reputation_points']<=2800">class="orange width60"</if>
  269. <if test="$author['pp_reputation_points']>2800 && $author['pp_reputation_points']<=3800">class="orange width80"</if>
  270. <if test="$author['pp_reputation_points']>3800 && $author['pp_reputation_points']<=4000">class="orange"</if>
  271.  
  272. <if test="$author['pp_reputation_points']>4000 && $author['pp_reputation_points']<=4400">class="red width20"</if>
  273. <if test="$author['pp_reputation_points']>4400 && $author['pp_reputation_points']<=4800">class="red width40"</if>
  274. <if test="$author['pp_reputation_points']>4800 && $author['pp_reputation_points']<=5200">class="red width60"</if>
  275. <if test="$author['pp_reputation_points']>5200 && $author['pp_reputation_points']<=5900">class="red width80"</if>
  276. <if test="$author['pp_reputation_points']>5900 && $author['pp_reputation_points']<=6000">class="red"</if>
  277. <if test="$author['pp_reputation_points']>6000 && $author['pp_reputation_points']<=13000">class="red"</if>
  278.  
  279. ></div>
  280. <div class="rep_text">
  281.  
  282. <span class="rep_number"
  283. <if test="$author['pp_reputation_points']>40 && $author['pp_reputation_points']<=60">style="color:#fff;"</if>
  284. <if test="$author['pp_reputation_points']>60 && $author['pp_reputation_points']<=80">style="color:#fff;"</if>
  285. <if test="$author['pp_reputation_points']>80 && $author['pp_reputation_points']<=100">style="color:#fff;"</if>
  286. <if test="$author['pp_reputation_points']>200 && $author['pp_reputation_points']<=260">style="color:#fff;"</if>
  287. <if test="$author['pp_reputation_points']>260 && $author['pp_reputation_points']<=300">style="color:#fff;"</if>
  288. <if test="$author['pp_reputation_points']>380 && $author['pp_reputation_points']<=380">style="color:#fff;"</if>
  289. <if test="$author['pp_reputation_points']>400 && $author['pp_reputation_points']<=450">style="color:#fff;"</if>
  290. <if test="$author['pp_reputation_points']>450 && $author['pp_reputation_points']<=500">style="color:#fff;"</if>
  291. <if test="$author['pp_reputation_points']>700 && $author['pp_reputation_points']<=800">style="color:#fff;"</if>
  292. <if test="$author['pp_reputation_points']>800 && $author['pp_reputation_points']<=900">style="color:#fff;"</if>
  293. <if test="$author['pp_reputation_points']>900 && $author['pp_reputation_points']<=1000">style="color:#fff;"</if>
  294. <if test="$author['pp_reputation_points']>1400 && $author['pp_reputation_points']<=1600">style="color:#fff;"</if>
  295. <if test="$author['pp_reputation_points']>1600 && $author['pp_reputation_points']<=1800">style="color:#fff;"</if>
  296. <if test="$author['pp_reputation_points']>1800 && $author['pp_reputation_points']<=2000">style="color:#fff;"</if>
  297. <if test="$author['pp_reputation_points']>2400 && $author['pp_reputation_points']<=2600">style="color:#fff;"</if>
  298. <if test="$author['pp_reputation_points']>2600 && $author['pp_reputation_points']<=2800">style="color:#fff;"</if>
  299. <if test="$author['pp_reputation_points']>2800 && $author['pp_reputation_points']<=4000">style="color:#fff;"</if>
  300. <if test="$author['pp_reputation_points']>4800 && $author['pp_reputation_points']<=13000">style="color:#fff;"</if>
  301.  
  302. >{$author['pp_reputation_points']}</span>
  303. </if>
  304. </div>
  305. </div>
  306.  
  307. <if test="authorwarn:|:$author['show_warn']">
  308.  
  309. <if test="hasWarningId:|:$options['wl_id']">
  310. <i class='fa fa-exclamation-triangle tooltip' class='clickable' onclick='warningPopup( this, {$options['wl_id']} )' title='{$this->lang->words['warnings_issued']}' /></i>
  311. </if>
  312. <a class='desc lighter blend_links tooltip' href='{parse url="app=members&module=profile&section=warnings&member={$author['member_id']}&from_app={$this->request['app']}&from_id1={$contentid}&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>
  313.  
  314. </if>
  315.  
  316. <div class="ig_userinfo_b4">
  317. <if test="postCount:|:$author['member_id']">
  318. <div class="left ig_userinfo_b4_1">
  319. <div>
  320. <span class="ig_userinfo_b4_m">Posts</span>
  321. </div>
  322. <div style="padding-top: 5px;">
  323. <span style="font-size: 15px;">{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}</span>
  324. </div>
  325. </div>
  326. </if>
  327.  
  328. <if test="authorcfields:|:$author['custom_fields'] != """></if>
  329. </div>
  330. <if test="$author['_online']">
  331. <div class="postbitbox3_online"><span class="online">Online</span></div>
  332. <else />
  333. <div class="postbitbox3_offline"><span class="offline">Offline</span></div>
  334. </if>
  335.  
  336. </ul>
  337. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement