Page Time: 0.1937s

Memory: 6.4435 MB (Peak: 9.1729 MB)

Queries (10, time: 0.0139s, 7.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.000632
    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.000128
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: dark_postrating_ratings
    Run Time: 0.000128
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  4. SELECT user.*
    	,
    		user_profile.*,
    		user_option.*,
    		user_privacy.*,
    		permission_combination.cache_value AS global_permission_cache,
    		0 AS following_0
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,2,15,4,5,6,7,8,10)) as positive_rating_count
    
    		, (user.like_count + coalesce((select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,2,15,4,5,6,7,8,10)), 0)) as positive_rating_count_incl_likes
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (14,11,12)) as negative_rating_count
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (3,9)) as neutral_rating_count
    
    ,(select sum(count_received) from dark_postrating_count where user_id = user.user_id) as total_rating_count
    
    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)
    WHERE user.user_id = ?
    Params: 52205
    Run Time: 0.001732
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_optionconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    PRIMARYpermission_combinationconstPRIMARYPRIMARY4const1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4const1 
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 2Using where
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 3Using where
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 9Using where
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 9Using where
  5.                 SELECT COUNT(*)
                    FROM `sonnb_xengallery_content` AS content
                    	
    INNER JOIN `sonnb_xengallery_album` AS album ON
    	(album.album_id = content.album_id)
    
    LEFT JOIN `sonnb_xengallery_category` AS category ON
    	(album.category_id = category.category_id)
    LEFT JOIN `xf_user` AS user ON
    	(user.user_id = content.user_id)
    INNER JOIN `sonnb_xengallery_content_data` AS content_data ON
    	(content.content_data_id = content_data.content_data_id)
                    WHERE (content.user_id = 52205) AND (content.content_type = 'photo') AND (content.content_state IN ('visible','moderated'))
    Run Time: 0.000787
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEcontentrefalbum_id_position,user_content_dateuser_content_date4const8Using where
    SIMPLEalbumeq_refPRIMARYPRIMARY4nma_xen.content.album_id1 
    SIMPLEcategoryeq_refPRIMARYPRIMARY4nma_xen.album.category_id1Using index
    SIMPLEuserconstPRIMARYPRIMARY4const1Using index
    SIMPLEcontent_dataeq_refPRIMARY,content_type_idPRIMARY4nma_xen.content.content_data_id1Using index
  6.                    SELECT content.*
                            ,
                                    0 AS like_date,
                                    0 AS watch_date,
    			album.category_id, album.album_state, album.album_type,
    			album.content_count, album.photo_count, album.video_count, album.audio_count,
    			album.album_privacy, album.album_location,
    			album.cover_content_id, album.cover_content_type,
    			album.latest_content_ids, album.latest_photo_ids, album.latest_video_ids, album.latest_audio_ids,
    			album.album_date, album.album_updated_date,
    
    			album.title AS album_title, album.description AS album_description,
    			album.user_id AS album_user_id, album.username AS album_username,
    			album.comment_count AS album_comment_count, 
    			album.view_count AS album_view_count,
    			album.likes AS album_likes, album.like_users AS album_like_users,
    			album.latest_comment_ids AS album_latest_comment_ids,
    			album.collection_id AS album_collection_id,
    
    			category.category_privacy
    			,
    					0 AS following_0,
    			IF(user.username IS NULL, content.username, user.username) AS username, user.avatar_date, user.gravatar,
    			content_data.*,
    			0 AS following_0
                       FROM `sonnb_xengallery_content` AS content
                        	
    			INNER JOIN `sonnb_xengallery_album` AS album ON
    				(album.album_id = content.album_id)
    
    			LEFT JOIN `sonnb_xengallery_category` AS category ON
    				(album.category_id = category.category_id)
    			LEFT JOIN `xf_user` AS user ON
    				(user.user_id = content.user_id)
    			INNER JOIN `sonnb_xengallery_content_data` AS content_data ON
    				(content.content_data_id = content_data.content_data_id)
                       WHERE (content.user_id = 52205) AND (content.content_type = 'photo') AND (content.content_state IN ('visible','moderated'))
                        	ORDER BY content.content_date DESC, content.position ASC
                    	 LIMIT 40
    Run Time: 0.001558
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEcontentrefalbum_id_position,user_content_dateuser_content_date4const8Using where; Using filesort
    SIMPLEalbumeq_refPRIMARYPRIMARY4nma_xen.content.album_id1 
    SIMPLEcategoryeq_refPRIMARYPRIMARY4nma_xen.album.category_id1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEcontent_dataeq_refPRIMARY,content_type_idPRIMARY4nma_xen.content.content_data_id1 
  7. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: dd3724ac4edcf3acc84935eded7d252a, , 1576226951
    Run Time: 0.000316
  8. 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, , , sonnb_XenGallery_ControllerPublic_XenGallery_Author, Photos, valid, user_id=52205, 1576223351,
    Run Time: 0.000211
  9. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'sonnb_xengallery_option_copyright', 'sonnbXG_copyright', 'sonnb_xengallery_author_photos', 'sonnb_xengallery_navbar_template', 'resources_tab_links', 'EWRporta2_Navtabs', 'dark_postrating', 'dark_postrating_member', 'dark_postrating_member_totals', 'message_user_info_extra', 'user_criteria_content', 'thread_list_item_icon_key', 'dark_postrating_member_notable_tabs', 'dark_postrating_account_wrapper', 'dark_postrating_navigation_visitor_tab', 'dark_postrating_visitor_panel', 'dark_postrating_member_card', 'dark_postrating_member_info', 'dark_postrating_message_user_info', 'sonnb_xengallery_nav_visitor', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 4, 1
    Run Time: 0.008257
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 22Using where
  10. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('sonnbXG_copyright', 'sonnb_xengallery_copyright')
    	AND style_id = ?
    	AND language_id = ?
    Params: 4, 1
    Run Time: 0.000165
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 2Using where

