\n"); printf("window.onload = function () { get_progs(\"\",\"10\",\"edit\"); }\n"); printf("\n"); include ("include.php"); if (!isset($_SERVER['PHP_AUTH_USER'])) { header('WWW-Authenticate: Basic realm="Edit FACT Configuration Database"'); header('HTTP/1.0 401 Unauthorized'); return; } else { echo "The password is not yet evaluated, but the username is inserted into the DB.
"; //if (!CheckUsernameAndPassword($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW'], GetLDAPOptions())) // return; } include("db.php"); printf("With this page, you can edit the DB %s.\n", $db); printf("For view, please go here.

\n"); printf("\n"); printf("\n"); printf("\n"); printf("\n"); printf("\n"); printf("\n
\n"); echo (file_get_contents("index-footer.html")); ini_set("display_errors", "Off"); ini_set("mysql.trace_mode", "Off"); } ?>