source: pmb4.1/trunk/fuentes/pmb/catalog.php @ 478

Last change on this file since 478 was 478, checked in by mabarracus, 4 years ago

copy trusty code 4.1

  • 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: catalog.php,v 1.20 2014-01-13 08:07:15 arenou Exp $
6
7// définition du minimum nécéssaire
8$base_path=".";
9$base_auth = "CATALOGAGE_AUTH";
10$base_title = "\$msg[6]";
11require_once ("$base_path/includes/init.inc.php");
12
13// pour droit UNIQUE d'ajout de notices
14if ((SESSrights & RESTRICTCATAL_AUTH) 
15        && ($categ!="create") 
16        && ($categ!="create_form") 
17        && ($categ!="update") 
18        && ($categ!="explnum_update") 
19        && ($categ!="explnum_create") 
20        && ($categ!="isbd") 
21        ) {
22        $sub="";
23        $categ="create";
24        }
25
26// modules propres à catalog.php ou à ses sous-modules
27include("$include_path/templates/expl.tpl.php");
28require("$include_path/templates/catalog.tpl.php");
29print "<div id='att' style='z-Index:1000'></div>";
30
31print $menu_bar;
32print $extra;
33print $extra2;
34print $extra_info;
35if ($use_shortcuts) include("$include_path/shortcuts/circ.sht");
36       
37
38if ($categ!="caddie") {
39        print $catalog_layout;
40        }
41
42include("./catalog/catalog.inc.php");
43
44print $catalog_layout_end;
45print $footer;
46
47// deconnection MYSql
48mysql_close($dbh);
Note: See TracBrowser for help on using the repository browser.