imagesize

This commit is contained in:
Thijs Stobbelaar 2023-10-03 14:40:03 +02:00
parent 7d353d6e9a
commit e388e424f1

View file

@ -83,12 +83,12 @@ error_reporting(E_ALL);
if ($change < 0) {
$fontColor = "red";
$imagePath = "images\red.png";
$imagePath = 'images\red.png';
} elseif ($change > 0) {
$fontColor = "green";
$imagePath = "images\green.png";
$imagePath = 'images\green.png';
} else {
$fontColor = "black";
$fontColor = 'black';
$imagePath = "images\equal.png";
}
@ -104,7 +104,7 @@ error_reporting(E_ALL);
<td>$matches</td>
<td>$wins</td>
<td>$deaths</td>
<td style='color: $fontColor;'>$change<img src='$imagePath' alt='Change Indicator' style='vertical-align: middle;' width='50' height='50'/> </td>
<td style='color: $fontColor;'>$change<img src='$imagePath' alt='Change Indicator' style='vertical-align: right;' width='25' height='25'/> </td>
</tr>";
}