<div class="container-fluid">
  <div class="row">
    <div class="col">
      <p><a href="javascript:form(0);">Nouvel utilisateur</a></p>
    </div>
  </div>
  <?php if ($bo_users): ?>
    <div class="row">
      <div class="col p-0">
        <p><?=count($bo_users);?> résultat<?=((count($bo_users)>1)?"s":"");?></p>
        <table class="table table-sm table-striped">
          <thead class="table-dark">
            <tr>
              <th>Pseudo</th>
              <th>Dernière connexion</th>
              <th>&nbsp;</th>
            </tr>
          </thead>
          <tbody>
            <?php foreach ($bo_users as $key => $user): ?>
              <tr>
                <td><a href="javascript:form(<?=$user['id'];?>);"><?=$user['pseudo'];?></a></td>
                <td><a href="javascript:form(<?=$user['id'];?>);"><?=$user['last_co'];?></a></td>
                <td> <button type="button" class="btn btn-sm btn-danger" onclick="javascript:alert('suppresion a faire');">suppr</button> </td>
              </tr>
            <?php endforeach; ?>
          </tbody>
        </table>
      </div>
    </div>
  <?php else: ?>
    <div class="row">
      <div class="col">
        <p>Aucun résultat...</p>
      </div>
    </div>
  <?php endif; ?>
</div>
