Page Time: 0.1089s

Memory: 11.1694 MB (Peak: 11.9598 MB)

Queries (14, time: 0.0098s, 9.0%)

  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.000255
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 26Using index condition
  2. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('brListenerClasses', 'brBriviumAddOns')
    Run Time: 0.000073
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 2Using index condition
  3. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000124
    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.000071
    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,4,5,6,7,8,10)) 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,4,5,6,7,8,10)), 0)) as positive_rating_count_incl_likes
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (11,12,13)) as negative_rating_count
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (3,9)) 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: 5779
    Run Time: 0.001185
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_optionconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4const1 
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 2Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 3Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 9Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 9Using index condition
  6. SELECT search_index.content_type, search_index.content_id
    FROM xf_search_index AS search_index
    WHERE search_index.user_id = ?
    	
    ORDER BY search_index.item_date DESC
     LIMIT 15
    Params: 5779
    Run Time: 0.000894
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsearch_indexrefuser_id_item_dateuser_id_item_date4const4Using where; Using index
  7. 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,
    		NULL AS thread_read_date,
    		0 AS user_post_count,
    	permission.cache_value AS node_permission_cache,
    		pr_cache.rating_cache
    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_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 (thread.first_post_id = pr_cache.post_id)
    WHERE thread.thread_id IN (64985)
    Run Time: 0.000766
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
  8. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 51
    Run Time: 0.000175
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  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,
    		user.*, IF(user.username IS NULL, post.username, user.username) AS username,
    	permission.cache_value AS node_permission_cache
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (1,14,2,4,5,6,7,8,10)) as positive_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (11,12,13)) as negative_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (3,9)) as neutral_rating_count
    	,
    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_user AS user ON
    			(user.user_id = post.user_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 (85629, 64932)
    Run Time: 0.001616
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYpostrangePRIMARY,thread_id_post_date,thread_id_positionPRIMARY4 2Using where
    PRIMARYusereq_refPRIMARYPRIMARY4tmviet_hnd.post.user_id1 
    PRIMARYthreadeq_refPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4tmviet_hnd.post.thread_id1 
    PRIMARYnodeeq_refPRIMARYPRIMARY4tmviet_hnd.thread.node_id1 
    PRIMARYpermissioneq_refPRIMARYPRIMARY35const,const,tmviet_hnd.thread.node_id1Using where
    PRIMARYpr_cacheeq_refPRIMARYPRIMARY4tmviet_hnd.post.post_id1 
    PRIMARYpr2eq_refpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8tmviet_hnd.post.post_id,const1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4tmviet_hnd.post.user_id1Using index condition
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4tmviet_hnd.post.user_id1Using index condition
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4tmviet_hnd.post.user_id1Using index condition
  10. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 23
    Run Time: 0.000074
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  11. SELECT `user_id`, `position`
     	FROM `xf_post`
     	WHERE `thread_id` = ? AND `message_state` = "visible"
    ORDER BY `position` ASC
    Params: 47683
    Run Time: 0.003511
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_postrefthread_id_post_date,thread_id_positionthread_id_position4const34Using where
  12. SELECT profile_post.*
    	,
    		posting_user.*,
    		IF(posting_user.username IS NULL, profile_post.username, posting_user.username) AS username,
    		receiving_user.username
    			AS profile_username,
    		receiving_user.gender
    			AS profile_gender,
    		receiving_user.user_state
    			AS profile_user_state,
    		receiving_user.user_group_id
    			AS profile_user_group_id,
    		receiving_user.secondary_group_ids
    			AS profile_secondary_group_ids,
    		receiving_user.display_style_group_id
    			AS profile_display_style_group_id,
    		receiving_user.is_banned
    			AS profile_is_banned,
    		receiving_user.is_admin
    			AS profile_is_admin,
    		receiving_user.is_moderator
    			AS profile_is_moderator,
    		receiving_user.avatar_date
    			AS profile_avatar_date,
    		receiving_user.gravatar
    			AS profile_gravatar,
    		receiving_user.warning_points
    			AS profile_warning_points,
    		receiving_user.permission_combination_id
    			AS profile_permission_combination_id,
    		receiving_user_privacy.allow_view_profile
    			AS profile_allow_view_profile,
    		receiving_user_privacy.allow_post_profile
    			AS profile_allow_post_profile,
    		receiving_user_privacy.allow_send_personal_conversation
    			AS profile_allow_send_personal_conversation,
    		receiving_user_privacy.allow_view_identities
    			AS profile_allow_view_identities,
    		receiving_user_privacy.allow_receive_news_feed
    			AS profile_allow_allow_receive_news_feed,
    		IF (receiving_user_follow.follow_user_id, 1, 0)
    			AS following_0
    FROM xf_profile_post AS profile_post
    
    		LEFT JOIN xf_user AS posting_user ON
    			(posting_user.user_id = profile_post.user_id)
    		LEFT JOIN xf_user AS receiving_user ON
    			(receiving_user.user_id = profile_post.profile_user_id)
    		LEFT JOIN xf_user_privacy AS receiving_user_privacy ON
    			(receiving_user_privacy.user_id = profile_post.profile_user_id)
    		LEFT JOIN xf_user_follow AS receiving_user_follow ON
    			(receiving_user_follow.user_id = profile_post.profile_user_id AND follow_user_id = 0)
    WHERE profile_post.profile_post_id IN(1345)
    Run Time: 0.000764
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postconstPRIMARYPRIMARY4const1 
    SIMPLEposting_userconstPRIMARYPRIMARY4const1 
    SIMPLEreceiving_userconstPRIMARYPRIMARY4const1 
    SIMPLEreceiving_user_privacyconstPRIMARYPRIMARY4const1 
    SIMPLEreceiving_user_followconstPRIMARY,follow_user_idPRIMARY8const,const0unique row not found
  13. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 157ed1ca4f2c874bfa59ecaf651bdae7, a:6:{s:12:"sessionStart";i:1529873258;s:2:"ip";s:4:"6ƞ";s:11:"sessionCsrf";s:16:"Xi4Esa6l8KTEdpS1";s:9:"userAgent";s:39:"CCBot/2.0 (http://commoncrawl.org/faq/)";s:7:"robotId";s:0:"";s:16:"previousActivity";i:0;}, 1529876858
    Run Time: 0.000263
  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, 6ƞ, 6ƞ, XenForo_ControllerPublic_Member, RecentContent, valid, user_id=5779, 1529873258,
    Run Time: 0.000076

Included Files (154, XenForo Classes: 68)

  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/VietnameseFriendlyLink/Listener.php
  33. library/Tinhte/AttachImageOptimization/Listener.php
  34. library/WidgetFramework/Listener.php
  35. library/WidgetFramework/Option.php
  36. library/Brivium/Tellurium/EventListeners/Listener.php
  37. library/Brivium/BriviumHelper/EventListeners.php
  38. library/Brivium/BriviumHelper/1010071/EventListeners.php
  39. library/Brivium/StyliumFramework/EventListeners/Listener.php
  40. library/Brivium/DoFollowforUsergroup/EventListeners/Listener.php
  41. library/Brivium/BriviumLibrary/EventListeners.php
  42. library/WMS/HideSignature/Listener/Listener.php
  43. library/VietXfAdvStats/Listener.php
  44. library/Brivium/ExtraThreadItem/EventListeners/Listener.php
  45. library/Dark/PostRating/EventListener.php
  46. library/WMS/HideSignature/InitDependency.php
  47. library/WMS/HideSignature/InitDependency/20162301.php
  48. library/Milano/SmileyManager/Listener.php
  49. library/XenForo/Router.php
  50. library/XenForo/Route/Filter.php
  51. library/XenForo/Route/Interface.php
  52. library/XenForo/Route/ResponseSuffix.php
  53. library/XenForo/Route/Prefix.php
  54. library/WidgetFramework/Route/Filter/PageX.php
  55. library/XenForo/Route/Prefix/Members.php
  56. library/XenForo/RouteMatch.php
  57. library/XenForo/ControllerPublic/Member.php
  58. library/XenForo/ControllerPublic/Abstract.php
  59. library/XenForo/Controller.php
  60. library/BlockBadWord/Listen.php
  61. library/VietXf/MoreThread/Listener.php
  62. library/LilTee/LimitPostLink/Listener/Listener.php
  63. library/MaxDailyBaiViet/EventListener/BaiViet.php
  64. library/VNXF/ThreadLimit/Listener.php
  65. library/xenCODE/AutoPing/Listener.php
  66. library/VfcodersHH/Listener/LoadClass.php
  67. library/Nobita/DiscussionsPerPage/Listener.php
  68. library/MaxDailyBaiViet/EventListener/ChuDe.php
  69. library/VfcodersHH/ControllerPublic/Member.php
  70. library/Dark/PostRating/ControllerPublic/Member.php
  71. library/XenForo/Input.php
  72. library/XenForo/Session.php
  73. library/XenForo/Helper/Ip.php
  74. library/XenForo/Visitor.php
  75. library/XenForo/Model/User.php
  76. library/VietXfAdvStats/XenForo/Model/User.php
  77. library/WidgetFramework/XenForo/Model/User.php
  78. library/Dark/PostRating/Model/User.php
  79. library/XenForo/Permission.php
  80. library/XenForo/Helper/Php.php
  81. library/XenForo/Phrase.php
  82. library/XenForo/Locale.php
  83. library/XenForo/ControllerHelper/UserProfile.php
  84. library/XenForo/ControllerHelper/Abstract.php
  85. library/Dark/PostRating/Model.php
  86. library/XenForo/Model/UserProfile.php
  87. library/XenForo/Search/SourceHandler/Abstract.php
  88. library/XenForo/Search/SourceHandler/MySqlFt.php
  89. library/XenForo/Model/Search.php
  90. library/XenForo/Search/DataHandler/Thread.php
  91. library/XenForo/Search/DataHandler/Abstract.php
  92. library/VfcodersHH/Search/DataHandler/Thread.php
  93. library/XenForo/Search/DataHandler/Post.php
  94. library/VfcodersHH/Search/DataHandler/Post.php
  95. library/XenForo/Search/DataHandler/ProfilePost.php
  96. library/XenForo/Model/Thread.php
  97. library/VietXfAdvStats/XenForo/Model/Thread.php
  98. library/WidgetFramework/XenForo/Model/Thread.php
  99. library/Brivium/ExtraThreadItem/Model/Thread.php
  100. library/Dark/PostRating/Model/Thread.php
  101. library/XenForo/Model/Forum.php
  102. library/Brivium/ExtraThreadItem/Model/Forum.php
  103. library/VfcodersHH/Model/Permission.php
  104. library/VfcodersHH/Helper/Parse.php
  105. library/XenForo/Model/PermissionCache.php
  106. library/XenForo/Helper/String.php
  107. library/XenForo/Model/Post.php
  108. library/FreddysHouse/SignatureOnce/Event/LoadClassModel.php
  109. library/WMS/HideSignature/Extend/Model/Post.php
  110. library/Dark/PostRating/Model/Post.php
  111. library/FreddysHouse/SignatureOnce/Model/Post.php
  112. library/XenForo/Model/ProfilePost.php
  113. library/WidgetFramework/XenForo/Model/ProfilePost.php
  114. library/XenForo/ControllerResponse/View.php
  115. library/XenForo/ControllerResponse/Abstract.php
  116. library/XenForo/Helper/Cookie.php
  117. library/XenForo/ViewRenderer/HtmlPublic.php
  118. library/XenForo/ViewRenderer/Abstract.php
  119. library/XenForo/Template/Public.php
  120. library/XenForo/Template/Abstract.php
  121. library/WidgetFramework/Core.php
  122. library/XenForo/Model/Moderator.php
  123. library/WidgetFramework/Model/Widget.php
  124. library/WidgetFramework/Helper/Sort.php
  125. library/WidgetFramework/WidgetRenderer.php
  126. library/XenForo/ViewPublic/Member/RecentContent.php
  127. library/XenForo/ViewPublic/Base.php
  128. library/XenForo/View.php
  129. library/WidgetFramework/XenForo/View1.php
  130. library/XenForo/ViewPublic/Helper/Search.php
  131. library/VietXfAdvStats/Model/GetUserGroup.php
  132. library/Brivium/AutoLink/EventListeners/Listener.php
  133. library/Siropu/CustomTabs/Listener.php
  134. library/Siropu/CustomTabs/Model.php
  135. library/Siropu/CustomTabs/Helper.php
  136. library/XenForo/Helper/Criteria.php
  137. library/WidgetFramework/Template/Extended.php
  138. library/XenForo/Template/FileHandler.php
  139. library/XenForo/Helper/File.php
  140. internal_data/templates/S.2,L.2,member_recent_content.php
  141. internal_data/templates/S.2,L.2,search_result_thread.php
  142. library/XenForo/Model/Avatar.php
  143. library/XenForo/Route/Prefix/Threads.php
  144. library/XenForo/Route/Prefix/Forums.php
  145. internal_data/templates/S.2,L.2,search_result_post.php
  146. library/XenForo/Route/Prefix/Posts.php
  147. internal_data/templates/S.2,L.2,search_result_profile_post.php
  148. library/XenForo/Route/Prefix/ProfilePosts.php
  149. library/VfcodersHH/Listener/Hook.php
  150. library/WidgetFramework/WidgetRenderer/Empty.php
  151. library/XenForo/Debug.php
  152. internal_data/templates/S.2,L.2,PAGE_CONTAINER.php
  153. library/VietXfAdvStats/Option.php
  154. library/XenForo/ViewRenderer/Json.php