Example #1
0
         $modifClient->modifierClient();
         $mes = "Le client est modifié!";
         $pg_admin = "lister-client";
     }
     /* ************* Lister les professionnels ********************* */
 } else {
     if ($pg_admin == "lister-prof") {
         if ($numclient && $actif) {
             $leClient = new Client();
             $leClient->numclient = $numclient;
             if ($actif == "o") {
                 $leClient->actif = "n";
             } else {
                 $leClient->actif = "o";
             }
             $leClient->activerClient();
         } else {
             if ($supprof) {
                 $supProf = new Client();
                 $supProf->numclient = $supprof;
                 $supProf->supprimerClient();
                 $mes = "Le professionnel est supprimé !";
             }
         }
         /* ************* Ajouter ou modifier une brève internationale ********************* */
     } else {
         if ($pg_admin == "ajouter-breve") {
             if ($textTitre) {
                 $newBreve = new Breve();
                 $newBreve->titrePara = $textTitre;
                 $newBreve->contenuPara = $textCont;