summaryrefslogtreecommitdiff
path: root/pages/home.php
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-08-26 22:29:23 +0200
committerMinteck <contact@minteck.org>2022-08-26 22:29:23 +0200
commit09bd0164ebc020a54b944b7326dcba496fb5d82c (patch)
tree0c5e765e627ecc94e534ccb6e2bc83917d58dc4c /pages/home.php
parenta2df9a69dcc14cb70118cda2ded499055e7ee358 (diff)
downloadpluralconnect-09bd0164ebc020a54b944b7326dcba496fb5d82c.tar.gz
pluralconnect-09bd0164ebc020a54b944b7326dcba496fb5d82c.tar.bz2
pluralconnect-09bd0164ebc020a54b944b7326dcba496fb5d82c.zip
idk when was the last commit so I'm making a new one - Violet Dawn
Diffstat (limited to 'pages/home.php')
-rw-r--r--pages/home.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/pages/home.php b/pages/home.php
index 2127712..340df44 100644
--- a/pages/home.php
+++ b/pages/home.php
@@ -9,11 +9,11 @@
</div>
<?php endif; ?>
- <?php global $isLoggedIn; global $_PROFILE; global $travelling; if ($isLoggedIn): $byColor = getMembersByColor(); ?>
+ <?php global $travelling; if (!isset($_GET['legacy'])): $byColor = getMembersByColor(); ?>
<div style="text-align: center;">
<img alt="" src="/assets/logo/logo.png" style="width:128px;">
<p style="z-index:999;position:relative;background:black;margin: 20px -10px 0 -20px;padding-right:30px;height:32px;text-align: center;display:grid;grid-template-columns: repeat(<?= count($byColor) ?>, 1fr);">
- <?php foreach ($byColor as $member): ?><a data-bs-html="true" class="rainbow-item tooltip-nohelp" title="<b><?= $member["display_name"] ?? $member["name"] ?></b><br><?= ($travelling[$member['id']]["travelling"] ? $member["_system"] === "ynmuc" : $member["_system"] === "gdapd") ? "Raindrops System" : "Cloudburst System" ?>" data-bs-toggle="tooltip" style="overflow: hidden;" href="/<?= $member["_system"] === "gdapd" ? "raindrops" : "cloudburst" ?>/<?= $member["name"] ?>"><img src="/assets/uploads/pt-<?= $member["name"] ?>.png" style="width:32px;height:32px;position:absolute;z-index:99;"></a><?php endforeach; ?>
+ <?php foreach ($byColor as $member): ?><a data-bs-html="true" class="rainbow-item tooltip-nohelp" title="<b><?= $member["display_name"] ?? $member["name"] ?></b><br><?= ($travelling[$member['id']]["travelling"] ? $member["_system"] === "ynmuc" : $member["_system"] === "gdapd") ? "Raindrops System" : "Cloudburst System" ?>" data-bs-toggle="tooltip" style="overflow: hidden;" href="/<?= $member["name"] ?>"><img src="/assets/uploads/pt-<?= $member["name"] ?>.png" style="width:32px;height:32px;position:absolute;z-index:99;"></a><?php endforeach; ?>
</p>
<div style="margin-top:-33px;margin-bottom:0;margin-left:-20px;margin-right:20px;height:32px;text-align: center;display:grid;grid-template-columns: repeat(<?= count($byColor) ?>, 1fr);">
<?php foreach ($byColor as $member): ?><div>
@@ -21,8 +21,8 @@
</div><?php endforeach; ?>
</div>
<div style="padding:5px 10px;background:#222;border-bottom-left-radius: 10px;border-bottom-right-radius: 10px;">
- <h2 style="margin-top: 20px;">Cuties and Plurality</h2>
- <p>A safe place for <?= count($byColor) ?> ponies in 2 plural systems</p>
+ <h2 style="margin-top: 20px;">Cold Haze</h2>
+ <p><?= count($byColor) ?> ponies in 2 plural systems</p>
</div>
</div>
<hr style="border-color:rgba(255, 255, 255, .25);">
@@ -37,7 +37,7 @@
<div>
<!-- Main title -->
- <span style="font-weight:bold;font-size:24px;">Cuties and Plurality</span><br>
+ <span style="font-weight:bold;font-size:24px;">Cold Haze</span><br>
<!-- Tagline -->
<span style="font-weight:normal;font-size:16px;">Just a small safe place for two plural systems</span>
@@ -48,8 +48,8 @@
</div>
<?php endif; ?>
- <?php if ($isLoggedIn && ((int)date('H') >= 20 || (int)date('H') < 6)): ?>
- <a href="/emergency" style="text-decoration: none;margin-top:15px;display:block;font-size:24px;">
+ <?php global $isLoggedIn; if ($isLoggedIn && ((int)date('H') >= 20 || (int)date('H') < 6)): ?>
+ <a href="/-/emergency" style="text-decoration: none;margin-top:15px;display:block;">
<div class="alert alert-danger">
<b>Are you in need of help?</b> If you need immediate help from a loved one, you may want to enable the emergency alert by clicking here, even if that will wake up the <?= $_PROFILE['name'] === "Raindrops System" ? "Cloudburst System" : "Raindrops System" ?>. Use it as you need.
</div>