Page Time: 0.1024s

Memory: 8.3921 MB (Peak: 11.1811 MB)

Queries (13, time: 0.0049s, 4.8%)

  1. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'deferredRun', 'simpleCache', 'addOns', 'defaultStyleProperties', 'routesPublic', 'routeFiltersIn', 'routeFiltersOut', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'userBanners', 'smilies', 'bbCode', 'threadPrefixes', 'trophyUserTitles', 'reportCounts', 'moderationCounts', 'userModerationCounts', 'notices', 'userFieldsInfo')
    Run Time: 0.000490
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 26Using where
  2. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000110
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: dark_postrating_ratings
    Run Time: 0.000084
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  4. SELECT thread.*
    	,
    		user.gender, user.avatar_date, user.gravatar,
    		NULL AS thread_read_date,
    		0 AS thread_is_watched,
    		'' AS draft_message, NULL AS draft_extra
    FROM xf_thread AS thread
    
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = thread.user_id)
    WHERE thread.thread_id = ?
    Params: 85978
    Run Time: 0.000200
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
  5. SELECT node.*, forum.*
    	,
    	permission.cache_value AS node_permission_cache,
    		NULL AS forum_read_date
    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: 2
    Run Time: 0.000224
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  6. SELECT post.*
    	,
    		user.*, IF(user.username IS NULL, post.username, user.username) AS username,
    		user_profile.*,
    		user_option.*,
    		0 AS like_date,
    pr2.rating, 
    	pr.*, post.post_id, session.view_date
    FROM xf_post AS post
    
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = post.user_id)
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = post.user_id)
    		LEFT JOIN xf_user_option AS user_option ON
    			(user_option.user_id = post.user_id)
    LEFT JOIN dark_postrating pr2 ON (post.post_id = pr2.post_id and pr2.user_id = 0)
    LEFT JOIN (
    select 
    pivot_pr.post_id
    , sum(case when pivot_pr.rating = 1 then 1 else 0 end) dark_postrating_1_count
    , sum(case when pivot_pr.rating = 14 then 1 else 0 end) dark_postrating_14_count
    , sum(case when pivot_pr.rating = 2 then 1 else 0 end) dark_postrating_2_count
    , sum(case when pivot_pr.rating = 3 then 1 else 0 end) dark_postrating_3_count
    , sum(case when pivot_pr.rating = 4 then 1 else 0 end) dark_postrating_4_count
    , sum(case when pivot_pr.rating = 5 then 1 else 0 end) dark_postrating_5_count
    , sum(case when pivot_pr.rating = 6 then 1 else 0 end) dark_postrating_6_count
    , sum(case when pivot_pr.rating = 7 then 1 else 0 end) dark_postrating_7_count
    , sum(case when pivot_pr.rating = 8 then 1 else 0 end) dark_postrating_8_count
    , sum(case when pivot_pr.rating = 9 then 1 else 0 end) dark_postrating_9_count
    , sum(case when pivot_pr.rating = 10 then 1 else 0 end) dark_postrating_10_count
    , sum(case when pivot_pr.rating = 11 then 1 else 0 end) dark_postrating_11_count
    , sum(case when pivot_pr.rating = 12 then 1 else 0 end) dark_postrating_12_count
    
    		
    from dark_postrating pivot_pr 
    use index (`post_id_rating`)
    left join xf_post pivot_post on (pivot_pr.post_id = pivot_post.post_id)
    where pivot_post.thread_id = 85978
    group by pivot_pr.post_id
    ) pr on (pr.post_id = post.post_id)
    
    LEFT OUTER JOIN xf_session_activity AS session ON post.user_id = session.user_id
    WHERE post.thread_id = ?
    	 AND (post.position >= 50 AND post.position < 60) 
    	AND (post.message_state IN ('visible'))
    ORDER BY post.position ASC, post.post_date ASC
    Params: 85978
    Run Time: 0.001726
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARY<derived2>system    0const row not found
    PRIMARYpostrangethread_id_post_date,thread_id_positionthread_id_position8 9Using where; Using temporary; Using filesort
    PRIMARYusereq_refPRIMARYPRIMARY4jfuqua_xenforo.post.user_id1 
    PRIMARYuser_profileeq_refPRIMARYPRIMARY4jfuqua_xenforo.post.user_id1 
    PRIMARYuser_optioneq_refPRIMARYPRIMARY4jfuqua_xenforo.post.user_id1 
    PRIMARYpr2eq_refpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8jfuqua_xenforo.post.post_id,const1 
    PRIMARYsessionALLPRIMARY   306 
    DERIVEDpivot_postrefPRIMARY,thread_id_post_date,thread_id_positionthread_id_position4 216Using where; Using index; Using temporary; Using filesort
    DERIVEDpivot_prrefpost_id_ratingpost_id_rating4jfuqua_xenforo.pivot_post.post_id1Using index
  7. SELECT `user_id`, `position`
     	FROM `xf_post`
     	WHERE `thread_id` = ?
    ORDER BY `position` ASC
    Params: 85978
    Run Time: 0.000427
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_postrefthread_id_post_date,thread_id_positionthread_id_position4const216Using where
  8. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 85978
    Run Time: 0.000065
  9. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 1596d57d61ccc6bf6bec5902fa3cc7d5, a:8:{s:12:"sessionStart";i:1414791228;s:2:"ip";s:4:"6WK3";s:11:"sessionCsrf";s:16:"0vOb_HiMV5aurJLw";s:9:"userAgent";s:39:"CCBot/2.0 (http://commoncrawl.org/faq/)";s:7:"robotId";s:0:"";s:16:"previousActivity";i:0;s:10:"isIpBanned";a:2:{s:6:"result";b:0;s:7:"version";i:1409095036;}s:15:"isIpDiscouraged";a:2:{s:6:"result";b:0;s:7:"version";i:1409095036;}}, 1414794828
    Run Time: 0.000094
  10. 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, 6WK3, 6WK3, XenForo_ControllerPublic_Thread, Index, valid, thread_id=85978&page=6, 1414791228,
    Run Time: 0.000058
  11. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('offline')
    Params: 1
    Run Time: 0.000113
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY106const,const1 
  12. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('wfc__1_thread_view')
    Run Time: 0.000116
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  13. SELECT session_activity.*
    	,
    	user.*,
    	user_profile.*,
    	user_option.*
    FROM xf_session_activity AS session_activity
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = session_activity.user_id)
    	LEFT JOIN xf_user_profile AS user_profile ON
    		(user_profile.user_id = user.user_id)
    	LEFT JOIN xf_user_option AS user_option ON
    		(user_option.user_id = user.user_id)
    WHERE (session_activity.view_date > 1414787628)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.001220
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 211Using where
    SIMPLEusereq_refPRIMARYPRIMARY4jfuqua_xenforo.session_activity.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4jfuqua_xenforo.user.user_id1 
    SIMPLEuser_optioneq_refPRIMARYPRIMARY4jfuqua_xenforo.user.user_id1 

