Page Time: 0.1892s

Memory: 7.8160 MB (Peak: 10.5313 MB)

Queries (16, time: 0.0161s, 8.5%)

  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.000554
    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.000160
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3.                    SELECT content.*
                            ,
                                    0 AS like_date,
                                    0 AS watch_date,
    			IF(user.username IS NULL, content.username, user.username) AS username, user.avatar_date, user.gravatar,
    			content_data.*,
    			photo.photo_exif,
    			0 AS following_0
                       FROM `sonnb_xengallery_content` AS content
                        	
    			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)
    			LEFT JOIN `sonnb_xengallery_photo` AS photo ON
    				(photo.content_id = content.content_id)
                       WHERE (content.content_id = 5559) AND (content.content_type = 'photo')
                        	
                    	 LIMIT 1
    Run Time: 0.001749
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEcontentconstPRIMARY,content_type_idPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEcontent_dataconstPRIMARY,content_type_idPRIMARY4const1 
    SIMPLEphotoconstPRIMARYPRIMARY4const1 
  4.                    SELECT album.*
                            ,
    			0 AS following_0,
    			category.category_privacy
                       FROM `sonnb_xengallery_album` AS album
                        	
    			LEFT JOIN `sonnb_xengallery_category` AS category ON
    				(album.category_id = category.category_id)
                       WHERE (album.album_id = 1111394)
                        	
                    	 LIMIT 1
    Run Time: 0.001285
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEalbumconstPRIMARYPRIMARY4const1 
    SIMPLEcategoryconstPRIMARYPRIMARY4const1 
  5. SELECT content.*
                    FROM (
                        SELECT content.*, @row := @row + 1 AS content_num_row
    	FROM (
                            SELECT
                            content.content_id, content.title, content.description, content.content_privacy,
                            content.content_state, content.user_id, content.collection_id, content.likes, content.like_users,
                            content.album_id, content.position, content.comment_count, content.view_count
                                ,
    	content_data.*
                FROM `sonnb_xengallery_content` AS content
                    
    	INNER JOIN `sonnb_xengallery_content_data` AS content_data ON
    		(content.content_data_id = content_data.content_data_id)
                WHERE (content.album_id = 1111394) AND (content.content_state IN ('visible','moderated'))
                ORDER BY content.position ASC
    	) AS content
    	CROSS JOIN (SELECT @row := 0) AS r
    ) AS content
        WHERE content.content_id = 5559
            ORDER BY content.content_num_row ASC
     LIMIT 16
    Run Time: 0.004354
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARY<derived2>ALL    50Using where; Using filesort
    DERIVED<derived4>system    1 
    DERIVED<derived3>ALL    50 
    DERIVED       No tables used
    DERIVEDcontentrefalbum_id_positionalbum_id_position4 50Using where
    DERIVEDcontent_dataeq_refPRIMARY,content_type_idPRIMARY4nma_xen.content.content_data_id1 
  6. SELECT content.*
                    FROM (
                        SELECT content.*, @row := @row + 1 AS content_num_row
    	FROM (
                            SELECT
                            content.content_id, content.title, content.description, content.content_privacy,
                            content.content_state, content.user_id, content.collection_id, content.likes, content.like_users,
                            content.album_id, content.position, content.comment_count, content.view_count
                                ,
    	content_data.*
                FROM `sonnb_xengallery_content` AS content
                    
    	INNER JOIN `sonnb_xengallery_content_data` AS content_data ON
    		(content.content_data_id = content_data.content_data_id)
                WHERE (content.album_id = 1111394) AND (content.content_state IN ('visible','moderated'))
                ORDER BY content.position ASC
    	) AS content
    	CROSS JOIN (SELECT @row := 0) AS r
    ) AS content
        WHERE content.content_num_row <= 18
            ORDER BY content.content_num_row DESC
     LIMIT 16
    Run Time: 0.002540
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARY<derived2>ALL    50Using where; Using filesort
    DERIVED<derived4>system    1 
    DERIVED<derived3>ALL    50 
    DERIVED       No tables used
    DERIVEDcontentrefalbum_id_positionalbum_id_position4 50Using where
    DERIVEDcontent_dataeq_refPRIMARY,content_type_idPRIMARY4nma_xen.content.content_data_id1 
  7. SELECT content.*
                    FROM (
                        SELECT content.*, @row := @row + 1 AS content_num_row
    	FROM (
                            SELECT
                            content.content_id, content.title, content.description, content.content_privacy,
                            content.content_state, content.user_id, content.collection_id, content.likes, content.like_users,
                            content.album_id, content.position, content.comment_count, content.view_count
                                ,
    	content_data.*
                FROM `sonnb_xengallery_content` AS content
                    
    	INNER JOIN `sonnb_xengallery_content_data` AS content_data ON
    		(content.content_data_id = content_data.content_data_id)
                WHERE (content.album_id = 1111394) AND (content.content_state IN ('visible','moderated'))
                ORDER BY content.position ASC
    	) AS content
    	CROSS JOIN (SELECT @row := 0) AS r
    ) AS content
        WHERE content.content_num_row > 18
            ORDER BY content.content_num_row ASC
     LIMIT 16
    Run Time: 0.002384
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARY<derived2>ALL    50Using where; Using filesort
    DERIVED<derived4>system    1 
    DERIVED<derived3>ALL    50 
    DERIVED       No tables used
    DERIVEDcontentrefalbum_id_positionalbum_id_position4 50Using where
    DERIVEDcontent_dataeq_refPRIMARY,content_type_idPRIMARY4nma_xen.content.content_data_id1 
  8.                    SELECT comment.*
                            ,
                                    0 AS like_date,
    			IF(user.username IS NULL, comment.username, user.username) AS username, user.avatar_date, user.gravatar
                       FROM `sonnb_xengallery_comment` AS comment
                        	
    			LEFT JOIN `xf_user` AS user ON
    				(user.user_id = comment.user_id)
                       WHERE (comment.content_type = 'photo') AND (comment.content_id = 5559) AND (comment.comment_state IN ('visible'))
                        	ORDER BY comment.comment_date DESC
                    	 LIMIT 5
    Run Time: 0.000552
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEcommentrefcontent_type_id_date,content_type_id,comment_datecontent_type_id_date5const,const1Using where
    SIMPLEusereq_refPRIMARYPRIMARY4nma_xen.comment.user_id1 
  9. INSERT DELAYED INTO sonnb_xengallery_content_view
    	(content_id)
    VALUES
    	(?)
    Params: 5559
    Run Time: 0.000135
  10.                    SELECT category.*
                            
                       FROM `sonnb_xengallery_category` AS category
                        	
                       WHERE 1=1
                        	ORDER BY category.lft ASC, category.display_order ASC
    Run Time: 0.000245
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEcategoryALL    144Using filesort
  11.                    SELECT field.*
                            
                       FROM `sonnb_xengallery_field` AS field
                        	
                       WHERE 1=1
                        	ORDER BY field.display_order ASC
    Run Time: 0.000175
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEfieldALL    1Using filesort
  12.                    SELECT category.*
                            
                       FROM `sonnb_xengallery_category` AS category
                        	
                       WHERE 1=1
                        	ORDER BY category.lft ASC, category.display_order ASC
    Run Time: 0.000241
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEcategoryALL    144Using filesort
  13. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 6a04becede3a20660876af7770ae12d9, , 1576017420
    Run Time: 0.000319
  14. 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_Photo, Index, valid, content_id=5559, 1576013820,
    Run Time: 0.000144
  15. 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', 'sonnb_xengallery_bbcode_photo', 'sonnb_xengallery_bbcode_video', 'sonnb_xengallery_bbcode_album', 'sonnb_xengallery_option_copyright', 'sonnbXG_copyright', 'sonnb_xengallery_photo_view', '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.001112
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 31Using where
  16. 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.000132
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 2Using where

