Page Time: 0.1682s

Memory: 7.7922 MB (Peak: 10.5015 MB)

Queries (13, time: 0.0124s, 7.3%)

  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.000719
    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.000175
    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.000132
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  4. SELECT session_activity.*
    	,
    	user.*,
    	user_profile.*,
    	user_option.*
    			,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,2,4,5,6,7,8,10)) as positive_rating_count
    		
    			,(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
    		
    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 (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 > 1516409229)
    ORDER BY session_activity.view_date DESC
     LIMIT 20
    Run Time: 0.002171
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYsession_activityrangePRIMARY,view_dateview_date4 62Using where
    PRIMARYusereq_refPRIMARYPRIMARY4nma_xen.session_activity.user_id1Using where
    PRIMARYuser_profileeq_refPRIMARYPRIMARY4nma_xen.user.user_id1 
    PRIMARYuser_optioneq_refPRIMARYPRIMARY4nma_xen.user.user_id1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4nma_xen.user.user_id1Using where
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4nma_xen.user.user_id1Using where
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4nma_xen.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 > 1516409229)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.002018
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 62Using where
    SIMPLEusereq_refPRIMARYPRIMARY4nma_xen.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 (177726, 182825, 150938, 177381, 204556, 194246, 214457, 207034, 207311)
    Run Time: 0.001234
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 9Using where
    SIMPLEnodeeq_refPRIMARYPRIMARY4nma_xen.thread.node_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,nma_xen.thread.node_id1 
  7. SELECT user.*
    	,
    	user_privacy.*
    ,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,2,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,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_privacy AS user_privacy ON
    		(user_privacy.user_id = user.user_id)
    WHERE user.user_id IN (96201, 102188, 79078, 99387, 80376, 58005)
    ORDER BY user.username
    Run Time: 0.001520
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserrangePRIMARYPRIMARY4 6Using where; Using filesort
    PRIMARYuser_privacyeq_refPRIMARYPRIMARY4nma_xen.user.user_id1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4nma_xen.user.user_id1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4nma_xen.user.user_id1Using where
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4nma_xen.user.user_id1Using where
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4nma_xen.user.user_id1Using where
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4nma_xen.user.user_id1Using where
  8.                    SELECT content.*
                            ,
    			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
    			,
    			IF(user.username IS NULL, content.username, user.username) AS username, user.avatar_date, user.gravatar,
    			photo.photo_exif
                       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)
    			LEFT JOIN `sonnb_xengallery_photo` AS photo ON
    				(photo.content_id = content.content_id)
                       WHERE (content.content_id IN (3170)) AND (content.content_type = 'photo')
    Run Time: 0.001048
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEcontentconstPRIMARY,album_id_position,content_type_idPRIMARY4const1 
    SIMPLEalbumconstPRIMARYPRIMARY4const1 
    SIMPLEcategoryconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEphotoconstPRIMARYPRIMARY4const1 
  9. SELECT COUNT(*)
    FROM xf_session_activity AS session_activity
    
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = session_activity.user_id)
    WHERE (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 > 1516409229)
    Run Time: 0.001244
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangePRIMARY,view_dateview_date4 62Using where
    SIMPLEusereq_refPRIMARYPRIMARY4nma_xen.session_activity.user_id1Using where
  10. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 705248033b0b75ed9f71290e94eedd05, a:6:{s:12:"sessionStart";i:1516410129;s:2:"ip";s:4:"6SQ4";s:11:"sessionCsrf";s:16:"_StoNZX-yr9Fgaym";s:9:"userAgent";s:39:"CCBot/2.0 (http://commoncrawl.org/faq/)";s:7:"robotId";s:0:"";s:16:"previousActivity";i:0;}, 1516413729
    Run Time: 0.000309
  11. 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, 6SQ4, 6SQ4, XenForo_ControllerPublic_Online, Index, valid, , 1516410129,
    Run Time: 0.000157
  12. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'online_list', '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.001054
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 22Using where
  13. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('viewing_thread', 'viewing_member_profile')
    Params: 1
    Run Time: 0.000581
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledrangePRIMARYPRIMARY106 2Using where

Included Files (112, XenForo Classes: 50)

  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/XenForo/Route/Prefix/Online.php
  41. library/XenForo/RouteMatch.php
  42. library/XenForo/ControllerPublic/Online.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/Waindigo/Listener/ControllerPreDispatch.php
  61. library/Waindigo/Listener/ControllerPreDispatch/20131003.php
  62. library/Waindigo/Listener/Template/20140101.php
  63. library/Waindigo/Listener/TemplatePostRender/20130522.php
  64. library/Waindigo/Listener/InitDependencies.php
  65. library/Waindigo/Listener/InitDependencies/20140101.php
  66. library/XenForo/Model/Session.php
  67. library/Dark/PostRating/Model/Session.php
  68. library/Dark/PostRating/Model.php
  69. library/XenForo/ControllerPublic/Thread.php
  70. library/EWRporta2/Listener/Controller.php
  71. library/sonnb/XenGallery/XenForo/ControllerPublic/Thread.php
  72. library/EWRporta2/ControllerPublic/Thread.php
  73. library/XenForo/Model/Thread.php
  74. library/Dark/PostRating/Model/Thread.php
  75. library/XenForo/Model/Forum.php
  76. library/XenForo/Helper/String.php
  77. library/XenForo/Route/Prefix/Threads.php
  78. library/XenForo/ControllerPublic/Member.php
  79. library/sonnb/XenGallery/XenForo/ControllerPublic/Member.php
  80. library/Dark/PostRating/ControllerPublic/Member.php
  81. library/XenResource/Listener/Proxy/ControllerMember.php
  82. library/XenForo/Route/Prefix/Members.php
  83. library/sonnb/XenGallery/ControllerPublic/XenGallery/Photo.php
  84. library/sonnb/XenGallery/ControllerPublic/XenGallery/Content.php
  85. library/sonnb/XenGallery/ControllerPublic/Abstract.php
  86. library/sonnb/XenGallery/Model/Photo.php
  87. library/sonnb/XenGallery/Model/Content.php
  88. library/sonnb/XenGallery/Model/Abstract.php
  89. library/sonnb/XenGallery/Model/Collection.php
  90. library/sonnb/XenGallery/Route/Prefix/XenGallery.php
  91. library/sonnb/XenGallery/Model/Album.php
  92. library/sonnb/XenGallery/Model/Category.php
  93. library/sonnb/XenGallery/Model/Gallery.php
  94. library/XenForo/ControllerPublic/Misc.php
  95. library/XenForo/ControllerResponse/View.php
  96. library/XenForo/ControllerResponse/Abstract.php
  97. library/XenForo/Helper/Cookie.php
  98. library/XenForo/ViewRenderer/HtmlPublic.php
  99. library/XenForo/ViewRenderer/Abstract.php
  100. library/XenForo/Template/Public.php
  101. library/XenForo/Template/Abstract.php
  102. library/EWRporta2/Listener/ViewPublic.php
  103. library/XenForo/ViewPublic/Base.php
  104. library/XenForo/View.php
  105. library/XenResource/Listener/Template.php
  106. library/ArtodiaFramework/Listener.php
  107. library/EWRporta2/Listener/NavTabs.php
  108. library/EWRporta2/Model/Perms.php
  109. library/EWRporta2/Listener/Template.php
  110. library/Waindigo/SmilieImporter/Listener/TemplatePostRender.php
  111. library/XenForo/Debug.php
  112. library/XenForo/ViewRenderer/Json.php