CHANGES
This commit is contained in:
parent
c8fdf5d3b7
commit
7f5f8295d1
1 changed files with 30 additions and 9 deletions
|
|
@ -32,9 +32,20 @@ error_reporting(E_ALL);
|
|||
echo "<br>";
|
||||
if ($key == 'all') {
|
||||
echo "Stats for $key (minimal 20 matches)";
|
||||
}else{
|
||||
}
|
||||
if ($key == 'Intense') {
|
||||
echo "Stats for $key (minimal 8 matches)";
|
||||
}
|
||||
if ($key == 'Casual') {
|
||||
echo "Stats for $key (minimal 8 matches)";
|
||||
}
|
||||
if ($key == 'official') {
|
||||
echo "Stats for $key (minimal 8 matches)";
|
||||
}
|
||||
if ($key == 'ranked') {
|
||||
echo "Stats for $key (minimal 5 matches)";
|
||||
}
|
||||
|
||||
echo "<table border='1' class='sortable'>";
|
||||
echo "<tr>
|
||||
<th>Player</th>
|
||||
|
|
@ -54,10 +65,20 @@ error_reporting(E_ALL);
|
|||
if (!isset($player_data['playername']) || is_null($player_data['playername'])) {
|
||||
continue; // Skip this iteration and move to the next
|
||||
}
|
||||
if ($player_data['matches'] < 8){
|
||||
|
||||
if ($key == 'all' && $player_data['matches'] < 20) {
|
||||
continue;
|
||||
}
|
||||
if ($key == 'all' && $player_data['matches'] < 20) {
|
||||
if ($key == 'Intense' && $player_data['matches'] < 8) {
|
||||
continue;
|
||||
}
|
||||
if ($key == 'Casual' && $player_data['matches'] < 8) {
|
||||
continue;
|
||||
}
|
||||
if ($key == 'official' && $player_data['matches'] < 8) {
|
||||
continue;
|
||||
}
|
||||
if ($key == 'ranked' && $player_data['matches'] < 5) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue