'PRD') { // Pas de mise en cache WSDL pour SOAP ini_set('soap.wsdl_cache_enabled', 0); } if (!isset($_REQUEST['page'])) $page='main'; else $page=$_REQUEST['page']; if (!isset($_REQUEST['sortie'])) $sortie=''; else $sortie=$_REQUEST['sortie']; switch ($page) { case 'referer': require_once 'index_referer.php'; break; case 'main': require_once 'index_main.php'; break; case 'recherche': require_once 'index_recherche.php'; break; case 'moncompte': require_once 'index_moncompte.php'; break; case 'administration': require_once 'index_administration.php'; break; case 'stats': require_once 'index_stats.php'; break; case 'identite': require_once 'index_identite.php'; break; case 'evenements': require_once 'index_evenements.php'; break; case 'saisie': require_once 'index_saisie.php'; break; case 'etablissements': require_once 'index_etablissements.php'; break; case 'carte': require_once './pages/carte.php'; break; case 'liens': require_once 'index_liens.php'; break; case 'dirigeants': require_once 'index_dirigeants.php'; break; case 'annonces': require_once 'index_annonces.php'; break; case 'infosreg': require_once 'index_infosreg.php'; break; case 'bourse': require_once 'index_bourse.php'; break; case 'liasse': require_once 'index_liasse.php'; break; case 'competences': require_once 'index_competences.php'; break; case 'conventions': require_once 'index_conventions.php'; break; case 'marques': require_once 'index_marques.php'; break; case 'pieces': require_once 'index_pieces.php'; break; case 'kbis': require_once 'index_kbis.php'; break; case 'synthese': require_once 'index_synthese.php'; break; case 'bilans': require_once 'index_bilans.php'; break; case 'bilans2': require_once './pages/bilans2.php'; break; case 'ratios': require_once 'index_ratios.php'; break; case 'indiscore': require_once 'index_indiscore.php'; break; case 'scorescf': require_once 'index_scorescf.php'; break; case 'survliste': require_once 'index_survliste.php'; break; case 'survlisteann': require_once 'index_survlisteann.php'; break; case 'avis': include('./pages/avis.php'); break; case 'actes': include('./pages/actes.php'); break; case 'attente': include('./pages/attente.php'); break; case 'original': include('./pages/original.php'); break; case 'fichier': include('./pages/fichier.php'); break; case 'greffes': require_once 'index_greffes.php'; break; default: $title='Erreur'; afficheErreur("Erreur 10400 : La page demandée est inexistante !"); break; } logAction($tabInfo['login'], $page, $_REQUEST['siret'], $tabInfo['ip'], $tabInfo['host'], $tabInfo['resolution'], $tabInfo['nbcolors'], $tabInfo['user_agent'],$tabInfo['referer1'], gmdate('Y/m/d H:i:s',$tabInfo['date_login']+3600), gmdate('Y/m/d H:i:s',$tabInfo['date_last_action']+3600), implode(', ',$_REQUEST)); if ($sortie=='pdf') { ob_end_flush(); readfile($fichierPdf); } ?>