Page Time: 0.2040s

Memory: 12.1007 MB (Peak: 14.2191 MB)

Queries (25, time: 0.0160s, 7.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.002091
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 26Using where
  2. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: moods
    Run Time: 0.000264
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  3. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000264
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  4. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: dark_postrating_ratings
    Run Time: 0.000282
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  5. 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,13)) 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_date > 1409379790)
    ORDER BY session_activity.view_date DESC
     LIMIT 20
    Run Time: 0.001782
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYsession_activityrangePRIMARY,view_dateview_date4 77Using where
    PRIMARYusereq_refPRIMARYPRIMARY4xpfboard.session_activity.user_id1Using where
    PRIMARYuser_profileeq_refPRIMARYPRIMARY4xpfboard.user.user_id1 
    PRIMARYuser_optioneq_refPRIMARYPRIMARY4xpfboard.user.user_id1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4xpfboard.user.user_id1Using where
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4xpfboard.user.user_id1Using where
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4xpfboard.user.user_id1Using where
  6. SELECT session_activity.*
    	,
    	user.*,
    	user_profile.*,
    	user_option.*
    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 (session_activity.view_date > 1409379790)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.002054
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 77Using where
    SIMPLEusereq_refPRIMARYPRIMARY4xpfboard.session_activity.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4xpfboard.user.user_id1 
    SIMPLEuser_optioneq_refPRIMARYPRIMARY4xpfboard.user.user_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
    
    	, ((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)) + user.like_count) 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,13)) 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 (2054, 22953)
    ORDER BY user.username
    Run Time: 0.001205
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserrangePRIMARYPRIMARY4 2Using where; Using filesort
    PRIMARYuser_privacyeq_refPRIMARYPRIMARY4xpfboard.user.user_id1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4xpfboard.user.user_id1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4xpfboard.user.user_id1Using where
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4xpfboard.user.user_id1Using where
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4xpfboard.user.user_id1Using where
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4xpfboard.user.user_id1Using where
  8. SELECT ignore_thread.*
    FROM xf_ignore_thread AS ignore_thread
    WHERE ignore_thread.user_id = ?
    ORDER BY ignore_time DESC
    Params: 0
    Run Time: 0.000257
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEignore_threadrefuser_threaduser_thread4const1Using where; Using filesort
  9. 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 (130217)
    	AND 1=1
    Run Time: 0.000472
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  10. SELECT ignore_thread.*
    FROM xf_ignore_thread AS ignore_thread
    WHERE ignore_thread.user_id = ?
    ORDER BY ignore_time DESC
    Params: 0
    Run Time: 0.000264
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEignore_threadrefuser_threaduser_thread4const1Using where; Using filesort
  11. 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 (248777)
    	AND 1=1
    Run Time: 0.000470
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  12. SELECT ignore_thread.*
    FROM xf_ignore_thread AS ignore_thread
    WHERE ignore_thread.user_id = ?
    ORDER BY ignore_time DESC
    Params: 0
    Run Time: 0.000267
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEignore_threadrefuser_threaduser_thread4const1Using where; Using filesort
  13. 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 (1111613)
    	AND 1=1
    Run Time: 0.000469
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  14. SELECT ignore_thread.*
    FROM xf_ignore_thread AS ignore_thread
    WHERE ignore_thread.user_id = ?
    ORDER BY ignore_time DESC
    Params: 0
    Run Time: 0.000262
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEignore_threadrefuser_threaduser_thread4const1Using where; Using filesort
  15. 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 (1111608)
    	AND 1=1
    Run Time: 0.000466
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  16. SELECT ignore_thread.*
    FROM xf_ignore_thread AS ignore_thread
    WHERE ignore_thread.user_id = ?
    ORDER BY ignore_time DESC
    Params: 0
    Run Time: 0.000265
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEignore_threadrefuser_threaduser_thread4const1Using where; Using filesort
  17. 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 (970239, 1111607, 1111589, 51028, 746736, 57035, 1111613, 1111597)
    	AND 1=1
    Run Time: 0.000650
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 8Using where
    SIMPLEnodeeq_refPRIMARYPRIMARY4xpfboard.thread.node_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,xpfboard.thread.node_id1 
  18. SELECT node.*, forum.*
    	,
    	permission.cache_value AS node_permission_cache
    FROM xf_forum AS forum
    INNER JOIN xf_node AS node ON (node.node_id = forum.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 = forum.node_id)
    WHERE node.node_id IN (10, 98)
    Run Time: 0.000679
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumrangePRIMARYPRIMARY4 2Using where
    SIMPLEnodeeq_refPRIMARYPRIMARY4xpfboard.forum.node_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,xpfboard.node.node_id1 
  19. SELECT 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_date > 1409379790)
    Run Time: 0.000897
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangePRIMARY,view_dateview_date4 77Using where
    SIMPLEusereq_refPRIMARYPRIMARY4xpfboard.session_activity.user_id1Using where
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4xpfboard.user.user_id1Using index
    SIMPLEuser_optioneq_refPRIMARYPRIMARY4xpfboard.user.user_id1Using index
  20. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 3e70a4af3dab16554850731c4ad624b1, a:7:{s:12:"sessionStart";i:1409380690;s:2:"ip";s:4:"";s:11:"sessionCsrf";s:16:"gE_T3oJzlfYc4BxC";s:9:"userAgent";s:39:"CCBot/2.0 (http://commoncrawl.org/faq/)";s:7:"robotId";s:0:"";s:16:"previousActivity";i:0;s:15:"isIpDiscouraged";a:2:{s:6:"result";b:0;s:7:"version";i:1404747718;}}, 1409384290
    Run Time: 0.000217
  21. 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, , , XenForo_ControllerPublic_Online, Index, valid, , 1409380690,
    Run Time: 0.000167
  22. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'online_list', '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: 2, 1
    Run Time: 0.001341
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 12Using where
  23. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('viewing_member_profile', 'viewing_thread', 'tapatalk_get_thread', 'tapatalk_get_forum_list', 'viewing_forum')
    Params: 1
    Run Time: 0.000412
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledrangePRIMARYPRIMARY106 4Using where
  24. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('on_tapatalk')
    Params: 1
    Run Time: 0.000259
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY106const,const1 
  25. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('PatsFans_2014_Header')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 1
    Run Time: 0.000288
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (102, 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/XenMoods/Listener/InitDependencies.php
  33. library/Tapatalk/Listener/LoadClassModel.php
  34. library/Dark/PostRating/EventListener.php
  35. library/XenMoods/Listener/LoadClassModel.php
  36. library/Nobita/IgnoreThread/Listener.php
  37. library/XenForo/Router.php
  38. library/XenForo/Route/Filter.php
  39. library/XenForo/Route/Interface.php
  40. library/XenForo/Route/ResponseSuffix.php
  41. library/XenForo/Route/Prefix.php
  42. library/XenForo/Route/Prefix/Online.php
  43. library/XenForo/RouteMatch.php
  44. library/XenForo/ControllerPublic/Online.php
  45. library/XenForo/ControllerPublic/Abstract.php
  46. library/XenForo/Controller.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/Dark/PostRating/Model/User.php
  53. library/XenMoods/XFCP/Model/User.php
  54. library/XenForo/Permission.php
  55. library/XenForo/Phrase.php
  56. library/XenForo/Locale.php
  57. library/XenForo/Model/Session.php
  58. library/Dark/PostRating/Model/Session.php
  59. library/Dark/PostRating/Model.php
  60. library/XenForo/ControllerPublic/Member.php
  61. library/Dark/PostRating/ControllerPublic/Member.php
  62. library/XenForo/Route/Prefix/Members.php
  63. library/Tapatalk/ControllerPublic/Tapatalk.php
  64. library/XenForo/ControllerPublic/Thread.php
  65. library/XenForo/Model/Thread.php
  66. library/Dark/PostRating/Model/Thread.php
  67. library/Nobita/IgnoreThread/Model/Thread.php
  68. library/Nobita/IgnoreThread/Model/IgnoreThread.php
  69. library/XenForo/Model/Forum.php
  70. library/XenForo/Helper/String.php
  71. library/XenForo/Route/Prefix/Threads.php
  72. library/Nobita/IgnoreThread/ControllerPublic/Thread.php
  73. library/XenForo/ControllerPublic/Forum.php
  74. library/Nobita/IgnoreThread/ControllerPublic/Forum.php
  75. library/XenForo/Route/Prefix/Forums.php
  76. library/XenForo/ControllerResponse/View.php
  77. library/XenForo/ControllerResponse/Abstract.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/XenMoods/Listener/FrontControllerPreView.php
  84. library/XenMoods/Model/Mood.php
  85. library/XenForo/ViewPublic/Base.php
  86. library/XenForo/View.php
  87. library/Tapatalk/EventListener/Hook.php
  88. library/Header/Responsive.php
  89. library/SeparateStickyAndNormal/Listener.php
  90. library/Tapatalk/Listener/TemplatePostRender.php
  91. library/XenMoods/Listener/TemplateHook.php
  92. library/XenForo/Debug.php
  93. mobiquo/smartbanner/head.inc.php
  94. library/Header/LocalNews.php
  95. /home/httpd/vhosts/patsfans.com/httpdocs/2014/pfinclude/local-news-headlines-forum.php
  96. library/Header/TopStoryBar.php
  97. /home/httpd/vhosts/patsfans.com/httpdocs/2014/pfinclude/top-thumbs.php
  98. /home/httpd/vhosts/patsfans.com/httpdocs/pfinclude/script-header.inc
  99. /home/httpd/vhosts/patsfans.com/httpdocs/pfinclude/navbar-php-scripts.php
  100. library/Sidebar/2014Sidebar.php
  101. /home/httpd/vhosts/patsfans.com/httpdocs/test-forum/library/Sidebar/2014ForumSidebarReg.php
  102. library/XenForo/ViewRenderer/Json.php