quick
menu

GAME ATTENDANCE

" +""); $("#goClan").attr("onclick", "location.href='/clan/myclan?env="+env+"'"); if (data != null && Object.keys(data).length > 0) { $("#pClanName").text(data.ClanName); $("#pClanMaster").text(data.ClanMasterNick); $("#pClanMember").html(data.ClanMembersNOW + "/" + data.ClanMembersMAX)+ ""; $("#pClanCreatedate").text(data.ClanCreated); $("#pClanRank").html(""+ data.ClanTitle + data.ClanScale); var expPer = parseFloat(data.ExpPer); $("#pClanExp").html(""+data.ClanExp+"("+expPer.toFixed(1)+")% / "+data.NextExp); $("#pClanExpBar").attr("style","width:"+expPer.toFixed(1)+"%;"); if(data.clanMarkValid == "success"){ $("#pClanLogo").attr("class", "logo cf"+data.clanMarkCF+" cm"+data.clanMarkCM+" bp"+data.clanMarkBP+" tl"+data.clanMarkTL); $("#pClanLogo").html("" +"" +"" +""); } $(".pop-up-clan, .dimmed").show(); }else { alert("An error occurred."); } }, error: function(xhr, status, error) { alert("status=" + xhr.status + "\nreadyState=" + xhr.readyState); } }); } function userInfo(env, nick){ $.ajax({ url: "/clan/detail", dataType : "json", type: "GET", data: "div=1&env="+env, contentType : "application/x-www-form-urlencoded;charset=UTF-8", success: function (data) { $("#pUserNick").text(""); $("#pUserExp").text(""); $("#pUserRank").text(""); $("#pUserClan").text(""); $("#pUserKill").text(""); $("#pUserDeath").text(""); $("#pUserHeadshot").text(""); $("#pUserClanMaster").text(""); $("#pUserClanMember").text(""); $("#pUserClanRank").text(""); $("#goProfile").attr("onclick", "location.href='/game/profile?env="+env+"'"); if (data != null) { $("#pUserNick").text(nick); $("#pUserExp").text(data.Exp); $("#pUserRank").text(data.Rank); $("#pUserClan").text(data.ClanName); $("#pUserKill").text(data.Kill); $("#pUserDeath").text(data.Death); $("#pUserHeadshot").text(data.Headshot); $("#pUserClanMaster").text(data.ClanMasterNick); $("#pUserClanMember").text(data.ClanTroops); $("#pUserClanRank").text(data.ClanExpRank); $(".pop-up-user, .dimmed").show(); } else { alert("An error occurred."); } }, error: function(xhr, status, error) { alert("status=" + xhr.status + "\nreadyState=" + xhr.readyState); } }); } //]]>

TOP quick
menu