<?php
include("/var/www/templateV4.0/get_opt.php");
$english_page="?lang=en";
$french_page="?lang=fr"; 	// inutile ici, car lang=fr
if ($lang!="en") {$name="Annuaire";} else {$name="Directory";}
include("/var/www/templateV4.0/header.php");
// $sort=_GET["sort"];
?>

<? if ($lang=="en") { ?>

<h1>Directory</h1>

<br>

<p>Dial the prefix <b>01 69 1-</b> (from France) or <b>00 33 1 69 1-</b> (from other countries), followed by the 5 digits in the directory below.</p>


<br>


<? } else { ?>
<h1>Annuaire par activité</h1>

<br>

<p>Le laboratoire <a href="http://www.fast.u-psud.fr">FAST</a> compte 34 permanents (11 chercheurs CNRS, 16 enseignants
-chercheurs de l'Université Paris-Sud et de l'UPMC, et 7 personnels ITA), ainsi que 12 doctorants ou post-doctorants.</p>

<p>Le préfixe du numéro de téléphone est le <b>01 69 1-</b>. Pour les appels int&eacute;rieurs au campus universitaire, composez seulement les 5 derniers chiffres.</p>


<br>




<? }



foreach ($tab_grp as $grp)
{

if ($grp["nom_complet_fr"]=="") {continue;}
	$num = $grp["num"];
 	echo "<h2>";
	cite_theme($num);
 	echo "</h2>";

// 	list_of_member_by_theme($num,true,false);

?>
    <table border="0" cellspacing="0" cellpadding="3" width="100%">
    <tbody class="textfootnote">
<!--     <td>&nbsp;</td></tr> -->
	<tr> <td width="30%"> &nbsp;</td>
	 <td width="20%"> &nbsp;</td>
	 <td width="10%"> &nbsp;</td>
	 <td width="15%"> &nbsp;</td>
         <td width="25%"> &nbsp;</td>
	</tr>
<?


	$tab=record_sort($tab,$sort,$sens);
$i=0;
foreach ($tab_pers as $l)
{
	if (($l["theme1"]!=$num)&&($l["theme2"]!=$num)&&($l["theme3"]!=$num)&&($l["theme4"]!=$num)&&($l["theme5"]!=$num)&&($l["theme6"]!=$num)){continue;}
//
	if ($l["quit_year"]!="") continue; 

	
	$i++;
	if ($i%2==0)
	{
?>
    <tr bgcolor="#F0FFFF">
<?	
	}
	else
	{
// echo("$l[3] \n"); 
?>
    <tr bgcolor="#FFEEEE">
<?	
	}
	
	$login=$l["login"];
	echo("<td>");	cite($login,false,false);  echo ("</td>");
	echo "<td>"; echo get_mail($login); echo "</td>";
	echo "<td>".$l["bureau"]."</td>"; 
	echo "<td>".$l["tel"]."</td>"; 
	echo "<td>"; cite_fonction($login);echo "</td>";
}


echo " <tr><td>&nbsp;</td></tr></tbody></table>";
}



include("/var/www/templateV4.0/foot.php");
?>
