<div class="home">
    <?php
    if(empty($_SESSION['tl_login'])){
    echo '
    <form class="auth" name="authentification" method="POST" action="index.php?uc=auth" align="right">
        <input type="text" name="login"></input>
        <input type="password" name="mdp"></input>
        <button type="submit">OK</button>
    </form>';}
    ?>
    <div id="Home_title">Liste de tous les véhicules</div>
    <table class="table table-striped">   
        <tr>
            <th>N°</th>
            <th>Marque</th>
            <th>Modèle</th>
            <th>Km</th>
            <th>Prix</th>
        </tr>
        <?php
        $c = 0;
        foreach ($lesVehicules as $leVehicule) {
            $c++;
            echo '<tr>'
            . '<td><a href="index.php?uc=accueil&action=detail&id='.$leVehicule['vh_id'].'">'. $c .'</a></td>'
            . '<td>' . $leVehicule['mq_libelle'] . '</td>'
            . '<td>' . $leVehicule['md_libelle'] . '</td>'
            . '<td>' . $leVehicule['vh_km'] . '</td>'
            . '<td>' . number_format($leVehicule['vh_prix'], 2, ',', ' ') . ' €</td>'
            . '</tr>';
        }
        ?>
    </table>
</div>