Page Time: 0.2506s

Memory: 11.9338 MB (Peak: 17.7661 MB)

Queries (13, time: 0.0223s, 8.9%)

  1. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000168
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  2. 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: 10
    Run Time: 0.000337
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  3. SELECT COUNT(*)
    FROM xf_thread AS thread
    
    WHERE (thread.node_id = 10) AND (thread.sticky = 0) AND (thread.discussion_state IN ('visible'))
    Run Time: 0.000196
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrefnode_id_last_post_date,node_id_sticky_state_last_postnode_id_sticky_state_last_post6const,const,const208Using where; Using index
  4. SELECT thread.*
    	,
    	user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
    	node.title AS node_title, node.node_name,
    	post.message, post.attach_count,
    	deletion_log.delete_date, deletion_log.delete_reason,
    	deletion_log.delete_user_id, deletion_log.delete_username,
    	NULL AS thread_read_date,
    	0 AS thread_is_watched,
    	0 AS user_post_count,
    	uix_last_post_user.avatar_date AS uix_last_post_user_avatar_date,
    	uix_last_post_user.username AS uix_last_post_user_username,
    	uix_last_post_user.avatar_width AS uix_last_post_user_avatar_width,
    	uix_last_post_user.avatar_height AS uix_last_post_user_avatar_height,
    	uix_last_post_user.gravatar AS uix_last_post_user_gravatar,
    	uix_last_post_user.gender AS uix_last_post_user_gender,
    	uix_last_post_user.is_banned AS uix_last_post_user_is_banned, (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 1) as dark_postrating_1_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 14) as dark_postrating_14_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 2) as dark_postrating_2_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 3) as dark_postrating_3_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 4) as dark_postrating_4_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 5) as dark_postrating_5_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 6) as dark_postrating_6_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 7) as dark_postrating_7_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 8) as dark_postrating_8_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 9) as dark_postrating_9_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 10) as dark_postrating_10_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 11) as dark_postrating_11_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 12) as dark_postrating_12_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 13) as dark_postrating_13_count, 1 as dark_postrating_has_fetched_max
    
    FROM xf_thread AS thread 
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = thread.user_id)
    	LEFT JOIN xf_node AS node ON
    		(node.node_id = thread.node_id)
    	LEFT JOIN xf_post AS post ON
    		(post.post_id = thread.first_post_id)
    	LEFT JOIN xf_deletion_log AS deletion_log ON
    		(deletion_log.content_type = 'thread' AND deletion_log.content_id = thread.thread_id)LEFT JOIN xf_user AS uix_last_post_user ON (uix_last_post_user.user_id = thread.last_post_user_id)
    WHERE (thread.node_id = 10) AND (thread.sticky = 0) AND (thread.discussion_state IN ('visible'))
    ORDER BY thread.last_post_date DESC
     LIMIT 20 OFFSET 40
    Run Time: 0.007193
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYthreadrefnode_id_last_post_date,node_id_sticky_state_last_postnode_id_sticky_state_last_post6const,const,const208Using where
    PRIMARYusereq_refPRIMARYPRIMARY4viregfum_db.thread.user_id1 
    PRIMARYnodeconstPRIMARYPRIMARY4const1 
    PRIMARYposteq_refPRIMARYPRIMARY4viregfum_db.thread.first_post_id1 
    PRIMARYdeletion_logeq_refPRIMARYPRIMARY31const,viregfum_db.thread.thread_id1Using where
    PRIMARYuix_last_post_usereq_refPRIMARYPRIMARY4viregfum_db.thread.last_post_user_id1 
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8viregfum_db.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8viregfum_db.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8viregfum_db.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8viregfum_db.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8viregfum_db.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8viregfum_db.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8viregfum_db.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8viregfum_db.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8viregfum_db.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8viregfum_db.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8viregfum_db.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8viregfum_db.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8viregfum_db.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8viregfum_db.thread.first_post_id,const1Using index
  5. SELECT category.*
    	,
    	permission.cache_value AS category_permission_cache
    FROM xf_nflj_ams_category AS category
    
    	LEFT JOIN xf_permission_cache_content AS permission
    		ON (permission.permission_combination_id = 1
    			AND permission.content_type = 'ams_category'
    			AND permission.content_id = category.category_id)
    ORDER BY category.lft
    Run Time: 0.000334
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEcategoryALL    4Using filesort
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,viregfum_db.category.category_id1Using where
  6. 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=10&page=3, 1711633726,
    Run Time: 0.000233
  7. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: uix_nodeCache
    Run Time: 0.000231
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLE       Impossible WHERE noticed after reading const tables
  8. SELECT *
    FROM uix_node_layout
    Run Time: 0.000221
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuix_node_layoutALL    2 
  9. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: uix_nodeCache
    Run Time: 0.000216
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLE       Impossible WHERE noticed after reading const tables
  10. SELECT node.*,
    	node_field.uix_node_icons,
    	node_field.uix_styling,
    	node_field.collapsed,
    	node_field.inheritClass,
    	node_field.inheritStyling
    FROM xf_node AS node
    LEFT JOIN uix_node_fields AS node_field ON (node.node_id = node_field.node_id)
    Run Time: 0.000328
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnodeALL    105 
    SIMPLEnode_fieldeq_refPRIMARYPRIMARY4viregfum_db.node.node_id1 
  11. SELECT session_activity.*
    	,
    	user.*
    FROM xf_session_activity AS session_activity
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = session_activity.user_id)
    WHERE (session_activity.view_date > 1711631326)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.011670
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 508Using where
    SIMPLEusereq_refPRIMARYPRIMARY4viregfum_db.session_activity.user_id1 
  12. SELECT session_activity.*
    	,
    	user.*
    FROM xf_session_activity AS session_activity
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = session_activity.user_id)
    WHERE (session_activity.view_date > 1711631326)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.000989
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 508Using where
    SIMPLEusereq_refPRIMARYPRIMARY4viregfum_db.session_activity.user_id1 
  13. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('members_online_now', 'forum_statistics', 'wf_widget_threads_type_new')
    Params: 2
    Run Time: 0.000184
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledrangePRIMARYPRIMARY106 3Using where

