";
}
}
} else {
//Recherche "simple"
//Pour chaque case cochée, on construit et on lance la recherche multicritère correspondante
global $external_sources, $source, $selected_sources;
$selected_sources = implode(',', $source);
$look_array=array("TITLE","AUTHOR","PUBLISHER","COLLECTION","SUBCOLLECTION","CATEGORY","INDEXINT","KEYWORDS","ABSTRACT","ALL");
$look_id=array(6,8,3,4,5,1,2,12,13,7);
$look_msg=array("titles","authors","publishers","collections","subcollections","categories","indexint","keywords","abstract","tous");
if (count($source)==0) {
$flag=true;
$search_error_message=$msg["connecteurs_no_source"];
}
if (!$flag) {
if(empty($search)) {
$search=array();
}
$search[0]="s_2";
global $op_0_s_2;
$op_0_s_2="EQ";
global $field_0_s_2;
$field_0_s_2=$source;
for ($i=0; $imake_search("f_".$look_id[$k]);
$requete="select count(1) from $table";
$resultat=pmb_mysql_query($requete);
$nb_result_partial=@pmb_mysql_result($resultat,0,0);
if ($nb_result_partial) {
$nb_result_external+=$nb_result_partial;
print "\n";
}
}
}
//Enregistrement des stats
if($pmb_logs_activate){
global $nb_results_tab;
$nb_results_tab['external'] = $nb_result_external;
}
}
}
?>