資料庫語法 |
---|
0.000322 - SET SQL_BIG_SELECTS = 1 |
0.001766 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '1') ORDER BY conf_order ASC |
0.000757 - SELECT sess_data, sess_ip FROM session WHERE sess_id = 'iblhucfbdg4fiicv279h35l0qc' |
0.000669 - SELECT * FROM modules WHERE dirname = 'tadnews' |
0.000835 - SELECT COUNT(*) FROM group_permission WHERE (`gperm_modid` = '1' AND (`gperm_groupid` = '3') AND `gperm_name` = 'module_read' AND `gperm_itemid` = '5') |
0.001023 - SELECT * FROM config WHERE (`conf_modid` = '5') ORDER BY conf_order ASC |
0.000490 - SELECT * FROM modules WHERE dirname = 'tadtools' |
0.000398 - SELECT * FROM config WHERE (`conf_modid` = '2') ORDER BY conf_order ASC |
0.000169 - select mid from modules where dirname='tadnews' |
0.000215 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '5') ORDER BY conf_order ASC |
0.000444 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '3') ORDER BY conf_order ASC |
0.000877 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (3) |
0.003995 - SELECT b.* FROM newblocks b, block_module_link m WHERE m.block_id=b.bid AND b.isactive=1 AND b.visible=1 AND m.module_id IN (0,5) AND b.bid IN (152,150,148,147,146,145,135,134,133,132,122,121,120,125,118,117,116,115,114,113,112,111,96,92,91,105,104,103,102,101,88,87,86,85,84,83,82,110,80,79,69,68,67,66,65,62,61,60,127,109,108,107,106,100,59,57,55,54,53,52,51,41,40,39,38,37,36,35,34,33,32,31,30,29,28,27,26,25,24,23,124,19,18,17,16,15,14,13,11,10,9,8,7,6,5,4,3,2,1,119,74,72,22,136,95,94,93,89,77,76,75,73,71,70,21) ORDER BY b.weight, m.block_id |
0.001338 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'system_block_login.tpl') ORDER BY tpl_refid |
0.000429 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'tadtools_app_block.tpl') ORDER BY tpl_refid |
0.001038 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'system_block_dummy.tpl') ORDER BY tpl_refid |
0.136927 - update tad_news set always_top='0' WHERE always_top_date <='2025-10-01 00:39:27' and always_top_date!='0000-00-00 00:00:00' |
0.000891 - update tad_news set counter = counter + 1 where nsn='6104' |
0.000152 - SELECT ncsn,news_content FROM tad_news WHERE nsn='6104' |
0.000145 - select not_news from tad_news_cate where ncsn='8' |
0.000100 - SELECT not_news,nc_title FROM tad_news_cate WHERE ncsn='8' |
0.000318 - select * from tad_news_cate where 1 and not_news!='1' and ncsn='8' order by sort |
0.000152 - select * from tad_news where 1 and nsn='6104' and `ncsn` = '8' and start_day < '2025-10-01 00:39:26' and (end_day > '2025-10-01 00:39:26' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc |
0.000154 - select * from tad_news where 1 and nsn='6104' and `ncsn` = '8' and start_day < '2025-10-01 00:39:26' and (end_day > '2025-10-01 00:39:26' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc LIMIT 0, 1 |
0.000614 - desc `tadnews_data_center` `sort` |
0.000415 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`
where `mid`= '5' and `col_name`='nsn' and `col_sn`='6104' order by `sort` , `data_sort` |
0.007616 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='6104' order by sort |
0.000748 - SELECT * FROM users WHERE uid = '225' |
0.000280 - select * from tad_news where nsn='6104' |
0.000100 - select groupid,name from groups |
0.006898 - select * from tadnews_files_center where `col_name`='news_pic' and `col_sn`='6104' order by sort |
0.006197 - select * from tadnews_files_center where `col_name`='news_pic' and `col_sn`='6104' order by sort |
0.005072 - select * from tadnews_files_center where `col_name`='news_pic' and `col_sn`='6104' order by sort |
0.000476 - select font_color,color,tag from tad_news_tags where `tag_sn`='7' and enable='1' |
0.000190 - select * from tad_news where nsn='6104' |
0.126494 - select a.nsn, a.news_title, a.start_day, a.enable_group, a.ncsn, b.enable_group from tad_news as a left join tad_news_cate as b on a.ncsn=b.ncsn where (a.start_day < '2023-04-27 09:04:13' or a.nsn < '6104') and b.not_news='0' and a.start_day < '2025-10-01 00:39:26' and (a.end_day > '2025-10-01 00:39:26' or a.end_day = '0000-00-00 00:00:00') order by a.start_day desc, a.nsn desc limit 0,1 |
0.165324 - select a.nsn, a.news_title, a.start_day, a.enable_group, a.ncsn, b.enable_group from tad_news as a left join tad_news_cate as b on a.ncsn=b.ncsn where (a.start_day > '2023-04-27 09:04:13' or a.nsn > '6104') and b.not_news='0' and a.start_day < '2025-10-01 00:39:26' and (a.end_day > '2025-10-01 00:39:26' or a.end_day = '0000-00-00 00:00:00') order by a.start_day , a.nsn limit 0,1 |
0.000759 - SELECT * FROM smiles |
0.000247 - select `tt_theme`,`tt_use_bootstrap`,`tt_bootstrap_color`,`tt_theme_kind` from `tadtools_setup` where `tt_theme`='default' |
0.000389 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'tadnews_index.tpl') ORDER BY tpl_refid |