Page Time: 2.6894s

Memory: 4.2322 MB (Peak: 5.8043 MB)

Queries (38, time: 2.6199s, 97.4%)

  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.000820
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryALLPRIMARY   34Using where
  2. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000277
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3.                 			                  SELECT user_point.*
                                                    
                                                    FROM xf_user_point AS user_point
                                                    
                                            WHERE 1=1
    Run Time: 0.008475
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_pointALL    10914 
  4. SELECT thread.*
    	,
    		user.gender, user.avatar_date, user.gravatar,
    		NULL AS thread_read_date,
    		0 AS thread_reply_banned,
    		0 AS thread_is_watched,
    		'' AS draft_message, NULL AS draft_extra
    FROM xf_thread AS thread
    
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = thread.user_id)
    WHERE thread.thread_id = ?
    Params: 4608
    Run Time: 0.000878
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
  5. SELECT node.*, forum.*
    	,
    	permission.cache_value AS node_permission_cache,
    		NULL AS forum_read_date
    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 = ?
    Params: 105
    Run Time: 0.001247
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  6. SELECT post.*
    	,
    		user.*, IF(user.username IS NULL, post.username, user.username) AS username,
    		user_profile.*,
    		user_privacy.*,
    		session_activity.view_date AS last_view_date,
    		0 AS like_date
    FROM xf_post AS post
    
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = post.user_id)
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = post.user_id)
    		LEFT JOIN xf_user_privacy AS user_privacy ON
    			(user_privacy.user_id = post.user_id)
    		LEFT JOIN xf_session_activity AS session_activity ON
    			(post.user_id > 0 AND session_activity.user_id = post.user_id AND session_activity.unique_key = CAST(post.user_id AS BINARY))
    WHERE post.thread_id = ?
    	 AND (post.position >= 0 AND post.position < 20) 
    	AND (post.message_state IN ('visible'))
    ORDER BY post.position ASC, post.post_date ASC
    Params: 4608
    Run Time: 0.007894
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostrefthread_id_post_date,thread_id_positionthread_id_post_date4const1Using where; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4dien7104_tailieu.post.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4dien7104_tailieu.post.user_id1 
    SIMPLEuser_privacyeq_refPRIMARYPRIMARY4dien7104_tailieu.post.user_id1 
    SIMPLEsession_activityeq_refPRIMARYPRIMARY22dien7104_tailieu.post.user_id,func1Using where
  7. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 4608
    Run Time: 0.000270
  8. SELECT *
    FROM xf_brivium_extra_thread_item
    WHERE  thread_id = ? AND user_id = ?
    Params: 4608, 0
    Run Time: 0.386611
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_brivium_extra_thread_itemALL    25048Using where
  9. SELECT thread.*
    	
    FROM xf_thread AS thread 
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1539623745)) AND (thread.thread_id <> 4608)
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.000436
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARY,post_datepost_date4 4379Using where
  10. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 62
    Run Time: 0.000207
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  11. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 26
    Run Time: 0.000190
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  12. SELECT thread.*
    	
    FROM xf_thread AS thread 
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date > 1539623745)) AND (thread.thread_id <> 4608)
    ORDER BY thread.post_date ASC
     LIMIT 5
    Run Time: 0.004159
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARY,post_datepost_date4 10935Using index condition; Using where
  13. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 106
    Run Time: 0.000231
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  14. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 99
    Run Time: 0.000238
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  15. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 100
    Run Time: 0.000204
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  16. SELECT thread.*
    	
    FROM xf_thread AS thread 
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 4608)
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.000449
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadindexPRIMARYpost_date4 5Using where
  17. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 11
    Run Time: 0.000219
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  18. UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 4608 AND user_id = 0)
    Params: 1714573226, a:3:{s:12:"olderThreads";a:5:{i:4607;a:22:{s:9:"thread_id";i:4607;s:7:"node_id";i:105;s:5:"title";s:45:"Lưới trời đế thích (Francis H. Cook)";s:11:"reply_count";i:0;s:10:"view_count";i:878;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1539623578;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:5085;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1539623578;s:12:"last_post_id";i:5085;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:26;s:4:"tags";s:158:"a:2:{i:4443;a:2:{s:3:"tag";s:15:"kinh hoa nghiem";s:7:"tag_url";s:15:"kinh-hoa-nghiem";}i:1873;a:2:{s:3:"tag";s:9:"phat giao";s:7:"tag_url";s:9:"phat-giao";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:4606;a:22:{s:9:"thread_id";i:4606;s:7:"node_id";i:105;s:5:"title";s:99:"Hoa nghiêm kinh (thám huyền ký) Đại sư Pháp Tạng Cư sĩ Nguyên Huệ dịch (3 tập)";s:11:"reply_count";i:0;s:10:"view_count";i:1087;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1539623278;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:5084;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1539623278;s:12:"last_post_id";i:5084;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:26;s:4:"tags";s:158:"a:2:{i:4443;a:2:{s:3:"tag";s:15:"kinh hoa nghiem";s:7:"tag_url";s:15:"kinh-hoa-nghiem";}i:1873;a:2:{s:3:"tag";s:9:"phat giao";s:7:"tag_url";s:9:"phat-giao";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:4605;a:22:{s:9:"thread_id";i:4605;s:7:"node_id";i:62;s:5:"title";s:42:"2019 CFA Exam changes – compared to 2018";s:11:"reply_count";i:0;s:10:"view_count";i:770;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1539544428;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:5083;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1539544428;s:12:"last_post_id";i:5083;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:15;s:4:"tags";s:184:"a:3:{i:2196;a:2:{s:3:"tag";s:4:"2019";s:7:"tag_url";s:4:"2019";}i:373;a:2:{s:3:"tag";s:3:"cfa";s:7:"tag_url";s:3:"cfa";}i:4529;a:2:{s:3:"tag";s:6:"change";s:7:"tag_url";s:6:"change";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:4604;a:22:{s:9:"thread_id";i:4604;s:7:"node_id";i:26;s:5:"title";s:60:"Pho Tượng Rồng Vàng | Hoàng Đăng Cấp | Tuổi Hoa";s:11:"reply_count";i:0;s:10:"view_count";i:772;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1539544355;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:5082;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1539544355;s:12:"last_post_id";i:5082;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:2;s:4:"tags";s:245:"a:3:{i:4528;a:2:{s:3:"tag";s:14:"hoang dang cap";s:7:"tag_url";s:14:"hoang-dang-cap";}i:4527;a:2:{s:3:"tag";s:19:"pho tuong rong vang";s:7:"tag_url";s:19:"pho-tuong-rong-vang";}i:1472;a:2:{s:3:"tag";s:8:"tuoi hoa";s:7:"tag_url";s:8:"tuoi-hoa";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:4603;a:22:{s:9:"thread_id";i:4603;s:7:"node_id";i:26;s:5:"title";s:60:"Chiếc Lá Thuộc Bài | Nguyễn Thái Hải | Tuổi Hoa";s:11:"reply_count";i:0;s:10:"view_count";i:686;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1539544285;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:5081;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1539544285;s:12:"last_post_id";i:5081;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:2;s:4:"tags";s:156:"a:2:{i:4526;a:2:{s:3:"tag";s:15:"nguyen thai hai";s:7:"tag_url";s:15:"nguyen-thai-hai";}i:1472;a:2:{s:3:"tag";s:8:"tuoi hoa";s:7:"tag_url";s:8:"tuoi-hoa";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:4609;a:22:{s:9:"thread_id";i:4609;s:7:"node_id";i:106;s:5:"title";s:76:"David Leadbetter - Cách chơi Gôn , sách hướng dẫn chơi Gôn (golf)";s:11:"reply_count";i:0;s:10:"view_count";i:784;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1539624203;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:5087;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1539624203;s:12:"last_post_id";i:5087;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:26;s:4:"tags";s:149:"a:2:{i:2507;a:2:{s:3:"tag";s:16:"david leadbetter";s:7:"tag_url";s:16:"david-leadbetter";}i:290;a:2:{s:3:"tag";s:4:"golf";s:7:"tag_url";s:4:"golf";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:4610;a:22:{s:9:"thread_id";i:4610;s:7:"node_id";i:99;s:5:"title";s:81:"Liêu trai chí dị (NXB Văn Học) | Bồ Tùng Linh | Lời Bình: Tản Đà";s:11:"reply_count";i:0;s:10:"view_count";i:714;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1539624378;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:5088;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1539624378;s:12:"last_post_id";i:5088;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:26;s:4:"tags";s:154:"a:2:{i:4531;a:2:{s:3:"tag";s:16:"lieu trai chi di";s:7:"tag_url";s:16:"lieu-trai-chi-di";}i:3576;a:2:{s:3:"tag";s:6:"tan da";s:7:"tag_url";s:6:"tan-da";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:4611;a:22:{s:9:"thread_id";i:4611;s:7:"node_id";i:105;s:5:"title";s:61:"Phân tâm học và tính cách dân tộc (Đỗ Lai Thúy)";s:11:"reply_count";i:0;s:10:"view_count";i:742;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1539624918;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:5089;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1539624918;s:12:"last_post_id";i:5089;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:26;s:4:"tags";s:82:"a:1:{i:114;a:2:{s:3:"tag";s:12:"phan tam hoc";s:7:"tag_url";s:12:"phan-tam-hoc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:4612;a:22:{s:9:"thread_id";i:4612;s:7:"node_id";i:100;s:5:"title";s:116:"Những phát hiện về vạn vật và con người (Daniel J.Boorstin) Đỗ Văn Thuấn vs Lưu Văn Hy dịch";s:11:"reply_count";i:0;s:10:"view_count";i:726;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1539625086;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:5090;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1539625086;s:12:"last_post_id";i:5090;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:26;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:4613;a:22:{s:9:"thread_id";i:4613;s:7:"node_id";i:100;s:5:"title";s:93:"Ấn độ huyền bí (hồi ký của một vị chân sư ấn độ) Nguyên Phong dịch";s:11:"reply_count";i:0;s:10:"view_count";i:836;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1539625179;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:5091;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1539625179;s:12:"last_post_id";i:5091;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:26;s:4:"tags";s:82:"a:1:{i:604;a:2:{s:3:"tag";s:12:"nguyen phong";s:7:"tag_url";s:12:"nguyen-phong";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25520;a:22:{s:9:"thread_id";i:25520;s:7:"node_id";i:11;s:5:"title";s:87:"Hiệu Ứng Người Bảo Trợ: Dạy Chính Mình Bằng Cách Dạy Người Khác";s:11:"reply_count";i:0;s:10:"view_count";i:22;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517221;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30509;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517221;s:12:"last_post_id";i:30509;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25519;a:22:{s:9:"thread_id";i:25519;s:7:"node_id";i:11;s:5:"title";s:85:"Nghệ Thuật 'Fake It Till You Make It' Của Huyền Thoại Cờ Vua Thế Giới";s:11:"reply_count";i:0;s:10:"view_count";i:20;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517172;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30508;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517172;s:12:"last_post_id";i:30508;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25518;a:22:{s:9:"thread_id";i:25518;s:7:"node_id";i:11;s:5:"title";s:86:"35 BÍ QUYẾT ĐỌC SÁCH MÌNH HỌC ĐƯỢC SAU KHI ĐỌC HƠN 350 CUỐN SÁCH.";s:11:"reply_count";i:0;s:10:"view_count";i:17;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517111;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30507;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517111;s:12:"last_post_id";i:30507;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25517;a:22:{s:9:"thread_id";i:25517;s:7:"node_id";i:11;s:5:"title";s:92:"Hiệu Ứng Thỏa Mãn Vượt Ngưỡng (Phần 1): Tiền Có Mua Được Hạnh Phúc?";s:11:"reply_count";i:0;s:10:"view_count";i:20;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517080;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30506;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517080;s:12:"last_post_id";i:30506;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25516;a:22:{s:9:"thread_id";i:25516;s:7:"node_id";i:11;s:5:"title";s:56:"VÌ SAO CHÚNG TA KHÔNG LÀM NHỮNG GÌ ĐÃ ĐỀ RA?";s:11:"reply_count";i:0;s:10:"view_count";i:21;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517042;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30505;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517042;s:12:"last_post_id";i:30505;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
    Run Time: 1.535302
  19. SELECT thread.*
    	,
    MATCH(search_index.title) AGAINST ('Triết học phật giáo Hoa Nghiêm Tông' IN BOOLEAN MODE) AS similar_score
    FROM xf_search_index AS search_index
    	LEFT JOIN xf_thread AS thread ON (thread.thread_id=search_index.content_id)
    	
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 4608)
    AND MATCH(search_index.title) AGAINST ('Triết học phật giáo Hoa Nghiêm Tông' IN BOOLEAN MODE)
    AND search_index.content_type='thread'
    HAVING similar_score >= 1
    ORDER BY similar_score
     LIMIT 5
    Run Time: 0.274549
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsearch_indexrefPRIMARYPRIMARY77const497Using index condition; Using where; Using temporary; Using filesort
    SIMPLEthreadeq_refPRIMARYPRIMARY4dien7104_tailieu.search_index.content_id1Using where
  20. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 4
    Run Time: 0.000273
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  21. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 36
    Run Time: 0.000192
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  22. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 32
    Run Time: 0.000176
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  23. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 42
    Run Time: 0.000202
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  24. SELECT thread.thread_id
    FROM xf_thread AS thread
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 4608)
    ORDER BY RAND()
     LIMIT 5
    Run Time: 0.019006
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadALLPRIMARY   21870Using where; Using temporary; Using filesort
  25. SELECT thread.*
    	,
    	user.*, IF(user.username IS NULL, thread.username, user.username) AS username
    FROM xf_thread AS thread 
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = thread.user_id)
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id IN (19524, 6556, 9467, 12677, 20644))
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.000883
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 5Using where; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4dien7104_tailieu.thread.user_id1 
  26. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 348
    Run Time: 0.000215
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  27. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 57
    Run Time: 0.000187
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  28. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 132
    Run Time: 0.000199
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  29. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 148
    Run Time: 0.000198
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  30. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 50
    Run Time: 0.000203
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  31. SELECT post_links.*
    	
                        FROM xf_post_links AS post_links
    
                                    WHERE (post_links.thread_id = 4608)
    Run Time: 0.368309
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpost_linksALL    25589Using where
  32. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: d217878ead4b773557fedca0ac5be52a, , 1714576826
    Run Time: 0.000312
  33. 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_Thread, Index, valid, thread_id=4608, 1714573226,
    Run Time: 0.000139
  34. 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', 'BRETI_message_below', 'thread_view', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 3, 2
    Run Time: 0.005830
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 10Using where
  35.                 			                  SELECT adv.*
                                                    
                                                    FROM xf_advertisement AS adv
                                                    
                                            WHERE (adv.active = 1) AND (adv.positive = 1)
    Run Time: 0.000318
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    5Using where
  36. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('tailieu_advertisement_top')
    	AND style_id = ?
    	AND language_id = ?
    Params: 3, 2
    Run Time: 0.000205
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  37.                 			                  SELECT adv.*
                                                    
                                                    FROM xf_advertisement AS adv
                                                    
                                            WHERE (adv.active = 1) AND (adv.positive = 3)
    Run Time: 0.000252
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    5Using where
  38. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('tailieu_advertisement_bottom')
    	AND style_id = ?
    	AND language_id = ?
    Params: 3, 2
    Run Time: 0.000150
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (101, XenForo Classes: 61)

  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/XenForo/Router.php
  33. library/XenForo/Route/Filter.php
  34. library/XenForo/Route/Interface.php
  35. library/XenForo/Route/ResponseSuffix.php
  36. library/XenForo/Route/Prefix.php
  37. library/XenForo/Route/Prefix/Threads.php
  38. library/XenForo/RouteMatch.php
  39. library/XenForo/ControllerPublic/Thread.php
  40. library/XenForo/ControllerPublic/Abstract.php
  41. library/XenForo/Controller.php
  42. library/Brivium/ExtraThreadItem/EventListeners/Listener.php
  43. library/Brivium/BriviumLibrary/EventListeners.php
  44. library/TaiLieu/CustomPost/Listener.php
  45. library/TaiLieu/Trophy/Listener.php
  46. library/Brivium/ExtraThreadItem/ControllerPublic/Thread.php
  47. library/TaiLieu/CustomPost/ControllerPublic/Thread.php
  48. library/TaiLieu/Trophy/ControllerPublic/Thread.php
  49. library/XenForo/Input.php
  50. library/XenForo/Session.php
  51. library/XenForo/Helper/Ip.php
  52. library/XenForo/Visitor.php
  53. library/XenForo/Model/User.php
  54. library/VietXfAdvStats/Listener.php
  55. library/VietXfAdvStats/XenForo/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/TaiLieu/CustomPost/Model/UserPoint.php
  61. library/XenForo/ControllerHelper/ForumThreadPost.php
  62. library/XenForo/ControllerHelper/Abstract.php
  63. library/XenForo/Model/Thread.php
  64. library/VietXfAdvStats/XenForo/Model/Thread.php
  65. library/Brivium/ExtraThreadItem/Model/Thread.php
  66. library/XenForo/Model/Forum.php
  67. library/Brivium/ExtraThreadItem/Model/Forum.php
  68. library/XenForo/Helper/String.php
  69. library/XenForo/Model/Post.php
  70. library/XenForo/Model/Attachment.php
  71. library/XenForo/Model/Node.php
  72. library/Brivium/ExtraThreadItem/Model/Node.php
  73. library/XenForo/Route/Prefix/Categories.php
  74. library/XenForo/Route/Prefix/Forums.php
  75. library/Brivium/ExtraThreadItem/Model/ExtraThreadItem.php
  76. library/XenForo/Model/PermissionCache.php
  77. library/XenForo/ControllerResponse/View.php
  78. library/XenForo/ControllerResponse/Abstract.php
  79. library/TaiLieu/CustomPost/Model/PostLinks.php
  80. library/XenForo/Helper/Cookie.php
  81. library/XenForo/ViewRenderer/HtmlPublic.php
  82. library/XenForo/ViewRenderer/Abstract.php
  83. library/XenForo/Template/Public.php
  84. library/XenForo/Template/Abstract.php
  85. library/XenForo/ViewPublic/Thread/View.php
  86. library/XenForo/ViewPublic/Base.php
  87. library/XenForo/View.php
  88. library/XenForo/BbCode/Parser.php
  89. library/XenForo/BbCode/Formatter/Base.php
  90. library/XenForo/ViewPublic/Helper/Message.php
  91. library/XenForo/BbCode/TextWrapper.php
  92. library/VietXfAdvStats/Model/GetUserGroup.php
  93. library/XenForo/Route/Prefix/Members.php
  94. library/XenForo/Route/Prefix/Tags.php
  95. library/TaiLieu/Advertisement/Listener.php
  96. library/XenForo/Route/Prefix/Posts.php
  97. library/XenForo/Model/Avatar.php
  98. library/XenForo/Debug.php
  99. library/TaiLieu/Advertisement/Model/Advertisement.php
  100. library/VietXfAdvStats/Option.php
  101. library/XenForo/ViewRenderer/Json.php