Page Time: 0.1925s

Memory: 11.2196 MB (Peak: 13.3256 MB)

Queries (22, time: 0.0201s, 10.4%)

  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.002192
    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.000269
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  3. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000275
    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.000286
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  5. SELECT user.*
    	,
    		user_profile.*,
    		user_option.*,
    		user_privacy.*,
    		permission_combination.cache_value AS global_permission_cache,
    		IF (session_activity.view_date IS NULL, user.last_activity, session_activity.view_date) AS effective_last_activity,
    		session_activity.view_date, session_activity.controller_name, session_activity.controller_action, session_activity.params, session_activity.ip,
    		0 AS following_0
    	,(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_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)
    		LEFT JOIN xf_session_activity AS session_activity ON
    			(session_activity.user_id = user.user_id AND session_activity.unique_key = user.user_id)
    WHERE user.user_id = ?
    Params: 1952
    Run Time: 0.002043
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_optionconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    PRIMARYpermission_combinationconstPRIMARYPRIMARY4const1 
    PRIMARYsession_activityALLPRIMARY   530 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4const8 
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 2Using where
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 4Using where
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 8Using where
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 8Using where
  6. SELECT COUNT(*)
    FROM xf_profile_post AS profile_post
    
    WHERE (profile_post.profile_user_id = 1952) AND (profile_post.message_state IN ('visible'))
    Run Time: 0.004138
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postrefprofile_user_id_post_dateprofile_user_id_post_date4const11Using where
  7. SELECT profile_post.*
    	,
    	posting_user.*,
    	IF(posting_user.username IS NULL, profile_post.username, posting_user.username) AS username,
    	0 AS like_date
    FROM xf_profile_post AS profile_post
    
    	LEFT JOIN xf_user AS posting_user ON
    		(posting_user.user_id = profile_post.user_id)
    WHERE (profile_post.profile_user_id = 1952) AND (profile_post.message_state IN ('visible'))
    ORDER BY profile_post.post_date DESC
     LIMIT 20
    Run Time: 0.000889
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postrefprofile_user_id_post_dateprofile_user_id_post_date4const11Using where
    SIMPLEposting_usereq_refPRIMARYPRIMARY4xpfboard.profile_post.user_id1 
  8. SELECT user_field.*
    	,
    	field_value.field_value
    FROM xf_user_field AS user_field
    
    	LEFT JOIN xf_user_field_value AS field_value ON
    		(field_value.field_id = user_field.field_id AND field_value.user_id = 1952)
    WHERE (user_field.display_group <> 'preferences' AND user_field.viewable_profile = 1)
    ORDER BY user_field.display_group, user_field.display_order
    Run Time: 0.000731
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_fieldindexdisplay_group_orderdisplay_group_order5 13Using where
    SIMPLEfield_valueeq_refPRIMARY,field_idPRIMARY31const,xpfboard.user_field.field_id1 
  9. SELECT
    	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 (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_follow AS user_follow
    INNER JOIN xf_user AS user ON
    	(user.user_id = user_follow.follow_user_id)
    INNER JOIN xf_user_profile AS user_profile ON
    	(user_profile.user_id = user.user_id)
    INNER JOIN xf_user_option AS user_option ON
    	(user_option.user_id = user.user_id)
    	
    WHERE user_follow.user_id = ?
    ORDER BY RAND()
     LIMIT 6
    Params: 1952
    Run Time: 0.002338
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuser_followrefPRIMARY,follow_user_idPRIMARY4const7Using index; Using temporary; Using filesort
    PRIMARYusereq_refPRIMARYPRIMARY4xpfboard.user_follow.follow_user_id1 
    PRIMARYuser_profileeq_refPRIMARYPRIMARY4xpfboard.user_follow.follow_user_id1 
    PRIMARYuser_optioneq_refPRIMARYPRIMARY4xpfboard.user_follow.follow_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
  10. SELECT COUNT(*)
    FROM xf_user_follow
    WHERE follow_user_id = ?
    Params: 1952
    Run Time: 0.000290
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_user_followreffollow_user_idfollow_user_id4const7Using index
  11. SELECT 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 (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_follow AS user_follow
    INNER JOIN xf_user AS user ON
    	(user.user_id = user_follow.user_id)
    INNER JOIN xf_user_profile AS user_profile ON
    	(user_profile.user_id = user.user_id)
    INNER JOIN xf_user_option AS user_option ON
    	(user_option.user_id = user.user_id)
    	
    WHERE user_follow.follow_user_id = ?
    ORDER BY RAND()
     LIMIT 6
    Params: 1952
    Run Time: 0.002005
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuser_followrefPRIMARY,follow_user_idfollow_user_id4const7Using index; Using temporary; Using filesort
    PRIMARYusereq_refPRIMARYPRIMARY4xpfboard.user_follow.user_id1 
    PRIMARYuser_profileeq_refPRIMARYPRIMARY4xpfboard.user_follow.user_id1 
    PRIMARYuser_optioneq_refPRIMARYPRIMARY4xpfboard.user.user_id1Using where
    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
  12. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 8ec3f9489444e45b5b90f3af09e3fc63, a:7:{s:12:"sessionStart";i:1408595575;s:2:"ip";s:4:"6V";s:11:"sessionCsrf";s:16:"Cs5pDc1qPNRiWlMR";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;}}, 1408599175
    Run Time: 0.000264
  13. 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, 6V, 6V, XenForo_ControllerPublic_Member, Member, valid, user_id=1952, 1408595575,
    Run Time: 0.000215
  14. 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', 'member_view', '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.001797
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 17Using where
  15. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('user_field_favorite_player_desc', 'user_field_favorite_tailgating_food_desc', 'user_field_favorite_music_artist_or__desc', 'user_field_favorite_tv_show_desc', 'user_field_favorite_movie_desc', 'user_field_aim_desc', 'user_field_icq_desc', 'user_field_yahoo_desc', 'user_field_skype_desc', 'user_field_gtalk_desc', 'user_field_facebook_desc', 'user_field_twitter_desc')
    Params: 1
    Run Time: 0.000335
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledrangePRIMARYPRIMARY106 9Using where
  16. SELECT count_given as rating_count, rating, 1 as given
    FROM dark_postrating_count
    WHERE user_id = ?
    
    UNION                
    
    SELECT count_received as rating_count, rating, 0 as given
    FROM dark_postrating_count
    WHERE user_id = ?
    
    ORDER BY rating_count desc, rating asc
    Params: 1952, 1952
    Run Time: 0.000368
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYdark_postrating_countrefuser_id_ratinguser_id_rating4const8 
    UNIONdark_postrating_countrefuser_id_ratinguser_id_rating4const8 
    UNION RESULT<union1,2>ALL     Using filesort
  17. SELECT COUNT(*)
    FROM xf_liked_content
    WHERE like_user_id = ?
    Params: 1952
    Run Time: 0.000200
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_liked_contentreflike_user_content_type_idlike_user_content_type_id4const23Using index
  18. SELECT count_given as rating_count, rating, 1 as given
    FROM dark_postrating_count
    WHERE user_id = ?
    
    UNION                
    
    SELECT count_received as rating_count, rating, 0 as given
    FROM dark_postrating_count
    WHERE user_id = ?
    
    ORDER BY rating_count desc, rating asc
    Params: 1952, 1952
    Run Time: 0.000370
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYdark_postrating_countrefuser_id_ratinguser_id_rating4const8 
    UNIONdark_postrating_countrefuser_id_ratinguser_id_rating4const8 
    UNION RESULT<union1,2>ALL     Using filesort
  19. SELECT COUNT(*)
    FROM xf_liked_content
    WHERE like_user_id = ?
    Params: 1952
    Run Time: 0.000203
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_liked_contentreflike_user_content_type_idlike_user_content_type_id4const23Using index
  20. SELECT count_given as rating_count, rating, 1 as given
    FROM dark_postrating_count
    WHERE user_id = ?
    
    UNION                
    
    SELECT count_received as rating_count, rating, 0 as given
    FROM dark_postrating_count
    WHERE user_id = ?
    
    ORDER BY rating_count desc, rating asc
    Params: 1952, 1952
    Run Time: 0.000365
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYdark_postrating_countrefuser_id_ratinguser_id_rating4const8 
    UNIONdark_postrating_countrefuser_id_ratinguser_id_rating4const8 
    UNION RESULT<union1,2>ALL     Using filesort
  21. SELECT COUNT(*)
    FROM xf_liked_content
    WHERE like_user_id = ?
    Params: 1952
    Run Time: 0.000203
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_liked_contentreflike_user_content_type_idlike_user_content_type_id4const23Using index
  22. 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.000329
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (101, XenForo Classes: 55)

  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/Members.php
  43. library/XenForo/RouteMatch.php
  44. library/XenForo/ControllerPublic/Member.php
  45. library/XenForo/ControllerPublic/Abstract.php
  46. library/XenForo/Controller.php
  47. library/Dark/PostRating/ControllerPublic/Member.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/Dark/PostRating/Model/User.php
  54. library/XenMoods/XFCP/Model/User.php
  55. library/XenForo/Permission.php
  56. library/XenForo/Phrase.php
  57. library/XenForo/Locale.php
  58. library/XenForo/ControllerResponse/Reroute.php
  59. library/XenForo/ControllerResponse/Abstract.php
  60. library/XenForo/ControllerHelper/UserProfile.php
  61. library/XenForo/ControllerHelper/Abstract.php
  62. library/Dark/PostRating/Model.php
  63. library/XenForo/Model/UserProfile.php
  64. library/XenForo/Model/ProfilePost.php
  65. library/XenForo/Model/UserField.php
  66. library/XenForo/Model/UserIgnore.php
  67. library/XenForo/Model/Conversation.php
  68. library/Dark/PostRating/Model/Conversation.php
  69. library/XenForo/ControllerResponse/View.php
  70. library/XenForo/Helper/Cookie.php
  71. library/XenForo/ViewRenderer/HtmlPublic.php
  72. library/XenForo/ViewRenderer/Abstract.php
  73. library/XenForo/Template/Public.php
  74. library/XenForo/Template/Abstract.php
  75. library/XenMoods/Listener/FrontControllerPreView.php
  76. library/XenMoods/Model/Mood.php
  77. library/XenForo/ViewPublic/Member/View.php
  78. library/XenForo/ViewPublic/Base.php
  79. library/XenForo/View.php
  80. library/XenForo/BbCode/Parser.php
  81. library/XenForo/BbCode/Formatter/Base.php
  82. library/XenForo/BbCode/TextWrapper.php
  83. library/XenForo/ViewPublic/Helper/User.php
  84. library/XenForo/Helper/String.php
  85. library/Tapatalk/EventListener/Hook.php
  86. library/Header/Responsive.php
  87. library/SeparateStickyAndNormal/Listener.php
  88. library/XenMoods/Listener/TemplateHook.php
  89. library/XenForo/Model/Like.php
  90. library/Tapatalk/Listener/TemplatePostRender.php
  91. library/XenForo/Debug.php
  92. mobiquo/smartbanner/head.inc.php
  93. library/Header/LocalNews.php
  94. /home/httpd/vhosts/patsfans.com/httpdocs/2014/pfinclude/local-news-headlines-forum.php
  95. library/Header/TopStoryBar.php
  96. /home/httpd/vhosts/patsfans.com/httpdocs/2014/pfinclude/top-thumbs.php
  97. /home/httpd/vhosts/patsfans.com/httpdocs/pfinclude/script-header.inc
  98. /home/httpd/vhosts/patsfans.com/httpdocs/pfinclude/navbar-php-scripts.php
  99. library/Sidebar/2014Sidebar.php
  100. /home/httpd/vhosts/patsfans.com/httpdocs/test-forum/library/Sidebar/2014ForumSidebarReg.php
  101. library/XenForo/ViewRenderer/Json.php