if statement

This commit is contained in:
Lanta 2023-11-22 15:31:04 +01:00
parent f9add0ef20
commit 23b7ddac83

View file

@ -68,6 +68,7 @@ $ogDescription = "Dive into the detailed match stats of DTCH Clan in PUBG. Explo
if ($_GET['filter_by_match_type'] !== 'all' && $match['matchType'] !== $_GET['filter_by_match_type']) { if ($_GET['filter_by_match_type'] !== 'all' && $match['matchType'] !== $_GET['filter_by_match_type']) {
continue; continue;
} }
}
$date = new DateTime($match['createdAt']); $date = new DateTime($match['createdAt']);
$date->modify('+1 hours'); $date->modify('+1 hours');
$formattedDate = $date->format('m-d H:i:s'); $formattedDate = $date->format('m-d H:i:s');
@ -90,7 +91,7 @@ $ogDescription = "Dive into the detailed match stats of DTCH Clan in PUBG. Explo
<td><a href='matchinfo.php?matchid=" . $match['id'] . "'>" . $winPlace . "</a></td> <td><a href='matchinfo.php?matchid=" . $match['id'] . "'>" . $winPlace . "</a></td>
</tr>"; </tr>";
}
} }