// This program is released under the terms of the GNU General Public License. include "ctdlheader.php"; bbs_page_header(); if ($_REQUEST["action"] == "Login") { list($retval, $msg) = login_existing_user($_REQUEST["user"], $_REQUEST["pass"]); } else if ($_REQUEST["action"] == "New User") { list($retval, $msg) = create_new_user($_REQUEST["user"], $_REQUEST["pass"]); } else { echo "uuuuhhhhhhhhh....
\n" ; } if ($retval == FALSE) { echo "
", $msg, "

\n" ; echo "Try again
\n" ; echo "Log out
\n" ; } else { echo "Logged in. "; echo "Click to continue if your browser does not refresh.
"; echo "\n"; } bbs_page_footer(); ?>