| 123456789101112131415 |
- <?php /** @noinspection PhpUnhandledExceptionInspection */
- $page_title = "Log";
- Core::addBreadcrumb("/account", "Account");
- Core::addBreadcrumb("/account/log", $page_title);
- $entries = LocationUpdateLogEntry::query([], ["sort" => "id", "order" => "desc", "limit" => 1000]);
- User::load(array_column($entries, "user_id"));
- Location::load(array_column($entries, "location_id"));
- View::includeOnce("header", compact("page_title"));
- View::include("log", ["entries" => $entries]);
- View::includeOnce("footer");
|