From e5383a35a842d58611af99b58e072b7c3bd8294b Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Mon, 12 Jun 2023 23:01:36 +0200 Subject: Updated 3 files (automated) --- pages/sessions.inc | 39 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 36 insertions(+), 3 deletions(-) (limited to 'pages/sessions.inc') diff --git a/pages/sessions.inc b/pages/sessions.inc index d782128..a8734ac 100644 --- a/pages/sessions.inc +++ b/pages/sessions.inc @@ -3,6 +3,22 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/init.inc"; global $title; global $isLoggedIn; global $isLowerLoggedIn; global $lang; global $pages; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; global $_PROFILE; +$verified = [ + dns_get_record("zephyrheights.equestria.dev", DNS_A)[0]["ip"], + dns_get_record("maretimebay.equestria.dev", DNS_A)[0]["ip"], + dns_get_record("bridlewood.equestria.dev", DNS_A)[0]["ip"], + dns_get_record("cloudsdale.equestria.dev", DNS_A)[0]["ip"], + dns_get_record("manehattan.equestria.dev", DNS_A)[0]["ip"], +]; + +$verifiedNames = [ + "Raindrops System", + "Raindrops System", + "Equestria.dev bridlewood", + "Cloudburst System", + "Equestria.dev manehattan" +]; + ?>
@@ -34,20 +50,37 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; glob } }); + $addressFetchIndex = 0; + foreach ($list as $token): $session = file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/tokens/" . $token) ? json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/tokens/" . $token), true) : json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/lowertokens/" . $token), true); if (isset($session["profile"]) && isset($session["name"]) && ($session["profile"]["id"] ?? "") === ($_PROFILE["id"] ?? "")): uasort($session["addresses"], function ($a, $b) { return $b - $a; }); ?> This device
Logged in , last activity
$last): ?> - ·
+ (verified: ) (unverified: …) ·
-- cgit