summaryrefslogtreecommitdiff
path: root/includes/subsysbanner.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/subsysbanner.php')
-rw-r--r--includes/subsysbanner.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/subsysbanner.php b/includes/subsysbanner.php
index 95c6942..e36d0b5 100644
--- a/includes/subsysbanner.php
+++ b/includes/subsysbanner.php
@@ -25,7 +25,7 @@ $fronters = array_map(function ($item) {
<span>
<b>Fronter:</b>
<?php if (in_array($fronters[0], getSubsystemByID($subsystemID)["members"])): $member = getMember($fronters[0]); ?>
- <a class="member-link" href="/<?= $system ?>/<?= $member["name"] ?>"><img src="/assets/uploads/pt<?= file_exists($_SERVER['DOCUMENT_ROOT'] . "/assets/uploads/pt-" . $member['name'] . ".png") ? "-" . $member['name'] : "" ?>.png" style="width:24px;"> <?= getMiniName($member["display_name"] ?? $member["name"]) ?></a>
+ <a class="member-link" href="/<?= $member["name"] ?>"><img src="/assets/uploads/pt<?= file_exists($_SERVER['DOCUMENT_ROOT'] . "/assets/uploads/pt-" . resolveMember($member['name']) . ".png") ? "-" . $member['name'] : "" ?>.png" style="width:24px;"> <?= getMiniName($member["display_name"] ?? $member["name"]) ?></a>
<?php else: ?>
<span class="text-muted">N/A</span>
<?php endif; ?>
@@ -48,7 +48,7 @@ $fronters = array_map(function ($item) {
}
?>
- <b>Last Fronter: </b><a class="member-link" href="/<?= $system ?>/<?= $member["name"] ?>"><img src="/assets/uploads/pt<?= file_exists($_SERVER['DOCUMENT_ROOT'] . "/assets/uploads/pt-" . $member['name'] . ".png") ? "-" . $member['name'] : "" ?>.png" style="width:24px;"> <?= getMiniName($member["display_name"] ?? $member["name"]) ?></a>
+ <b>Last Fronter: </b><a class="member-link" href="/<?= $member["name"] ?>"><img src="/assets/uploads/pt<?= file_exists($_SERVER['DOCUMENT_ROOT'] . "/assets/uploads/pt-" . resolveMember($member['name']) . ".png") ? "-" . $member['name'] : "" ?>.png" style="width:24px;"> <?= getMiniName($member["display_name"] ?? $member["name"]) ?></a>
</span>
<span>
<b>Members:</b> <?= count(getSubsystemByID($subsystemID)["members"]) ?>