Page Time: 0.0772s

Memory: 5.1699 MB (Peak: 6.5205 MB)

Queries (10, time: 0.0065s, 8.5%)

  1. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000263
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  2. SELECT thread.*
    	,
    		user.gender, user.avatar_date, user.gravatar,
    		NULL AS thread_read_date,
    		0 AS thread_reply_banned,
    		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: 8510
    Run Time: 0.000728
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
  3. 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: 22
    Run Time: 0.000608
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  4. SELECT post.*
    	,
    		user.*, IF(user.username IS NULL, post.username, user.username) AS username,
    		user_profile.*,
    		user_privacy.*,
    		session_activity.view_date AS last_view_date,
    		0 AS like_date, (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = post.post_id and pr.rating = 1) as dark_postrating_1_count
    
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = post.post_id and pr.rating = 3) as dark_postrating_3_count
    
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = post.post_id and pr.rating = 4) as dark_postrating_4_count
    
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = post.post_id and pr.rating = 15) as dark_postrating_15_count
    
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = post.post_id and pr.rating = 20) as dark_postrating_20_count
    
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = post.post_id and pr.rating = 5) as dark_postrating_5_count
    
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = post.post_id and pr.rating = 6) as dark_postrating_6_count
    
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = post.post_id and pr.rating = 17) as dark_postrating_17_count
    
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = post.post_id and pr.rating = 18) as dark_postrating_18_count
    
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = post.post_id and pr.rating = 19) as dark_postrating_19_count
    
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = post.post_id and pr.rating = 16) as dark_postrating_16_count
    
    
    
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (1,4,15,20,5,6)) as positive_rating_count
    
    	
    
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (16)) as negative_rating_count
    
    	
    
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (3,17,18,19)) as neutral_rating_count
    
    	,
    
    pr2.rating
    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_privacy AS user_privacy ON
    			(user_privacy.user_id = post.user_id)
    		LEFT JOIN xf_session_activity AS session_activity ON
    			(post.user_id > 0 AND session_activity.user_id = post.user_id AND session_activity.unique_key = CAST(post.user_id AS BINARY))
    
    LEFT JOIN dark_postrating pr2 ON (post.post_id = pr2.post_id and pr2.user_id = 0)
    WHERE post.thread_id = ?
    	 AND (post.position >= 0 AND post.position < 20) 
    	AND (post.message_state IN ('visible'))
    ORDER BY post.position ASC, post.post_date ASC
    Params: 8510
    Run Time: 0.003423
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYpostrefthread_id_post_date,thread_id_positionthread_id_post_date4const2Using where; Using filesort
    PRIMARYusereq_refPRIMARYPRIMARY4reddead.post.user_id1 
    PRIMARYuser_profileeq_refPRIMARYPRIMARY4reddead.post.user_id1 
    PRIMARYuser_privacyeq_refPRIMARYPRIMARY4reddead.post.user_id1 
    PRIMARYsession_activityeq_refPRIMARYPRIMARY22reddead.post.user_id,func1 
    PRIMARYpr2eq_refpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8reddead.post.post_id,const1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4reddead.post.user_id1Using where
    DEPENDENT SUBQUERYdark_postrating_counteq_refuser_id_ratinguser_id_rating8reddead.post.user_id,const1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4reddead.post.user_id1Using where
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8reddead.post.post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8reddead.post.post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8reddead.post.post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8reddead.post.post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8reddead.post.post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8reddead.post.post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8reddead.post.post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8reddead.post.post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8reddead.post.post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8reddead.post.post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8reddead.post.post_id,const1Using index
  5. INSERT  INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 8510
    Run Time: 0.000149
  6. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 72fd3c0d9964431d2ba6f9b7f68de9b0, , 1566761749
    Run Time: 0.000304
  7. 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_Thread, Index, valid, thread_id=8510, 1566758149,
    Run Time: 0.000213
  8. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'bb_code_tag_spoiler', 'bdmedal_message_medals', 'thread_view', 'notice_cookies', 'wf_hook_moderator_bar', 'wf_revealer', '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', 'twitter_login_bar_item', 'twitter_navigation_visitor_tab_link', 'twitter_account_wrapper_sidebar_settings', 'bdmedal_navigation_tabs_help', 'usersmilies_navigation_visitor_tab_links', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 47, 1
    Run Time: 0.000522
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 31Using where
  9. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('arcade_post_champion_seal')
    	AND style_id = ?
    	AND language_id = ?
    Params: 47, 1
    Run Time: 0.000201
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  10. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('arcade_copyright')
    	AND style_id = ?
    	AND language_id = ?
    Params: 47, 1
    Run Time: 0.000131
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (147, XenForo Classes: 64)

  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/Cache.php
  19. library/Zend/Cache/Backend/File.php
  20. library/Zend/Cache/Backend/ExtendedInterface.php
  21. library/Zend/Cache/Backend/Interface.php
  22. library/Zend/Cache/Backend.php
  23. library/Zend/Cache/Core.php
  24. library/XenForo/CodeEvent.php
  25. library/XenForo/Options.php
  26. library/XenForo/Link.php
  27. library/XenForo/Template/Helper/Core.php
  28. library/WidgetFramework/Listener.php
  29. library/WidgetFramework/Core.php
  30. library/XenForo/Model/Moderator.php
  31. library/Dark/PostRating/EventListener.php
  32. library/bdMedal/Listener.php
  33. library/WidgetFramework/Model/Widget.php
  34. library/WidgetFramework/WidgetRenderer.php
  35. library/WidgetFramework/WidgetRenderer/Empty.php
  36. library/XenForo/Input.php
  37. library/WidgetFramework/WidgetRenderer/OnlineUsers.php
  38. library/WidgetFramework/WidgetRenderer/Stats.php
  39. library/WidgetFramework/WidgetRenderer/ShareThisPage.php
  40. library/WidgetFramework/WidgetRenderer/UsersFind.php
  41. library/WidgetFramework/WidgetRenderer/Users.php
  42. library/Arcade/Listener.php
  43. library/bdMails/Listener.php
  44. library/bdMails/Helper/Transport.php
  45. library/bdMails/Option.php
  46. library/bdMails/Transport/SendGrid.php
  47. library/bdMails/Transport/Abstract.php
  48. library/Zend/Mail/Transport/Abstract.php
  49. library/Zend/Mime.php
  50. library/XenForo/Mail.php
  51. library/Zend/Mail.php
  52. library/Zend/Mime/Message.php
  53. library/Zend/Mime/Part.php
  54. library/bdMails/ShippableHelper/Updater.php
  55. library/XenForo/Router.php
  56. library/XenForo/Route/Filter.php
  57. library/XenForo/Route/Interface.php
  58. library/XenForo/Route/ResponseSuffix.php
  59. library/XenForo/Route/Prefix.php
  60. library/XenForo/Route/Prefix/Threads.php
  61. library/XenForo/RouteMatch.php
  62. library/XenForo/ControllerPublic/Thread.php
  63. library/XenForo/ControllerPublic/Abstract.php
  64. library/XenForo/Controller.php
  65. library/AvatarGallery/Listener.php
  66. library/HideIpSadmin/EventListener/Post.php
  67. library/Twitter/Listener/Listener.php
  68. library/ConvMan/Listener/LoadClassController.php
  69. library/xFS/UserSmilies/Listener.php
  70. library/WidgetFramework/Extend/ControllerPublic/Thread.php
  71. library/XenForo/Session.php
  72. library/Zend/Db.php
  73. library/Zend/Db/Adapter/Mysqli.php
  74. library/Zend/Db/Adapter/Abstract.php
  75. library/Zend/Db/Select.php
  76. library/Zend/Db/Expr.php
  77. library/Zend/Db/Profiler.php
  78. library/Zend/Db/Statement/Mysqli.php
  79. library/Zend/Db/Statement.php
  80. library/Zend/Db/Statement/Interface.php
  81. library/XenForo/Helper/Ip.php
  82. library/XenForo/Visitor.php
  83. library/XenForo/Model/User.php
  84. library/WidgetFramework/Extend/Model/User.php
  85. library/Dark/PostRating/Model/User.php
  86. library/Zend/Db/Profiler/Query.php
  87. library/XenForo/Permission.php
  88. library/XenForo/Helper/Php.php
  89. library/XenForo/Phrase.php
  90. library/XenForo/Locale.php
  91. library/XenForo/ControllerHelper/ForumThreadPost.php
  92. library/XenForo/ControllerHelper/Abstract.php
  93. library/XenForo/Model/Thread.php
  94. library/WidgetFramework/Extend/Model/Thread.php
  95. library/Dark/PostRating/Model/Thread.php
  96. library/Dark/PostRating/Model.php
  97. library/XenForo/Model/Forum.php
  98. library/XenForo/Helper/String.php
  99. library/XenForo/Model/Post.php
  100. library/Dark/PostRating/Model/Post.php
  101. library/XenForo/Model/Attachment.php
  102. library/XenForo/Model/Node.php
  103. library/XenForo/Route/Prefix/Categories.php
  104. library/XenForo/Route/Prefix/Forums.php
  105. library/XenForo/ControllerResponse/View.php
  106. library/XenForo/ControllerResponse/Abstract.php
  107. library/XenForo/Helper/Cookie.php
  108. library/XenForo/ViewRenderer/HtmlPublic.php
  109. library/XenForo/ViewRenderer/Abstract.php
  110. library/XenForo/Template/Public.php
  111. library/XenForo/Template/Abstract.php
  112. library/XenForo/ViewPublic/Thread/View.php
  113. library/XenForo/ViewPublic/Base.php
  114. library/XenForo/View.php
  115. library/xFS/UserSmilies/XenForo/ViewPublic/Thread/View.php
  116. library/xFS/UserSmilies/Helper.php
  117. library/XenForo/BbCode/Parser.php
  118. library/XenForo/BbCode/Formatter/Base.php
  119. library/Spoiler/listener.php
  120. library/xFS/UserSmilies/XenForo/BbCode/Formatter/Base.php
  121. library/Spoiler/formatter.php
  122. library/XenForo/ViewPublic/Helper/Message.php
  123. library/XenForo/BbCode/TextWrapper.php
  124. library/XfRu/UserAlbums/EventListener/Template.php
  125. library/XenForo/Route/Prefix/Members.php
  126. library/XfRu/UserAlbums/EventListener/Tab.php
  127. library/XfRu/UserAlbums/Permissions.php
  128. library/XenForo/Route/Prefix/Tags.php
  129. library/WidgetFramework/Option.php
  130. library/CrazYimProfileLinks/Listener.php
  131. library/ModUnread/Listeners/ModBarListener.php
  132. library/ProfileTabManager/Listener.php
  133. library/ConvMan/Listener/Hook.php
  134. library/GFNCoders/TitleManipulator/Listener.php
  135. library/OXY/RstarLB/Listener.php
  136. library/Arcade/Template/Hook.php
  137. library/XenForo/Route/Prefix/Posts.php
  138. library/XenForo/Model/Avatar.php
  139. library/xFS/UserSmilies/Option.php
  140. library/xFS/UserSmilies/Model/Smilie.php
  141. library/bdMedal/Model/Medal.php
  142. library/bdMedal/DataWriter/Medal.php
  143. library/XenForo/DataWriter.php
  144. library/bdMedal/Option.php
  145. library/XenForo/Helper/Criteria.php
  146. library/XenForo/Debug.php
  147. library/XenForo/ViewRenderer/Json.php