Page Time: 0.1875s

Memory: 17.5936 MB (Peak: 18.4324 MB)

Queries (20, time: 0.0072s, 3.9%)

  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.000915
    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.000170
    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_is_watched
    FROM xf_thread AS thread
    
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = thread.user_id)
    WHERE thread.thread_id = ?
    Params: 18961
    Run Time: 0.000350
    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: 37
    Run Time: 0.000336
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY85const,const,const1 
  5. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: dark_postrating_ratings
    Run Time: 0.000154
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY77const1 
  6. SELECT post.*
    	,
    		user.*, IF(user.username IS NULL, post.username, user.username) AS username,
    		user_profile.*,
    		0 AS like_date, (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = post.post_id and pr.rating = 1) as dark_postrating_1_count
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = post.post_id and pr.rating = 14) as dark_postrating_14_count
    
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (1,14)) as positive_rating_count
    	,
    pr2.rating
    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 dark_postrating pr2 ON (post.post_id = pr2.post_id and pr2.user_id = 0)
    WHERE post.thread_id = ?
    	 AND (post.position >= 0 AND post.position < 15) 
    	AND (post.message_state IN ('visible'))
    ORDER BY post.position ASC, post.post_date ASC
    Params: 18961
    Run Time: 0.001132
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYpostrangethread_id_post_date,thread_id_positionthread_id_position8 1Using where; Using filesort
    PRIMARYusereq_refPRIMARYPRIMARY4bamvn_bamvn.post.user_id1 
    PRIMARYuser_profileeq_refPRIMARYPRIMARY4bamvn_bamvn.post.user_id1 
    PRIMARYpr2eq_refpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8bamvn_bamvn.post.post_id,const1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4bamvn_bamvn.post.user_id1Using where
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8bamvn_bamvn.post.post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8bamvn_bamvn.post.post_id,const1Using index
  7. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 18961
    Run Time: 0.000073
  8. SELECT *
    FROM xf_node
    WHERE lft < ? AND rgt > ?
    ORDER BY lft ASC
    Params: 112, 113
    Run Time: 0.000286
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeALLlft   71Using where; Using filesort
  9. SELECT thread_id, title, last_post_id , post_date 
    FROM `xf_thread` 
    WHERE node_id='37' 
    ORDER BY post_date DESC 
    LIMIT 0, 6
    Run Time: 0.001658
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadrefnode_id_last_post_date,node_id_sticky_last_post_datenode_id_last_post_date4const1179Using where; Using filesort
  10. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: e142c890156ae5a509bb0a6c8b3d1309, a:7:{s:12:"sessionStart";i:1469631259;s:2:"ip";i:918960795;s:9:"userAgent";s:39:"CCBot/2.0 (http://commoncrawl.org/faq/)";s:7:"isRobot";b:0;s:16:"previousActivity";i:0;s:10:"isIpBanned";b:0;s:13:"isDiscouraged";b:0;}, 1469634859
    Run Time: 0.000175
  11. 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, 918960795, 918960795, XenForo_ControllerPublic_Thread, Index, valid, thread_id=18961, 1469631259
    Run Time: 0.000069
  12. select value, hits 
    from dark_azucloud_terms_pages pages 
    left join dark_azucloud_terms terms on pages.term_id = terms.id 
    where route = ? and terms.block = 0 and terms.value is not null and last_clicked > ? 
    order by hits desc, last_clicked desc
    limit ?
    Params: threads/tiem-banh-hoang-tu-be-phan-2-tap-50-tap-51-tap-52-tap-53-54-55-56-57-58-60-61-62-63-64-65.18961/, 1467039259, 10
    Run Time: 0.000312
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpagesrefterm_id_route,route,route_hits_last_clickedroute_hits_last_clicked452const2Using where
    SIMPLEtermseq_refPRIMARY,value,blockPRIMARY4bamvn_bamvn.pages.term_id1Using where
  13. SELECT *
    FROM kingk_bbcm
    ORDER BY tag
    Run Time: 0.000331
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEkingk_bbcmALL    5Using filesort
  14. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('vfchh_js', 'page_nav', 'bb_code_tag_vfchh', 'tinhte_xentag_bb_code_tag_tag', 'bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'doublepost_bb_code_tag', 'tinhte_xentag_hook_thread_view_pagenav_before', 'tinhte_xentag_hook_thread_view_form_before', 'tinhte_xentag_hook_thread_view_qr_before', 'tinhte_xentag_hook_thread_view_qr_after', 'wf_widget_wrapper', 'tinhte_xentag_widget_tagged_threads', 'wf_widget_share_page', 'MoreThread_main', 'thread_view', 'EWRmedio_Navtabs', 'xenCODE_Meta_Keywords', 'tinhte_xentag_hook_message_content', 'tinhte_xentag_hook_message_notices', 'tinhte_xentag_hook_post_private_controls', 'tinhte_xentag_hook_post_public_controls', 'wf_hook_moderator_bar', 'wf_revealer', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 4, 3
    Run Time: 0.000396
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY160 28Using where
  15. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('media')
    Params: 3
    Run Time: 0.000146
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY231const,const1 
  16. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('dark_postrating')
    	AND style_id = ?
    	AND language_id = ?
    Params: 4, 3
    Run Time: 0.000218
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY160const,const,const1 
  17. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('dark_postrating_message_user_info')
    	AND style_id = ?
    	AND language_id = ?
    Params: 4, 3
    Run Time: 0.000109
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY160const,const,const1 
  18. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('wfc__1_thread_view')
    Run Time: 0.000105
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY77const1 
  19. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('dark_azucloud')
    	AND style_id = ?
    	AND language_id = ?
    Params: 4, 3
    Run Time: 0.000183
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY160const,const,const1 
  20. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('bbcm_js')
    	AND style_id = ?
    	AND language_id = ?
    Params: 4, 3
    Run Time: 0.000131
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY160const,const,const1 

Included Files (194, XenForo Classes: 60)

  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/EWRmedio/Listener/Init.php
  33. library/XenForo/DataWriter/User.php
  34. library/XenForo/DataWriter.php
  35. library/Tinhte/XenTag/Listener.php
  36. library/EWRporta/Listener/Init.php
  37. library/EWRporta/Helper/Index.php
  38. library/WidgetFramework/Listener.php
  39. library/WidgetFramework/Option.php
  40. library/Tinhte/AttachImageOptimization/Listener.php
  41. library/XenForo/Router.php
  42. library/XenForo/Route/ResponseSuffix.php
  43. library/XenForo/Route/Interface.php
  44. library/XenForo/Route/Prefix.php
  45. library/WidgetFramework/Route/Filter/PageX.php
  46. library/XenForo/Route/Prefix/Threads.php
  47. library/EWRporta/Listener/Route.php
  48. library/EWRporta/Route/Thread.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/vtLai/BlockBadWord/Listen.php
  54. library/EWRporta/Listener/Controller.php
  55. library/Dark/PostRating/EventListener.php
  56. library/EWRmedio/Listener/ControllerPublic.php
  57. library/VfcodersHH/Listener/LoadClass.php
  58. library/XenPlaza/XPlimitLink/Listener/Listener.php
  59. library/Borbole/AdminContentProtection/Listener/Listener.php
  60. library/TMS/Listener/Listener.php
  61. library/KingK/BbCodeManager/EventListener/BbCode.php
  62. library/DoublePost/Listener/LoadClassController.php
  63. library/VietXf/MoreThread/Listener.php
  64. library/vtLai/BlockBadWord/ThreadHandler.php
  65. library/EWRporta/ControllerPublic/Thread.php
  66. library/EWRmedio/ControllerPublic/Thread.php
  67. library/VfcodersHH/ControllerPublic/Thread.php
  68. library/XenPlaza/XPlimitLink/ControllerPublic/Thread.php
  69. library/Borbole/AdminContentProtection/ControllerPublic/Thread.php
  70. library/Tinhte/XenTag/XenForo/ControllerPublic/Thread.php
  71. library/WidgetFramework/XenForo/ControllerPublic/Thread.php
  72. library/DoublePost/ControllerPublic/Thread.php
  73. library/VietXf/MoreThread/ControllerPublic/Thread.php
  74. library/XenForo/Input.php
  75. library/XenForo/Session.php
  76. library/XenForo/Visitor.php
  77. library/XenForo/Model/User.php
  78. library/DoublePost/Listener/LoadClassModel.php
  79. library/HDJuegos/WaterMarkAdd/Listener.php
  80. library/VietXfAdvStats/Listener.php
  81. library/EWRporta/Listener/Model.php
  82. library/InfisJSC/TopicStarter/Listener.php
  83. library/WidgetFramework/XenForo/Model/User.php
  84. library/VietXfAdvStats/XenForo/Model/User.php
  85. library/Dark/PostRating/Model/User.php
  86. library/XenForo/Permission.php
  87. library/XenForo/Phrase.php
  88. library/XenForo/Locale.php
  89. library/Cezz/MobileStyleSwitch/Switch.php
  90. library/EWRporta/Model/Perms.php
  91. library/XenForo/ControllerHelper/ForumThreadPost.php
  92. library/XenForo/ControllerHelper/Abstract.php
  93. library/XenForo/Model/Thread.php
  94. library/WidgetFramework/XenForo/Model/Thread.php
  95. library/VietXfAdvStats/XenForo/Model/Thread.php
  96. library/InfisJSC/TopicStarter/Model/Thread.php
  97. library/XenForo/Model/Forum.php
  98. library/XenForo/Helper/String.php
  99. library/XenForo/Model/Post.php
  100. library/DoublePost/Model/Post.php
  101. library/Dark/PostRating/Model/Post.php
  102. library/Tinhte/XenTag/XenForo/Model/Post.php
  103. library/EWRporta/Model/Post.php
  104. library/InfisJSC/TopicStarter/Model/Post.php
  105. library/Dark/PostRating/Model.php
  106. library/XenForo/Model/Attachment.php
  107. library/HDJuegos/WaterMarkAdd/ModelOverride/Attachment.php
  108. library/EWRporta/Model/Attachment.php
  109. library/XenForo/Model/Node.php
  110. library/XenForo/Route/Prefix/Categories.php
  111. library/EWRporta/Route/Categories.php
  112. library/XenForo/Route/BuilderInterface.php
  113. library/XenForo/Route/Prefix/Forums.php
  114. library/Tinhte/XenTag/Model/Tag.php
  115. library/Tinhte/XenTag/Constants.php
  116. library/XenForo/ControllerResponse/View.php
  117. library/XenForo/ControllerResponse/Abstract.php
  118. library/VfcodersHH/Model/Permission.php
  119. library/VfcodersHH/Helper/Parse.php
  120. library/VfcodersHH/Helper/Strip.php
  121. library/VfcodersHH/Helper/Tags.php
  122. library/XenForo/Template/Public.php
  123. library/XenForo/Template/Abstract.php
  124. library/VietXf/MoreThread/Model/MoreThread.php
  125. library/XenForo/Helper/Cookie.php
  126. library/XenForo/ViewRenderer/HtmlPublic.php
  127. library/XenForo/ViewRenderer/Abstract.php
  128. library/WidgetFramework/Core.php
  129. library/XenForo/Model/Moderator.php
  130. library/Dark/TaigaChat/EventListener/Listener.php
  131. library/WidgetFramework/Model/Widget.php
  132. library/WidgetFramework/Helper/Sort.php
  133. library/WidgetFramework/WidgetRenderer.php
  134. library/Dark/AzuCloud/EventListener/FrontControllerPreView.php
  135. library/Dark/AzuCloud/Model/Nakano.php
  136. library/XenForo/ViewPublic/Thread/View.php
  137. library/XenForo/ViewPublic/Base.php
  138. library/XenForo/View.php
  139. library/EWRporta/Listener/ViewPublic.php
  140. library/Tinhte/XenTag/XenForo/ViewPublic/Thread/View.php
  141. library/EWRporta/ViewPublic/Custom.php
  142. library/WidgetFramework/XenForo/View1.php
  143. library/XenForo/BbCode/Parser.php
  144. library/XenForo/BbCode/Formatter/Base.php
  145. library/EWRmedio/Listener/BbCode.php
  146. library/EWRporta/Listener/BbCode.php
  147. library/DoublePost/Listener/LoadClassbbCode.php
  148. library/Tinhte/AttachImageOptimization/BbCode/Formatter/Base.php
  149. library/EWRmedio/BbCode/Formatter.php
  150. library/VfcodersHH/BbCode/Formatter/Base.php
  151. library/EWRporta/BbCode/Formatter.php
  152. library/Tinhte/XenTag/XenForo/BbCode/Formatter/Base.php
  153. library/DoublePost/BbCode/Formatter/Base.php
  154. library/WidgetFramework/XenForo/BbCode/Formatter/Base.php
  155. library/KingK/BbCodeManager/BbCode/Formatter/Base.php
  156. library/KingK/BbCodeManager/Model/CustomBbCode.php
  157. library/XenForo/ViewPublic/Helper/Message.php
  158. library/XenForo/BbCode/TextWrapper.php
  159. library/Tinhte/XenTag/PostMessageWrapper.php
  160. library/xenCODE/MetaKeywords/Listener.php
  161. library/DoublePost/Listener/Hook.php
  162. library/Tinhte/XenTag/WidgetRenderer/TaggedThreads.php
  163. library/WidgetFramework/Model/Cache.php
  164. library/WidgetFramework/WidgetRenderer/HtmlWithoutWrapper.php
  165. library/WidgetFramework/WidgetRenderer/Html.php
  166. library/WidgetFramework/WidgetRenderer/ShareThisPage.php
  167. library/KingK/BbCodeManager/EventListener/Templates/Preloader.php
  168. library/VietXfAdvStats/Model/GetUserGroup.php
  169. library/EWRporta/Route/Index.php
  170. library/XenForo/Route/Prefix/Members.php
  171. library/EWRporta/Listener/NavTabs.php
  172. library/Dark/TaigaChat/EventListener/NavigationTabs.php
  173. library/EWRmedio/Listener/NavTabs.php
  174. library/EWRmedio/Model/Perms.php
  175. library/WidgetFramework/Template/Extended.php
  176. library/KingK/BbCodeManager/EventListener/Templates/InitEditorGrid.php
  177. library/Tinhte/XenTag/Helper.php
  178. library/Tinhte/XenTag/Option.php
  179. library/GFNCoders/UrlRedirector/Listener/Template.php
  180. library/Dark/AzuCloud/EventListener/TemplateHook.php
  181. library/EWRporta/Listener/Template.php
  182. library/EWRporta/Model/Promotes.php
  183. library/EWRmedio/Listener/Template.php
  184. library/EWRmedio/Model/Lists.php
  185. library/VfcodersHH/Listener/Hook.php
  186. library/XenForo/Route/Prefix/Posts.php
  187. library/Tinhte/XenTag/Integration.php
  188. library/Tinhte/XenTag/Route/Prefix/Tags.php
  189. library/WidgetFramework/Helper/String.php
  190. library/WidgetFramework/WidgetRenderer/Empty.php
  191. library/XenForo/Helper/Criteria.php
  192. library/XenForo/Debug.php
  193. library/VietXfAdvStats/Option.php
  194. library/XenForo/ViewRenderer/Json.php