<?php
			if(isset($_GET['langue'])){
				$langue = $_GET['langue'];
			}
			else{
				$lan = explode(',',$_SERVER['HTTP_ACCEPT_LANGUAGE']);
				$langue=strtolower(substr(chop($lan[0]),0,2));
			}
			if ($langue != 'fr'){
				$langue = 'en';	
			}
			if(isset($_GET['langue'])){
				$lien='?langue='.$langue;
			}
			else{
				$lien='';
			}
			$nompage="index";
			
			
			function myobfiscate($emailaddress){
				$email= $emailaddress;                
				$length = strlen($email);                         
 				for ($i = 0; $i < $length; $i++){                
 					$obfuscatedEmail .= "&#" . ord($email[$i]).";";
 				}
 				echo $obfuscatedEmail;
			};


?>



<!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="<?php echo $langue; ?>" lang="<?php echo $langue;?>">
    <head>
        <title>Pierre Lezowski</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link rel="stylesheet" media="screen" type="text/css" title="Style" href="style.css" />
    </head>
    <body>
		<?php include("php/menu.php"); ?>
		<div id="corps">
		<div id="titre">
		 <table id="accueil">
		      <tr>
		      <td class="accueil"> <a href="http://www.inria.fr/"><img src="images/inr_logo_cherch_UK_coul.png" width="162" alt="<?php echo ($langue=='fr') ? "logo INRIA" : "INRIA logo"?> " /></a></td>
		      <td class="accueil">
		      <h3> Pierre Lezowski </h3>
			  <?php
				if($langue == 'fr'){
					echo "Post-doctorant INRIA dans l'équipe ";
				}
				else{
					echo "INRIA post-doctoral researcher in the";
				}
				?>
				<a href="http://lfant.math.u-bordeaux1.fr/">LFANT</a>
				<?php
				if($langue == 'fr'){
				}
				else{
					echo "team";
				}
				?>
		      </td>
		       <td class="accueil"> <a href="http://lfant.math.u-bordeaux1.fr/" ><img src="images/lfant.png" width="162" alt="<?php echo ($langue=='fr') ? "logo de LFANT" : "LFANT logo"?> " /></a></td>
		      </tr>
		 </table>
		 </div>
		 <?php #<img style="width:100px;height:133px" src="images/Bureau.png" class="imageflottante_bis" alt="moi" />?>
		 <h4> <?php echo ($langue == 'fr')? "Adresse" : "Address";?> </h4>
		 <address>
		      Institut de Mathématiques de Bordeaux <br/>
		      Université Bordeaux 1 <br/>
		      351 cours de la Libération <br/>
		      33405 Talence Cedex, France.
		 </address>
		 <h4> <?php echo ($langue == 'fr') ? "Contact" : "Office";?> </h4> 					
 					<div id="coordonnees">
 					<ul class="coordonnees">
				    	<li id="bureau"> Bureau 375 (<?php echo ($langue == 'fr') ? "bâtiment" : "building";?> A33) </li>
    					<li id="telephone"> <?php echo ($langue == 'fr') ? "Téléphone :" : "Phone:";?> (+33) 5 40 00 21 72</li>
    					<li id="adresse-mail"> Email<?php echo ($langue == 'fr') ? " : " : ": ";?>

<a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#112;&#105;&#101;&#114;&#114;&#101;&#46;&#108;&#101;&#122;&#111;&#119;&#115;&#107;&#105;&#64;&#105;&#110;&#114;&#105;&#97;&#46;&#102;&#114;">&#112;&#105;&#101;&#114;&#114;&#101;&#46;&#108;&#101;&#122;&#111;&#119;&#115;&#107;&#105;&#64;&#105;&#110;&#114;&#105;&#97;&#46;&#102;&#114;</a>


						</li>
					</ul>
					</div>
			<h4> <?php echo ($langue == 'fr') ? "Lien direct" : "Direct link";?> </h4>
					<p>
					<a href="tables/index.php<?php echo $lien; ?>"><?php echo ($langue == 'fr') ? "Table de corps nombres (non) euclidiens." : "(Non) Euclidean number fields table.";?></a>
					</p>
		<?php include("php/footer.php"); ?>
		</div>
			
	</body>
</html>
