</th> <th style='background-color:rgb(255, 61, 61);'><?php echo lang("Supprimer"); ?> </th> </tr> <?php foreach ($discussions as $key => $value) { ?> <tr class="lignesport"> <td><?php echo ucfirst($value['titre']); ?> </td> <td><?php echo DiffDate($value['creation_date']); ?> </td> <td><?php echo !empty($value['vues']) ? $value['vues'] : lang('Aucune vue.'); ?> </td> <td><?php echo $value['id_topic']; ?> </td> <td><?php echo $value['id']; ?> </td> <td id="<?php
foreach ($dataGroupUser as $key => $value) { ?> <a href="<?php goToPage('informationsgroupe', ['id' => $value['id_groupe']]); ?> "> <div class="infos_groupe"> <h2><?php echo $value["NomGroupe"]; ?> <span style="float:right; color:grey; text-style:italic; font-size:14px;"><?php echo $value['leader_groupe'] == 1 ? 'Leader' : ''; ?> </span></h2> <h4 ><span style='color:black; text-decoration: underline;'>Création :</span> <?php echo DiffDate($value['date_creation']); ?> </h4> <h4 ><span style='color:black; text-decoration: underline;'>Leader :</span> <?php echo $leader_groupe[$value['id']]; ?> </h4> <h4 ><span style='color:black; text-decoration: underline;'>Nombre maximum de membres :</span> <?php echo $value['nbmax_sportifs']; ?> </h4> </div> </a> <?php } ?>
?> <div class="notifMessage"> <div style=" align-content: center; display: flex;"> <div style="display:inline-flex; align-items:center;"> <img src="<?php echo image('svg/envelope.svg'); ?> " style="width:65px;" alt="" /> </div> <div style="display:inline-block; width:70%;vertical-align: top; padding:15px; font-family:Arial;"> <u><b>De</u></b> : <?php echo $value['pseudo']; ?> </br> <u><b>À</u></b> : <?php echo DiffDate($value['date']); ?> .</br> <u><b>Objet</u></b> : <?php echo $value['objet']; ?> .</br> <u><b>Message</u></b> : <?php echo $value['message']; ?> </div> </div> <a href="<?php echo goToPage('messageprive'); ?> ">