Page Time: 0.0538s

Memory: 9.0692 MB (Peak: 10.4865 MB)

Queries (15, time: 0.0074s, 13.8%)

  1. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'deferredRun', 'simpleCache', 'addOns', 'defaultStyleProperties', 'routeFiltersIn', 'routeFiltersOut', 'routesPublic', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'userBanners', 'smilies', 'bbCode', 'threadPrefixes', 'userTitleLadder', 'reportCounts', 'moderationCounts', 'userModerationCounts', 'notices', 'userFieldsInfo')
    Run Time: 0.001089
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 26Using where
  2. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: moods
    Run Time: 0.000148
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  3. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000106
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  4. SELECT node.*, forum.*
    	,
    	permission.cache_value AS node_permission_cache,
    		NULL AS forum_read_date,
    		0 AS forum_is_watched
    FROM xf_forum AS forum
    INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
    
    	LEFT JOIN xf_permission_cache_content AS permission
    		ON (permission.permission_combination_id = 1
    			AND permission.content_type = 'node'
    			AND permission.content_id = forum.node_id)
    WHERE node.node_id = ?
    Params: 76
    Run Time: 0.000740
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  5. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: dark_postrating_ratings
    Run Time: 0.000113
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  6. SELECT COUNT(*)
    FROM xf_thread AS thread
    
    	LEFT JOIN xf_user_privacy AS privacy ON
    		(privacy.user_id = thread.user_id)
    WHERE (thread.node_id = 76) AND (thread.sticky = 0) AND (thread.discussion_state IN ('visible'))
    Run Time: 0.000305
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrefnode_id_last_post_date,node_id_sticky_state_last_postnode_id_last_post_date4const1Using where
    SIMPLEprivacyeq_refPRIMARYPRIMARY4forum.thread.user_id1Using index
  7. SELECT thread.*
    	,
    	user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
    	last_post_user.gender AS last_post_gender,
    	last_post_user.avatar_date AS last_post_avatar_date,
    	last_post_user.gravatar AS last_post_gravatar,
    	IF(last_post_user.username IS NULL, thread.last_post_username, last_post_user.username) AS last_post_username,
    	forum.*,
    	forum.last_post_id AS forum_last_post_id,
    	forum.last_post_date AS forum_last_post_date,
    	forum.last_post_user_id AS forum_last_post_user_id,
    	forum.last_post_username AS forum_last_post_username,
    	forum.last_thread_title AS forum_last_thread_title,
    	thread.last_post_id,
    	thread.last_post_date,
    	thread.last_post_user_id,
    	thread.last_post_username,
    	NULL AS thread_read_date,
    	0 AS thread_is_watched,
    	0 AS user_post_count,
    	pr_cache.rating_cache,
    	IF(rate.count IS NULL, 0, rate.count) AS thread_rate_count, IF(rate.sum IS NULL, 0, rate.sum) AS thread_rate_sum, IF(rate.avg IS NULL, 0, rate.avg) AS thread_rate_avg, post.likes, post.like_users, 0 AS like_date,
    privacy.snog_flag_view
    FROM xf_thread AS thread 
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = thread.user_id)
    	LEFT JOIN xf_user AS last_post_user ON
    		(last_post_user.user_id = thread.last_post_user_id)
    	LEFT JOIN xf_forum AS forum ON
    		(forum.node_id = thread.node_id)
    	left join dark_postrating_post_cache pr_cache ON (thread.first_post_id = pr_cache.post_id)
    	LEFT JOIN tr_thread_rate AS rate ON (rate.thread_id = thread.thread_id)LEFT JOIN xf_post AS post ON (post.post_id = thread.first_post_id)
    LEFT JOIN xf_user_privacy AS privacy ON
    	(privacy.user_id = thread.user_id)
    WHERE (thread.node_id = 76) AND (thread.sticky = 0) AND (thread.discussion_state IN ('visible'))
    ORDER BY thread.last_post_date DESC
     LIMIT 20
    Run Time: 0.000920
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrefnode_id_last_post_date,node_id_sticky_state_last_postnode_id_last_post_date4const1Using where
    SIMPLEusereq_refPRIMARYPRIMARY4forum.thread.user_id1 
    SIMPLElast_post_usereq_refPRIMARYPRIMARY4forum.thread.last_post_user_id1 
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheeq_refPRIMARYPRIMARY4forum.thread.first_post_id1 
    SIMPLErateeq_refPRIMARYPRIMARY4forum.thread.thread_id1 
    SIMPLEposteq_refPRIMARYPRIMARY4forum.thread.first_post_id1 
    SIMPLEprivacyeq_refPRIMARYPRIMARY4forum.thread.user_id1 
  8. SELECT thread.*
    	,
    	user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
    	last_post_user.gender AS last_post_gender,
    	last_post_user.avatar_date AS last_post_avatar_date,
    	last_post_user.gravatar AS last_post_gravatar,
    	IF(last_post_user.username IS NULL, thread.last_post_username, last_post_user.username) AS last_post_username,
    	forum.*,
    	forum.last_post_id AS forum_last_post_id,
    	forum.last_post_date AS forum_last_post_date,
    	forum.last_post_user_id AS forum_last_post_user_id,
    	forum.last_post_username AS forum_last_post_username,
    	forum.last_thread_title AS forum_last_thread_title,
    	thread.last_post_id,
    	thread.last_post_date,
    	thread.last_post_user_id,
    	thread.last_post_username,
    	NULL AS thread_read_date,
    	0 AS thread_is_watched,
    	0 AS user_post_count,
    	pr_cache.rating_cache,
    	IF(rate.count IS NULL, 0, rate.count) AS thread_rate_count, IF(rate.sum IS NULL, 0, rate.sum) AS thread_rate_sum, IF(rate.avg IS NULL, 0, rate.avg) AS thread_rate_avg, post.likes, post.like_users, 0 AS like_date,
    privacy.snog_flag_view
    FROM xf_thread AS thread 
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = thread.user_id)
    	LEFT JOIN xf_user AS last_post_user ON
    		(last_post_user.user_id = thread.last_post_user_id)
    	LEFT JOIN xf_forum AS forum ON
    		(forum.node_id = thread.node_id)
    	left join dark_postrating_post_cache pr_cache ON (thread.first_post_id = pr_cache.post_id)
    	LEFT JOIN tr_thread_rate AS rate ON (rate.thread_id = thread.thread_id)LEFT JOIN xf_post AS post ON (post.post_id = thread.first_post_id)
    LEFT JOIN xf_user_privacy AS privacy ON
    	(privacy.user_id = thread.user_id)
    WHERE (thread.node_id = 76) AND (thread.sticky = 1) AND (thread.discussion_state IN ('visible'))
    ORDER BY thread.last_post_date DESC
    Run Time: 0.000841
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrefnode_id_last_post_date,node_id_sticky_state_last_postnode_id_last_post_date4const1Using where
    SIMPLEusereq_refPRIMARYPRIMARY4forum.thread.user_id1 
    SIMPLElast_post_usereq_refPRIMARYPRIMARY4forum.thread.last_post_user_id1 
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheeq_refPRIMARYPRIMARY4forum.thread.first_post_id1 
    SIMPLErateeq_refPRIMARYPRIMARY4forum.thread.thread_id1 
    SIMPLEposteq_refPRIMARYPRIMARY4forum.thread.first_post_id1 
    SIMPLEprivacyeq_refPRIMARYPRIMARY4forum.thread.user_id1 
  9. SELECT *
    FROM xf_node
    WHERE lft > ? AND rgt < ?
    	 AND display_in_list = 1
    ORDER BY lft ASC
    Params: 170, 177
    Run Time: 0.000750
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_noderefdisplay_in_list,lftdisplay_in_list1const71Using where
  10. SELECT content_id, cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = 'node'
    Params: 1
    Run Time: 0.000307
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentrefPRIMARYPRIMARY31const,const131Using where
  11. SELECT forum.*
    	,
    		NULL AS forum_read_date
    FROM xf_forum AS forum
    INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
    
    WHERE forum.node_id IN (62, 61, 93)
    Run Time: 0.000378
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnoderangePRIMARYPRIMARY4 3Using where; Using index
    SIMPLEforumeq_refPRIMARYPRIMARY4forum.node.node_id1 
  12. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 5b83cb085a36e8e707ae2dde3ccc2ce9, , 1594819208
    Run Time: 0.000199
  13.             INSERT INTO xf_sv_user_activity 
                (content_type, content_id, `blob`, `timestamp`) 
                VALUES 
                  (?,?,?,?)
                 ON DUPLICATE KEY UPDATE `timestamp` = values(`timestamp`)
    Params: node, 76, 0 1 3.236.15.142, 1594815600
    Run Time: 0.000833
  14. INSERT INTO xf_session_activity
    	(user_id, unique_key, ip, controller_name, controller_action, view_state, params, view_date, robot_key)
    VALUES
    	(?, ?, ?, ?, ?, ?, ?, ?, ?)
    ON DUPLICATE KEY UPDATE
    	ip = VALUES(ip),
    	controller_name = VALUES(controller_name),
    	controller_action = VALUES(controller_action),
    	view_state = VALUES(view_state),
    	params = VALUES(params),
    	view_date = VALUES(view_date),
    	robot_key = VALUES(robot_key)
    Params: 0, , , XenForo_ControllerPublic_Forum, Forum, valid, node_id=76, 1594815608,
    Run Time: 0.000116
  15. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'profile_view_count', 'xfc_notepad_sidebar', 'node_forum_level_2', 'thread_list_item', 'th_forum_list_thumbnail_thumbnails', 'th_thread_list_avatar_replace_thumbnails', 'th_thread_list_thumbnail_thumbnails', 'th_thread_list_avatar_last_post_avatar', 'forum_view', 'dark_postrating', 'dark_postrating_member', 'dark_postrating_member_totals', 'message_user_info_extra', 'user_criteria_content', 'thread_list_item_icon_key', 'dark_postrating_member_notable_tabs', 'dark_postrating_account_wrapper', 'dark_postrating_navigation_visitor_tab', 'dark_postrating_visitor_panel', 'dark_postrating_member_card', 'dark_postrating_member_info', 'dark_postrating_message_user_info', 'siropu_chat', 'siropu_chat_disabled', 'threadrating_rate', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 1
    Run Time: 0.000591
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 27Using where

