inserted correct html header

This commit is contained in:
dechutes 2003-06-29 11:16:03 +00:00
parent 0475ac886f
commit dadb3f7fbb
1 changed files with 9 additions and 0 deletions

View File

@ -31,9 +31,16 @@ include_once ("../../lib/status.inc");
session_save_path("../../sess"); session_save_path("../../sess");
@session_start(); @session_start();
setlanguage();
// copy HTTP-GET variables to HTTP-POST // copy HTTP-GET variables to HTTP-POST
$_POST = $_POST + $_GET; $_POST = $_POST + $_GET;
// insert header for html file
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n";
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"
\"http://www.w3.org/TR/html4/loose.dtd\">\n";
// check if button was pressed and if we have to add/delete a user // check if button was pressed and if we have to add/delete a user
if ($_POST['new_user'] || $_POST['del_user']){ if ($_POST['new_user'] || $_POST['del_user']){
// add new user // add new user
@ -51,6 +58,8 @@ if ($_POST['new_user'] || $_POST['del_user']){
exit; exit;
} }
echo "<html><head><title>listusers</title>\n"; echo "<html><head><title>listusers</title>\n";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n"; echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
echo "</head><body>\n"; echo "</head><body>\n";