commit
bf126d522f
1 changed files with 9 additions and 1 deletions
|
|
@ -29,7 +29,11 @@ error_reporting(E_ALL);
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "<br>";
|
echo "<br>";
|
||||||
echo "Stats for $key (minimal 8 matches)";
|
if($key == 'all'){
|
||||||
|
echo "Stats for $key (minimal 20 matches)";
|
||||||
|
}else{
|
||||||
|
echo "Stats for $key (minimal 8 matches)";
|
||||||
|
}
|
||||||
echo "<table border='1' class='sortable'>";
|
echo "<table border='1' class='sortable'>";
|
||||||
echo "<tr>
|
echo "<tr>
|
||||||
<th>Player</th>
|
<th>Player</th>
|
||||||
|
|
@ -52,6 +56,10 @@ error_reporting(E_ALL);
|
||||||
if ($player_data['matches'] < 8){
|
if ($player_data['matches'] < 8){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if ($key == 'all' && $player_data['matches'] < 20) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$player_name = $player_data['playername'];
|
$player_name = $player_data['playername'];
|
||||||
$deaths = number_format($player_data['deaths'], 0, ',', '');
|
$deaths = number_format($player_data['deaths'], 0, ',', '');
|
||||||
$kills = number_format($player_data['kills'], 0, ',', '');
|
$kills = number_format($player_data['kills'], 0, ',', '');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue