var loadBaseInfoOK = false; var loadProfileOK = false; var loadGloryOK = false; var loadBestOK = false; var loadCoachOK = false; function loadBaseInfo(){ if(!loadBaseInfoOK){ if (typeof(teamInfo)!="undefined") { var obj = $$("baseInfo_tb"); var row,cell; teamName = teamInfo["36A0F74C52BF2697"]; if(teamInfo["DC9241C78561BCD0"]!="" && teamInfo["36A0F74C52BF2697"] !=teamInfo["DC9241C78561BCD0"] ){ teamName += "(" + teamInfo["DC9241C78561BCD0"] +")"; } row = obj.insertRow(-1); cell = row.insertCell(-1); cell.colSpan=2; cell.className = "qdtt1"; cell.innerHTML = teamName.replace("&","&") + "
"; obj.insertRow(-1); row = obj.insertRow(-1); row.insertCell(-1).colSpan=2; row =obj.insertRow(-1); row.id="trInfoStats"; row.style.display = "none"; row.insertCell(-1).colSpan=2; if(teamInfo["51AE3EEB542020D34C08128CD3C01E6B88EB69E1589159EB"]!=""){ row =obj.insertRow(-1); cell = row.insertCell(-1); cell.innerHTML = ESTABLISH_DATA_STR; cell.align="right"; cell = row.insertCell(-1); cell.innerHTML = teamInfo["51AE3EEB542020D34C08128CD3C01E6B88EB69E1589159EB"]; } if(teamInfo["5F0187DA2A4C44A3364B553BE3D9160A"]!=""){ row =obj.insertRow(-1); cell = row.insertCell(-1); cell.innerHTML = COUNTRY_STR; cell.align="right"; cell = row.insertCell(-1); cell.innerHTML = parseInt(teamInfo["897935219FCA7602F9B43DB32E1C5172"])>0 ? '' + teamInfo["5F0187DA2A4C44A3364B553BE3D9160A"] + '' : teamInfo["5F0187DA2A4C44A3364B553BE3D9160A"]; } if(teamInfo["4A0995077CE6DFFF"]!=""){ row =obj.insertRow(-1); cell = row.insertCell(-1); cell.innerHTML = CITY_STR; cell.align="right"; cell = row.insertCell(-1); cell.innerHTML =teamInfo["4A0995077CE6DFFF"]; } if(teamInfo["4103BB3BEF554F53B7BDDB78B07FE618"]!=""){ row =obj.insertRow(-1); cell = row.insertCell(-1); cell.innerHTML = STADIUM_STR; cell.align="right"; cell = row.insertCell(-1); if (teamInfo["114ACB0A71E2DA7D"]!="") cell.innerHTML = '' + teamInfo["4103BB3BEF554F53B7BDDB78B07FE618"] + ''; else cell.innerHTML = teamInfo["4103BB3BEF554F53B7BDDB78B07FE618"]; } if (teamInfo["9754084DD0876A005F0B42622346E4ED"] != ""){ row =obj.insertRow(-1); cell = row.insertCell(-1); cell.innerHTML = CAPACITY_STR; cell.align="right"; cell = row.insertCell(-1); cell.innerHTML =teamInfo["9754084DD0876A005F0B42622346E4ED"]; } if (teamInfo["8C128606F1271EBDE3E3123F6028FF0D"] != ""){ row =obj.insertRow(-1); cell = row.insertCell(-1); cell.innerHTML = ADDRESS_STR; cell.align="right"; cell = row.insertCell(-1); cell.innerHTML =teamInfo["8C128606F1271EBDE3E3123F6028FF0D"]; } if (teamInfo["4DCB67625701BF17"] != "" ){ row =obj.insertRow(-1); cell = row.insertCell(-1); cell.innerHTML = WEBSITE_STR; cell.align="right"; cell = row.insertCell(-1); cell.style.wordBreak = "break-all"; cell.innerHTML = '' + teamInfo["4DCB67625701BF17"] + ''; } if (teamInfo["06E668E1105E4EF9"]!=""){ row =obj.insertRow(-1); cell = row.insertCell(-1); cell.innerHTML =EMAIL_STR; cell.align="right"; cell = row.insertCell(-1); cell.style.wordBreak = "break-all"; cell.innerHTML = '' + teamInfo["06E668E1105E4EF9"] + ''; } if (teamInfo["F606F62A92BA396C"]!=""){ row =obj.insertRow(-1); cell = row.insertCell(-1); cell.innerHTML = PLAYER_AGE_STR; cell.align="right"; cell = row.insertCell(-1); cell.innerHTML = teamInfo["F606F62A92BA396C"] + AVERAGE_STR; } if (typeof(teamInfo["6CBD8279C339CCCFFA070A7B102F2A71"]) != "undefined" && teamInfo["6CBD8279C339CCCFFA070A7B102F2A71"]!="0"){ row =obj.insertRow(-1); cell = row.insertCell(-1); cell.innerHTML = TEAM_PRICE_STR; cell.align="right"; cell = row.insertCell(-1); cell.innerHTML = teamPriceFormat(lang, teamInfo["6CBD8279C339CCCFFA070A7B102F2A71"], teamInfo["6CBD8279C339CCCF54A0D29E3D6C8EB5FF3529A25124E9FE"]); } if (teamInfo["2B1A74B80063A830"] == 1) $$("logo_img").src = "//data-img.7mdt.com/football/team/"+teamId+".jpg?x-oss-process=image/resize,m_fill,w_112,h_112"; else if (teamInfo["2B1A74B80063A830"] == 2) $$("logo_img").src = "//data-img.7mdt.com/football/team/"+teamId+".gif?x-oss-process=image/resize,m_fill,w_112,h_112"; else $$("logo_img").src = "http://data.7msport.com/team_data/share_Img/err.gif"; size_Img($$("logo_img")); $$("mainshirt").innerHTML = "" + MAINSHIRT_STR + ""; $$("awayshirt").innerHTML = "" + AWAYSHIRT_STR + ""; if(teamInfo["0D22195632BD1C287671E3F0A0EC886A"] !="" ){ $$("tag2").style.display = ""; } if(teamInfo["23AC6858BF24021F"] !=""){ $$("tag3").style.display = ""; } if(teamInfo["E17A5F6F92350E0998D6FD2BB3BC3D9D"] !=""){ $$("tag4").style.display = ""; } if(typeof(teamInfo["339EB2C6C5868AED"]) !="undefined"){ $$("tag5").style.display = ""; } } loadBaseInfoOK = true; } } function loadGlory(){ if (!loadGloryOK){ $$("glory_td").innerHTML = teamInfo["0D22195632BD1C287671E3F0A0EC886A"]; loadGloryOK = true; } } function loadBest(){ if (!loadBestOK){ $$("best_td").innerHTML = teamInfo["23AC6858BF24021F"]; loadBestOK = true; } } function loadProfile(){ if(!loadProfileOK){ $$("profile_td").innerHTML = teamInfo["E17A5F6F92350E0998D6FD2BB3BC3D9D"]; loadProfileOK = true; } } function loadCoach(){ if (!loadCoachOK){ var obj = $$("coach_tb"); if (teamInfo["78FF1AB5AF5C44D34DB41A0EA2BE56F8"]!=""){ obj.rows[1].cells[0].innerHTML =teamInfo["78FF1AB5AF5C44D34DB41A0EA2BE56F8"]; } if(teamInfo["F7CA086F6FC0A17A"]==1 || teamInfo["F7CA086F6FC0A17A"]==2 ){ $$("e_coach_photo").src ="http://data.7msport.com/player_data/" + teamInfo["339EB2C6C5868AED"] + "/logo_img/player_photo" + (teamInfo["F7CA086F6FC0A17A"] == 1 ? ".jpg" : ".gif"); }else{ $$("e_coach_photo").src ="http://data.7msport.com/player_data/share_img/err.gif"; } obj = document.getElementById("coach_tb2"); var row,cell; if (teamInfo["1BB493FD74CF319A87F0858D78A18D01"]!=""){ row =obj.insertRow(-1); row.vAlign = "top"; cell=row.insertCell(-1); cell.width = "80px"; cell.innerHTML = "" + BIRTHDAY_STR + ""; cell=row.insertCell(-1); cell.innerHTML = teamInfo["1BB493FD74CF319A87F0858D78A18D01"]; } if (teamInfo["B3A1095C9EE738B3B515EDE0552BC422"]!=""){ row =obj.insertRow(-1); row.vAlign = "top"; cell=row.insertCell(-1); cell.width = "80px"; cell.innerHTML = "" + PLAYER_DATA_TITLE[0] + ""; cell=row.insertCell(-1); cell.innerHTML = teamInfo["B3A1095C9EE738B3B515EDE0552BC422"]; } if (teamInfo["534C1FC7DAF25A321AA552CC8D8268ED"]!=""){ row =obj.insertRow(-1); row.vAlign = "top"; cell=row.insertCell(-1); cell.width = "80px"; cell.innerHTML = "" + IN_CLUB_STR + ""; cell=row.insertCell(-1); cell.innerHTML =teamInfo["534C1FC7DAF25A321AA552CC8D8268ED"]; } if (teamInfo["938F319A1A9FBD67080C39FAAF431E58"]!=""){ row =obj.insertRow(-1); row.vAlign = "top"; cell=row.insertCell(-1); cell.width = "80px"; cell.innerHTML = "" + JOIN_DATA_STR + ""; cell=row.insertCell(-1); cell.innerHTML =teamInfo["938F319A1A9FBD67080C39FAAF431E58"]; } if (teamInfo["7EF75D1E4642E3E62AA0E15466819332"] != ""){ row =obj.insertRow(-1); row.vAlign = "top"; cell=row.insertCell(-1); cell.width = "80px"; cell.innerHTML = "" + PREVIOUS_CLUB_STR + ""; cell=row.insertCell(-1); cell.innerHTML =teamInfo["7EF75D1E4642E3E62AA0E15466819332"]; } if (teamInfo["3FFCEA12D25AA01C4DA84B60449FAC40"] != ""){ row =obj.insertRow(-1); row.vAlign = "top"; cell=row.insertCell(-1); cell.width = "80px"; cell.innerHTML = "" + ONCE_CLUB_STR + ""; cell=row.insertCell(-1); cell.innerHTML =teamInfo["3FFCEA12D25AA01C4DA84B60449FAC40"]; } if (teamInfo["76A6191E4A1B10775301F3C64695978E"] != ""){ row =obj.insertRow(-1); row.vAlign = "top"; cell=row.insertCell(-1); cell.width = "80px"; cell.innerHTML = "" + PERSONAL_HONOURS_STR + ""; cell=row.insertCell(-1); cell.innerHTML =teamInfo["76A6191E4A1B10775301F3C64695978E"]; } if ( teamInfo["7B89756F852CAAC9B0BFFB251E59B5BA"]!=""){ row =obj.insertRow(-1); row.vAlign = "top"; cell=row.insertCell(-1); cell.width = "80px"; cell.innerHTML = "" + PLAYER_DATA_TITLE[3] + ""; cell=row.insertCell(-1); cell.innerHTML =teamInfo["7B89756F852CAAC9B0BFFB251E59B5BA"]; } if (teamInfo["90024ADA60E09BCFED2A04F0D0E07833"]!="" ){ row =obj.insertRow(-1); row.vAlign = "top"; cell=row.insertCell(-1); cell.width = "80px"; cell.innerHTML = "" + PLAYER_DATA_TITLE[4] + ""; cell=row.insertCell(-1); cell.innerHTML =teamInfo["90024ADA60E09BCFED2A04F0D0E07833"]; } if (teamInfo["2210DCFB4B70D5C203A6E2BAFC6AA625"]!="" ) { row =obj.insertRow(-1); row.vAlign = "top"; cell=row.insertCell(-1); cell.width = "80px"; cell.innerHTML = "" + PROFILE_STR + ""; cell=row.insertCell(-1); cell.innerHTML =teamInfo["2210DCFB4B70D5C203A6E2BAFC6AA625"]; } loadCoachOK = true; } } function showMap() { var LANG_CODE = {"gb":"zh-CN","big":"zh-TW","en":"en", "vn":"vi", "th":"th", "kr":"ko"}; var mapwin = window.open('', "_blank", ''); mapwin.document.open('text/html', 'replace'); if(typeof(ADVISIBLE)!="undefined" && ADVISIBLE==false){ teamInfo["114ACB0A71E2DA7D"]=teamInfo["map"].replace("maps.google.com","ditu.google.cn") ; } var code = ''; mapwin.document.writeln(code); mapwin.document.close(); }