$version = $_SERVER['SITE_VERSION'];
if ('members' == $version) {
if (!authenticate_user($_POST['username'], $_POST['password'])) {
header('Location: http://guest.example.com/');
exit;
}
}
include_once "${version}_header"; // load custom header