<table id="table_security" class="table table-bordered table-condensed tablesorter" > <thead> <tr> <th class="ip" style="width: 80px;">{{IP}}</th> <th class="username">{{Utilisateur}}</th> <th class="username">{{Localisation}}</th> <th class="failure">{{Echec de connexion}}</th> <th class="datetime">{{Date}}</th> <th class="username">{{Statut}}</th> <th class="username">{{Informations}}</th> <th class="username" style="width: 200px;">{{Action}}</th> </tr> </thead> <tbody> <?php foreach (connection::all() as $connection) { echo '<tr data-id="' . $connection->getId() . '">'; echo '<td class="ip">'; echo $connection->getIp(); echo '</td>'; echo '<td>'; echo $connection->getUsername(); echo '</td>'; echo '<td>'; echo $connection->getLocalisation(); echo '</td>'; echo '<td>'; echo $connection->getFailure(); echo '</td>'; echo '<td>'; echo $connection->getDatetime();