資料庫語法 |
---|
0.000345 - SET SQL_BIG_SELECTS = 1 |
0.001078 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '1') ORDER BY conf_order ASC |
0.000423 - SELECT sess_data, sess_ip FROM session WHERE sess_id = '7o3rroah0mpe5t5bau5b4hg65s' |
0.000427 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '5') ORDER BY conf_order ASC |
0.000435 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '3') ORDER BY conf_order ASC |
0.000851 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (3) |
0.001675 - 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.001172 - SELECT * FROM `tad_link_cate` WHERE `cate_sn` IN (6,1,2,3,4,7) ORDER BY `of_cate_sn`, `cate_sort` |
0.001205 - SELECT * FROM `tad_link` WHERE `cate_sn` ='6' AND `enable`='1' AND (`unable_date`='0000-00-00' OR `unable_date` >= '2025-03-12') ORDER BY `link_sort` |
0.000557 - SELECT * FROM `tad_link` WHERE `cate_sn` ='1' AND `enable`='1' AND (`unable_date`='0000-00-00' OR `unable_date` >= '2025-03-12') ORDER BY `link_sort` |
0.000401 - SELECT * FROM `tad_link` WHERE `cate_sn` ='2' AND `enable`='1' AND (`unable_date`='0000-00-00' OR `unable_date` >= '2025-03-12') ORDER BY `link_sort` |
0.000398 - SELECT * FROM `tad_link` WHERE `cate_sn` ='3' AND `enable`='1' AND (`unable_date`='0000-00-00' OR `unable_date` >= '2025-03-12') ORDER BY `link_sort` |
0.000438 - SELECT * FROM `tad_link` WHERE `cate_sn` ='4' AND `enable`='1' AND (`unable_date`='0000-00-00' OR `unable_date` >= '2025-03-12') ORDER BY `link_sort` |
0.000493 - SELECT * FROM `tad_link` WHERE `cate_sn` ='7' AND `enable`='1' AND (`unable_date`='0000-00-00' OR `unable_date` >= '2025-03-12') ORDER BY `link_sort` |
0.000756 - 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.000602 - SELECT cfgname, cfgvalue FROM logcounterx_cfg |
0.002492 - DELETE FROM logcounterx_ip WHERE acctime < 1741777729 |
0.000230 - SELECT accip FROM logcounterx_ip WHERE accip = '3.15.230.252' |
0.003129 - INSERT INTO logcounterx_ip (accip, acctime) VALUES ('3.15.230.252', 1741778329) |
0.002947 - UPDATE logcounterx_count SET cnt = (cnt + 1), robot = (robot + 1) WHERE ymd = '1111-11-11' |
0.000346 - SELECT cnt FROM logcounterx_count WHERE ymd = '2025/03/12' |
0.002877 - UPDATE logcounterx_count SET cnt = (cnt + 1), robot = (robot + 1) WHERE ymd = '2025/03/12' |
0.004838 - UPDATE logcounterx_hours SET cnt = (cnt + 1), robot = (robot + 1) WHERE hour = '19' |
0.000383 - SELECT cnt FROM logcounterx_count WHERE ymd = '1111-11-11' |
0.005553 - INSERT INTO logcounterx_log (remote_host, user_agent, path_info, referer, acccnt, uname, accday, acctime, accwday) VALUES ('', 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '/~nsps_www/index.php', '', 1259224, '', '2025-03-12', '19:18:49', '3') |
0.014192 - SELECT MAX(acccnt), COUNT(recid) FROM logcounterx_log |
0.000318 - SELECT * FROM config WHERE (`conf_modid` = '16') ORDER BY conf_order ASC |
0.000450 - 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.000714 - 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.000611 - 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.000509 - SELECT * FROM config WHERE (`conf_modid` = '21') ORDER BY conf_order ASC |
0.000596 - SELECT * FROM config WHERE (`conf_modid` = '4') ORDER BY conf_order ASC |
0.000445 - SELECT `tag_sn`, `font_color`, `color`, `tag` FROM `tad_news_tags` |
0.000473 - 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.001116 - select * from tad_news where ncsn='1' and enable='1' and start_day < '2025-03-12 19:18:50' and (end_day > '2025-03-12 19:18:50' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
0.000441 - SELECT * FROM users WHERE uid = '85' |
0.000446 - SELECT * FROM smiles |
0.000437 - SELECT * FROM users WHERE uid = '372' |
0.001306 - select * from tad_news where ncsn='3' and enable='1' and start_day < '2025-03-12 19:18:50' and (end_day > '2025-03-12 19:18:50' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
0.000365 - SELECT * FROM users WHERE uid = '406' |
0.001110 - select * from tad_news where ncsn='30' and enable='1' and start_day < '2025-03-12 19:18:50' and (end_day > '2025-03-12 19:18:50' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
0.000343 - SELECT * FROM users WHERE uid = '395' |
0.000436 - SELECT * FROM users WHERE uid = '103' |
0.003503 - select * from tad_news where ncsn='11' and enable='1' and start_day < '2025-03-12 19:18:50' and (end_day > '2025-03-12 19:18:50' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
0.000433 - SELECT * FROM users WHERE uid = '344' |
0.001484 - select * from tad_news where ncsn='10' and enable='1' and start_day < '2025-03-12 19:18:50' and (end_day > '2025-03-12 19:18:50' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
0.000341 - SELECT * FROM users WHERE uid = '398' |
0.000398 - SELECT * FROM users WHERE uid = '94' |
0.000700 - select * from tad_news where ncsn='27' and enable='1' and start_day < '2025-03-12 19:18:50' and (end_day > '2025-03-12 19:18:50' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
0.004091 - select * from tad_news where ncsn='31' and enable='1' and start_day < '2025-03-12 19:18:50' and (end_day > '2025-03-12 19:18:50' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
0.000329 - SELECT * FROM users WHERE uid = '396' |
0.000421 - 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.037072 - select * from tad_news where 1 and enable='1' and ncsn in(1,3,30,11,10,27,31) and start_day < '2025-03-12 19:18:50' and (end_day > '2025-03-12 19:18:50' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc |
0.011676 - select * from tad_news where 1 and enable='1' and ncsn in(1,3,30,11,10,27,31) and start_day < '2025-03-12 19:18:50' and (end_day > '2025-03-12 19:18:50' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc LIMIT 0, 10 |
0.000282 - SELECT `tag_sn`, `font_color`, `color`, `tag` FROM `tad_news_tags` |
0.001328 - desc `tadnews_data_center` `sort` |
0.000579 - 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.005512 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4317' order by sort |
0.000405 - SELECT * FROM `tad_news` WHERE `nsn` = 4317 |
0.000413 - SELECT `groupid`,`name` FROM `groups` |
0.005630 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4317' ORDER BY `sort` |
0.005556 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4317' ORDER BY `sort` |
0.001143 - desc `tadnews_data_center` `sort` |
0.000475 - 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.005578 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4316' order by sort |
0.000300 - SELECT * FROM `tad_news` WHERE `nsn` = 4316 |
0.000318 - SELECT `groupid`,`name` FROM `groups` |
0.005369 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4316' ORDER BY `sort` |
0.005218 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4316' ORDER BY `sort` |
0.001115 - desc `tadnews_data_center` `sort` |
0.000270 - 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.005410 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4315' order by sort |
0.000386 - SELECT * FROM `tad_news` WHERE `nsn` = 4315 |
0.000223 - SELECT `groupid`,`name` FROM `groups` |
0.005182 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4315' ORDER BY `sort` |
0.005594 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4315' ORDER BY `sort` |
0.001209 - desc `tadnews_data_center` `sort` |
0.000471 - 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.005649 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4314' order by sort |
0.000391 - SELECT * FROM `tad_news` WHERE `nsn` = 4314 |
0.000335 - SELECT `groupid`,`name` FROM `groups` |
0.005606 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4314' ORDER BY `sort` |
0.005403 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4314' ORDER BY `sort` |
0.001261 - desc `tadnews_data_center` `sort` |
0.000428 - 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.005402 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4312' order by sort |
0.000372 - SELECT * FROM `tad_news` WHERE `nsn` = 4312 |
0.000308 - SELECT `groupid`,`name` FROM `groups` |
0.005171 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4312' ORDER BY `sort` |
0.005355 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4312' ORDER BY `sort` |
0.001378 - desc `tadnews_data_center` `sort` |
0.000485 - 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.005320 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4311' order by sort |
0.000438 - SELECT * FROM `tad_news` WHERE `nsn` = 4311 |
0.000317 - SELECT `groupid`,`name` FROM `groups` |
0.005493 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4311' ORDER BY `sort` |
0.005389 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4311' ORDER BY `sort` |
0.001470 - desc `tadnews_data_center` `sort` |
0.000339 - 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.005848 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4310' order by sort |
0.000343 - SELECT * FROM `tad_news` WHERE `nsn` = 4310 |
0.000404 - SELECT `groupid`,`name` FROM `groups` |
0.005396 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4310' ORDER BY `sort` |
0.005311 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4310' ORDER BY `sort` |
0.001236 - desc `tadnews_data_center` `sort` |
0.000372 - 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.005261 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4309' order by sort |
0.000322 - SELECT * FROM `tad_news` WHERE `nsn` = 4309 |
0.000283 - SELECT `groupid`,`name` FROM `groups` |
0.005386 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4309' ORDER BY `sort` |
0.005267 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4309' ORDER BY `sort` |
0.001362 - desc `tadnews_data_center` `sort` |
0.000476 - 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.005409 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4308' order by sort |
0.000565 - SELECT * FROM `tad_news` WHERE `nsn` = 4308 |
0.000321 - SELECT `groupid`,`name` FROM `groups` |
0.005257 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4308' ORDER BY `sort` |
0.005334 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4308' ORDER BY `sort` |
0.001190 - desc `tadnews_data_center` `sort` |
0.000356 - 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.005760 - select * from `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4307' order by sort |
0.000338 - SELECT * FROM `tad_news` WHERE `nsn` = 4307 |
0.000299 - SELECT `groupid`,`name` FROM `groups` |
0.005352 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4307' ORDER BY `sort` |
0.005237 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4307' ORDER BY `sort` |
0.000779 - 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.000437 - SELECT * FROM config WHERE (`conf_modid` = '55') ORDER BY conf_order ASC |
0.001592 - desc `tad_lunch3_data_center` `sort` |
0.000996 - 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-12' order by `sort` , `data_sort` |
0.000437 - 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.000435 - SELECT cfgname, cfgvalue FROM logcounterx_cfg |
0.000328 - SELECT cnt FROM logcounterx_count WHERE ymd = '2025-03-12' |
0.000383 - SELECT cnt FROM logcounterx_count WHERE ymd = '2025-03-11' |
0.000298 - SELECT sum(cnt) as CNT FROM logcounterx_count WHERE ymd >= '2025-03-09' |
0.001852 - SELECT sum(cnt) as CNT FROM logcounterx_count WHERE (ymd like '2025-03-%') OR (ymd like '2025/03/%') |
0.000344 - SELECT cnt FROM logcounterx_count WHERE (ymd = '1111-11-11') OR (ymd = '1111/11/11') |
0.001343 - SELECT count(ymd) AS DAYS, sum(cnt) as CNT FROM logcounterx_count WHERE ymd > '1111-11-11' |
0.000758 - 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.001379 - 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.000462 - 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.000853 - SELECT `conf_value` FROM `config` WHERE `conf_name` = 'allow_register' |
0.000473 - SELECT `mid`, `name`, `dirname` FROM `modules` WHERE `isactive` = 1 AND `hasmain` = 1 AND `weight` != 0 ORDER BY `weight` |
0.000328 - SELECT `conf_value` FROM `config` WHERE `conf_title` = '_MD_AM_DEBUGMODE' |
0.000582 - SELECT COUNT(*) FROM `priv_msgs` WHERE `to_userid` = 0 AND `read_msg`=0 GROUP BY `to_userid` |
0.001296 - 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.000598 - 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 |
0.000671 - SELECT `tt_theme`,`tt_use_bootstrap`,`tt_bootstrap_color`,`tt_theme_kind` FROM `tadtools_setup` WHERE `tt_theme` = 'school2019' |