(86400 * ($day - 1)); })); uksort($filtered, function ($a, $b) { if (isset($b["timestamp"]) && isset($a["timestamp"])) { return strtotime($b["timestamp"]) - strtotime($a["timestamp"]); } else { return null; } }); return $filtered; } function getSwitchBefore(string $id) { global $switches; $currentPassed = false; $before = null; foreach ($switches as $switch) { if ($currentPassed) { $before = $switch; break; } else { if ($switch["id"] === $id) { $currentPassed = true; } } } return $before; } function isNotToday(int $timestamp, int $offset) { if (date('Y-m-d', $timestamp) !== date('Y-m-d', time() - (86400 * $offset))) { return true; } else { return false; } } ?>

Front history in the

" style="opacity:.5;font-family: monospace;font-size:14px;vertical-align: middle;"> "> " style="width:24px;"> 1): ?> (with ">" style="width:24px;"> , ">" style="width:24px;"> , ">" style="width:24px;"> )
" style="opacity:.5;font-family: monospace;font-size:14px;vertical-align: middle;"> Fallback pony