Page Time: 0.0390s

Memory: 3.7477 MB (Peak: 4.9249 MB)

Queries (21, time: 0.0061s, 15.5%)

  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.000360
    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.000080
    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: 710
    Run Time: 0.000355
    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.000185
    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: 710
    Run Time: 0.002272
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostrefthread_id_post_date,thread_id_positionthread_id_post_date4const1Using where; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4data_anhhuy.post.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4data_anhhuy.post.user_id1 
    SIMPLEuser_privacyeq_refPRIMARYPRIMARY4data_anhhuy.post.user_id1 
    SIMPLEsession_activityeq_refPRIMARYPRIMARY22data_anhhuy.post.user_id,func1Using where
  6. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 710
    Run Time: 0.000101
  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 = 3 AND xf_thread.thread_id != 710 AND xf_thread.post_date > 1568282013 AND xf_thread.post_date < 1576058013 AND xf_thread.discussion_state = 'visible'
    ORDER BY xf_thread.view_count DESC
    LIMIT 4
    Run Time: 0.000505
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadrefPRIMARY,node_id_last_post_date,node_id_sticky_state_last_post,post_datenode_id_last_post_date4const56Using index condition; Using where; Using filesort
    SIMPLExf_posteq_refPRIMARYPRIMARY4data_anhhuy.xf_thread.first_post_id1 
    SIMPLExf_nodeconstPRIMARYPRIMARY4const1 
  8. 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 (2067)
                    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.000304
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4data_anhhuy.attachment.data_id1Using where
  9. SELECT
    	post.*
    	
    FROM xf_post AS post
    WHERE post.post_id IN (2067)
    Run Time: 0.000240
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
  10. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: f8110bda96d860ab4061684ad2638334, , 1576061613
    Run Time: 0.000204
  11. 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=710, 1576058013,
    Run Time: 0.000115
  12. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: uix_nodeCache
    Run Time: 0.000078
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLE       Impossible WHERE noticed after reading const tables
  13. SELECT *
    FROM uix_node_layout
    Run Time: 0.000064
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuix_node_layoutALL    2 
  14. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: uix_nodeCache
    Run Time: 0.000066
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLE       Impossible WHERE noticed after reading const tables
  15. SELECT options.*, node.*,
    	permission.cache_value AS node_permission_cache
    FROM nat_options AS options
    INNER JOIN xf_node AS node
    	ON (node.node_id = options.node_id)
    LEFT JOIN xf_permission_cache_content AS permission
    	ON (permission.permission_combination_id = ?
    	AND permission.content_type = 'node'
    	AND permission.content_id = options.node_id)
    WHERE nat_display_tab = 1
    ORDER BY options.nat_display_order
    ASC
    Params: 1
    Run Time: 0.000167
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEoptionsALLnode_id   18Using where; Using filesort
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,data_anhhuy.options.node_id1Using where
    SIMPLEnodeeq_refPRIMARYPRIMARY4data_anhhuy.options.node_id1 
  16. SELECT node.*,
    	node_field.uix_node_icons,
    	node_field.uix_styling,
    	node_field.collapsed,
    	node_field.inheritClass,
    	node_field.inheritStyling
    FROM xf_node AS node
    LEFT JOIN uix_node_fields AS node_field ON (node.node_id = node_field.node_id)
    Run Time: 0.000141
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnodeALL    18 
    SIMPLEnode_fieldeq_refPRIMARYPRIMARY4data_anhhuy.node.node_id1 
  17. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'tinhte_xentag_bb_code_tag_tag', 'tinhte_xentag_bb_code_tag_hashtag', 'bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'bb_code_tag_spoiler', 'sonnb_up_thread_view', 'sonnb_up_thread_view_single', 'BRQCT_forum_list_nodes', 'BRQCT_ad_sidebar_top', 'BRQCT_button_top_ctrl', 'wf_widget_wrapper', 'wf_widget_threads', '_widget_renderer_template_13', 'wf_widget_share_page', 'thread_view', 'sonnb_up_thread_nav_visitor', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 42, 3
    Run Time: 0.000456
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 21Using where
  18. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('BRQCT_button_top_ctrl', 'VNXF_More_Thread')
    	AND style_id = ?
    	AND language_id = ?
    Params: 42, 3
    Run Time: 0.000116
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 2Using where
  19.                 SELECT *
                    FROM `xf_widgetframework_cache`
                    WHERE cache_id IN ('thread_view_pc1')
    Run Time: 0.000067
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_widgetframework_cacheconstPRIMARYPRIMARY767const1 
  20. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('BRQCT_button_top_ctrl', 'BRQCT_navigation_tabs_forums')
    	AND style_id = ?
    	AND language_id = ?
    Params: 42, 3
    Run Time: 0.000102
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 2Using where
  21. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('BRQCT_button_top_ctrl', 'nat_bodyjs')
    	AND style_id = ?
    	AND language_id = ?
    Params: 42, 3
    Run Time: 0.000079
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 2Using where

