?> </td> <td><?php echo $group->visibilité == 1 ? 'public' : 'privé'; ?> </td> <td><?php echo $group->description; ?> </td> <td><?php echo $group->nbmaxutil == 0 ? 'inf' : $group->nbmaxutil; ?> </td> <td><?php echo Vue::date('d/m/Y H:i:s', $group->creation); ?> </td> <td><?php echo $group->dept; ?> </td> <td><?php echo $niveau[$group->niveau]; ?> </td> </tr> <?php } ?> </table>
foreach ($discussions as $discussion) { ?> <li> <a href="<?php page('forumDiscussion', ["id" => $discussion->id]); ?> "> <div class="boutton-discussion"> <div class="parti-boutton"> <h1><?php echo $discussion->titre; ?> </h1> <p><?php lang('date'); echo Vue::date("d/m/Y", $discussion->creation) . " à " . Vue::date("H:i:s", $discussion->creation); ?> par <?php echo $discussion->prénom . " " . $discussion->nom; ?> </p> </div> <div class="parti-boutton-2"> <h2><?php echo $discussion->nb_msg; ?> <?php lang('messages'); ?> </h2> </div>
<input type="hidden" name="niveau" value="0"> <span class="rectangle filled" onclick="modifniveau(this)"></span> <span class="rectangle" onclick="modifniveau(this)"></span> <span class="rectangle" onclick="modifniveau(this)"></span> <span class="rectangle" onclick="modifniveau(this)"></span> <span class="rectangle" onclick="modifniveau(this)"></span> </div> <span class="liste-desc"><?php lang('élevé'); ?> </span> </div> <div class="post"> <p><b><?php lang('posted'); echo Vue::date("d/m/Y à H:i:s", $message->date); ?> </b></p> </div> </div> </div> </li> <?php } ?> </br></br> <div class="line"></div> </br> </ul> <?php }
?> " class="box"> <h3><?php echo $events['name']; ?> </h3> <table> <?php foreach ($events['cal'] as $event) { ?> <tr> <th><?php echo Vue::date("G\\hi", $event[1]); ?> - <?php echo Vue::date("G\\hi", $event[2]); ?> </th> <td><?php echo $event[0]; ?> </td> </tr> <?php } ?> </table> </a> </div> <?php }
public function addEvent($id) { $dstart = "{$_POST['dannée']}-{$_POST['dmois']}-{$_POST['djour']} {$_POST['dheure']}:{$_POST['dmin']}:00"; $dend = "{$_POST['fannée']}-{$_POST['fmois']}-{$_POST['fjour']} {$_POST['fheure']}:{$_POST['fmin']}:00"; $q = "INSERT INTO planning (id_groupe, activité, description, date, dstart, dend)\n VALUES (?,?,?,?,?,?)"; $this->executerRequete($q, [$id, $_POST['titre'], $_POST['desc'], Vue::date('Y-m-d', $dstart), $dstart, $dend]); }
</option> </select> </td> </tr> <tr> <th><?php lang('date-birth'); ?> </th> <td> <span><?php echo Vue::date('d/m/Y', $infos->naissance); ?> </span> <?php $date = explode('/', Vue::date('d/m/Y', $infos->naissance)); ?> <select class="modif-form dropdown" name="jour"> <option value="option" disabled selected><?php lang('jour'); ?> </option> <?php for ($i = 0; $i < 31; $i++) { ?> <?php $sel = intval($date[0]) == $i + 1 ? 'selected' : ''; ?> <option value="<?php echo $i + 1; ?>
<input type="hidden" name="value" value="<?php echo $membre->id_utilisateur; ?> "> <button type="submit" name="ok" class="button light btn-right"><?php lang('Accepter'); ?> </button> <button type="submit" name="ko" class="button light btn-right"><?php lang('Refuser'); ?> </button> </form> <h3><?php lang('request-on'); echo Vue::date('d/m/Y à H:i:s', $membre->autoinvite_date); ?> </h3> </div> </a> <?php } ?> </div> <?php } else { ?> <p class="txt-center-warn"> <?php lang('no-request'); ?>
foreach ($discussions as $disc) { ?> <a href="<?php page('groupe-message', ['id' => $presentation_groupe->id, 'id_disc' => $disc->id_discussion]); ?> "> <li> <div class="boutton-discussion"> <div class="parti-boutton"> <h1><?php echo $disc->titre; ?> </h1> <p><?php lang('date'); echo Vue::date('d/m/Y', $disc->creation); lang('par'); echo $disc->prénom . " " . $disc->nom; ?> </p> </div> <div class="parti-boutton-2"> <h2><?php echo $disc->nb; lang('messages'); ?> </h2> </div> </div> </li> </a>
?> %; width: <?php echo str_replace(',', '.', $pos['width'][$key]); ?> %" title="<?php echo $ev->description; ?> "> <p> <?php echo $ev->titre; ?> </p> <p> <?php echo Vue::date('H:i', $ev->dstart) . " - " . Vue::date('H:i', $ev->dend); ?> </p> </div> <?php } ?> <?php } ?> <?php $h = date('h'); ?> <?php for ($i = -2; $i < 4; $i++) { ?>
?> </td> <td><?php echo Vue::date('d/m/Y', $user->naissance); ?> </td> <td><?php echo isset($user->token) ? 'Non' : 'Oui'; ?> </td> <td><?php echo $user->ban == 0 ? 'Non' : 'Oui'; ?> </td> <td><?php echo isset($user->ban_date) ? Vue::date('d/m/Y H:i:s', $user->ban_date) : '-'; ?> </td> </tr> <?php } ?> </table> </div> <div class="nav-pages"> <?php if (isset($prec)) { ?> <a href="<?php page('backoffice-user'); ?>