Page Time: 0.0523s

Memory: 8.8409 MB (Peak: 9.0247 MB)

Queries (17, time: 0.0079s, 15.0%)

  1. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000100
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  2. SELECT article.*
    	,
    		user.*, user_profile.*, IF(user.username IS NULL, article.username, user.username) AS username,
    		0 AS is_watched,
    		0 AS has_rated
    FROM xf_nflj_ams_article AS article
    	
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = article.user_id)
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = article.user_id)
    WHERE article.article_id = ?
    Params: 245
    Run Time: 0.000986
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEarticleconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEuser_profileconstPRIMARYPRIMARY4const1 
  3. SELECT category.*
    	,
    	permission.cache_value AS category_permission_cache
    FROM xf_nflj_ams_category AS category
    
    	LEFT JOIN xf_permission_cache_content AS permission
    		ON (permission.permission_combination_id = 1
    			AND permission.content_type = 'ams_category'
    			AND permission.content_id = category.category_id)
    WHERE category.category_id = ?
    Params: 56
    Run Time: 0.000234
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEcategoryconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  4. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (245)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: ams_article
    Run Time: 0.000381
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition; Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4xfrchelp.attachment.data_id1 
  5. SELECT *
    FROM xf_liked_content
    WHERE content_type = ?
    	AND content_id = ?
    	AND like_user_id = ?
    Params: ams_article, 245, 0
    Run Time: 0.000092
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLE       Impossible WHERE noticed after reading const tables
  6. SELECT comment.*
    	,
    		user.*, user_profile.*, 0 AS like_date			
    FROM xf_nflj_ams_comment AS comment
    	
    		INNER JOIN xf_user AS user ON
    			(user.user_id = comment.user_id)
    		INNER JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = comment.user_id)
    WHERE (comment.article_id = 245) AND (comment.comment_state IN ('visible'))
    ORDER BY comment.comment_date DESC
     LIMIT 10
    Run Time: 0.000644
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEcommentALLuser_id   68Using where; Using filesort
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4xfrchelp.comment.user_id1 
    SIMPLEusereq_refPRIMARYPRIMARY4xfrchelp.comment.user_id1 
  7. SELECT COUNT(*)
    FROM xf_nflj_ams_comment AS comment
    WHERE (comment.article_id = 245) AND (comment.comment_state IN ('visible'))
    Run Time: 0.000061
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEcommentALL    68Using where
  8. 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 = ?
    Params: 17586
    Run Time: 0.000336
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  9. INSERT DELAYED INTO xf_nflj_ams_article_view 
    	(article_id)
    VALUES
    	(?)
    Params: 245
    Run Time: 0.000121
  10. SELECT article.*
    	,
    		category.*,
    		user.*, user_profile.*, IF(user.username IS NULL, article.username, user.username) AS username,
    	permission.cache_value AS category_permission_cache
    FROM xf_nflj_ams_article AS article
    	
    		LEFT JOIN xf_nflj_ams_category AS category ON
    			(category.category_id = article.category_id)
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = article.user_id)
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = article.user_id)
    	LEFT JOIN xf_permission_cache_content AS permission
    		ON (permission.permission_combination_id = 1
    			AND permission.content_type = 'ams_category'
    			AND permission.content_id = article.category_id)
    WHERE (article.category_id = 56) AND (article.article_id <> 245) AND (article.article_state = 'visible')
    ORDER BY article.publish_date DESC
     LIMIT 5
    Run Time: 0.001328
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEarticleindex_mergePRIMARY,category_id,category_last_update,category_rating_weightedcategory_id,PRIMARY4,4 2Using intersect(category_id,PRIMARY); Using where; Using filesort
    SIMPLEcategoryconstPRIMARYPRIMARY4const1 
    SIMPLEusereq_refPRIMARYPRIMARY4xfrchelp.article.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4xfrchelp.article.user_id1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1Using where
  11. SELECT article.*
    	,
    		category.*,
    		user.*, user_profile.*, IF(user.username IS NULL, article.username, user.username) AS username,
    	permission.cache_value AS category_permission_cache
    FROM xf_nflj_ams_article AS article
    	
    		LEFT JOIN xf_nflj_ams_category AS category ON
    			(category.category_id = article.category_id)
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = article.user_id)
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = article.user_id)
    	LEFT JOIN xf_permission_cache_content AS permission
    		ON (permission.permission_combination_id = 1
    			AND permission.content_type = 'ams_category'
    			AND permission.content_id = article.category_id)
    WHERE (article.user_id = 1) AND (article.article_id <> 245) AND (article.article_state = 'visible')
    ORDER BY article.rating_avg DESC, article.rating_count DESC, article.likes DESC, article.article_view_count DESC
     LIMIT 5
    Run Time: 0.001787
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEarticlerangePRIMARY,user_id,user_id_last_updatePRIMARY4 167Using where; Using filesort
    SIMPLEcategoryeq_refPRIMARYPRIMARY4xfrchelp.article.category_id1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEuser_profileconstPRIMARYPRIMARY4const1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,xfrchelp.article.category_id1Using where
  12. SELECT category.*
    	,
    	permission.cache_value AS category_permission_cache
    FROM xf_nflj_ams_category AS category
    
    	LEFT JOIN xf_permission_cache_content AS permission
    		ON (permission.permission_combination_id = 1
    			AND permission.content_type = 'ams_category'
    			AND permission.content_id = category.category_id)
    ORDER BY category.lft
    Run Time: 0.000693
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEcategoryALL    62Using filesort
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,xfrchelp.category.category_id1Using where
  13. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 20d2c41e68d30ce081ac7f51bcde5714, , 1537499363
    Run Time: 0.000241
  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, , , NFLJ_AMS_ControllerPublic_Article, View, valid, article_id=245, 1537414763,
    Run Time: 0.000112
  15. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: bbm_buttons
    Run Time: 0.000234
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLE       Impossible WHERE noticed after reading const tables
  16. SELECT *
    FROM bbm
    ORDER BY tag
    Run Time: 0.000285
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEbbmALL    1Using filesort
  17. SELECT options.*, node.*,
    	permission.cache_value AS node_permission_cache
    FROM nat_options AS options
    INNER JOIN xf_node AS node
    	ON (node.node_id = options.node_id)
    LEFT JOIN xf_permission_cache_content AS permission
    	ON (permission.permission_combination_id = ?
    	AND permission.content_type = 'node'
    	AND permission.content_id = options.node_id)
    WHERE nat_display_tab = 1
    ORDER BY options.nat_display_order
    ASC
    Params: 1
    Run Time: 0.000220
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEoptionsALLnode_id   69Using where; Using filesort
    SIMPLEnodeeq_refPRIMARYPRIMARY4xfrchelp.options.node_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,xfrchelp.options.node_id1Using where

