diff --git a/index.php b/index.php index 6050440..e88e4dc 100644 --- a/index.php +++ b/index.php @@ -44,6 +44,10 @@ + +
+
+

'; if (User::isAuthorized()) { - echo SystemFunctions::arrayToTable($user->getAllUserData(), 'Информация о пользователе'); + echo str_replace('getAllUserData(), 'Информация о пользователе')); } -//echo SystemFunctions::arrayToTable(Cache::getCacheInfo(), 'Информация о кэше'); +//echo str_replace('
query('select count(*) as count from d_posts where post_type="post" and post_status="publish"')[0]['count']; Pagination::execute($_REQUEST['page'], $count, 3); @@ -84,9 +88,20 @@ echo ''; -echo SystemFunctions::arrayToTable($arResult, 'Статьи'); +echo str_replace('
+ +