Esempio n. 1
0
            $bloc .= "<a href=# onClick=confirmation_correction_classification" . $key . "() > " . "<img src=../lib/images/supprimer.png alt=Supprimer cette Classification  width=24 height=24 border=0 />" . "</a></td>";
            $javascript .= '
                           <SCRIPT LANGUAGE=JavaScript>
                                   function confirmation_correction_classification' . $key . '()
                                   {
                                   if(confirm(\'Etes vous certain de vouloir supprimer cette classification ? \'))
                                   {
                                       location.href =\'classification_modifier_post.php?id_fta_classification2=' . $key . '&action=supprimer\'
                                   }
                                    else{}
                                   }
                           </SCRIPT>
                           ';
            $Ajout = " Ajout d'une classification:<a href=classification_modifier.php?isEditable=TRUE><img src=\"../lib/images/plus.png\"/\" alt=\"\" width=\"10\" height=\"10\" border=\"0\" /></a>";
        }
        $bloc .= "<td >" . ClassificationFta2Model::getNameClassification($value[ClassificationFta2Model::FIELDNAME_ID_PROPRIETAIRE_GROUPE]) . "</td>" . "<td >" . ClassificationFta2Model::getNameClassification($value[ClassificationFta2Model::FIELDNAME_ID_PROPRIETAIRE_ENSEIGNE]) . "</td>" . "<td >" . ClassificationFta2Model::getNameClassification($value[ClassificationFta2Model::FIELDNAME_ID_MARQUE]) . "</td>" . "<td >" . ClassificationFta2Model::getNameClassification($value[ClassificationFta2Model::FIELDNAME_ID_ACTIVITE]) . "</td>" . "<td >" . ClassificationFta2Model::getNameClassification($value[ClassificationFta2Model::FIELDNAME_ID_RAYON]) . "</td>" . "<td >" . ClassificationFta2Model::getNameClassification($value[ClassificationFta2Model::FIELDNAME_ID_ENVIRONNEMENT]) . "</td>" . "<td >" . ClassificationFta2Model::getNameClassification($value[ClassificationFta2Model::FIELDNAME_ID_RESEAU]) . "</td>" . "<td >" . ClassificationFta2Model::getNameClassification($value[ClassificationFta2Model::FIELDNAME_ID_SAISONNALITE]) . "</td>";
        $bloc .= "</tr>";
    }
}
/*
 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";