SHOW FULL COLUMNS FROM `tlk_plugin` [ RunTime:0.003424s ]
SELECT `config` FROM `tlk_plugin` WHERE `name` = 'SwitchTheme' LIMIT 1 [ RunTime:0.001126s ]
SHOW FULL COLUMNS FROM `tlk_portal_post` [ RunTime:0.004087s ]
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` = '4746' AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1725762081' ) LIMIT 1 [ RunTime:0.018279s ]
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` < '1725762081' ) LIMIT 1 [ RunTime:0.000545s ]
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` < '4746' AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1725762081' ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.053314s ]
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` > '4746' AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1725762081' ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.086987s ]
SHOW FULL COLUMNS FROM `tlk_portal_category` [ RunTime:0.001500s ]
SELECT * FROM `tlk_portal_category` WHERE `id` = 34 AND `status` = 1 LIMIT 1 [ RunTime:0.000766s ]
UPDATE `tlk_portal_post` SET `post_hits` = `post_hits` + 1 WHERE `id` = 4746 [ RunTime:0.006698s ]
SHOW FULL COLUMNS FROM `tlk_theme_file` [ RunTime:0.003325s ]
SELECT `more` FROM `tlk_theme_file` WHERE `theme` = 'tlk' AND ( `is_public` = 1 OR `file` = 'portal/article' ) [ RunTime:0.001175s ]
SHOW FULL COLUMNS FROM `tlk_option` [ RunTime:0.002810s ]
SELECT `option_value` FROM `tlk_option` WHERE `option_name` = 'storage' AND `site_id` = 1 LIMIT 1 [ RunTime:0.001076s ]
SHOW FULL COLUMNS FROM `tlk_fragment` [ RunTime:0.003003s ]
SELECT * FROM `tlk_fragment` [ RunTime:0.001040s ]
SHOW FULL COLUMNS FROM `tlk_nav_menu` [ RunTime:0.002448s ]
SELECT * FROM `tlk_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.001151s ]
SELECT `nav_id` FROM `tlk_nav_menu` WHERE `id` = 1 AND `status` = 1 LIMIT 1 [ RunTime:0.000328s ]
SELECT * FROM `tlk_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000359s ]
SELECT `nav_id` FROM `tlk_nav_menu` WHERE `id` = 2 AND `status` = 1 LIMIT 1 [ RunTime:0.000322s ]
SELECT * FROM `tlk_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000336s ]
SELECT `nav_id` FROM `tlk_nav_menu` WHERE `id` = 38 AND `status` = 1 LIMIT 1 [ RunTime:0.000753s ]
SELECT * FROM `tlk_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000800s ]
SELECT `nav_id` FROM `tlk_nav_menu` WHERE `id` = 39 AND `status` = 1 LIMIT 1 [ RunTime:0.000686s ]
SELECT * FROM `tlk_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000750s ]
SELECT `nav_id` FROM `tlk_nav_menu` WHERE `id` = 40 AND `status` = 1 LIMIT 1 [ RunTime:0.000609s ]
SELECT * FROM `tlk_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000680s ]
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` < '1725762081' ) GROUP BY `post`.`id` ORDER BY list_order ASC,post.is_top DESC,post.recommended DESC,post.published_time DESC LIMIT 10 [ RunTime:0.002718s ]
SHOW FULL COLUMNS FROM `tlk_portal_category_post` [ RunTime:0.002991s ]
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.009728s ]
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.006454s ]
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.005572s ]
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.004938s ]
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.003928s ]
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` < '1725762081' ) GROUP BY `post`.`id` ORDER BY list_order ASC,post.is_top DESC,post.recommended DESC,post.published_time DESC LIMIT 4 [ RunTime:0.096915s ]
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.003288s ]
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.003241s ]
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.003284s ]
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.002978s ]
SELECT `path` FROM `tlk_portal_category` WHERE `id` = 39 LIMIT 1 [ RunTime:0.000278s ]
SELECT * FROM `tlk_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `path` LIKE '0-39-%' [ RunTime:0.000364s ]
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` < '1725762081' ) GROUP BY `post`.`id` ORDER BY list_order ASC,post.is_top DESC,post.recommended DESC,post.published_time DESC LIMIT 20 [ RunTime:0.000660s ]
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.003062s ]
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.009996s ]
SELECT * FROM `tlk_portal_post` WHERE `delete_time` = 0 AND `post_type` = 2 ORDER BY rand() LIMIT 30 [ RunTime:0.010878s ]