= 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 = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/" . $systemID . "-" . $memberID . "-metadata.json"), true);
?>
= $memberID ?>
(= $systemID . "/" . $memberID ?>
, = $memberData["name"] ?>)= $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" : "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"] ?>