Page Time: 0.2558s

Memory: 12.0960 MB (Peak: 13.2951 MB)

Queries (16, time: 0.0145s, 5.7%)

  1. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'cron', 'simpleCache', 'routesPublic', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'smilies', 'bbCode', 'threadPrefixes', 'trophyUserTitles', 'reportCounts', 'moderationCounts', 'userModerationCounts', 'notices', 'userFieldsInfo')
    Run Time: 0.000790
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY77 21Using where
  2. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000180
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT
    	user.*,
    	user_profile.*,
    	user_privacy.*,
    	news_feed.*,
    	content_type_field.field_value AS news_feed_handler_class
    FROM xf_news_feed AS news_feed FORCE INDEX (event_date)
    INNER JOIN xf_content_type_field AS content_type_field ON
    	(content_type_field.content_type = news_feed.content_type
    	AND content_type_field.field_name = 'news_feed_handler_class')
    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 (user.user_state IN ('valid', 'email_confirm_edit')) AND (user.is_banned = 0)
    ORDER BY news_feed.event_date DESC
     LIMIT 15
    Run Time: 0.001136
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnews_feedindex event_date4 15 
    SIMPLEcontent_type_fieldeq_refPRIMARY,field_namePRIMARY229hotnhat_hndien1.news_feed.content_type,const1Using where
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4hotnhat_hndien1.news_feed.user_id1 
    SIMPLEusereq_refPRIMARY,user_statePRIMARY4hotnhat_hndien1.user_profile.user_id1Using where
    SIMPLEuser_followeq_refPRIMARY,follow_user_idPRIMARY8hotnhat_hndien1.user.user_id,const1Using index
    SIMPLEuser_privacyeq_refPRIMARYPRIMARY4hotnhat_hndien1.news_feed.user_id1Using where
  4. SELECT thread.*
    	,
    		node.title AS node_title,
    		post.message, post.attach_count,
    	permission.cache_value AS node_permission_cache
    FROM xf_thread AS thread
    		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)
    WHERE thread.thread_id IN (1274, 1273, 1272, 1271, 1270, 1269, 1268, 1267, 1266, 1265)
    Run Time: 0.000610
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 10Using where
    SIMPLEnodeeq_refPRIMARYPRIMARY4hotnhat_hndien1.thread.node_id1 
    SIMPLEposteq_refPRIMARYPRIMARY4hotnhat_hndien1.thread.first_post_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY85const,const,hotnhat_hndien1.thread.node_id1 
  5. SELECT profile_post.*
    	,
    		receiving_user.username
    			AS profile_username,
    		receiving_user.gender
    			AS profile_gender,
    		receiving_user.user_state
    			AS profile_user_state,
    		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
    FROM xf_profile_post AS profile_post
    
    		LEFT JOIN xf_user AS receiving_user ON
    			(receiving_user.user_id = profile_post.profile_user_id)
    WHERE profile_post.profile_post_id IN(5036, 5035, 5034, 5033, 5032)
    Run Time: 0.000550
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postrangePRIMARYPRIMARY4 5Using where
    SIMPLEreceiving_usereq_refPRIMARYPRIMARY4hotnhat_hndien1.profile_post.profile_user_id1 
  6. SELECT user.*
    	,
    	user_privacy.*,
    	0 AS following_0
    FROM xf_user AS user
    
    	INNER JOIN xf_user_privacy AS user_privacy ON
    		(user_privacy.user_id = user.user_id)
    WHERE user.user_id IN (6903, 6656, 7040, 6786, 110)
    ORDER BY user.username
    Run Time: 0.000517
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_privacyrangePRIMARYPRIMARY4 5Using where; Using temporary; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4hotnhat_hndien1.user_privacy.user_id1 
  7. 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 > 1579410375)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.000908
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityALLview_date   56Using where; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4hotnhat_hndien1.session_activity.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4hotnhat_hndien1.user.user_id1 
    SIMPLEuser_optioneq_refPRIMARYPRIMARY4hotnhat_hndien1.user.user_id1 
  8. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 5b0057cddec3623a51bb089430ed17e5, a:7:{s:12:"sessionStart";i:1579411275;s:2:"ip";i:315758800;s:9:"userAgent";s:40:"CCBot/2.0 (https://commoncrawl.org/faq/)";s:7:"isRobot";b:0;s:16:"previousActivity";i:0;s:10:"isIpBanned";b:0;s:13:"isDiscouraged";b:0;}, 1579414875
    Run Time: 0.000187
  9. INSERT INTO xf_session_activity
    	(user_id, unique_key, ip, controller_name, controller_action, view_state, params, view_date)
    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)
    Params: 0, 315758800, 315758800, XenForo_ControllerPublic_RecentActivity, Index, valid, , 1579411275
    Run Time: 0.000109
  10. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'news_feed_item_thread_insert', 'news_feed_item_profile_post_insert', 'wf_widget_wrapper', 'wf_widget_threads', 'wf_widget_birthday', 'tinhte_xentag_widget_cloud', 'news_feed_page_global', 'wf_widget_users', 'wf_hook_moderator_bar', 'wf_revealer', 'tinhte_xentag_hook_message_content', 'tinhte_xentag_hook_message_notices', 'tinhte_xentag_hook_post_private_controls', 'tinhte_xentag_hook_post_public_controls', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 3
    Run Time: 0.008194
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY160 16Using where
  11. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('wfc_1_all', 'wfc_68a8c32004547b6577b51')
    Run Time: 0.000274
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY77 2Using where
  12. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('birthday')
    Params: 3
    Run Time: 0.000160
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY231const,const1 
  13. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('Tinhte_SimilarThreadCheck_add_js_file')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 3
    Run Time: 0.000239
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY160const,const,const1 
  14. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('bbcm_js')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 3
    Run Time: 0.000205
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY160const,const,const1 
  15. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('Tinhte_SimilarThreadCheck_thread.js')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 3
    Run Time: 0.000291
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY160const,const,const1 
  16. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('nat_bodyjs')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 3
    Run Time: 0.000159
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY160const,const,const1 

