当前位置: 首页>>代码示例>>PHP>>正文


PHP printnavbar函数代码示例

本文整理汇总了PHP中printnavbar函数的典型用法代码示例。如果您正苦于以下问题:PHP printnavbar函数的具体用法?PHP printnavbar怎么用?PHP printnavbar使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了printnavbar函数的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: affiche_notice_navigopac

function affiche_notice_navigopac($requete)
{
    global $page, $nbr_lignes, $id, $location, $dcote, $lcote, $nc, $main, $ssub, $plettreaut;
    global $opac_nb_aut_rec_per_page, $opac_section_notices_order, $msg, $dbh, $opac_notices_depliable, $begin_result_liste, $add_cart_link_spe, $base_path;
    global $back_surloc, $back_loc, $back_section_see;
    global $opac_perio_a2z_abc_search, $opac_perio_a2z_max_per_onglet;
    if (!$page) {
        $page = 1;
    }
    $debut = ($page - 1) * $opac_nb_aut_rec_per_page;
    //On controle paramètre de tri
    if (!trim($opac_section_notices_order)) {
        $opac_section_notices_order = "index_serie, tnvol, index_sew";
    }
    if ($plettreaut && $plettreaut != "vide") {
        $opac_section_notices_order = "index_author, " . $opac_section_notices_order;
    }
    $requete .= " ORDER BY " . $opac_section_notices_order . " LIMIT {$debut},{$opac_nb_aut_rec_per_page}";
    $res = @mysql_query($requete, $dbh);
    print $nbr_lignes . " " . $msg["results"] . "<br />";
    if ($opac_notices_depliable) {
        print $begin_result_liste;
    }
    if ($add_cart_link_spe) {
        print pmb_bidi(str_replace("!!spe!!", "&location={$location}&dcote={$dcote}&lcote={$lcote}&ssub={$ssub}&nc={$nc}&plettreaut={$plettreaut}", $add_cart_link_spe));
    }
    //affinage
    //enregistrement de l'endroit actuel dans la session
    $_SESSION["last_module_search"]["search_mod"] = "section_see";
    $_SESSION["last_module_search"]["search_id"] = $id;
    $_SESSION["last_module_search"]["search_location"] = $location;
    $_SESSION["last_module_search"]["search_page"] = $page;
    //affinage
    if ($dcote == "" && $plettreaut == "" && $nc == "") {
        print "&nbsp;&nbsp;<a href='{$base_path}/index.php?search_type_asked=extended_search&mode_aff=aff_module'>" . $msg["affiner_recherche"] . "</a>";
    }
    //fin affinage
    print "<blockquote>";
    print aff_notice(-1);
    while ($obj = mysql_fetch_object($res)) {
        print pmb_bidi(aff_notice($obj->notice_id));
    }
    print aff_notice(-2);
    print "</blockquote>";
    mysql_free_result($res);
    // constitution des liens
    $nbepages = ceil($nbr_lignes / $opac_nb_aut_rec_per_page);
    print '<div id="navbar"><hr /><center>' . printnavbar($page, $nbepages, './index.php?lvl=section_see&id=' . $id . '&location=' . $location . ($back_surloc ? '&back_surloc=' . urlencode($back_surloc) : '') . ($back_loc ? '&back_loc=' . urlencode($back_loc) : '') . ($back_section_see ? '&back_section_see=' . urlencode($back_section_see) : '') . '&page=!!page!!&nbr_lignes=' . $nbr_lignes . '&dcote=' . $dcote . '&lcote=' . $lcote . '&nc=' . $nc . '&main=' . $main . '&ssub=' . $ssub . '&plettreaut=' . $plettreaut) . '</center></div>';
}
开发者ID:bouchra012,项目名称:PMB,代码行数:49,代码来源:show_localisation.inc.php

