Page Time: 0.0659s

Memory: 9.9239 MB (Peak: 11.9903 MB)

Queries (16, time: 0.0045s, 6.8%)

  1. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'cron', 'simpleCache', 'routesPublic', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'smilies', 'bbCode', 'threadPrefixes', 'trophyUserTitles', 'reportCounts', 'moderationCounts', 'notices', 'userFieldsInfo')
    Run Time: 0.000618
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY77 20Using where
  2. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000145
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: ca605221e84c5b144a51fe5683e3602b, a:5:{s:12:"sessionStart";i:1368958675;s:2:"ip";i:921315856;s:9:"userAgent";s:9:"CCBot/2.0";s:7:"isRobot";b:0;s:16:"previousActivity";i:0;}, 1368962275
    Run Time: 0.000111
  4. INSERT INTO xf_session_activity
    	(user_id, unique_key, ip, controller_name, controller_action, view_state, params, view_date)
    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)
    Params: 0, 921315856, 921315856, EWRporta_ControllerPublic_Portal, Index, valid, , 1368958675
    Run Time: 0.000056
  5. SELECT *
    	FROM EWRporta_layouts
    WHERE layout_id = ?
    Params: portal
    Run Time: 0.000128
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_layoutsconstPRIMARYPRIMARY77const1 
  6. SELECT *, 'disabled' AS position
    	FROM EWRporta_blocks
    WHERE active = 1
    ORDER BY block_id ASC
    Run Time: 0.000202
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_blocksindex PRIMARY77 3Using where
  7. SELECT * FROM EWRporta_caches
    Run Time: 0.000089
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_cachesALL    1 
  8. SELECT * FROM EWRporta_options
    Run Time: 0.000133
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_optionsALL    12 
  9. SELECT xf_thread.*, xf_user.*, xf_post.message, xf_post.attach_count, xf_node.title AS node_title, 
    	IF(xf_user.username IS NULL, xf_thread.username, xf_user.username) AS username,
    	IF(EWRporta_promotes.promote_date IS NULL, xf_thread.post_date, EWRporta_promotes.promote_date) AS promote_date,
    	EWRporta_promotes.promote_icon, EWRporta_promotes.promote_data
    FROM xf_thread
    	LEFT JOIN xf_user ON (xf_user.user_id = xf_thread.user_id)
    	INNER JOIN xf_post ON (xf_post.post_id = xf_thread.first_post_id)
    	INNER JOIN xf_node ON (xf_node.node_id = xf_thread.node_id)
    	LEFT JOIN EWRporta_promotes ON (EWRporta_promotes.thread_id = xf_thread.thread_id)
    
    WHERE (xf_thread.node_id IN ('19') OR EWRporta_promotes.promote_date < ?)
    	AND xf_thread.discussion_state = 'visible'
    	AND IF(EWRporta_promotes.promote_date IS NULL, xf_thread.post_date, EWRporta_promotes.promote_date) < ?
    ORDER BY promote_date DESC
    LIMIT ?, ?
    Params: 1368958675, 1368958675, 12, 4
    Run Time: 0.001801
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadALLnode_id_last_post_date,node_id_sticky_last_post_date   89Using where; Using temporary; Using filesort
    SIMPLExf_nodeeq_refPRIMARYPRIMARY4prosport_site.xf_thread.node_id1 
    SIMPLEEWRporta_promoteseq_refPRIMARYPRIMARY4prosport_site.xf_thread.thread_id1Using where
    SIMPLExf_usereq_refPRIMARYPRIMARY4prosport_site.xf_thread.user_id1 
    SIMPLExf_posteq_refPRIMARYPRIMARY4prosport_site.xf_thread.first_post_id1 
  10. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, 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 (79)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000263
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date81const,const1Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4prosport_site.attachment.data_id1 
  11. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, 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 (78)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000195
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date81const,const1Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4prosport_site.attachment.data_id1 
  12. SELECT COUNT(*) AS total
    	FROM xf_thread
    	LEFT JOIN EWRporta_promotes ON (EWRporta_promotes.thread_id = xf_thread.thread_id)
    
    WHERE (xf_thread.node_id IN ('19') OR EWRporta_promotes.promote_date < ?)
    	AND xf_thread.discussion_state = 'visible'
    	AND IF(EWRporta_promotes.promote_date IS NULL, xf_thread.post_date, EWRporta_promotes.promote_date) < ?
    Params: 1368958675, 1368958675
    Run Time: 0.000186
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadALLnode_id_last_post_date,node_id_sticky_last_post_date   89Using where
    SIMPLEEWRporta_promoteseq_refPRIMARYPRIMARY4prosport_site.xf_thread.thread_id1Using where
  13. SELECT *
    FROM kingk_bbcm
    ORDER BY tag
    Run Time: 0.000131
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEkingk_bbcmALL    8Using filesort
  14. SELECT *
    FROM kingk_bbcm
    ORDER BY tag
    Run Time: 0.000138
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEkingk_bbcmALL    8Using filesort
  15. 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', 'EWRblock_RecentNews', 'EWRblock_AdsRightSide', 'EWRporta_Portal', 'sfdirectory_nav', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 7, 1
    Run Time: 0.000173
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY160 11Using where
  16. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('directory')
    Params: 1
    Run Time: 0.000083
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY231const,const1 

