示例#1
0
    print "\n\t\t\t<div id=\"resultatrech_liste\">\n\t\t\t<ul>";
    $found = mysql_query("select tu_id, " . $pert . ",tu_name from  titres_uniformes {$clause} group by tu_id {$tri} {$limiter}", $dbh);
    while ($mesTu = mysql_fetch_object($found)) {
        print pmb_bidi("<li class='categ_colonne'><font class='notice_fort'><a href='index.php?lvl=titre_uniforme_see&id=" . $mesTu->tu_id . "'>" . $mesTu->tu_name . "</a></font></li>\n");
    }
    print "</ul>";
    print "\n\t</div></div>";
    if ($opac_allow_affiliate_search) {
        print $catal_navbar;
    } else {
        print "</div>";
    }
} else {
    if ($tab == "affiliate") {
        //l'onglet source affiliées est actif, il faut son contenu...
        $as = new affiliate_search_titre_uniforme($user_query, "authorities");
        //un peu crade, mais dans l'immédiat ca fait ce qu'on lui demande...
        $as->filter = $author_type;
        print $as->getResults();
    }
    print "\n\t</div>\n\t<div class='row'>&nbsp;</div>";
    //Enregistrement des stats
    if ($pmb_logs_activate) {
        global $nb_results_tab;
        $nb_results_tab['titres_uniformes_affiliate'] = $as->getTotalNbResults();
    }
}
//Enregistrement des stats
if ($pmb_logs_activate) {
    global $nb_results_tab;
    $nb_results_tab['titres_uniformes'] = $count;
        $as = new affiliate_search_collection($user_query, "notices_authority");
        break;
    case "subcollection":
        $as = new affiliate_search_subcollection($user_query, "notices_authority");
        break;
    case "category":
        $as = new affiliate_search_category($user_query, "notices_authority");
        break;
    case "indexint":
        $as = new affiliate_search_indexint($user_query, "notices_authority");
        break;
    case "publisher":
        $as = new affiliate_search_publisher($user_query, "notices_authority");
        break;
    case "titre_uniforme":
        $as = new affiliate_search_titre_uniforme($user_query, "notices_authority");
        break;
}
print $as->getResults();
switch ($search_type) {
    case 'simple_search':
    case 'tags_search':
        // constitution du form pour la suite
        $form .= "<input type=\"hidden\" name=\"user_query\" value=\"" . htmlentities(stripslashes($user_query), ENT_QUOTES, $charset) . "\">\n";
        $form .= "<input type=\"hidden\" name=\"mode\" value=\"{$mode}\">\n";
        $form .= "<input type=\"hidden\" name=\"count\" value=\"{$count}\">\n";
        $form .= "<input type=\"hidden\" name=\"clause\" value=\"" . htmlentities($clause, ENT_QUOTES, $charset) . "\">\n";
        $form .= "<input type=\"hidden\" name=\"clause_bull\" value=\"" . htmlentities($clause_bull, ENT_QUOTES, $charset) . "\">\n";
        $form .= "<input type=\"hidden\" name=\"clause_bull_num_notice\" value=\"" . htmlentities($clause_bull_num_notice, ENT_QUOTES, $charset) . "\">\n";
        if ($opac_indexation_docnum_allfields) {
            $form .= "<input type=\"hidden\" name=\"join\" value=\"" . htmlentities($join, ENT_QUOTES, $charset) . "\">\n";