Included Files (132, XenForo Classes: 58)

  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.php
  17. library/XenForo/Model/DataRegistry.php
  18. library/XenForo/CodeEvent.php
  19. library/Zend/Db.php
  20. library/Zend/Db/Adapter/Mysqli.php
  21. library/Zend/Db/Adapter/Abstract.php
  22. library/Zend/Db/Select.php
  23. library/Zend/Db/Expr.php
  24. library/Zend/Db/Profiler.php
  25. library/Zend/Db/Statement/Mysqli.php
  26. library/Zend/Db/Statement.php
  27. library/Zend/Db/Statement/Interface.php
  28. library/Zend/Db/Profiler/Query.php
  29. library/XenForo/Options.php
  30. library/XenForo/Link.php
  31. library/XenForo/Template/Helper/Core.php
  32. library/Sedo/StopAutoLinkingPatch/Listener/Init.php
  33. library/Sedo/StopAutoLinkingPatch/Template/Helper/Core.php
  34. library/NodesAsTabs/Listen.php
  35. library/WidgetFramework/Listener.php
  36. library/WidgetFramework/Core.php
  37. library/XenForo/Model/Moderator.php
  38. library/VietXfAdvStats/Listener.php
  39. library/Tinhte/XenTag/Listener.php
  40. library/Sedo/StopAutoLinkingPatch/Listener/Model.php
  41. library/WidgetFramework/Model/Widget.php
  42. library/WidgetFramework/WidgetRenderer.php
  43. library/WidgetFramework/WidgetRenderer/Empty.php
  44. library/XenForo/Input.php
  45. library/WidgetFramework/WidgetRenderer/VisitorPanel.php
  46. library/WidgetFramework/WidgetRenderer/Html.php
  47. library/WidgetFramework/WidgetRenderer/UsersFind.php
  48. library/WidgetFramework/WidgetRenderer/OnlineStaff.php
  49. library/WidgetFramework/WidgetRenderer/OnlineUsers.php
  50. library/WidgetFramework/WidgetRenderer/Users.php
  51. library/WidgetFramework/WidgetRenderer/Stats.php
  52. library/WidgetFramework/WidgetRenderer/FacebookFacepile.php
  53. library/WidgetFramework/WidgetRenderer/ShareThisPage.php
  54. library/WidgetFramework/WidgetRenderer/Threads.php
  55. library/WidgetFramework/WidgetRenderer/Birthday.php
  56. library/Tinhte/XenTag/WidgetRenderer/TaggedThreads.php
  57. library/Tinhte/XenTag/WidgetRenderer/RelatedThreads.php
  58. library/Tinhte/XenTag/WidgetRenderer/Cloud.php
  59. library/WidgetFramework/Option.php
  60. library/RouteChanger/Listen.php
  61. library/RouteChanger/Route/Static.php
  62. library/XenForo/Router.php
  63. library/XenForo/Route/ResponseSuffix.php
  64. library/XenForo/Route/Interface.php
  65. library/XenForo/Route/Prefix.php
  66. library/XenForo/Route/Prefix/RecentActivity.php
  67. library/XenForo/RouteMatch.php
  68. library/NodesAsTabs/Model/Options.php
  69. library/XenForo/ControllerPublic/RecentActivity.php
  70. library/XenForo/ControllerPublic/Abstract.php
  71. library/XenForo/Controller.php
  72. library/Sedo/StopAutoLinkingPatch/Listener/Controller.php
  73. library/MaxDailyBaiViet/EventListener/BaiViet.php
  74. library/KingK/BbCodeManager/EventListener/BbCode.php
  75. library/VietXf/MoreThread/Listener.php
  76. library/PrefixForumListing/Listener.php
  77. library/MaxDailyBaiViet/EventListener/ChuDe.php
  78. library/XenForo/Session.php
  79. library/XenForo/Visitor.php
  80. library/XenForo/Model/User.php
  81. library/VietXfAdvStats/XenForo/Model/User.php
  82. library/WidgetFramework/XenForo/Model/User.php
  83. library/XenForo/Permission.php
  84. library/XenForo/Phrase.php
  85. library/XenForo/Locale.php
  86. library/XenForo/Model/NewsFeed.php
  87. library/XenForo/NewsFeedHandler/Abstract.php
  88. library/XenForo/NewsFeedHandler/Discussion/Thread.php
  89. library/XenForo/NewsFeedHandler/Discussion.php
  90. library/XenForo/Model/Thread.php
  91. library/VietXfAdvStats/XenForo/Model/Thread.php
  92. library/WidgetFramework/XenForo/Model/Thread.php
  93. library/XenForo/NewsFeedHandler/DiscussionMessage/ProfilePost.php
  94. library/XenForo/NewsFeedHandler/DiscussionMessage.php
  95. library/XenForo/Model/ProfilePost.php
  96. library/XenForo/Model/Forum.php
  97. library/XenForo/Model/UserProfile.php
  98. library/XenForo/Helper/String.php
  99. library/XenForo/Model/Session.php
  100. library/XenForo/ControllerResponse/View.php
  101. library/XenForo/ControllerResponse/Abstract.php
  102. library/XenForo/Helper/Cookie.php
  103. library/XenForo/ViewRenderer/HtmlPublic.php
  104. library/XenForo/ViewRenderer/Abstract.php
  105. library/XenForo/Template/Public.php
  106. library/XenForo/Template/Abstract.php
  107. library/XenForo/ViewPublic/NewsFeed/View.php
  108. library/XenForo/ViewPublic/Base.php
  109. library/XenForo/View.php
  110. library/Dark/ParseHTML/EventListener.php
  111. library/WidgetFramework/XenForo/View1.php
  112. library/XenForo/ViewPublic/Helper/NewsFeed.php
  113. library/VietXfAdvStats/Model/GetUserGroup.php
  114. library/KingK/BbCodeManager/EventListener/Templates/Preloader.php
  115. library/Tinhte/SimilarThreadCheck/Listener/Main.php
  116. library/WidgetFramework/Model/Cache.php
  117. library/XenForo/Route/Prefix/Members.php
  118. library/Ragtek/NBM/StaticMethods.php
  119. library/NodesAsTabs/NavTabs.php
  120. library/XenForo/Model/Node.php
  121. library/WidgetFramework/Template/Trojan.php
  122. library/XenForo/Route/Prefix/Threads.php
  123. library/RouteChanger/Route/Prefix/1.php
  124. library/XenForo/Route/Prefix/Forums.php
  125. library/RouteChanger/Route/Prefix/0.php
  126. library/XenForo/Route/Prefix/ProfilePosts.php
  127. library/WidgetFramework/Helper/String.php
  128. library/Tinhte/XenTag/Option.php
  129. library/XenForo/Debug.php
  130. library/KingK/BbCodeManager/EventListener/Templates/InitEditorGrid.php
  131. library/VietXfAdvStats/Option.php
  132. library/XenForo/ViewRenderer/Json.php