fixedfields[$s[1]]["TITLE"]; } elseif ($s[0]=="s") { $champ=$es->specialfields[$s[1]]["TITLE"]; } else { $champ=$es->pp->t_fields[$s[1]]["TITRE"]; } if ((string)$field[0]=="") { $search_error_message=sprintf($msg["extended_empty_field"],$champ); $flag=true; break; } } } if (!$flag) { $es->remove_forbidden_fields(); $table=$es->make_search(); $requete="select count(1) from $table"; $resultat=mysql_query($requete); $nb_result_external=@mysql_result($resultat,0,0); if ($nb_result_external) { print pmb_bidi("".$es->make_human_query()." ".$nb_result_external." $msg[results] "); print "$msg[suite] 

"; } } } else { //Recherche "simple" //Pour chaque case cochée, on construit et on lance la recherche multicritère correspondante global $external_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) { $search[0]="s_2"; $op_0_s_2="EQ"; $field_0_s_2=$source; for ($i=0; $imake_search("f_".$look_id[$k]); $requete="select count(1) from $table"; $resultat=mysql_query($requete); $nb_result_partial=@mysql_result($resultat,0,0); if ($nb_result_partial) { $nb_result_external+=$nb_result_partial; print "
\n"; print " \n"; for ($j=0; $j\n"; } print " "; print pmb_bidi("".$msg[$look_msg[$k]]." ".$nb_result_partial." $msg[results] "); print "$msg[suite] 
"; print "\n"; } } } //Enregistrement des stats if($pmb_logs_activate){ global $nb_results_tab; $nb_results_tab['external'] = $nb_result_external; } } } ?>