From 6e85dd6e592c98f8a315be8882d6aa00f0e8cf3a Mon Sep 17 00:00:00 2001 From: rsgrinko Date: Mon, 6 Dec 2021 17:35:13 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=20=D0=BA=D1=8D=D1=88=D0=B8=D1=80=D0=BE=D0=B2=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=B7=D0=B0=D0=BF=D1=80=D0=BE=D1=81=D0=BE?= =?UTF-8?q?=D0=B2=20=D0=BA=20=D0=91=D0=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- boardlist.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boardlist.php b/boardlist.php index 76f0835..b62be1d 100644 --- a/boardlist.php +++ b/boardlist.php @@ -41,6 +41,7 @@ $countDevices = CIoT::getCountDevices(); CCache::writeCache($cacheId, $countDevices); } + CPagination::execute($_REQUEST['page'], $countDevices, PAGINATION_LIMIT); $limit = CPagination::getLimit(); ?> @@ -52,6 +53,7 @@ $arrDevices = CIoT::getDevices($limit, 'ASC'); CCache::writeCache($cacheId, $arrDevices); } + foreach($arrDevices as $device): $arrUserFields = CUser::getFields($device['user']); ?>