".gettext("Annuaire")."\n"; $uid = isset($_GET['uid']) ? $_GET['uid'] : ""; if($uid=='') { echo "

ERREUR: uid non choisi.

"; include ("pdp.inc.php"); die(); } aff_trailer ("3"); #$TimeStamp_0=microtime(); // correctif provisoire if(isset($user)) { $user_tmp = $user; // fin correctif } list($user, $groups)=people_get_variables($uid, true); #$TimeStamp_1=microtime(); ############# # DEBUG # ############# #echo "debug :Temps de recherche = ".duree($TimeStamp_0,$TimeStamp_1)." s
"; ############# # Fin DEBUG # ############# echo "

".$user["fullname"]."

\n"; if((ldap_get_right("Annu_is_admin",$login)=="Y")&&(isset($_GET['create_home']))&&($_GET['create_home']=='y')) { echo "

Création du dossier personnel de ".$user["uid"]." : "; exec("sudo /usr/share/se3/shares/shares.avail/mkhome.sh ".$user["uid"],$ReturnValue2); if(count($ReturnValue2)==0) { echo "OK

"; } else { echo "

";
        foreach($ReturnValue2 as $key => $value) {
            echo "$value";
        }
    }
    echo "
"; } echo "
"; if ($user["description"]) echo "

".$user["description"]."

"; if ( count($groups) ) { echo "Membre des groupes :
"; for ($j=0;$j"; } elseif (file_exists("/var/se3/Docs/trombine/$photo_employeeNumber")) { echo "\"$employeeNumber_gepi\""; } } echo "
"; include ("pdp.inc.php"); ?>