Fragments de l'esprit
Test crash, un deux, un deux
Informations
Lorem ipsul dolor, le vent se lève, princess mononoké, ghibli...Lorem ipsul dolor, le vent se lève, princess mononoké, ghibli... Lorem ipsul dolor, le vent se lève, princess mononoké, ghibli...Lorem ipsul dolor, le
Vagabonds
Titres

Partagez
 

 profil_view_body

Aller en bas 

Admin


Administrateur


Admin
https://forum-prive-ewz.forumactif.com
Pseudo : eihwaz
Crédits : une talentueuse personne sur bazzart qu'il faudra que je retrouve
Date d'inscription : 20/08/2018
Messages : 200
Faciès : tom webb

profil_view_body Empty
Messageprofil_view_body EmptyMar 12 Jan - 13:48

Code:
<div class="fond-profil-joueur">
 <div class="pseudo-profil-joueur">{USERNAME}</div> 
  <div class="pseudo-profil-joueurcit">Nec possum tecum vivere, nec sine te</div>
  <div class="avatar-profilj">{AVATAR_IMG} </div> 
  <div class="rang-profilj">{POSTER_RANK}</div>
  <div class="statut-profilj">{USER_ONLINE}</div>
  <div class="infos-profilj">
    <div class="infosprof-over">
    <table width="100%" border="0" cellspacing="1" cellpadding="0">
            <!-- BEGIN profile_field -->
         <tr id="field_id{profile_field.ID}">
            <td width="10%" align="left" valign="top" nowrap="nowrap"><span class="labelprofil">{profile_field.LABEL} &nbsp;</span></td>
                          <td width="90%"><div class="gen">{profile_field.CONTENT}</div></td>
      </tr>
      <!-- END profile_field -->
      </table>
    </div>
  </div>
 
  <div id="sujouv-profilj"><a rel="nofollow" class="genmed" href="/st/{PUSERNAME}">{L_SEARCH_USER_POSTS}</a><script type="text/javascript">document.getElementById('sujouv-profilj').innerHTML=document.getElementById ('sujouv-profilj').innerHTML.replace(/Trouver tous les sujets ouverts par /,"");</script></div>
  <div class="suj-profilj"><a rel="nofollow" class="genmed" href="/sta/{PUSERNAME}">{L_TOPICS}</a></div>
  <div class="mess-profilj"><a rel="nofollow" class="genmed"  href="/spa/{PUSERNAME}">{L_POSTS}</a></div>
 
 <div class="contact-profilj"><!-- BEGIN contact_field -->{contact_field.CONTENT}<!-- END contact_field --></div>
 
</div> 



<br />
<script src="{JQUERY_ROOT}json/jquery.json-1.3.min.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
   $(document).ready(function(){
      $('[id^=field_id]').each(function(){
         if ( $(this).find('.field_editable').is('span, div') )
         {
            $(this).hover(function()
            {
               if( $(this).find('.field_editable.invisible').is('span, div') )
               {
                  $(this).find('.field_editable').prev().addClass('ajax-profil_hover').parent().addClass('ajax-profil_parent').append('<div class="ajax-profil_edit"><img src="{AJAX_EDIT_IMG}" /></div>');
                  $(this).find('.ajax-profil_edit').attr({
                        alt: "{L_FIELD_EDIT_VALUE}",
                        title: "{L_FIELD_EDIT_VALUE}"
                     }).click(function(){
                     $(this).prev().prev().removeClass('ajax-profil_hover').addClass('invisible').next().removeClass('invisible').append('<img src="{AJAX_VALID_IMG}" class="ajax-profil_valid" />').find('input,select');
                     $(this).prev().find('.ajax-profil_valid').attr({
                        alt: "{L_VALIDATE}",
                        title: "{L_VALIDATE}"
                     }).click(function(){
                        var content = new Array();
                        $(this).parent().find('[name]').each(function(){
                           var type_special = $(this).is('input[type=radio],input[type=checkbox]');
                           if ( (type_special && $(this).is(':checked')) || !type_special )
                           {
                              content.push(new Array($(this).attr('name'), $(this).attr('value')));
                           }
                        });
                        var id_name = $(this).parents('[id^=field_id]').attr('id');
                        var id = id_name.substring(8, id_name.length);
                        $.post(
                           "{U_AJAX_PROFILE}",
                           {id:id,user:"{CUR_USER_ID}",active:"{CUR_USER_ACTIVE}",content:$.toJSON(content),tid:"{TID}"},
                           function(data){
                              $.each(data, function(i, item){
                                 $('[id=field_id' + i + ']').find('.field_uneditable').html(item).end().find('.ajax-profil_valid').remove().end().find('.field_editable').addClass('invisible').end().find('.field_uneditable').removeClass('invisible');
                              });
                           },
                           "json"
                        );
                     });
                     $(this).remove();
                  });
               }
            },function()
            {
               if( $(this).find('.field_editable.invisible').is('span, div') )
               {
                  $(this).find('.field_editable').prev().removeClass('ajax-profil_hover');
                  $(this).find('.ajax-profil_edit').remove();
               }
            });
         }
      });
   });
//]]>
</script>
Revenir en haut Aller en bas
 
profil_view_body
Revenir en haut 
Page 1 sur 1

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
testewz :: les prémices :: Codes html/css forum-
Sauter vers:  
Version I (nom du theme)
Discord NOM DU FORUM