Апарат управління
Оголошення
Ключові слова
Розпорядження від 01.12.2015р. N18

Ми у Facebook

Відео

Апарат управління
SELECT sql_no_cache * FROM lis_languages     
executed on: 0.00027298927307129 sec.

SELECT sql_no_cache `path` FROM lis_routes WHERE 1 AND path="establishment_management" OR path LIKE("establishment_management/:%")
executed on: 0.00031304359436035 sec.

SELECT sql_no_cache * FROM lis_routes as r LEFT JOIN lis_routes_to_modules as r2m ON r2m.route_id=r.id LEFT JOIN lis_modules as m ON m.id=r2m.module_id OR (m.broadcast=1 AND m.type="user") WHERE 1 AND `m`.`status` ="1" AND r.path = "establishment_management" OR r.path LIKE("establishment_management:%") GROUP BY `m`.`id` ORDER BY LENGTH(path) DESC,`m`.`ordering` ASC
executed on: 0.014954090118408 sec.

SELECT sql_no_cache `layout` FROM lis_routes WHERE 1 AND `path` ="establishment_management"
executed on: 0.0003349781036377 sec.

SELECT sql_no_cache * FROM lis_menu_types WHERE 1 AND `id` ="6"
executed on: 0.0003349781036377 sec.

SELECT sql_no_cache MAX(depth) FROM lis_menu WHERE 1 AND `type` ="top_line"
executed on: 0.00039100646972656 sec.

SELECT sql_no_cache * FROM lis_languages WHERE 1 AND `status` ="1" ORDER BY `id` ASC
executed on: 0.00029897689819336 sec.

SELECT sql_no_cache `art`.* ,`cat`.`name` as category_name FROM lis_content as art LEFT JOIN lis_content_category as cat ON art.category_id = cat.id WHERE 1 AND `art`.`status` ="1" AND art.active_from<='2021-04-23 00:01' AND `art`.`id` ="297"
executed on: 0.00048303604125977 sec.

SELECT sql_no_cache `c0`.`id` as cat0Id,`c0`.`name` as cat0Name,`c0`.`page` as cat0Page,`c0`.`status` as cat0Status,`c0`.`parent_id` as cat0Parent,`c0`.`has_articles` as cat0Has_articles,`c1`.`id` as cat1Id,`c1`.`name` as cat1Name,`c1`.`page` as cat1Page,`c1`.`status` as cat1Status,`c1`.`parent_id` as cat1Parent,`c1`.`has_articles` as cat1Has_articles,`c2`.`id` as cat2Id,`c2`.`name` as cat2Name,`c2`.`page` as cat2Page,`c2`.`status` as cat2Status,`c2`.`parent_id` as cat2Parent,`c2`.`has_articles` as cat2Has_articles,`c3`.`id` as cat3Id,`c3`.`name` as cat3Name,`c3`.`page` as cat3Page,`c3`.`status` as cat3Status,`c3`.`parent_id` as cat3Parent,`c3`.`has_articles` as cat3Has_articles,`c4`.`id` as cat4Id,`c4`.`name` as cat4Name,`c4`.`page` as cat4Page,`c4`.`status` as cat4Status,`c4`.`parent_id` as cat4Parent,`c4`.`has_articles` as cat4Has_articles,`c5`.`id` as cat5Id,`c5`.`name` as cat5Name,`c5`.`page` as cat5Page,`c5`.`status` as cat5Status,`c5`.`parent_id` as cat5Parent,`c5`.`has_articles` as cat5Has_articles,`c6`.`id` as cat6Id,`c6`.`name` as cat6Name,`c6`.`page` as cat6Page,`c6`.`status` as cat6Status,`c6`.`parent_id` as cat6Parent,`c6`.`has_articles` as cat6Has_articles,`c7`.`id` as cat7Id,`c7`.`name` as cat7Name,`c7`.`page` as cat7Page,`c7`.`status` as cat7Status,`c7`.`parent_id` as cat7Parent,`c7`.`has_articles` as cat7Has_articles FROM lis_content_category as c0 LEFT JOIN lis_content_category as c1 ON c1.parent_id=c0.id LEFT JOIN lis_content_category as c2 ON c2.parent_id=c1.id LEFT JOIN lis_content_category as c3 ON c3.parent_id=c2.id LEFT JOIN lis_content_category as c4 ON c4.parent_id=c3.id LEFT JOIN lis_content_category as c5 ON c5.parent_id=c4.id LEFT JOIN lis_content_category as c6 ON c6.parent_id=c5.id LEFT JOIN lis_content_category as c7 ON c7.parent_id=c6.id WHERE 1 AND `c0`.`parent_id` ="0" ORDER BY `c0`.`id` ASC,`c1`.`id` ASC,`c2`.`id` ASC,`c3`.`id` ASC,`c4`.`id` ASC,`c5`.`id` ASC,`c6`.`id` ASC,`c7`.`id` ASC
executed on: 0.030936002731323 sec.

