".gettext("Annuaire")."\n"; aff_trailer ("1"); // Affichage des coordonnees de l'Etablissement /* $ldap_etab_attr = array( "ou", // Intitule de l'Etablissement "street", "l", "postOfficeBox", "PostalCode", "telephoneNumber" ); $ds = @ldap_connect ( $ldap_server, $ldap_port ); if ( $ds ) { $r = @ldap_bind ( $ds ); // Bind anonyme if ($r) { $result = @ldap_read ( $ds, $ldap_base_dn, "(objectclass=organizationalUnit)", $ldap_etab_attr ); if ($result) { $info = @ldap_get_entries ( $ds, $result ); if ( $info["count"]) { echo "
\n"; echo utf8_decode($info[0]["ou"][0])."\n"; } @ldap_free_result ( $result ); } } else { $error = gettext("Echec du bind anonyme"); } @ldap_close ( $ds ); } else { $error = gettext("Erreur de connection au serveur LDAP"); } */ aff_mnu_search(is_admin("Annu_is_admin",$login)); if (ldap_get_right("Annu_is_admin",$login)=="Y") { //echo "
\n"; echo $info[0]["street"][0]."
\n"; if ( $info[0]["postofficebox"][0]) { echo $info[0]["postofficebox"][0]." - "; } echo $info[0]["postalcode"][0]." ".utf8_decode($info[0]["l"][0])."
\n"; echo "Tel. ".$info[0]["telephonenumber"][0]."\n"; echo"