Included Files (189, XenForo Classes: 65)

  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/Waindigo/Listener/InitDependencies.php
  33. library/Waindigo/Listener/InitDependencies/20150212.php
  34. library/Waindigo/Listener/ControllerPreDispatch/20150212.php
  35. library/NodesAsTabs/Listen.php
  36. library/EnableDebugFromAdminHome/Listener.php
  37. library/ThemeHouse/Listener/InitDependencies.php
  38. library/ThemeHouse/Listener/InitDependencies/20170101.php
  39. library/ThemeHouse/Listener/ControllerPreDispatch/20150911.php
  40. library/WidgetFramework/Listener.php
  41. library/WidgetFramework/Option.php
  42. library/NFLJ/AMS/Listener/Proxy.php
  43. library/BBM/Listeners/AllInOne.php
  44. library/XenForo/Router.php
  45. library/XenForo/Route/Filter.php
  46. library/XenForo/Route/Interface.php
  47. library/XenForo/Route/ResponseSuffix.php
  48. library/XenForo/Route/Prefix.php
  49. library/NFLJ/AMS/Route/Prefix/AMS.php
  50. library/XenForo/RouteMatch.php
  51. library/BBM/Protection/Helper/ContentProtection.php
  52. library/NFLJ/AMS/ControllerPublic/Article.php
  53. library/XenForo/ControllerPublic/Abstract.php
  54. library/XenForo/Controller.php
  55. library/ThemeHouse/ForceIgnore/Listener/LoadClass.php
  56. library/ThemeHouse/Listener/LoadClass.php
  57. library/ThemeHouse/Listener/LoadClass/20150518.php
  58. library/ThemeHouse/PageComments/Listener/Listener.php
  59. library/Faqe/ResourceDownloaders/Listener/Listener.php
  60. library/XenForo/Input.php
  61. library/XenForo/Session.php
  62. library/Waindigo/OnlineUsers/Listener/LoadClass.php
  63. library/Waindigo/Listener/LoadClass.php
  64. library/Waindigo/Listener/LoadClass/20150518.php
  65. library/Waindigo/OnlineUsers/Extend/XenForo/Session.php
  66. library/XenForo/Helper/Ip.php
  67. library/XenForo/Visitor.php
  68. library/XenForo/Model/User.php
  69. library/ThemeHouse/JoinUserGroup/Listener/LoadClass.php
  70. library/ThemeHouse/LoginAsUser/Listener/LoadClass.php
  71. library/PowerDigital/Unanswered/Listener.php
  72. library/OneSignal/Listner.php
  73. library/XenForo/Model/Import.php
  74. library/ThemeHouse/ForumBrowsers/Listener/Listener.php
  75. library/ThemeHouse/JoinUserGroup/Extend/XenForo/Model/User.php
  76. library/ThemeHouse/LoginAsUser/Extend/XenForo/Model/User.php
  77. library/ThemeHouse/ForceIgnore/Extend/XenForo/Model/User.php
  78. library/NFLJ/AMS/XenForo/Model/User.php
  79. library/XenForo/Permission.php
  80. library/XenForo/Helper/Php.php
  81. library/XenForo/Phrase.php
  82. library/XenForo/Locale.php
  83. library/ThemeHouse/LoginAsUser/Listener/VisitorSetup.php
  84. library/ThemeHouse/Listener/VisitorSetup.php
  85. library/ThemeHouse/Listener/VisitorSetup/20150106.php
  86. library/ThemeHouse/LoginAsUser/Extend/XenForo/Visitor.php
  87. library/NFLJ/AMS/Model/Article.php
  88. library/ThemeHouse/JoinUserGroup/Listener/ControllerPreDispatch.php
  89. library/DigitalPointAdPositioning/Listener/ControllerPreDispatch.php
  90. library/ThemeHouse/ForceIgnore/Listener/ControllerPreDispatch.php
  91. library/XenForo/ControllerResponse/Reroute.php
  92. library/XenForo/ControllerResponse/Abstract.php
  93. library/DigitalPointAdPositioning/Listener/ControllerPostDispatch.php
  94. library/NFLJ/AMS/Model/Category.php
  95. library/NFLJ/AMS/Model/Comment.php
  96. library/NFLJ/AMS/ControllerHelper/AMS.php
  97. library/XenForo/ControllerHelper/Abstract.php
  98. library/XenForo/Helper/String.php
  99. library/XenForo/Model/Attachment.php
  100. library/NFLJ/AMS/Model/Attachment.php
  101. library/XenForo/Route/Prefix/Attachments.php
  102. library/XenForo/Model/Like.php
  103. library/NFLJ/AMS/Model/XenGallery.php
  104. library/XenForo/Model/Thread.php
  105. library/PowerDigital/Unanswered/Model.php
  106. library/NFLJ/AMS/XenForo/Model/Thread.php
  107. library/XenForo/Model/Forum.php
  108. library/NFLJ/AMS/Model/RateReview.php
  109. library/XenForo/ControllerResponse/View.php
  110. library/XenForo/Model/Tag.php
  111. library/XenForo/Helper/Cookie.php
  112. library/XenForo/ViewRenderer/HtmlPublic.php
  113. library/XenForo/ViewRenderer/Abstract.php
  114. library/XenForo/Template/Public.php
  115. library/XenForo/Template/Abstract.php
  116. library/WidgetFramework/Core.php
  117. library/XenForo/Model/Moderator.php
  118. library/ThemeHouse/JoinUserGroup/Extend/XenForo/Model/Moderator.php
  119. library/NFLJ/AMS/XenForo/Model/Moderator.php
  120. library/RotatingAds/Listener.php
  121. library/NFLJ/AMS/Listener/WidgetFramework.php
  122. library/WidgetFramework/Model/Widget.php
  123. library/WidgetFramework/Helper/Sort.php
  124. library/NFLJ/AMS/ViewPublic/Article/Overview.php
  125. library/XenForo/ViewPublic/Base.php
  126. library/XenForo/View.php
  127. library/XenForo/ViewPublic/Helper/Editor.php
  128. library/BBM/Helper/Buttons.php
  129. library/BBM/Helper/Bbm.php
  130. library/Siropu/CustomTabs/Listener.php
  131. library/rellect/AdblockDetector/Listener/Hook.php
  132. library/PowerDigital/Unanswered/Template/Cache.php
  133. library/ThemeHouse/LoginAsUser/Listener/TemplateCreate.php
  134. library/ThemeHouse/Listener/TemplateCreate.php
  135. library/ThemeHouse/Listener/TemplateCreate/20150106.php
  136. library/NFLJ/AMS/Listener/Template.php
  137. library/BBM/Listeners/Templates/Preloader.php
  138. library/XenForo/BbCode/Parser.php
  139. library/XenForo/BbCode/Formatter/Base.php
  140. library/WidgetFramework/XenForo/BbCode/Formatter/Base.php
  141. library/BBM/BbCode/Formatter/Base.php
  142. library/BBM/Model/BbCodes.php
  143. library/XenForo/ViewPublic/Helper/Message.php
  144. library/XenForo/BbCode/TextWrapper.php
  145. library/NFLJ/AMS/ViewPublic/Article/View.php
  146. library/XenForo/Route/Prefix/Members.php
  147. library/Siropu/CustomTabs/Model.php
  148. library/NodesAsTabs/NavTabs.php
  149. library/NodesAsTabs/Model/Options.php
  150. library/XenForo/Model/Node.php
  151. library/ThemeHouse/ForumBrowsers/Model/Node.php
  152. library/XenForo/Route/Prefix/LinkForums.php
  153. library/rellect/AdblockDetector/Model/AdBlock.php
  154. library/WidgetFramework/Template/Extended.php
  155. library/NFLJ/AMS/Listener/Criteria.php
  156. library/XenForo/Template/FileHandler.php
  157. library/XenForo/Helper/File.php
  158. internal_data/templates/S.2,L.1,nflj_ams_article_view.php
  159. library/NFLJ/AMS/ViewPublic/Helper/Article.php
  160. library/NFLJ/AMS/Template/Helper/Core.php
  161. library/PowerDigital/Unanswered/Template/Hook.php
  162. library/ThemeHouse/LoginAsUser/Listener/TemplateHook.php
  163. library/ThemeHouse/Listener/TemplateHook.php
  164. library/ThemeHouse/Listener/TemplateHook/20150106.php
  165. library/ThemeHouse/Listener/Template.php
  166. library/ThemeHouse/Listener/Template/20150106.php
  167. library/RotatingAds/Engine.php
  168. library/RotatingAds/Model.php
  169. library/XenForo/Helper/Criteria.php
  170. library/VigLink/Listener.php
  171. library/XenForo/Route/Prefix/Threads.php
  172. internal_data/templates/S.2,L.1,nflj_ams_article_overview.php
  173. library/XenForo/Model/Avatar.php
  174. library/s9e/MediaBBCodes.php
  175. library/XenForo/Route/Prefix/Tags.php
  176. library/XenForo/Debug.php
  177. internal_data/templates/S.2,L.1,PAGE_CONTAINER.php
  178. library/BBM/Helper/BbCodes.php
  179. internal_data/templates/S.2,L.1,onesignal_js.php
  180. library/BBM/Listeners/Templates/Public.php
  181. internal_data/templates/S.2,L.1,bbm_js.php
  182. library/RotatingAds/DataWriter.php
  183. library/XenForo/DataWriter.php
  184. internal_data/templates/S.2,L.1,nflj_ams_tab_links.php
  185. internal_data/templates/S.2,L.1,unanswered_threads_link.php
  186. library/XenForo/ViewRenderer/Json.php
  187. internal_data/templates/S.2,L.1,rellect_adblock_detector_js.php
  188. internal_data/templates/S.2,L.1,nat_bodyjs.php
  189. internal_data/templates/S.2,L.1,VigLink.php