Page Time: 0.1518s

Memory: 7.0616 MB (Peak: 9.7614 MB)

Queries (9, time: 0.0073s, 4.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.001268
    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.000187
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT resource.*
    	,
    		version.version_string,
    		version.release_date,
    		version.download_url,
    		version.rating_count AS version_rating_count,
    		version.rating_sum AS version_rating_sum,
    		version.download_count AS version_download_count,
    		user.*, user_profile.*, IF(user.username IS NULL, resource.username, user.username) AS username,
    		attachment.attachment_id,
    		attachment.view_count AS attachment_view_count,
    		attachment_data.filename AS attachment_filename,
    		attachment_data.file_size AS attachment_file_size,
    		feature.feature_date,
    		0 AS is_watched,
    		0 AS last_download_date
    FROM xf_resource AS resource
    	
    		LEFT JOIN xf_resource_version AS version ON
    			(version.resource_version_id = resource.current_version_id)
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = resource.user_id)
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = resource.user_id)
    		LEFT JOIN xf_attachment AS attachment ON
    			(attachment.content_type = 'resource_version' AND attachment.content_id = version.resource_version_id)
    		LEFT JOIN xf_attachment_data AS attachment_data ON
    			(attachment_data.data_id = attachment.data_id)
    		LEFT JOIN xf_resource_feature AS feature ON
    			(feature.resource_id = resource.resource_id)
    WHERE resource.resource_id = ?
    Params: 54
    Run Time: 0.002098
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEresourceconstPRIMARYPRIMARY4const1 
    SIMPLEversionconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEuser_profileconstPRIMARYPRIMARY4const1 
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1 
    SIMPLEattachment_dataeq_refPRIMARYPRIMARY4nma_xen.attachment.data_id1 
    SIMPLEfeatureeq_refPRIMARYPRIMARY4const1 
  4. SELECT resource_category.*
    	,
    	permission.cache_value AS category_permission_cache
    FROM xf_resource_category AS resource_category
    
    	LEFT JOIN xf_permission_cache_content AS permission
    		ON (permission.permission_combination_id = 1
    			AND permission.content_type = 'resource_category'
    			AND permission.content_id = resource_category.resource_category_id)
    WHERE resource_category.resource_category_id = ?
    Params: 20
    Run Time: 0.000371
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEresource_categoryconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  5. SELECT resource_update.*
    	,
    		0 AS like_date,
    	1 AS user_id
    FROM xf_resource_update AS resource_update
    	
    WHERE resource_update.resource_update_id = ?
    Params: 54
    Run Time: 0.000751
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEresource_updateconstPRIMARYPRIMARY4const1 
  6. SELECT resource.*
    	,
    	version.version_string,
    	version.release_date,
    	version.download_url,
    	version.rating_count AS version_rating_count,
    	version.rating_sum AS version_rating_sum,
    	version.download_count AS version_download_count,
    permission.cache_value AS category_permission_cache
    FROM xf_resource AS resource
    
    	LEFT JOIN xf_resource_version AS version ON
    		(version.resource_version_id = resource.current_version_id)
    LEFT JOIN xf_permission_cache_content AS permission
    	ON (permission.permission_combination_id = 1
    		AND permission.content_type = 'resource_category'
    		AND permission.content_id = resource.resource_category_id)
    WHERE (resource.user_id = 1) AND (resource.resource_id <> 54) AND (resource.resource_state = 'visible')
    ORDER BY resource.last_update DESC
     LIMIT 5
    Run Time: 0.000975
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEresourcerefPRIMARY,user_id_last_updateuser_id_last_update4const10Using where
    SIMPLEversioneq_refPRIMARYPRIMARY4nma_xen.resource.current_version_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,nma_xen.resource.resource_category_id1 
  7. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: c009a5b8c33fe442b8d3340472814aee, , 1532364431
    Run Time: 0.000304
  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, , , XenResource_ControllerPublic_Resource, View, valid, resource_id=54, 1532360831,
    Run Time: 0.000191
  9. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'resource_view', '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', 'resource_description', 'sonnb_xengallery_option_copyright', 'sonnbXG_copyright', 'sonnb_xengallery_navbar_template', 'resources_tab_links', 'EWRporta2_Navtabs', 'sonnb_xengallery_nav_visitor', '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', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 4, 1
    Run Time: 0.001140
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 32Using where

