[ DB ] CONNECT:[ UseTime:0.023998s ] mysql:dbname=hdm334229181_db;host=hdm334229181.my3w.com;port=3306;charset=utf8
[ SQL ] SHOW COLUMNS FROM `cmf_hook_plugin` [ RunTime:0.011993s ]
[ SQL ] SELECT `hook`,`plugin` FROM `cmf_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.011496s ]
[ SQL ] SHOW COLUMNS FROM `cmf_nav_menu` [ RunTime:0.012110s ]
[ SQL ] SELECT * FROM `cmf_nav_menu` WHERE `id` = 7 LIMIT 1 [ RunTime:0.011722s ]
[ SQL ] SHOW COLUMNS FROM `cmf_nav` [ RunTime:0.011966s ]
[ SQL ] SELECT `id` FROM `cmf_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.011469s ]
[ SQL ] SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY list_order ASC [ RunTime:0.011497s ]
[ SQL ] SHOW COLUMNS FROM `cmf_slide_item` [ RunTime:0.011858s ]
[ SQL ] SELECT `si`.*,`s`.`category_id` FROM `cmf_slide_item` `si` LEFT JOIN `cmf_slide` `s` ON `s`.`id`=`si`.`slide_id` WHERE `s`.`category_id` = 4 AND `si`.`status` = 1 AND `si`.`device` = 'pc' ORDER BY `si`.`id` DESC LIMIT 1 [ RunTime:0.012105s ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_category` [ RunTime:0.011950s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 4 [ RunTime:0.011785s ]
[ SQL ] SELECT `path` FROM `cmf_portal_category` WHERE `id` = 4 LIMIT 1 [ RunTime:0.011446s ]
[ SQL ] SELECT `id` FROM `cmf_portal_category` WHERE `path` LIKE '0-4%' [ RunTime:0.011479s ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.012042s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `cmf_portal_post` `a` INNER JOIN `cmf_user` `u` ON `a`.`user_id`=`u`.`id` INNER JOIN `cmf_portal_category_post` `b` ON `a`.`id`=`b`.`post_id` LEFT JOIN `cmf_portal_category` `pc` ON `pc`.`id`=`b`.`category_id` LEFT JOIN `cmf_hospital_category` `h` ON `a`.`hospital_category_id`=`h`.`id` WHERE `a`.`create_time` >= 0 AND `a`.`delete_time` = 0 AND `b`.`category_id` IN ('4') AND `a`.`post_type` = 1 LIMIT 1 [ RunTime:0.011680s ]
[ SQL ] SELECT `a`.*,`b`.`list_order`,`b`.`category_id`,pc.parent_id AS pid,`u`.`user_login`,`u`.`user_nickname`,`u`.`user_email`,h.name AS hospital_category_name FROM `cmf_portal_post` `a` INNER JOIN `cmf_user` `u` ON `a`.`user_id`=`u`.`id` INNER JOIN `cmf_portal_category_post` `b` ON `a`.`id`=`b`.`post_id` LEFT JOIN `cmf_portal_category` `pc` ON `pc`.`id`=`b`.`category_id` LEFT JOIN `cmf_hospital_category` `h` ON `a`.`hospital_category_id`=`h`.`id` WHERE `a`.`create_time` >= 0 AND `a`.`delete_time` = 0 AND `b`.`category_id` IN ('4') AND `a`.`post_type` = 1 ORDER BY `list_order` DESC,`update_time` DESC LIMIT 0,10 [ RunTime:0.013120s ]
[ SQL ] SHOW COLUMNS FROM `cmf_option` [ RunTime:0.011768s ]
[ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.012030s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 4 LIMIT 1 [ RunTime:0.011707s ]
[ SQL ] SHOW COLUMNS FROM `cmf_theme_file` [ RunTime:0.011854s ]
[ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'haiwaiguahao' AND ( `is_public` = 1 OR `file` = 'portal/news' ) [ RunTime:0.011544s ]