source: pmb4.2/trunk/fuentes/pmb/admin/proc/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.1 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.4 2011-07-29 12:32:12 dgoron Exp $
6
7if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access");
8
9require_once("$class_path/parameters.class.php");
10require_once ($include_path."/templates/procs_exp_imp.tpl.php");
11require_once ($include_path."/procs_exp_imp.inc.php");
12
13switch($sub) {
14        case 'clas':
15                $admin_layout = str_replace('!!menu_sous_rub!!', $msg[admin_menu_act_perso_clas], $admin_layout);
16                print $admin_layout;
17                include("./admin/proc/clas.inc.php");
18                break;
19        case 'req':
20                $admin_layout = str_replace('!!menu_sous_rub!!', $msg[admin_menu_req], $admin_layout);
21                print $admin_layout;
22                include("./admin/proc/req.inc.php");
23                break;
24        case 'proc':
25        default:
26                $admin_layout = str_replace('!!menu_sous_rub!!', $msg[admin_menu_act_perso], $admin_layout);
27                print $admin_layout;
28                include("./admin/proc/proc.inc.php");
29                break;
30}
Note: See TracBrowser for help on using the repository browser.