示例2: mysql_query

        $recherche_ajax_mode = 0;
        $res = mysql_query($requete, $dbh);
        while ($obj = mysql_fetch_object($res)) {
            global $infos_notice;
            if ($nb++ > 4) {
                $recherche_ajax_mode = 1;
            }
            print pmb_bidi(aff_notice($obj->notice_id, 0, 1, 0, "", "", 0, 0, $recherche_ajax_mode));
            $infos_notice['nb_pages'] = ceil($nbr_lignes / $opac_nb_aut_rec_per_page);
        }
        mysql_free_result($res);
        // constitution des liens pur affichage de la barre de navigation
        $nbepages = ceil($nbr_lignes / $opac_nb_aut_rec_per_page);
        print aff_notice(-2);
        print "\t</blockquote>\n\n\t\t\t\t</div><!-- fermeture du div aut_details_liste -->\n";
        print "<div id='navbar'><hr /><center>" . printnavbar($page, $nbepages, "./index.php?lvl=author_see&id={$id}&page=!!page!!&nbr_lignes={$nbr_lignes}&l_typdoc=" . rawurlencode($l_typdoc)) . "</center></div>\n";
    } else {
        print $msg[no_document_found];
        print "</div><!-- fermeture du div aut_details_liste -->\n";
    }
    // Documents numériques auxquels l'auteur est associé
    $query = "select distinct explnum_speaker_explnum_num from explnum_speakers where explnum_speaker_author " . $clause_auteurs;
    $result = mysql_query($query, $dbh);
    if ($result && mysql_num_rows($result)) {
        print pmb_bidi("<h3>" . $msg['author_see_explnum_associate'] . "</h3>\n");
        while ($explnum = mysql_fetch_object($result)) {
            print "<div>" . show_explnum_per_id($explnum->explnum_speaker_explnum_num) . "</div>";
        }
    }
} else {
    print pmb_bidi("<h3><span>" . $msg["author_see_title"] . " {$renvoi}</span></h3>\n");
开发者ID:bouchra012,项目名称:PMB,代码行数:31,代码来源:author_see.inc.php

示例3: array

            $tmpArray = array();
            $tmpArray = $suggestion->listUniqueSimilars();
            if (count($tmpArray)) {
                $tableSuggest .= "<table><tbody>";
                foreach ($tmpArray as $word) {
                    $tableSuggest .= "<tr>\n\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t<a href='" . $actionSuggest . "&user_query=" . rawurlencode($word) . "'>\n\t\t\t\t\t\t\t\t<span class='facette_libelle'>" . $word . "</span>\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t</tr>";
                }
                $tableSuggest .= "</tbody></table>";
                $sr_form .= "<h3>" . $msg['facette_suggest'] . "</h3>" . $tableSuggest;
            }
        }
    }
    if ($filtre_compare == 'compare') {
        $sr_form .= "<div id='navbar'><hr></div>";
    } elseif ($count) {
        $sr_form .= "<div id='navbar'><hr />\n<center>" . printnavbar($page, $nbepages, $url_page, $action) . "</center></div>";
    }
    if (!$opac_allow_affiliate_search || !$allow_search_affiliate_and_external) {
        $sr_form .= "\t</div>";
    }
    $sr_form = str_replace('<!-- search_result_extended_affiliate_lvl2_head_link -->', $search_result_extended_affiliate_lvl2_head_wo_link, $sr_form);
} else {
    if ($tab == "affiliate") {
        //l'onglet source affiliées est actif, il faut son contenu...
        $query = $es->serialize_search();
        $as = new affiliate_search_extended($query);
        $as->getResults();
        $sr_form .= $as->results;
    }
    $sr_form .= "\n\t</div>\n\t<div class='row'><span class=\"espaceResultSearch\">&nbsp;</span></div>";
    //Enregistrement des stats
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:31,代码来源:extended.inc.php

示例4: mysql_query

        // if ($opac_etagere_notices_order) $requete.=" order by ".$opac_etagere_notices_order;
        //gestion du tri
        if ($_SESSION["last_sortnotices"] != "") {
            $requete = $sort_class->appliquer_tri($_SESSION["last_sortnotices"], $requete, "notice_id", $debut, $opac_nb_aut_rec_per_page);
        } else {
            $requete .= "order by " . $opac_etagere_notices_order . " LIMIT {$debut},{$opac_nb_aut_rec_per_page} ";
        }
        //fin gestion du tri
        $res = mysql_query($requete, $dbh);
        $nb = 0;
        $recherche_ajax_mode = 0;
        while ($obj = mysql_fetch_object($res)) {
            if ($nb > 4) {
                $recherche_ajax_mode = 1;
            }
            $nb++;
            print pmb_bidi(aff_notice($obj->notice_id, 0, 1, 0, "", "", 0, 1, $recherche_ajax_mode));
        }
        print aff_notice(-2);
        mysql_free_result($res);
        // constitution des liens pur affichage de la barre de navigation
        $nbepages = ceil($nbr_lignes / $opac_nb_aut_rec_per_page);
        print "\t</blockquote>\n\n\t\t\t\t</div><!-- fermeture #aut_details_liste -->\n";
        print "<div id='navbar'><hr /><center>" . printnavbar($page, $nbepages, "./index.php?lvl=etagere_see&id={$id}&page=!!page!!&nbr_lignes={$nbr_lignes}") . "</center></div>\n";
    } else {
        print $msg[no_document_found];
        print "</div><!-- fermeture #aut_details_liste -->\n";
    }
    print "</div><!-- fermeture #aut_details_container -->\n";
}
print "</div><!-- fermeture #aut_see -->\n";
开发者ID:bouchra012,项目名称:PMB,代码行数:31,代码来源:etagere_see.inc.php

