<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>acceuil</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<link rel="stylesheet" href="design.css" type="text/css" />
<script type="text/javascript" src="jquery-1.11.2.min.js"> </script>
<script type="text/javascript" src="Navigation.js"> </script>
</head>
<body>
<div id="left">
<img src="logo.jpg" WIDTH='200%' HEIGHT='150'/>
</div>
<div id="center">
<img src="mau.jpg" WIDTH='800%' HEIGHT='150'/>
</div>
<div id="right">
<img src="logo.jpg" WIDTH='200%' HEIGHT='150'/>
</div>
</div>
<center>
<div id="outer">
<div id="inner">
<div id="contenu">
<div id="menu">
<h2> Bienvenue dans Session Administrateur</h2>
<table bordercolor="green" width="100%">
<tr>
<td><a href="ajouter_personnel.php">Utilisateur</a></td>
<td><a href="departement.php">Departement</a></td>
<td><a href="ajouter_employe.php">Employes</a></td>
<td><a href="conge.php">Conges</a></td>
<td><a href="ajouter_permission.php">Permission</a></td>
</tr>
</table>
</div>
</center>
</body>
</html>
$(document).ready(function(){
$("#menu a").click(function(){
page=$(this).attr("href");
$.ajax({
url: +page,
cache:false,
success:function(html){
afficher(html);
},
error:function(XMLHttpRequest,textStatus, errorThrown){
alert(textStatus);
}
}
return false;
});
});
function afficher(data){
$("#contenu").empty();
$("#contenu").append(data);
}