Page Time: 0.0726s

Memory: 8.5010 MB (Peak: 9.4860 MB)

Queries (21, time: 0.0053s, 7.3%)

  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.000203
    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.000095
    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
    FROM xf_thread AS thread
    
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = thread.user_id)
    WHERE thread.thread_id = ?
    Params: 9961
    Run Time: 0.000368
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
  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: 3
    Run Time: 0.000152
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  5. 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
    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))
    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: 9961
    Run Time: 0.000839
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostrefthread_id_post_date,thread_id_positionthread_id_post_date4const1Using where; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4tintucxe_nhansuthainguyen.post.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4tintucxe_nhansuthainguyen.post.user_id1 
    SIMPLEuser_privacyeq_refPRIMARYPRIMARY4tintucxe_nhansuthainguyen.post.user_id1 
    SIMPLEsession_activityeq_refPRIMARYPRIMARY22tintucxe_nhansuthainguyen.post.user_id,func1Using where
  6. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 9961
    Run Time: 0.000128
  7. SELECT xf_thread.*, xf_post.message, xf_post.attach_count, xf_node.title AS node_title
    FROM xf_thread
    LEFT JOIN xf_post ON (xf_post.post_id = xf_thread.first_post_id)
    LEFT JOIN xf_node ON (xf_node.node_id = xf_thread.node_id)
    WHERE xf_thread.node_id > 0 AND xf_thread.thread_id != 9961 AND xf_thread.post_date < 1710833172 AND xf_thread.discussion_state = 'visible'
    ORDER BY xf_thread.thread_id DESC
    LIMIT 2
    Run Time: 0.000459
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadrangePRIMARY,node_id_last_post_date,node_id_sticky_state_last_post,post_datePRIMARY4 18746Using where
    SIMPLExf_posteq_refPRIMARYPRIMARY4tintucxe_nhansuthainguyen.xf_thread.first_post_id1 
    SIMPLExf_nodeeq_refPRIMARYPRIMARY4tintucxe_nhansuthainguyen.xf_thread.node_id1 
  8. SELECT xf_thread.*, xf_post.message, xf_post.attach_count, xf_node.title AS node_title
    FROM xf_thread
    LEFT JOIN xf_post ON (xf_post.post_id = xf_thread.first_post_id)
    LEFT JOIN xf_node ON (xf_node.node_id = xf_thread.node_id)
    WHERE xf_thread.node_id > 0 AND xf_thread.thread_id != 9961 AND xf_thread.post_date > 1710228372 AND xf_thread.post_date < 1710833172 AND xf_thread.discussion_state = 'visible'
    ORDER BY xf_thread.view_count DESC
    LIMIT 6
    Run Time: 0.000463
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadrangePRIMARY,node_id_last_post_date,node_id_sticky_state_last_post,post_datepost_date4 44Using index condition; Using where; Using filesort
    SIMPLExf_posteq_refPRIMARYPRIMARY4tintucxe_nhansuthainguyen.xf_thread.first_post_id1 
    SIMPLExf_nodeeq_refPRIMARYPRIMARY4tintucxe_nhansuthainguyen.xf_thread.node_id1 
  9. 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 (34982)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000079
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition; Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4tintucxe_nhansuthainguyen.attachment.data_id1 
  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 (34969)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000071
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition; Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4tintucxe_nhansuthainguyen.attachment.data_id1 
  11. 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 (34963)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000057
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition; Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4tintucxe_nhansuthainguyen.attachment.data_id1 
  12. 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 (17057)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000283
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4tintucxe_nhansuthainguyen.attachment.data_id1Using where
  13. SELECT
    	post.*
    	
    FROM xf_post AS post
    WHERE post.post_id IN (17057)
    Run Time: 0.000135
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
  14. SELECT attachment.*, data.*
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON (data.data_id = attachment.data_id)
    WHERE attachment.content_type = 'post' AND attachment.content_id = '17057' AND data.height = 0 AND data.filename LIKE '%.pdf%'
    ORDER BY attachment.content_id, attachment.attach_date
    Run Time: 0.000999
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition; Using where; Using filesort
    SIMPLEdataeq_refPRIMARYPRIMARY4tintucxe_nhansuthainguyen.attachment.data_id1Using where
  15. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: d59602d9477411afd0546a91df88a29c, , 1710836772
    Run Time: 0.000160
  16. 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=9961, 1710833172,
    Run Time: 0.000288
  17. 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', 'ragtek_createNewThreadNavbar', 'wf_widget_wrapper', 'wf_widget_threads', 'thread_view', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 6, 2
    Run Time: 0.000274
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 12Using where
  18. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('askaquestion_ask_a_question')
    Params: 2
    Run Time: 0.000050
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY106const,const1 
  19. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('VNXF_More_Thread')
    	AND style_id = ?
    	AND language_id = ?
    Params: 6, 2
    Run Time: 0.000075
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  20. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('VNXF_Read_Pdf')
    	AND style_id = ?
    	AND language_id = ?
    Params: 6, 2
    Run Time: 0.000070
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  21.                 SELECT *
                    FROM `xf_widgetframework_cache`
                    WHERE cache_id IN ('thread_view_pc1')
    Run Time: 0.000067
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_widgetframework_cacheconstPRIMARYPRIMARY767const1 

