function regForm() { echo "<form action=\"register.php\" method=\"post\">\n"; echo "<table class=\"form\" style=\"border-width: 0px\">\n"; print_text_input("MTGO Username", "username"); print_password_input("Password", "pw1"); print_password_input("Confirm Password", "pw2"); print_submit("Register Account", "mode"); echo "</table></form>"; }
function printChangePasswordForm() { echo "<form action=\"admincp.php\" method=\"post\">"; echo "<h3><center>Change User Password</center></h3>"; echo "<table class=\"form\" style=\"border-width: 0px\" align=\"center\">"; print_text_input("Username", "username"); print_text_input("New Password", "new_password"); print_submit("Change Password"); echo "</table> </form>"; }