34 lines
901 B
PHP
34 lines
901 B
PHP
<?php
|
|
if (!$_SESSION['connected']) die();
|
|
if ($_SESSION['tabInfo']['idClient']==34){ $_SESSION['nowAuthorized']=FALSE; }
|
|
|
|
$formR = $_REQUEST['formR'];
|
|
$firephp->log($_REQUEST,'REQUEST');
|
|
|
|
if(!isset($vueRecherche)){ $vueRecherche = $_REQUEST['vue']; }
|
|
|
|
switch ($vueRecherche) {
|
|
case 'ent':
|
|
require_once 'recherche/recherche_ent.php';
|
|
break;
|
|
case 'enq':
|
|
require_once 'recherche/recherche_enq.php';
|
|
break;
|
|
case 'dir':
|
|
require_once 'recherche/recherche_dir.php';
|
|
break;
|
|
case 'histo':
|
|
require_once 'recherche/recherche_histo.php';
|
|
break;
|
|
case 'list_pre':
|
|
$formR = unserialize( @gzuncompress($_SESSION['list_pre']) );
|
|
case 'list':
|
|
$firephp->info('Lancement de la recherche...');
|
|
require_once 'recherche/recherche_list.php';
|
|
//On efface de la session les éléments suivants $_SESSION['tabInfo']['entrep']
|
|
unset($_SESSION['tabInfo']['entrep']);
|
|
break;
|
|
default:
|
|
break;
|
|
}
|
|
?>
|