Included Files (106, XenForo Classes: 51)

  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/XenResource/Route/Prefix/Resources.php
  41. library/XenForo/RouteMatch.php
  42. library/XenResource/ControllerPublic/Resource.php
  43. library/XenForo/ControllerPublic/Abstract.php
  44. library/XenForo/Controller.php
  45. library/Dark/PostRating/EventListener.php
  46. library/XenForo/Input.php
  47. library/XenForo/Session.php
  48. library/XenForo/Helper/Ip.php
  49. library/XenForo/Visitor.php
  50. library/XenForo/Model/User.php
  51. library/EWRporta2/Listener/Model.php
  52. library/sonnb/XenGallery/XenForo/Model/User.php
  53. library/Dark/PostRating/Model/User.php
  54. library/XenResource/Listener/Proxy/ModelUser.php
  55. library/EWRporta2/Model/User.php
  56. library/XenForo/Permission.php
  57. library/XenForo/Helper/Php.php
  58. library/XenForo/Phrase.php
  59. library/XenForo/Locale.php
  60. library/XenResource/Model/Resource.php
  61. library/Waindigo/Listener/ControllerPreDispatch.php
  62. library/Waindigo/Listener/ControllerPreDispatch/20131003.php
  63. library/Waindigo/Listener/Template/20140101.php
  64. library/Waindigo/Listener/TemplatePostRender/20130522.php
  65. library/Waindigo/Listener/InitDependencies.php
  66. library/Waindigo/Listener/InitDependencies/20140101.php
  67. library/XenForo/ControllerResponse/Reroute.php
  68. library/XenForo/ControllerResponse/Abstract.php
  69. library/XenResource/ControllerHelper/Resource.php
  70. library/XenForo/ControllerHelper/Abstract.php
  71. library/XenResource/Model/Category.php
  72. library/XenForo/Helper/String.php
  73. library/XenResource/Model/Update.php
  74. library/XenResource/Model/Version.php
  75. library/XenForo/Model/Attachment.php
  76. library/XenForo/Route/Prefix/Attachments.php
  77. library/XenForo/ControllerResponse/View.php
  78. library/XenForo/Helper/Cookie.php
  79. library/XenForo/ViewRenderer/HtmlPublic.php
  80. library/XenForo/ViewRenderer/Abstract.php
  81. library/XenForo/Template/Public.php
  82. library/XenForo/Template/Abstract.php
  83. library/XenResource/ViewPublic/Resource/Description.php
  84. library/XenForo/ViewPublic/Base.php
  85. library/XenForo/View.php
  86. library/EWRporta2/Listener/ViewPublic.php
  87. library/XenForo/BbCode/Parser.php
  88. library/XenForo/BbCode/Formatter/Base.php
  89. library/EWRporta2/Listener/BbCode.php
  90. library/sonnb/XenGallery/XenForo/BbCode/Formatter/Base.php
  91. library/EWRporta2/BbCode/Formatter.php
  92. library/XenForo/ViewPublic/Helper/Message.php
  93. library/XenForo/BbCode/TextWrapper.php
  94. library/XenResource/Listener/Template.php
  95. library/ArtodiaFramework/Listener.php
  96. library/XenForo/Route/Prefix/Members.php
  97. library/EWRporta2/Listener/NavTabs.php
  98. library/EWRporta2/Model/Perms.php
  99. library/XenResource/ViewPublic/Helper/Resource.php
  100. library/OpenGraphImage/Callback.php
  101. library/EWRporta2/Listener/Template.php
  102. library/XenForo/Route/Prefix/Tags.php
  103. library/XenForo/Model/Avatar.php
  104. library/Waindigo/SmilieImporter/Listener/TemplatePostRender.php
  105. library/XenForo/Debug.php
  106. library/XenForo/ViewRenderer/Json.php