summaryrefslogtreecommitdiff
path: root/pages/ponytown.inc
diff options
context:
space:
mode:
Diffstat (limited to 'pages/ponytown.inc')
-rw-r--r--pages/ponytown.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/pages/ponytown.inc b/pages/ponytown.inc
index 08c3f27..b268aa3 100644
--- a/pages/ponytown.inc
+++ b/pages/ponytown.inc
@@ -16,7 +16,7 @@ if (getMemberWithoutSystem($parts[2]) === null) {
$member = getMemberWithoutSystem($parts[2]);
-if ($isLowerLoggedIn && $member["_system"] !== $app["other"]["id"]) {
+if ($isLowerLoggedIn && $member["_system"] !== $app["other"]["id"] && $member["_system"] !== "hrbom") {
peh_error("System member not found", 404);
return;
}
@@ -48,7 +48,7 @@ $member = getMemberWithoutSystem($parts[2]);
<img src="data:image/png;base64,<?= file_exists($_SERVER['DOCUMENT_ROOT'] . "/assets/ponies/" . $member["id"] . ".png") ? base64_encode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/assets/ponies/" . $member["id"] . ".png")) : "" ?>" style="width: 100%; border: 1px dashed rgba(255, 255, 255, .5); border-radius: 10px;">
</div>
<div style="display: flex; align-items: center; justify-content: center;">
- <img src="data:image/png;base64,<?= file_exists($_SERVER['DOCUMENT_ROOT'] . "/assets/uploads/pt-" . $member["name"] . ".png") ? base64_encode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/assets/uploads/pt-" . $member["name"] . ".png")) : "" ?>" style="width: 100%; border: 1px dashed rgba(255, 255, 255, .5); border-radius: 10px;">
+ <img src="data:image/png;base64,<?= file_exists($_SERVER['DOCUMENT_ROOT'] . "/assets/uploads/pt-" . $member["name"] . ".png") ? base64_encode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/assets/uploads/pt-" . $member["name"] . ".png")) : (file_exists($_SERVER['DOCUMENT_ROOT'] . getAsset($member["_system"], $member["id"], "heads")) ? base64_encode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . getAsset($member["_system"], $member["id"], "heads"))) : "") ?>" style="width: 100%; border: 1px dashed rgba(255, 255, 255, .5); border-radius: 10px;">
</div>
</div>
@@ -61,7 +61,7 @@ $member = getMemberWithoutSystem($parts[2]);
}
if ($info[1] > 60): ?>
- <p class="text-warning" style="margin-top: 15px; margin-bottom: 0; text-align: center;"><b>This Pony Town character needs to be updated.</b><br>Cold Haze now relies on pixel-perfect versions of one's Pony Town character to work properly, and the current character for this member is not compliant or non-existant.</p>
+ <p class="text-warning" style="margin-top: 15px; margin-bottom: 0; text-align: center;"><b>This Pony Town character needs to be updated.</b><br>Ponycule now relies on pixel-perfect versions of one's Pony Town character to work properly, and the current character for this member is not compliant or non-existant.</p>
<?php endif; ?>
</div>
</div>