source: pmb4.1/trunk/fuentes/pmb/catalog/serials/analysis/analysis_main.inc.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: analysis_main.inc.php,v 1.9 2011-11-29 13:26:37 dgoron Exp $
6
7if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access");
8
9function abort() {
10        echo "<script type=\"text/javascript\">
11                alert(\"PMB navigation error. Please contact devel team...\");
12                document.location=\"./catalog.php?categ=serials\";
13                </script>";
14}
15
16switch($action) {
17        case 'analysis_form':
18                include('./catalog/serials/analysis/analysis_form.inc.php');
19                break;
20        case 'analysis_duplicate':
21                include('./catalog/serials/analysis/analysis_duplicate.inc.php');
22                break;
23        case 'update':
24                include('./catalog/serials/analysis/analysis_update.inc.php');
25                break;
26        case 'delete':
27                include('./catalog/serials/analysis/analysis_delete.inc.php');
28                break;
29        case 'explnum_delete':
30                include('./catalog/serials/analysis/ana_explnum_delete.inc.php');
31                break;
32        case 'explnum_update':
33                include('./catalog/serials/analysis/ana_explnum_update.inc.php');
34                break; 
35        case 'explnum_form':
36                include('./catalog/serials/analysis/ana_explnum_form.inc.php');
37                break;
38        default:
39                abort();
40                break;
41}
42?>
43
Note: See TracBrowser for help on using the repository browser.