forked from rebillar/site-accueil-insa
22 lines
No EOL
734 B
PHP
Executable file
22 lines
No EOL
734 B
PHP
Executable file
<div class="score-counter" id="<?= $platformID ?>">
|
|
<img class="title-image" src="assets/images/titre-site-accueil.svg">
|
|
<div class="score-container">
|
|
<a href="stats.php">
|
|
<?php
|
|
$usaClass = '';
|
|
$urssClass = '';
|
|
if ($scoreUSA > $scoreURSS)
|
|
$usaClass = 'winning';
|
|
else if ($scoreUSA < $scoreURSS)
|
|
$urssClass = 'winning';
|
|
?>
|
|
<div class="score-usa <?= $usaClass ?>">
|
|
<?= $scoreUSA ?>
|
|
</div>
|
|
<div class="score-separator">|</div>
|
|
<div class="score-urss <?= $urssClass ?>">
|
|
<?= $scoreURSS ?>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</div>
|