Page Time: 0.3295s

Memory: 12.9095 MB (Peak: 13.6238 MB)

Queries (27, time: 0.0323s, 9.8%)

  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.000982
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 26Using where
  2. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: brmsModernStatisticCache
    Run Time: 0.000231
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  3. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: br_extra_navigaton_menu
    Run Time: 0.000200
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  4. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('brListenerClasses', 'brBriviumAddOns')
    Run Time: 0.000174
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 2Using where
  5. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000284
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  6. SELECT user.*
    	,
    		user_profile.*,
    		user_option.*,
    		user_privacy.*,
    		permission_combination.cache_value AS global_permission_cache,
    		IF (session_activity.view_date IS NULL, user.last_activity, session_activity.view_date) AS effective_last_activity,
    		session_activity.view_date, session_activity.controller_name, session_activity.controller_action, session_activity.params, session_activity.ip,
    		0 AS following_0
    FROM xf_user AS user
    
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = user.user_id)
    		LEFT JOIN xf_user_option AS user_option ON
    			(user_option.user_id = user.user_id)
    		LEFT JOIN xf_user_privacy AS user_privacy ON
    			(user_privacy.user_id = user.user_id)
    		LEFT JOIN xf_permission_combination AS permission_combination ON
    			(permission_combination.permission_combination_id = user.permission_combination_id)
    		LEFT JOIN xf_session_activity AS session_activity ON
    			(session_activity.user_id = user.user_id AND session_activity.unique_key = user.user_id)
    WHERE user.user_id = ?
    Params: 871
    Run Time: 0.004035
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEuser_profileconstPRIMARYPRIMARY4const1 
    SIMPLEuser_optionconstPRIMARYPRIMARY4const1 
    SIMPLEuser_privacyconstPRIMARYPRIMARY4const1 
    SIMPLEpermission_combinationconstPRIMARYPRIMARY4const1 
    SIMPLEsession_activityconstPRIMARY   1Impossible ON condition
  7. SELECT user_field.*
    	,
    	field_value.field_value
    FROM xf_user_field AS user_field
    
    	LEFT JOIN xf_user_field_value AS field_value ON
    		(field_value.field_id = user_field.field_id AND field_value.user_id = 871)
    WHERE (user_field.display_group <> 'preferences' AND user_field.viewable_profile = 1)
    ORDER BY user_field.display_group, user_field.display_order
    Run Time: 0.001838
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_fieldALLdisplay_group_order   1Using where; Using filesort
    SIMPLEfield_valueeq_refPRIMARY,field_idPRIMARY31const,thucphamforum_db.user_field.field_id1 
  8. SELECT COUNT(*)
    FROM xf_user_follow
    WHERE follow_user_id = ?
    Params: 871
    Run Time: 0.001899
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_user_followreffollow_user_idfollow_user_id4const1Using index
  9. SELECT user.*,
    	user_profile.*,
    	user_option.*
    FROM xf_user_follow AS user_follow
    INNER JOIN xf_user AS user ON
    	(user.user_id = user_follow.user_id AND user.is_banned = 0)
    INNER JOIN xf_user_profile AS user_profile ON
    	(user_profile.user_id = user.user_id)
    INNER JOIN xf_user_option AS user_option ON
    	(user_option.user_id = user.user_id)
    WHERE user_follow.follow_user_id = ?
    ORDER BY RAND()
     LIMIT 6
    Params: 871
    Run Time: 0.002761
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_followrefPRIMARY,follow_user_idfollow_user_id4const1Using index; Using temporary; Using filesort
    SIMPLEuser_optioneq_refPRIMARYPRIMARY4thucphamforum_db.user_follow.user_id1 
    SIMPLEusereq_refPRIMARYPRIMARY4thucphamforum_db.user_follow.user_id1Using where
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4thucphamforum_db.user_follow.user_id1 
  10. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: a623fdf04bddd2b7a5d153c3064a9192, , 1511082954
    Run Time: 0.000315
  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_Member, Member, valid, user_id=871, 1511079354,
    Run Time: 0.001883
  12. SELECT br_extra_menu.*
    	
    FROM xf_br_extra_navigation_menu AS br_extra_menu
    	
    WHERE (br_extra_menu.key_navigation_tab IN('resources'))
    ORDER BY br_extra_menu.location
    Run Time: 0.000414
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEbr_extra_menuALL    4Using where; Using filesort
  13. 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', 'BRMS_ModernStatistic', 'BRMS_modern_statistic_header', 'wf_widget_wrapper', 'wf_widget_xfrm_resources', 'wf_widget_stats', 'HQCDB_forum_list_nodes', 'HQCDB_ad_sidebar_top', 'HQCDB_button_top_ctrl', 'member_view', 'nat_childlinks')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 2
    Run Time: 0.000579
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 17Using where
  14. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('wfc__1_member_view', 'wfc_d9b89f64814c0e2734292')
    Run Time: 0.000581
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 2Using where
  15. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('wfc__1_member_view_lock')
    Run Time: 0.000347
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  16. INSERT INTO xf_data_registry
    	(data_key, data_value)
    VALUES
    	(?, ?)
    ON DUPLICATE KEY UPDATE
    	data_value = VALUES(data_value)
    Params: wfc__1_member_view_lock, a:1:{s:19:"member_view_lock_22";a:2:{s:4:"html";s:1:"1";s:4:"time";i:1511079354;}}
    Run Time: 0.004267
  17. SELECT resource_category.*
    	,
    	permission.cache_value AS category_permission_cache
    FROM xf_resource_category AS resource_category
    
    	LEFT JOIN xf_permission_cache_content AS permission
    		ON (permission.permission_combination_id = 1
    			AND permission.content_type = 'resource_category'
    			AND permission.content_id = resource_category.resource_category_id)
    ORDER BY resource_category.lft
    Run Time: 0.000618
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEresource_categoryALL    2Using filesort
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,thucphamforum_db.resource_category.resource_category_id1 
  18. SELECT resource.*
    	,
    	category.*, category.last_update AS category_last_update, resource.last_update,
    	resource_update.message AS description,
    	user.*, user_profile.*, IF(user.username IS NULL, resource.username, user.username) AS username
    FROM xf_resource AS resource
    
    	LEFT JOIN xf_resource_category AS category ON
    		(category.resource_category_id = resource.resource_category_id)
    	LEFT JOIN xf_resource_update AS resource_update ON
    		(resource_update.resource_update_id = resource.description_update_id)
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = resource.user_id)
    	LEFT JOIN xf_user_profile AS user_profile ON
    		(user_profile.user_id = resource.user_id)
    WHERE (resource.resource_category_id IN (1, 2)) AND (resource.resource_state IN ('visible'))
    ORDER BY resource.resource_date DESC
     LIMIT 10
    Run Time: 0.001682
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEresourceALLcategory_last_update,category_rating_weighted   1Using where; Using filesort
    SIMPLEcategoryeq_refPRIMARYPRIMARY4thucphamforum_db.resource.resource_category_id1 
    SIMPLEresource_updateeq_refPRIMARYPRIMARY4thucphamforum_db.resource.description_update_id1 
    SIMPLEusereq_refPRIMARYPRIMARY4thucphamforum_db.resource.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4thucphamforum_db.resource.user_id1 
  19. INSERT INTO xf_data_registry
    	(data_key, data_value)
    VALUES
    	(?, ?)
    ON DUPLICATE KEY UPDATE
    	data_value = VALUES(data_value)
    Params: wfc__1_member_view, a:1:{s:14:"member_view_22";a:2:{s:4:"html";s:0:"";s:4:"time";i:1511079354;}}
    Run Time: 0.002182
  20. INSERT INTO xf_data_registry
    	(data_key, data_value)
    VALUES
    	(?, ?)
    ON DUPLICATE KEY UPDATE
    	data_value = VALUES(data_value)
    Params: wfc__1_member_view_lock, a:1:{s:19:"member_view_lock_22";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1511079354;}}
    Run Time: 0.001699
  21. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: boardTotals
    Run Time: 0.000504
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  22. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('HQCDB_button_top_ctrl', 'BRENM_extra_navigation_menu_2', 'resources_tab_links', 'BRENM_extra_navigation_menu_3', 'nat_linkstemplate', 'bdimage_widget_threads', 'wf_widget_threads', 'wf_hook_moderator_bar', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 2
    Run Time: 0.000417
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 9Using where
  23. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('HQCDB_button_top_ctrl', 'HQCDB_navigation_tabs_forums')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 2
    Run Time: 0.000214
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 2Using where
  24. SELECT list.*
    
    FROM `xf_bdcontentlist_list` AS list
    
    WHERE (list.list_id = 7)
    Run Time: 0.000267
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLElistconstPRIMARYPRIMARY4const1 
  25. SELECT item.*
    
    FROM `xf_bdcontentlist_item` AS item
    
    WHERE (item.list_id = 7) AND (item.item_content_type IN ('thread', 'post')) AND (item.item_date < 1511079354)
    ORDER BY item.item_date DESC
     LIMIT 8
    Run Time: 0.003510
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEitemrangelist_id_item_content_type_item_content_id,list_id_item_datelist_id_item_date8 1Using where
  26. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('HQCDB_button_top_ctrl', 'HQCDB_ad_sidebar_bottom')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 2
    Run Time: 0.000247
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 2Using where
  27. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('HQCDB_button_top_ctrl', 'nat_bodyjs')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 2
    Run Time: 0.000213
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 2Using where

Included Files (153, 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/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/NodesAsTabs/Listen.php
  33. library/XenResource/Listener/Proxy.php
  34. library/Brivium/ModernStatistic/EventListeners/Listener.php
  35. library/Brivium/BriviumHelper/EventListeners.php
  36. library/Brivium/BriviumHelper/9990071/EventListeners.php
  37. library/bdImage/Listener.php
  38. library/WidgetFramework/Listener.php
  39. library/Kid/Listener/Model.php
  40. library/EWRporta/Listener/Model.php
  41. library/bdContentList/Listener.php
  42. library/Brivium/ModernStatistic/ModernStatistic.php
  43. library/Brivium/ExtraNavigationMenu/EventListeners/Listener.php
  44. library/WidgetFramework/Option.php
  45. library/Sedo/AgentTracer/Listener/InitDependencies.php
  46. library/XenForo/Router.php
  47. library/XenForo/Route/Filter.php
  48. library/XenForo/Route/Interface.php
  49. library/XenForo/Route/ResponseSuffix.php
  50. library/XenForo/Route/Prefix.php
  51. library/XenForo/Route/Prefix/Members.php
  52. library/EWRporta/Listener/Route.php
  53. library/XenForo/RouteMatch.php
  54. library/XenForo/ControllerPublic/Member.php
  55. library/XenForo/ControllerPublic/Abstract.php
  56. library/XenForo/Controller.php
  57. library/Vinavb/CustomNodeIcon/Listener.php
  58. library/VietXf/MoreThread/Listener.php
  59. library/Sedo/AgentTracer/Listener/ControllerPublic.php
  60. library/EWRporta/Listener/Controller.php
  61. library/XenResource/Listener/Proxy/ControllerMember.php
  62. library/XenForo/Input.php
  63. library/XenForo/Session.php
  64. library/XenForo/Helper/Ip.php
  65. library/XenForo/Visitor.php
  66. library/XenForo/Model/User.php
  67. library/WidgetFramework/XenForo/Model/User.php
  68. library/Brivium/ModernStatistic/Model/User.php
  69. library/XenResource/Listener/Proxy/ModelUser.php
  70. library/XenForo/Permission.php
  71. library/XenForo/Helper/Php.php
  72. library/XenForo/Phrase.php
  73. library/XenForo/Locale.php
  74. library/Sedo/DetectBrowser/Listener/Visitor.php
  75. library/Sedo/DetectBrowser/Helper/MobileDetect.php
  76. library/XenForo/ControllerResponse/Reroute.php
  77. library/XenForo/ControllerResponse/Abstract.php
  78. library/XenForo/ControllerHelper/UserProfile.php
  79. library/XenForo/ControllerHelper/Abstract.php
  80. library/XenForo/Model/UserProfile.php
  81. library/XenForo/Model/ProfilePost.php
  82. library/WidgetFramework/XenForo/Model/ProfilePost.php
  83. library/XenForo/Model/UserField.php
  84. library/XenForo/Model/UserIgnore.php
  85. library/XenForo/Model/Conversation.php
  86. library/XenForo/ControllerResponse/View.php
  87. library/XenForo/Helper/Cookie.php
  88. library/XenForo/ViewRenderer/HtmlPublic.php
  89. library/XenForo/ViewRenderer/Abstract.php
  90. library/XenForo/Template/Public.php
  91. library/XenForo/Template/Abstract.php
  92. library/WidgetFramework/Core.php
  93. library/XenForo/Model/Moderator.php
  94. library/XenResource/Listener/Proxy/ModelModerator.php
  95. library/HQCoder/DangBai/EventListeners/Listener.php
  96. library/WidgetFramework/Model/Widget.php
  97. library/WidgetFramework/Helper/LayoutEditor.php
  98. library/WidgetFramework/Helper/Sort.php
  99. library/bdContentList/ViewPublic/Fake.php
  100. library/XenForo/ViewPublic/Base.php
  101. library/XenForo/View.php
  102. library/XenForo/ViewPublic/Member/View.php
  103. library/Kid/Listener/View.php
  104. library/EWRporta/Listener/ViewPublic.php
  105. library/WidgetFramework/XenForo/View1.php
  106. library/XenForo/BbCode/Parser.php
  107. library/XenForo/BbCode/Formatter/Base.php
  108. library/EWRporta/Listener/BbCode.php
  109. library/WidgetFramework/XenForo/BbCode/Formatter/Base.php
  110. library/EWRporta/BbCode/Formatter.php
  111. library/XenForo/BbCode/TextWrapper.php
  112. library/XenResource/Listener/Template.php
  113. library/WidgetFramework/WidgetRenderer.php
  114. library/WidgetFramework/WidgetRenderer/XFRM/Resources.php
  115. library/WidgetFramework/Model/Cache.php
  116. library/WidgetFramework/WidgetRenderer/Stats.php
  117. library/WidgetFramework/WidgetRenderer/HtmlWithoutWrapper.php
  118. library/WidgetFramework/WidgetRenderer/Html.php
  119. library/Sedo/AgentTracer/Listener/Preloader.php
  120. library/EWRporta/Listener/NavTabs.php
  121. library/Brivium/ExtraNavigationMenu/Model/NavigationMenu.php
  122. library/NodesAsTabs/NavTabs.php
  123. library/NodesAsTabs/Model/Options.php
  124. library/XenForo/Model/Node.php
  125. library/Brivium/ModernStatistic/Model/Node.php
  126. library/XenForo/Route/Prefix/Forums.php
  127. library/XenForo/Route/Prefix/Categories.php
  128. library/bdContentList/WidgetRenderer/bdImage/Threads.php
  129. library/bdContentList/WidgetRenderer/Threads.php
  130. library/bdContentList/WidgetRenderer/ThreadsAndPosts.php
  131. library/WidgetFramework/WidgetRenderer/Threads.php
  132. library/bdImage/WidgetRenderer/Threads.php
  133. library/WidgetFramework/Template/Extended.php
  134. library/Brivium/ModernStatistic/Model/ModernStatistic.php
  135. library/Sedo/AgentTracer/Listener/Templates.php
  136. library/EWRporta/Listener/Template.php
  137. library/XenResource/Model/Category.php
  138. library/XenResource/Model/Resource.php
  139. library/WidgetFramework/Helper/String.php
  140. library/XenForo/Model/Counters.php
  141. library/XenForo/Helper/Criteria.php
  142. library/XenForo/Debug.php
  143. library/HQCoder/DangBai/Route/Prefix/DangBai.php
  144. library/XenForo/Model/Thread.php
  145. library/bdImage/XenForo/Model/Thread.php
  146. library/WidgetFramework/XenForo/Model/Thread.php
  147. library/Kid/Model/Thread.php
  148. library/bdContentList/XenForo/Model/Thread.php
  149. library/Brivium/ModernStatistic/Model/Thread.php
  150. library/bdContentList/Model/List.php
  151. library/bdContentList/Model/Item.php
  152. library/XenForo/ViewRenderer/Json.php
  153. library/Vinavb/CustomNodeIcon/Icon.php