Page Time: 0.1393s

Memory: 6.7412 MB (Peak: 7.8030 MB)

Queries (18, time: 0.0403s, 28.9%)

  1. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'deferredRun', 'simpleCache', 'addOns', 'defaultStyleProperties', 'routesPublic', 'routeFiltersIn', 'routeFiltersOut', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'userBanners', 'smilies', 'bbCode', 'threadPrefixes', 'trophyUserTitles', 'reportCounts', 'moderationCounts', 'userModerationCounts', 'notices', 'userFieldsInfo')
    Run Time: 0.000391
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 26Using where
  2. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('brListenerClasses', 'brBriviumAddOns')
    Run Time: 0.000061
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 2Using where
  3. SELECT *
    FROM xf_brivium_addon
    ORDER BY addon_id
    Run Time: 0.000460
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_brivium_addonindex PRIMARY77 1 
  4. INSERT INTO xf_data_registry
    	(data_key, data_value)
    VALUES
    	(?, ?)
    ON DUPLICATE KEY UPDATE
    	data_value = VALUES(data_value)
    Params: brBriviumAddOns, a:0:{}
    Run Time: 0.000384
  5. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000178
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  6. SELECT category_id
    FROM xengallery_category_map
    WHERE view_user_group_id IN (1)
    Run Time: 0.000132
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExengallery_category_mapindex PRIMARY8 59Using where; Using index
  7. SELECT *
    FROM xengallery_category
    WHERE category_id = ?
    Params: 2
    Run Time: 0.000533
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExengallery_categoryconstPRIMARYPRIMARY4const1 
  8. SELECT media.*
    	,
    		album.*,
    		category.*,
    		user.*, user_profile.*, IF(user.username IS NULL, media.username, user.username) AS username,
                        attachment.attachment_id, attachment.data_id, attachment.attach_date,data.filename, data.file_size, data.file_hash, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xengallery_media AS media
    	
    		LEFT JOIN xengallery_album AS album ON
    			(album.album_id = media.album_id)
    		LEFT JOIN xengallery_category AS category ON
    			(category.category_id = media.category_id)
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = media.user_id)
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = media.user_id)
                        LEFT JOIN xf_attachment AS attachment ON
                            (attachment.content_type = 'xengallery_media' AND attachment.attachment_id = media.attachment_id)
                        LEFT JOIN xf_attachment_data AS data ON
                            (data.data_id = attachment.data_id)
    	WHERE (media.category_id = 2) AND (media.media_state IN ('visible'))
    	ORDER BY media.media_date DESC, media.media_id DESC			
     LIMIT 18
    Run Time: 0.003417
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEmediaALL    311Using where; Using filesort
    SIMPLEalbumeq_refPRIMARYPRIMARY4hjxjubkmhosting_tayninh24h.media.album_id1 
    SIMPLEcategoryconstPRIMARYPRIMARY4const1 
    SIMPLEusereq_refPRIMARYPRIMARY4hjxjubkmhosting_tayninh24h.media.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4hjxjubkmhosting_tayninh24h.media.user_id1 
    SIMPLEattachmenteq_refPRIMARY,content_type_id_datePRIMARY4hjxjubkmhosting_tayninh24h.media.attachment_id1Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4hjxjubkmhosting_tayninh24h.attachment.data_id1Using where
  9. SELECT COUNT(*)
    FROM xengallery_media AS media
    
    WHERE (media.category_id = 2) AND (media.media_state IN ('visible'))
    Run Time: 0.000457
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEmediaALL    311Using where
  10. SELECT *
    FROM xengallery_category
    ORDER BY display_order
    Run Time: 0.000379
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExengallery_categoryALL    12Using filesort
  11. SELECT *
    FROM xengallery_category
    WHERE category_id = ?
    Params: 2
    Run Time: 0.000192
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExengallery_categoryconstPRIMARYPRIMARY4const1 
  12. SELECT category_id
    FROM xengallery_category_map
    WHERE view_user_group_id IN (1)
    Run Time: 0.000090
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExengallery_category_mapindex PRIMARY8 59Using where; Using index
  13. SELECT comment.*, media.media_title, media.media_type, media.media_id, media.media_state, media.attachment_id, media.media_tag,
    	album.album_title, album.album_description, album.album_privacy, album.album_id, album.album_state, user.*, container.album_state AS albumstate,
    	attachment.data_id, data.filename, data.file_size, data.file_hash, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xengallery_comment AS comment
    LEFT JOIN xengallery_media AS media ON
    	(comment.content_id = media.media_id AND comment.content_type = 'media')
    LEFT JOIN xf_attachment AS attachment ON
    	(attachment.attachment_id = media.attachment_id)
    LEFT JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    LEFT JOIN xengallery_album AS album ON
    	(comment.content_id = album.album_id AND comment.content_type = 'album')
    LEFT JOIN xengallery_album AS container ON
    	(container.album_id = media.album_id)
    LEFT JOIN xf_user AS user ON
    	(comment.user_id = user.user_id)
    LEFT JOIN xengallery_shared_map AS shared ON
    	(shared.album_id = COALESCE(album.album_id, media.album_id) AND shared.shared_user_id = 0)
    LEFT JOIN xengallery_private_map AS private ON
    	(private.album_id = COALESCE(album.album_id, media.album_id) AND private.private_user_id = 0)
    WHERE (container.album_state IS NULL OR container.album_state = 'visible' OR album.album_state = 'visible')
    	AND (media.media_state IS NULL OR media.media_state = 'visible')
    	AND (album.album_state IS NULL OR album.album_state = 'visible')
    	AND (
    	private.private_user_id IS NOT NULL
    		OR shared.shared_user_id IS NOT NULL
    		OR media.media_privacy = 'public'
    		OR album.album_privacy = 'public'
    		OR IF(media.media_privacy = 'members', EXISTS(SELECT user_id FROM xf_user WHERE user_id = 0), NULL)
    	OR IF(media.category_id > 0, media.category_id IN (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), NULL))
    	AND comment.comment_state = 'visible' 
    ORDER BY comment.comment_date DESC
     LIMIT 10
    Run Time: 0.001983
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYcommentALL    18Using where; Using filesort
    PRIMARYmediaeq_refPRIMARYPRIMARY4hjxjubkmhosting_tayninh24h.comment.content_id1Using where
    PRIMARYattachmenteq_refPRIMARYPRIMARY4hjxjubkmhosting_tayninh24h.media.attachment_id1Using where
    PRIMARYdataeq_refPRIMARYPRIMARY4hjxjubkmhosting_tayninh24h.attachment.data_id1Using where
    PRIMARYalbumeq_refPRIMARYPRIMARY4hjxjubkmhosting_tayninh24h.comment.content_id1Using where
    PRIMARYcontainereq_refPRIMARYPRIMARY4hjxjubkmhosting_tayninh24h.media.album_id1Using where
    PRIMARYusereq_refPRIMARYPRIMARY4hjxjubkmhosting_tayninh24h.comment.user_id1 
    PRIMARYsharedeq_refPRIMARYPRIMARY8func,const1Using where; Using index
    PRIMARYprivateeq_refPRIMARYPRIMARY8func,const1Using where; Using index
    SUBQUERY       no matching row in const table
  14. SELECT user.user_id, user.username,
    	user.media_count, user.avatar_date,
    	user.gravatar, user.avatar_width,
    	user.avatar_height, user.display_style_group_id
    FROM xf_user AS user
    WHERE media_count > 0
    ORDER BY media_count DESC
    LIMIT ?
    Params: 10
    Run Time: 0.030391
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuserALL    26693Using where; Using filesort
  15. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 49bbbc544549d5aa8ed7f53406c1ec50, a:8:{s:12:"sessionStart";i:1711706425;s:2:"ip";i:55895108;s:9:"userAgent";s:9:"claudebot";s:7:"robotId";s:0:"";s:16:"previousActivity";i:0;s:10:"isIpBanned";b:0;s:13:"isDiscouraged";b:0;s:13:"mediaUnviewed";a:2:{s:8:"unviewed";a:0:{}s:14:"lastUpdateDate";i:1711706425;}}, 1711710025
    Run Time: 0.000191
  16. 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, 55895108, 55895108, XenGallery_ControllerPublic_Media, Category, valid, category_id=2, 1711706425,
    Run Time: 0.000136
  17. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'xengallery_category_wrapper', 'BRQCT_forum_list_nodes', 'BRQCT_ad_sidebar_top', 'BRQCT_button_top_ctrl', 'xengallery_category_view', 'xengallery_category_sidebar_list', 'wf_hook_moderator_bar', 'wf_revealer', 'tinhte_xentag_bb_code_tag_tag', 'tinhte_xentag_hook_message_below', 'tinhte_xentag_hook_message_content', 'tinhte_xentag_hook_message_notices', 'tinhte_xentag_hook_navigation_tabs_forums', 'tinhte_xentag_hook_post_private_controls', 'tinhte_xentag_hook_post_public_controls', 'xengallery_media_block_items', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 2
    Run Time: 0.000811
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 18Using where
  18. 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: 2, 2
    Run Time: 0.000075
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 2Using where

