示例#1
0
        } else {
            header("Location: " . $refUrl);
        }
    } else {
        $statusStr = 'Your username or password was incorrect. Please try again.<br/> If you are unable to remember your login credentials,<br/> use the controls below to retrieve your login or reset your password.';
    }
} elseif ($action == "Retrieve Login") {
    if ($emailAddr) {
        if ($pHandler->lookupUserName($emailAddr)) {
            $statusStr = "Your login name will be emailed to you.";
        } else {
            $statusStr = $pHandler->getErrorStr();
        }
    }
} elseif ($resetPwd) {
    $statusStr = $pHandler->resetPassword($login);
} else {
    $statusStr = $pHandler->getErrorStr();
}
?>

<html>
<head>
	<title><?php 
echo $defaultTitle;
?>
 Login</title>
	<meta http-equiv="X-Frame-Options" content="deny">
	<link href="../css/base.css?<?php 
echo $CSS_VERSION;
?>