SHOW FULL COLUMNS FROM `tlk_plugin` [ RunTime:0.003355s ]
SELECT `config` FROM `tlk_plugin` WHERE `name` = 'SwitchTheme' LIMIT 1 [ RunTime:0.000697s ]
SHOW FULL COLUMNS FROM `tlk_portal_post` [ RunTime:0.003912s ]
SELECT `post`.* FROM `tlk_portal_post` `post` INNER JOIN `tlk_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = '1' AND `post`.`post_status` = '1' AND `post`.`delete_time` = '0' AND `relation`.`category_id` = '34' AND `relation`.`post_id` = '4037' AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1732364847' ) LIMIT 1 [ RunTime:0.010869s ]
SELECT `post`.* FROM `tlk_portal_post` `post` INNER JOIN `tlk_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = '1' AND `post`.`post_status` = '1' AND `post`.`delete_time` = '0' AND `relation`.`category_id` = '21' AND `relation`.`post_id` IS NULL AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1732364847' ) LIMIT 1 [ RunTime:0.000711s ]
SELECT `post`.* FROM `tlk_portal_post` `post` INNER JOIN `tlk_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = '1' AND `post`.`post_status` = '1' AND `post`.`delete_time` = '0' AND `relation`.`category_id` = '34' AND `relation`.`post_id` < '4037' AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1732364847' ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.032531s ]
SELECT `post`.* FROM `tlk_portal_post` `post` INNER JOIN `tlk_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = '1' AND `post`.`post_status` = '1' AND `post`.`delete_time` = '0' AND `relation`.`category_id` = '34' AND `relation`.`post_id` > '4037' AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1732364847' ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.042443s ]
SHOW FULL COLUMNS FROM `tlk_portal_category` [ RunTime:0.001417s ]
SELECT * FROM `tlk_portal_category` WHERE `id` = 34 AND `status` = 1 LIMIT 1 [ RunTime:0.000509s ]
UPDATE `tlk_portal_post` SET `post_hits` = `post_hits` + 1 WHERE `id` = 4037 [ RunTime:0.000563s ]
SHOW FULL COLUMNS FROM `tlk_theme_file` [ RunTime:0.001177s ]
SELECT `more` FROM `tlk_theme_file` WHERE `theme` = 'tlk' AND ( `is_public` = 1 OR `file` = 'portal/article' ) [ RunTime:0.000444s ]
SHOW FULL COLUMNS FROM `tlk_option` [ RunTime:0.001177s ]
SELECT `option_value` FROM `tlk_option` WHERE `option_name` = 'storage' AND `site_id` = 1 LIMIT 1 [ RunTime:0.000403s ]
SHOW FULL COLUMNS FROM `tlk_fragment` [ RunTime:0.001289s ]
SELECT * FROM `tlk_fragment` [ RunTime:0.000376s ]
SHOW FULL COLUMNS FROM `tlk_nav_menu` [ RunTime:0.001649s ]
SELECT * FROM `tlk_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000650s ]
SELECT `nav_id` FROM `tlk_nav_menu` WHERE `id` = 1 AND `status` = 1 LIMIT 1 [ RunTime:0.000797s ]
SELECT * FROM `tlk_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000757s ]
SELECT `nav_id` FROM `tlk_nav_menu` WHERE `id` = 2 AND `status` = 1 LIMIT 1 [ RunTime:0.000794s ]
SELECT * FROM `tlk_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000905s ]
SELECT `nav_id` FROM `tlk_nav_menu` WHERE `id` = 38 AND `status` = 1 LIMIT 1 [ RunTime:0.000779s ]
SELECT * FROM `tlk_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000725s ]
SELECT `nav_id` FROM `tlk_nav_menu` WHERE `id` = 39 AND `status` = 1 LIMIT 1 [ RunTime:0.000627s ]
SELECT * FROM `tlk_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000649s ]
SELECT `nav_id` FROM `tlk_nav_menu` WHERE `id` = 40 AND `status` = 1 LIMIT 1 [ RunTime:0.000569s ]
SELECT * FROM `tlk_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000642s ]
SELECT post.*,min(category_post.category_id) as category_id FROM `tlk_portal_post` `post` INNER JOIN `tlk_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = '1' AND `post`.`post_type` = '1' AND `post`.`delete_time` = '0' AND ( `category_post`.`category_id` = '33' ) AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1732364847' ) GROUP BY `post`.`id` ORDER BY list_order ASC,post.is_top DESC,post.recommended DESC,post.published_time DESC LIMIT 10 [ RunTime:0.002322s ]
SHOW FULL COLUMNS FROM `tlk_portal_category_post` [ RunTime:0.003315s ]
SELECT `tlk_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `tlk_portal_category` INNER JOIN `tlk_portal_category_post` `pivot` ON `pivot`.`category_id`=`tlk_portal_category`.`id` WHERE `pivot`.`post_id` = '1191' [ RunTime:0.009704s ]
SELECT `tlk_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `tlk_portal_category` INNER JOIN `tlk_portal_category_post` `pivot` ON `pivot`.`category_id`=`tlk_portal_category`.`id` WHERE `pivot`.`post_id` = '225' [ RunTime:0.007481s ]
SELECT `tlk_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `tlk_portal_category` INNER JOIN `tlk_portal_category_post` `pivot` ON `pivot`.`category_id`=`tlk_portal_category`.`id` WHERE `pivot`.`post_id` = '237' [ RunTime:0.005541s ]
SELECT `tlk_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `tlk_portal_category` INNER JOIN `tlk_portal_category_post` `pivot` ON `pivot`.`category_id`=`tlk_portal_category`.`id` WHERE `pivot`.`post_id` = '1471' [ RunTime:0.004840s ]
SELECT `tlk_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `tlk_portal_category` INNER JOIN `tlk_portal_category_post` `pivot` ON `pivot`.`category_id`=`tlk_portal_category`.`id` WHERE `pivot`.`post_id` = '1444' [ RunTime:0.004674s ]
SELECT post.*,min(category_post.category_id) as category_id FROM `tlk_portal_post` `post` INNER JOIN `tlk_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = '1' AND `post`.`post_type` = '1' AND `post`.`delete_time` = '0' AND ( `category_post`.`category_id` = '34' ) AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1732364847' ) GROUP BY `post`.`id` ORDER BY list_order ASC,post.is_top DESC,post.recommended DESC,post.published_time DESC LIMIT 4 [ RunTime:0.087208s ]
SELECT `tlk_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `tlk_portal_category` INNER JOIN `tlk_portal_category_post` `pivot` ON `pivot`.`category_id`=`tlk_portal_category`.`id` WHERE `pivot`.`post_id` = '6030' [ RunTime:0.003578s ]
SELECT `tlk_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `tlk_portal_category` INNER JOIN `tlk_portal_category_post` `pivot` ON `pivot`.`category_id`=`tlk_portal_category`.`id` WHERE `pivot`.`post_id` = '5998' [ RunTime:0.003633s ]
SELECT `tlk_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `tlk_portal_category` INNER JOIN `tlk_portal_category_post` `pivot` ON `pivot`.`category_id`=`tlk_portal_category`.`id` WHERE `pivot`.`post_id` = '9176' [ RunTime:0.003723s ]
SELECT `tlk_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `tlk_portal_category` INNER JOIN `tlk_portal_category_post` `pivot` ON `pivot`.`category_id`=`tlk_portal_category`.`id` WHERE `pivot`.`post_id` = '9184' [ RunTime:0.003628s ]
SELECT `path` FROM `tlk_portal_category` WHERE `id` = 39 LIMIT 1 [ RunTime:0.000469s ]
SELECT * FROM `tlk_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `path` LIKE '0-39-%' [ RunTime:0.000554s ]
SELECT post.*,min(category_post.category_id) as category_id FROM `tlk_portal_post` `post` INNER JOIN `tlk_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = '1' AND `post`.`post_type` = '1' AND `post`.`delete_time` = '0' AND ( `category_post`.`category_id` IN ('39','40','41') ) AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1732364847' ) GROUP BY `post`.`id` ORDER BY list_order ASC,post.is_top DESC,post.recommended DESC,post.published_time DESC LIMIT 20 [ RunTime:0.000954s ]
SELECT `tlk_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `tlk_portal_category` INNER JOIN `tlk_portal_category_post` `pivot` ON `pivot`.`category_id`=`tlk_portal_category`.`id` WHERE `pivot`.`post_id` = '227' [ RunTime:0.003785s ]
SELECT `tlk_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `tlk_portal_category` INNER JOIN `tlk_portal_category_post` `pivot` ON `pivot`.`category_id`=`tlk_portal_category`.`id` WHERE `pivot`.`post_id` = '228' [ RunTime:0.003927s ]
SELECT * FROM `tlk_portal_post` WHERE `delete_time` = 0 AND `post_type` = 2 ORDER BY rand() LIMIT 30 [ RunTime:0.003912s ]