You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.7 KiB

<!doctype html>
<html lang="en">
<head>
<title>Scripted</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS v5.2.1 -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
</head>
<body>
<h1>Partie Terminée !</h1>
<p>Bien joué à tous la partie est finis, voici le classement :</p>
<table class="table">
<thead>
<tr>
<th scope="col">Classement</th>
<th scope="col">Nom</th>
<th scope="col">Point</th>
<th scope="col">Temps</th>
</tr>
</thead>
<tbody>
<?php
foreach ($lesInfos as $info)
{
echo "<tr>";
echo "<th scope='row'> X </th>";
echo "<td>".$info[0]->getPseudo()."</td>";
echo "<td>".$info[1]->getPseudo()."</td>";
echo "<td>".$info[2]->getPseudo()."</td>";
echo "</tr>";
}
?>
<tr>
<th scope="row">1</th>
<td>John</td>
<td>100</td>
<td>00:00:00</td>
</tr>
</tbody>
<!-- Bootstrap JavaScript Libraries -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"
integrity="sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3" crossorigin="anonymous">
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/js/bootstrap.min.js"
integrity="sha384-7VPbUDkoPSGFnVtYi0QogXtr74QeVeeIs99Qfg5YCF+TidwNdjvaKZX19NZ/e6oz" crossorigin="anonymous">
</script>
</body>
</html>