<?php
require_once("register_globalsoff.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<?php
   class Filesref {
      var $title="";
      var $contenu="";
      var $secondaire="";
      function Filesref($var1,$var2,$var3) {
         $this->title=$var1;
         $this->contenu=$var2;
         $this->secondaire=$var3;
      }
    };

   $KnownLanguages=array('en'=>true,'es'=> true,'fr'=>true);
   if(isset($_GET['lang']) && isset($KnownLanguages[$_GET['lang']])){
     $Language=$_GET['lang'];
   }
   else {
     $Language='fr';
   }

   $Allowed=array('accueil'=> new Filesref('Accueil', 'accueil.php', 'menuaccueil.php'),
                   'recherche' => new Filesref('Recherche', 'recherche.php','menurecherche.php'),
                  'CV'=> new Filesref('Curriculum Vitae', 'CV.php', 'menuaccueil.php'),
                  'publications'=> new Filesref('Publications', 'publis.php', 'menurecherche.php'),
                  'communications'=> new Filesref('Communications', 'communications.php', 'menurecherche.php'),
                  'enseignement'=>new Filesref('Enseignement', 'enseignement.php', ''),
                  'these'=> new Filesref('These', 'these.php', 'menurecherche.php'));

   if(isset($_GET['page']) && isset($Allowed[$_GET['page']])) {
     $CurrPage=$Allowed[$_GET['page']];
     $PageRef=$_GET['page'];
   }
   else {
     $CurrPage=$Allowed['accueil'];
     $PageRef='accueil';
   }

?>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="generator" content=
"HTML Tidy for Mac OS X (vers 1 July 2005), see www.w3.org"/>
<link rel="stylesheet" type="text/css" href="./styles/style.css"/>
<title>K&eacute;vin Santugini: <?php echo "$CurrPage->title" ?></title>
</head>
<body>

<div id="container">
<div id="photo">
<img src="ego.jpg" height="100%" alt=""/>
</div>
<div id="entete-texte">
<strong>K&eacute;vin Santugini</strong><br/>
Institut math&eacute;matiques de Bordeaux<br/>
<img src="my_email.php" alt="mon email"/>
</div>
<div id="logo">
<a href="http://www.math.u-bordeaux1.fr/maths/"> 
<img src="http://" height="100%" alt="Logo Bordeaux"/></a>
</div>

<div id="Langages">
<a href="./index.php?page=<?php echo $PageRef;
?>&amp;lang=fr">fr</a>
<a href="./index.php?page=<?php echo $PageRef;
?>&amp;lang=en">en</a>
</div>


<div id="menuprincipal" class="menu">
<?php include("menu.php")?>
</div>

<?php if($CurrPage->secondaire) { ?>  
<div id="menusecondaire" class="menu">
<?php  include("$CurrPage->secondaire") ?>
</div>
<?php } ?>

<div id="contenu">
<div id="contenu2">
<?php
    include("$CurrPage->contenu");   
  ?>

</div>
</div>

<div id="footer">
<div class="menu">
<?php include("menu.php") ?>
</div>
<p class="centered">
    <a    href="http://validator.w3.org/check?uri=referer">
      <img style="border:0;width:88px;height:31px"
        src="./valid-xhtml11"
        alt="Valid XHTML 1.1 Strict" height="31" width="88"/></a>

 <a href="http://jigsaw.w3.org/css-validator/check/referer">
  <img style="border:0;width:88px;height:31px"
       src="./vcss" 
       alt="Valid CSS!"/>
 </a>
</p>
</div>
</div>
<!-- Created: Sat Nov 20 21:12:49 CET 2004 -->
<!-- hhmts start -->
<!-- Last modified: Sat Dec 11 23:58:22 CET 2004 -->
<!-- hhmts end -->
</body>
</html>