Included Files (179, XenForo Classes: 64)

  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/NodesAsTabs/Listen.php
  34. library/ThemeHouse/Listener/InitDependencies.php
  35. library/ThemeHouse/Listener/InitDependencies/20170101.php
  36. library/VNXF/MoreThread/Listener.php
  37. library/Audentio/UIX/Listener/CodeEvent.php
  38. library/ThemeHouse/Listener/ControllerPreDispatch/20150911.php
  39. library/WidgetFramework/Listener.php
  40. library/WidgetFramework/Option.php
  41. library/Audentio/UIX/vendor/autoload.php
  42. library/Audentio/UIX/vendor/composer/autoload_real.php
  43. library/Audentio/UIX/vendor/composer/ClassLoader.php
  44. library/Audentio/UIX/vendor/composer/autoload_namespaces.php
  45. library/Audentio/UIX/vendor/composer/autoload_psr4.php
  46. library/Audentio/UIX/vendor/composer/autoload_classmap.php
  47. library/XenForo/Router.php
  48. library/XenForo/Route/Filter.php
  49. library/XenForo/Route/Interface.php
  50. library/XenForo/Route/ResponseSuffix.php
  51. library/XenForo/Route/Prefix.php
  52. library/XenForo/Route/Prefix/Threads.php
  53. library/XenForo/RouteMatch.php
  54. library/XenForo/ControllerPublic/Thread.php
  55. library/XenForo/ControllerPublic/Abstract.php
  56. library/XenForo/Controller.php
  57. library/ThemeHouse/Thumbnails/Listener/LoadClass.php
  58. library/ThemeHouse/Listener/LoadClass.php
  59. library/ThemeHouse/Listener/LoadClass/20150518.php
  60. library/sonnbUpThread/Listener.php
  61. library/Tinhte/XenTag/Listener.php
  62. library/VNXF/MoreThread/ControllerPublic/Thread.php
  63. library/ThemeHouse/Thumbnails/Extend/XenForo/ControllerPublic/Thread.php
  64. library/sonnbUpThread/ControllerPublic/Thread.php
  65. library/NodesAsTabs/ControllerPublic/Thread.php
  66. library/Tinhte/XenTag/XenForo/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/Dadparvar/notifications/Listener/LoadClass.php
  74. library/Audentio/UIX/Model/User.php
  75. library/Dadparvar/notifications/Extend/XenForo/Model/User.php
  76. library/XenForo/Permission.php
  77. library/XenForo/Helper/Php.php
  78. library/XenForo/Phrase.php
  79. library/XenForo/Locale.php
  80. library/XenForo/ControllerHelper/ForumThreadPost.php
  81. library/XenForo/ControllerHelper/Abstract.php
  82. library/XenForo/Model/Thread.php
  83. library/Audentio/UIX/Model/Thread.php
  84. library/sonnbUpThread/Model/Thread.php
  85. library/Tinhte/XenTag/XenForo/Model/Thread.php
  86. library/XenForo/Model/Forum.php
  87. library/Tinhte/XenTag/XenForo/Model/Forum.php
  88. library/Tinhte/XenTag/Constants.php
  89. library/XenForo/Helper/String.php
  90. library/XenForo/Model/Post.php
  91. library/Audentio/UIX/Model/Post.php
  92. library/XenForo/Model/Attachment.php
  93. library/ThemeHouse/Thumbnails/Extend/XenForo/Model/Attachment.php
  94. library/XenForo/Model/Node.php
  95. library/Audentio/UIX/Model/Node.php
  96. library/ThemeHouse/Thumbnails/Extend/XenForo/Model/Node.php
  97. library/XenForo/Route/Prefix/Categories.php
  98. library/XenForo/Route/Prefix/Forums.php
  99. library/XenForo/ControllerResponse/View.php
  100. library/XenForo/ControllerResponse/Abstract.php
  101. library/VNXF/MoreThread/Model.php
  102. library/ThemeHouse/Thumbnails/Model/Thumbnails.php
  103. library/XenForo/Helper/Cookie.php
  104. library/NodesAsTabs/API.php
  105. library/NodesAsTabs/Model/Options.php
  106. library/XenForo/ViewRenderer/HtmlPublic.php
  107. library/XenForo/ViewRenderer/Abstract.php
  108. library/XenForo/Template/Public.php
  109. library/XenForo/Template/Abstract.php
  110. library/WidgetFramework/Core.php
  111. library/XenForo/Model/Moderator.php
  112. library/Brivium/QuickCreateThread/EventListeners/Listener.php
  113. library/Brivium/BriviumLibrary/EventListeners.php
  114. library/WidgetFramework/Model/Widget.php
  115. library/WidgetFramework/Helper/Sort.php
  116. library/XenForo/ViewPublic/Thread/View.php
  117. library/XenForo/ViewPublic/Base.php
  118. library/XenForo/View.php
  119. library/Muare/MuareMetaOg/Listener.php
  120. library/Tinhte/XenTag/XenForo/ViewPublic/Thread/View.php
  121. library/Muare/MuareMetaOg/ViewPublic/Thread/View.php
  122. library/Zend/Loader.php
  123. library/Zend/Uri/Http.php
  124. library/Zend/Validate/Hostname.php
  125. library/Zend/Validate/Abstract.php
  126. library/Zend/Validate/Interface.php
  127. library/Zend/Validate/Ip.php
  128. library/Zend/Validate/Hostname/Com.php
  129. library/XenForo/BbCode/Parser.php
  130. library/XenForo/BbCode/Formatter/Base.php
  131. library/XuanHieu/SocialLocker/EventListener/Listener.php
  132. library/XuanHieu/SocialLocker/BbCode/Formatter/Base.php
  133. library/Tinhte/XenTag/XenForo/BbCode/Formatter/Base.php
  134. library/WidgetFramework/XenForo/BbCode/Formatter/Base.php
  135. library/XenForo/ViewPublic/Helper/Message.php
  136. library/XenForo/BbCode/TextWrapper.php
  137. library/Tinhte/XenTag/ContentWrapper/Post.php
  138. library/Tinhte/XenTag/ContentWrapper/Abstract.php
  139. library/Tinhte/XenTag/Option.php
  140. library/Tinhte/XenTag/Helper.php
  141. library/sonnbUpThread/Model/Log.php
  142. library/ThemeHouse/Thumbnails/Listener/TemplateCreate.php
  143. library/ThemeHouse/Listener/TemplateCreate.php
  144. library/ThemeHouse/Listener/TemplateCreate/20150106.php
  145. library/Audentio/UIX/Model/NodeLayout.php
  146. library/WidgetFramework/WidgetRenderer.php
  147. library/WidgetFramework/WidgetRenderer/Threads.php
  148. library/ThemeHouse/Thumbnails/Extend/WidgetFramework/WidgetRenderer/Threads.php
  149. library/WidgetFramework/Helper/PermissionCombination.php
  150. library/WidgetFramework/Model/Cache.php
  151. library/WidgetFramework/WidgetRenderer/Template.php
  152. library/WidgetFramework/Model/WidgetRenderer/Template.php
  153. library/WidgetFramework/WidgetRenderer/ShareThisPage.php
  154. library/XenForo/Route/Prefix/Members.php
  155. library/NodesAsTabs/NavTabs.php
  156. library/XenForo/Route/Prefix/LinkForums.php
  157. library/XenForo/Model/StyleProperty.php
  158. library/WidgetFramework/Template/Extended.php
  159. library/Dadparvar/notifications/Listener/Template.php
  160. library/Brivium/QuickCreateThread/Route/Prefix/CreateThread.php
  161. library/XenForo/Route/Prefix/Tags.php
  162. library/Tinhte/Html5Uploader/Listener.php
  163. library/ThemeHouse/Thumbnails/Listener/TemplateHook.php
  164. library/ThemeHouse/Listener/TemplateHook.php
  165. library/ThemeHouse/Listener/TemplateHook/20150106.php
  166. library/ThemeHouse/Listener/Template.php
  167. library/ThemeHouse/Listener/Template/20150106.php
  168. library/XenForo/Route/Prefix/Posts.php
  169. library/Tinhte/XenTag/Integration.php
  170. library/ThemeHouse/Thumbnails/Listener/TemplatePostRender.php
  171. library/ThemeHouse/Listener/TemplatePostRender.php
  172. library/ThemeHouse/Listener/TemplatePostRender/20150106.php
  173. library/WidgetFramework/Helper/String.php
  174. library/XenForo/Helper/File.php
  175. library/WidgetFramework/DataWriter/Widget.php
  176. library/XenForo/DataWriter.php
  177. library/XenForo/Debug.php
  178. library/Tinhte/Html5Uploader/Template.php
  179. library/XenForo/ViewRenderer/Json.php