Commits

Dennis T Kaplan  committed ee50bf9

index.html

  • Participants
  • Parent commits f929540

Comments (0)

Files changed (3)

File citadel.html

-<!DOCTYPE html>
-<html>
-<head>
-<title>Citadel</title>
-<meta name="generator" content="Citadel PHP">
-<meta http-equiv="content-language" content="en">
-<meta charset="UTF-8">
-<link rel="icon" href="http://www.riky.net/static/ico/favicon.ico" type="image/x-icon">
-<link href="citadel.css" rel="stylesheet"/>
-
-<script id="template_Login" type="text/template">
-    <form id="FormLogin" method="post"><label>Login</label>
-        <input id="name" type="text" name="user" required placeholder="Username">
-        <input id="pass" type="password" name="pass" required placeholder="Password">
-        <input type="button" value="Submit" id="PostLogin" onclick="userLogin()">
-    </form>
-</script>
-
-<script id="template_User" type="text/template">
-    <form id="FormLogout" method="post">
-        <input type="button" value="Logout" onclick="userLogout()">
-    </form>
-    <form id="FormPassword" method="post"><label>Change Password</label>
-        <input id="pass1" type="password" name="pass1" autocomplete="off" required placeholder="New Password">
-        <input id="pass2" type="password" name="pass2" autocomplete="off" required placeholder="Confirm">
-        <input type="button" value="Submit" onclick="userPassword()">
-    </form>
-</script>
-
-<script src="citadel.js"></script>
-
-
-</head>
-<body>
-    <div id="messanger"></div>
-	<div id="logo"></div>
-    <div id="content"></div>
-</body>
-</html>
         }
         xmlhttp.open("POST", "citadel.php", true);
         xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
+        xmlhttp.setRequestHeader("Content-length", params.length);
+        xmlhttp.setRequestHeader("Connection", "close");
         xmlhttp.send(params);    
 }
 
+<!DOCTYPE html>
+<html>
+<head>
+<title>Citadel</title>
+<meta name="generator" content="Citadel PHP">
+<meta http-equiv="content-language" content="en">
+<meta charset="UTF-8">
+<link rel="icon" href="http://www.riky.net/static/ico/favicon.ico" type="image/x-icon">
+<link href="citadel.css" rel="stylesheet"/>
+
+<script id="template_Login" type="text/template">
+    <form id="FormLogin" method="post"><label>Login</label>
+        <input id="name" type="text" name="user" required placeholder="Username">
+        <input id="pass" type="password" name="pass" required placeholder="Password">
+        <input type="button" value="Submit" id="PostLogin" onclick="userLogin()">
+    </form>
+</script>
+
+<script id="template_User" type="text/template">
+    <form id="FormLogout" method="post">
+        <input type="button" value="Logout" onclick="userLogout()">
+    </form>
+    <form id="FormPassword" method="post"><label>Change Password</label>
+        <input id="pass1" type="password" name="pass1" autocomplete="off" required placeholder="New Password">
+        <input id="pass2" type="password" name="pass2" autocomplete="off" required placeholder="Confirm">
+        <input type="button" value="Submit" onclick="userPassword()">
+    </form>
+</script>
+
+<script src="citadel.js"></script>
+
+
+</head>
+<body>
+    <div id="messanger"></div>
+	<div id="logo"></div>
+    <div id="content"></div>
+</body>
+</html>