From 6b796258d413f00e498ce7f80f73a9f6c061f29c Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Sat, 30 Mar 2024 23:40:33 +0100 Subject: Updated 5 files, added 2 files, deleted 495 files and renamed 7 files (automated) --- includes/components/timeline.inc | 119 --------------------------------------- 1 file changed, 119 deletions(-) delete mode 100644 includes/components/timeline.inc (limited to 'includes/components/timeline.inc') diff --git a/includes/components/timeline.inc b/includes/components/timeline.inc deleted file mode 100644 index 21e82a2..0000000 --- a/includes/components/timeline.inc +++ /dev/null @@ -1,119 +0,0 @@ - 1; ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - '00000000-0000-0000-0000-000000000000', - 'timestamp' => date('c', time() + 3600), - 'members' => [] - ] - ]; - - foreach ($switches as $index => $switch) { - if (strtotime($switch["timestamp"]) >= $time) { - $correct = $switches[$index - 1] ?? [ - "members" => [], - "timestamp" => date('c', 0) - ]; - $v = floor((strtotime($switch["timestamp"]) - $time) / 60); - - if (count($correct["members"]) > 0) { - echo(''); - } else { - echo(''); - } - - $leftCols -= $v; if ($leftCols < 0) $leftCols = 0; - $time = strtotime($switch["timestamp"]); - } - } - - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " style="width: 100%; height: 30px; display: flex; align-items: center; justify-content: center;"> - - - ' . implode(", ", array_map(function ($i) { - return getMemberWithoutSystem($i)["display_name"] ?? getMemberWithoutSystem($i)["name"] ?? $i; - }, $correct["members"])) . '
6 hours ago5 hours ago4 hours ago3 hours ago2 hours ago1 hour agoNow
-6h-5h-4h-3h-2h-1hNow
- - -