Page Time: 0.1565s

Memory: 10.2741 MB (Peak: 11.1013 MB)

Queries (17, time: 0.0160s, 10.2%)

  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.000711
    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.000125
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. 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: 1275
    Run Time: 0.005858
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEuser_profileconstPRIMARYPRIMARY4const1 
    SIMPLEuser_optionconstPRIMARYPRIMARY4const1 
    SIMPLEuser_privacyconstPRIMARYPRIMARY4const1 
    SIMPLEpermission_combinationconstPRIMARYPRIMARY4const1 
    SIMPLEsession_activityALLPRIMARY   212Using where
  4. SELECT COUNT(*)
    FROM xf_profile_post AS profile_post
    
    WHERE (profile_post.profile_user_id = 1275) AND (profile_post.message_state IN ('visible'))
    Run Time: 0.002793
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postrefprofile_user_id_post_dateprofile_user_id_post_date4const10Using where
  5. SELECT profile_post.*
    	,
    	posting_user.*,
    	IF(posting_user.username IS NULL, profile_post.username, posting_user.username) AS username,
    	0 AS like_date
    FROM xf_profile_post AS profile_post
    
    	LEFT JOIN xf_user AS posting_user ON
    		(posting_user.user_id = profile_post.user_id)
    WHERE (profile_post.profile_user_id = 1275) AND (profile_post.message_state IN ('visible'))
    ORDER BY profile_post.post_date DESC
     LIMIT 20
    Run Time: 0.000867
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postrefprofile_user_id_post_dateprofile_user_id_post_date4const10Using where
    SIMPLEposting_usereq_refPRIMARYPRIMARY4mekongwo_forum.profile_post.user_id1 
  6. 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 = 1275)
    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.000961
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_fieldALLdisplay_group_order   11Using where; Using filesort
    SIMPLEfield_valueeq_refPRIMARY,field_idPRIMARY31const,mekongwo_forum.user_field.field_id1 
  7. SELECT COUNT(*)
    FROM xf_user_follow
    WHERE follow_user_id = ?
    Params: 1275
    Run Time: 0.000189
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_user_followreffollow_user_idfollow_user_id4const1Using index
  8. 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: 1275
    Run Time: 0.001184
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_followrefPRIMARY,follow_user_idfollow_user_id4const1Using index; Using temporary; Using filesort
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4mekongwo_forum.user_follow.user_id1 
    SIMPLEuser_optioneq_refPRIMARYPRIMARY4mekongwo_forum.user_follow.user_id1 
    SIMPLEusereq_refPRIMARYPRIMARY4mekongwo_forum.user_follow.user_id1Using where
  9. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: cbffdebfbade845e347a0c56eed46133, , 1498173203
    Run Time: 0.000206
  10. 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=1275, 1498169603,
    Run Time: 0.000164
  11. SELECT *
    FROM kingk_bbcm
    ORDER BY tag
    Run Time: 0.000280
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEkingk_bbcmALL    6Using filesort
  12. 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', 'wf_widget_wrapper', 'wf_widget_threads', 'wf_widget_online_users', 'wf_widget_stats', 'member_view', 'wf_hook_moderator_bar', 'wf_revealer', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 6, 2
    Run Time: 0.000290
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 15Using where
  13. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('user_field_bangcap_desc', 'user_field_trinhdo_desc', 'user_field_congviec_desc', 'user_field_timeline_desc', 'user_field_luong_desc', 'user_field_chuyenmon_desc', 'user_field_noilamviec_desc', 'user_field_facebook_desc', 'user_field_skype_desc', 'user_field_twitter_desc', 'user_field_yahoo_desc')
    Params: 2
    Run Time: 0.000102
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledrangePRIMARYPRIMARY106 11Using where
  14. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('wfc_1_all')
    Run Time: 0.000107
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  15. SELECT session_activity.*
    	,
    	user.*,
    	user_profile.*,
    	user_option.*
    FROM xf_session_activity AS session_activity
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = session_activity.user_id)
    	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)
    WHERE (session_activity.view_date > 1498168703)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.001965
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 12Using where
    SIMPLEusereq_refPRIMARYPRIMARY4mekongwo_forum.session_activity.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4mekongwo_forum.user.user_id1 
    SIMPLEuser_optioneq_refPRIMARYPRIMARY4mekongwo_forum.user.user_id1 
  16. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: boardTotals
    Run Time: 0.000094
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  17. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('bbcm_js')
    	AND style_id = ?
    	AND language_id = ?
    Params: 6, 2
    Run Time: 0.000119
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (125, XenForo Classes: 57)

  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/WidgetFramework/Listener.php
  33. library/WidgetFramework/Core.php
  34. library/XenForo/Model/Moderator.php
  35. library/Asp/OnlineStatus/Plugin/Plugin.php
  36. library/WidgetFramework/Model/Widget.php
  37. library/WidgetFramework/WidgetRenderer.php
  38. library/WidgetFramework/WidgetRenderer/Empty.php
  39. library/XenForo/Input.php
  40. library/WidgetFramework/WidgetRenderer/UsersFind.php
  41. library/WidgetFramework/WidgetRenderer/Users.php
  42. library/WidgetFramework/WidgetRenderer/Html.php
  43. library/WidgetFramework/WidgetRenderer/TemplateWithoutWrapper.php
  44. library/WidgetFramework/WidgetRenderer/Template.php
  45. library/WidgetFramework/WidgetRenderer/HtmlWithoutWrapper.php
  46. library/WidgetFramework/WidgetRenderer/Threads.php
  47. library/WidgetFramework/WidgetRenderer/OnlineStaff.php
  48. library/WidgetFramework/WidgetRenderer/ShareThisPage.php
  49. library/WidgetFramework/WidgetRenderer/OnlineUsers.php
  50. library/WidgetFramework/WidgetRenderer/Stats.php
  51. library/WidgetFramework/Option.php
  52. library/Waindigo/Listener/InitDependencies.php
  53. library/Waindigo/Listener/InitDependencies/20131003.php
  54. library/Waindigo/Listener/ControllerPreDispatch/20131003.php
  55. library/XenForo/Router.php
  56. library/XenForo/Route/Filter.php
  57. library/XenForo/Route/Interface.php
  58. library/XenForo/Route/ResponseSuffix.php
  59. library/XenForo/Route/Prefix.php
  60. library/XenForo/Route/Prefix/Members.php
  61. library/XenForo/RouteMatch.php
  62. library/XenForo/ControllerPublic/Member.php
  63. library/XenForo/ControllerPublic/Abstract.php
  64. library/XenForo/Controller.php
  65. library/KingK/BbCodeManager/EventListener/BbCode.php
  66. library/ChipXF/MoreThread/Listener.php
  67. library/Social/Listener.php
  68. library/XenForo/Session.php
  69. library/XenForo/Helper/Ip.php
  70. library/XenForo/Visitor.php
  71. library/XenForo/Model/User.php
  72. library/WidgetFramework/XenForo/Model/User.php
  73. library/XenForo/Permission.php
  74. library/XenForo/Phrase.php
  75. library/XenForo/Locale.php
  76. library/Cezz/MobileStyleSwitch/Switch.php
  77. library/Waindigo/Listener/Template/20130831.php
  78. library/Waindigo/Listener/TemplateHook/20130522.php
  79. library/Waindigo/Listener/TemplatePostRender/20130522.php
  80. library/Waindigo/Listener/TemplateCreate/20130522.php
  81. library/XenForo/ControllerResponse/Reroute.php
  82. library/XenForo/ControllerResponse/Abstract.php
  83. library/XenForo/ControllerHelper/UserProfile.php
  84. library/XenForo/ControllerHelper/Abstract.php
  85. library/XenForo/Model/UserProfile.php
  86. library/XenForo/Model/ProfilePost.php
  87. library/XenForo/Model/UserField.php
  88. library/Waindigo/CustomFields/Listener/LoadClass.php
  89. library/Waindigo/Listener/LoadClass.php
  90. library/Waindigo/Listener/LoadClass/20131003.php
  91. library/Waindigo/CustomFields/Extend/XenForo/Model/UserField.php
  92. library/XenForo/Model/UserIgnore.php
  93. library/XenForo/Model/Conversation.php
  94. library/XenForo/ControllerResponse/View.php
  95. library/XenForo/Helper/Cookie.php
  96. library/XenForo/ViewRenderer/HtmlPublic.php
  97. library/XenForo/ViewRenderer/Abstract.php
  98. library/XenForo/Template/Public.php
  99. library/XenForo/Template/Abstract.php
  100. library/XenForo/ViewPublic/Member/View.php
  101. library/XenForo/ViewPublic/Base.php
  102. library/XenForo/View.php
  103. library/WidgetFramework/XenForo/View1.php
  104. library/XenForo/BbCode/Parser.php
  105. library/XenForo/BbCode/Formatter/Base.php
  106. library/KingK/BbCodeManager/BbCode/Formatter/Base.php
  107. library/KingK/BbCodeManager/Model/CustomBbCode.php
  108. library/XenForo/BbCode/TextWrapper.php
  109. library/KingK/BbCodeManager/EventListener/Templates/Preloader.php
  110. library/WidgetFramework/Model/Cache.php
  111. library/vtLai/TopX/Listener.php
  112. library/Waindigo/CustomFields/Listener/TemplateCreate.php
  113. library/WidgetFramework/Template/Trojan.php
  114. library/xenCODE/Anonymizer/Listener.php
  115. library/KingK/BbCodeManager/EventListener/Templates/InitEditorGrid.php
  116. library/Waindigo/CustomFields/Listener/TemplateHook.php
  117. library/XenForo/Route/Prefix/ProfilePosts.php
  118. library/XenForo/Model/Avatar.php
  119. library/XenForo/Helper/String.php
  120. library/WidgetFramework/Helper/String.php
  121. library/Zend/Exception.php
  122. library/XenForo/Model/Session.php
  123. library/Waindigo/CustomFields/Listener/TemplatePostRender.php
  124. library/XenForo/Debug.php
  125. library/XenForo/ViewRenderer/Json.php