* Got login/logout working. Still need to redirect unloggedin sessions to
[citadel.git] / ctdlphp / login.php
index 7938064bc4e62ed1bac84c7beb6da5b16c7e9f0f..2190447d2f029742d1cb8527aaf1d5bbc6349ae9 100644 (file)
@@ -5,6 +5,25 @@
        ctdl_mesg("hello");
 ?>
 
+       <div align=center>
+       <form action="do_login.php" method="POST">
+
+       <table border="0" cellspacing="5" cellpadding="5" BGCOLOR="#EEEEEE">
+               <tr><td>User name:</td>
+               <td><input type="text" name="name" maxlength="25"></td></tr>
+               <tr><td>Password:</td>
+               <td><input type="password" name="pass" maxlength="20"></td></tr>
+
+       <tr><td align=center COLSPAN=2>
+       <input type="submit" name="action" value="Login">
+       <input type="submit" name="action" value="New User">
+       <input type="submit" name="action" value="Exit">
+       </td></tr>
+
+       </table>
+       </form>
+       </div>
+
 <a href="page2.php">Page Two</a><BR>
 <a href="page3.php">Page Three</a><BR>