5
Now, when I switch theme to default, it adds these specific queries:
--------------------
SELECT b.* FROM xoops_newblocks b, xoops_block_module_link m WHERE m.block_id=b.bid AND b.isactive=1 AND b.visible=1 AND m.module_id IN (0,3,-1) AND b.bid IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16) ORDER BY b.weight,b.bid
SELECT COUNT(*) FROM xoops_priv_msgs WHERE (read_msg = 0 AND to_userid = 1)
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'alter' AND tpl_file = 'system_block_user.html') ORDER BY tpl_refid
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'alter' AND tpl_file = 'system_block_user.html') ORDER BY tpl_refid
SELECT * FROM xoops_modules WHERE (hasmain = 1 AND isactive = 1 AND weight > 0) ORDER BY weight ASC, mid ASC
SELECT * FROM xoops_group_permission WHERE (gperm_name = 'module_read' AND gperm_modid = 1 AND (gperm_groupid = 1 OR gperm_groupid = 2))
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'alter' AND tpl_file = 'system_block_mainmenu.html') ORDER BY tpl_refid
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'alter' AND tpl_file = 'system_block_mainmenu.html') ORDER BY tpl_refid
SELECT topic_id, topic_title FROM xoops_topics WHERE topic_pid=0 ORDER BY topic_title
SELECT * FROM xoops_topics WHERE topic_pid=1
SELECT * FROM xoops_stories WHERE published > 0 AND published <= 1088541671 AND (expired = 0 OR expired > 1088541671) AND ihome=0 ORDER BY published DESC LIMIT 0, 5
SELECT * FROM xoops_topics WHERE topic_id=1
SELECT * FROM xoops_users WHERE uid=1
SELECT * FROM xoops_smiles
SELECT COUNT(*) FROM xoops_stories WHERE published > 0 AND published <= 1088541671 AND (expired = 0 OR expired > 1088541671) AND ihome=0
SELECT * FROM xoops_xoopsnotifications WHERE (not_modid = 3 AND not_category = 'global' AND not_uid = 1) ORDER BY not_id ASC
SELECT * FROM xoops_config WHERE (conf_modid = 3) ORDER BY conf_order ASC
SELECT * FROM xoops_modules WHERE mid = 3
SELECT * FROM xoops_config WHERE (conf_modid = 3) ORDER BY conf_order ASC
SELECT * FROM xoops_config WHERE (conf_modid = 3) ORDER BY conf_order ASC
SELECT * FROM xoops_config WHERE (conf_modid = 3) ORDER BY conf_order ASC
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'alter' AND tpl_file = 'news_index.html') ORDER BY tpl_refid
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'alter' AND tpl_file = 'news_index.html') ORDER BY tpl_refid
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'alter' AND tpl_file = 'news_item.html') ORDER BY tpl_refid
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'alter' AND tpl_file = 'news_item.html') ORDER BY tpl_refid
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'alter' AND tpl_file = 'system_notification_select.html') ORDER BY tpl_refid
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'alter' AND tpl_file = 'system_notification_select.html') ORDER BY tpl_refid
-----------------------