Nigeria heap more misery on Mexico

Line-up

‘ +
” +
”;
}else{
playerHome = ‘

‘ +

‘ + bibnumberH + ‘

‘ +

‘ + liveData.TeamHome[i].playerName + ‘ ‘ + liveData.TeamHome[i].playerNameAbbr + ‘‘ + htmlplIconH + ‘

‘ +

‘;
}
}else{
playerHome = ‘


}
if(liveData.TeamAway[i]){
var bibnumberA = ”;
var htmlplIconA = playerStatusIcon(liveData.TeamAway[i].status);
if (liveData.TeamAway[i].bibNumber != 0)
{
bibnumberA = liveData.TeamAway[i].bibNumber;
}
if(playerLink == true)
{

playerAway = ‘

‘ +

‘ + bibnumberA + ‘

‘ +
” +

‘;
}else{
playerAway = ‘

‘ +

‘ + bibnumberA + ‘

‘ +

‘ + htmlplIconA + ‘‘ + liveData.TeamAway[i].playerNameAbbr + ‘ ‘ + liveData.TeamAway[i].playerName + ‘

‘ +

‘;
}
}else{
playerAway = ‘

‘;
}

rowplayersHTML = rowplayersHTML + ‘

‘ + playerHome + playerAway + ‘

}
var tableHtml = ‘

‘ + rowplayersHTML + ‘


$ j(‘#squads’).html(tableHtml);
$ j(‘#squads tbody tr:first-child’).addClass(‘first’)
};

function playerStatusIcon(status)
{
var htmlIcon = ”;
if(status == ‘1’){
htmlIcon = ‘Misses next match if booked‘;
}else if(status == ‘2’){
htmlIcon = ‘Not eligible to play‘;
}else if(status == ‘3’){
htmlIcon = ‘Absent‘;
}else if(status == ‘4’){
htmlIcon = ‘Injured‘;
}else if(status == ‘5’){
htmlIcon = ‘Not in lineup‘;
}

return htmlIcon;
}

function createTableBench(liveData)
{
var playerLink = true;
var rowplayersBechHTML = ”;
var playerHome = ”;
var countTot = 0;
var totPlayer = 0;
if(liveData.TeamHome.length > liveData.TeamAway.length)
{
countTot = liveData.TeamHome.length;
}else{
countTot = liveData.TeamAway.length;
}
if(liveData.IdCup == 500 || liveData.IdCup == ‘106’)
{
totPlayer = 5;
}else
{
totPlayer = 11;
}

for(var i=totPlayer;i‘ + bibnumberH + ‘

‘ +
” +
”;
}else{
playerHome = ‘

‘ +

‘ + bibnumberH + ‘

‘ +

‘ + liveData.TeamHome[i].playerName + ‘ ‘ + liveData.TeamHome[i].playerNameAbbr + ‘‘ + htmlplIconH + ‘

‘ +

‘;
}

}else{
playerHome = ‘


}
if(liveData.TeamAway[i]){
var bibnumberA = ”;
var htmlplIconA = playerStatusIcon(liveData.TeamAway[i].status);
if (liveData.TeamAway[i].bibNumber != 0)
{
bibnumberA = liveData.TeamAway[i].bibNumber;
}
if(playerLink == true)
{
playerAway = ‘

‘ +

‘ + bibnumberA + ‘

‘ +
” +

‘;
}else{
playerAway = ‘

‘ +

‘ + bibnumberA + ‘

‘ +

‘ + htmlplIconA + ‘ ‘ + liveData.TeamAway[i].playerNameAbbr + ‘ ‘ + liveData.TeamAway[i].playerName + ‘

‘ +

‘;
}
}else{
playerAway = ‘

‘;
}

rowplayersBechHTML = rowplayersBechHTML + ‘

‘ + playerHome + playerAway + ‘


}
var tableBenchHtml = ‘

‘ + rowplayersBechHTML + ‘


$ j(‘#substitutes’).html(tableBenchHtml);

};

