<?php
    if($idEtablissement == 1){
    	$_SESSION["DB_DATABASE"]	    = 'iitech_calavi'; 
    	$_SESSION["idEtablissement"] 	=	$idEtablissement;
    	$_SESSION["eta_i"] 	            =	$idEtablissement;
    }
    if($idEtablissement == 2){
    	$_SESSION["DB_DATABASE"]    	= 'iitech_parakou'; 
    	$_SESSION["idEtablissement"] 	=	$idEtablissement;
    	$_SESSION["eta_i"] 	            =	$idEtablissement;
    }
    if($idEtablissement == 3){
    	$_SESSION["DB_DATABASE"]	    = 'iitech_portonovo'; 
    	$_SESSION["idEtablissement"] 	=	$idEtablissement;
    	$_SESSION["eta_i"] 	            =	$idEtablissement;
    }
    if($idEtablissement == 4){
    	$_SESSION["DB_DATABASE"]    	= 'iitech_cotonou'; 
    	$_SESSION["idEtablissement"] 	=	$idEtablissement;
    	$_SESSION["eta_i"] 	            =	$idEtablissement;
    }
    
    if($idEtablissement == 5){
    	$_SESSION["DB_DATABASE"]    	= 'iitech_dassa'; 
    	$_SESSION["idEtablissement"] 	=	$idEtablissement;
    	$_SESSION["eta_i"] 	            =	$idEtablissement;
    }
	
    if($idEtablissement == 6){
    	$_SESSION["DB_DATABASE"]    	= 'iitech_come'; 
    	$_SESSION["idEtablissement"] 	=	$idEtablissement;
    	$_SESSION["eta_i"] 	            =	$idEtablissement;
    }
	
    if($idEtablissement == 7){
    	$_SESSION["DB_DATABASE"]    	= 'iitech_bohicon'; 
    	$_SESSION["idEtablissement"] 	=	$idEtablissement;
    	$_SESSION["eta_i"] 	            =	$idEtablissement;
    }
	
    if($idEtablissement == 8){
    	$_SESSION["DB_DATABASE"]    	= 'iitech_atrokpokodji'; 
    	$_SESSION["idEtablissement"] 	=	$idEtablissement;
    	$_SESSION["eta_i"] 	            =	$idEtablissement;
    }
	
    if($idEtablissement == 9){
    	$_SESSION["DB_DATABASE"]    	= 'iitech_akpakpa'; 
    	$_SESSION["idEtablissement"] 	=	$idEtablissement;
    	$_SESSION["eta_i"] 	            =	$idEtablissement;
    }
	if($idEtablissement == 10){
		$_SESSION["DB_DATABASE"]	  	= 'iitech_iitech';
		$_SESSION["idEtablissement"]  	= $idEtablissement;
    	$_SESSION["eta_i"] 	            =	$idEtablissement;
	}
	if($idEtablissement == 11){
		$_SESSION["DB_DATABASE"]	  	= 'iitech_epac';
		$_SESSION["idEtablissement"]  	= $idEtablissement;
    	$_SESSION["eta_i"] 	            =	$idEtablissement;
	}
