if ($HTTP_POST_VARS["submitteam"]) { $anes->process_team($HTTP_POST_VARS); header("location: ".$_SERVER["SELF"]."?page=TEAM"); } $anes->register_team($HTTP_POST_VARS); } else { header("location: ".$_SERVER["SELF"]); } break; case "SHOUT": if ($_SESSION["validuser"]) { if ($HTTP_POST_VARS["submitdelete"]) { $shoutbox->process_shoutdelete($HTTP_POST_VARS); header("location: ".$_SERVER["SELF"]."?page=SHOUT"); } $shoutbox->display_shoutdelete(); } else { header("location: ".$_SERVER["SELF"]); } break; case "NURSE": if ($_SESSION["validuser"]) { if ($HTTP_POST_VARS["submitnurse"]) { $nurse->process_nurse($HTTP_POST_VARS); header("location: ".$_SERVER["SELF"]."?page=NURSE"); } $nurse->form_nurse($HTTP_POST_VARS, $nurse_id); $nurse->display_nurses(); } else { header("location: ".$_SERVER["SELF"]); }