Guest User

Untitled

a guest
Jul 21st, 2015
246
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div id="ajax_loading" style="display: none;"><img alt="Carregando..." src="http://i69.servimg.com/u/f69/18/17/62/92/ajax_l10.gif"></div>
  2. <div id="document_modal" class="modal" style="display:none; width: 100%; height: 100%; position: fixed; top: 0px; left: 0px; z-index: 10000; opacity: 0.4; background-color: #3E3E3E;"></div>
  3. <div class="pun-crumbs">
  4. <br><span class="desc lighter"><a class="desc lighter" href="{U_INDEX}">{L_INDEX}</a> » Visualizando perfil: {PUSERNAME}</span><br></div>
  5. <!-- BEGIN switch_user_logged_in -->
  6. <div id="pun-visit" class="clearfix" style="display: none"><p>{LOGGED_AS}. {LAST_VISIT_DATE}</p></div>
  7. <!-- END switch_user_logged_in -->
  8. <!-- BEGIN switch_user_logged_out -->
  9. <!-- Backup
  10. <div id="pun-visit"><p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p></div>
  11. -->
  12. <!-- END switch_user_logged_out -->
  13. <!-- BEGIN switch_user_logged_in -->
  14. <ul class="topic_buttons">
  15. <li class="editPerfil" style="display: none"><a href="/profile?mode=editprofile">Editar meu perfil</a></li>
  16. <li class="editMember" style="display: none"><a href="">Editar membro</a></li>
  17. <li class="FlagSpam" style="display: none"><a href="javascript:void(0);" onclick="show_popup('ban_member_popup');">Banir membro</a></li>
  18. </ul>
  19. <!-- END switch_user_logged_in -->
  20. <div id="profile_background" class="ipsBox clear2 vcard"><div class="ipsVerticalTabbed ipsLayout ipsLayout_withleft ipsLayout_smallleft clearfix"><div id="user_status" style="display: none">{USER_ONLINE}</div><div id="profile_tabs" class="ipsVerticalTabbed_tabs ipsLayout_left"><p class="short photo_holder"><a title="Atualizar a foto atual" class="ipsType_smaller ipsPad" id="change_photo" style="display: none" href="javascript:void(0);" onclick="show_popup('photo_popup_popup')">Alterar</a>
  21. {AVATAR_IMG}
  22. </p>
  23. <div class="warn_panel clear2 ipsType_small"><strong><a title="Visualizar histório de Alerta" id="warn_link" href="javascript:void(0);">Alerta</a></strong></div>
  24. <ul class="clear2">
  25. <li data-tabid="user_info" class="tab_toggle" id="tab_link_core_info"><a href="#pane_core_info">Visão Geral</a></li>
  26. <li data-tabid="status" class="tab_toggle" id="tab_link_members_status" onclick="readPerfilMessages();"><a title="Visualizar Atualizações Recentes de Status" href="#pane_members_status">Atualizações Recentes de Status</a></li>
  27. <li data-tabid="reputation" class="tab_toggle" id="tab_link_members_reputation"><a title="Visualizar Reputação" href="#pane_members_reputation">Reputação</a></li>
  28. <li data-tabid="friends" class=" tab_toggle" id="tab_link_members:friends"><a title="Visualizar Amigos" href="#pane_members_friends">Amigos</a></li>
  29. <li data-tabid="topics" class="tab_toggle" id="tab_link_forums_topics"><a title="Visualizar Tópicos" href="#pane_forums_topics">Tópicos</a></li>
  30. <li data-tabid="posts" class="tab_toggle" id="tab_link_forums_posts"><a title="Visualizar Posts" href="#pane_forums_posts">Posts</a></li>
  31. <li data-tabid="shoutbox" class="tab_toggle" id="tab_link_shoutbox_shoutbox"><a title="Visualizar My Shouts" href="#pane_forums_shouts">My Shouts</a></li>
  32. </ul></div>
  33. <div id="profile_content" class="ipsVerticalTabbed_content ipsLayout_content ipsBox_container" style="min-height: 461px;">
  34. <div class="ipsPad"><div id="profile_content_main"><div id="user_info_cell"><h1 class="ipsType_pagetitle"><span class="fn nickname">{USERNAME}</span></h1>
  35. Cadastrado: <span class="joined_in"></span><br>
  36. <span id="user_suspended" class="ipsBadge ipsBadge_red" style="display: none; margin-right: 4px;">Postagem desativada</span>
  37. <span id="user_banned" class="ipsBadge ipsBadge_red" style="display: none; margin-right: 4px;">Banido</span>
  38. <span id="user_connected" data-tooltip="" class="ipsBadge ipsBadge_green reset_cursor"></span>
  39. <span class="desc lighter"> Última atividade: {LAST_VISIT_TIME}</span><!--<span id="last_activity"></span></span>--></div>
  40. <div id="user_status_cell" style="display: none"><div id="user_latest_status">
  41. <div>
  42. <span id="uneditable" class="user_comments" style="display: block"></span>
  43. <span id="editable" class="user_comments" style="display: none"></span>
  44. <br>
  45. <!--<textarea id="profile_field_2_-20" class="inputbox" name="profile_field_2_-20" cols="60" rows="7"></textarea>-->
  46. <span class="ipsType_smaller desc lighter blend_links" style="display: block"><a href="javascript:void(0);" onclick="editableField()">{L_UPDATE}</a></span></div></div></div>
  47. <span style="margin-bottom: 10px" class="rating left clear2">
  48. <a title="Neutro" id="user_rate_1" href="javascript:void(0);"><img class="rate_img" alt="-" src="http://i69.servimg.com/u/f69/16/62/61/50/star_o10.png"></a>
  49. <a title="Regular" id="user_rate_2" href="javascript:void(0);"><img class="rate_img" alt="-" src="http://i69.servimg.com/u/f69/16/62/61/50/star_o10.png"></a>
  50. <a title="Bom" id="user_rate_3" href="javascript:void(0);"><img class="rate_img" alt="-" src="http://i69.servimg.com/u/f69/16/62/61/50/star_o10.png"></a>
  51. <a title="Ótimo" id="user_rate_4" href="javascript:void(0);"><img class="rate_img" alt="-" src="http://i69.servimg.com/u/f69/16/62/61/50/star_o10.png"></a>
  52. <a title="Excelente" id="user_rate_5" href="javascript:void(0);"><img class="rate_img" alt="-" src="http://i69.servimg.com/u/f69/16/62/61/50/star_o10.png"></a>
  53. <span class="desc" id="rating_text"></span></span>
  54. <ul id="user_utility_links" class="ipsList_inline">
  55. <li class="ipsButton_secondary" id="add_friend" style="display: none"><a title="Adicionar como Amigo" href="/profile?friend={PUSERNAME}&mode=editprofile&page_profil=friendsfoes"><img alt="Adicionar como Amigo" src="http://i69.servimg.com/u/f69/16/62/61/50/user_d10.png">&nbsp;&nbsp; Adicionar como amigo</a></li>
  56. <li class="ipsButton_secondary" id="remove_friend" style="display: none"><a title="Remover Amigo" href="/profile?foe={PUSERNAME}&mode=editprofile&page_profil=friendsfoes"><img alt="Remover Amigo" src="http://i69.servimg.com/u/f69/16/62/61/50/user_d10.png">&nbsp;&nbsp; Remover amigo</a></li>
  57. <li class="ipsButton_secondary" id="pm_button" style="display: none"><a title="Enviar MP" href="#"><img alt="Enviar MP" src="http://i69.servimg.com/u/f69/16/62/61/50/email_10.png">&nbsp;&nbsp; Enviar MP</a></li>
  58. <li><a class="ipsButton_secondary" href="/st/{PUSERNAME}"><img alt="Localizar Tópicos" src="http://i69.servimg.com/u/f69/16/62/61/50/page_t10.png">&nbsp;&nbsp; Meu Conteúdo</a></li></ul></div>
  59. <div class="clearfix" id="profile_panes_wrap" style="height: auto;">
  60. <div class="ipsLayout ipsLayout_withright ipsLayout_largeright clearfix tab_link_pane" id="pane_core_info">
  61. <div class="ipsLayout_content">
  62. <div class="general_box clearfix" id="user_humor_id" style="display: none">
  63. <h3>Quem sou eu</h3>
  64. <div class="ipsPad"><span class="user_humor"></span><br></div></div>
  65. <hr><div class="general_box clearfix">
  66. <h3>Estatísticas</h3>
  67. <br>
  68. <ul class="ipsList_data clearfix">
  69. <li class="clear2 clearfix"><span class="row_title">Grupo:</span><span class="row_data"><span style="color:red">{POSTER_RANK}</span></span><!--<span id="poster_rank" class="row_data"></span>--></li>
  70. <li class="clear2 clearfix"><span class="row_title">Posts:</span><span id="amount_posts" class="row_data"></span></li>
  71. <li class="clear2 clearfix" style="display: none;"><span class="row_title">Visualizações:</span><span class="row_data"></span></li>
  72. <li class="clear2 clearfix" style="display: none;"><span class="row_title">Título:</span><span class="row_data"></span></li>
  73. <!-- BEGIN profile_field -->
  74. <li class="clear2 clearfix" id="field_id{profile_field.ID}"><span class="row_title">{profile_field.LABEL}</span><span class="row_data">{profile_field.CONTENT}</span></li>
  75. <!-- END profile_field -->
  76. <li class="clear2 clearfix"><span class="row_title">Última visita:</span><span class="row_data">{LAST_VISIT_TIME}</span><!--<span class="row_data"><span id="last_visit_time"></span></span>--></li>
  77. </ul><br></div>
  78. <div class="general_box clearfix" id="contact_field">
  79. <h3>Contato</h3>
  80. <br>
  81. <ul class="ipsList_data clearfix">
  82. <!-- BEGIN contact_field -->
  83. <li class="clear2 clearfix"><span class="row_title">{contact_field.LABEL}</span><span class="row_data">{contact_field.CONTENT}</span></li>
  84. <!-- END contact_field -->
  85. <!-- Backup
  86. <li id="cnt_email" class="clear2 clearfix"><span class="row_title">E-mail:</span><span class="row_data"><a href=""></a></span></li>
  87. <li id="cnt_msn"><span class="row_title">MSN</span><span class="row_data"><img alt="MSN" src="http://i69.servimg.com/u/f69/16/62/61/50/profil10.gif">&nbsp;<a href="" class="url"></a></span></li>
  88. <li id="cnt_skype"><span class="row_title">Skype</span><span class="row_data"><img alt="Skype" src="http://i78.servimg.com/u/f78/18/17/62/92/profil10.gif">&nbsp;<a href="" class="url"></a></span></li>
  89. -->
  90. </ul></div></div>
  91. <div class="ipsLayout_right">
  92. <div data-tooltip="{PUSERNAME}" class="reputation zero" id="reputation_panel">
  93. <span class="number"></span>
  94. <span class="title"></span></div><br>
  95. <div class="general_box clearfix">
  96. <h3>Ferramentas do Usuário</h3>
  97. <ul class="ipsPad">
  98. <li><a rel="nofollow" id="st_pusername" href="/st/{PUSERNAME}"><img alt="- " src="http://i69.servimg.com/u/f69/16/62/61/50/page_t10.png">&nbsp;&nbsp; Procurar por mensagens</a></li>
  99. <li><a rel="nofollow" id="sta_pusername" href="/sta/{PUSERNAME}"><img alt="- " src="http://i69.servimg.com/u/f69/16/62/61/50/topics10.png">&nbsp;&nbsp; Visualizar somente os tópicos</a></li>
  100. <li><a rel="nofollow" id="spa_pusername" href="/spa/{PUSERNAME}"><img alt="- " src="http://i69.servimg.com/u/f69/16/62/61/50/t_unre10.png">&nbsp;&nbsp; Visualizar somente os posts</a></li>
  101. <!-- BEGIN switch_auth_user -->
  102. <li id="administrative" style="display: ;"><span class="row_title"><br>{L_ADMINISTRATE_USER}: </span>
  103. <span class="row_data"><strong><span id="admin_user">{ADMINISTRATE_USER}</span><span id="ban_user">{BAN_USER}</span></strong></span></li>
  104. <!-- END switch_auth_user -->
  105. <!-- BEGIN switch_admin_user_comment_active -->
  106. <form action="{S_PROFILE_ACTION}" method="post" name="post">
  107. <dl>
  108. <dt>{L_COMMENTS} :<br /><span class="italic">{L_MODS_AND_ADMINS}</span></dt>
  109. <dd><textarea name="admin_user_comment_text" rows="8" cols="30">{ADMIN_USER_COMMENT}</textarea></dd>
  110. </dl>
  111. <dl class="frm-buttons clearfix">
  112. <dt>&nbsp;</dt>
  113. <dd><input type="hidden" value="update_admin_user_comment" name="mode" />
  114. <input type="hidden" value="{USER_ID}" name="userid" />
  115. <input type="submit" name="user_comment_maj" value="{L_UPDATE}" /></dd>
  116. </dl>
  117. </form>
  118. <!-- END switch_admin_user_comment_active -->
  119. </ul></div>
  120. <div id="friends_overview" class="general_box clearfix">
  121. <h3>{L_FRIENDS_AND_FOES}</h3>
  122. <ul class="ipsPad">
  123. <!-- BEGIN switch_allow_friendsfoes -->
  124. <li id="friends_foes">{FRIENDSFOES}</li>
  125. <!-- END switch_allow_friendsfoes -->
  126. </ul></div>
  127. <div class="general_box clearfix">
  128. <h3>Últimos visitantes</h3>
  129. <ul class="ipsList_withminiphoto ipsPad">
  130. <li class="clearfix">
  131. <!--
  132. <a class="ipsUserPhotoLink left" title="Visualizar Perfil" href="javascript:void(0);"><img class="ipsUserPhoto ipsUserPhoto_mini" alt="Foto" src="#"></a>
  133. -->
  134. <div class="list_content">
  135. <br>
  136. <span class="desc lighter">ítem em fase de implementação!</span></div></li></ul></div></div></div>
  137. <!-- #region tabStatus -->
  138. <div class="tab_link_pane" id="pane_members_status" style="display: none;">
  139. <div class="main ipsLayout_content">
  140. <div class="main-head" style="margin-top: -10px ! important;">
  141. <h1 class="page-title">Atualizações Recentes de Status</h1>
  142. </div>
  143. <div id="pane_members_status" style="height: auto; left: 10px; position: static; top: 132px; width: auto;">
  144. <div class="status_update" style="height: 31px;"></div>
  145. <div class="ipsBox clearfix">
  146. <div id="status_wrapper">
  147. <p id="noStatusUpdates" class="ipsBox_container ipsPad">Não há atualizações de status para mostrar</p>
  148. </div></div>
  149. <iframe name="iPerfmsg" height="0px" width="0px" frameborder="0"></iframe>
  150. </div></div></div>
  151. <!-- #endregion tabStatus -->
  152. <!-- #region tabReputation -->
  153. <div class="tab_link_pane" id="pane_members_reputation" style="display: none;">
  154. <div class="ipsLayout_content">
  155. <div class="main paged" style="margin-top: -15px;">
  156. <div class="no_messages" style="margin-top: 15px;">Ítem em fase de implementação!</div>
  157. </div></div></div>
  158. <!-- Backup
  159. <div class="tab_link_pane" id="pane_members_reputation" style="display: none;">
  160. <div class="general_box">
  161. <div class="maintitle ipsFilterbar clearfix">
  162. <ul class="ipsList_inline ipsType_smaller left">
  163. <li class="active">
  164. <a href="javascript:void(0);">Fórum</a>
  165. </li>
  166. <li>
  167. <a href="javascript:void(0);">Calendar</a>
  168. </li>
  169. </ul>
  170. <ul class="ipsList_inline ipsType_smaller right">
  171. <li class="active">
  172. <a href="javascript:void(0);">Recebida</a>
  173. </li>
  174. </ul>
  175. </div>
  176. <div class="no_messages">Não há conteúdo para visualizar.</div>
  177. </div>
  178. </div>
  179. -->
  180. <!-- #endregion tabReputation -->
  181. <!-- #region tabFriends -->
  182. <div class="tab_link_pane" id="pane_members_friends" style="display: none;">
  183. <div class="general_box">
  184. <div id="friend_list" class="friend_list clear">
  185. <h3 class="bar">{L_FRIENDS_AND_FOES}</h3>
  186. <ul class="ipsPad">
  187. <!-- BEGIN switch_allow_friendsfoes -->
  188. <li id="friends_foes">{FRIENDSFOES}</li>
  189. <!-- END switch_allow_friendsfoes -->
  190. </ul></div><br></div></div>
  191. <!-- #endregion tabFriends -->
  192. <!-- #region tabTopics -->
  193. <div class="tab_link_pane" id="pane_forums_topics" style="display: none;"><div class="ipsLayout_content"><div class="main paged" style="margin-top: -15px;"></div></div></div>
  194. <!-- #endregion tabTopics -->
  195. <!-- #region tabPosts -->
  196. <div class="tab_link_pane" id="pane_forums_posts" style="display: none;"><div class="ipsLayout_content"><div class="main paged" style="margin-top: -15px;"></div></div></div>
  197. <!-- #endregion tabPosts -->
  198. <!-- #region tabShouts -->
  199. <div class="tab_link_pane" id="pane_forums_shouts" style="display: none;"><div class="ipsLayout_content"><div class="main paged" style="margin-top: -15px;"></div></div></div>
  200. <!-- #endregion tabShouts -->
  201. </div></div></div></div></div>
  202. <div class="pun-crumbs"><br><span class="desc lighter"><a class="desc lighter" href="{U_INDEX}">{L_INDEX}</a> » Visualizando perfil: {PUSERNAME}</span></div>
  203. <div id="photo_popup_popup" style="display:none; z-index: 10001; top: 14px; left: 22%; position: fixed;" class="popupWrapper">
  204. <div id="photo_popup_inner" class="popupInner" style="width: 750px;">
  205. <!--<form name="photoEditorForm" id="photoEditorForm" action="" enctype="multipart/form-data" method="post">-->
  206. <form id="ucp" class="frm-form" name="post" method="post" enctype="multipart/form-data" action="/profile">
  207. <h3 style="padding: 8px 10px 9px; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px;">Editor de Foto</h3>
  208. <div class="ipsBox">
  209. <div class="fixed_inner"><!-- style="height: 500px; max-height: 500px; overflow: auto;">-->
  210. <fieldset class="fixed_inner ipsBox_container" id="ips_photoWrap">
  211. <div id="ips_sidePanel">
  212. <div id="ips_currentPhoto">{AVATAR_IMG}<!--<img width="120" height="120" class="ipsUserPhoto" src="">--></div>
  213. <div style="display:none" id="ips_cropperControls"><a class="ipsButton_secondary desc cropperCancel" href="javascript:void(0);">Cancelar</a> <a class="ipsButton_secondary desc cropperAccept" href="javascript:void(0);">Ok</a></div>
  214. <div style=";" id="ips_cropperStart"><a class="ipsButton_secondary desc cropperStart" href="javascript:void(0);">Ajustar Corte</a></div></div>
  215. <div id="ips_photoOptions">
  216. <ul><li class="ips_option row2"><div class="iframe_photo_popup"></div></li>
  217. <!-- Backups
  218. <li class="ipsPad_half clearfix right">
  219. <input type="button" class="ipsButton important ips_photoRemove" value="Excluir Foto" name="avatardel">
  220. <input class="ipsButton ips_photoSubmi" type="submit" value="Concluir" name="submit">
  221. </li>
  222. -->
  223. </ul></div>
  224. <iframe id="iframe_photo_popup" height="0" width="0" frameBorder="0" style="display: none;" src="/profile?mode=editprofile&page_profil=avatars">Your browser does not support IFRAMEs</iframe>
  225. </fieldset></div></div></form></div>
  226. <div id="sign_in_popup_close" class="popupClose clickable"><img alt="x" src="http://i69.servimg.com/u/f69/16/62/61/50/close_10.png" onclick="show_popup('photo_popup_popup');"></div></div>
  227. <!-- #region sign_in_popup -->
  228. <div id="ban_member_popup" style="display: none; position: fixed; top: 9%; left: 27%; z-index: 10001" class="popupWrapper">
  229. <div id="ban_member_popup_inner" class="popupInner" style="width: 600px; max-height: 641px;">
  230. <div style="" id="inline_ban_form">
  231. <form id="confirm_ban" method="post" target="iBanMember" action="/modcp?tid={TID}">
  232. <h3>Confirmar - Banir membro</h3>
  233. <div class="ipsBox_notice ipsForm_center">Determine o período e o motivo para suspender o membro!</div>
  234. <div class="ipsForm ipsForm_horizontal"><fieldset><ul>
  235. <li class="ipsField ipsField_primary"><label class="ipsField_title" for="ban_user_date">Por um período de:</label><div class="ipsField_content"><input type="text" tabindex="0" size="10" name="ban_user_date" class="input_text" id="ips_bandate"><span> dias decorridos.</span></div></li>
  236. <li class="ipsField ipsField_primary"><label class="ipsField_title" for="ban_user_reason">Pelo seguinte motivo:</label><div class="ipsField_content"><input type="text" tabindex="1" size="40" name="ban_user_reason" class="input_text" id="ips_banreason"><br></div></li>
  237. <li class="ipsField ipsField_checkbox"><span class="desc lighter">Os campos acima são opcionais!</span></li></ul></fieldset>
  238. <div class="ipsForm_submit ipsForm_center">
  239. <input type="hidden" value="{TID}" name="tid">
  240. <input type="hidden" value="ban" name="mode">
  241. <input type="hidden" value="{CUR_USER_ID}" name="user_id">
  242. <input type="submit" tabindex="2" class="login-submit ipsButton important" name="confirm" value="Confirmar"/>&nbsp;
  243. <input type="button" tabindex="3" class="login-submit ipsButton" name="cancel" onclick="show_popup('ban_member_popup');" value="Cancelar"/>
  244. </div></div></form></div></div>
  245. <div id="ban_member_popup_close" class="popupClose clickable"><img alt="x" src="http://i69.servimg.com/u/f69/16/62/61/50/close_10.png" onclick="show_popup('ban_member_popup');"></div><iframe name="iBanMember" height="0px" width="0px" frameborder="0"></iframe></div>
  246. <style type="text/css">
  247. ol,ul{list-style:none outside none;}.popupWrapper{background-color:rgba(70,70,70,0.6);padding:4px;}.popupInner{background:none repeat scroll 0 0 #FFF;width:500px;}.popupInner h3{background-color:#2C5687;background:url(http://i78.servimg.com/u/f78/18/17/62/92/mainti10.png) repeat-x scroll center top #2C5687;border-color:#316897;border-style:solid;border-width:1px 1px 0;color:#FFF;font-size:16px;font-weight:300;padding:8px 10px 9px!important;}.ipsForm_horizontal .ipsField{margin-bottom:15px;}.ipsForm_horizontal .ipsField_content,.ipsForm_horizontal .ipsField_submit{margin-left:200px;}.ipsForm_horizontal .ipsField_title{float:left;line-height:1.8;padding-right:15px;text-align:right;width:185px;}.ipsField .ipsField_title{font-size:15px;font-weight:700;}.ipsField_primary input{font-size:18px;}.input_text,.ipsTagBox_wrapper{background:none repeat scroll 0 0 #FFF;border-color:#848484 #C1C1C1 #E1E1E1;border-style:solid;border-width:1px;padding:4px;}.input_text:focus{border-color:#4E4E4E #7C7C7C #A3A3A3;}input.inactive,select.inactive,textarea.inactive{color:#C4C4C4;}.ipsForm_horizontal .ipsField_checkbox{margin:0 0 5px 200px;}.ipsForm .ipsField_checkbox input{float:left;margin-top:3px;}.ipsForm .ipsField_checkbox .ipsField_content{margin-left:25px;}.desc.lighter,.desc.lighter.blend_links a{color:#A4A4A4;}.ipsForm_center{text-align:center;}.desc,.desc.blend_links a,p.posted_info{color:#777;font-size:12px;}.ipsPad_top{padding-top:9px;}.ipsType_smaller,.ipsType_smaller a{font-size:11px!important;}.ipsForm_submit{background-color:#CCC;background:0 repeat-x scroll 0 0 transparent!important;border-top:1px solid #CCC;margin-top:25px;padding:5px 10px;}.popupClose{position:absolute;right:16px;top:12px;}.clickable{cursor:pointer;}.topic_buttons li.important a,.topic_buttons li.important span,.ipsButton .important,.topic_buttons li a,.topic_buttons li span,.ipsButton{background:url(http://i78.servimg.com/u/f78/18/17/62/92/topic_11.png) repeat-x scroll center top #212121;border-color:#212121;border-style:solid;border-width:1px 1px 0;color:#FFF!important;cursor:pointer;display:inline-block;font:300 12px/30px Helvetica,Arial,sans-serif;height:30px;min-width:125px;padding:0 10px;text-align:center;}.topic_buttons li.important a,.topic_buttons li.important span,.ipsButton .important,.ipsButton.important{background:url(http://i78.servimg.com/u/f78/18/17/62/92/topic_10.png) repeat-x scroll center top #812200;border-color:#812200;}.ipsButton_secondary{background-color:#DBDBDB;background:0 repeat-x scroll 0 0 transparent!important;border:1px solid #DBDBDB;color:#616161;display:inline-block;font-size:12px;height:22px;line-height:22px;padding:0 10px;white-space:nowrap;}.ipsBox_notice{line-height:1.6;margin-bottom:10px;padding:10px;}.ipsBox_notice,.ipsBox_highlight{background:none repeat scroll 0 0 #F4FCFF;border-bottom:1px solid #CAE9F5;}
  248. .ipsTooltip{padding:5px;z-index:25000;}.ipsTooltip_inner{background:none repeat scroll 0 0 #333;border:1px solid #333;color:#FFF;font-size:12px;max-width:250px;padding:8px;text-align:center;}.ipsTooltip_inner a{color:#FFF;}.ipsTooltip_inner span{color:#D2D2D2;font-size:11px;}.ipsTooltip.top{background:url(http://i78.servimg.com/u/f78/18/17/62/92/toolti10.png) no-repeat scroll center bottom transparent;}.ipsTooltip.top_left{background-position:left bottom;}.ipsTooltip.bottom{background:url(http://i78.servimg.com/u/f78/18/17/62/92/toolti11.png) no-repeat scroll center top transparent;}.ipsTooltip.left{background:url(http://i78.servimg.com/u/f78/18/17/62/92/toolti12.png) no-repeat scroll right center transparent;}.ipsTooltip.right{background:url(http://i78.servimg.com/u/f78/18/17/62/92/toolti13.png) no-repeat scroll left center transparent;}#ajax_loading{background:0 repeat scroll 0 0 transparent;border:1px solid #7BA60D;color:#FFF;left:46%;padding:5px 0 8px;position:fixed;text-align:center;top:0;width:8%;z-index:10000;}.status_update{background:none repeat scroll 0 0 #71A5C9;color:#FFF;padding:15px 12px;}.status_update .input_text{padding:6px 4px;width:70%;}.input_text,.ipsTagBox_wrapper{background:none repeat scroll 0 0 #FFF;border-color:#848484 #C1C1C1 #E1E1E1;border-style:solid;border-width:1px;padding:4px;}#status_wrapper .ipsBox_container{margin-bottom:9px;}/* #region ----- Photo editor styles ----- *//* New photo stuffs */#ips_photoWrap{width:700px;border:1px solid #D5DDE5;margin:0 auto;padding:6px;}#ips_sidePanel{float:left;width:200px;}#ips_cropperStart,#ips_cropperControls{text-align:right;width:200px;margin-top:8px;}#ips_currentPhoto{text-align:center;}#ips_currentPhoto img{border:1px solid #D5DDE5;background:#FFF;max-width:200px;height:auto;}#gravatar,#upload_photo{width:150px;}#ips_photoOptions{margin-left:210px;}li.ips_option{border:1px solid #D5DDE5;min-height:120px;margin-bottom:5px;}.ips_photoPreview{width:100px;height:100px;display:block;overflow:hidden;margin:6px;float:left;border:1px solid #D5DDE5;}.ips_photoPreview label{text-align:center;background:#FFF;}.ips_photoPreview label img{max-width:120px;max-height:120px;}.ips_photoControls{padding-top:10px;margin-left:120px;}.ips_photoOptionText{margin-left:18px;line-height:130%;padding-bottom:3px;}.imgCrop_wrap{display:inline-block;}.row2,.post_block.row2{background-color:#F1F6F9;}/* #region ----- profile_background ----- */#change_photo{background:none repeat scroll 0 0 rgba(0,0,0,0.2);color:#FFF;left:0;position:absolute;top:0;}.photo_holder:hover #change_photo{background:none repeat scroll 0 0 #000;}.no_messages{background-color:#F6F8FA;color:#1C2837;padding:15px 10px;}.clear2{clear:both;}.ipsBox,.ipsPad{padding:9px;}.ipsBox{background:none repeat scroll 0 0 #EBF0F3;}.clearfix:after{clear:both;content:".";display:block;height:0;visibility:hidden;}.ipsLayout_smallleft.ipsLayout_withleft{padding-left:150px;}.ipsLayout_smallleft.ipsLayout .ipsLayout_left{margin-left:-150px;width:140px;}.ipsLayout .ipsLayout_left{float:left;margin-left:-210px;width:200px;}.ipsLayout_content,.ipsLayout .ipsLayout_left,.ipsLayout_right{position:relative;}.photo_holder{position:relative;}.short{text-align:center;}#profile_photo{max-height:138px;max-width:138px;}.ipsUserPhoto{background:none repeat scroll 0 0 #FFF;border:1px solid #D5D5D5;padding:1px;}.warn_panel{margin:8px 0;text-align:center;}.ipsType_small{font-size:12px;}.ipsVerticalTabbed_tabs > ul{border-left:1px solid #DBE4EF;border-top:1px solid #DBE4EF;margin-top:10px;width:149px!important;}.ipsVerticalTabbed_tabs li{background:none repeat scroll 0 0 #F6F8FB;border-bottom:1px solid #DBE4EF;color:gray;font-size:13px;}.ipsVerticalTabbed_tabs li.active a{background:none repeat scroll 0 0 #FFF;border-right:1px solid #FFF;color:#353535;font-weight:700;position:relative;width:135px;z-index:8000;}.ipsVerticalTabbed_tabs li a{color:#8D8D8D;display:block;outline:0 none;padding:10px 8px;}.ipsVerticalTabbed_tabs li a:hover{background:none repeat scroll 0 0 #EAEFF5;color:gray;}.ipsVerticalTabbed_content{min-height:400px;}.ipsLayout_content{float:left;width:100%;}.ipsBox_container{background:none repeat scroll 0 0 #FFF;border:1px solid #DBE4EF;}#profile_content_main{line-height:1.3;margin-bottom:20px;min-height:75px;}#user_info_cell{display:table-cell;padding-right:15px;white-space:nowrap;}.ipsType_pagetitle,.ipsType_subtitle{color:#323232;font:300 26px/1.3 Helvetica,Arial,sans-serif;}.reset_cursor{cursor:default;}.ipsBadge{color:#FFF;display:inline-block;font-size:9px;font-weight:700;height:15px;line-height:15px;padding:0 5px;text-transform:uppercase;vertical-align:middle;}.ipsBadge_lightgrey{background:none repeat scroll 0 0 #B3B3B3;}.ipsBadge_green{background:none repeat scroll 0 0 #7BA60D;}.ipsBadge_red{background:none repeat scroll 0 0 #BF1D00;}.desc.lighter,.desc.lighter.blend_links a{color:#A4A4A4;}.desc,.desc.blend_links a,p.posted_info{color:#777;font-size:12px;}#user_status_cell{display:table-cell;vertical-align:top;width:100%;}#user_latest_status{background:url(http://i78.servimg.com/u/f78/18/17/62/92/profil10.png) no-repeat scroll 0 50% transparent;padding-left:11px;}#user_latest_status > div{background-color:#EBECE5;color:#343434;font-size:14px;min-height:45px;padding:10px 15px;}#user_latest_status > div > span{/*display: block;*/}.ipsType_smaller,.ipsType_smaller a{font-size:11px!important;}.rating{margin-top:10px;display:block;line-height:16px;margin-bottom:4px;}.rating img{vertical-align:top;}.ipsLayout_content img{max-width:100%;}fieldset,img{border:0 none;}#user_utility_links{margin-top:10px;text-align:right;}.ipsList_inline > li:first-child{margin-left:0;}.ipsList_inline > li{display:inline-block;margin:0 3px;}.ipsButton_secondary{background:0 repeat scroll 0 0 transparent;border:1px solid #DBDBDB;color:#616161;display:inline-block;font-size:12px;height:22px;line-height:22px;padding:0 10px;white-space:nowrap;}.ipsButton_secondary a{color:#616161;}.topic_buttons li{float:right;margin:0 0 10px 10px;}.topic_buttons li.important a,.topic_buttons li.important span,.ipsButton .important,.topic_buttons li a,.topic_buttons li span,.ipsButton{background:url(http://i78.servimg.com/u/f78/18/17/62/92/topic_13.png) repeat-x scroll center top #212121;border-color:#212121;border-style:solid;border-width:1px 1px 0;color:#FFF!important;cursor:pointer;display:inline-block;font:300 12px/30px Helvetica,Arial,sans-serif;height:30px;min-width:125px;padding:0 10px;text-align:center;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}.ipsLayout_largeright.ipsLayout_withright{padding-right:280px;}.ipsLayout.ipsLayout_withright{clear:left;padding-right:280px;}.general_box{background:none repeat scroll 0 0 #FCFCFC;margin-bottom:10px;}.general_box h3{background:none repeat scroll 0 0 #DBE2EC;color:#204066;font:14px helvetica,arial,sans-serif;padding:8px 10px;}.ipsList_data li{line-height:1.3;margin-bottom:6px;}.ipsList_data .row_title,.ipsList_data .ft{display:inline-block;float:left;font-weight:700;padding-right:10px;text-align:right;width:120px;}#profile_panes_wrap .ipsList_data .row_data{display:block;margin-left:130px;}.ipsList_data .row_data{display:inline-block;max-width:100%;}.ipsLayout_largeright.ipsLayout .ipsLayout_right{margin-right:-280px;width:270px;}.ipsLayout .ipsLayout_right{float:right;margin-right:-210px;width:200px;}.reputation{display:inline-block;font-weight:700;padding:3px 8px;}.positive{color:#6F8F52;}#profile_panes_wrap .reputation{display:block;float:none;font-weight:400;margin:0 0 5px;padding:10px;text-align:center;}#profile_panes_wrap .reputation .number{display:block;font-size:20px;font-weight:700;}.reputation.positive,.reputation.negative{color:#FFF;}.reputation.positive,.members li.positive{background:none repeat scroll 0 0 #6F8F52;}.reputation.negative,.members li.negative{background:none repeat scroll 0 0 #B82929;}.reputation.zero{background:none repeat scroll 0 0 #DEDEDE;color:#6E6E6E;}.ipsUserPhoto_mini{height:30px;width:30px;}img,.input_check,.input_radio{vertical-align:middle;}.ipsList_withminiphoto > li{margin-bottom:8px;}.left{float:left;}hr{display:none;}.short.photo_holder > img{background:none repeat scroll 0 0 #FFF;border:1px solid #D5D5D5;padding:1px;max-height:138px;max-width:138px;}.contact_field img{margin-bottom:6px;margin-top:6px;}/* #endregion ----- profile_background ----- */
  249. </style>
  250. <script type="text/javascript">
  251. //<![CDATA[
  252. /* Plugin to Add Hover Class! */
  253. (function($){
  254. $.fn.hoverClass = function(c) {
  255. return this.hover(
  256. function() { $(this).toggleClass(c); }
  257. );
  258. };
  259. }(jQuery));
  260.  
  261. /*$('[id^=field_id]').hoverClass('hover');*/
  262.  
  263. function editableField(){
  264. $('#user_status_cell #uneditable').hide();
  265. $('#user_status_cell #editable').show();
  266. };
  267.  
  268. /* ---- Variables definitions 1---- */
  269. /*find username and state*/
  270. var UserName = $('#profile_content').find('span.fn.nickname').text();
  271. <!-- BEGIN switch_show_status -->
  272. var UserStats = $.trim('{USER_ONLINE}');
  273. <!-- END switch_show_status -->
  274. var pUserName = encodeURI(UserName); /*encodeURI('{PUSERNAME}');*/ /*to avoid espace in url names!*/
  275. var sStarIMG = 'http://i69.servimg.com/u/f69/18/17/62/92/star10.png';
  276. var UserNum = {CUR_USER_ID}; /*location.href.split('/u')[1];*/ /*ID number of user*/
  277. var Logged_As = $('#pun-visit strong').text();
  278. /*related to reputations - Place the numbers and labels reputation of your forum*/
  279. var iReputation_1 = 0;
  280. var iReputation_2 = 10;
  281. var iReputation_3 = 20;
  282. var iReputation_4 = 100;
  283. var iReputation_5 = 200;
  284. var lReputation_1 = 'Neutro';
  285. var lReputation_2 = 'Regular';
  286. var lReputation_3 = 'Bom';
  287. var lReputation_4 = 'Ótimo';
  288. var lReputation_5 = 'Excelente';
  289. /*related to tabs*/
  290. var tabTopicsLoaded = 0;
  291. var tabPostsLoaded = 0;
  292. var tabShoutsLoaded = 0;
  293. var activeTab = '';
  294. /*----------------------------------*/
  295.  
  296. /*sets default user image*/
  297. var $Sel = $('#profile_tabs').find('p.short.photo_holder');
  298. if($.trim($Sel.find('img').attr('src')) =='') {
  299. $Sel.append('<img alt="- foto" src="http://illiweb.com/fa/invision/pp-blank-thumb.png" id="profile_photo" class="ipsUserPhoto">');
  300. $('#photo_popup_inner #ips_currentPhoto').append('<img alt="- foto" src="http://illiweb.com/fa/invision/pp-blank-thumb.png" id="profile_photo" class="ipsUserPhoto">');
  301. } else {
  302. $Sel.find('img').attr('id','profile_photo').addClass('ipsUserPhoto');
  303. }
  304.  
  305. /*sets joined in*/
  306. $('#user_info_cell').find('span.joined_in').html($('#field_id-4').find('div.field_uneditable').text()); /*id-4 => "Data de inscrição"*/
  307.  
  308. /*sets state*/
  309. if(UserStats == 'conectado') {
  310. $('#user_info_cell #user_connected').html('online').addClass('ipsBadge_green').removeClass('ipsBadge_lightgrey');
  311. } else {
  312. $('#user_info_cell #user_connected').html('offline').addClass('ipsBadge_lightgrey').removeClass('ipsBadge_green');
  313. };
  314.  
  315. /*sets profile fields*/
  316. $('.ipsList_data [id^=field_id]:contains("_Log")').hide();
  317. $('#field_id-6').hide();
  318. $('#field_id-14').hide();
  319. $('#field_id-4').hide();
  320.  
  321. /* sets posts */
  322. var posts = $('#field_id-6').find('div.field_uneditable').text();
  323. $('#amount_posts').text(posts);
  324.  
  325. /* field_id1 (Título) = First field added to the perfil! */
  326. var $Len = $('#field_id1');
  327. if($Len.length) {
  328. var $Sel = $Len.find('div.field_uneditable');
  329. if($.trim($Sel.text()) == '-') {
  330. $Sel.addClass('desc lighter').text('Sem informações');
  331. }
  332. }
  333.  
  334. /*sets gender*/
  335. var $Len = $('#field_id-7');
  336. if($Len.length) {
  337. $Len.find('span.row_title').html('<span style="color:##66666;">Gênero:</span>');
  338. var $Sel = $Len.find('div.field_uneditable');
  339. if($.trim($Sel.text()) == '-') {
  340. $Sel.html('<img alt="Não informado" src="http://i69.servimg.com/u/f69/18/17/62/92/myster10.png"> Não informado');
  341. } else {
  342. var UserGender = $Sel.find('img').attr('src').split('_')[2];
  343. switch (UserGender)
  344. {
  345. case 'male.gif':
  346. $Sel.html('<img alt="Masculino" src="http://i69.servimg.com/u/f69/18/17/62/92/male10.png"> Masculino');
  347. break;
  348. case 'female.gif':
  349. $Sel.html('<img alt="Feminino" src="http://i69.servimg.com/u/f69/18/17/62/92/female10.png"> Feminino');
  350. break;
  351. default:
  352. $Sel.html('<img alt="Não informado" src="http://i69.servimg.com/u/f69/18/17/62/92/myster10.png"> Não informado');
  353. }
  354. }
  355. }
  356.  
  357. /*sets Job/hobbies*/
  358. var $Len = $('#field_id-9');
  359. if($Len.length) {
  360. var $Sel = $Len.find('div.field_uneditable');
  361. if($.trim($Sel.text()) == '-') {
  362. $Sel.addClass('desc lighter').text('Sem informações');
  363. }
  364. }
  365.  
  366. /*sets localization*/
  367. var $Len = $('#field_id-11');
  368. if($Len.length) {
  369. var $Sel = $Len.find('div.field_uneditable');
  370. if($.trim($Sel.text()) == '-') {
  371. $Sel.addClass('desc lighter').text('Sem informações');
  372. }
  373. }
  374.  
  375. /*sets born*/
  376. var $Len = $('#field_id-12');
  377. if($Len.length) {
  378. $Len.find('span.row_title').find('span').text('Nascimento');
  379. var $Sel = $Len.find('div.field_uneditable');
  380. if($.trim($Sel.text()) == '-') {
  381. $Sel.addClass('desc lighter').text('Sem informações');
  382. }
  383. }
  384.  
  385. /*sets user comments*/
  386. var $Len = $('#field_id-20');
  387. if($Len.length) {
  388. $Len.hide();
  389. var $Sel = $Len.find('div.field_uneditable'); /*id-20 => "Comentários"*/
  390. if($.trim($Sel.text()) != '-') {
  391. $('#user_status_cell .user_comments').html($Sel);
  392. $('#user_status_cell').css('display', '');
  393. }
  394. }
  395.  
  396. /*sets [Quem sou eu] field*/
  397. var $Len = $('#field_id-8');
  398. if($Len.length) {
  399. $Len.hide();
  400. var $Sel = $Len.find('div.field_uneditable'); /*id-8 => "Humor"*/
  401. if($.trim($Sel.text()) != '-') {
  402. $('#user_humor_id').find('.user_humor').html($Sel);
  403. $('#user_humor_id').css('display', '');
  404. }
  405. }
  406.  
  407. /*sets reputation fields*/
  408. var Reputation = $('#field_id-14').find('div.field_uneditable').text();
  409. var $Sel = $('#reputation_panel').find('span.title');
  410. $Sel.text(lReputation_1);
  411. $('#reputation_panel').find('span.number').text(Reputation);
  412. $('#reputation_panel').removeClass('zero').addClass('positive');
  413. switch (Reputation)
  414. {
  415. case (Reputation = iReputation_1):
  416. $('#reputation_panel').removeClass('positive').addClass('zero');
  417. break;
  418. case (Reputation > iReputation_1 && Reputation < iReputation_2):
  419. $('#user_rate_1').find('img').attr('src', sStarIMG);
  420. break;
  421. case (Reputation >= iReputation_2 && Reputation < iReputation_3):
  422. $Sel.text(lReputation_2);
  423. $('#user_rate_2').find('img').attr('src', sStarIMG);
  424. break;
  425. case (Reputation >= iReputation_3 && Reputation < iReputation_4):
  426. $Sel.text(lReputation_3);
  427. $('#user_rate_3').find('img').attr('src', sStarIMG);
  428. break;
  429. case (Reputation >= iReputation_4 && Reputation < iReputation_5):
  430. $Sel.text(lReputation_4);
  431. $('#user_rate_4').find('img').attr('src', sStarIMG);
  432. break;
  433. case (Reputation >= iReputation_5):
  434. $Sel.text(lReputation_5);
  435. $('#user_rate_5').find('img').attr('src', sStarIMG);
  436. break;
  437. }
  438.  
  439. /*sets friends information*/
  440. /* This load and read all friends fields ¯| */
  441. /*$('#friends_foes').load(location.href + ' #profile-advanced-right .module.main:last .main-content.clearfix', function() {
  442.  
  443. });*/
  444.  
  445. <!-- BEGIN switch_user_logged_in -->
  446. /* Atualizações Recentes de Status */
  447. /* This load and read all form fields ¯| */
  448. $('.tab_link_pane #pane_members_status .status_update').load('/privmsg?mode=post_profile&u=' + UserNum + ' .main .frm-form', function() {
  449. $('.status_update .frm-form .main-head.clearfix').remove();
  450. $('.status_update .frm-form .main').hide();
  451. $('.status_update .frm-form .main-content.frm').css('padding', '0px');
  452. $('.status_update .frm-form .main-content.frm .frm-set')
  453. .css({ 'border-bottom' : '0', 'background' : 'none repeat scroll 0 0 #71A5C9', 'height' : '0px', 'margin' : '0px', 'padding' : '0px' });
  454. $('.status_update .frm-form .frm-set.multi #text_editor_select_controls').hide();
  455. $('.status_update .frm-form .frm-set.multi #text_editor_controls').hide();
  456. $('.status_update .frm-form .main-content.frm .frm-set > dl').hide();
  457. $('.status_update .frm-form .frm-set.multi .left').remove();
  458. $('.status_update .frm-form .frm-set.multi textarea_content').css('width', '100%');
  459. $('.status_update .frm-form .frm-set.multi #textarea_content dt').remove(); /*.posting-block*/
  460. $('.status_update .frm-form .frm-set.multi #smiley-box').hide(); /*or remove()*/
  461. $('.status_update .frm-form .frm-set').css('padding', '0');
  462. /*.posting-block*/
  463. $('.status_update .frm-form .frm-set.multi #textarea_content .frm-textarea')
  464. .css({ 'padding' : '0', 'border-top-width' : '0', 'float' : 'left', 'width' : '100%', 'height' : '31px', 'margin-left' : '5px', 'margin-top' : '0' })
  465. .append('<input type="submit" accesskey="s" tabindex="6" value="Comentar" name="post" class="ipsButton" style="float:right; position:relative; top: -30px; right: -43px;">')
  466. .append('<input type="checkbox" name="attach_sig" style="display:none;">'); /*Do not add signature*/
  467. $('.status_update .frm-textarea #text_editor_textarea').css({ 'width' : '675px', 'height' : '16px', 'padding' : '6px 4px' }).attr('placeholder', 'Deixar uma mensagem...');
  468. $('.status_update .frm-form .frm-set .frm-buttons input[name=preview]').remove();
  469. $('.status_update .frm-form .frm-set .frm-buttons input[name=post]').remove();
  470. $('.status_update .frm-form .frm-set .frm-buttons input[name=username]').val(Logged_As); /*sets user name to send message!*/
  471. $('.status_update .frm-form .frm-set.multi input[name=subject]').val('Mensagem'); /*sets title to send message!*/
  472. $('.status_update .frm-form .frm-set .frm-buttons').removeClass('frm-buttons').addClass('post_comment');
  473. $('.status_update .frm-form .frm-set .post_comment').css('height', '0px');
  474. $('.status_update .frm-form').attr('target','iPerfmsg');
  475. $('.status_update .frm-form').submit(function(){var time=setTimeout("fperfMsgSent()",1000);});
  476. if(UserName == Logged_As) {
  477. $('.status_update .frm-form .frm-set.multi input[name=subject]').val('O que há em minha mente:'); /*sets title to send message!*/
  478. $('.status_update .frm-form .frm-set.multi #textarea_content .frm-textarea input[name=post]').val('Atualizar');
  479. $('.status_update .frm-textarea #text_editor_textarea').attr('placeholder', 'O que há em sua mente?');
  480. }
  481. readPerfilMessages();
  482. });
  483.  
  484. function fperfMsgSent(){
  485. if(UserName !== Logged_As) {
  486. alert('A sua mensagem foi enviada!');
  487. }
  488. $('.status_update .frm-textarea #text_editor_textarea').val('');
  489. readPerfilMessages();
  490. }
  491.  
  492. /* This load and read all messages fields ¯| */
  493. function readPerfilMessages() {
  494. $('.tab_link_pane .ipsBox.clearfix #status_wrapper').load(location.href + 'wall #profile-advanced-details', function() {
  495. $('#status_wrapper .main-head').remove();
  496. $('#status_wrapper .main-content.clearfix .pagination.top:first').remove();
  497. $('#status_wrapper .new-message.bottom').remove();
  498. });
  499. }
  500. <!-- END switch_user_logged_in -->
  501.  
  502. <!-- BEGIN switch_user_logged_in -->
  503. /* ---- Variables definitions 2---- */
  504. var UserFriends = $('#friends_foes > a:first').text();
  505. var UserFoes = $('#friends_foes > a:last').text();
  506. /*----------------------------------*/
  507.  
  508. /*sets user utility [Buttons] and [Links]*/
  509. if(UserName == Logged_As) {
  510. $('.topic_buttons li.editPerfil').css('display', '');
  511. $('#change_photo').css('display', '');
  512. } else {
  513. var $Sel = $('#admin_user');
  514. if($Sel.length) {
  515. $('.topic_buttons li.editMember').css('display', '');
  516. $('.topic_buttons li.editMember').find('a').attr('href', $Sel.find('a').attr('href'));
  517. }
  518. var $Sel = $('#ban_user');
  519. if($Sel.length) {
  520. var $href = $Sel.find('a');
  521. if($href.length) {
  522. $('.topic_buttons li.FlagSpam').css('display', '');
  523. /*$('.topic_buttons li.FlagSpam').find('a').attr('href', $href.attr('href'));*/
  524. } else {
  525. var Texto = $Sel.text();
  526. /*alert(Texto);*/
  527. }
  528. }
  529. if(UserFriends !=='') {
  530. $('#add_friend').css('display', '');
  531. } else {
  532. $('#remove_friend').css('display', '');
  533. }
  534. $('#pm_button').css('display', '').find('a').attr('href', '/privmsg?mode=post&u=' + UserNum);
  535. }
  536. <!-- END switch_user_logged_in -->
  537.  
  538. $('#ban_member_popup #confirm_ban').submit(function(){
  539. var time=setTimeout("winReload('O membro '+UserName+' foi alertado com sucesso!')",1000);
  540. });
  541.  
  542. function winReload(msg){
  543. if(msg.length){
  544. alert(msg);
  545. }
  546. window.location.reload()
  547. }
  548.  
  549. function Question() {
  550. if (confirm("Tem certeza que deseja continuar?")==true) {
  551. x="You pressed OK!";
  552. } else {
  553. x="You pressed Cancel!";
  554. }
  555. document.getElementById("demo").innerHTML=x;
  556. }
  557. /*
  558. function show_popup(id) {
  559. var $oObj = $('#'+id);
  560. if ($oObj.css('display') == 'none') {
  561. $oObj.add('#document_modal').fadeIn('slow');
  562. $("input:text:eq(0):visible").focus();
  563. } else {
  564. $oObj.add('#document_modal').fadeOut('slow');
  565. }
  566. }
  567. */
  568. function show_popup( element, focus ) {
  569. if ( element == '' ) {return false;}
  570. var $oObj = $('#' + element);
  571. var oldIndex = 0;
  572.  
  573. /* Add an "document_modal" to the code...*/
  574. $oObj.before('<div id="popup_modal" class="modal" style="display:none; width: 100%; height: 100%; position: fixed; top: 0px; left: 0px; z-index: 10000; opacity: 0.4; background-color: #3E3E3E;"></div>');
  575. /* Save original z-index order and sets new...*/
  576. oldIndex = $oObj.css('z-index');
  577. $oObj.css('z-index', '10001');
  578.  
  579. if ($oObj.css('display') == 'none') {
  580. $oObj.add('#popup_modal').fadeIn('slow');
  581. if ( focus != '' ) {$(focus).focus();}
  582. } else {
  583. $oObj.add('#popup_modal').fadeOut('slow');
  584. /* restore original z-index */
  585. $oObj.css('z-index', oldIndex);
  586. /* Remove "document_modal"! */
  587. $oObj.parent().remove('#popup_modal');
  588. }
  589. }
  590.  
  591. $(document).ready(function(){
  592. $('#iframe_photo_popup').load(function(){
  593. var iframe = $('#iframe_photo_popup').contents().find('div .main-content.frm');
  594. if(iframe.length > 0) {
  595. var PhotoPopup = iframe.html();
  596. $('#photo_popup_inner').find('div.iframe_photo_popup').html(PhotoPopup);
  597. $('.frm-info').css('display', 'none');
  598. $('.frm-set').css('margin', '0');
  599. $('.frm-set dt').css({ 'font-weight' : '400', 'float' : 'left', 'text-align' : 'left', 'width' : 'auto' });
  600. $('.frm-set dd').css({ 'margin-left' : '5px', 'float' : 'left' });
  601. $('.frm-set > dl:last-child').css('display', 'none');
  602. $('.inputbox').css('width', '80% !important');
  603. $('.frm-buttons').css({ 'display' : '', 'margin-bottom' : '0px' });
  604. $('.button2').removeClass('button2').addClass('ipsButton ips_photoSubmi');
  605. $('.ipsButton.ips_photoSubmi').css('margin-right', '5px');
  606. $('.frm-buttons > dd').css('padding-left', '200px');
  607. }
  608. });
  609. });
  610. $(document).ready(function(){
  611. $(".tab_toggle:first").addClass("active").show();
  612.  
  613. $(".tab_toggle").click(function(){
  614. $(".tab_toggle").removeClass("active");
  615. $(this).addClass("active");
  616.  
  617. activeTab = $(this).find("a").attr("href");
  618. /*var activeTab = '#' + $(this).find("a").attr("onclick");*/
  619.  
  620. switch (activeTab)
  621. {
  622. case '#pane_forums_topics':
  623. if (tabTopicsLoaded == 0) {$('#ajax_loading').show();tabTopicsLoaded = 1;}
  624. $('#pane_forums_topics').find('div.main.paged').load("/sta/"+pUserName+" div .main.paged", function() {
  625. TabLoaded();
  626. var $Sel = $('#pane_forums_topics').find('div.main.paged');
  627. if($Sel.length > 1) {
  628. $('#pane_forums_topics .frm-form .page-title').text('Tópicos que criei');
  629. $('.posting').css('display', 'none');
  630. $('.main-foot').css('display', 'none');
  631. } else {
  632. $Sel.html('<div class="no_messages" style="margin-top: 15px;">Não há tópicos para exibir</div>');
  633. }
  634. });
  635. break;
  636. case '#pane_forums_posts':
  637. if (tabPostsLoaded == 0) {$('#ajax_loading').show();tabPostsLoaded = 1;}
  638. $('#pane_forums_posts').find('div.main.paged').load("/spa/"+pUserName+" div .main.paged", function() {
  639. TabLoaded();
  640. var $Sel = $('#pane_forums_posts').find('div.main.paged');
  641. if($Sel.length > 1) {
  642. $('#pane_forums_posts .page-title').text('Posts que fiz');
  643. $('.user.online').css('display', 'none');
  644. $('.post .postmain').css('margin-left', '0');
  645. $('.post .postmain .posthead').css('margin-left', '0');
  646. $('.post .postmain .postfoot').css('margin-left', '0');
  647. $('.posting').css('display', 'none');
  648. $('.main-foot').css('display', 'none');
  649. } else {
  650. $Sel.html('<div class="no_messages" style="margin-top: 15px;">Não há posts para exibir</div>');
  651. }
  652. });
  653. break;
  654. case '#pane_forums_shouts':
  655. if (tabShoutsLoaded == 0) {$('#ajax_loading').show();tabShoutsLoaded = 1;}
  656. $('#pane_forums_shouts').find('div.main.paged').load("/st/"+pUserName+" div .main.paged", function() {
  657. TabLoaded();
  658. var $Sel = $('#pane_forums_shouts').find('div.main.paged');
  659. if($Sel.length > 1) {
  660. $('#pane_forums_shouts .page-title').text('Todas as minhas mensagens');
  661. $('.posting').css('display', 'none');
  662. $('.main-foot').css('display', 'none');
  663. } else {
  664. $Sel.html('<div class="no_messages" style="margin-top: 15px;">Não há mensagens para exibir</div>');
  665. }
  666. });
  667. break;
  668. default:
  669. $('.tab_link_pane').css('display', 'none');
  670. $(activeTab).fadeIn();
  671. }
  672. return false;
  673. });
  674. });
  675.  
  676. function TabLoaded() {
  677. $('.tab_link_pane').css('display', 'none');
  678. if($("#ajax_loading").is(":visible")) {
  679. $(activeTab).fadeIn();
  680. $('#ajax_loading').fadeOut();
  681. } else {
  682. $(activeTab).show();
  683. }
  684. }
  685. //]]>
  686. </script>
RAW Paste Data