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]; $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 ago 5 hours ago 4 hours ago 3 hours ago 2 hours ago 1 hour ago Now
-6h -5h -4h -3h -2h -1h Now