// echo $playerJson["club"]["name"];
$tagWithoutHash=str_replace("#", "", $playerJson["tag"] );
?>
#
//$test=$playerJson["brawlers"];
//$test = json_decode($playerJson["brawlers"], true);
?>
Brawler Profil => Eric❤️Madina
- Status:
- Active
- Name:
- Eric❤️Madina
- Tag:
$tagWithoutHash=str_replace("#", "", $playerJson["tag"] );
?>
- #2QYV98G8J
- Club:
- SKEZz Crew🌪️
- Tag:
if (isset($playerJson["club"]["tag"])){
$tagWithoutHash=str_replace("#", "", $playerJson["club"]["tag"] );
?>
- #2UU0Y2JLP
}
?>
- Top Brawlers:
-
$counter=0;
foreach ($playerJson["brawlers"] as $rowElement) {
$counter +=1;
$link="";
// get brawler image
if (isset ( $imageArrayBrawlers[$rowElement["id"]]["imageName"] ) )
$brawlerImage=IMAGE_PATH_BRAWLERS . $imageArrayBrawlers[$rowElement["id"]]["imageName"];
else
$brawlerImage = IMAGE_PATH_BRAWLERS ."/default.png";
echo '
';
if ($counter==4)
break;
}
$PLAYER_HIGHEST_TROPHIES = 125592;
$progessBar = number_format($playerJson["trophies"] * 100 / $PLAYER_HIGHEST_TROPHIES, 2);
?>
//echo "11111". $gamertag."####";
$playerBattleLogJson = loadInterfacePlayerBattleLog($gamertag, $limit, $cipHtmlFW);
//print_r($playerJson);
/*
foreach ($playerJson as $row) {
echo $row["tag"];
}
*/
$playerBattleLogJson = json_decode($playerBattleLogJson, true);
//echo $playerJson["tag"];
//print_r($playerJson);
//print_r( $playerJson["brawlers"]);
//
// | ' . $rowElement["rank"] . ' |
// ' . $rowElement["name"] . ' ' . $rowElement["name"] . ' |
// ' . $rowElement["trophies"] . ' |
// ' . $rowElement["highestTrophies"] . ' |
// ' . $rowElement["rank"] . ' |
// |
// 1 |
//
$teamCouner=0;
$battleResult="";
$battleDuration="";
foreach ($playerBattleLogJson["items"] as $rowElement) {
if (isset($rowElement["battle"]["result"]))
$battleResult = $rowElement["battle"]["result"];
if (isset($rowElement["battle"]["duration"]))
$battleDuration = $rowElement["battle"]["duration"];
echo '
';
//
Id | ' . $rowElementTeams[0]["brawler"]["id"] . ' |
if (isset($rowElement["battle"]["teams"])){
echo'
| # |
Player |
Trophies |
Power |
Tag |
';
$teamCouner=0;
foreach ($rowElement["battle"]["teams"] as $rowElementTeams) {
$teamCouner +=1;
$tagWithoutHash=str_replace("#", "", $rowElementTeams[0]["tag"] );
echo '
| ' . $teamCouner. ' |
' . $rowElementTeams[0]["name"] . ' ' . $rowElementTeams[0]["name"] . ' |
' . $rowElementTeams[0]["brawler"]["trophies"] . ' |
' . $rowElementTeams[0]["brawler"]["power"] . ' |
' . $rowElementTeams[0]["tag"] . ' |
';
}
echo '
';
}
} //////########
?>
User activity
Highest Power Play Points
0
Best Robo Rumble Time
5
Best Time As Big Brawler
0
3vs3 Victories
17861
Solo Victories
2140
Duo Victories
1551
include($_SERVER['DOCUMENT_ROOT'] . '/../core/lib/html/ibox.bestPlayers.php');
include($_SERVER['DOCUMENT_ROOT'] . '/../core/lib/html/ibox.bestClubs.php');
?>