} else { $_SESSION['TailleCubeSelect'] = $managerMeth->getCubTailleMethodeParNum($_SESSION['numMethode']); } $list = $managerChap->getAllChapitreParMethode($_SESSION['numMethode']); $NbrChapitreParMethode = sizeof($list); if (empty($_POST['titreChap']) && empty($_POST['descriptionChap'])) { ?> <h1> ajout d'un chapitre pour la méthode : <?php echo $_SESSION['nomMethode']; ?> </h1> <p> <?php $descriptionMeth = $managerMeth->getDescriptionMethodeParNum($_SESSION['numMethode']); echo $descriptionMeth; ?> </p> <fieldset> <legend>Commentaire de l'administrateur :</legend> <?php $commentaire = $managerMeth->getCommentaireParMethode($_SESSION['numMethode']); echo $commentaire; ?> </fieldset> <br /> <form method="post" action="#"> <fieldset> <legend>Ajouter un chapitre</legend>