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]=="") && (!$es->op_empty[$$op])) {
$search_error_message=sprintf($msg["extended_empty_field"],$champ);
$flag=true;
break;
}
}
}
if (!$flag) {
$searcher_extended = new searcher_extended();
$searcher_extended->get_result();
$nb_result_extended = $searcher_extended->get_nb_results();
// Enregistrement des stats
if($pmb_logs_activate){
global $nb_results_tab;
$nb_results_tab['extended'] = $nb_result_extended;
}
if($opac_allow_affiliate_search){
$search_result_affiliate_extented = str_replace("!!mode!!","extended",$search_extented_result_affiliate_lvl1);
$search_result_affiliate_extented = str_replace("!!search_type!!","notices",$search_result_affiliate_extented);
$search_result_affiliate_extented = str_replace("!!label!!",$es->make_human_query(),$search_result_affiliate_extented);
$search_result_affiliate_extented = str_replace("!!nb_result!!",$nb_result_extended,$search_result_affiliate_extented);
if($nb_result_extended){
$link = "".$msg['suite']." ";
}else $link = "";
$search_result_affiliate_extented = str_replace("!!link!!",$link,$search_result_affiliate_extented);
$search_result_affiliate_extented = str_replace("!!style!!","",$search_result_affiliate_extented);
$search_result_affiliate_extented = str_replace("!!user_query!!",rawurlencode($es->serialize_search()),$search_result_affiliate_extented);
$search_result_affiliate_extented = str_replace("!!form_name!!","search_form",$search_result_affiliate_extented);
$search_result_affiliate_extented = str_replace("!!form!!","",$search_result_affiliate_extented);
print $search_result_affiliate_extented;
}else{
if ($nb_result_extended) {
print pmb_bidi("".$es->make_human_query()." ".$nb_result_extended." $msg[results] ");
print "$msg[suite]
";
}
}
}
?>