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

\n" ; echo "Try again
\n" ; echo "Log out
\n" ; } else { echo "Hi there. You're online.
\n" ; echo "Page Two
\n" ; } bbs_page_footer(); ?>