summaryrefslogtreecommitdiff
path: root/includes/util/functions.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/util/functions.inc')
-rw-r--r--includes/util/functions.inc14
1 files changed, 13 insertions, 1 deletions
diff --git a/includes/util/functions.inc b/includes/util/functions.inc
index 8a8c4f8..0cf15d2 100644
--- a/includes/util/functions.inc
+++ b/includes/util/functions.inc
@@ -316,6 +316,13 @@ if (!function_exists("getMemberWithoutSystem")) {
if ($m["id"] === $id) $member = $m;
}
+ $members3 = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/hrbom/members.json"), true);
+ foreach ($members3 as $m) {
+ $m["_system"] = "hrbom";
+ $m["system"] = "hrbom";
+ if ($m["id"] === $id) $member = $m;
+ }
+
if ($isLowerLoggedIn || $isLoggedIn) {
$app = $GLOBALS["ColdHazeApp"] ?? json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/app.json"), true);
$members3 = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/other/members.json"), true);
@@ -419,13 +426,18 @@ if (!function_exists("cloudburst")) {
}
}
-
if (!function_exists("raindrops")) {
function raindrops(bool $hideTitle): void {
showSystem("gdapd", "Raindrops System", "#a95f08a6", $hideTitle);
}
}
+if (!function_exists("moonglow")) {
+ function moonglow(bool $hideTitle): void {
+ showSystem("hrbom", "Moonglow", "#9064cca6", $hideTitle);
+ }
+}
+
if (!function_exists("other")) {
function other(bool $hideTitle): void {
$app = $GLOBALS["ColdHazeApp"] ?? json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/app.json"), true);