Included Files (184, XenForo Classes: 65)

  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/Waindigo/Listener/InitDependencies.php
  33. library/Waindigo/Listener/InitDependencies/20140401.php
  34. library/Waindigo/Listener/ControllerPreDispatch/20140326.php
  35. library/NFLJ/Sportsbook/Listener/Proxy.php
  36. library/WidgetFramework/Listener.php
  37. library/WidgetFramework/Option.php
  38. library/NodesAsTabs/Listen.php
  39. library/bdTagMe/Listener.php
  40. library/bdTagMe/Helper/Template.php
  41. library/bdBank/Listeners.php
  42. library/bdBank/Exception.php
  43. library/Zend/Exception.php
  44. library/bdBank/Model/Bank.php
  45. library/Dark/PostRating/EventListener.php
  46. library/bdPaygate/Listener.php
  47. library/RegFormTimer/Listener.php
  48. library/Asp/OnlineStatus/Plugin/Plugin.php
  49. library/FhTools/SigOnce/EventListener/LoadClassModel.php
  50. library/XenForo/CacheRebuilder/Abstract.php
  51. library/XenForo/Router.php
  52. library/XenForo/Route/Filter.php
  53. library/XenForo/Route/Interface.php
  54. library/XenForo/Route/ResponseSuffix.php
  55. library/XenForo/Route/Prefix.php
  56. library/WidgetFramework/Route/Filter/PageX.php
  57. library/XenForo/Route/Prefix/Threads.php
  58. library/XenForo/RouteMatch.php
  59. library/XenForo/ControllerPublic/Thread.php
  60. library/XenForo/ControllerPublic/Abstract.php
  61. library/XenForo/Controller.php
  62. library/AddPoll/Listener.php
  63. library/Sedo/MobileStyleSelector/Listener/ControllerPublic.php
  64. library/DigitalPointAdPositioning/Listener/LoadClassControllerPublic/Thread.php
  65. library/Andy/SimilarThreads/Listener.php
  66. library/AddPoll/ControllerPublic/Thread.php
  67. library/WidgetFramework/XenForo/ControllerPublic/Thread.php
  68. library/NodesAsTabs/ControllerPublic/Thread.php
  69. library/bdBank/XenForo/ControllerPublic/Thread.php
  70. library/DigitalPointAdPositioning/ControllerPublic/Thread.php
  71. library/Andy/SimilarThreads/ControllerPublic/Thread.php
  72. library/XenForo/Input.php
  73. library/XenForo/Session.php
  74. library/XenForo/Helper/Ip.php
  75. library/XenForo/Visitor.php
  76. library/XenForo/Model/User.php
  77. library/NFLJ/Survivor/Listener/Proxy.php
  78. library/NFLJ/Pickem/Listener/Proxy.php
  79. library/WidgetFramework/XenForo/Model/User.php
  80. library/Dark/PostRating/Model/User.php
  81. library/bdTagMe/XenForo/Model/User.php
  82. library/XenForo/Permission.php
  83. library/XenForo/Phrase.php
  84. library/XenForo/Locale.php
  85. library/Sedo/MobileStyleSelector/Listener/Visitor.php
  86. library/DigitalPointAdPositioning/Listener/ControllerPreDispatch.php
  87. library/Sedo/MobileStyleSelector/Listener/ControllerPreDispatch.php
  88. library/GritterNotifications/Listener.php
  89. library/XenForo/ControllerHelper/ForumThreadPost.php
  90. library/XenForo/ControllerHelper/Abstract.php
  91. library/XenForo/Model/Thread.php
  92. library/Waindigo/MasterForums/Listener/LoadClass.php
  93. library/Waindigo/Listener/LoadClass.php
  94. library/Waindigo/Listener/LoadClass/20131003.php
  95. library/Waindigo/MasterForums/Extend/XenForo/Model/Thread.php
  96. library/WidgetFramework/XenForo/Model/Thread.php
  97. library/Dark/PostRating/Model/Thread.php
  98. library/bdBank/XenForo/Model/Thread.php
  99. library/Dark/PostRating/Model.php
  100. library/XenForo/Model/Forum.php
  101. library/XenForo/Helper/String.php
  102. library/XenForo/Helper/Discussion.php
  103. library/XenForo/Model/Post.php
  104. library/Dark/PostRating/Model/Post.php
  105. library/Asp/OnlineStatus/Model/AspPost.php
  106. library/FhTools/SigOnce/Model/Post.php
  107. library/XenForo/Model/Attachment.php
  108. library/bdBank/XenForo/Model/Attachment.php
  109. library/XenForo/Model/Node.php
  110. library/XenForo/Route/Prefix/Categories.php
  111. library/XenForo/Route/Prefix/Forums.php
  112. library/XenForo/ControllerResponse/View.php
  113. library/XenForo/ControllerResponse/Abstract.php
  114. library/XenForo/Helper/Cookie.php
  115. library/NodesAsTabs/API.php
  116. library/NodesAsTabs/Model/Options.php
  117. library/DigitalPointAdPositioning/Listener/ControllerPostDispatch.php
  118. library/NFLJ/Sportsbook/Listener/Template.php
  119. library/XenForo/ViewRenderer/HtmlPublic.php
  120. library/XenForo/ViewRenderer/Abstract.php
  121. library/XenForo/Template/Public.php
  122. library/XenForo/Template/Abstract.php
  123. library/WidgetFramework/Core.php
  124. library/XenForo/Model/Moderator.php
  125. library/NFLJ/Survivor/Listener/Proxy/ModelModerator.php
  126. library/NFLJ/Sportsbook/Listener/Proxy/ModelModerator.php
  127. library/NFLJ/Pickem/Listener/Proxy/ModelModerator.php
  128. library/NFLJ/Sportsbook/Listener/WidgetFramework.php
  129. library/NFLJ/Pickem/Listener/WidgetFramework.php
  130. library/WidgetFramework/Model/Widget.php
  131. library/WidgetFramework/Helper/Sort.php
  132. library/WidgetFramework/WidgetRenderer.php
  133. library/XenForo/ViewPublic/Thread/View.php
  134. library/XenForo/ViewPublic/Base.php
  135. library/XenForo/View.php
  136. library/DigitalPointAdPositioning/Listener/LoadClassViewPublic/Thread.php
  137. library/WidgetFramework/XenForo/View1.php
  138. library/DigitalPointAdPositioning/ViewPublic/Thread/View.php
  139. library/XenForo/BbCode/Parser.php
  140. library/XenForo/BbCode/Formatter/Base.php
  141. library/WidgetFramework/XenForo/BbCode/Formatter/Base.php
  142. library/bdTagMe/XenForo/BbCode/Formatter/Base.php
  143. library/XenForo/ViewPublic/Helper/Message.php
  144. library/XenForo/BbCode/TextWrapper.php
  145. library/NFLJ/Survivor/Listener/Template.php
  146. library/WidgetFramework/WidgetRenderer/Empty.php
  147. library/WidgetFramework/WidgetRenderer/Threads.php
  148. library/WidgetFramework/Model/Cache.php
  149. library/WidgetFramework/WidgetRenderer/HtmlWithoutWrapper.php
  150. library/WidgetFramework/WidgetRenderer/Html.php
  151. library/WidgetFramework/WidgetRenderer/OnlineUsers.php
  152. library/NFLJ/Sportsbook/WidgetRenderer/RecentWinners.php
  153. library/NFLJ/Pickem/Listener/Template.php
  154. library/XenForo/Route/Prefix/Members.php
  155. library/bdTagMe/XenForo/Route/Prefix/Members.php
  156. library/NodesAsTabs/NavTabs.php
  157. library/WidgetFramework/Template/Extended.php
  158. library/XenForo/Template/FileHandler.php
  159. library/XenForo/Helper/File.php
  160. internal_data/templates/S.6,L.1,thread_view.php
  161. library/AddPoll/Model/Poll.php
  162. internal_data/templates/S.6,L.1,poll_create_controls.php
  163. internal_data/templates/S.6,L.1,page_nav.php
  164. library/XenForo/Route/Prefix/Posts.php
  165. library/XenForo/Model/Avatar.php
  166. library/XenForo/Model/Session.php
  167. library/Dark/PostRating/Model/Session.php
  168. internal_data/templates/S.6,L.1,RT_UserOnlineRibbon.php
  169. internal_data/templates/S.6,L.1,dark_postrating_message_user_info.php
  170. internal_data/templates/S.6,L.1,bdbank_message_user_info_extra.php
  171. internal_data/templates/S.6,L.1,dark_postrating.php
  172. library/DigitalPointAdPositioning/Callback/AdBelowPost.php
  173. internal_data/templates/S.6,L.1,bb_code_tag_quote.php
  174. library/WidgetFramework/Helper/String.php
  175. internal_data/templates/S.6,L.1,wf_widget_online_users.php
  176. internal_data/templates/S.6,L.1,wf_widget_wrapper.php
  177. library/XenForo/Helper/Criteria.php
  178. library/XenForo/Debug.php
  179. internal_data/templates/S.6,L.1,PAGE_CONTAINER.php
  180. library/GritterNotifications/Template/Callback.php
  181. library/GritterNotifications/Model/Notification.php
  182. internal_data/templates/S.6,L.1,GritterNotifications.php
  183. library/XenForo/ViewRenderer/Json.php
  184. internal_data/templates/S.6,L.1,nat_bodyjs.php