<?php require_once 'autoload.inc.php'; session_start(); if (isset($_GET["seeall"]) && isset($_SESSION["membre"]) && $_SESSION["membre"] instanceof Membre) { $_SESSION["membre"]->lireTousCommentaires(); } if (isset($_GET["voir"]) && is_numeric($_GET["voir"]) && isset($_SESSION["membre"]) && $_SESSION["membre"] instanceof Membre) { $_SESSION["membre"]->lireCommentaire($_GET["voir"]); } $g = new Gestionnaire(); $act = $g->listeActivite(); echo <<<HTML <!doctype html> <html> <head> <meta charset="utf-8"> <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'> <link href='style.css' rel='stylesheet' type='text/css'> <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> <title>Activité</title> <style> body { margin: 0; padding: 0; } .fa-check { color: green; } .fa-check.pasLu {