<div class="card statistiques common-card no-padding admin-liste">
    <div class="col-sm-12" id="tableConnexionsBo" style="margin-top: 20px; overflow-x: auto; padding-bottom: 8px;">
        <table class="display dataTable table table-bordered" border="1" cellpadding="5" cellspacing="0" align="center">
            <thead>
                <tr>
                    <th style="text-align: center; vertical-align: middle; font-size: small;">Connexions BO</th>
                    <?php foreach ($allMois as $nomMois => $mois): ?>
                        <th style="text-align: center; vertical-align: middle; min-width: 60px; font-size: small;">
                            <?php echo $nomMois; ?>
                        </th>
                    <?php endforeach; ?>
                    <th style="text-align: center; vertical-align: middle; min-width: 60px; font-size: small;">Total</th>
                </tr>
            </thead>
            <tbody>
                <?php foreach ($lignes as $nomLigne => $ligne): ?>
                    <tr>
                        <td style="text-align: center; vertical-align: middle; font-size: small;"><?php echo $nomLigne; ?></td>
                        <?php foreach ($allMois as $nomMois => $mois): ?>
                            <td style="text-align: center; vertical-align: middle; font-size: small;">
                                <?php echo isset($ligne[$nomMois]) ? $ligne[$nomMois] : 0; ?>
                            </td>
                        <?php endforeach; ?>
                        <td style="text-align: center; vertical-align: middle; font-size: small;">
                            <?php echo isset($ligne['Total']) ? $ligne['Total'] : 0; ?>
                        </td>
                    </tr>
                <?php endforeach; ?>
            </tbody>
        </table>
    </div>
</div>