From 43c0b94c4edef3a28f12137ab1985a60659d8f0f Mon Sep 17 00:00:00 2001 From: rsgrinko Date: Wed, 27 Apr 2022 09:44:26 +0300 Subject: [PATCH] =?UTF-8?q?[+]=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=B1=D1=83=D1=82=D1=81=D1=82=D1=80=D0=B0=D0=BF?= =?UTF-8?q?=20=D0=B8=20=D1=88=D0=B0=D0=BF=D0=BA=D0=B0=20=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 50 +++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 43 insertions(+), 7 deletions(-) diff --git a/index.php b/index.php index 7f5589d..6050440 100644 --- a/index.php +++ b/index.php @@ -6,10 +6,45 @@ use Core\Helpers\{SystemFunctions, Cache, Log, Mail, Zip, Pagination}; require_once $_SERVER['DOCUMENT_ROOT'] . '/core/bootstrap.php'; - echo ''; + ?> + + + + + + + + Главная тестовая + + +
+ +query('select count(*) as count from d_posts where post_type="post" and post_status="publish"')[0]['count']; Pagination::execute($_REQUEST['page'], $count, 3); $limit = Pagination::getLimit(); @@ -53,4 +84,9 @@ echo ''; -echo SystemFunctions::arrayToTable($arResult, 'Статьи'); \ No newline at end of file +echo SystemFunctions::arrayToTable($arResult, 'Статьи'); +?> +
+ + +