query("SELECT realm FROM sessions WHERE id='$id'")->fetch();
if ($row == false) {
die("Session not found");
}
$realm = $row['realm'];
echo "Sign up for a subscription - $realm
\n";
$row = $db->query("SELECT value FROM osu_config WHERE realm='$realm' AND field='free_account'")->fetch();
if ($row && strlen($row['value']) > 0) {
echo "Sign up for free access
\n";
}
echo "
Enroll a client certificate\n"
?>