source: pmb4.2/trunk/fuentes/pmb/circ/resa/view_serial.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.4 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: view_serial.inc.php,v 1.13.4.1 2015-08-14 10:30:03 dbellamy Exp $
6
7if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access");
8
9// page d'affichage des éléments bulletinés d'un périodique en recherche réservation
10
11require_once("$class_path/serials.class.php");
12
13$serial = new serial($serial_id);
14echo "<h3>".$msg[1150]." : ".$serial->tit1."</h3>";
15
16$requete = "select bulletin_id from bulletins join exemplaires on expl_bulletin=bulletin_id WHERE bulletin_notice=$serial_id group by bulletin_id ORDER BY bulletin_id DESC";
17$res = pmb_mysql_query($requete, $dbh);
18
19if(pmb_mysql_num_rows($res)) {
20
21        print $begin_result_liste;
22        while (($n=pmb_mysql_fetch_object($res))) {
23                $link_bulletin = "./circ.php?categ=resa&id_empr=$id_empr&groupID=$groupID&id_bulletin=".$n->bulletin_id;
24                require_once ("$class_path/serials.class.php") ;
25                require_once ("$include_path/bull_info.inc.php") ;
26                $n->isbd = show_bulletinage_info_resa($n->bulletin_id, $link_bulletin);
27                print $n->isbd ;
28        }
29        print $end_result_liste;
30
31} else {
32                print $RESA_author_query;
33                error_message($msg[235], $msg['resa_no_expl'], 1, "./circ.php?categ=resa&id_empr=$id_empr&groupID=$groupID&mode=0");
34}
Note: See TracBrowser for help on using the repository browser.