SHOW FULL COLUMNS FROM `szsfox_picture` [ RunTime:0.006320s ]
UPDATE `szsfox_picture` SET `hits` = `hits` + 1 WHERE `id` = 31 [ RunTime:0.004133s ]
SELECT `picture`.*,`picture_data`.* FROM `szsfox_picture` `picture` LEFT JOIN `szsfox_picture_data` `picture_data` ON `picture`.`id`=`picture_data`.`did` WHERE `catid` = 19 AND `id` = 31 LIMIT 1 [ RunTime:0.000774s ]
SELECT * FROM `szsfox_picture` WHERE ( `catid` = 19 AND `status` = 1 AND `id` < 31 ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000824s ]
SELECT * FROM `szsfox_picture` WHERE ( `catid` = 19 AND `status` = 1 AND `id` > 31 ) LIMIT 1 [ RunTime:0.000825s ]
SHOW FULL COLUMNS FROM `szsfox_cms_tags` [ RunTime:0.008460s ]
SELECT `id` FROM `szsfox_cms_tags` WHERE `tag` = '网站设计' LIMIT 1 [ RunTime:0.000358s ]
SELECT `id` FROM `szsfox_cms_tags` WHERE `tag` = '广告设计' LIMIT 1 [ RunTime:0.000386s ]
SELECT `id` FROM `szsfox_cms_tags` WHERE `tag` = '网站程序' LIMIT 1 [ RunTime:0.000445s ]
SELECT * FROM `szsfox_picture` WHERE ( id>=(SELECT FLOOR( MAX(id) * RAND()) from szsfox_article) AND `status`=1 AND `catid` in(19,20,21,8) ) ORDER BY `listorder` ASC LIMIT 0,5 [ RunTime:0.001376s ]
SELECT * FROM `szsfox_picture` WHERE ( id>=(SELECT FLOOR( MAX(id) * RAND()) from szsfox_article) AND `status`=1 AND `catid` in(19,20,21,8) ) ORDER BY `listorder` ASC LIMIT 0,5 [ RunTime:0.001416s ]
SELECT * FROM `szsfox_picture` WHERE ( id>=(SELECT FLOOR( MAX(id) * RAND()) from szsfox_article) AND `status`=1 AND `catid` in(19,20,21,8) ) ORDER BY `listorder` ASC LIMIT 0,10 [ RunTime:0.001446s ]