$msg[resultat_recherche]

\n
"; // requête de recherche sur les titres print pmb_bidi("

$count $msg[docnum_found] '".htmlentities(stripslashes($user_query),ENT_QUOTES,$charset)."'"); if ($opac_search_other_function) { require_once($include_path."/".$opac_search_other_function); print pmb_bidi(" ".search_other_function_human_query($_SESSION["last_query"])); } print ""; print activation_surlignage(); print "

"; //droits d'acces emprunteur/notice $acces_j=''; if ($gestion_acces_active==1 && $gestion_acces_empr_notice==1) { require_once("$class_path/acces.class.php"); $ac= new acces(); $dom_2= $ac->setDomain(2); $acces_j= $dom_2->getJoin($_SESSION['id_empr_session'],16,'notice_id'); } if ($acces_j) { $statut_j=''; } else { $statut_j=',notice_statut'; } $requete_noti = "select explnum_id, notice_id,explnum_mimetype, ".$pert." from explnum, notices $statut_j $acces_j $clause "; $requete_bull = "select explnum_id, notice_id,explnum_mimetype, ".$pert." from bulletins, explnum, notices $statut_j $acces_j $clause_bull "; $requete_bull_num_notice = "select explnum_id, notice_id,explnum_mimetype, ".$pert." from bulletins, explnum, notices $statut_j $acces_j $clause_bull_num_notice "; $requete = "select explnum_id, uni.notice_id,explnum_mimetype, pert from ($requete_noti UNION $requete_bull UNION $requete_bull_num_notice) as uni join notices n on uni.notice_id=n.notice_id" ; $requete_nbexplnum = "select count(*) from ($requete_noti UNION $requete_bull UNION $requete_bull_num_notice) as uni where explnum_mimetype in ($opac_photo_filtre_mimetype)" ; $res_nbexplnum = mysql_query($requete_nbexplnum); if(mysql_num_rows($res_nbexplnum)) $nbexplnum = mysql_result($res_nbexplnum,0,0); else $nbexplnum = 0; //gestion du tri if (isset($_GET["sort"])) { $_SESSION["last_sortnotices"]=$_GET["sort"]; } if ($count>$opac_nb_max_tri) { $_SESSION["last_sortnotices"]=""; } if ($_SESSION["last_sortnotices"]!="") { $sort=new sort('notices','session'); $requete=$sort->appliquer_tri($_SESSION["last_sortnotices"],$requete,"notice_id",$debut,$opac_search_results_per_page); } else { $requete .= " ".$tri; $requete .= " ".$limiter; } //fin gestion du tri $found = mysql_query($requete, $dbh); print "
\n
"; if ($opac_notices_depliable) print $begin_result_liste; //gestion du tri if ($count<=$opac_nb_max_tri) { $pos=strpos($_SERVER['REQUEST_URI'],"?"); $pos1=strpos($_SERVER['REQUEST_URI'],"get"); if ($pos1==0) $pos1=strlen($_SERVER['REQUEST_URI']); else $pos1=$pos1-3; $para=urlencode(substr($_SERVER['REQUEST_URI'],$pos+1,$pos1-$pos+1)); $affich_tris_result_liste=str_replace("!!page_en_cours!!",$para,$affich_tris_result_liste); print $affich_tris_result_liste; if ($_SESSION["last_sortnotices"]!="") { print " ".$msg['tri_par']." ".$sort->descriptionTriParId($_SESSION["last_sortnotices"])." "; } } else print " "; //fin gestion du tri print $add_cart_link; if($opac_visionneuse_allow && $nbexplnum){ print "   ".$link_to_visionneuse; print $sendToVisionneuseByPost; } //affinage //enregistrement de l'endroit actuel dans la session if ($_SESSION["last_query"]) { $n=$_SESSION["last_query"]; } else { $n=$_SESSION["nb_queries"]; } $_SESSION["notice_view".$n]["search_mod"]="docnum"; $_SESSION["notice_view".$n]["search_page"]=$page; //affichage print "  ".$msg["affiner_recherche"].""; //fin affinage //Etendre if ($opac_allow_external_search) print "  ".$msg["connecteurs_external_search_sources"].""; //fin etendre if ($opac_show_suggest) { $bt_sugg = "   "; print $bt_sugg; } require_once("$class_path/explnum_affichage.class.php"); $list_explnum = array(); while(($mesNotices = mysql_fetch_array($found))){ $list_explnum[] = $mesNotices["explnum_id"]; } $terms = unserialize(stripslashes($search_terms)); $explnum = new explnum_affichage($list_explnum,DOCNUM_NOTI,$terms); $explnum->show_explnum(); print "
\n
"; ?>