資料庫語法 |
---|
0.000350 - SET SQL_BIG_SELECTS = 1 |
0.000660 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '1') ORDER BY conf_order ASC |
0.000371 - SELECT sess_data, sess_ip FROM session WHERE sess_id = 'hg0h0j7j66j3n0eosl3ifcn0k3' |
0.000431 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '5') ORDER BY conf_order ASC |
0.000412 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '3') ORDER BY conf_order ASC |
0.001090 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (3) |
0.001321 - 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,-1) 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.000914 - SELECT * FROM `tad_link_cate` WHERE `cate_sn` IN (6,1,2,3,4,7) ORDER BY `of_cate_sn`, `cate_sort` |
0.000885 - SELECT * FROM `tad_link` WHERE `cate_sn` ='6' AND `enable`='1' AND (`unable_date`='0000-00-00' OR `unable_date` >= '2025-03-13') ORDER BY `link_sort` |
0.000458 - SELECT * FROM `tad_link` WHERE `cate_sn` ='1' AND `enable`='1' AND (`unable_date`='0000-00-00' OR `unable_date` >= '2025-03-13') ORDER BY `link_sort` |
0.000408 - SELECT * FROM `tad_link` WHERE `cate_sn` ='2' AND `enable`='1' AND (`unable_date`='0000-00-00' OR `unable_date` >= '2025-03-13') ORDER BY `link_sort` |
0.000462 - SELECT * FROM `tad_link` WHERE `cate_sn` ='3' AND `enable`='1' AND (`unable_date`='0000-00-00' OR `unable_date` >= '2025-03-13') ORDER BY `link_sort` |
0.000464 - SELECT * FROM `tad_link` WHERE `cate_sn` ='4' AND `enable`='1' AND (`unable_date`='0000-00-00' OR `unable_date` >= '2025-03-13') ORDER BY `link_sort` |
0.000373 - SELECT * FROM `tad_link` WHERE `cate_sn` ='7' AND `enable`='1' AND (`unable_date`='0000-00-00' OR `unable_date` >= '2025-03-13') ORDER BY `link_sort` |
0.000554 - 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_link_block_all.tpl') ORDER BY tpl_refid |
0.000466 - SELECT * FROM config WHERE (`conf_modid` = '16') ORDER BY conf_order ASC |
0.000478 - 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.000532 - 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.000534 - 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_honor_marquee.tpl') ORDER BY tpl_refid |
0.000535 - SELECT * FROM config WHERE (`conf_modid` = '21') ORDER BY conf_order ASC |
0.000450 - SELECT * FROM config WHERE (`conf_modid` = '4') ORDER BY conf_order ASC |
0.000451 - SELECT `tag_sn`, `font_color`, `color`, `tag` FROM `tad_news_tags` |
0.000456 - SELECT `ncsn`,`nc_title`,`enable_group`,`enable_post_group`,`cate_pic`,`setup` FROM `tad_news_cate` WHERE 1 AND `ncsn` in(1,3,31,30,11,10,27) AND `not_news`!='1' ORDER BY `sort` |
0.000937 - select * from tad_news where ncsn='1' and enable='1' and start_day < '2025-03-13 00:00:52' and (end_day > '2025-03-13 00:00:52' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
0.000346 - SELECT * FROM users WHERE uid = '85' |
0.000389 - SELECT * FROM smiles |
0.000436 - SELECT * FROM users WHERE uid = '372' |
0.001066 - select * from tad_news where ncsn='3' and enable='1' and start_day < '2025-03-13 00:00:52' and (end_day > '2025-03-13 00:00:52' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
0.000360 - SELECT * FROM users WHERE uid = '406' |
0.001091 - select * from tad_news where ncsn='30' and enable='1' and start_day < '2025-03-13 00:00:52' and (end_day > '2025-03-13 00:00:52' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
0.000313 - SELECT * FROM users WHERE uid = '395' |
0.000408 - SELECT * FROM users WHERE uid = '103' |
0.003083 - select * from tad_news where ncsn='11' and enable='1' and start_day < '2025-03-13 00:00:52' and (end_day > '2025-03-13 00:00:52' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
0.000410 - SELECT * FROM users WHERE uid = '344' |
0.001903 - select * from tad_news where ncsn='10' and enable='1' and start_day < '2025-03-13 00:00:52' and (end_day > '2025-03-13 00:00:52' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
0.000339 - SELECT * FROM users WHERE uid = '398' |
0.000338 - SELECT * FROM users WHERE uid = '94' |
0.000718 - select * from tad_news where ncsn='27' and enable='1' and start_day < '2025-03-13 00:00:52' and (end_day > '2025-03-13 00:00:52' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
0.004310 - select * from tad_news where ncsn='31' and enable='1' and start_day < '2025-03-13 00:00:52' and (end_day > '2025-03-13 00:00:52' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
0.000614 - SELECT * FROM users WHERE uid = '396' |
0.000452 - SELECT * FROM `tad_news_cate` WHERE 1 and not_news!='1' and ncsn in(1,3,31,30,11,10,27) ORDER BY `sort` |
0.032862 - select * from tad_news where 1 and enable='1' and ncsn in(1,3,30,11,10,27,31) and start_day < '2025-03-13 00:00:53' and (end_day > '2025-03-13 00:00:53' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc |
0.011566 - select * from tad_news where 1 and enable='1' and ncsn in(1,3,30,11,10,27,31) and start_day < '2025-03-13 00:00:53' and (end_day > '2025-03-13 00:00:53' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc LIMIT 0, 10 |
0.000475 - SELECT `tag_sn`, `font_color`, `color`, `tag` FROM `tad_news_tags` |
0.001161 - desc `tadnews_data_center` `sort` |
0.000522 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`
 where `mid`= '21' and `col_name`='nsn' and `col_sn`='4317' order by `sort` , `data_sort` |
0.005481 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4317' order by sort |
0.000463 - SELECT * FROM `tad_news` WHERE `nsn` = 4317 |
0.000406 - SELECT `groupid`,`name` FROM `groups` |
0.005206 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4317' ORDER BY `sort` |
0.005238 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4317' ORDER BY `sort` |
0.001235 - desc `tadnews_data_center` `sort` |
0.000358 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`
 where `mid`= '21' and `col_name`='nsn' and `col_sn`='4316' order by `sort` , `data_sort` |
0.005299 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4316' order by sort |
0.000282 - SELECT * FROM `tad_news` WHERE `nsn` = 4316 |
0.000283 - SELECT `groupid`,`name` FROM `groups` |
0.005080 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4316' ORDER BY `sort` |
0.005115 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4316' ORDER BY `sort` |
0.001174 - desc `tadnews_data_center` `sort` |
0.000302 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`
 where `mid`= '21' and `col_name`='nsn' and `col_sn`='4315' order by `sort` , `data_sort` |
0.005262 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4315' order by sort |
0.000366 - SELECT * FROM `tad_news` WHERE `nsn` = 4315 |
0.000333 - SELECT `groupid`,`name` FROM `groups` |
0.005213 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4315' ORDER BY `sort` |
0.005090 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4315' ORDER BY `sort` |
0.001156 - desc `tadnews_data_center` `sort` |
0.000322 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`
 where `mid`= '21' and `col_name`='nsn' and `col_sn`='4314' order by `sort` , `data_sort` |
0.005339 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4314' order by sort |
0.000332 - SELECT * FROM `tad_news` WHERE `nsn` = 4314 |
0.000312 - SELECT `groupid`,`name` FROM `groups` |
0.005262 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4314' ORDER BY `sort` |
0.005195 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4314' ORDER BY `sort` |
0.001383 - desc `tadnews_data_center` `sort` |
0.000484 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`
 where `mid`= '21' and `col_name`='nsn' and `col_sn`='4312' order by `sort` , `data_sort` |
0.005566 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4312' order by sort |
0.000334 - SELECT * FROM `tad_news` WHERE `nsn` = 4312 |
0.000292 - SELECT `groupid`,`name` FROM `groups` |
0.005449 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4312' ORDER BY `sort` |
0.005417 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4312' ORDER BY `sort` |
0.001083 - desc `tadnews_data_center` `sort` |
0.000342 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`
 where `mid`= '21' and `col_name`='nsn' and `col_sn`='4311' order by `sort` , `data_sort` |
0.005238 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4311' order by sort |
0.000430 - SELECT * FROM `tad_news` WHERE `nsn` = 4311 |
0.000296 - SELECT `groupid`,`name` FROM `groups` |
0.005169 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4311' ORDER BY `sort` |
0.005129 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4311' ORDER BY `sort` |
0.001075 - desc `tadnews_data_center` `sort` |
0.000355 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`
 where `mid`= '21' and `col_name`='nsn' and `col_sn`='4310' order by `sort` , `data_sort` |
0.005262 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4310' order by sort |
0.000349 - SELECT * FROM `tad_news` WHERE `nsn` = 4310 |
0.000297 - SELECT `groupid`,`name` FROM `groups` |
0.005338 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4310' ORDER BY `sort` |
0.005242 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4310' ORDER BY `sort` |
0.001138 - desc `tadnews_data_center` `sort` |
0.000478 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`
 where `mid`= '21' and `col_name`='nsn' and `col_sn`='4309' order by `sort` , `data_sort` |
0.005538 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4309' order by sort |
0.000387 - SELECT * FROM `tad_news` WHERE `nsn` = 4309 |
0.000274 - SELECT `groupid`,`name` FROM `groups` |
0.005252 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4309' ORDER BY `sort` |
0.005140 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4309' ORDER BY `sort` |
0.001168 - desc `tadnews_data_center` `sort` |
0.000454 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`
 where `mid`= '21' and `col_name`='nsn' and `col_sn`='4308' order by `sort` , `data_sort` |
0.005353 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4308' order by sort |
0.000426 - SELECT * FROM `tad_news` WHERE `nsn` = 4308 |
0.000267 - SELECT `groupid`,`name` FROM `groups` |
0.005261 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4308' ORDER BY `sort` |
0.005274 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4308' ORDER BY `sort` |
0.001204 - desc `tadnews_data_center` `sort` |
0.000323 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`
 where `mid`= '21' and `col_name`='nsn' and `col_sn`='4307' order by `sort` , `data_sort` |
0.005701 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4307' order by sort |
0.000442 - SELECT * FROM `tad_news` WHERE `nsn` = 4307 |
0.000295 - SELECT `groupid`,`name` FROM `groups` |
0.005287 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4307' ORDER BY `sort` |
0.005037 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4307' ORDER BY `sort` |
0.000668 - 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_tab_news.tpl') ORDER BY tpl_refid |
0.000533 - SELECT * FROM config WHERE (`conf_modid` = '55') ORDER BY conf_order ASC |
0.001886 - desc `tad_lunch3_data_center` `sort` |
0.001165 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tad_lunch3_data_center`
 where `mid`= '55' and `col_name`='SchoolId' and `col_sn`='64736435' and `data_name`='2025-03-13' order by `sort` , `data_sort` |
0.000651 - 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_lunch3_today.tpl') ORDER BY tpl_refid |
0.001183 - SELECT cfgname, cfgvalue FROM logcounterx_cfg |
0.000851 - SELECT cnt FROM logcounterx_count WHERE ymd = '2025-03-13' |
0.000517 - SELECT cnt FROM logcounterx_count WHERE ymd = '2025-03-12' |
0.000771 - SELECT sum(cnt) as CNT FROM logcounterx_count WHERE ymd >= '2025-03-09' |
0.002107 - SELECT sum(cnt) as CNT FROM logcounterx_count WHERE (ymd like '2025-03-%') OR (ymd like '2025/03/%') |
0.000499 - SELECT cnt FROM logcounterx_count WHERE (ymd = '1111-11-11') OR (ymd = '1111/11/11') |
0.001421 - SELECT count(ymd) AS DAYS, sum(cnt) as CNT FROM logcounterx_count WHERE ymd > '1111-11-11' |
0.000842 - 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.001507 - SELECT `jbi_sn`,`jbi_title` FROM `jill_booking_item` WHERE `jbi_enable`=1 AND ((NOW() BETWEEN `jbi_start` AND `jbi_end`) OR (TO_DAYS(NOW()) - TO_DAYS(`jbi_start`) >=0 AND `jbi_end`="0000-00-00")) ORDER BY `jbi_sort` |
0.000539 - 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` = 'jb_b_today_list.tpl') ORDER BY tpl_refid |
0.000687 - SELECT `conf_value` FROM `config` WHERE `conf_name` = 'allow_register' |
0.000499 - SELECT `mid`, `name`, `dirname` FROM `modules` WHERE `isactive` = 1 AND `hasmain` = 1 AND `weight` != 0 ORDER BY `weight` |
0.000276 - SELECT `conf_value` FROM `config` WHERE `conf_title` = '_MD_AM_DEBUGMODE' |
0.000786 - SELECT COUNT(*) FROM `priv_msgs` WHERE `to_userid` = 0 AND `read_msg`=0 GROUP BY `to_userid` |
0.001173 - 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.000550 - 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_homepage.tpl') ORDER BY tpl_refid |