ePrivacy and GPDR Cookie Consent management by TermsFeed Privacy Policy and Consent Generator

L’équipe

Gardiens
Arrières droits
Arrières gauches
Demi-centres
Pivots
Ailiers droits
Ailiers gauches
'; itemTemplate += '
'; itemTemplate += '
'+ ''+ '
'+ '
'+ '
'+ '

'+ name_player +'

'+ ''+ '
'+ '
'+ '

'+ 'Âge'+ '

'+ '

'+ age_player +' ans

'+ '
'+ '
'+ '

'+ 'Taille'+ '

'+ '

'+ height_player +'

'+ '
'+ '
'+ '

'+ 'Poids'+ '

'+ '

'+ weight_player +'

'+ '
'+ '
'+ '
'+ '
'+ '
'+ '
'+ '
'+ 'SAISON'+ '
    '; $.each(seasons_playerArr, function (index, season) { itemTemplate += '
  • '+ season +'
  • '; }); itemTemplate += '
'+ '
'+ '
'+ 'EQUIPE'+ '
    '; $.each(team_playerArr, function (index, team) { itemTemplate += '
  • '+ team +'
  • '; }); itemTemplate += '
'+ '
'+ '
'+ '
'+ ''+ '
'+ ''+ ''+ ''+ '
'+ ''+ '
'+ '';*/ itemElem.innerHTML = itemTemplate; retPlayer.push(itemElem.firstChild); count2++; }); count1++; //} }); return retPlayer; } function generateGrid(data){ const players = data.data.players let itemTemplate = ''; var page = $(".sortPlayer").attr('data-page'); var parent = $(".sortPlayer").attr('data-parent'); var positionplayer = ""; if(parent == 112||page == 373){ $gardien="Gardien"; $arriered="Arrière droit"; $arriereg="Arrière gauche"; $ailierd="Ailier droit"; $ailierg="Ailier gauche"; $demicentre="Demi Centre"; $pivot="Pivot"; } else { $gardien="Gardienne"; $arriered="Arrière droite"; $arriereg="Arrière gauche"; $ailierd="Ailière droite"; $ailierg="Ailière gauche"; $demicentre="Demi Centre"; $pivot="Pivot"; } const playLength = players.length; for (let i=0; i < playLength; i++){ if(i === 0){ itemTemplate += `
`; itemTemplate += `

`; itemTemplate += $gardien; itemTemplate += `

`; positionplayer = $gardien; }else if(i === 1){ itemTemplate += `
`; itemTemplate += `

`; itemTemplate += $arriered; itemTemplate += `

`; positionplayer = $arriered; }else if(i === 2){ itemTemplate += `
`; itemTemplate += `

`; itemTemplate += $arriereg; itemTemplate += `

`; positionplayer = $arriereg; }else if(i === 3){ itemTemplate += `
`; itemTemplate += `

`; itemTemplate += $ailierd; itemTemplate += `

`; positionplayer = $ailierd; }else if(i === 4){ itemTemplate += `
`; itemTemplate += `

`; itemTemplate += $ailierg; itemTemplate += `

`; positionplayer = $ailierg; }else if(i === 5){ itemTemplate += `
`; itemTemplate += `

`; itemTemplate += $demicentre; itemTemplate += `

`; positionplayer = $demicentre; }else if(i === 6){ itemTemplate += `
`; itemTemplate += `

`; itemTemplate += $pivot; itemTemplate += `

`; positionplayer = $pivot; } itemTemplate += `
`; for (let v=0; v < players[i].length; v++){ const play = players[i][v]; itemTemplate += `
${play.flags} ${play.number}

${play.name}

`; itemTemplate += positionplayer; itemTemplate += `

${play.team[0]}

Voir la Fiche
`; } itemTemplate += `
`; itemTemplate += `
`; } return itemTemplate; } function isEmpty(str) { return (!str || 0 === str.length); } function reindex_array_keys(array, start){ let temp = []; start = typeof start == 'undefined' ? 0 : start; start = typeof start != 'number' ? 0 : start; for(let i in array){ temp[start++] = array[i]; } return temp; } }(jQuery);
-->