}
spl_autoload_register("classLoad");
include 'config.php';
include 'lib/pagination.php';
//classes loading end
session_start();
if (isset($_SESSION['userMerlaTrav']) and $_SESSION['userMerlaTrav']->profil() == "admin") {
    //les sources
    $employeManager = new EmployeSocieteManager($pdo);
    $employe = "";
    $idEmploye = 0;
    if (isset($_GET['idEmploye']) and ($_GET['idEmploye'] > 0 and $_GET['idEmploye'] <= $employeManager->getLastId())) {
        $idEmploye = htmlentities($_GET['idEmploye']);
        $employe = $employeManager->getEmployesSocieteById($idEmploye);
        $salairesManager = new EmployeSocieteSalaireManager($pdo);
        $salaires = $salairesManager->getSalairesByIdEmploye($idEmploye);
        $congesManager = new EmployeSocieteCongeManager($pdo);
        $conges = $congesManager->getCongesByIdEmploye($idEmploye);
    }
    ?>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
	<meta charset="utf-8" />
	<title>ImmoERP - Management Application</title>
	<meta content="width=device-width, initial-scale=1.0" name="viewport" />
	<meta content="" name="description" />
	<meta content="" name="author" />