$msg[admin_conversion_end1] $import_type_l $msg[admin_conversion_end2].


\n"; print "
".round($percent)."%
"; print "
".$n_current." ".$msg["admin_conversion_end3"]; if ($n_errors!=0) { print ", ".$n_errors." ".$msg["admin_conversion_end4"]; $requete="select error_text from error_log where error_origin='convert.log ".$origine."'"; $resultat=mysql_query($requete); while (list($err_)=mysql_fetch_row($resultat)) { $errors_msg.=$err_; } } require ($include_path."/templates/admin.tpl.php"); if (ereg("",$admin_convert_end)) { //Ajout du selecteur de choix de fonction d'import if(file_exists($base_path."/admin/import/func_import_subst.xml")){ $table_list_func_import=_parser_text_no_function_(file_get_contents($base_path."/admin/import/func_import_subst.xml"),"CATALOG"); }elseif(file_exists($base_path."/admin/import/func_import.xml")){ $table_list_func_import=_parser_text_no_function_(file_get_contents($base_path."/admin/import/func_import.xml"),"CATALOG"); } $code_js=""; if(is_array($table_list_func_import["ITEM"]) && count($table_list_func_import["ITEM"])){ if($_SESSION["func_import_model"]){ $func_import_model=$_SESSION["func_import_model"]; }elseif(!$pmb_import_modele) { $func_import_model="func_bdp.inc.php"; } else { $func_import_model=$pmb_import_modele; } $incr=0; $text_desc_func_import=""; $name_func="func_import"; $code_js.=""; $formulaire=$selecteur_fic; $formulaire.="\n"; $formulaire.=$code_js; $admin_convert_end=str_replace("",$formulaire,$admin_convert_end); } } print $admin_convert_end;