Included Files (194, XenForo Classes: 62)

  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/CMF/Core/Autoloader.php
  9. library/CMF/Core/Listener.php
  10. library/XenForo/CodeEvent.php
  11. library/XenForo/FrontController.php
  12. library/XenForo/Dependencies/Public.php
  13. library/XenForo/Dependencies/Abstract.php
  14. library/Zend/Controller/Request/Http.php
  15. library/Zend/Controller/Request/Abstract.php
  16. library/Zend/Uri.php
  17. library/Zend/Controller/Response/Http.php
  18. library/Zend/Controller/Response/Abstract.php
  19. library/XenForo/Model/DataRegistry.php
  20. library/XenForo/Model.php
  21. library/Zend/Cache.php
  22. library/Zend/Cache/Backend/Memcached.php
  23. library/Zend/Cache/Backend/ExtendedInterface.php
  24. library/Zend/Cache/Backend/Interface.php
  25. library/Zend/Cache/Backend.php
  26. library/Zend/Cache/Core.php
  27. library/CMF/Core/Application.php
  28. library/RD/Tweak/Listener.php
  29. library/XenForo/Options.php
  30. library/XenForo/Link.php
  31. library/XenForo/Template/Helper/Core.php
  32. library/XenResource/Listener/Proxy.php
  33. library/NodesAsTabs/Listen.php
  34. library/WidgetFramework/Listener.php
  35. library/WidgetFramework/Option.php
  36. library/NFLJ/AMS/Listener/Proxy.php
  37. library/NFLJ/RMS/Listener/Proxy.php
  38. library/Audentio/UIX/Listener/CodeEvent.php
  39. library/Audentio/UIX/vendor/autoload.php
  40. library/Audentio/UIX/vendor/composer/autoload_real.php
  41. library/Audentio/UIX/vendor/composer/ClassLoader.php
  42. library/Audentio/UIX/vendor/composer/autoload_namespaces.php
  43. library/Audentio/UIX/vendor/composer/autoload_psr4.php
  44. library/Audentio/UIX/vendor/composer/autoload_classmap.php
  45. library/XenForo/Router.php
  46. library/XenForo/Route/Filter.php
  47. library/XenForo/Route/Interface.php
  48. library/XenForo/Route/ResponseSuffix.php
  49. library/XenForo/Route/Prefix.php
  50. library/WidgetFramework/Route/Filter/PageX.php
  51. library/XenForo/Route/Prefix/Forums.php
  52. library/XenForo/RouteMatch.php
  53. library/XenForo/ControllerPublic/Forum.php
  54. library/XenForo/ControllerPublic/Abstract.php
  55. library/XenForo/Controller.php
  56. library/DoublePost/Listener/LoadClassController.php
  57. library/XI/Tag/CodeEvent/Listener.php
  58. library/Dark/PostRating/EventListener.php
  59. library/StickyFirstPost/Listener.php
  60. library/Audentio/UIX/ControllerPublic/Forum.php
  61. library/RD/Tweak/ControllerPublic/Extend/Forum.php
  62. library/NodesAsTabs/ControllerPublic/Forum.php
  63. library/WidgetFramework/XenForo/ControllerPublic/Forum.php
  64. library/StickyFirstPost/ControllerPublic/Forum.php
  65. library/NFLJ/AMS/XenForo/ControllerPublic/Forum.php
  66. library/NFLJ/RMS/XenForo/ControllerPublic/Forum.php
  67. library/XenForo/Input.php
  68. library/XenForo/Session.php
  69. library/Zend/Db.php
  70. library/Zend/Db/Adapter/Mysqli.php
  71. library/Zend/Db/Adapter/Abstract.php
  72. library/Zend/Db/Select.php
  73. library/Zend/Db/Expr.php
  74. library/Zend/Db/Profiler.php
  75. library/Zend/Db/Statement/Mysqli.php
  76. library/Zend/Db/Statement.php
  77. library/Zend/Db/Statement/Interface.php
  78. library/XenForo/Helper/Ip.php
  79. library/XenForo/Visitor.php
  80. library/XenForo/Model/User.php
  81. library/DoublePost/Listener/LoadClassModel.php
  82. library/XenForo/Model/Import.php
  83. library/RastaLulz/LoggedInCookie/Listener/LoadClass.php
  84. library/Audentio/UIX/Model/User.php
  85. library/Dark/PostRating/Model/User.php
  86. library/WidgetFramework/XenForo/Model/User.php
  87. library/XenResource/Listener/Proxy/ModelUser.php
  88. library/RastaLulz/LoggedInCookie/Model/User.php
  89. library/NFLJ/AMS/XenForo/Model/User.php
  90. library/NFLJ/RMS/XenForo/Model/User.php
  91. library/Zend/Db/Profiler/Query.php
  92. library/XenForo/Permission.php
  93. library/XenForo/Helper/Php.php
  94. library/XenForo/Phrase.php
  95. library/XenForo/Locale.php
  96. library/RastaLulz/LoggedInCookie/Listener/VisitorSetup.php
  97. library/XenForo/Helper/Cookie.php
  98. library/DigitalPointAdPositioning/Listener/ControllerPreDispatch.php
  99. library/NFLJ/AMS/Model/Article.php
  100. library/NFLJ/RMS/Model/Item.php
  101. library/WidgetFramework/Helper/Index.php
  102. library/XenForo/ControllerResponse/Reroute.php
  103. library/XenForo/ControllerResponse/Abstract.php
  104. library/NodesAsTabs/API.php
  105. library/NodesAsTabs/Model/Options.php
  106. library/DigitalPointAdPositioning/Listener/ControllerPostDispatch.php
  107. library/XenForo/ControllerHelper/ForumThreadPost.php
  108. library/XenForo/ControllerHelper/Abstract.php
  109. library/XenForo/Model/Forum.php
  110. library/CMF/Core/Model/Forum.php
  111. library/StickyFirstPost/Model/Forum.php
  112. library/XenForo/Model/Node.php
  113. library/Audentio/UIX/Model/Node.php
  114. library/CMF/Core/Model/Node.php
  115. library/XenForo/Model/Thread.php
  116. library/Audentio/UIX/Model/Thread.php
  117. library/CMF/Core/Model/Thread.php
  118. library/RD/Tweak/Model/Extend/Thread.php
  119. library/Dark/PostRating/Model/Thread.php
  120. library/WidgetFramework/XenForo/Model/Thread.php
  121. library/StickyFirstPost/Model/Thread.php
  122. library/NFLJ/AMS/XenForo/Model/Thread.php
  123. library/NFLJ/RMS/XenForo/Model/Thread.php
  124. library/Dark/PostRating/Model.php
  125. library/CMF/Core/Model/DataRegistry.php
  126. library/XenForo/Helper/String.php
  127. library/XenForo/Helper/Discussion.php
  128. library/XenForo/Route/Prefix/Categories.php
  129. library/XenForo/ControllerResponse/View.php
  130. library/NFLJ/AMS/Model/Category.php
  131. library/XenForo/ViewRenderer/HtmlPublic.php
  132. library/XenForo/ViewRenderer/Abstract.php
  133. library/XenForo/Template/Public.php
  134. library/XenForo/Template/Abstract.php
  135. library/WidgetFramework/Core.php
  136. library/XenForo/Model/Moderator.php
  137. library/XenResource/Listener/Proxy/ModelModerator.php
  138. library/NFLJ/AMS/XenForo/Model/Moderator.php
  139. library/NFLJ/RMS/XenForo/Model/Moderator.php
  140. library/NFLJ/RMS/Listener/WidgetFramework.php
  141. library/NFLJ/AMS/Listener/WidgetFramework.php
  142. library/WidgetFramework/Model/Widget.php
  143. library/WidgetFramework/Helper/Sort.php
  144. library/WidgetFramework/WidgetRenderer.php
  145. library/XenForo/ViewPublic/Forum/View.php
  146. library/XenForo/ViewPublic/Base.php
  147. library/XenForo/View.php
  148. library/WidgetFramework/XenForo/View1.php
  149. library/XenForo/ViewPublic/Helper/Node.php
  150. library/XenResource/Listener/Template.php
  151. library/DoublePost/Listener/Hook.php
  152. library/WidgetFramework/WidgetRenderer/OnlineStaff.php
  153. library/WidgetFramework/WidgetRenderer/OnlineUsers.php
  154. library/WidgetFramework/WidgetRenderer/Stats.php
  155. library/WidgetFramework/WidgetRenderer/ShareThisPage.php
  156. library/WidgetFramework/WidgetRenderer/Threads.php
  157. library/WidgetFramework/Model/Cache.php
  158. library/NFLJ/AMS/Listener/Template.php
  159. library/Audentio/UIX/Model/NodeLayout.php
  160. library/NFLJ/RMS/Listener/Template.php
  161. library/XenForo/Route/Prefix/Members.php
  162. library/NodesAsTabs/NavTabs.php
  163. library/XenForo/Route/Prefix/LinkForums.php
  164. library/WidgetFramework/Template/Extended.php
  165. library/XenForo/Model/StyleProperty.php
  166. library/NFLJ/AMS/Listener/Criteria.php
  167. library/NFLJ/RMS/Listener/Criteria.php
  168. library/XenForo/Template/FileHandler.php
  169. library/XenForo/Helper/File.php
  170. internal_data/templates/S.12,L.2,forum_view.php
  171. internal_data/templates/S.12,L.2,page_nav.php
  172. library/XenForo/Model/Avatar.php
  173. internal_data/templates/S.12,L.2,dark_postrating_thread_icon.php
  174. library/XenForo/Route/Prefix/Threads.php
  175. library/XenForo/Model/Session.php
  176. library/Dark/PostRating/Model/Session.php
  177. internal_data/templates/S.12,L.2,wf_widget_online_staff.php
  178. library/Zend/Exception.php
  179. internal_data/templates/S.12,L.2,wf_widget_online_users.php
  180. library/WidgetFramework/Helper/String.php
  181. internal_data/templates/S.12,L.2,wf_widget_stats.php
  182. internal_data/templates/S.12,L.2,wf_widget_share_page.php
  183. library/WidgetFramework/WidgetRenderer/Empty.php
  184. internal_data/templates/S.12,L.2,wf_widget_wrapper.php
  185. library/XenForo/Debug.php
  186. internal_data/templates/S.12,L.2,PAGE_CONTAINER.php
  187. library/Audentio/UIX/Template/Helper/CanvasNavigation.php
  188. internal_data/templates/S.12,L.2,resources_tab_links.php
  189. internal_data/templates/S.12,L.2,nflj_ams_tab_links.php
  190. internal_data/templates/S.12,L.2,nflj_rms_tab_links.php
  191. internal_data/templates/S.12,L.2,navigation.php
  192. library/XenForo/ViewRenderer/Json.php
  193. internal_data/templates/S.12,L.2,SFP_js_first_post.php
  194. internal_data/templates/S.12,L.2,nat_bodyjs.php