資料庫語法 |
---|
0.000478 - SET SQL_BIG_SELECTS = 1 |
0.001074 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '1') ORDER BY conf_order ASC |
0.000427 - SELECT sess_data, sess_ip FROM session WHERE sess_id = 'h8f1uecc2gshdhsnq3n5fj9cbp' |
0.000457 - SELECT * FROM modules WHERE dirname = 'tadnews' |
0.000558 - SELECT COUNT(*) FROM group_permission WHERE (`gperm_modid` = '1' AND (`gperm_groupid` = '3') AND `gperm_name` = 'module_read' AND `gperm_itemid` = '21') |
0.001069 - SELECT * FROM config WHERE (`conf_modid` = '21') ORDER BY conf_order ASC |
0.000563 - SELECT * FROM modules WHERE dirname = 'tadtools' |
0.000770 - SELECT * FROM config WHERE (`conf_modid` = '46') ORDER BY conf_order ASC |
0.000558 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '5') ORDER BY conf_order ASC |
0.000459 - SELECT COUNT(*) FROM banner |
0.000658 - SELECT * FROM banner LIMIT 0, 1 |
0.000733 - UPDATE banner SET impmade = 2837533 WHERE bid = 1 |
0.001136 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '3') ORDER BY conf_order ASC |
0.002281 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (3) |
0.002348 - 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,21) AND b.bid IN (1,2,3,4,5,6,7,8,9,10,11,18,15,19,56,141,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,79,132,84,135,92,159,101,102,103,104,105,106,107,142,58,59,120,122,123,124,125,126,127,128,129,130,158,144,147,148,149,150,157,155,152,160,161,162,194,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,193,196,200,201,203,204,205,206,207,208,209,210,211,218,217,219,220,216,221,222) ORDER BY b.weight, m.block_id |
0.000822 - 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.000605 - 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` = 'tad_idioms_show.tpl') ORDER BY tpl_refid |
0.000600 - SELECT `conf_value` FROM `config` WHERE `conf_name` = 'allow_register' |
0.000603 - SELECT `mid`, `name`, `dirname` FROM `modules` WHERE `isactive` = 1 AND `hasmain` = 1 AND `weight` != 0 ORDER BY `weight` |
0.000389 - SELECT * FROM modules WHERE dirname = 'tad_blocks' |
0.000341 - SELECT * FROM modules WHERE dirname = 'tad_themes' |
0.000464 - SELECT `conf_value` FROM `config` WHERE `conf_title` = '_MD_AM_DEBUGMODE' |
0.000398 - SELECT COUNT(*) FROM `priv_msgs` WHERE `to_userid` = 0 AND `read_msg`=0 GROUP BY `to_userid` |
0.000592 - SELECT `menuid`, `itemname`, `itemurl`, `target`, `icon`, `link_cate_name`, `link_cate_sn`, `read_group` FROM `tad_themes_menu` WHERE `of_level` = '0' AND `status` = '1' ORDER BY `position` |
0.000391 - SELECT `menuid`, `itemname`, `itemurl`, `target`, `icon`, `link_cate_name`, `link_cate_sn`, `read_group` FROM `tad_themes_menu` WHERE `of_level` = '90' AND `status` = '1' ORDER BY `position` |
0.000438 - SELECT `menuid`, `itemname`, `itemurl`, `target`, `icon`, `link_cate_name`, `link_cate_sn`, `read_group` FROM `tad_themes_menu` WHERE `of_level` = '103' AND `status` = '1' ORDER BY `position` |
0.000356 - SELECT `menuid`, `itemname`, `itemurl`, `target`, `icon`, `link_cate_name`, `link_cate_sn`, `read_group` FROM `tad_themes_menu` WHERE `of_level` = '110' AND `status` = '1' ORDER BY `position` |
0.000443 - SELECT * FROM modules WHERE dirname = 'tad_login' |
0.000421 - SELECT * FROM modules WHERE dirname = 'tn_login' |
0.000744 - SELECT * FROM config WHERE (`conf_modid` = '51') ORDER BY conf_order ASC |
0.000522 - SELECT * FROM `tad_news_cate` WHERE 1 and not_news!='1' and ncsn='4' ORDER BY `sort` |
0.000571 - select * from tad_news where 1 and nsn='4458' and `ncsn` = '4' and start_day < '2024-12-16 13:39:49' and (end_day > '2024-12-16 13:39:49' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc |
0.000532 - select * from tad_news where 1 and nsn='4458' and `ncsn` = '4' and start_day < '2024-12-16 13:39:49' and (end_day > '2024-12-16 13:39:49' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc LIMIT 0, 1 |
0.000531 - SELECT `tag_sn`, `font_color`, `color`, `tag` FROM `tad_news_tags` |
0.000815 - desc `tadnews_data_center` `sort` |
0.000450 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`
where `mid`= '21' and `col_name`='nsn' and `col_sn`='4458' order by `sort` , `data_sort` |
0.006050 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4458' order by sort |
0.000575 - SELECT * FROM users WHERE uid = '99' |
0.000566 - SELECT * FROM `tad_news` WHERE `nsn` = 4458 |
0.000356 - SELECT `groupid`,`name` FROM `groups` |
0.004986 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4458' ORDER BY `sort` |
0.004711 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4458' ORDER BY `sort` |
0.004864 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4458' ORDER BY `sort` |
0.000502 - SELECT * FROM `tad_news` WHERE `nsn` = 4458 |
0.031521 - 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 < '2020-01-16 14:03:58' or a.nsn < '4458') and b.not_news='0' and a.start_day < '2024-12-16 13:39:49' and (a.end_day > '2024-12-16 13:39:49' or a.end_day = '0000-00-00 00:00:00') order by a.start_day desc, a.nsn desc limit 0,1 |
0.067725 - 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 > '2020-01-16 14:03:58' or a.nsn > '4458') and b.not_news='0' and a.start_day < '2024-12-16 13:39:49' and (a.end_day > '2024-12-16 13:39:49' or a.end_day = '0000-00-00 00:00:00') order by a.start_day , a.nsn limit 0,1 |
0.000435 - SELECT * FROM smiles |
0.000475 - SELECT `tt_theme`,`tt_use_bootstrap`,`tt_bootstrap_color`,`tt_theme_kind` FROM `tadtools_setup` WHERE `tt_theme` = 'school2013' |
0.000614 - 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 |