source: pmb4.2/trunk/fuentes/pmb/circ/resa/extended/main.inc.php @ 815

Last change on this file since 815 was 815, checked in by jrpelegrina, 4 years ago

Initial release of pmb 4.2

  • Property svn:executable set to *
File size: 1.2 KB
Line 
1<?php
2// +-------------------------------------------------+
3// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
4// +-------------------------------------------------+
5// $Id: main.inc.php,v 1.2 2007-03-14 16:51:33 gueluneau Exp $
6
7if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access");
8
9require_once($class_path."/search.class.php");
10
11$sc=new search();
12$sc->link = "./circ.php?categ=resa&id_empr=$id_empr&groupID=$groupID&id_notice=!!id!!";
13$sc->link_expl = ''; 
14$sc->link_explnum = '';
15$sc->link_serial = "./circ.php?categ=resa&id_empr=$id_empr&groupID=$groupID&mode=view_serial&serial_id=!!id!!";
16$sc->link_analysis = '';
17$sc->link_bulletin = "./circ.php?categ=resa&id_empr=$id_empr&groupID=$groupID&id_bulletin=!!id!!";
18$sc->link_explnum_serial='';
19
20switch ($sub) {
21        case "launch":
22                $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);
23                break;
24        default:
25                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");
26                break;         
27}
28?>
Note: See TracBrowser for help on using the repository browser.