SELECT m.params as params, r.path as link FROM `lis_menu` as m join `lis_routes` as r ON m.route_id = r.id WHERE m.params LIKE '%type=article%'
executed on: 0.00040411949157715 sec.

SELECT m.params as params, r.path as link FROM `lis_menu` as m join `lis_routes` as r ON m.route_id = r.id WHERE m.params LIKE '%type=category%'
executed on: 0.00027322769165039 sec.

SELECT sql_no_cache MIN(c.date) FROM lis_content as c LEFT JOIN lis_content_category as cat ON cat.id = c.category_id WHERE 1 AND `c`.`search` ="1" AND c.date>0
executed on: 0.051082134246826 sec.

SELECT sql_no_cache MAX(c.date) FROM lis_content as c LEFT JOIN lis_content_category as cat ON cat.id = c.category_id WHERE 1 AND `c`.`search` ="1"
executed on: 0.047321081161499 sec.

SELECT DISTINCT d.id,d.name FROM `lis_content_to_departments` as c_to_d LEFT JOIN lis_departments as d on d.id=c_to_d.department_id WHERE d.status=1 ORDER BY d.ordering DESC,d.id DESC
executed on: 0.00030112266540527 sec.

SELECT sql_no_cache * FROM lis_menu_types WHERE 1 AND `id` ="1"
executed on: 0.0004119873046875 sec.

SELECT sql_no_cache MAX(depth) FROM lis_menu WHERE 1 AND `type` ="top_menu"
executed on: 0.00051188468933105 sec.

SELECT sql_no_cache `m`.`type` FROM lis_routes as r LEFT JOIN lis_menu as m ON r.id=m.route_id WHERE 1 AND `r`.`path` ="establishment_management"
executed on: 0.00047993659973145 sec.

SELECT sql_no_cache `id` FROM lis_menu WHERE 1 AND `parent_id` ="901" ORDER BY `ordering` ASC,`id` DESC
executed on: 0.0004417896270752 sec.

SELECT sql_no_cache `m`.* ,`m`.`id` as mid,`r`.* ,`mod`.`id` as moduleId,`mod`.`name` as moduleName,`mod`.`params` as moduleParams,`mod`.`ordering` as moduleOrdering,`mod`.`status` as moduleStatus,`mod`.`module` FROM lis_menu as m LEFT JOIN lis_routes as r ON r.id=m.route_id LEFT JOIN lis_routes_to_modules as rtm ON rtm.route_id=r.id LEFT JOIN lis_modules as `mod` ON mod.id=rtm.module_id WHERE 1 AND `m`.`id` ="902"
executed on: 0.00054311752319336 sec.

SELECT sql_no_cache `m`.* ,`m`.`id` as mid,`r`.* ,`mod`.`id` as moduleId,`mod`.`name` as moduleName,`mod`.`params` as moduleParams,`mod`.`ordering` as moduleOrdering,`mod`.`status` as moduleStatus,`mod`.`module` FROM lis_menu as m LEFT JOIN lis_routes as r ON r.id=m.route_id LEFT JOIN lis_routes_to_modules as rtm ON rtm.route_id=r.id LEFT JOIN lis_modules as `mod` ON mod.id=rtm.module_id WHERE 1 AND `m`.`id` ="903"
executed on: 0.00048995018005371 sec.

SELECT sql_no_cache `art`.* ,`cat`.`name` as category_name FROM lis_content as art LEFT JOIN lis_content_category as cat ON art.category_id = cat.id WHERE 1 AND `art`.`status` ="1" AND art.active_from<='2021-04-23 00:01' AND `art`.`id` ="29892" AND art.date>='2021-04-23'
executed on: 0.00036215782165527 sec.

SELECT sql_no_cache `art`.* ,`cat`.`name` as category_name,`cat`.`id` as category_id FROM lis_content as art LEFT JOIN lis_content_category as cat ON cat.id = art.category_id WHERE 1 AND `art`.`category_id` IN (128,128) AND `art`.`status` ="1" AND art.active_from<='2021-04-23 00:01' GROUP BY `art`.`id` ORDER BY `art`.`date` ASC,`art`.`ordering` ASC,`art`.`date` DESC,`art`.`id` DESC
executed on: 0.056619167327881 sec.

