本文整理汇总了PHP中search::show_results方法的典型用法代码示例。如果您正苦于以下问题:PHP search::show_results方法的具体用法?PHP search::show_results怎么用?PHP search::show_results使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类search
的用法示例。
在下文中一共展示了search::show_results方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: count
$sc->link_explnum_bulletin = "./catalog.php?categ=serials&sub=bulletinage&action=explnum_form&bul_id=!!bul_id!!&explnum_id=!!explnum_id!!";
switch ($sub) {
case "launch":
if ((string) $page == "") {
$_SESSION["CURRENT"] = count($_SESSION["session_history"]);
$_SESSION["session_history"][$_SESSION["CURRENT"]]["QUERY"]["URI"] = "./catalog.php?categ=search&mode=6";
$_SESSION["session_history"][$_SESSION["CURRENT"]]["QUERY"]["POST"] = $_POST;
$_SESSION["session_history"][$_SESSION["CURRENT"]]["QUERY"]["GET"] = $_GET;
$_SESSION["session_history"][$_SESSION["CURRENT"]]["QUERY"]["GET"]["sub"] = "";
$_SESSION["session_history"][$_SESSION["CURRENT"]]["QUERY"]["POST"]["sub"] = "";
$_SESSION["session_history"][$_SESSION["CURRENT"]]["QUERY"]["HUMAN_QUERY"] = $sc->make_human_query();
$_SESSION["session_history"][$_SESSION["CURRENT"]]["QUERY"]["HUMAN_TITLE"] = $msg["search_extended"];
$_POST["page"] = 0;
$page = 0;
}
$sc->show_results("./catalog.php?categ=search&mode=6&sub=launch", "./catalog.php?categ=search&mode=6", true, '', true);
if ($_SESSION["CURRENT"] !== false) {
$_SESSION["session_history"][$_SESSION["CURRENT"]]["NOTI"]["URI"] = "./catalog.php?categ=search&mode=6&sub=launch";
$_SESSION["session_history"][$_SESSION["CURRENT"]]["NOTI"]["POST"] = $_POST;
$_SESSION["session_history"][$_SESSION["CURRENT"]]["NOTI"]["GET"] = $_GET;
$_SESSION["session_history"][$_SESSION["CURRENT"]]["NOTI"]["PAGE"] = $page + 1;
$_SESSION["session_history"][$_SESSION["CURRENT"]]["NOTI"]["HUMAN_QUERY"] = $sc->make_human_query();
$_SESSION["session_history"][$_SESSION["CURRENT"]]["NOTI"]["SEARCH_TYPE"] = "extended";
$_SESSION["session_history"][$_SESSION["CURRENT"]]["NOTI"]["TEXT_QUERY"] = "";
}
if ($pmb_map_activate) {
$sc->check_emprises();
}
break;
default:
print $sc->show_form("./catalog.php?categ=search&mode=6", "./catalog.php?categ=search&mode=6&sub=launch");
示例2: die
<?php
// +-------------------------------------------------+
// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: main.inc.php,v 1.3 2015-04-24 14:20:58 dbellamy Exp $
if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) {
die("no access");
}
require_once $class_path . "/search.class.php";
$sc = new search();
$sc->link = "./circ.php?categ=resa_planning&resa_action=add_resa&id_empr={$id_empr}&groupID={$groupID}&id_notice=!!id!!";
$sc->link_expl = '';
$sc->link_explnum = '';
$sc->link_serial = "./circ.php?resa_planning&resa_action=search_resa&id_empr={$id_empr}&groupID={$groupID}&mode=view_serial&serial_id=!!id!!";
$sc->link_analysis = '';
$sc->link_bulletin = "./circ.php?categ=resa_planning&resa_action=add_resa&id_empr={$id_empr}&groupID={$groupID}&id_bulletin=!!id!!";
$sc->link_explnum_serial = '';
switch ($sub) {
case "launch":
$sc->show_results("./circ.php?categ=resa_planning&resa_action=search_resa&mode=6&sub=launch&id_empr={$id_empr}&groupID={$groupID}", "./circ.php?categ=resa_planning&resa_action=search_resa&mode=6&id_empr={$id_empr}&groupID={$groupID}", true);
break;
default:
print $sc->show_form("./circ.php?categ=resa_planning&resa_action=search_resa&mode=6&id_empr={$id_empr}&groupID={$groupID}", "./circ.php?categ=resa_planning&resa_action=search_resa&mode=6&sub=launch&id_empr={$id_empr}&groupID={$groupID}");
break;
}
示例3: die
<?php
// +-------------------------------------------------+
// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: main.inc.php,v 1.2 2007-03-14 16:51:33 gueluneau Exp $
if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) {
die("no access");
}
require_once $class_path . "/search.class.php";
$sc = new search();
$sc->link = "./circ.php?categ=resa&id_empr={$id_empr}&groupID={$groupID}&id_notice=!!id!!";
$sc->link_expl = '';
$sc->link_explnum = '';
$sc->link_serial = "./circ.php?categ=resa&id_empr={$id_empr}&groupID={$groupID}&mode=view_serial&serial_id=!!id!!";
$sc->link_analysis = '';
$sc->link_bulletin = "./circ.php?categ=resa&id_empr={$id_empr}&groupID={$groupID}&id_bulletin=!!id!!";
$sc->link_explnum_serial = '';
switch ($sub) {
case "launch":
$sc->show_results("./circ.php?categ=resa&mode=6&sub=launch&id_empr={$id_empr}&groupID={$groupID}", "./circ.php?categ=resa&mode=6&id_empr={$id_empr}&groupID={$groupID}", true);
break;
default:
print $sc->show_form("./circ.php?categ=resa&mode=6&id_empr={$id_empr}&groupID={$groupID}", "./circ.php?categ=resa&mode=6&sub=launch&id_empr={$id_empr}&groupID={$groupID}");
break;
}