Included Files (137, XenForo Classes: 44)

  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/Tinhte/XenTag/Listener.php
  33. library/XenForo/CacheRebuilder/Abstract.php
  34. library/XenGallery/Listener.php
  35. library/Brivium/BriviumHelper/EventListeners.php
  36. library/Brivium/BriviumHelper/1000200/EventListeners.php
  37. library/VNXF/MoreThread/Listener.php
  38. library/WidgetFramework/Listener.php
  39. library/EWRporta/Listener/Model.php
  40. library/VietXfAdvStats/Listener.php
  41. library/Brivium/BriviumHelper/Model/ListenerClass.php
  42. library/Brivium/BriviumHelper/1000200/Model/ListenerClass.php
  43. library/Brivium/ProfileCover/EventListeners/Listener.php
  44. library/Hex/Listener/InitDependencies.php
  45. library/Hex/Listener/InitDependencies/20150212.php
  46. library/Hex/Listener/ControllerPreDispatch/20150911.php
  47. library/WidgetFramework/Option.php
  48. library/XenForo/Router.php
  49. library/XenForo/Route/Filter.php
  50. library/XenForo/Route/Interface.php
  51. library/XenForo/Route/ResponseSuffix.php
  52. library/XenForo/Route/Prefix.php
  53. library/WidgetFramework/Route/Filter/PageX.php
  54. library/XenForo/RouteMatch.php
  55. library/XenGallery/Route/Prefix/Media.php
  56. library/EWRporta/Listener/Route.php
  57. library/vtLai/UrlKhongDau/Listener.php
  58. library/XenGallery/ControllerPublic/Media.php
  59. library/XenForo/ControllerPublic/Abstract.php
  60. library/XenForo/Controller.php
  61. library/EWRporta/Listener/Controller.php
  62. library/Vinavb/CustomNodeIcon/Listener.php
  63. library/vtPhong/Listener.php
  64. library/MaxDailyBaiViet/EventListener/BaiViet.php
  65. library/MaxDailyBaiViet/EventListener/ChuDe.php
  66. library/XenForo/Input.php
  67. library/XenForo/Session.php
  68. library/XenForo/Visitor.php
  69. library/XenForo/Model/User.php
  70. library/WidgetFramework/XenForo/Model/User.php
  71. library/VietXfAdvStats/XenForo/Model/User.php
  72. library/XenGallery/Model/User.php
  73. library/XenForo/Permission.php
  74. library/XenForo/Phrase.php
  75. library/XenForo/Locale.php
  76. library/XenGallery/Model/Media.php
  77. library/XenGallery/ControllerHelper/Media.php
  78. library/XenForo/ControllerHelper/Abstract.php
  79. library/XenGallery/Model/Category.php
  80. library/XenForo/Model/Attachment.php
  81. library/Hex/Thumbnails/Listener/LoadClass.php
  82. library/Hex/Listener/LoadClass.php
  83. library/Hex/Listener/LoadClass/20150518.php
  84. library/Hex/Thumbnails/Extend/XenForo/Model/Attachment.php
  85. library/EWRporta/Model/Attachment.php
  86. library/XenForo/Helper/String.php
  87. library/XenGallery/Helper/String.php
  88. library/XenForo/ControllerResponse/View.php
  89. library/XenForo/ControllerResponse/Abstract.php
  90. library/XenGallery/Model/Comment.php
  91. library/XenGallery/Model/Album.php
  92. library/XenForo/Helper/Cookie.php
  93. library/XenForo/ViewRenderer/HtmlPublic.php
  94. library/XenForo/ViewRenderer/Abstract.php
  95. library/XenForo/Template/Public.php
  96. library/XenForo/Template/Abstract.php
  97. library/WidgetFramework/Core.php
  98. library/XenForo/Model/Moderator.php
  99. library/Brivium/QuickCreateThread/EventListeners/Listener.php
  100. library/Brivium/BriviumLibrary/EventListeners.php
  101. library/WidgetFramework/Model/Widget.php
  102. library/WidgetFramework/Helper/Sort.php
  103. library/WidgetFramework/WidgetRenderer.php
  104. library/EWRporta/Listener/ViewPublic.php
  105. library/XenForo/ViewPublic/Base.php
  106. library/XenForo/View.php
  107. library/WidgetFramework/XenForo/View1.php
  108. library/VietXfAdvStats/Model/GetUserGroup.php
  109. library/Hex/Thumbnails/Listener/TemplateCreate.php
  110. library/Hex/Listener/TemplateCreate.php
  111. library/Hex/Listener/TemplateCreate/20150106.php
  112. library/XenGallery/ViewPublic/Media/Wrapper.php
  113. library/WidgetFramework/XenForo/View2.php
  114. library/XenForo/Route/Prefix/Members.php
  115. library/vtLai/UrlKhongDau/Members.php
  116. library/EWRporta/Listener/NavTabs.php
  117. library/WidgetFramework/Template/Extended.php
  118. library/vtLai/UrlKhongDau/Converter.php
  119. library/XenForo/Model/Avatar.php
  120. library/XenGallery/Template/Helper/Core.php
  121. library/Hex/Thumbnails/Listener/TemplatePostRender.php
  122. library/Hex/Listener/TemplatePostRender.php
  123. library/Hex/Listener/TemplatePostRender/20150106.php
  124. library/Hex/Listener/Template.php
  125. library/Hex/Listener/Template/20150106.php
  126. library/WidgetFramework/WidgetRenderer/Empty.php
  127. library/XenForo/Debug.php
  128. library/EWRporta/Listener/Template.php
  129. library/Hex/Thumbnails/Listener/TemplateHook.php
  130. library/Hex/Listener/TemplateHook.php
  131. library/Hex/Listener/TemplateHook/20150106.php
  132. library/VietXfAdvStats/Option.php
  133. library/Tinhte/XenTag/Helper.php
  134. library/Tinhte/XenTag/Constants.php
  135. library/Brivium/QuickCreateThread/Route/Prefix/CreateThread.php
  136. library/XenForo/ViewRenderer/Json.php
  137. library/Vinavb/CustomNodeIcon/Icon.php