get_ActiveTypes(); for ($i = 0; $i < sizeof($types); $i++) { $info = @ldap_search($_SESSION['ldap']->server(), escapeDN($conf->get_Suffix($types[$i])), "(objectClass=*)", array('objectClass'), 0, 0, 0, LDAP_DEREF_ALWAYS); $res = @ldap_get_entries($_SESSION['ldap']->server(), $info); if (!$res && !in_array($conf->get_Suffix($types[$i]), $new_suffs)) $new_suffs[] = $conf->get_Suffix($types[$i]); } // get encoding $lang = explode(":",$_SESSION['language']); $lang = $lang[1]; echo "\n"; echo "\n"; echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo ("