資料庫語法 |
---|
0.000362 - SET SQL_BIG_SELECTS = 1 |
0.000878 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '1') ORDER BY conf_order ASC |
0.000636 - SELECT sess_data, sess_ip FROM session WHERE sess_id = 'fi11clepuffbu4fgflas49hpr3' |
0.000712 - SELECT COUNT(*) FROM group_permission WHERE (`gperm_modid` = '1' AND (`gperm_groupid` = '3') AND `gperm_name` = 'module_read' AND `gperm_itemid` = '21') |
0.000438 - SELECT * FROM config WHERE (`conf_modid` = '21') ORDER BY conf_order ASC |
0.000436 - SELECT * FROM config WHERE (`conf_modid` = '4') ORDER BY conf_order ASC |
0.000345 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '5') ORDER BY conf_order ASC |
0.000387 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '3') ORDER BY conf_order ASC |
0.001178 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (3) |
0.000937 - 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 (168,162,136,135,153,149,111,110,109,108,107,124,106,159,104,103,102,101,113,100,143,116,115,91,90,89,88,87,86,84,83,78,148,127,126,75,74,66,152,151,150,142,141,140,139,70,69,68,67,65,64,63,62,61,60,59,57,56,144,125,19,11,10,9,8,7,6,5,4,3,2,1,166,165,164,155,163,157,18,16,15,169,170,171,172,173,174,175,204,203,202,201,200,199,198,197,176,177,178,179,180,181,167,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,205,206,207,208,209,210,212,213) ORDER BY b.weight, m.block_id |
0.000508 - SELECT cfgname, cfgvalue FROM logcounterx_cfg |
0.000619 - DELETE FROM logcounterx_ip WHERE acctime < 1741981176 |
0.000369 - SELECT accip FROM logcounterx_ip WHERE accip = '3.17.177.21' |
0.007063 - UPDATE logcounterx_ip SET acctime = 1741981776 WHERE accip = '3.17.177.21' |
0.000416 - SELECT * FROM config WHERE (`conf_modid` = '16') ORDER BY conf_order ASC |
0.000770 - 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_login.tpl') ORDER BY tpl_refid |
0.000563 - 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.000710 - 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_block_page_list.tpl') ORDER BY tpl_refid |
0.000310 - SELECT cfgname, cfgvalue FROM logcounterx_cfg |
0.000432 - SELECT cnt FROM logcounterx_count WHERE ymd = '2025-03-15' |
0.000274 - SELECT cnt FROM logcounterx_count WHERE ymd = '2025-03-14' |
0.000246 - SELECT sum(cnt) as CNT FROM logcounterx_count WHERE ymd >= '2025-03-09' |
0.001782 - SELECT sum(cnt) as CNT FROM logcounterx_count WHERE (ymd like '2025-03-%') OR (ymd like '2025/03/%') |
0.000321 - SELECT cnt FROM logcounterx_count WHERE (ymd = '1111-11-11') OR (ymd = '1111/11/11') |
0.001319 - SELECT count(ymd) AS DAYS, sum(cnt) as CNT FROM logcounterx_count WHERE ymd > '1111-11-11' |
0.000597 - 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` = 'lcx_block_display.html') ORDER BY tpl_refid |
0.001432 - SELECT `conf_value` FROM `config` WHERE `conf_name` = 'allow_register' |
0.000765 - SELECT `mid`, `name`, `dirname` FROM `modules` WHERE `isactive` = 1 AND `hasmain` = 1 AND `weight` != 0 ORDER BY `weight` |
0.000440 - SELECT `conf_value` FROM `config` WHERE `conf_title` = '_MD_AM_DEBUGMODE' |
0.000675 - SELECT COUNT(*) FROM `priv_msgs` WHERE `to_userid` = 0 AND `read_msg`=0 GROUP BY `to_userid` |
0.002324 - SELECT `menuid`, `itemname`, `itemurl`, `target`, `icon`, `link_cate_name`,
`link_cate_sn`, `read_group`, `of_level`
FROM `tad_themes_menu`
WHERE `status` = 1
ORDER BY `of_level`, `position` |
0.000334 - SELECT * FROM `tad_news_cate` WHERE 1 and not_news!='1' and ncsn='31' ORDER BY `sort` |
0.000369 - select * from tad_news where 1 and nsn='2988' and `ncsn` = '31' and start_day < '2025-03-15 03:49:36' and (end_day > '2025-03-15 03:49:36' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc |
0.000413 - select * from tad_news where 1 and nsn='2988' and `ncsn` = '31' and start_day < '2025-03-15 03:49:36' and (end_day > '2025-03-15 03:49:36' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc LIMIT 0, 1 |
0.000466 - SELECT `tag_sn`, `font_color`, `color`, `tag` FROM `tad_news_tags` |
0.001027 - desc `tadnews_data_center` `sort` |
0.000486 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`
where `mid`= '21' and `col_name`='nsn' and `col_sn`='2988' order by `sort` , `data_sort` |
0.005419 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='2988' order by sort |
0.000546 - SELECT * FROM users WHERE uid = '363' |
0.000331 - SELECT * FROM `tad_news` WHERE `nsn` = 2988 |
0.000295 - SELECT `groupid`,`name` FROM `groups` |
0.005166 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='2988' ORDER BY `sort` |
0.005123 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='2988' ORDER BY `sort` |
0.005113 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='2988' ORDER BY `sort` |
0.000448 - SELECT * FROM `tad_news` WHERE `nsn` = 2988 |
0.010478 - 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 < '2021-10-12 14:48:10' or a.nsn < '2988') and b.not_news='0' and a.start_day < '2025-03-15 03:49:36' and (a.end_day > '2025-03-15 03:49:36' or a.end_day = '0000-00-00 00:00:00') order by a.start_day desc, a.nsn desc limit 0,1 |
0.009543 - 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 > '2021-10-12 14:48:10' or a.nsn > '2988') and b.not_news='0' and a.start_day < '2025-03-15 03:49:36' and (a.end_day > '2025-03-15 03:49:36' or a.end_day = '0000-00-00 00:00:00') order by a.start_day , a.nsn limit 0,1 |
0.000547 - SELECT * FROM smiles |
0.000512 - SELECT `tt_theme`,`tt_use_bootstrap`,`tt_bootstrap_color`,`tt_theme_kind` FROM `tadtools_setup` WHERE `tt_theme` = 'school2019' |
0.000766 - 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 |