[*] исправлен шаблонизатор главной страницы

This commit is contained in:
rsgrinko committed 2023-07-07 14:33:10 +03:00
1 parent e8a955067c
commit a422976535
5 files changed
+640 -535

No files matched your search

+2 -2
View File
@@ -85,11 +85,11 @@
//echo str_replace('<table style="', '<table style="width:100%;', SystemFunctions::arrayToTable(Cache::getCacheInfo(), 'Информация о кэше'));
$count = (int)(DB::getInstance())->query('select count(*) as count from users')[0]['count'];
$count = (int)(DB::getInstance())->query('select count(*) as count from d_users')[0]['count'];
Pagination::execute($_REQUEST['page'], $count, 2);
$limit = Pagination::getLimit();
$arData = (DB::getInstance())->query('select * from users order by id desc limit ' . $limit);
$arData = (DB::getInstance())->query('select * from d_users order by id desc limit ' . $limit);
$arResult = [];
foreach ($arData as $element) {