summaryrefslogtreecommitdiff
path: root/includes/util/functions.inc
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2023-11-17 23:25:29 +0100
committerRaindropsSys <raindrops@equestria.dev>2023-11-17 23:25:29 +0100
commit953ddd82e48dd206cef5ac94456549aed13b3ad5 (patch)
tree8f003106ee2e7f422e5a22d2ee04d0db302e66c0 /includes/util/functions.inc
parent62a9199846b0c07c03218703b33e8385764f42d9 (diff)
downloadpluralconnect-953ddd82e48dd206cef5ac94456549aed13b3ad5.tar.gz
pluralconnect-953ddd82e48dd206cef5ac94456549aed13b3ad5.tar.bz2
pluralconnect-953ddd82e48dd206cef5ac94456549aed13b3ad5.zip
Updated 30 files and deleted 2976 files (automated)
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);