PREPARE dp_query FROM "SELECT DISTINCT `d`.`id` ,`d`.`name` FROM lis_content_to_departments as c_to_d LEFT JOIN lis_departments as d ON d.id = c_to_d.department_id WHERE 1 AND `c_to_d`.`content_id` =? AND d.status=1"
executed on: 0.00032401084899902 sec.

SET @id=1098
executed on: 0.00026297569274902 sec.

EXECUTE dp_query USING @id
executed on: 0.00020194053649902 sec.

SET @id=1335
executed on: 0.00017189979553223 sec.

EXECUTE dp_query USING @id
executed on: 0.00018405914306641 sec.

SET @id=4182
executed on: 0.00015497207641602 sec.

EXECUTE dp_query USING @id
executed on: 0.00014495849609375 sec.

SET @id=4184
executed on: 0.00010490417480469 sec.

EXECUTE dp_query USING @id
executed on: 0.00012302398681641 sec.

SET @id=4235
executed on: 9.7990036010742E-5 sec.

EXECUTE dp_query USING @id
executed on: 0.00011301040649414 sec.

SET @id=4604
executed on: 0.0001060962677002 sec.

EXECUTE dp_query USING @id
executed on: 0.00010395050048828 sec.

DEALLOCATE PREPARE dp_query
executed on: 0.00010514259338379 sec.

SELECT sql_no_cache `k`.`id` ,`k`.`name` ,COUNT(k_to_c.id) as count FROM lis_keywords as k LEFT JOIN lis_keywords_to_content as k_to_c ON k_to_c.keywords_id=k.id WHERE 1 AND `k`.`language_abbr` ="ua" AND k.id not in(312,180,20,219,208,588,363,559) GROUP BY `k`.`id` ORDER BY `count` DESC LIMIT 0, 20
executed on: 0.046726942062378 sec.

SELECT sql_no_cache `art`.* ,`cat`.`name` as category_name FROM lis_content as art LEFT JOIN lis_content_category as cat ON art.category_id = cat.id WHERE 1 AND `art`.`status` ="1" AND art.active_from<='2021-04-23 00:01' AND `art`.`id` ="10306"
executed on: 0.00044798851013184 sec.

SELECT sql_no_cache `art`.* ,`cat`.`name` as category_name FROM lis_content as art LEFT JOIN lis_content_category as cat ON art.category_id = cat.id WHERE 1 AND `art`.`status` ="1" AND art.active_from<='2021-04-23 00:01' AND `art`.`id` ="3263"
executed on: 0.00040221214294434 sec.

SELECT sql_no_cache `d`.`id` as id,`d`.`name` as name FROM lis_content_to_departments as c_to_d LEFT JOIN lis_departments as d ON d.id = c_to_d.department_id WHERE 1 AND `c_to_d`.`content_id` ="3263" GROUP BY `d`.`id`
executed on: 0.00046682357788086 sec.

SELECT sql_no_cache * FROM lis_banners WHERE 1 AND `position` ="left" AND `status` ="1" ORDER BY `ordering` ASC,`id` DESC
executed on: 0.00038504600524902 sec.

SELECT sql_no_cache * FROM lis_banners WHERE 1 AND `position` ="bottom" AND `status` ="1" ORDER BY `ordering` ASC,`id` DESC
executed on: 0.0004889965057373 sec.

SELECT sql_no_cache `art`.* ,`cat`.`name` as category_name,`cat`.`id` as category_id FROM lis_content as art LEFT JOIN lis_content_category as cat ON cat.id = art.category_id WHERE 1 AND `art`.`category_id` IN () AND `art`.`status` ="1" AND art.active_from<='2021-04-23 00:01' AND art.date>='2021-04-23' GROUP BY `art`.`id` ORDER BY `art`.`date` ASC,`art`.`ordering` ASC,`art`.`date` DESC,`art`.`id` DESC
executed on: 0.00030517578125 sec.

PREPARE dp_query FROM "SELECT DISTINCT `d`.`id` ,`d`.`name` FROM lis_content_to_departments as c_to_d LEFT JOIN lis_departments as d ON d.id = c_to_d.department_id WHERE 1 AND `c_to_d`.`content_id` =? AND d.status=1"
executed on: 0.0003049373626709 sec.

DEALLOCATE PREPARE dp_query
executed on: 0.00024795532226562 sec.

SELECT sql_no_cache * FROM lis_settings
executed on: 0.00032401084899902 sec.

SELECT sql_no_cache * FROM lis_settings
executed on: 0.00034904479980469 sec.

SELECT sql_no_cache * FROM lis_settings
executed on: 0.00030398368835449 sec.

Application
executed on: 0.29615592956543 sec.