Page Time: 0.1535s

Memory: 6.4361 MB (Peak: 7.8730 MB)

Queries (17, time: 0.0058s, 3.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.000732
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 26Using where
  2. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('brListenerClasses', 'brBriviumAddOns')
    Run Time: 0.000080
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 2Using where
  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 data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: dark_postrating_ratings
    Run Time: 0.000089
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  5. SELECT user.*
    	,
    		user_profile.*,
    		user_option.*,
    		user_privacy.*,
    		0 AS following_0
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,14,2,3,4,5)) as positive_rating_count
    
    		, (user.like_count + coalesce((select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,14,2,3,4,5)), 0)) as positive_rating_count_incl_likes
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (7,8,9,10,11,12)) as negative_rating_count
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (13)) as neutral_rating_count
    
    ,(select sum(count_received) from dark_postrating_count where user_id = user.user_id) as total_rating_count
    
    FROM xf_user AS user
    
    		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)
    		LEFT JOIN xf_user_privacy AS user_privacy ON
    			(user_privacy.user_id = user.user_id)
    WHERE user.user_id = ?
    Params: 60
    Run Time: 0.001103
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_optionconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4const9 
    SUBQUERYdark_postrating_countconstuser_id_ratinguser_id_rating8const,const1 
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 6Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 6Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 6Using index condition
  6. SELECT
    	user.*,
    	user_profile.*,
    	user_privacy.*,
    	news_feed.*
    FROM xf_news_feed AS news_feed 
    INNER JOIN xf_user AS user ON
    	(user.user_id = news_feed.user_id)
    INNER JOIN xf_user_profile AS user_profile ON
    	(user_profile.user_id = user.user_id)
    LEFT JOIN xf_user_follow AS user_follow ON
    	(user_follow.user_id = user.user_id
    	AND user_follow.follow_user_id = 0)
    INNER JOIN xf_user_privacy AS user_privacy ON
    	(user_privacy.user_id = user.user_id
    		
    			AND (user.user_id = 0
    				OR (
    					user_privacy.allow_receive_news_feed <> 'none'
    					AND IF(user_privacy.allow_receive_news_feed = 'members', 0, 1)
    					AND IF(user_privacy.allow_receive_news_feed = 'followed', user_follow.user_id IS NOT NULL, 1)
    				)
    			)
    		
    	)
    WHERE (news_feed.user_id = 60)
    ORDER BY news_feed.event_date DESC
     LIMIT 15
    Run Time: 0.000730
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEuser_profileconstPRIMARYPRIMARY4const1 
    SIMPLEuser_followconstPRIMARY,follow_user_idPRIMARY8const,const0unique row not found
    SIMPLEuser_privacyconstPRIMARYPRIMARY4const1 
    SIMPLEnews_feedrefuserId_eventDateuserId_eventDate4const2Using where
  7. SELECT
    	post.*
    	,
    		thread.*, thread.user_id AS thread_user_id, thread.username AS thread_username,
    		thread.post_date AS thread_post_date,
    		post.user_id, post.username, post.post_date,
    		node.title AS node_title, node.node_name,
    	permission.cache_value AS node_permission_cache,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    		INNER JOIN xf_thread AS thread ON
    			(thread.thread_id = post.thread_id)
    		INNER JOIN xf_node AS node ON
    			(node.node_id = thread.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 = thread.node_id)
    left join dark_postrating_post_cache pr_cache ON (post.post_id = pr_cache.post_id)
    left join dark_postrating pr2 on (post.post_id = pr2.post_id and pr2.user_id = 0)
    WHERE post.post_id IN (90054)
    Run Time: 0.000566
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARY,thread_id_post_date,thread_id_positionPRIMARY4const1 
    SIMPLEthreadconstPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const1 
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  8. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (90054)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000323
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const5Using index condition; Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1 
  9. SELECT
    	post.*
    	,
    		thread.*, thread.user_id AS thread_user_id, thread.username AS thread_username,
    		thread.post_date AS thread_post_date,
    		post.user_id, post.username, post.post_date,
    		node.title AS node_title, node.node_name,
    	permission.cache_value AS node_permission_cache,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    		INNER JOIN xf_thread AS thread ON
    			(thread.thread_id = post.thread_id)
    		INNER JOIN xf_node AS node ON
    			(node.node_id = thread.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 = thread.node_id)
    left join dark_postrating_post_cache pr_cache ON (post.post_id = pr_cache.post_id)
    left join dark_postrating pr2 on (post.post_id = pr2.post_id and pr2.user_id = 0)
    WHERE post.post_id IN (90055)
    Run Time: 0.000550
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARY,thread_id_post_date,thread_id_positionPRIMARY4const1 
    SIMPLEthreadconstPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  10. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (90055)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000297
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const7Using index condition; Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1 
  11. SELECT rating
    FROM dark_postrating
    WHERE post_id = ? and user_id = ?
    Params: 90054, 60
    Run Time: 0.000145
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEdark_postratingconstpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const1 
  12. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 1ece13065a6cf25663e749b4170fb56b, , 1713602480
    Run Time: 0.000161
  13. 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_Member, RecentActivity, valid, user_id=60, 1713598880,
    Run Time: 0.000096
  14. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'xengallery_bb_code_tag_gallery', 'news_feed_item_postrating_rate', 'news_feed_item_post_like', 'member_recent_activity', 'notice_cookies', 'oxy_news_nav_tab', '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', 'xengallery_comments_block', 'xengallery_media_block_items', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 14, 2
    Run Time: 0.000582
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 23Using where
  15. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('MMOCS_my_buys')
    Params: 2
    Run Time: 0.000078
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY106const,const1 
  16. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('notices')
    	AND style_id = ?
    	AND language_id = ?
    Params: 14, 2
    Run Time: 0.000094
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  17. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('wf_widget_wrapper')
    	AND style_id = ?
    	AND language_id = ?
    Params: 14, 2
    Run Time: 0.000084
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (149, XenForo Classes: 59)

  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/ThemeHouse/Listener/InitDependencies.php
  33. library/ThemeHouse/Listener/InitDependencies/20151202.php
  34. library/ThemeHouse/Listener/ControllerPreDispatch/20150911.php
  35. library/XenGallery/Listener.php
  36. library/Snog/CountryFlags/Listener/Dependencies.php
  37. library/Brivium/BriviumHelper/EventListeners.php
  38. library/Brivium/BriviumHelper/1010071/EventListeners.php
  39. library/Dark/PostRating/EventListener.php
  40. library/HDJuegos/WaterMarkAdd/Listener.php
  41. library/bdMedal/Listener.php
  42. library/Esthetic/CS/Listener/Model.php
  43. library/WidgetFramework/Listener.php
  44. library/WidgetFramework/Option.php
  45. library/Nobita/AvatarAlive/Listener.php
  46. library/XenForo/Router.php
  47. library/XenForo/Route/Filter.php
  48. library/XenForo/Route/Interface.php
  49. library/XenForo/Route/ResponseSuffix.php
  50. library/XenForo/Route/Prefix.php
  51. library/XenForo/Route/Prefix/Members.php
  52. library/XenForo/RouteMatch.php
  53. library/XenForo/ControllerPublic/Member.php
  54. library/XenForo/ControllerPublic/Abstract.php
  55. library/XenForo/Controller.php
  56. library/Esthetic/CS/Listener/Controller.php
  57. library/Dark/PostRating/ControllerPublic/Member.php
  58. library/bdMedal/Extend/ControllerPublic/Member.php
  59. library/Esthetic/CS/ControllerPublic/Member.php
  60. library/XenGallery/ControllerPublic/Member.php
  61. library/XenForo/Input.php
  62. library/XenForo/Session.php
  63. library/XenForo/Helper/Ip.php
  64. library/XenForo/Visitor.php
  65. library/XenForo/Model/User.php
  66. library/Dark/PostRating/Model/User.php
  67. library/Esthetic/CS/Model/User.php
  68. library/XenGallery/Model/User.php
  69. library/XenForo/Permission.php
  70. library/XenForo/Helper/Php.php
  71. library/XenForo/Phrase.php
  72. library/XenForo/Locale.php
  73. library/Snog/CountryFlags/Listener/Visitor.php
  74. library/Snog/CountryFlags/Listener/Includes/Reader.php
  75. library/Snog/CountryFlags/Listener/Includes/Reader/Decoder.php
  76. library/Snog/CountryFlags/Listener/Includes/Reader/InvalidDatabaseException.php
  77. library/Snog/CountryFlags/Listener/Includes/Reader/Metadata.php
  78. library/Snog/CountryFlags/Listener/Includes/Reader/Util.php
  79. library/XenForo/ControllerHelper/UserProfile.php
  80. library/XenForo/ControllerHelper/Abstract.php
  81. library/Dark/PostRating/Model.php
  82. library/XenForo/Model/UserProfile.php
  83. library/XenForo/Model/NewsFeed.php
  84. library/Dark/PostRating/Model/NewsFeed.php
  85. library/Dark/PostRating/NewsFeedHandler.php
  86. library/XenForo/NewsFeedHandler/DiscussionMessage/Post.php
  87. library/XenForo/NewsFeedHandler/DiscussionMessage.php
  88. library/XenForo/NewsFeedHandler/Abstract.php
  89. library/XenForo/Model/Post.php
  90. library/Snog/CountryFlags/Listener/Post.php
  91. library/Dark/PostRating/Model/Post.php
  92. library/XenForo/Model/Thread.php
  93. library/Snog/CountryFlags/Listener/Thread.php
  94. library/Dark/PostRating/Model/Thread.php
  95. library/Esthetic/CS/Model/Thread.php
  96. library/Snog/CountryFlags/Model/Thread.php
  97. library/XenForo/Model/Attachment.php
  98. library/ThemeHouse/Thumbnails/Listener/LoadClass.php
  99. library/ThemeHouse/Listener/LoadClass.php
  100. library/ThemeHouse/Listener/LoadClass/20150518.php
  101. library/ThemeHouse/Thumbnails/Extend/XenForo/Model/Attachment.php
  102. library/XenForo/Route/Prefix/Attachments.php
  103. library/XenForo/Model/Forum.php
  104. library/LiamW/StickyFirstPost/Listener.php
  105. library/Esthetic/CS/Model/Forum.php
  106. library/LiamW/StickyFirstPost/Extend/Model/Forum.php
  107. library/XenForo/Helper/String.php
  108. library/XenForo/ControllerResponse/View.php
  109. library/XenForo/ControllerResponse/Abstract.php
  110. library/XenForo/Helper/Cookie.php
  111. library/XenForo/ViewRenderer/HtmlPublic.php
  112. library/XenForo/ViewRenderer/Abstract.php
  113. library/XenForo/Template/Public.php
  114. library/XenForo/Template/Abstract.php
  115. library/WidgetFramework/Core.php
  116. library/XenForo/Model/Moderator.php
  117. library/WhoHasVisited/Listener.php
  118. library/WidgetFramework/Model/Widget.php
  119. library/WidgetFramework/Helper/Sort.php
  120. library/XenForo/ViewPublic/Member/RecentActivity.php
  121. library/XenForo/ViewPublic/Base.php
  122. library/XenForo/View.php
  123. library/Esthetic/CS/Listener/View.php
  124. library/XenForo/ViewPublic/Helper/NewsFeed.php
  125. library/ThemeHouse/Thumbnails/Listener/TemplateCreate.php
  126. library/ThemeHouse/Listener/TemplateCreate.php
  127. library/ThemeHouse/Listener/TemplateCreate/20150106.php
  128. library/SvgRadioRecord/RadioRecordNavigation.php
  129. library/Esthetic/CS/Listener/Navigation.php
  130. library/OXY/News/Listener.php
  131. library/bdMedal/Option.php
  132. library/WidgetFramework/Template/Extended.php
  133. library/XenForo/Route/Prefix/Posts.php
  134. library/XenForo/Route/Prefix/Threads.php
  135. library/ThemesCorp/Slider/Listener.php
  136. library/ThemeHouse/Thumbnails/Listener/TemplatePostRender.php
  137. library/ThemeHouse/Listener/TemplatePostRender.php
  138. library/ThemeHouse/Listener/TemplatePostRender/20150106.php
  139. library/ThemeHouse/Listener/Template.php
  140. library/ThemeHouse/Listener/Template/20150106.php
  141. library/Esthetic/CS/Listener/PostRender.php
  142. library/Nobita/AvatarAlive/Avatar.php
  143. library/XenForo/Debug.php
  144. library/YoutubeVideo/Listener/Listener.php
  145. library/ThemeHouse/Thumbnails/Listener/TemplateHook.php
  146. library/ThemeHouse/Listener/TemplateHook.php
  147. library/ThemeHouse/Listener/TemplateHook/20150106.php
  148. library/Esthetic/CS/Listener/Hook.php
  149. library/XenForo/ViewRenderer/Json.php