示例5: get_navigator

 protected function get_navigator()
 {
     if (count($this->questions_ids)) {
         $nbpages = ceil(count($this->questions_ids) / $this->nb_questions_by_page);
         $url_page = "javascript:document.faq_filters.faq_page.value=!!page!!;document.faq_filters.submit()";
         $action = "javascript:document.faq_filters.faq_page.value=document.form.page.value;document.faq_filters.submit()";
         return "\n\t\t\t<div id='navbar'>\n\t\t\t\t<hr />\n\t\t\t\t<center>\n\t\t\t\t\t" . printnavbar($this->page + 1, $nbpages, $url_page, $action) . "\n\t\t\t\t</center>\n\t\t\t</div>";
     }
 }
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:9,代码来源:faq.class.php

示例6: affichage_liste_bulletins_normale

                    } else {
                        affichage_liste_bulletins_normale($res);
                    }
                } else {
                    print "<br /><strong>" . $msg["bull_no_found"] . "</strong>";
                }
                print "<br /><br /><div class='row'></div>";
                // constitution des liens
                if (!$count1) {
                    $count1 = $count;
                }
                $nbepages = ceil($count1 / $opac_bull_results_per_page);
                $url_page = "javascript:if (document.getElementById(\"onglet_isbd{$id}\")) if (document.getElementById(\"onglet_isbd{$id}\").className==\"isbd_public_active\") document.form_values.premier.value=\"ISBD\"; else document.form_values.premier.value=\"PUBLIC\"; document.form_values.page.value=!!page!!; document.form_values.submit()";
                $action = "javascript:if (document.getElementById(\"onglet_isbd{$id}\")) if (document.getElementById(\"onglet_isbd{$id}\").className==\"isbd_public_active\") document.form_values.premier.value=\"ISBD\"; else document.form_values.premier.value=\"PUBLIC\"; document.form_values.page.value=document.form.page.value; document.form_values.submit()";
                if ($count) {
                    $form = "<div class='row'></div><div id='navbar'><br />\n<center>" . printnavbar($page, $nbepages, $url_page, $action) . "</center></div>";
                }
                break;
            case "a":
                print pmb_bidi(aff_notice($id));
                break;
            case "m":
            default:
                //$l_typdoc=$obj->typdoc;
                print pmb_bidi("<br />" . aff_notice($id));
                break;
        }
    }
}
if (!($id && $acces_v)) {
    print "<h3>" . htmlentities($msg['no_result'], ENT_QUOTES, $charset) . '</h3>';
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:31,代码来源:notice_display.inc.php

示例7: while

     $recherche_ajax_mode = 0;
     while ($obj = pmb_mysql_fetch_object($res)) {
         global $infos_notice;
         if ($nb++ > 4) {
             $recherche_ajax_mode = 1;
         }
         $recordslist .= pmb_bidi(aff_notice($obj->notice_id, 0, 1, 0, "", "", 0, 0, $recherche_ajax_mode));
         $infos_notice['nb_pages'] = ceil($nbr_lignes / $opac_nb_aut_rec_per_page);
     }
     $recordslist .= aff_notice(-2);
     $recordslist .= "</blockquote>\n";
     pmb_mysql_free_result($res);
     // constitution des liens
     $nbepages = ceil($nbr_lignes / $opac_nb_aut_rec_per_page);
     // 		$recordslist.= "</div><!-- fermeture #aut_details_liste-->\n";
     $recordslist .= "<div id='navbar'><hr /><center>" . printnavbar($page, $nbepages, "./index.php?lvl=indexint_see&id=" . $ourIndexInt->indexint_id . "&page=!!page!!&nbr_lignes={$nbr_lignes}&main={$main}&l_typdoc=" . rawurlencode($l_typdoc)) . "</center></div>";
 } else {
     $recordslist .= "\t<blockquote>{$msg['categ_empty']}</blockquote>";
 }
 $recordslist .= "</div>";
 // Fermeture du div resultatrech_liste
 $context['authority']['recordslist'] = $recordslist;
 $authority = new authority("indexint", $id);
 $authority->render($context);
 //FACETTES
 //gestion des facette si active
 require_once $base_path . '/classes/facette_search.class.php';
 $records = "";
 if ($nbr_lignes) {
     $requete = "SELECT notice_id FROM notices {$acces_j} {$statut_j} ";
     $requete .= "WHERE indexint='" . $ourIndexInt->indexint_id . "' {$statut_r}";
开发者ID:hogsim,项目名称:PMB,代码行数:31,代码来源:indexint_see.inc.php

示例8: getNoticesResults

 function getNoticesResults()
 {
     global $dbh;
     global $begin_result_liste;
     global $opac_notices_depliable;
     global $opac_show_suggest;
     global $opac_resa_popup;
     global $opac_search_results_per_page;
     $nb_per_page_search = $opac_search_results_per_page;
     global $page;
     global $charset;
     global $search;
     global $msg;
     global $affich_tris_result_liste;
     global $count;
     global $add_cart_link;
     if (!$page) {
         $page = 1;
     }
     $start_page = $nb_per_page_search * ($page - 1);
     //Y-a-t-il des champs ?
     if (count($search) == 0) {
         return;
     }
     if (!$this->table_tempo) {
         global $search;
         $this->makeSearch();
     }
     $requete = "select * from " . $this->table_tempo;
     $requete .= " limit " . $start_page . "," . $nb_per_page_search;
     $resultat = pmb_mysql_query($requete, $dbh);
     $this->results = "\n\n\t\t<div id=\"resultatrech_container\">\n\t\t<div id=\"resultatrech_see\">\n\t\t";
     $this->results .= pmb_bidi("<h3>" . $this->getTotalNbResults() . " " . $msg['titles_found'] . " " . $this->external_search->make_human_query() . activation_surlignage() . "</h3>");
     if ($opac_show_suggest) {
         $bt_sugg = "&nbsp;&nbsp;&nbsp;<span class=\"search_bt_sugg\"><a href=# ";
         if ($opac_resa_popup) {
             $bt_sugg .= " onClick=\"w=window.open('./do_resa.php?lvl=make_sugg&oresa=popup','doresa','scrollbars=yes,width=600,height=600,menubar=0,resizable=yes'); w.focus(); return false;\"";
         } else {
             $bt_sugg .= "onClick=\"document.location='./do_resa.php?lvl=make_sugg&oresa=popup' \" ";
         }
         $bt_sugg .= " title='" . $msg["empr_bt_make_sugg"] . "' >" . $msg['empr_bt_make_sugg'] . "</a></span>";
         $this->results .= $bt_sugg;
     }
     flush();
     $entrepots_localisations = array();
     $entrepots_localisations_sql = "SELECT * FROM entrepots_localisations ORDER BY loc_visible DESC";
     $res = pmb_mysql_query($entrepots_localisations_sql);
     while ($row = pmb_mysql_fetch_array($res)) {
         $entrepots_localisations[$row["loc_code"]] = array("libelle" => $row["loc_libelle"], "visible" => $row["loc_visible"]);
     }
     if ($opac_notices_depliable) {
         $this->results .= $begin_result_liste;
     }
     $this->results .= $add_cart_link;
     $this->results .= "\t</div>\n\n\t\t<div id=\"resultatrech_liste\">";
     $this->results .= "<blockquote>";
     while ($r = pmb_mysql_fetch_object($resultat)) {
         $this->results .= aff_notice_unimarc($r->notice_id, 0, $entrepots_localisations);
     }
     $this->results .= "</blockquote>";
     $this->results .= "</div>\n\t\t</div>";
     //on a besoin d'un formulaire pour reposter la recherche
     //$this->results.= $this->make_hidden_search_form();
     //gestion de la pagination...
     $nbepages = ceil($this->getTotalNbResults() / $opac_search_results_per_page);
     $url_page = "javascript:document.form_values.page.value=!!page!!; document.form_values.action = \"./index.php?lvl=more_results&tab=affiliate\"; document.form_values.affiliate_page.value=document.form_values.page.value; document.form_values.submit()";
     $action = "javascript:document.form_values.page.value=document.form.page.value; document.form_values.action = \"./index.php?lvl=more_results&tab=affiliate\"; document.form_values.affiliate_page.value=document.form_values.page.value; document.form_values.submit()";
     $this->results .= "<div id='navbar'><hr />\n<center>" . printnavbar($page, $nbepages, $url_page, $action, "catal_pag") . "</center></div>";
     return $this->results;
 }
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:70,代码来源:affiliate_search.class.php

示例9: affiche_notice_navigopac

function affiche_notice_navigopac($requete)
{
    global $page, $nbr_lignes, $id, $location, $dcote, $lcote, $nc, $main, $ssub, $plettreaut;
    global $opac_nb_aut_rec_per_page, $opac_section_notices_order, $msg, $dbh, $opac_notices_depliable, $begin_result_liste, $add_cart_link_spe, $base_path;
    global $back_surloc, $back_loc, $back_section_see;
    global $opac_perio_a2z_abc_search, $opac_perio_a2z_max_per_onglet;
    global $str, $opac_facettes_ajax;
    if (!$page) {
        $page = 1;
    }
    $debut = ($page - 1) * $opac_nb_aut_rec_per_page;
    //On controle paramètre de tri
    if (!trim($opac_section_notices_order)) {
        $opac_section_notices_order = "index_serie, tnvol, index_sew";
    }
    if ($plettreaut && $plettreaut != "vide") {
        $opac_section_notices_order = "index_author, " . $opac_section_notices_order;
    }
    $requete_initiale = $requete;
    $requete .= " ORDER BY " . $opac_section_notices_order . " LIMIT {$debut},{$opac_nb_aut_rec_per_page}";
    $res = @pmb_mysql_query($requete, $dbh);
    print $nbr_lignes . " " . $msg["results"] . "<br />";
    if ($opac_notices_depliable) {
        print $begin_result_liste;
    }
    if ($add_cart_link_spe) {
        print pmb_bidi(str_replace("!!spe!!", "&location={$location}&dcote={$dcote}&lcote={$lcote}&ssub={$ssub}&nc={$nc}&plettreaut={$plettreaut}", $add_cart_link_spe));
    }
    /*//affinage
    	//enregistrement de l'endroit actuel dans la session
    	$_SESSION["last_module_search"]["search_mod"]="section_see";
    	$_SESSION["last_module_search"]["search_id"]=$id;
    	*/
    //affinage
    if ($dcote == "" && $plettreaut == "" && $nc == "") {
        print "<span class=\"espaceResultSearch\">&nbsp;&nbsp;</span><span class=\"affiner_recherche\"><a href='{$base_path}/index.php?search_type_asked=extended_search&mode_aff=aff_module' title='" . $msg["affiner_recherche"] . "'>" . $msg["affiner_recherche"] . "</a></span>";
    }
    //fin affinage
    print "<blockquote>";
    print aff_notice(-1);
    while ($obj = pmb_mysql_fetch_object($res)) {
        print pmb_bidi(aff_notice($obj->notice_id));
    }
    print aff_notice(-2);
    print "</blockquote>";
    pmb_mysql_free_result($res);
    // constitution des liens
    $nbepages = ceil($nbr_lignes / $opac_nb_aut_rec_per_page);
    print '<div id="navbar"><hr /><center>' . printnavbar($page, $nbepages, './index.php?lvl=section_see&id=' . $id . '&location=' . $location . ($back_surloc ? '&back_surloc=' . urlencode($back_surloc) : '') . ($back_loc ? '&back_loc=' . urlencode($back_loc) : '') . ($back_section_see ? '&back_section_see=' . urlencode($back_section_see) : '') . '&page=!!page!!&nbr_lignes=' . $nbr_lignes . '&dcote=' . $dcote . '&lcote=' . $lcote . '&nc=' . $nc . '&main=' . $main . '&ssub=' . $ssub . '&plettreaut=' . $plettreaut) . '</center></div>';
    //FACETTES
    $records = "";
    if ($nbr_lignes) {
        require_once $base_path . '/classes/facette_search.class.php';
        $facettes_result = pmb_mysql_query($requete_initiale, $dbh);
        while ($row = pmb_mysql_fetch_object($facettes_result)) {
            if ($records) {
                $records .= ",";
            }
            $records .= $row->notice_id;
        }
        if (!$opac_facettes_ajax) {
            $str .= facettes::make_facette($records);
        } else {
            $_SESSION['tab_result'] = $records;
            $str .= facettes::get_facette_wrapper();
            $str .= "<div id='facette_wrapper'><img src='./images/patience.gif'/></div>";
            $str .= "\n\t\t\t<script type='text/javascript'>\n\t\t\t\tvar req = new http_request();\n\t\t\t\treq.request(\"./ajax.php?module=ajax&categ=facette&sub=call_facettes\",false,null,true,function(data){\n\t\t\t\t\tdocument.getElementById('facette_wrapper').innerHTML=data;\n\t\t\t\t});\n\t\t\t</script>";
        }
        //Formulaire "FACTICE" pour l'application du comparateur et du filetre multiple...
        $str .= '
<form name="form_values" style="display:none;" method="post" action="?lvl=more_results&mode=extended">
	<input type="hidden" name="from_see" value="1" />
	' . facette_search_compare::form_write_facette_compare() . '
</form>';
    }
}
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:76,代码来源:show_localisation.inc.php

示例10: aff_notice

     $recordslist .= aff_notice(-1);
     $nb = 0;
     $recherche_ajax_mode = 0;
     while ($obj = pmb_mysql_fetch_object($res)) {
         if ($nb++ > 4) {
             $recherche_ajax_mode = 1;
         }
         $recordslist .= pmb_bidi(aff_notice($obj->notice_id, 0, 1, 0, "", "", 0, 0, $recherche_ajax_mode));
     }
     $recordslist .= aff_notice(-2);
     $recordslist .= "</blockquote>\n";
     pmb_mysql_free_result($res);
     // constitution des liens
     $nbepages = ceil($nbr_lignes / $opac_nb_aut_rec_per_page);
     // 		$recordslist .= "</div><!-- fermeture aut_details_liste -->\n";
     $recordslist .= "<div id='navbar'><hr /><center>" . printnavbar($page, $nbepages, "./index.php?lvl=titre_uniforme_see&id={$id}&page=!!page!!&nbr_lignes={$nbr_lignes}&l_typdoc=" . rawurlencode($l_typdoc)) . "</center></div>\n";
 } else {
     $recordslist .= $msg["no_document_found"];
 }
 $recordslist .= "</div>";
 // Fermeture du div resultatrech_liste
 $context['authority']['recordslist'] = $recordslist;
 $authority = new authority("titre_uniforme", $id);
 $authority->render($context);
 // FACETTES
 // gestion des facette si active
 require_once $base_path . '/classes/facette_search.class.php';
 $records = "";
 if ($nbr_lignes) {
     $requete = "SELECT notice_id FROM notices {$acces_j} {$statut_j} ,notices_titres_uniformes ";
     $requete .= "WHERE ntu_num_notice=notice_id and ntu_num_tu='{$id}' {$statut_r} ";
开发者ID:hogsim,项目名称:PMB,代码行数:31,代码来源:titre_uniforme_see.inc.php

示例11: while

     $recherche_ajax_mode = 0;
     while ($obj = pmb_mysql_fetch_object($res)) {
         global $infos_notice;
         if ($nb++ > 4) {
             $recherche_ajax_mode = 1;
         }
         $recordslist .= pmb_bidi(aff_notice($obj->notice_id, 0, 1, 0, "", "", 0, 0, $recherche_ajax_mode));
         $infos_notice['nb_pages'] = ceil($nbr_lignes / $opac_nb_aut_rec_per_page);
     }
     $recordslist .= aff_notice(-2);
     pmb_mysql_free_result($res);
     // constitution des liens
     $nbepages = ceil($nbr_lignes / $opac_nb_aut_rec_per_page);
     $recordslist .= "</blockquote>\n";
     // 							$recordslist.= "</div><!-- fermeture aut_details_liste -->\n";
     $recordslist .= "<div id='navbar'><hr />\n<center>" . printnavbar($page, $nbepages, "./index.php?lvl=categ_see&id={$id}&page=!!page!!&nbr_lignes={$nbr_lignes}&main={$main}&l_typdoc=" . rawurlencode($l_typdoc)) . "</center></div>";
 } else {
     $recordslist .= $msg['categ_empty'];
     if ($auto_postage_form) {
         $recordslist .= "<br />" . $auto_postage_form;
     }
 }
 $recordslist .= "</div>";
 // Fermeture du div resultatrech_liste
 $context['authority']['recordslist'] = $recordslist;
 $authority = new authority("category", $id);
 $authority->render($context);
 //FACETTES
 //gestion des facette si active
 require_once $base_path . '/classes/facette_search.class.php';
 $records = "";
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:31,代码来源:categ_see.inc.php


注:本文中的printnavbar函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。