if ( isset($_GET['msg']) ) { $msg = $_GET['msg']; $out = ""; if ( $msg == 'pwd_mailed' ) $out = "Registration successful. You will receive your password via email."; if ( $msg == 'lfail' ) $out = "Login failed"; if ( $msg == 'lsuccess' ) $out = 'Welcome!'; if ( $msg == 'logout' ) $out = "Come back soon!"; if ( $msg == 'prof_success' ) $out = "Profile changed."; if ( $out ) print '