Page Time: 0.1854s

Memory: 5.3411 MB (Peak: 6.6475 MB)

Queries (20, time: 0.0109s, 5.9%)

  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.000688
    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.000151
    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: 19282
    Run Time: 0.000711
    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: 27
    Run Time: 0.000404
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    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: 19282
    Run Time: 0.001485
    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. 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 (26417)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000555
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition; Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4tintucxe_nhansuthainguyen.attachment.data_id1 
  7. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 19282
    Run Time: 0.000185
  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 != 19282 AND xf_thread.post_date < 1558835200 AND xf_thread.discussion_state = 'visible'
    ORDER BY xf_thread.thread_id DESC
    LIMIT 2
    Run Time: 0.001077
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadrangePRIMARY,node_id_last_post_date,node_id_sticky_state_last_post,post_datePRIMARY4 6977Using where
    SIMPLExf_posteq_refPRIMARYPRIMARY4tintucxe_nhansuthainguyen.xf_thread.first_post_id1 
    SIMPLExf_nodeeq_refPRIMARYPRIMARY4tintucxe_nhansuthainguyen.xf_thread.node_id1 
  9. 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 != 19282 AND xf_thread.post_date > 1558230400 AND xf_thread.post_date < 1558835200 AND xf_thread.discussion_state = 'visible'
    ORDER BY xf_thread.view_count DESC
    LIMIT 6
    Run Time: 0.000885
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadrangePRIMARY,node_id_last_post_date,node_id_sticky_state_last_post,post_datepost_date4 37Using index condition; Using where; Using filesort
    SIMPLExf_posteq_refPRIMARYPRIMARY4tintucxe_nhansuthainguyen.xf_thread.first_post_id1 
    SIMPLExf_nodeeq_refPRIMARYPRIMARY4tintucxe_nhansuthainguyen.xf_thread.node_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 (26417)
                    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.001030
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4tintucxe_nhansuthainguyen.attachment.data_id1Using where
  11. SELECT comment.*, user.*
    FROM `xf_post_comments` AS comment
    INNER JOIN xf_user AS user 
    ON (comment.user_id = user.user_id)
    WHERE comment.content_id IN (26417)
    ORDER BY comment.comment_date DESC
    Run Time: 0.000736
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEcommentALL    2Using where; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4tintucxe_nhansuthainguyen.comment.user_id1 
  12. 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 = '26417' AND data.height = 0 AND data.filename LIKE '%.pdf%'
    ORDER BY attachment.content_id, attachment.attach_date
    Run Time: 0.000503
    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
  13. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 5493cd0c86d4c891315c91121e2b5426, , 1558838800
    Run Time: 0.000609
  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, , , XenForo_ControllerPublic_Thread, Index, valid, thread_id=19282, 1558835200,
    Run Time: 0.000391
  15. 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')
    	AND style_id = ?
    	AND language_id = ?
    Params: 6, 2
    Run Time: 0.000223
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 8Using where
  16. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('SV_rrssbSharesThreads', 'wf_widget_wrapper', 'wf_widget_share_page', 'thread_view', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 6, 2
    Run Time: 0.000682
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 5Using where
  17. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('askaquestion_ask_a_question')
    Params: 2
    Run Time: 0.000126
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY106const,const1 
  18. 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.000175
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  19. 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.000142
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  20. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('post_comment_js')
    	AND style_id = ?
    	AND language_id = ?
    Params: 6, 2
    Run Time: 0.000133
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (160, XenForo Classes: 61)

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