function setInfo(){ if(typeof(playerInfo)!="undefined"){ var playerName = playerInfo["1n+9lrKHpsQ="]; if(playerInfo["NrEfsvS0Y7k="]!="" && playerInfo["1n+9lrKHpsQ="] !=playerInfo["NrEfsvS0Y7k="] ){ playerName += "(" + playerInfo["NrEfsvS0Y7k="] +")"; } $$("mem_tt1").innerHTML =playerName; var obj = $$("baseInfo_tb").tBodies[0]; var row,cell; if(playerInfo["bObGa8Myxhi2JsUI+1Ro1Q=="]!=""){ row = obj.insertRow(-1); cell = row.insertCell(-1); cell.align = "right"; cell.innerHTML = PLAYER_DATA_TITLE[0]; row.insertCell(-1).innerHTML = playerInfo["bObGa8Myxhi2JsUI+1Ro1Q=="]; } if(playerInfo["Oi2AkxqYKYI5Mrg3HoixGw=="]!=""){ row = obj.insertRow(-1); cell = row.insertCell(-1); cell.align = "right"; cell.innerHTML = PLAYER_DATA_TITLE[1]; row.insertCell(-1).innerHTML = playerInfo["Oi2AkxqYKYI5Mrg3HoixGw=="]; row = obj.insertRow(-1); cell = row.insertCell(-1); cell.align = "right"; cell.innerHTML = PLAYER_DATA_TITLE[2]; row.insertCell(-1).innerHTML = ''; } if (playerInfo["blLWiZoci04="] != ""){ row = obj.insertRow(-1); cell = row.insertCell(-1); cell.align = "right"; cell.innerHTML = PLAYER_DATA_TITLE[3]; row.insertCell(-1).innerHTML = playerInfo["blLWiZoci04="]; } if(playerInfo["twlPuup4QdU="] != ""){ row = obj.insertRow(-1); cell = row.insertCell(-1); cell.align = "right"; cell.innerHTML = PLAYER_DATA_TITLE[4]; row.insertCell(-1).innerHTML = playerInfo["twlPuup4QdU="]; } if(playerInfo["29zAqz3N0CA="] != ""){ row = obj.insertRow(-1); cell = row.insertCell(-1); cell.align = "right"; cell.innerHTML = PLAYER_DATA_TITLE[5]; row.insertCell(-1).innerHTML = playerInfo["29zAqz3N0CA="]; } if(playerInfo["6rG+khnOjQFpPTu7aZGoEw=="] != "" && playerInfo["6rG+khnOjQFpPTu7aZGoEw=="]!="999"){ row = obj.insertRow(-1); cell = row.insertCell(-1); cell.align = "right"; cell.innerHTML = PLAYER_DATA_TITLE[11]; row.insertCell(-1).innerHTML = playerInfo["6rG+khnOjQFpPTu7aZGoEw=="]; } if(playerInfo["4SqajqSJNGQ5Mrg3HoixGw=="] !=""){ row = obj.insertRow(-1); cell = row.insertCell(-1); cell.align = "right"; cell.innerHTML = PLAYER_DATA_TITLE[6]; row.insertCell(-1).innerHTML =LINEUP_ARR[playerInfo["4SqajqSJNGQ5Mrg3HoixGw=="]]; } if(playerInfo["O4MxR5LnPaw5Mrg3HoixGw=="] !=""){ row = obj.insertRow(-1); cell = row.insertCell(-1); cell.align = "right"; cell.innerHTML = PLAYER_DATA_TITLE[7]; row.insertCell(-1).innerHTML =playerInfo["O4MxR5LnPaw5Mrg3HoixGw=="]; } if(playerInfo["BuXwvQXlkk9XZwbFxvezog=="].Trim() !=""){ row = obj.insertRow(-1); cell = row.insertCell(-1); cell.align = "right"; cell.innerHTML = PLAYER_DATA_TITLE[8]; row.insertCell(-1).innerHTML =playerInfo["BuXwvQXlkk9XZwbFxvezog=="]; } if (playerInfo["6OnUCjQ+NIsHj7DqZnqB+w=="] !=""){ row = obj.insertRow(-1); cell = row.insertCell(-1); cell.align = "right"; cell.innerHTML = PLAYER_DATA_TITLE[9]; row.insertCell(-1).innerHTML =playerInfo["6OnUCjQ+NIsHj7DqZnqB+w=="]; } if(playerInfo["iR2gRs0o68iQJ/8H/ze6Pg=="]!=""){ row = obj.insertRow(-1); cell = row.insertCell(-1); cell.align = "right"; cell.innerHTML = PLAYER_DATA_TITLE[10]; row.insertCell(-1).innerHTML =playerInfo["iR2gRs0o68iQJ/8H/ze6Pg=="]; } if (typeof(playerInfo["cm+l5GfvFLwlhjSc9WyN4A=="]) != "undefined" && playerInfo["cm+l5GfvFLwlhjSc9WyN4A=="]!="0"){ row = obj.insertRow(-1); cell = row.insertCell(-1); cell.align = "right"; cell.innerHTML = PLAYER_DATA_TITLE[12]; row.insertCell(-1).innerHTML =playerPriceFormat(lang, playerInfo["cm+l5GfvFLwlhjSc9WyN4A=="], playerInfo["cm+l5GfvFLxs6iSs+SZUvlJ7cPUu3nCL"]); } if(playerInfo["H0WV/Qh1TMA="]=="1"){ $$("logo_img").src = "https://data-img.7mdt.com/football/player/"+playerId+".jpg?x-oss-process=image/resize,m_fill,w_140,h_160"; }else if(playerInfo["logo"]=="2"){ $$("logo_img").src = "https://data-img.7mdt.com/football/player/"+playerId+".gif?x-oss-process=image/resize,m_fill,w_140,h_160"; }else{ $$("logo_img").src = "//data.7mkr.com/player_data/share_img/err.gif"; } if(playerInfo["eTlhEiYy+gAh8JmYdD88Jw=="]!=""){ $$("profile_td").innerHTML = playerInfo["eTlhEiYy+gAh8JmYdD88Jw=="]; $$("profile_div").style.display = ""; $$("profile_td").id ="p_t_" + "eTlhEiYy+gAh8JmYdD88Jw=="; $$("profile_div").id ="p_d_" + "eTlhEiYy+gAh8JmYdD88Jw=="; } if(playerInfo["vieelFL1Nn8h8JmYdD88Jw=="]!=""){ $$("golry_td").innerHTML = playerInfo["vieelFL1Nn8h8JmYdD88Jw=="]; $$("golry_div").style.display = ""; $$("golry_td").id="g_t_" + "vieelFL1Nn8h8JmYdD88Jw=="; $$("golry_div").id ="g_d_" + "vieelFL1Nn8h8JmYdD88Jw=="; } } } function setStats(){ if(typeof(playerStats)!="undefined" && typeof(playerStats["JvQz1CBYhMs="]) !="undefined" && playerStats!=null){ var tb =$$("stat_tb"); var flag = false; var totalStats = [0,0,0,0,0,0]; for(var i =0 ; i' + playerStats["LRa0w+DfQiU="][vs [2]] + '' + ( vs[6]==1?'':''); cell = row.insertCell(-1); //cell.className = "m_t1"; cell.innerHTML = '' + vs[4] + '-' +vs[5] + ''; cell = row.insertCell(-1); //cell.className = "m_t2"; cell.innerHTML = '' + playerStats["LRa0w+DfQiU="][vs [3]] + '' + ( vs[6]==0?'':''); cell = row.insertCell(-1); //cell.className = "m_t1"; cell.style.color = "#008800"; cell.style.fontWeight = "bold"; cell.innerHTML = stats[0]; cell = row.insertCell(-1); //cell.className = "m_t1"; cell.innerHTML = stats[1]; cell = row.insertCell(-1); //cell.className = "m_t1"; cell.innerHTML = stats[2]; cell = row.insertCell(-1); //cell.className = "m_t1"; cell.innerHTML = stats[3]; cell = row.insertCell(-1); cell.style.color = "#FF0000"; cell.innerHTML = stats[4]; if (typeof(intime) != 'undefined'){ cell = row.insertCell(-1); if (typeof(intime[gameId]) != 'undefined'){ cell.innerHTML = intime[gameId].minutes; totalStats[5]+= parseInt(intime[gameId].minutes); } } totalStats[0]+= parseInt(stats[0]); totalStats[1]+= parseInt(stats[1]); totalStats[2]+= parseInt(stats[2]); totalStats[3]+= parseInt(stats[3]); totalStats[4]+= parseInt(stats[4]); flag = true; } if(flag){ row =tb.insertRow(-1); row.align ="center"; cell = row.insertCell(-1); cell.colSpan = 5; cell.innerHTML = TOTAL_STR; cell= row.insertCell(-1); //cell.className = "m_t1"; cell.style.color = "#008800"; cell.style.fontWeight = "bold"; cell.innerHTML = totalStats[0]; cell = row.insertCell(-1); //cell.className = "m_t1"; cell.innerHTML = totalStats[1]; cell = row.insertCell(-1); //cell.className = "m_t1"; cell.innerHTML = totalStats[2]; cell = row.insertCell(-1); //cell.className = "m_t1"; cell.innerHTML = totalStats[3]; cell = row.insertCell(-1); cell.style.color = "#FF0000"; cell.innerHTML = totalStats[4]; if (totalStats[5] > 0){ $$('stat_intime').style.display = ''; } } $$("stat_div").style.display = ""; } }