Included Files (108, XenForo Classes: 45)

  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/Photo.php
  43. library/sonnb/XenGallery/ControllerPublic/XenGallery/Content.php
  44. library/sonnb/XenGallery/ControllerPublic/Abstract.php
  45. library/XenForo/ControllerPublic/Abstract.php
  46. library/XenForo/Controller.php
  47. library/Dark/PostRating/EventListener.php
  48. library/XenForo/Input.php
  49. library/XenForo/Session.php
  50. library/XenForo/Helper/Ip.php
  51. library/XenForo/Visitor.php
  52. library/XenForo/Model/User.php
  53. library/EWRporta2/Listener/Model.php
  54. library/Dark/PostRating/Model/User.php
  55. library/sonnb/XenGallery/XenForo/Model/User.php
  56. library/XenResource/Listener/Proxy/ModelUser.php
  57. library/EWRporta2/Model/User.php
  58. library/XenForo/Permission.php
  59. library/XenForo/Helper/Php.php
  60. library/XenForo/Phrase.php
  61. library/XenForo/Locale.php
  62. library/sonnb/XenGallery/Model/Gallery.php
  63. library/sonnb/XenGallery/Model/Abstract.php
  64. library/Waindigo/Listener/ControllerPreDispatch.php
  65. library/Waindigo/Listener/ControllerPreDispatch/20131003.php
  66. library/Waindigo/Listener/Template/20140101.php
  67. library/Waindigo/Listener/TemplatePostRender/20130522.php
  68. library/Waindigo/Listener/InitDependencies.php
  69. library/Waindigo/Listener/InitDependencies/20140101.php
  70. library/sonnb/XenGallery/ControllerHelper/Gallery.php
  71. library/XenForo/ControllerHelper/Abstract.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/Helper/Cookie.php
  81. library/sonnb/XenGallery/Model/Comment.php
  82. library/sonnb/XenGallery/Model/Field.php
  83. library/XenForo/ControllerResponse/View.php
  84. library/XenForo/ControllerResponse/Abstract.php
  85. library/XenForo/ViewRenderer/HtmlPublic.php
  86. library/XenForo/ViewRenderer/Abstract.php
  87. library/XenForo/Template/Public.php
  88. library/XenForo/Template/Abstract.php
  89. library/sonnb/XenGallery/ViewPublic/Content/View.php
  90. library/sonnb/XenGallery/ViewPublic/Abstract.php
  91. library/XenForo/ViewPublic/Base.php
  92. library/XenForo/View.php
  93. library/EWRporta2/Listener/ViewPublic.php
  94. library/XenForo/BbCode/Formatter/Base.php
  95. library/EWRporta2/Listener/BbCode.php
  96. library/sonnb/XenGallery/XenForo/BbCode/Formatter/Base.php
  97. library/EWRporta2/BbCode/Formatter.php
  98. library/XenForo/BbCode/Parser.php
  99. library/sonnb/XenGallery/ViewPublic/Helper.php
  100. library/XenForo/BbCode/TextWrapper.php
  101. library/XenResource/Listener/Template.php
  102. library/XenForo/Route/Prefix/Members.php
  103. library/EWRporta2/Listener/NavTabs.php
  104. library/EWRporta2/Model/Perms.php
  105. library/EWRporta2/Listener/Template.php
  106. library/Waindigo/SmilieImporter/Listener/TemplatePostRender.php
  107. library/XenForo/Debug.php
  108. library/XenForo/ViewRenderer/Json.php