getObjectById($_GET['id'] ?? null); ?> isExistingObject()) : ?> getLatestObjectListByStationIdAndLimit($station->id, $rows, $offset, $maxDays); $count = PacketWeatherRepository::getInstance()->getLatestNumberOfPacketsByStationIdAndLimit($station->id, $maxDays); $pages = ceil($count / $rows); ?> <?php echo $station->name; ?>, погода