Included Files (106, 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.php
  17. library/XenForo/Model/DataRegistry.php
  18. library/XenForo/CodeEvent.php
  19. library/Zend/Db.php
  20. library/Zend/Db/Adapter/Mysqli.php
  21. library/Zend/Db/Adapter/Abstract.php
  22. library/Zend/Db/Select.php
  23. library/Zend/Db/Expr.php
  24. library/Zend/Db/Profiler.php
  25. library/Zend/Db/Statement/Mysqli.php
  26. library/Zend/Db/Statement.php
  27. library/Zend/Db/Statement/Interface.php
  28. library/Zend/Db/Profiler/Query.php
  29. library/XenForo/Options.php
  30. library/XenForo/Link.php
  31. library/XenForo/Template/Helper/Core.php
  32. library/EWRporta/Listener/Init.php
  33. library/EWRporta/Helper/Index.php
  34. library/XenForo/Router.php
  35. library/XenForo/Route/ResponseSuffix.php
  36. library/XenForo/Route/Interface.php
  37. library/XenForo/Route/Prefix.php
  38. library/EWRporta/Route/Index.php
  39. library/XenForo/Route/BuilderInterface.php
  40. library/EWRporta/Listener/Route.php
  41. library/XenKingDir/Listeners/Threads.php
  42. library/XenForo/RouteMatch.php
  43. library/EWRporta/ControllerPublic/Portal.php
  44. library/XenForo/ControllerPublic/Abstract.php
  45. library/XenForo/Controller.php
  46. library/NodesAsTabs/Listen.php
  47. library/EWRporta/Listener/Controller.php
  48. library/XenKingDir/Listeners/ControllerPublic.php
  49. library/KingK/BbCodeManager/EventListener/BbCode.php
  50. library/XenForo/Input.php
  51. library/XenForo/Session.php
  52. library/XenForo/Visitor.php
  53. library/XenForo/Model/User.php
  54. library/EWRporta/Listener/Model.php
  55. library/XenForo/Permission.php
  56. library/XenForo/Phrase.php
  57. library/XenForo/Locale.php
  58. library/EWRporta/Model/Perms.php
  59. library/EWRporta/Route/Portal.php
  60. library/EWRporta/Route/Custom.php
  61. library/XenForo/ControllerResponse/View.php
  62. library/XenForo/ControllerResponse/Abstract.php
  63. library/XenForo/Helper/Cookie.php
  64. library/XenForo/ViewRenderer/HtmlPublic.php
  65. library/XenForo/ViewRenderer/Abstract.php
  66. library/XenForo/Template/Public.php
  67. library/XenForo/Template/Abstract.php
  68. library/EWRporta/ViewPublic/Portal.php
  69. library/XenForo/ViewPublic/Base.php
  70. library/XenForo/View.php
  71. library/EWRporta/Listener/ViewPublic.php
  72. library/EWRporta/ViewPublic/Custom.php
  73. library/EWRporta/Model/Blocks.php
  74. library/EWRporta/Model/Layouts.php
  75. library/EWRporta/Model/Caches.php
  76. library/EWRporta/Model/Options.php
  77. library/EWRporta/Block/RecentNews.php
  78. library/XenForo/Helper/String.php
  79. library/XenForo/Model/Attachment.php
  80. library/EWRporta/Model/Attachment.php
  81. library/XenForo/Route/Prefix/Attachments.php
  82. library/XenForo/BbCode/Parser.php
  83. library/XenForo/BbCode/Formatter/Base.php
  84. library/EWRporta/Listener/BbCode.php
  85. library/EWRporta/BbCode/Formatter.php
  86. library/KingK/BbCodeManager/BbCode/Formatter/Base.php
  87. library/KingK/BbCodeManager/Model/CustomBbCode.php
  88. library/XenForo/ViewPublic/Helper/Message.php
  89. library/XenForo/BbCode/TextWrapper.php
  90. library/XenForo/Route/Prefix/Members.php
  91. library/EWRporta/Listener/NavTabs.php
  92. library/XenKingDir/Listeners/Nav.php
  93. library/NodesAsTabs/NavTabs.php
  94. library/NodesAsTabs/Model/Options.php
  95. library/XenForo/Route/Prefix/LinkForums.php
  96. library/XenForo/Route/Prefix/Pages.php
  97. library/XenForo/Route/Prefix/Threads.php
  98. library/EWRporta/Route/Thread.php
  99. library/XenKingDir/Route/Prefix/Threads.php
  100. library/XenForo/Helper/Criteria.php
  101. library/XenForo/Debug.php
  102. library/EWRporta/Listener/Template.php
  103. library/XenKingDir/Listeners/TemplateHooks.php
  104. library/XenKingDir/Model/Dir.php
  105. library/XenForo/Model/Forum.php
  106. library/XenForo/ViewRenderer/Json.php