\n");
printf("window.onload = function () { get_progs(\"\",\"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");
//field for table with values
printf("\n"); printf(" |