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, 'Статьи'); +?> +
+ + +