function createTableCoach(liveData)
{
var coachLink = false;
if(coachLink == true)
{
var coachesHTML = ‘

Coaches

‘;
if(liveData.CoachHome != ”)
{
coachesHTML = coachesHTML + ” + liveData.CoachHome + ‘ (‘ + liveData.CoachCountryCodeHome + ‘)’;
}
coachesHTML = coachesHTML + ‘
‘;
if(liveData.CoachHome != ”)
{
coachesHTML = coachesHTML + ‘(‘ + liveData.CoachCountryCodeAway + ‘) ‘ + liveData.CoachAway + ”
}

coachesHTML = coachesHTML + ‘

‘;

}else{
var coachesHTML = ‘

Coaches

‘;
if(liveData.CoachHome != ”)
{
coachesHTML = coachesHTML + liveData.CoachHome + ‘ (‘ + liveData.CoachCountryCodeHome + ‘)’;
}
coachesHTML = coachesHTML + ‘

‘;
if(liveData.CoachAway != ”)
{
coachesHTML = coachesHTML + ‘(‘ + liveData.CoachCountryCodeAway + ‘) ‘ + liveData.CoachAway;
}
coachesHTML = coachesHTML + ‘

‘;
}

$ j(‘#coaches’).html(coachesHTML);
};

function initDATAcard(liveData) {

var cardHome = ”;
var cardAway = ”;
var totCard = ”;
var cardHTML = ”;
if (liveData.Card[0].TeamAway.length > liveData.Card[0].TeamHome.length) {
totCard = liveData.Card[0].TeamAway.length;
} else {
totCard = liveData.Card[0].TeamHome.length;
}

for(var i=0; i ‘ + liveData.Card[0].TeamHome[i].PlayerName + ‘ (‘ + liveData.Card[0].TeamHome[i].minute + ‘)’
} else {
cardHome = ‘

‘;
}
if(liveData.Card[0].TeamAway[i]) {
cardAway= ‘

(‘ + liveData.Card[0].TeamAway[i].minute + ‘) ‘ + liveData.Card[0].TeamAway[i].PlayerName + ‘


} else {
cardAway = ‘

‘;
}
cardHTML = cardHTML+ ‘

‘ + cardHome + cardAway + ‘

‘;
}

if (liveData.Card[0].TeamAway.length > 0 || liveData.Card[0].TeamHome.length > 0) {
$ j(‘#subheader’).removeClass(‘hideElement’);
$ j(‘#titleCard’).removeClass(‘hideElement’);
$ j(‘#cards’).removeClass(‘hideElement’);
}

$ j(‘#cards’).html(cardHTML);
};

function initDATAsubstitution(liveData)
{
var substitutionHome = ”;
var substitutionAway = ”;
var totSubstitution = 0;
var substitutionLineHTML = ”;
if (liveData.Substitution[0].TeamAway.length > liveData.Substitution[0].TeamHome.length )
{
totSubstitution = liveData.Substitution[0].TeamAway.length;
}else{
totSubstitution = liveData.Substitution[0].TeamHome.length;
}
for(var i = 0; i

‘ + liveData.Substitution[0].TeamHome[i].playerIn + ‘ Out
‘ + liveData.Substitution[0].TeamHome[i].playerout + ‘ In

‘;
}
else
{
substitutionHome = ‘

‘;
}
if(liveData.Substitution[0].TeamAway[i])
{
substitutionAway = ‘

Out ‘ + liveData.Substitution[0].TeamAway[i].playerIn + ‘
In ‘ + liveData.Substitution[0].TeamAway[i].playerout + ‘ (‘+ liveData.Substitution[0].TeamAway[i].minute +’)

‘;
}
else
{
substitutionAway = ‘

‘;
}
substitutionLineHTML = substitutionLineHTML + ‘

‘ + substitutionHome + substitutionAway + ‘

‘;
}

if(liveData.Substitution[0].TeamAway.length > 0 ||liveData.Substitution[0].TeamHome.length > 0)
{
$ j(‘#subheader’).removeClass(‘hideElement’);
$ j(‘#titleSub’).removeClass(‘hideElement’);
$ j(‘#substitution’).removeClass(‘hideElement’);
}
$ j(‘#substitution’).html(substitutionLineHTML);
};


function imgEvents(events) {
var i, buf = “”, e;
for(i = 0; i ‘;
} else if (e == “inHome” || e == “inAway”) {
if(showSubstitutions) {
buf += ‘ ' + vocabulary[ (+’ + events[i].m + ‘) ‘;
}
} else if (e == “outHome” || e == “outAway”) {
if(showSubstitutions) {
buf += ‘ ' + vocabulary[ (-‘ + events[i].m + ‘) ‘;
}
} else {
buf += ‘ ' + vocabulary[e] + ' ‘;
}
}
return buf;
}

Substitute(s)

Coaches

Raul GUTIERREZ (MEX)

(NGA) Manu GARBA

Officials

Referee: Svein Oddvar MOEN (NOR)Assistant Referee 1: Kim HAGLUND (NOR)Assistant Referee 2: Frank ANDAS (NOR)Fourth official: Kenn HANSEN (DEN)

Leave a Reply