Included Files (175, XenForo Classes: 58)

  1. index.php
  2. library/XenForo/Autoloader.php
  3. library/XenForo/Application.php
  4. library/Zend/Registry.php
  5. library/Lgpl/utf8.php
  6. library/Zend/Config.php
  7. library/config.php
  8. library/XenForo/FrontController.php
  9. library/XenForo/Dependencies/Public.php
  10. library/XenForo/Dependencies/Abstract.php
  11. library/Zend/Controller/Request/Http.php
  12. library/Zend/Controller/Request/Abstract.php
  13. library/Zend/Uri.php
  14. library/Zend/Controller/Response/Http.php
  15. library/Zend/Controller/Response/Abstract.php
  16. library/XenForo/Model/DataRegistry.php
  17. library/XenForo/Model.php
  18. library/Zend/Db.php
  19. library/Zend/Db/Adapter/Mysqli.php
  20. library/Zend/Db/Adapter/Abstract.php
  21. library/Zend/Db/Select.php
  22. library/Zend/Db/Expr.php
  23. library/Zend/Db/Profiler.php
  24. library/Zend/Db/Statement/Mysqli.php
  25. library/Zend/Db/Statement.php
  26. library/Zend/Db/Statement/Interface.php
  27. library/Zend/Db/Profiler/Query.php
  28. library/XenForo/CodeEvent.php
  29. library/XenForo/Options.php
  30. library/XenForo/Link.php
  31. library/XenForo/Template/Helper/Core.php
  32. library/ChipXF/MobileSwitcher/Listener.php
  33. library/ChipXF/MobileSwitcher/Detecter.php
  34. library/XenForo/Visitor.php
  35. library/ThemeHouse/Listener/InitDependencies.php
  36. library/ThemeHouse/Listener/InitDependencies/20170101.php
  37. library/ThemeHouse/Listener/ControllerPreDispatch/20150911.php
  38. library/XenMoods/Listener/InitDependencies.php
  39. library/Tinhte/XenTag/Listener.php
  40. library/SK/MarkThreadRead/Listeners.php
  41. library/XenMoods/Listener/LoadClassModel.php
  42. library/NixFifty/TrashCan/Listener/Listen.php
  43. library/TilkiBey/ThreadCount/Listener.php
  44. library/Dark/PostRating/EventListener.php
  45. library/Siropu/Chat/Listener.php
  46. library/MobileRead/ProfileBbCode/Listener/InitDependencies.php
  47. library/Snog/CountryFlags/Listener/Dependencies.php
  48. library/XenForo/Router.php
  49. library/XenForo/Route/Filter.php
  50. library/XenForo/Route/Interface.php
  51. library/XenForo/Route/ResponseSuffix.php
  52. library/XenForo/Route/Prefix.php
  53. library/XenForo/Route/Prefix/Forums.php
  54. library/XenForo/RouteMatch.php
  55. library/XenForo/ControllerPublic/Forum.php
  56. library/XenForo/ControllerPublic/Abstract.php
  57. library/XenForo/Controller.php
  58. library/ThemeHouse/Thumbnails/Listener/LoadClass.php
  59. library/ThemeHouse/Listener/LoadClass.php
  60. library/ThemeHouse/Listener/LoadClass/20150518.php
  61. library/ThreadRating/Listener/Class.php
  62. library/Vinavb/CustomNodeIcon/Listener.php
  63. library/Awedo/PostAreas/Listener/LoadClassController.php
  64. library/ProfileViewCount/Listener.php
  65. library/ConversationPost/Listener.php
  66. library/XFCrowd/NotePad/Listener.php
  67. library/Snog/CountryFlags/Listener/Forum.php
  68. library/Andy/Statistics/Listener.php
  69. library/Andy/SimilarThreads/Listener.php
  70. library/rellect/LikesSummary/Listener/Proxy.php
  71. library/Andy/NewThreadLimit/Listener.php
  72. library/Andy/RandomThread/Listener.php
  73. library/SV/UserActivity/Listener.php
  74. library/ThemeHouse/Thumbnails/Extend/XenForo/ControllerPublic/Forum.php
  75. library/ThreadRating/ControllerPublic/Forum.php
  76. library/TilkiBey/ThreadCount/Extends/ControllerPublic/Forum.php
  77. library/Snog/CountryFlags/ControllerPublic/Forum.php
  78. library/Andy/Statistics/ControllerPublic/Forum.php
  79. library/Andy/SimilarThreads/ControllerPublic/Forum.php
  80. library/rellect/LikesSummary/XenForo/ControllerPublic/Forum.php
  81. library/Andy/NewThreadLimit/ControllerPublic/Forum.php
  82. library/Andy/RandomThread/ControllerPublic/Forum.php
  83. library/SV/UserActivity/XenForo/ControllerPublic/Forum.php
  84. library/SV/UserActivity/UserActivityInjector.php
  85. library/SV/UserActivity/UserCountActivityInjector.php
  86. library/XenForo/Input.php
  87. library/XenForo/Session.php
  88. library/XenForo/Helper/Ip.php
  89. library/XenForo/Model/User.php
  90. library/SV/ReportImprovements/Listener.php
  91. library/XenMoods/XFCP/Model/User.php
  92. library/TilkiBey/ThreadCount/Extends/Model/User.php
  93. library/Dark/PostRating/Model/User.php
  94. library/SV/UserActivity/XenForo/Model/User.php
  95. library/SV/ReportImprovements/XenForo/Model/User.php
  96. library/XenForo/Permission.php
  97. library/XenForo/Helper/Php.php
  98. library/XenForo/Phrase.php
  99. library/XenForo/Locale.php
  100. library/Snog/CountryFlags/Listener/Visitor.php
  101. library/Snog/CountryFlags/Listener/Includes/Reader.php
  102. library/Snog/CountryFlags/Listener/Includes/Reader/Decoder.php
  103. library/Snog/CountryFlags/Listener/Includes/Reader/InvalidDatabaseException.php
  104. library/Snog/CountryFlags/Listener/Includes/Reader/Metadata.php
  105. library/Snog/CountryFlags/Listener/Includes/Reader/Util.php
  106. library/SV/UserActivity/Model.php
  107. library/XenForo/Model/Report.php
  108. library/SV/ReportImprovements/XenForo/Model/Report.php
  109. library/XenForo/ControllerResponse/Reroute.php
  110. library/XenForo/ControllerResponse/Abstract.php
  111. library/XenForo/ControllerHelper/ForumThreadPost.php
  112. library/XenForo/ControllerHelper/Abstract.php
  113. library/XenForo/Model/Forum.php
  114. library/Tinhte/XenTag/XenForo/Model/Forum.php
  115. library/SV/ReportImprovements/XenForo/Model/Forum.php
  116. library/Tinhte/XenTag/Constants.php
  117. library/Tinhte/XenTag/Helper.php
  118. library/XenForo/Model/Thread.php
  119. library/SV/TitleEditHistory/Listener.php
  120. library/Snog/CountryFlags/Listener/Thread.php
  121. library/SV/TitleEditHistory/XenForo/Model/Thread.php
  122. library/Tinhte/XenTag/XenForo/Model/Thread.php
  123. library/Dark/PostRating/Model/Thread.php
  124. library/ThreadRating/Model/Thread.php
  125. library/rellect/LikesSummary/XenForo/Model/Thread.php
  126. library/Snog/CountryFlags/Model/Thread.php
  127. library/SV/ReportImprovements/XenForo/Model/Thread.php
  128. library/Dark/PostRating/Model.php
  129. library/XenForo/Model/Node.php
  130. library/ThemeHouse/Thumbnails/Extend/XenForo/Model/Node.php
  131. library/XenForo/NodeHandler/Forum.php
  132. library/XenForo/NodeHandler/Abstract.php
  133. library/XenForo/Helper/String.php
  134. library/XenForo/Route/Prefix/Categories.php
  135. library/XenForo/ControllerResponse/View.php
  136. library/ThemeHouse/Thumbnails/Model/Thumbnails.php
  137. library/XenForo/Model/Post.php
  138. library/Snog/CountryFlags/Listener/Post.php
  139. library/Dark/PostRating/Model/Post.php
  140. library/XenForo/Helper/Cookie.php
  141. library/XenForo/ViewRenderer/HtmlPublic.php
  142. library/XenForo/ViewRenderer/Abstract.php
  143. library/XenForo/Template/Public.php
  144. library/XenForo/Template/Abstract.php
  145. library/XenMoods/Listener/FrontControllerPreView.php
  146. library/XenMoods/Model/Mood.php
  147. library/XenForo/ViewPublic/Forum/View.php
  148. library/XenForo/ViewPublic/Base.php
  149. library/XenForo/View.php
  150. library/XenForo/ViewPublic/Helper/Node.php
  151. library/ThemeHouse/Thumbnails/Listener/TemplateCreate.php
  152. library/ThemeHouse/Listener/TemplateCreate.php
  153. library/ThemeHouse/Listener/TemplateCreate/20150106.php
  154. library/AddonsLab/OriginalPosterHighlight/Listener/TemplateCreate.php
  155. library/AddonsLab/OriginalPosterHighlight/Abstract/Listener/TemplateCreate.php
  156. library/XenForo/Route/Prefix/Members.php
  157. library/Siropu/Chat/Helper.php
  158. library/ThreadRating/Listener/Template.php
  159. library/Sedo/ToggleME/Listener.php
  160. library/ThemeHouse/Thumbnails/Listener/TemplateHook.php
  161. library/ThemeHouse/Listener/TemplateHook.php
  162. library/ThemeHouse/Listener/TemplateHook/20150106.php
  163. library/ThemeHouse/Listener/Template.php
  164. library/ThemeHouse/Listener/Template/20150106.php
  165. library/XenMoods/Listener/TemplateHook.php
  166. library/XenForo/Route/Prefix/Posts.php
  167. library/ThemeHouse/Thumbnails/Listener/TemplatePostRender.php
  168. library/ThemeHouse/Listener/TemplatePostRender.php
  169. library/ThemeHouse/Listener/TemplatePostRender/20150106.php
  170. library/XenForo/Helper/Criteria.php
  171. library/XenForo/Debug.php
  172. library/Siropu/Chat/HelperDevice.php
  173. library/Siropu/Chat/ThirdParty/Mobile_Detect.php
  174. library/XenForo/ViewRenderer/Json.php
  175. library/Vinavb/CustomNodeIcon/Icon.php