2009-03-03 16:09:27 +00:00
|
|
|
|
<?php
|
2009-07-09 12:21:23 +00:00
|
|
|
|
if (!$_SESSION['connected']) die();
|
|
|
|
|
if ($_SESSION['tabInfo']['idClient']==34){ $_SESSION['nowAuthorized']=FALSE; }
|
2009-02-17 13:14:53 +00:00
|
|
|
|
|
2009-07-22 07:12:37 +00:00
|
|
|
|
$formR = $_REQUEST['formR'];
|
|
|
|
|
$firephp->log($_REQUEST,'REQUEST');
|
|
|
|
|
|
|
|
|
|
if(!isset($vueRecherche)){ $vueRecherche = $_REQUEST['vue']; }
|
2009-02-26 17:56:35 +00:00
|
|
|
|
|
|
|
|
|
switch ($vueRecherche) {
|
2009-02-17 13:14:53 +00:00
|
|
|
|
case 'ent':
|
2009-07-22 07:12:37 +00:00
|
|
|
|
require_once 'recherche/recherche_ent.php';
|
2009-02-17 13:14:53 +00:00
|
|
|
|
break;
|
|
|
|
|
case 'enq':
|
2009-07-22 07:12:37 +00:00
|
|
|
|
require_once 'recherche/recherche_enq.php';
|
2009-02-17 13:14:53 +00:00
|
|
|
|
break;
|
|
|
|
|
case 'dir':
|
2009-07-22 13:06:17 +00:00
|
|
|
|
require_once 'recherche/recherche_dir.php';
|
2009-02-17 13:14:53 +00:00
|
|
|
|
break;
|
2009-08-27 09:22:17 +00:00
|
|
|
|
case 'histo':
|
|
|
|
|
require_once 'recherche/recherche_histo.php';
|
|
|
|
|
break;
|
2009-02-17 13:14:53 +00:00
|
|
|
|
case 'list_pre':
|
2009-08-12 10:16:34 +00:00
|
|
|
|
$formR = unserialize( @gzuncompress($_SESSION['list_pre']) );
|
2009-02-17 13:14:53 +00:00
|
|
|
|
case 'list':
|
2009-05-27 15:56:34 +00:00
|
|
|
|
$firephp->info('Lancement de la recherche...');
|
2009-07-22 13:06:17 +00:00
|
|
|
|
require_once 'recherche/recherche_list.php';
|
2009-03-10 15:07:24 +00:00
|
|
|
|
//On efface de la session les <20>l<EFBFBD>ments suivants $_SESSION['tabInfo']['entrep']
|
|
|
|
|
unset($_SESSION['tabInfo']['entrep']);
|
2009-02-17 13:14:53 +00:00
|
|
|
|
break;
|
|
|
|
|
default:
|
|
|
|
|
break;
|
|
|
|
|
}
|
2009-07-22 07:12:37 +00:00
|
|
|
|
?>
|