= 0) {
return $tense = "now";
} elseif ($difference > 0) {
$tense = "ago";
} else {
$tense = "later";
}
for ($j = 0; $difference >= $lengths[$j] && $j < count($lengths)-1; $j++) {
$difference /= $lengths[$j];
}
$difference = round($difference);
$period = $periods[$j] . ($difference >1 ? "s" :'');
return "{$difference} {$period} {$tense}";
}
$metadata = parseMetadata(json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/" . $systemID . "-" . $memberID . "-metadata.json"), true));
?>
= $_SERVER['DOCUMENT_ROOT'] ?>/includes/data/= $systemID ?>-= $memberID ?>-metadata.json
)
= $memberID ?>
(= $systemID . "/" . $memberID ?>
, = $memberData["name"] ?>)#= $memberData["color"] ?? "ffffff" ?>
= str_repeat("0", 24 - strlen(decbin($metadata["bitset"]))) . decbin($metadata["bitset"]) ?>
(0x= str_repeat("0", 6 - strlen(dechex($metadata["bitset"]))) . dechex($metadata["bitset"]) ?>, = $metadata["bitset"] ?>)= $metadata["shared_memory"] ?>
(= $metadata["shared_memory"] === 2 ? "Full direct access" : ($metadata["shared_memory"] === 0 ? "No direct access" : "Partial direct access") ?>)= $metadata["protector"] ? "1" : "0" ?>
(= $metadata["protector"] ? "Yes" : "No" ?>)= $metadata["little"] ?>
(= $metadata["little"] === 2 ? "Is a little" : ($metadata["little"] === 1 ? "Is an age regressor" : ($metadata["little"] === 3 ? "Not a little, but younger" : "No")) ?>)= count($metadata["marefriends"]) + count($metadata["sisters"]) ?>
= $score["total"] ?>
= $score["host"] ?>
= $score["relations"] ?>
= $score["fictive"] ?>
= $score["median"] ?>
= $score["species"] ?>
= $score["little"] ?>
= $score["not_talking"] ?>
= $score["protector"] ?>
= $score["name"] ?>
= $score["shared_memory"] ?>