Exemplo n.º 1
0
 $table['niveau_hierar'] = $h_level;
 $table['ill'] = $f_ill;
 $table['size'] = $f_size;
 $table['prix'] = $f_prix;
 $table['accomp'] = $f_accomp;
 $table['npages'] = $f_npages;
 $table['indexation_lang'] = $indexation_lang;
 if ($table['date_date'] == '0000-00-00' || !isset($date_date_lib)) {
     $table['year'] = "";
 } else {
     $table['year'] = substr($table['date_date'], 0, 4);
 }
 $table['date_parution'] = $table['date_date'];
 $p_perso = new parametres_perso("notices");
 $nberrors = $p_perso->check_submited_fields();
 $table['force_empty'] = $p_perso->presence_exclusion_fields();
 if ($_FILES['f_img_load']['name'] && $pmb_notice_img_folder_id) {
     $table['force_empty'] = "f_img_load";
 }
 //Pour la synchro rdf
 if ($pmb_synchro_rdf) {
     require_once $class_path . "/synchro_rdf.class.php";
     $synchro_rdf = new synchro_rdf();
     if ($bul_id) {
         $synchro_rdf->delRdf(0, $bul_id);
     }
 }
 if (!$nberrors) {
     $myBulletinage = new bulletinage($bul_id, $serial_id);
     $result = $myBulletinage->update($table);
 } else {