Page Time: 1.3981s

Memory: 4.2676 MB (Peak: 5.7941 MB)

Queries (40, time: 1.3240s, 94.7%)

  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.000797
    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.000293
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3.                 			                  SELECT user_point.*
                                                    
                                                    FROM xf_user_point AS user_point
                                                    
                                            WHERE 1=1
    Run Time: 0.000236
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_pointALL    11 
  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: 5442
    Run Time: 0.000531
    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: 92
    Run Time: 0.000779
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    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: 5442
    Run Time: 0.002571
    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: 5442
    Run Time: 0.000242
  8. SELECT *
    FROM xf_brivium_extra_thread_item
    WHERE  thread_id = ? AND user_id = ?
    Params: 5442, 0
    Run Time: 0.428036
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_brivium_extra_thread_itemALL    7834Using where
  9. SELECT thread.*
    	
    FROM xf_thread AS thread 
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1549893909)) AND (thread.thread_id <> 5442)
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.011638
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadindexPRIMARY,post_datepost_date4 5Using where
  10. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 7
    Run Time: 0.000250
    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.000212
    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 > 1549893909)) AND (thread.thread_id <> 5442)
    ORDER BY thread.post_date ASC
     LIMIT 5
    Run Time: 0.010840
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadindexPRIMARY,post_datepost_date4 5Using where
  13. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 88
    Run Time: 0.000252
    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, 17
    Run Time: 0.000210
    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, 59
    Run Time: 0.000241
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  16. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 51
    Run Time: 0.000208
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  17. SELECT thread.*
    	
    FROM xf_thread AS thread 
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 5442)
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.000395
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadindexPRIMARYpost_date4 5Using where
  18. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 158
    Run Time: 0.000299
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  19. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 139
    Run Time: 0.000210
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  20. UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 5442 AND user_id = 0)
    Params: 1573738874, a:3:{s:12:"olderThreads";a:5:{i:5441;a:22:{s:9:"thread_id";i:5441;s:7:"node_id";i:7;s:5:"title";s:74:"Tiếng Anh trong Xây dựng và Kiến trúc - Giáo sư: Võ Như Cầu";s:11:"reply_count";i:0;s:10:"view_count";i:130;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1549856882;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:6150;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1549856882;s:12:"last_post_id";i:6150;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:283:"a:4:{i:1323;a:2:{s:3:"tag";s:9:"kien truc";s:7:"tag_url";s:9:"kien-truc";}i:185;a:2:{s:3:"tag";s:9:"tieng anh";s:7:"tag_url";s:9:"tieng-anh";}i:4802;a:2:{s:3:"tag";s:10:"vo nhu cau";s:7:"tag_url";s:10:"vo-nhu-cau";}i:2186;a:2:{s:3:"tag";s:8:"xay dung";s:7:"tag_url";s:8:"xay-dung";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5439;a:22:{s:9:"thread_id";i:5439;s:7:"node_id";i:26;s:5:"title";s:44:"Đạo Phật Hiện Đại Hóa - Lá Bối";s:11:"reply_count";i:0;s:10:"view_count";i:140;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1548928082;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:6147;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1548928082;s:12:"last_post_id";i:6147;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:205:"a:3:{i:4268;a:2:{s:3:"tag";s:8:"dao phat";s:7:"tag_url";s:8:"dao-phat";}i:3362;a:2:{s:3:"tag";s:6:"la boi";s:7:"tag_url";s:6:"la-boi";}i:4199;a:2:{s:3:"tag";s:9:"nhat hanh";s:7:"tag_url";s:9:"nhat-hanh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5438;a:22:{s:9:"thread_id";i:5438;s:7:"node_id";i:26;s:5:"title";s:40:"Nẻo Vào Thiền Học - Nhất Hạnh";s:11:"reply_count";i:0;s:10:"view_count";i:149;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1548928038;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:6146;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1548928038;s:12:"last_post_id";i:6146;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:75:"a:1:{i:4199;a:2:{s:3:"tag";s:9:"nhat hanh";s:7:"tag_url";s:9:"nhat-hanh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5437;a:22:{s:9:"thread_id";i:5437;s:7:"node_id";i:26;s:5:"title";s:19:"Văn Lang Dị Sử";s:11:"reply_count";i:0;s:10:"view_count";i:153;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1548927990;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:6145;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1548927990;s:12:"last_post_id";i:6145;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:138:"a:2:{i:3326;a:2:{s:3:"tag";s:7:"an tiem";s:7:"tag_url";s:7:"an-tiem";}i:4801;a:2:{s:3:"tag";s:8:"van lang";s:7:"tag_url";s:8:"van-lang";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5436;a:22:{s:9:"thread_id";i:5436;s:7:"node_id";i:26;s:5:"title";s:39:"Việt Nam Phật Giáo Sử Luận III";s:11:"reply_count";i:0;s:10:"view_count";i:132;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1548927910;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:6144;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1548927910;s:12:"last_post_id";i:6144;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:215:"a:3:{i:3366;a:2:{s:3:"tag";s:11:"nguyen lang";s:7:"tag_url";s:11:"nguyen-lang";}i:1873;a:2:{s:3:"tag";s:9:"phat giao";s:7:"tag_url";s:9:"phat-giao";}i:3365;a:2:{s:3:"tag";s:7:"su luan";s:7:"tag_url";s:7:"su-luan";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:5443;a:22:{s:9:"thread_id";i:5443;s:7:"node_id";i:88;s:5:"title";s:13:"tháng 2/2019";s:11:"reply_count";i:2;s:10:"view_count";i:6;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1549897039;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:6153;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1550570479;s:12:"last_post_id";i:6233;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:0;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5445;a:22:{s:9:"thread_id";i:5445;s:7:"node_id";i:17;s:5:"title";s:99:"Quản lý dự án công trình xây dựng (viện nghiên cứu và đào tạo về quản lý)";s:11:"reply_count";i:0;s:10:"view_count";i:187;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1549957033;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:6155;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1549957033;s:12:"last_post_id";i:6155;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:151:"a:2:{i:862;a:2:{s:3:"tag";s:13:"quan ly du an";s:7:"tag_url";s:13:"quan-ly-du-an";}i:2186;a:2:{s:3:"tag";s:8:"xay dung";s:7:"tag_url";s:8:"xay-dung";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5451;a:22:{s:9:"thread_id";i:5451;s:7:"node_id";i:59;s:5:"title";s:69:"500 questions to know by test day (SAT reading, writing and language)";s:11:"reply_count";i:0;s:10:"view_count";i:160;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1550120331;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:6164;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1550120331;s:12:"last_post_id";i:6164;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:138:"a:2:{i:1242;a:2:{s:3:"tag";s:11:"mcgraw hill";s:7:"tag_url";s:11:"mcgraw-hill";}i:1098;a:2:{s:3:"tag";s:3:"sat";s:7:"tag_url";s:3:"sat";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5452;a:22:{s:9:"thread_id";i:5452;s:7:"node_id";i:59;s:5:"title";s:88:"SAT subject test Literature (9 full-length practice tests with answers and explains) 4th";s:11:"reply_count";i:0;s:10:"view_count";i:149;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1550120758;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:6165;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1550120758;s:12:"last_post_id";i:6165;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:210:"a:3:{i:711;a:2:{s:3:"tag";s:10:"literature";s:7:"tag_url";s:10:"literature";}i:1242;a:2:{s:3:"tag";s:11:"mcgraw hill";s:7:"tag_url";s:11:"mcgraw-hill";}i:1098;a:2:{s:3:"tag";s:3:"sat";s:7:"tag_url";s:3:"sat";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5453;a:22:{s:9:"thread_id";i:5453;s:7:"node_id";i:51;s:5:"title";s:58:"Japanese for Dummies by Hiroko Chiba: and Eriko Saito, PhD";s:11:"reply_count";i:0;s:10:"view_count";i:138;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1550121109;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:6166;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1550121109;s:12:"last_post_id";i:6166;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:137:"a:2:{i:1244;a:2:{s:3:"tag";s:7:"dummies";s:7:"tag_url";s:7:"dummies";}i:370;a:2:{s:3:"tag";s:8:"japanese";s:7:"tag_url";s:8:"japanese";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:8033;a:22:{s:9:"thread_id";i:8033;s:7:"node_id";i:158;s:5:"title";s:91:"Biện pháp sử dụng nông dược an toàn và hiệu quả | Ts. Nguyễn Xuân Thanh";s:11:"reply_count";i:0;s:10:"view_count";i:2;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1573733040;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:8988;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1573733040;s:12:"last_post_id";i:8988;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:162:"a:2:{i:6535;a:2:{s:3:"tag";s:17:"nguyen xuan thanh";s:7:"tag_url";s:17:"nguyen-xuan-thanh";}i:6534;a:2:{s:3:"tag";s:9:"nong duoc";s:7:"tag_url";s:9:"nong-duoc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:8032;a:22:{s:9:"thread_id";i:8032;s:7:"node_id";i:158;s:5:"title";s:104:"Chuột gây hại và phòng trừ bằng phương pháp dân gian | Lê Vũ Khôi, Lưu Nguyên Khánh";s:11:"reply_count";i:0;s:10:"view_count";i:2;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1573732866;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:8987;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1573732866;s:12:"last_post_id";i:8987;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:164:"a:2:{i:6532;a:2:{s:3:"tag";s:10:"le vu khoi";s:7:"tag_url";s:10:"le-vu-khoi";}i:6533;a:2:{s:3:"tag";s:16:"luu nguyen khanh";s:7:"tag_url";s:16:"luu-nguyen-khanh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:8031;a:22:{s:9:"thread_id";i:8031;s:7:"node_id";i:139;s:5:"title";s:52:"Cẩm nang nuôi chó | PGS.TS Phạm Ngọc Thạch";s:11:"reply_count";i:0;s:10:"view_count";i:2;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1573732645;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:8986;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1573732645;s:12:"last_post_id";i:8986;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:6530;a:2:{s:3:"tag";s:8:"nuoi cho";s:7:"tag_url";s:8:"nuoi-cho";}i:6531;a:2:{s:3:"tag";s:15:"pham ngoc thach";s:7:"tag_url";s:15:"pham-ngoc-thach";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:8030;a:22:{s:9:"thread_id";i:8030;s:7:"node_id";i:158;s:5:"title";s:89:"Tuyến trùng ký sinh cây ăn quả và biện pháp phòng trừ | Nguyễn Vũ Thanh";s:11:"reply_count";i:0;s:10:"view_count";i:2;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1573732468;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:8985;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1573732468;s:12:"last_post_id";i:8985;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:301:"a:4:{i:6512;a:2:{s:3:"tag";s:10:"cay an qua";s:7:"tag_url";s:10:"cay-an-qua";}i:6528;a:2:{s:3:"tag";s:7:"ky sinh";s:7:"tag_url";s:7:"ky-sinh";}i:6529;a:2:{s:3:"tag";s:15:"nguyen vu thanh";s:7:"tag_url";s:15:"nguyen-vu-thanh";}i:412;a:2:{s:3:"tag";s:11:"nong nghiep";s:7:"tag_url";s:11:"nong-nghiep";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:8029;a:22:{s:9:"thread_id";i:8029;s:7:"node_id";i:158;s:5:"title";s:70:"Phương pháp chọn giống cây trồng | tủ sách khuyến nông";s:11:"reply_count";i:0;s:10:"view_count";i:2;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1573732350;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:8984;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1573732350;s:12:"last_post_id";i:8984;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:215:"a:3:{i:6503;a:2:{s:3:"tag";s:9:"cay trong";s:7:"tag_url";s:9:"cay-trong";}i:6527;a:2:{s:3:"tag";s:10:"chon giong";s:7:"tag_url";s:10:"chon-giong";}i:1891;a:2:{s:3:"tag";s:8:"ky thuat";s:7:"tag_url";s:8:"ky-thuat";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
    Run Time: 0.787984
  21. SELECT thread.*
    	,
    MATCH(search_index.title) AGAINST ('Bằng Kiều - Về Bên Anh Nhé' 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 <> 5442)
    AND MATCH(search_index.title) AGAINST ('Bằng Kiều - Về Bên Anh Nhé' IN BOOLEAN MODE)
    AND search_index.content_type='thread'
    HAVING similar_score >= 1
    ORDER BY similar_score
     LIMIT 5
    Run Time: 0.057323
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsearch_indexrangePRIMARYPRIMARY81 3832Using index condition; Using where; Using filesort
    SIMPLEthreadeq_refPRIMARYPRIMARY4dien7104_tailieu.search_index.content_id1Using where
  22. 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.000239
    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, 41
    Run Time: 0.000231
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  24. 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.000211
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  25. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 27
    Run Time: 0.000228
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  26. 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.000211
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  27. SELECT thread.thread_id
    FROM xf_thread AS thread
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 5442)
    ORDER BY RAND()
     LIMIT 5
    Run Time: 0.007452
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 1950Using where; Using temporary; Using filesort
  28. 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 (50, 5954, 6200, 1265, 2797))
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.000885
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 5Using where; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4dien7104_tailieu.thread.user_id1 
  29. 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.000227
    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, 106
    Run Time: 0.000245
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  31. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 86
    Run Time: 0.000211
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  32. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 34
    Run Time: 0.000212
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  33. SELECT post_links.*
    	
                        FROM xf_post_links AS post_links
    
                                    WHERE (post_links.thread_id = 5442)
    Run Time: 0.007917
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpost_linksALL    6779Using where
  34. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 1f398df98b6c9b93eaaccbd90056f7ff, a:6:{s:12:"sessionStart";i:1573738874;s:2:"ip";s:4:"[j,";s:11:"sessionCsrf";s:16:"k5iwQ-mUoZmc3Pjt";s:9:"userAgent";s:40:"CCBot/2.0 (https://commoncrawl.org/faq/)";s:7:"robotId";s:0:"";s:16:"previousActivity";i:0;}, 1573742474
    Run Time: 0.000248
  35. 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, [j,, [j,, XenForo_ControllerPublic_Thread, Index, valid, thread_id=5442, 1573738874,
    Run Time: 0.000176
  36. 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.000777
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 10Using where
  37.                 			                  SELECT adv.*
                                                    
                                                    FROM xf_advertisement AS adv
                                                    
                                            WHERE (adv.active = 1) AND (adv.positive = 1)
    Run Time: 0.000305
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    4Using where
  38. 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.000243
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  39.                 			                  SELECT adv.*
                                                    
                                                    FROM xf_advertisement AS adv
                                                    
                                            WHERE (adv.active = 1) AND (adv.positive = 3)
    Run Time: 0.000242
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    4Using where
  40. 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.000208
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (99, XenForo Classes: 59)

  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/Forums.php
  74. library/Brivium/ExtraThreadItem/Model/ExtraThreadItem.php
  75. library/XenForo/Model/PermissionCache.php
  76. library/XenForo/ControllerResponse/View.php
  77. library/XenForo/ControllerResponse/Abstract.php
  78. library/TaiLieu/CustomPost/Model/PostLinks.php
  79. library/XenForo/Helper/Cookie.php
  80. library/XenForo/ViewRenderer/HtmlPublic.php
  81. library/XenForo/ViewRenderer/Abstract.php
  82. library/XenForo/Template/Public.php
  83. library/XenForo/Template/Abstract.php
  84. library/XenForo/ViewPublic/Thread/View.php
  85. library/XenForo/ViewPublic/Base.php
  86. library/XenForo/View.php
  87. library/XenForo/BbCode/Parser.php
  88. library/XenForo/BbCode/Formatter/Base.php
  89. library/XenForo/ViewPublic/Helper/Message.php
  90. library/XenForo/BbCode/TextWrapper.php
  91. library/VietXfAdvStats/Model/GetUserGroup.php
  92. library/XenForo/Route/Prefix/Members.php
  93. library/TaiLieu/Advertisement/Listener.php
  94. library/XenForo/Route/Prefix/Posts.php
  95. library/XenForo/Model/Avatar.php
  96. library/XenForo/Debug.php
  97. library/TaiLieu/Advertisement/Model/Advertisement.php
  98. library/VietXfAdvStats/Option.php
  99. library/XenForo/ViewRenderer/Json.php