create_table_from_uni(); print $sug->display_form(); } else { //Sinon on effectue la conversion vers l'unimarc print ""; } } elseif($explnum_id) { $req = "select explnum_doc_data as data from explnum_doc where id_explnum_doc='".$explnum_id."'"; $res = mysql_query($req,$dbh); $expl = mysql_fetch_object($res); $file_name=SESSid."_".str_replace(" ","",microtime()); $file_name=str_replace(".","",$file_name); $fp=fopen("temp/".$file_name,"w+"); fwrite($fp,$expl->data); fclose($fp); $redirect=rawurlencode("../../acquisition.php?categ=sug&sub=multi&act=import&src_liste=".$src_liste."&origine_id=".$origine_id."&type_origine=".$type_origine); print ""; } else { error_form_message($msg["field_file_copy"]); } break; default: $sug_import->show_form(); break; } ?>