diff options
Diffstat (limited to 'includes/subsysbanner.php')
-rw-r--r-- | includes/subsysbanner.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/subsysbanner.php b/includes/subsysbanner.php index be06b06..95c6942 100644 --- a/includes/subsysbanner.php +++ b/includes/subsysbanner.php @@ -23,7 +23,7 @@ $fronters = array_map(function ($item) { <h3 style="height:max-content;"><?= $subsystemData["name"] ?></h3> <div style="height:max-content;display:grid;grid-template-columns: repeat(4, 1fr);" id="member-card"> <span> - <b>Current Fronter:</b> + <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> <?php else: ?> @@ -48,7 +48,7 @@ $fronters = array_map(function ($item) { } ?> - <b>Previous 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="/<?= $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> </span> <span> <b>Members:</b> <?= count(getSubsystemByID($subsystemID)["members"]) ?> |