} } spl_autoload_register("classLoad"); include '../config.php'; //classes loading end session_start(); if (isset($_SESSION['userMerlaTrav']) and $_SESSION['userMerlaTrav']->profil() == "admin") { //classes managers $employeManager = new EmployeManager($pdo); $paiementManager = new PaiementEmployeManager($pdo); //classes and attributes $idEmploye = $_GET['idEmploye']; $idProjet = $_GET['idProjet']; $employe = $employeManager->getEmployeById($idEmploye); $projet = $projetManager->getProjetById($idProjet); $paiements = $paiementManager->getPaiementsByIdProjetByIdEmploye($idProjet, $idEmploye); $totalPaiements = $paiementManager->getTotalPaiementsByIdProjetByIdEmployegetTotalPaiementsByIdProjetByIdEmploye($idProjet, $idEmploye); //property data $programme = $projet->nom(); ob_start(); ?> <style type="text/css"> h1{ text-align: center; text-decoration: underline; } table { width: 100%; } .contratSection, .observationSection