資料庫語法 |
---|
0.000343 - SET SQL_BIG_SELECTS = 1 |
0.001070 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '1') ORDER BY conf_order ASC |
0.000483 - SELECT sess_data, sess_ip FROM session WHERE sess_id = 'nl6f7rhrl6qc7ml81le06f0apn' |
0.000439 - SELECT * FROM modules WHERE dirname = 'tadnews' |
0.000543 - SELECT COUNT(*) FROM group_permission WHERE (`gperm_modid` = '1' AND (`gperm_groupid` = '3') AND `gperm_name` = 'module_read' AND `gperm_itemid` = '21') |
0.000941 - SELECT * FROM config WHERE (`conf_modid` = '21') ORDER BY conf_order ASC |
0.000677 - SELECT * FROM modules WHERE dirname = 'tadtools' |
0.000711 - SELECT * FROM config WHERE (`conf_modid` = '46') ORDER BY conf_order ASC |
0.000417 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '5') ORDER BY conf_order ASC |
0.000322 - SELECT COUNT(*) FROM banner |
0.000259 - SELECT * FROM banner LIMIT 1, 1 |
0.000324 - UPDATE banner SET impmade = 2837709 WHERE bid = 2 |
0.000611 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '3') ORDER BY conf_order ASC |
0.002307 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (3) |
0.002110 - 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.000617 - 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.000574 - 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.000552 - SELECT `conf_value` FROM `config` WHERE `conf_name` = 'allow_register' |
0.000591 - 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.000388 - SELECT * FROM modules WHERE dirname = 'tad_themes' |
0.000323 - SELECT `conf_value` FROM `config` WHERE `conf_title` = '_MD_AM_DEBUGMODE' |
0.000345 - SELECT COUNT(*) FROM `priv_msgs` WHERE `to_userid` = 0 AND `read_msg`=0 GROUP BY `to_userid` |
0.000580 - 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.000339 - 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.000330 - 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.000363 - 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.000337 - SELECT * FROM modules WHERE dirname = 'tad_login' |
0.000316 - SELECT * FROM modules WHERE dirname = 'tn_login' |
0.000598 - SELECT * FROM config WHERE (`conf_modid` = '51') ORDER BY conf_order ASC |
0.000362 - SELECT * FROM `tad_news_cate` WHERE 1 and not_news!='1' and ncsn='13' ORDER BY `sort` |
0.000337 - select * from tad_news where 1 and nsn='2379' and `ncsn` = '13' and start_day < '2024-12-17 07:40:00' and (end_day > '2024-12-17 07:40:00' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc |
0.000346 - select * from tad_news where 1 and nsn='2379' and `ncsn` = '13' and start_day < '2024-12-17 07:40:00' and (end_day > '2024-12-17 07:40:00' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc LIMIT 0, 1 |
0.000354 - SELECT `tag_sn`, `font_color`, `color`, `tag` FROM `tad_news_tags` |
0.000918 - desc `tadnews_data_center` `sort` |
0.000335 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`
where `mid`= '21' and `col_name`='nsn' and `col_sn`='2379' order by `sort` , `data_sort` |
0.005742 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='2379' order by sort |
0.000701 - SELECT * FROM `tad_news` WHERE `nsn` = 2379 |
0.000402 - SELECT * FROM users WHERE uid = '5' |
0.000258 - SELECT `groupid`,`name` FROM `groups` |
0.005274 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='2379' ORDER BY `sort` |
0.004291 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='2379' ORDER BY `sort` |
0.004471 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='2379' ORDER BY `sort` |
0.000420 - SELECT * FROM `tad_news` WHERE `nsn` = 2379 |
0.014752 - 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 < '2016-11-25 15:23:22' or a.nsn < '2379') and b.not_news='0' and a.start_day < '2024-12-17 07:40:00' and (a.end_day > '2024-12-17 07:40:00' or a.end_day = '0000-00-00 00:00:00') order by a.start_day desc, a.nsn desc limit 0,1 |
0.052646 - 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 > '2016-11-25 15:23:22' or a.nsn > '2379') and b.not_news='0' and a.start_day < '2024-12-17 07:40:00' and (a.end_day > '2024-12-17 07:40:00' or a.end_day = '0000-00-00 00:00:00') order by a.start_day , a.nsn limit 0,1 |
0.000574 - SELECT * FROM smiles |
0.000326 - SELECT `tt_theme`,`tt_use_bootstrap`,`tt_bootstrap_color`,`tt_theme_kind` FROM `tadtools_setup` WHERE `tt_theme` = 'school2013' |
0.000546 - 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 |