Page Time: 0.1507s

Memory: 4.0220 MB (Peak: 5.2541 MB)

Queries (18, time: 0.0992s, 65.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.000504
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryALLPRIMARY   34Using where
  2. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000206
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3.                 			                  SELECT user_point.*
                                                    
                                                    FROM xf_user_point AS user_point
                                                    
                                            WHERE 1=1
    Run Time: 0.004549
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_pointALL    10611 
  4. 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.user_id = 0 AND session_activity.robot_key <> '') AND (user.visible = 1 OR session_activity.user_id = 0) AND (user.user_state = 'valid' OR session_activity.user_id = 0) AND (session_activity.view_state = 'valid') AND (session_activity.view_date > 1711695040)
    ORDER BY session_activity.view_date DESC
     LIMIT 20
    Run Time: 0.000968
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangePRIMARY,view_dateview_date4 114Using where
    SIMPLEuserconstPRIMARYPRIMARY4const1Using where
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4dien7104_tailieu.user.user_id1Using where
    SIMPLEuser_optioneq_refPRIMARYPRIMARY4dien7104_tailieu.user.user_id1Using where
  5. SELECT session_activity.*
    	,
    	user.*
    FROM xf_session_activity AS session_activity
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = session_activity.user_id)
    WHERE (session_activity.view_date > 1711695040)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.002722
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 114Using where
    SIMPLEusereq_refPRIMARYPRIMARY4dien7104_tailieu.session_activity.user_id1 
  6. SELECT thread.*
    	,
    		node.title AS node_title, node.node_name,
    	permission.cache_value AS node_permission_cache
    FROM xf_thread AS thread
    		LEFT JOIN xf_node AS node ON
    			(node.node_id = thread.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 = thread.node_id)
    WHERE thread.thread_id IN (24681, 25199, 6880, 25200, 16646, 7942, 8152, 20251)
    Run Time: 0.018884
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 8Using where
    SIMPLEnodeeq_refPRIMARYPRIMARY4dien7104_tailieu.thread.node_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,dien7104_tailieu.thread.node_id1Using where
  7. SELECT node.*, forum.*
    	,
    	permission.cache_value AS node_permission_cache
    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 IN (359)
    Run Time: 0.055469
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  8. SELECT COUNT(*)
    FROM xf_session_activity AS session_activity
    
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = session_activity.user_id)
    WHERE (session_activity.user_id = 0 AND session_activity.robot_key <> '') AND (user.visible = 1 OR session_activity.user_id = 0) AND (user.user_state = 'valid' OR session_activity.user_id = 0) AND (session_activity.view_state = 'valid') AND (session_activity.view_date > 1711695040)
    Run Time: 0.000426
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangePRIMARY,view_dateview_date4 114Using where
    SIMPLEuserconstPRIMARYPRIMARY4const1Using where
  9. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: efdfa5e52ad3123953780f868c911e1e, , 1711699540
    Run Time: 0.000215
  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_Online, Index, valid, , 1711695940,
    Run Time: 0.000159
  11. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'online_list', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 3, 2
    Run Time: 0.005417
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 3Using where
  12. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('viewing_thread', 'viewing_latest_content', 'viewing_tags', 'viewing_forum')
    Params: 2
    Run Time: 0.007754
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledrangePRIMARYPRIMARY106 4Using where
  13.                 			                  SELECT adv.*
                                                    
                                                    FROM xf_advertisement AS adv
                                                    
                                            WHERE (adv.active = 1) AND (adv.positive = 1)
    Run Time: 0.000330
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    5Using where
  14. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('tailieu_advertisement_top')
    	AND style_id = ?
    	AND language_id = ?
    Params: 3, 2
    Run Time: 0.000230
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  15.                 			                  SELECT adv.*
                                                    
                                                    FROM xf_advertisement AS adv
                                                    
                                            WHERE (adv.active = 1) AND (adv.positive = 2)
    Run Time: 0.000227
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    5Using where
  16. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('tailieu_advertisement_sidebar')
    	AND style_id = ?
    	AND language_id = ?
    Params: 3, 2
    Run Time: 0.000606
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  17.                 			                  SELECT adv.*
                                                    
                                                    FROM xf_advertisement AS adv
                                                    
                                            WHERE (adv.active = 1) AND (adv.positive = 3)
    Run Time: 0.000367
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    5Using where
  18. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('tailieu_advertisement_bottom')
    	AND style_id = ?
    	AND language_id = ?
    Params: 3, 2
    Run Time: 0.000197
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (90, XenForo Classes: 52)

  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/XenForo/Router.php
  33. library/XenForo/Route/Filter.php
  34. library/XenForo/Route/Interface.php
  35. library/XenForo/Route/ResponseSuffix.php
  36. library/XenForo/Route/Prefix.php
  37. library/XenForo/Route/Prefix/Online.php
  38. library/XenForo/RouteMatch.php
  39. library/XenForo/ControllerPublic/Online.php
  40. library/XenForo/ControllerPublic/Abstract.php
  41. library/XenForo/Controller.php
  42. library/Brivium/ExtraThreadItem/EventListeners/Listener.php
  43. library/Brivium/BriviumLibrary/EventListeners.php
  44. library/XenForo/Input.php
  45. library/XenForo/Session.php
  46. library/XenForo/Helper/Ip.php
  47. library/XenForo/Visitor.php
  48. library/XenForo/Model/User.php
  49. library/VietXfAdvStats/Listener.php
  50. library/VietXfAdvStats/XenForo/Model/User.php
  51. library/XenForo/Permission.php
  52. library/XenForo/Helper/Php.php
  53. library/XenForo/Phrase.php
  54. library/XenForo/Locale.php
  55. library/TaiLieu/CustomPost/Listener.php
  56. library/TaiLieu/CustomPost/Model/UserPoint.php
  57. library/XenForo/Model/Session.php
  58. library/XenForo/ControllerPublic/Thread.php
  59. library/TaiLieu/Trophy/Listener.php
  60. library/Brivium/ExtraThreadItem/ControllerPublic/Thread.php
  61. library/TaiLieu/CustomPost/ControllerPublic/Thread.php
  62. library/TaiLieu/Trophy/ControllerPublic/Thread.php
  63. library/XenForo/Model/Thread.php
  64. library/VietXfAdvStats/XenForo/Model/Thread.php
  65. library/Brivium/ExtraThreadItem/Model/Thread.php
  66. library/XenForo/Model/Forum.php
  67. library/Brivium/ExtraThreadItem/Model/Forum.php
  68. library/XenForo/Helper/String.php
  69. library/XenForo/Route/Prefix/Threads.php
  70. library/XenForo/ControllerPublic/FindNew.php
  71. library/XenForo/ControllerPublic/Tag.php
  72. library/XenForo/ControllerPublic/Forum.php
  73. library/TaiLieu/CustomPost/ControllerPublic/Forum.php
  74. library/XenForo/Route/Prefix/Forums.php
  75. library/XenForo/ControllerResponse/View.php
  76. library/XenForo/ControllerResponse/Abstract.php
  77. library/XenForo/Helper/Cookie.php
  78. library/XenForo/ViewRenderer/HtmlPublic.php
  79. library/XenForo/ViewRenderer/Abstract.php
  80. library/XenForo/Template/Public.php
  81. library/XenForo/Template/Abstract.php
  82. library/XenForo/ViewPublic/Base.php
  83. library/XenForo/View.php
  84. library/VietXfAdvStats/Model/GetUserGroup.php
  85. library/XenForo/Route/Prefix/Members.php
  86. library/XenForo/Debug.php
  87. library/TaiLieu/Advertisement/Listener.php
  88. library/TaiLieu/Advertisement/Model/Advertisement.php
  89. library/VietXfAdvStats/Option.php
  90. library/XenForo/ViewRenderer/Json.php