"; // on récupère les données $q = "select id_pclass,name_pclass,typedoc from pclassement where id_pclass='$id_pclass' "; $r = mysql_query($q, $dbh); if ($row = mysql_fetch_object($r)) { $identifiant = "
"; $identifiant.= "
".$id_pclass."
"; $libelle = $row->name_pclass; $typedoc=$row->typedoc; } else { error_form_message($msg["pclassement_modification_impossible"]); exit; } } else { //creation $title = $msg[pclassement_creation]; $delete_button = ''; $identifiant = ''; $libelle = ''; } $doctype = new marc_list('doctype'); $toprint_typdocfield = " "; $pclassement_form = str_replace('!!id_thes!!', $id_thes, $pclassement_form); $pclassement_form = str_replace('!!form_title!!', $title, $pclassement_form); $pclassement_form = str_replace('!!identifiant!!', $identifiant, $pclassement_form); $pclassement_form = str_replace('!!libelle!!', $libelle, $pclassement_form); $pclassement_form = str_replace('!!type_doc!!', $toprint_typdocfield, $pclassement_form); $pclassement_form = str_replace('!!update_url!!', $update_url, $pclassement_form); $pclassement_form = str_replace('!!delete_url!!', $delete_url, $pclassement_form); $pclassement_form = str_replace('!!cancel_url!!', $cancel_url, $pclassement_form); $pclassement_form = str_replace('!!delete_button!!', $delete_button, $pclassement_form); print $pclassement_form ;