Included Files (154, XenForo Classes: 62)

  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/TJA/CreateThreadIcon/Listener.php
  33. library/Hex/Listener/InitDependencies.php
  34. library/Hex/Listener/InitDependencies/20150212.php
  35. library/VNXF/MoreThread/Listener.php
  36. library/VNXF/Stats/Listener.php
  37. library/Hex/Listener/ControllerPreDispatch/20150911.php
  38. library/WidgetFramework/Listener.php
  39. library/WidgetFramework/Option.php
  40. library/XenForo/Router.php
  41. library/XenForo/Route/Filter.php
  42. library/XenForo/Route/Interface.php
  43. library/XenForo/Route/ResponseSuffix.php
  44. library/XenForo/Route/Prefix.php
  45. library/XenForo/Route/Prefix/Threads.php
  46. library/vtLai/UrlKhongDau/Listener.php
  47. library/vtLai/UrlKhongDau/Threads.php
  48. library/XenForo/RouteMatch.php
  49. library/XenForo/ControllerPublic/Thread.php
  50. library/XenForo/ControllerPublic/Abstract.php
  51. library/XenForo/Controller.php
  52. library/Hex/Thumbnails/Listener/LoadClass.php
  53. library/Hex/Listener/LoadClass.php
  54. library/Hex/Listener/LoadClass/20150518.php
  55. library/VNXF/Download/Listener.php
  56. library/XenPlaza/XPlimitLink/Listener/Listener.php
  57. library/XfAddOns/BumpThread/Listener.php
  58. library/Vinavb/CustomNodeIcon/Listener.php
  59. library/VNXF/ReadPdf/Listener.php
  60. library/DigitalPointAdPositioning/Listener/LoadClassControllerPublic/Thread.php
  61. library/VNXF/MoreThread/ControllerPublic/Thread.php
  62. library/Hex/Thumbnails/Extend/XenForo/ControllerPublic/Thread.php
  63. library/XenPlaza/XPlimitLink/ControllerPublic/Thread.php
  64. library/XfAddOns/BumpThread/ControllerPublic/Thread.php
  65. library/VNXF/ReadPdf/ControllerPublic/Thread.php
  66. library/DigitalPointAdPositioning/ControllerPublic/Thread.php
  67. library/WidgetFramework/XenForo/ControllerPublic/Thread.php
  68. library/XenForo/Input.php
  69. library/XenForo/Session.php
  70. library/XenForo/Helper/Ip.php
  71. library/XenForo/Visitor.php
  72. library/XenForo/Model/User.php
  73. library/XenForo/Permission.php
  74. library/XenForo/Helper/Php.php
  75. library/XenForo/Phrase.php
  76. library/XenForo/Locale.php
  77. library/DigitalPointAdPositioning/Listener/ControllerPreDispatch.php
  78. library/XenForo/ControllerHelper/ForumThreadPost.php
  79. library/XenForo/ControllerHelper/Abstract.php
  80. library/XenForo/Model/Thread.php
  81. library/XfAddOns/BumpThread/Model/Thread.php
  82. library/XenForo/Model/Forum.php
  83. library/XenForo/Helper/String.php
  84. library/XfAddOns/BumpThread/Helper/Permissions.php
  85. library/XenForo/Model/Post.php
  86. library/vtLai/UrlKhongDau/Converter.php
  87. library/XenForo/Model/Attachment.php
  88. library/Hex/Thumbnails/Extend/XenForo/Model/Attachment.php
  89. library/XenForo/Model/Node.php
  90. library/Hex/Thumbnails/Extend/XenForo/Model/Node.php
  91. library/XenForo/Route/Prefix/Categories.php
  92. library/vtLai/UrlKhongDau/Categories.php
  93. library/XenForo/Route/Prefix/Forums.php
  94. library/vtLai/UrlKhongDau/Forums.php
  95. library/XenForo/ControllerResponse/View.php
  96. library/XenForo/ControllerResponse/Abstract.php
  97. library/VNXF/MoreThread/Model.php
  98. library/XenForo/Route/Prefix/Attachments.php
  99. library/Hex/Thumbnails/Model/Thumbnails.php
  100. library/VNXF/ReadPdf/Model.php
  101. library/XenForo/Helper/Cookie.php
  102. library/DigitalPointAdPositioning/Listener/ControllerPostDispatch.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/WidgetFramework/Core.php
  108. library/XenForo/Model/Moderator.php
  109. library/WidgetFramework/Model/Widget.php
  110. library/WidgetFramework/Helper/Sort.php
  111. library/XenForo/ViewPublic/Thread/View.php
  112. library/XenForo/ViewPublic/Base.php
  113. library/XenForo/View.php
  114. library/DigitalPointAdPositioning/Listener/LoadClassViewPublic/Thread.php
  115. library/DigitalPointAdPositioning/ViewPublic/Thread/View.php
  116. library/XenForo/BbCode/Parser.php
  117. library/XenForo/BbCode/Formatter/Base.php
  118. library/WidgetFramework/XenForo/BbCode/Formatter/Base.php
  119. library/XenForo/ViewPublic/Helper/Message.php
  120. library/XenForo/BbCode/TextWrapper.php
  121. library/Ragtek/GCT/StaticMethods.php
  122. library/Hex/Thumbnails/Listener/TemplateCreate.php
  123. library/Hex/Listener/TemplateCreate.php
  124. library/Hex/Listener/TemplateCreate/20150106.php
  125. library/XfAddOns/BumpThread/Template/Hook.php
  126. library/WidgetFramework/WidgetRenderer.php
  127. library/WidgetFramework/WidgetRenderer/Threads.php
  128. library/Hex/Thumbnails/Extend/WidgetFramework/WidgetRenderer/Threads.php
  129. library/WidgetFramework/Helper/PermissionCombination.php
  130. library/WidgetFramework/Model/Cache.php
  131. library/XenForo/Route/Prefix/Members.php
  132. library/vtLai/UrlKhongDau/Members.php
  133. library/Andy/AskAQuestion/Listener.php
  134. library/WidgetFramework/Template/Extended.php
  135. library/VNNET/FakeThreadViewCount/Listeners.php
  136. library/Hex/Thumbnails/Listener/TemplateHook.php
  137. library/Hex/Listener/TemplateHook.php
  138. library/Hex/Listener/TemplateHook/20150106.php
  139. library/Hex/Listener/Template.php
  140. library/Hex/Listener/Template/20150106.php
  141. library/VNXF/ForumThreads/Listener.php
  142. library/XenForo/Route/Prefix/Posts.php
  143. library/Hex/Thumbnails/Listener/TemplatePostRender.php
  144. library/Hex/Listener/TemplatePostRender.php
  145. library/Hex/Listener/TemplatePostRender/20150106.php
  146. library/DigitalPointAdPositioning/Callback/AdBelowPost.php
  147. library/WidgetFramework/Helper/String.php
  148. library/XenForo/Helper/File.php
  149. library/WidgetFramework/DataWriter/Widget.php
  150. library/XenForo/DataWriter.php
  151. library/XenForo/Debug.php
  152. library/Ragtek/GCT/Route.php
  153. library/XenForo/ViewRenderer/Json.php
  154. library/Vinavb/CustomNodeIcon/Icon.php