Included Files (98, XenForo Classes: 43)

  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/XenResource/Listener/Proxy.php
  33. library/sonnb/XenGallery/Listener.php
  34. library/EWRporta2/Listener/Init.php
  35. library/XenForo/Router.php
  36. library/XenForo/Route/Filter.php
  37. library/XenForo/Route/Interface.php
  38. library/XenForo/Route/ResponseSuffix.php
  39. library/XenForo/Route/Prefix.php
  40. library/sonnb/XenGallery/Route/Prefix/XenGallery.php
  41. library/XenForo/RouteMatch.php
  42. library/sonnb/XenGallery/ControllerPublic/XenGallery/Author.php
  43. library/sonnb/XenGallery/ControllerPublic/Abstract.php
  44. library/XenForo/ControllerPublic/Abstract.php
  45. library/XenForo/Controller.php
  46. library/Dark/PostRating/EventListener.php
  47. library/XenForo/Input.php
  48. library/XenForo/Session.php
  49. library/XenForo/Helper/Ip.php
  50. library/XenForo/Visitor.php
  51. library/XenForo/Model/User.php
  52. library/EWRporta2/Listener/Model.php
  53. library/Dark/PostRating/Model/User.php
  54. library/sonnb/XenGallery/XenForo/Model/User.php
  55. library/XenResource/Listener/Proxy/ModelUser.php
  56. library/EWRporta2/Model/User.php
  57. library/XenForo/Permission.php
  58. library/XenForo/Helper/Php.php
  59. library/XenForo/Phrase.php
  60. library/XenForo/Locale.php
  61. library/sonnb/XenGallery/Model/Gallery.php
  62. library/sonnb/XenGallery/Model/Abstract.php
  63. library/Waindigo/Listener/ControllerPreDispatch.php
  64. library/Waindigo/Listener/ControllerPreDispatch/20131003.php
  65. library/Waindigo/Listener/Template/20140101.php
  66. library/Waindigo/Listener/TemplatePostRender/20130522.php
  67. library/Waindigo/Listener/InitDependencies.php
  68. library/Waindigo/Listener/InitDependencies/20140101.php
  69. library/XenForo/ControllerHelper/UserProfile.php
  70. library/XenForo/ControllerHelper/Abstract.php
  71. library/Dark/PostRating/Model.php
  72. library/sonnb/XenGallery/Model/Photo.php
  73. library/sonnb/XenGallery/Model/Content.php
  74. library/XenForo/Helper/String.php
  75. library/sonnb/XenGallery/Model/Collection.php
  76. library/sonnb/XenGallery/Model/ContentData.php
  77. library/sonnb/XenGallery/Model/Video.php
  78. library/sonnb/XenGallery/Model/Album.php
  79. library/sonnb/XenGallery/Model/Category.php
  80. library/XenForo/ControllerResponse/View.php
  81. library/XenForo/ControllerResponse/Abstract.php
  82. library/XenForo/Helper/Cookie.php
  83. library/XenForo/ViewRenderer/HtmlPublic.php
  84. library/XenForo/ViewRenderer/Abstract.php
  85. library/XenForo/Template/Public.php
  86. library/XenForo/Template/Abstract.php
  87. library/EWRporta2/Listener/ViewPublic.php
  88. library/XenForo/ViewPublic/Base.php
  89. library/XenForo/View.php
  90. library/XenResource/Listener/Template.php
  91. library/XenForo/Route/Prefix/Members.php
  92. library/EWRporta2/Listener/NavTabs.php
  93. library/EWRporta2/Model/Perms.php
  94. library/sonnb/XenGallery/Template/Helper/Cover.php
  95. library/EWRporta2/Listener/Template.php
  96. library/Waindigo/SmilieImporter/Listener/TemplatePostRender.php
  97. library/XenForo/Debug.php
  98. library/XenForo/ViewRenderer/Json.php