Page Time: 0.1149s

Memory: 11.3631 MB (Peak: 12.6237 MB)

Queries (16, time: 0.0131s, 11.4%)

  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.004576
    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.000420
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. 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,
    user_rue.display_style_group_id AS last_post_display_style_group_id,
    	vote.post_id AS user_best_answer_id
    FROM xf_thread AS thread
    
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = thread.user_id)
    LEFT JOIN xf_user AS user_rue ON
    	(user_rue.user_id = thread.last_post_user_id)
    	LEFT JOIN xf_best_answer_vote AS vote
    		ON (vote.thread_id = thread.thread_id AND vote.user_id = 0)
    WHERE thread.thread_id = ?
    Params: 21272
    Run Time: 0.000643
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEuser_rueconstPRIMARYPRIMARY4const1 
    SIMPLEvoteconstuser_threaduser_thread8const,const0unique row not found
  4. 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: 97
    Run Time: 0.000809
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  5. 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,
    		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
    FROM xf_post AS post
    
    		INNER JOIN xf_thread AS thread ON
    			(thread.thread_id = post.thread_id)
    		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))
    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: 21272
    Run Time: 0.001973
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1Using filesort
    SIMPLEpostrefthread_id_post_date,thread_id_positionthread_id_post_date4const3Using index condition; Using where
    SIMPLEusereq_refPRIMARYPRIMARY4vg_12.post.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4vg_12.post.user_id1 
    SIMPLEuser_privacyeq_refPRIMARYPRIMARY4vg_12.post.user_id1 
    SIMPLEsession_activityeq_refPRIMARYPRIMARY22vg_12.post.user_id,func1Using where
  6. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 21272
    Run Time: 0.000089
  7. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: f5ca74a163a9e3d05f7700f895a47145, , 1569007582
    Run Time: 0.000191
  8. 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=21272, 1569003982,
    Run Time: 0.000109
  9. SELECT *
    FROM bbm
    ORDER BY tag
    Run Time: 0.000653
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEbbmALL    6Using filesort
  10. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'bb_code_tag_vfchh', 'bbm_bbcode_highlighter', 'XPc_chord_display_template', 'bbm_bbcode_protected', 'bbm_bbcode_html', 'bbm_bbcode_spoiler', 'bbm_viewer_content_protected', 'bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'bb_code_tag_spoiler', 'search_this_thread', 'waindigo_quick_reply_prepend_postasuser', 'waindigo_post_as_user_field_postasuser', 'vim', 'thread_view', 'resources_tab_links', 'EWRmedio_Navtabs', 'wf_hook_moderator_bar', 'wf_revealer', 'waindigo_you_are_using_as_user_loginasuser', 'waindigo_moderator_bar_loginasuser', 'ThreadStarter', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 28, 2
    Run Time: 0.002478
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 27Using where
  11. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('xf_unknown_renderer', 'media')
    Params: 2
    Run Time: 0.000367
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledrangePRIMARYPRIMARY106 2Using where
  12. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('best_answer_post_private_controls')
    	AND style_id = ?
    	AND language_id = ?
    Params: 28, 2
    Run Time: 0.000229
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  13. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('bbm_js')
    	AND style_id = ?
    	AND language_id = ?
    Params: 28, 2
    Run Time: 0.000131
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  14. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('Tinhte_SimilarThreadCheck_add_js_file')
    	AND style_id = ?
    	AND language_id = ?
    Params: 28, 2
    Run Time: 0.000118
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  15. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('bb_code_tag_button')
    	AND style_id = ?
    	AND language_id = ?
    Params: 28, 2
    Run Time: 0.000091
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  16. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('Tinhte_SimilarThreadCheck_thread.js')
    	AND style_id = ?
    	AND language_id = ?
    Params: 28, 2
    Run Time: 0.000227
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (195, XenForo Classes: 63)

  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/20140612.php
  34. library/Waindigo/Listener/ControllerPreDispatch/20140603.php
  35. library/XenResource/Listener/Proxy.php
  36. library/WidgetFramework/Listener.php
  37. library/WidgetFramework/Core.php
  38. library/XenForo/Model/Moderator.php
  39. library/RichUsernameEverywhere/Listener.php
  40. library/bdSocialShare/Listener.php
  41. library/BestAnswer/Listener.php
  42. library/VietXfAdvStats/Listener.php
  43. library/BBM/Protection/Listener/Models.php
  44. library/XenResource/Listener/Proxy/ModelModerator.php
  45. library/WidgetFramework/Model/Widget.php
  46. library/WidgetFramework/WidgetRenderer.php
  47. library/WidgetFramework/WidgetRenderer/Empty.php
  48. library/XenForo/Input.php
  49. library/WidgetFramework/WidgetRenderer/UsersFind.php
  50. library/WidgetFramework/WidgetRenderer/Users.php
  51. library/WidgetFramework/WidgetRenderer/HtmlWithoutWrapper.php
  52. library/WidgetFramework/WidgetRenderer/Html.php
  53. library/WidgetFramework/WidgetRenderer/Threads.php
  54. library/WidgetFramework/WidgetRenderer/OnlineStaff.php
  55. library/WidgetFramework/WidgetRenderer/OnlineUsers.php
  56. library/WidgetFramework/WidgetRenderer/ShareThisPage.php
  57. library/XenForo/Phrase.php
  58. library/WidgetFramework/WidgetRenderer/Stats.php
  59. library/WidgetFramework/Option.php
  60. library/EWRmedio/Listener/Init.php
  61. library/XenForo/DataWriter/User.php
  62. library/XenForo/DataWriter.php
  63. library/BBM/Listeners/AllInOne.php
  64. library/VietnameseFriendlyLink/Listener.php
  65. library/XenForo/Router.php
  66. library/XenForo/Route/Filter.php
  67. library/XenForo/Route/Interface.php
  68. library/XenForo/Route/ResponseSuffix.php
  69. library/XenForo/Route/Prefix.php
  70. library/XenForo/Route/Prefix/Threads.php
  71. library/XenForo/RouteMatch.php
  72. library/BBM/Protection/Helper/ContentProtection.php
  73. library/XenForo/ControllerPublic/Thread.php
  74. library/XenForo/ControllerPublic/Abstract.php
  75. library/XenForo/Controller.php
  76. library/Waindigo/PostAsUser/Listener/LoadClass.php
  77. library/Waindigo/Listener/LoadClass.php
  78. library/Waindigo/Listener/LoadClass/20140604.php
  79. library/VfcodersHH/Listener/LoadClass.php
  80. library/Borbole/RequirePrefixes/EventListener/LoadClassController.php
  81. library/Liam23/PV/StaticMethods.php
  82. library/Brivium/UrlProfilePost/EventListeners/Listener.php
  83. library/Brivium/BriviumLibrary/EventListeners.php
  84. library/VIM/Listener.php
  85. library/EWRmedio/Listener/Controller.php
  86. library/Brivium/ThreadsPostsOwner/Listener.php
  87. library/Waindigo/EditUserJoinDate/Listener/LoadClassController.php
  88. library/SigRestrict/Listener.php
  89. library/Waindigo/PostAsUser/Extend/XenForo/ControllerPublic/Thread.php
  90. library/WidgetFramework/XenForo/ControllerPublic/Thread.php
  91. library/VfcodersHH/ControllerPublic/Thread.php
  92. library/bdSocialShare/XenForo/ControllerPublic/Thread.php
  93. library/BestAnswer/ControllerPublic/Thread.php
  94. library/EWRmedio/ControllerPublic/Thread.php
  95. library/XenForo/Session.php
  96. library/XenForo/Helper/Ip.php
  97. library/XenForo/Visitor.php
  98. library/XenForo/Model/User.php
  99. library/Waindigo/LoginAsUser/Listener/LoadClass.php
  100. library/Waindigo/PostAsUser/Extend/XenForo/Model/User.php
  101. library/Waindigo/LoginAsUser/Extend/XenForo/Model/User.php
  102. library/WidgetFramework/XenForo/Model/User.php
  103. library/bdSocialShare/XenForo/Model/User.php
  104. library/VietXfAdvStats/XenForo/Model/User.php
  105. library/XenResource/Listener/Proxy/ModelUser.php
  106. library/XenForo/Permission.php
  107. library/XenForo/Helper/Php.php
  108. library/XenForo/Locale.php
  109. library/Waindigo/LoginAsUser/Listener/VisitorSetup.php
  110. library/Waindigo/Listener/Template/20140612.php
  111. library/Waindigo/Listener/TemplateHook/20130522.php
  112. library/Waindigo/Listener/TemplatePostRender/20130522.php
  113. library/Waindigo/Listener/TemplateCreate/20130522.php
  114. library/XenForo/ControllerHelper/ForumThreadPost.php
  115. library/XenForo/ControllerHelper/Abstract.php
  116. library/XenForo/Model/Thread.php
  117. library/Waindigo/AlPag/Listener/LoadClass.php
  118. library/Waindigo/AlPag/Extend/XenForo/Model/Thread.php
  119. library/WidgetFramework/XenForo/Model/Thread.php
  120. library/RichUsernameEverywhere/Thread.php
  121. library/BestAnswer/Model/Thread.php
  122. library/VietXfAdvStats/XenForo/Model/Thread.php
  123. library/BestAnswer/Model/BestAnswer.php
  124. library/XenForo/Model/Forum.php
  125. library/XenForo/Helper/String.php
  126. library/XenForo/Model/Post.php
  127. library/BestAnswer/Model/Post.php
  128. library/XenForo/Model/Attachment.php
  129. library/XenForo/Model/Node.php
  130. library/RichUsernameEverywhere/Node.php
  131. library/XenForo/Route/Prefix/Categories.php
  132. library/XenForo/Route/Prefix/Forums.php
  133. library/Waindigo/AlPag/Extend/XenForo/Route/Prefix/Forums.php
  134. library/XenForo/ControllerResponse/View.php
  135. library/XenForo/ControllerResponse/Abstract.php
  136. library/VfcodersHH/Model/Permission.php
  137. library/VfcodersHH/Helper/Parse.php
  138. library/VfcodersHH/Helper/Strip.php
  139. library/VfcodersHH/Helper/Tags.php
  140. library/XenForo/Helper/Cookie.php
  141. library/XenResource/Listener/Template.php
  142. library/XenForo/ViewRenderer/HtmlPublic.php
  143. library/XenForo/ViewRenderer/Abstract.php
  144. library/XenForo/Template/Public.php
  145. library/XenForo/Template/Abstract.php
  146. library/XenForo/ViewPublic/Thread/View.php
  147. library/XenForo/ViewPublic/Base.php
  148. library/XenForo/View.php
  149. library/Waindigo/EditUserJoinDate/Listener/LoadClassView.php
  150. library/WidgetFramework/XenForo/View1.php
  151. library/XenForo/BbCode/Parser.php
  152. library/XenForo/BbCode/Formatter/Base.php
  153. library/BButtonCode/Listener.php
  154. library/EWRmedio/Listener/BbCode.php
  155. library/VfcodersHH/BbCode/Formatter/Base.php
  156. library/BButtonCode/BbCode/Formatter/Base.php
  157. library/EWRmedio/BbCode/Formatter.php
  158. library/BBM/BbCode/Formatter/Base.php
  159. library/BBM/Helper/Bbm.php
  160. library/BBM/Model/BbCodes.php
  161. library/BBM/BbCode/Formatter/Default.php
  162. library/XenForo/ViewPublic/Helper/Message.php
  163. library/XenForo/BbCode/TextWrapper.php
  164. library/TwoDMods/SearchThisThread/Listener.php
  165. library/Waindigo/PostAsUser/Listener/TemplateCreate.php
  166. library/ArtodiaFramework/Listener.php
  167. library/Tinhte/SimilarThreadCheck/Listener/Main.php
  168. library/VfcodersHH/Listener/TemplateCreate.php
  169. library/VietXfAdvStats/Model/GetUserGroup.php
  170. library/BBM/Listeners/Templates/Preloader.php
  171. library/Waindigo/LoginAsUser/Listener/TemplateCreate.php
  172. library/XfAddOns/Tabs/Listener.php
  173. library/ThreadStarter/Listener/Listener.php
  174. library/XenForo/Route/Prefix/Members.php
  175. library/XenStaff/Addtab.php
  176. library/EWRmedio/Listener/NavTabs.php
  177. library/EWRmedio/Model/Perms.php
  178. library/WidgetFramework/Template/Extended.php
  179. library/BBM/Listeners/Templates/Public.php
  180. library/Waindigo/PostAsUser/Listener/TemplateHook.php
  181. library/VfcodersHH/Listener/Hook.php
  182. library/Borbole/RequirePrefixes/EventListener/Listener.php
  183. library/EWRmedio/Listener/Template.php
  184. library/EWRmedio/Model/Lists.php
  185. library/BBM/Listeners/Templates/Admin.php
  186. library/Waindigo/LoginAsUser/Listener/TemplateHook.php
  187. library/Waindigo/EditUserJoinDate/Listener/TemplateHook.php
  188. library/XenForo/Route/Prefix/Posts.php
  189. library/Waindigo/PostAsUser/Listener/TemplatePostRender.php
  190. library/Waindigo/AlPag/Listener/TemplatePostRender.php
  191. library/XenForo/Model/Avatar.php
  192. library/XenForo/Helper/Criteria.php
  193. library/XenForo/Debug.php
  194. library/VietXfAdvStats/Option.php
  195. library/XenForo/ViewRenderer/Json.php