| 資料庫語法 |
|---|
| 0.000480 - SET SQL_BIG_SELECTS = 1 |
| 0.000936 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '1') ORDER BY conf_order ASC |
| 0.000766 - SELECT sess_data, sess_ip FROM session WHERE sess_id = 'i7r1209oodilos6e267rhfterc' |
| 0.000741 - SELECT * FROM config WHERE (`conf_modid` = '4') ORDER BY conf_order ASC |
| 0.000674 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '5') ORDER BY conf_order ASC |
| 0.000708 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '3') ORDER BY conf_order ASC |
| 0.001362 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (3) |
| 0.001848 - 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.001700 - SELECT * FROM `tad_link_cate` WHERE `cate_sn` IN (1,2,3,4,7) ORDER BY `of_cate_sn`, `cate_sort` |
| 0.001471 - SELECT * FROM `tad_link` WHERE `cate_sn` ='1' AND `enable`='1' AND (`unable_date`='0000-00-00' OR `unable_date` >= '2026-11-30') ORDER BY `link_sort` |
| 0.000723 - SELECT * FROM `tad_link` WHERE `cate_sn` ='2' AND `enable`='1' AND (`unable_date`='0000-00-00' OR `unable_date` >= '2026-11-30') ORDER BY `link_sort` |
| 0.000752 - SELECT * FROM `tad_link` WHERE `cate_sn` ='3' AND `enable`='1' AND (`unable_date`='0000-00-00' OR `unable_date` >= '2026-11-30') ORDER BY `link_sort` |
| 0.000838 - SELECT * FROM `tad_link` WHERE `cate_sn` ='4' AND `enable`='1' AND (`unable_date`='0000-00-00' OR `unable_date` >= '2026-11-30') ORDER BY `link_sort` |
| 0.000771 - SELECT * FROM `tad_link` WHERE `cate_sn` ='7' AND `enable`='1' AND (`unable_date`='0000-00-00' OR `unable_date` >= '2026-11-30') ORDER BY `link_sort` |
| 0.000979 - 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.001453 - SELECT cfgname, cfgvalue FROM logcounterx_cfg |
| 0.001403 - DELETE FROM logcounterx_ip WHERE acctime < 1796004638 |
| 0.000661 - SELECT accip FROM logcounterx_ip WHERE accip = '216.73.217.65' |
| 0.000732 - INSERT INTO logcounterx_ip (accip, acctime) VALUES ('216.73.217.65', 1796005238) |
| 0.000839 - UPDATE logcounterx_count SET cnt = (cnt + 1), robot = (robot + 1) WHERE ymd = '1111-11-11' |
| 0.000515 - SELECT cnt FROM logcounterx_count WHERE ymd = '2026/11/30' |
| 0.000604 - UPDATE logcounterx_count SET cnt = (cnt + 1), robot = (robot + 1) WHERE ymd = '2026/11/30' |
| 0.001051 - UPDATE logcounterx_hours SET cnt = (cnt + 1), robot = (robot + 1) WHERE hour = '10' |
| 0.000640 - SELECT cnt FROM logcounterx_count WHERE ymd = '1111-11-11' |
| 0.001262 - 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)', '/', '', 1847041, '', '2026-11-30', '10:20:38', '1') |
| 0.011589 - SELECT MAX(acccnt), COUNT(recid) FROM logcounterx_log |
| 0.000779 - SELECT * FROM config WHERE (`conf_modid` = '16') ORDER BY conf_order ASC |
| 0.001145 - 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.000768 - 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.001133 - 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.000934 - SELECT * FROM config WHERE (`conf_modid` = '21') ORDER BY conf_order ASC |
| 0.000653 - SELECT `tag_sn`, `font_color`, `color`, `tag` FROM `tad_news_tags` |
| 0.000731 - SELECT `ncsn`,`nc_title`,`enable_group`,`enable_post_group`,`cate_pic`,`setup` FROM `tad_news_cate` WHERE 1 AND `ncsn` in(1,3,30,11,33,10,27,31) AND `not_news`!='1' ORDER BY `sort` |
| 0.001277 - select `nsn`, `ncsn`, `news_title`, `start_day`, `end_day`, `enable`, `uid`, `passwd`, `enable_group`, `counter`, `prefix_tag`, `always_top`, `always_top_date`, `have_read_group`, `page_sort` from tad_news where ncsn='1' and enable='1' and start_day < '2026-11-30 10:20:39' and (end_day > '2026-11-30 10:20:39' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
| 0.000723 - SELECT * FROM users WHERE uid = '85' |
| 0.000782 - SELECT * FROM smiles |
| 0.000784 - SELECT * FROM users WHERE uid = '395' |
| 0.000782 - SELECT * FROM users WHERE uid = '372' |
| 0.001570 - select `nsn`, `ncsn`, `news_title`, `start_day`, `end_day`, `enable`, `uid`, `passwd`, `enable_group`, `counter`, `prefix_tag`, `always_top`, `always_top_date`, `have_read_group`, `page_sort` from tad_news where ncsn='3' and enable='1' and start_day < '2026-11-30 10:20:39' and (end_day > '2026-11-30 10:20:39' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
| 0.000695 - SELECT * FROM users WHERE uid = '406' |
| 0.000873 - select `nsn`, `ncsn`, `news_title`, `start_day`, `end_day`, `enable`, `uid`, `passwd`, `enable_group`, `counter`, `prefix_tag`, `always_top`, `always_top_date`, `have_read_group`, `page_sort` from tad_news where ncsn='30' and enable='1' and start_day < '2026-11-30 10:20:39' and (end_day > '2026-11-30 10:20:39' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
| 0.000641 - SELECT * FROM users WHERE uid = '412' |
| 0.000700 - SELECT * FROM users WHERE uid = '418' |
| 0.000569 - SELECT * FROM users WHERE uid = '103' |
| 0.004839 - select `nsn`, `ncsn`, `news_title`, `start_day`, `end_day`, `enable`, `uid`, `passwd`, `enable_group`, `counter`, `prefix_tag`, `always_top`, `always_top_date`, `have_read_group`, `page_sort` from tad_news where ncsn='11' and enable='1' and start_day < '2026-11-30 10:20:39' and (end_day > '2026-11-30 10:20:39' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
| 0.000764 - SELECT * FROM users WHERE uid = '430' |
| 0.000923 - select `nsn`, `ncsn`, `news_title`, `start_day`, `end_day`, `enable`, `uid`, `passwd`, `enable_group`, `counter`, `prefix_tag`, `always_top`, `always_top_date`, `have_read_group`, `page_sort` from tad_news where ncsn='33' and enable='1' and start_day < '2026-11-30 10:20:39' and (end_day > '2026-11-30 10:20:39' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
| 0.001915 - select `nsn`, `ncsn`, `news_title`, `start_day`, `end_day`, `enable`, `uid`, `passwd`, `enable_group`, `counter`, `prefix_tag`, `always_top`, `always_top_date`, `have_read_group`, `page_sort` from tad_news where ncsn='10' and enable='1' and start_day < '2026-11-30 10:20:39' and (end_day > '2026-11-30 10:20:39' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
| 0.000581 - SELECT * FROM users WHERE uid = '429' |
| 0.000662 - SELECT * FROM users WHERE uid = '426' |
| 0.000677 - SELECT * FROM users WHERE uid = '398' |
| 0.000999 - select `nsn`, `ncsn`, `news_title`, `start_day`, `end_day`, `enable`, `uid`, `passwd`, `enable_group`, `counter`, `prefix_tag`, `always_top`, `always_top_date`, `have_read_group`, `page_sort` from tad_news where ncsn='27' and enable='1' and start_day < '2026-11-30 10:20:39' and (end_day > '2026-11-30 10:20:39' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
| 0.004485 - select `nsn`, `ncsn`, `news_title`, `start_day`, `end_day`, `enable`, `uid`, `passwd`, `enable_group`, `counter`, `prefix_tag`, `always_top`, `always_top_date`, `have_read_group`, `page_sort` from tad_news where ncsn='31' and enable='1' and start_day < '2026-11-30 10:20:39' and (end_day > '2026-11-30 10:20:39' or end_day='0000-00-00 00:00:00') order by always_top desc , start_day desc limit 0,10 |
| 0.000682 - SELECT * FROM users WHERE uid = '396' |
| 0.000662 - SELECT * FROM `tad_news_cate` WHERE 1 and not_news!='1' and ncsn in(1,3,30,11,33,10,27,31) ORDER BY `sort` |
| 0.015399 - select `nsn` from tad_news where 1 and enable='1' and ncsn in(1,3,30,11,33,10,27,31) and start_day < '2026-11-30 10:20:39' and (end_day >= '2026-11-30 10:20:39' or end_day = '0000-00-00 00:00:00') order by always_top desc , start_day desc |
| 0.015162 - select `nsn`, `ncsn`, `news_title`, `start_day`, `end_day`, `enable`, `uid`, `passwd`, `enable_group`, `counter`, `prefix_tag`, `always_top`, `always_top_date`, `have_read_group`, `page_sort` from tad_news where 1 and enable='1' and ncsn in(1,3,30,11,33,10,27,31) and start_day < '2026-11-30 10:20:39' and (end_day >= '2026-11-30 10:20:39' or end_day = '0000-00-00 00:00:00') order by always_top desc , start_day desc LIMIT 0, 10 |
| 0.000559 - SELECT `tag_sn`, `font_color`, `color`, `tag` FROM `tad_news_tags` |
| 0.001525 - desc `tadnews_data_center` `sort` |
| 0.000750 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`

 where `mid`= '21' and `col_name`='nsn' and `col_sn`='4626' order by `sort` , `data_sort` |
| 0.000886 - SELECT * FROM `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4626' order by sort |
| 0.000684 - SELECT * FROM `tad_news` WHERE `nsn` = 4626 |
| 0.000533 - SELECT `groupid`,`name` FROM `groups` |
| 0.000652 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4626' ORDER BY `sort` |
| 0.000596 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4626' ORDER BY `sort` |
| 0.001367 - desc `tadnews_data_center` `sort` |
| 0.000632 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`

 where `mid`= '21' and `col_name`='nsn' and `col_sn`='4624' order by `sort` , `data_sort` |
| 0.000662 - SELECT * FROM `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4624' order by sort |
| 0.000846 - SELECT * FROM `tad_news` WHERE `nsn` = 4624 |
| 0.000536 - SELECT `groupid`,`name` FROM `groups` |
| 0.000649 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4624' ORDER BY `sort` |
| 0.000613 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4624' ORDER BY `sort` |
| 0.001690 - desc `tadnews_data_center` `sort` |
| 0.000661 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`

 where `mid`= '21' and `col_name`='nsn' and `col_sn`='4623' order by `sort` , `data_sort` |
| 0.000773 - SELECT * FROM `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4623' order by sort |
| 0.000713 - SELECT * FROM `tad_news` WHERE `nsn` = 4623 |
| 0.000577 - SELECT `groupid`,`name` FROM `groups` |
| 0.000765 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4623' ORDER BY `sort` |
| 0.000790 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4623' ORDER BY `sort` |
| 0.001716 - desc `tadnews_data_center` `sort` |
| 0.000738 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`

 where `mid`= '21' and `col_name`='nsn' and `col_sn`='4622' order by `sort` , `data_sort` |
| 0.000891 - SELECT * FROM `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4622' order by sort |
| 0.000609 - SELECT * FROM `tad_news` WHERE `nsn` = 4622 |
| 0.000555 - SELECT `groupid`,`name` FROM `groups` |
| 0.000798 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4622' ORDER BY `sort` |
| 0.000681 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4622' ORDER BY `sort` |
| 0.001515 - desc `tadnews_data_center` `sort` |
| 0.000603 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`

 where `mid`= '21' and `col_name`='nsn' and `col_sn`='4615' order by `sort` , `data_sort` |
| 0.000806 - SELECT * FROM `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4615' order by sort |
| 0.000656 - SELECT * FROM `tad_news` WHERE `nsn` = 4615 |
| 0.000598 - SELECT `groupid`,`name` FROM `groups` |
| 0.000602 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4615' ORDER BY `sort` |
| 0.000616 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4615' ORDER BY `sort` |
| 0.001411 - desc `tadnews_data_center` `sort` |
| 0.000687 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`

 where `mid`= '21' and `col_name`='nsn' and `col_sn`='4619' order by `sort` , `data_sort` |
| 0.000703 - SELECT * FROM `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4619' order by sort |
| 0.000702 - SELECT * FROM `tad_news` WHERE `nsn` = 4619 |
| 0.000660 - SELECT `groupid`,`name` FROM `groups` |
| 0.000704 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4619' ORDER BY `sort` |
| 0.000827 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4619' ORDER BY `sort` |
| 0.001407 - desc `tadnews_data_center` `sort` |
| 0.000755 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`

 where `mid`= '21' and `col_name`='nsn' and `col_sn`='4618' order by `sort` , `data_sort` |
| 0.000985 - SELECT * FROM `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4618' order by sort |
| 0.000724 - SELECT * FROM `tad_news` WHERE `nsn` = 4618 |
| 0.000627 - SELECT `groupid`,`name` FROM `groups` |
| 0.000662 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4618' ORDER BY `sort` |
| 0.000692 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4618' ORDER BY `sort` |
| 0.001433 - desc `tadnews_data_center` `sort` |
| 0.000687 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`

 where `mid`= '21' and `col_name`='nsn' and `col_sn`='4614' order by `sort` , `data_sort` |
| 0.000751 - SELECT * FROM `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4614' order by sort |
| 0.000748 - SELECT * FROM `tad_news` WHERE `nsn` = 4614 |
| 0.000560 - SELECT `groupid`,`name` FROM `groups` |
| 0.000720 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4614' ORDER BY `sort` |
| 0.000711 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4614' ORDER BY `sort` |
| 0.001428 - desc `tadnews_data_center` `sort` |
| 0.000807 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`

 where `mid`= '21' and `col_name`='nsn' and `col_sn`='4612' order by `sort` , `data_sort` |
| 0.000845 - SELECT * FROM `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4612' order by sort |
| 0.000657 - SELECT * FROM `tad_news` WHERE `nsn` = 4612 |
| 0.000532 - SELECT `groupid`,`name` FROM `groups` |
| 0.000734 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4612' ORDER BY `sort` |
| 0.000612 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4612' ORDER BY `sort` |
| 0.001696 - desc `tadnews_data_center` `sort` |
| 0.000715 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tadnews_data_center`

 where `mid`= '21' and `col_name`='nsn' and `col_sn`='4610' order by `sort` , `data_sort` |
| 0.000811 - SELECT * FROM `tadnews_files_center` where `col_name`='nsn' and `col_sn`='4610' order by sort |
| 0.000643 - SELECT * FROM `tad_news` WHERE `nsn` = 4610 |
| 0.000668 - SELECT `groupid`,`name` FROM `groups` |
| 0.001198 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4610' ORDER BY `sort` |
| 0.000608 - SELECT * FROM `tadnews_files_center` WHERE `col_name`='news_pic' AND `col_sn`='4610' ORDER BY `sort` |
| 0.001122 - 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.000806 - SELECT * FROM config WHERE (`conf_modid` = '55') ORDER BY conf_order ASC |
| 0.002324 - desc `tad_lunch3_data_center` `sort` |
| 0.001413 - 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`='2026-11-30' order by `sort` , `data_sort` |
| 0.001463 - 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.001842 - SELECT `conf_value` FROM `config` WHERE `conf_name` = 'allow_register' |
| 0.000868 - SELECT `mid`, `name`, `dirname` FROM `modules` WHERE `isactive` = 1 AND `hasmain` = 1 AND `weight` != 0 ORDER BY `weight` |
| 0.000688 - SELECT `conf_value` FROM `config` WHERE `conf_title` = '_MD_AM_DEBUGMODE' |
| 0.000677 - SELECT COUNT(*) FROM `priv_msgs` WHERE `to_userid` = 0 AND `read_msg`=0 GROUP BY `to_userid` |
| 0.001365 - SELECT `menuid`, `itemname`, `itemurl`, `target`, `icon`, `link_cate_name`,

 `link_cate_sn`, `read_group`, `of_level`, `status`

 FROM `tad_themes_menu`

 WHERE `status` = 1

 ORDER BY `of_level`, `position` |
| 0.000618 - SELECT `nsn`, `news_title` FROM `tad_news` WHERE `ncsn` = '9' ORDER BY `page_sort` |
| 0.000837 - 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.000863 - SELECT `tt_theme`,`tt_use_bootstrap`,`tt_bootstrap_color`,`tt_theme_kind` FROM `tadtools_setup` WHERE `tt_theme` = 'school2019' |