";
echo $_POST['titre_jap']."
";
echo $_POST['titre_roman']."
";
echo $_POST['auteur']."
";
echo $_POST['editeur_jap']."
";
echo $_POST['genre1']."
";
echo $_POST['genre2']."
";
echo $_POST['genre3']."
";
echo $_POST['volume']."
";
echo $_POST['nombre_chapitre']."
";
echo $_POST['traduction_us']."
";
echo $_POST['categorie']."
";
echo $_POST['statut']."
";
echo $_POST['resume']."
";
echo $_POST['couverture']."
";
echo $_POST['extrait']."
";
echo $_POST['idProj']."
";
//Vérification de l'existance des variables
if(isset($_POST['titre_hhh']) and isset($_POST['titre_jap']) and isset($_POST['titre_roman']) and isset($_POST['auteur'])
and isset($_POST['editeur_jap']) and isset($_POST['genre1']) and isset($_POST['genre2']) and isset($_POST['genre3']) and isset($_POST['volume'])
and isset($_POST['nombre_chapitre']) and isset($_POST['traduction_us']) and isset($_POST['categorie']) and isset($_POST['statut'])
and isset($_POST['resume']) and isset($_POST['couverture']) and isset($_POST['extrait']))
{
$moproj = new ProjetManager();
//On apelle la méthode d'ajout de projet
$moproj->modProjet($_POST['categorie'], $_POST['titre_hhh'], $_POST['titre_jap'], $_POST['titre_roman'], $_POST['couverture'],
$_POST['extrait'], $_POST['auteur'], $_POST['volume'], $_POST['genre1'], $_POST['genre2'], $_POST['genre3'], $_POST['editeur_jap'],
$_POST['traduction_us'], $_POST['nombre_chapitre'], $_POST['resume'], $_POST['statut'], $_POST['idProj']);
}
?>