Début Code PHP * *********** */ /* Initialisation des variables */ print_page_begin($disable_full_page, $menu_file); flush(); $page_default = substr(strrchr($_SERVER['PHP_SELF'], '/'), '1', '-4'); $page_query = $_SERVER['QUERY_STRING']; $page_action = $page_default . '.php'; $page_pdf = $page_default . '_pdf.php'; $method = 'POST'; //Pour une url > 2000 caractères, ne pas utiliser utiliser GET $html_table = 'table ' . 'border=0 ' . 'width=100% ' . 'class=contenu '; $globalConfig = new GlobalConfig(); $globalConfig->refreshTableInDatabaseDescription(FteFournisseurModel::TABLENAME); $titre = UserInterfaceMessage::FR_CLASSIFICATION_ADD_ELEMENT_MESSAGE; $htmlTableFteFournisseur = FteFournisseurModel::getHtmlTableFteElement(); $bloc = $htmlTableFteFournisseur; /* Sélection du mode d'affichage */ switch ($output) { /* * *********** Début Code PDF * *********** */ case 'pdf': //Constructeur $pdf = new XFPDF(); //Déclaration des variables de formatages $police_standard = 'Arial';
*/ /* * *********** Début Code PHP * *********** */ require_once '../inc/main.php'; print_page_begin($disable_full_page, $menu_file); flush(); $page_default = substr(strrchr($_SERVER['PHP_SELF'], '/'), '1', '-4'); $page_query = $_SERVER['QUERY_STRING']; $page_action = $page_default . '.php'; $page_pdf = $page_default . '_pdf.php'; $method = 'POST'; //Pour une url > 2000 caractères, ne pas utiliser utiliser GET $html_table = 'table ' . 'border=0 ' . 'width=100% ' . 'class=contenu '; $globalConfig = new GlobalConfig(); $globalConfig->refreshTableInDatabaseDescription(AnnexeListeAllergeneDicoModel::TABLENAME); $titre = "Liste des Allergènes en MAJUSCULE"; $htmlTableClassificationElement = AnnexeListeAllergeneDicoModel::getHtmlTableListeAllergene(); $bloc = $htmlTableClassificationElement; /* Sélection du mode d'affichage */ switch ($output) { /* * *********** Début Code PDF * *********** */ case 'pdf': //Constructeur $pdf = new XFPDF(); //Déclaration des variables de formatages $police_standard = 'Arial';
/* Initialisation des variables */ print_page_begin($disable_full_page, $menu_file); flush(); $page_default = substr(strrchr($_SERVER['PHP_SELF'], '/'), '1', '-4'); $page_query = $_SERVER['QUERY_STRING']; $page_action = $page_default . '.php'; $page_pdf = $page_default . '_pdf.php'; $method = 'POST'; //Pour une url > 2000 caractères, ne pas utiliser utiliser GET $html_table = 'table ' . 'border=0 ' . 'width=100% ' . 'class=contenu '; $paramIdClaasifElement = Lib::getParameterFromRequest(ClassificationArborescenceArticleCategorieModel::KEYNAME); if ($paramIdClaasifElement) { $globalConfig = new GlobalConfig(); $globalConfig->refreshTableInDatabaseDescription(ClassificationArborescenceArticleCategorieContenuModel::TABLENAME); $titre = UserInterfaceMessage::FR_CLASSIFICATION_ADD_ELEMENT_MESSAGE; $htmlTableClassificationElement = ClassificationArborescenceArticleCategorieContenuModel::getHtmlTableClassificationElement($paramIdClaasifElement); } else { $titre = UserInterfaceMessage::FR_CLASSIFICATION_ELEMENT_MESSAGE; } $listeDesClassifElement = ClassificationArborescenceArticleCategorieModel::getListeDeroulanteClassifElement($paramIdClaasifElement, Chapitre::EDITABLE); $bloc = $listeDesClassifElement . $htmlTableClassificationElement; /* Sélection du mode d'affichage */ switch ($output) { /* * *********** Début Code PDF * *********** */ case 'pdf':