UEM LoL Elo-Challenge"; echo "
"; echo "
"; echo ""; echo "
"; $placement_counter = 1; foreach ($tracker->getProgressions() as $puuid => $progress){ echo "
"; $entries = $tracker->entries[$puuid]; $account = $tracker->accounts[$puuid]; $start_elo = reset($entries); if ($start_elo->tier == "MASTER" || $start_elo->tier == "GRANDMASTER" || $start_elo->tier == "CHALLENGER") $start_elo->rank = ""; $current_elo = end($entries); if ($current_elo->tier == "MASTER" || $current_elo->tier == "GRANDMASTER" || $current_elo->tier == "CHALLENGER") $current_elo->rank = ""; $progress = ($progress>=0) ? "+$progress" : $progress; $tier_lowercase = strtolower($current_elo->tier); $start_tier_lowercase = strtolower($start_elo->tier); $tier_ucfirst = ucfirst($tier_lowercase); $start_tier_ucfirst = ucfirst($start_tier_lowercase); $gained_lp_sign = ($progress > 0) ? " plus-lp" : (($progress < 0) ? " minus-lp" : "no-lp"); echo "$placement_counter."; echo "

$account->gameName#$account->tagLine

$progress LP

"; echo "
"; echo "
{$start_tier_ucfirst} {$start_elo->rank}
{$start_elo->points} LP
{$tier_ucfirst} {$current_elo->rank}
{$current_elo->points} LP
"; echo "
"; echo ""; $placement_counter++; } echo "
"; echo "
"; ?>