From 953ddd82e48dd206cef5ac94456549aed13b3ad5 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Fri, 17 Nov 2023 23:25:29 +0100 Subject: Updated 30 files and deleted 2976 files (automated) --- includes/util/functions.inc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'includes/util/functions.inc') 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); -- cgit