<?php
require_once 'auth.php';
require_once 'dbbootstrap.php';
require_once 'includes/path.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
<title>DashBoard Extranet</title>
<meta http-equiv="content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="default.css" />
<link rel="stylesheet" type="text/css" href="droppy.css"  />
<script type="text/javascript" src="./js/jquery.js"></script>
<script type="text/javascript" src="./js/jquery.droppy.js"></script>
<script type="text/javascript" src="./js/jquery.jeditable.js"></script>
<script type="text/javascript" src="./js/script.js"></script>
</head>
<body>
<!-- Layout -->
  <div id="header-region" class="clear-block"></div>

    <div id="wrapper">
    <div id="container" class="clear-block">
      <div id="header">
        <div id="logo-floater"></div>
        <?php require_once 'menu.php';?>
      </div> <!-- /header -->
        <div id="sidebar-left" class="sidebar"></div>
      <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
          <div class="clear-block">
            <?php
            $modules = arg(0,$_REQUEST['q']); 
            switch($modules){
            	case 'graydon':
            		require_once './modules/graydon/graydon.php';
            		break;
            	case 'extranet':
            		require_once './modules/extranet/extranet.php';
            		break;
            	case 'intersud':
            		require_once './modules/intersud/intersud.php';
            		break;
            }
            ?>
          </div>
          <div id="footer"></div>
      </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
        <div id="sidebar-right" class="sidebar">
        </div>
    </div> <!-- /container -->
  </div>
<!-- /layout -->
  </body>
</html>