Page Time: 2.0440s

Memory: 4.2353 MB (Peak: 5.7536 MB)

Queries (36, time: 1.9716s, 96.5%)

  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.000853
    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.000305
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3.                 			                  SELECT user_point.*
                                                    
                                                    FROM xf_user_point AS user_point
                                                    
                                            WHERE 1=1
    Run Time: 0.008712
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_pointALL    10936 
  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: 10424
    Run Time: 0.002070
    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: 43
    Run Time: 0.000510
    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: 10424
    Run Time: 0.005724
    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. 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 (11596)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.005309
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition; Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4dien7104_tailieu.attachment.data_id1 
  8. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 10424
    Run Time: 0.000193
  9. SELECT *
    FROM xf_brivium_extra_thread_item
    WHERE  thread_id = ? AND user_id = ?
    Params: 10424, 0
    Run Time: 0.366509
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_brivium_extra_thread_itemALL    25059Using where
  10. SELECT thread.*
    	
    FROM xf_thread AS thread 
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1594801744)) AND (thread.thread_id <> 10424)
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.007736
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARY,post_datepost_date4 11243Using where
  11. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 39
    Run Time: 0.000385
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  12. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 177
    Run Time: 0.000904
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  13. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 54
    Run Time: 0.000317
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  14. SELECT thread.*
    	
    FROM xf_thread AS thread 
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date > 1594801744)) AND (thread.thread_id <> 10424)
    ORDER BY thread.post_date ASC
     LIMIT 5
    Run Time: 0.006695
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARY,post_datepost_date4 11243Using index condition; Using where
  15. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 162
    Run Time: 0.000415
    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 <> 10424)
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.000866
    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, 361
    Run Time: 0.000344
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  18. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 296
    Run Time: 0.000421
    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, 89
    Run Time: 0.000402
    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 = 10424 AND user_id = 0)
    Params: 1714731234, a:3:{s:12:"olderThreads";a:5:{i:10423;a:22:{s:9:"thread_id";i:10423;s:7:"node_id";i:43;s:5:"title";s:70:"Starters, Cambridge English Starters 1, Authentic Examination Papers 1";s:11:"reply_count";i:0;s:10:"view_count";i:1150;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1594801636;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:11595;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1594801636;s:12:"last_post_id";i:11595;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:385:"a:6:{i:82;a:2:{s:3:"tag";s:4:"2018";s:7:"tag_url";s:4:"2018";}i:2196;a:2:{s:3:"tag";s:4:"2019";s:7:"tag_url";s:4:"2019";}i:266;a:2:{s:3:"tag";s:9:"authentic";s:7:"tag_url";s:9:"authentic";}i:94;a:2:{s:3:"tag";s:9:"cambridge";s:7:"tag_url";s:9:"cambridge";}i:2971;a:2:{s:3:"tag";s:6:"revise";s:7:"tag_url";s:6:"revise";}i:97;a:2:{s:3:"tag";s:8:"starters";s:7:"tag_url";s:8:"starters";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:10422;a:22:{s:9:"thread_id";i:10422;s:7:"node_id";i:43;s:5:"title";s:73:"Cambridge english Starters, Pre A1, Authentic Examination 3, student book";s:11:"reply_count";i:0;s:10:"view_count";i:1253;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1594801485;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:11594;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1594801485;s:12:"last_post_id";i:11594;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:356:"a:5:{i:266;a:2:{s:3:"tag";s:9:"authentic";s:7:"tag_url";s:9:"authentic";}i:94;a:2:{s:3:"tag";s:9:"cambridge";s:7:"tag_url";s:9:"cambridge";}i:267;a:2:{s:3:"tag";s:11:"examination";s:7:"tag_url";s:11:"examination";}i:97;a:2:{s:3:"tag";s:8:"starters";s:7:"tag_url";s:8:"starters";}i:702;a:2:{s:3:"tag";s:12:"student book";s:7:"tag_url";s:12:"student-book";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:10410;a:22:{s:9:"thread_id";i:10410;s:7:"node_id";i:39;s:5:"title";s:85:"Bí quyết tân tượng kỳ WYZ, Trung tướng Trần Ngọc Tám, Sài Gòn 1964";s:11:"reply_count";i:0;s:10:"view_count";i:590;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1594748975;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:11582;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1594748975;s:12:"last_post_id";i:11582;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:398:"a:6:{i:4023;a:2:{s:3:"tag";s:4:"1964";s:7:"tag_url";s:4:"1964";}i:1202;a:2:{s:3:"tag";s:8:"bi quyet";s:7:"tag_url";s:8:"bi-quyet";}i:871;a:2:{s:3:"tag";s:7:"sai gon";s:7:"tag_url";s:7:"sai-gon";}i:9269;a:2:{s:3:"tag";s:13:"tran ngoc tam";s:7:"tag_url";s:13:"tran-ngoc-tam";}i:731;a:2:{s:3:"tag";s:8:"tuong ky";s:7:"tag_url";s:8:"tuong-ky";}i:9268;a:2:{s:3:"tag";s:3:"wyz";s:7:"tag_url";s:3:"wyz";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:10398;a:22:{s:9:"thread_id";i:10398;s:7:"node_id";i:177;s:5:"title";s:23:"youtube masterclass YTA";s:11:"reply_count";i:0;s:10:"view_count";i:2061;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1594624127;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:11570;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1594624127;s:12:"last_post_id";i:11570;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:31;s:4:"tags";s:146:"a:2:{i:1708;a:2:{s:3:"tag";s:11:"masterclass";s:7:"tag_url";s:11:"masterclass";}i:2770;a:2:{s:3:"tag";s:7:"youtube";s:7:"tag_url";s:7:"youtube";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:10397;a:22:{s:9:"thread_id";i:10397;s:7:"node_id";i:54;s:5:"title";s:100:"the traditional village in Vietnam by Phan huy le, Tu chi, nguyen duc nghinh, duong kinh quoc, cao v";s:11:"reply_count";i:0;s:10:"view_count";i:504;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1594620581;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:11569;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1594620581;s:12:"last_post_id";i:11569;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:1200:"a:16:{i:9259;a:2:{s:3:"tag";s:12:"cao van bien";s:7:"tag_url";s:12:"cao-van-bien";}i:9264;a:2:{s:3:"tag";s:11:"chuong than";s:7:"tag_url";s:11:"chuong-than";}i:9258;a:2:{s:3:"tag";s:15:"duong kinh quoc";s:7:"tag_url";s:15:"duong-kinh-quoc";}i:9261;a:2:{s:3:"tag";s:6:"huy vu";s:7:"tag_url";s:6:"huy-vu";}i:9263;a:2:{s:3:"tag";s:17:"nguyen danh nhiet";s:7:"tag_url";s:17:"nguyen-danh-nhiet";}i:9257;a:2:{s:3:"tag";s:17:"nguyen duc nghinh";s:7:"tag_url";s:17:"nguyen-duc-nghinh";}i:9245;a:2:{s:3:"tag";s:16:"nguyen khac tung";s:7:"tag_url";s:16:"nguyen-khac-tung";}i:9266;a:2:{s:3:"tag";s:11:"nguyen sinh";s:7:"tag_url";s:11:"nguyen-sinh";}i:9265;a:2:{s:3:"tag";s:13:"pham xuan nam";s:7:"tag_url";s:13:"pham-xuan-nam";}i:9260;a:2:{s:3:"tag";s:13:"phan dai doan";s:7:"tag_url";s:13:"phan-dai-doan";}i:492;a:2:{s:3:"tag";s:11:"phan huy le";s:7:"tag_url";s:11:"phan-huy-le";}i:9262;a:2:{s:3:"tag";s:6:"to lan";s:7:"tag_url";s:6:"to-lan";}i:2660;a:2:{s:3:"tag";s:11:"traditional";s:7:"tag_url";s:11:"traditional";}i:9256;a:2:{s:3:"tag";s:6:"tu chi";s:7:"tag_url";s:6:"tu-chi";}i:86;a:2:{s:3:"tag";s:7:"vietnam";s:7:"tag_url";s:7:"vietnam";}i:9255;a:2:{s:3:"tag";s:7:"village";s:7:"tag_url";s:7:"village";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:10425;a:22:{s:9:"thread_id";i:10425;s:7:"node_id";i:43;s:5:"title";s:99:"Cambridge English Qualifications, Pre A1 Starters, Practice Tests Plus by Rosemary Aravanis, Elaine";s:11:"reply_count";i:0;s:10:"view_count";i:672;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1594802129;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:11597;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1594802129;s:12:"last_post_id";i:11597;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:455:"a:6:{i:94;a:2:{s:3:"tag";s:9:"cambridge";s:7:"tag_url";s:9:"cambridge";}i:9270;a:2:{s:3:"tag";s:11:"elaine boyd";s:7:"tag_url";s:11:"elaine-boyd";}i:188;a:2:{s:3:"tag";s:7:"pearson";s:7:"tag_url";s:7:"pearson";}i:4994;a:2:{s:3:"tag";s:19:"practice tests plus";s:7:"tag_url";s:19:"practice-tests-plus";}i:8973;a:2:{s:3:"tag";s:17:"rosemary aravanis";s:7:"tag_url";s:17:"rosemary-aravanis";}i:97;a:2:{s:3:"tag";s:8:"starters";s:7:"tag_url";s:8:"starters";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:10426;a:22:{s:9:"thread_id";i:10426;s:7:"node_id";i:43;s:5:"title";s:100:"Fun for Starters 4th, Student's book, for the revised Cambridge English Young Learners (YLE), Anne R";s:11:"reply_count";i:0;s:10:"view_count";i:649;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1594802404;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:11598;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1594802404;s:12:"last_post_id";i:11598;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:412:"a:6:{i:9271;a:2:{s:3:"tag";s:13:"anne robinson";s:7:"tag_url";s:13:"anne-robinson";}i:94;a:2:{s:3:"tag";s:9:"cambridge";s:7:"tag_url";s:9:"cambridge";}i:5783;a:2:{s:3:"tag";s:11:"karen saxby";s:7:"tag_url";s:11:"karen-saxby";}i:2971;a:2:{s:3:"tag";s:6:"revise";s:7:"tag_url";s:6:"revise";}i:97;a:2:{s:3:"tag";s:8:"starters";s:7:"tag_url";s:8:"starters";}i:5782;a:2:{s:3:"tag";s:3:"yle";s:7:"tag_url";s:3:"yle";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:10427;a:22:{s:9:"thread_id";i:10427;s:7:"node_id";i:162;s:5:"title";s:71:"Fair and Equitable Treatment in International Investment Law, cambridge";s:11:"reply_count";i:0;s:10:"view_count";i:678;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1594802916;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:11599;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1594802916;s:12:"last_post_id";i:11599;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:314:"a:4:{i:2494;a:2:{s:3:"tag";s:4:"2011";s:7:"tag_url";s:4:"2011";}i:94;a:2:{s:3:"tag";s:9:"cambridge";s:7:"tag_url";s:9:"cambridge";}i:9272;a:2:{s:3:"tag";s:28:"international investment law";s:7:"tag_url";s:28:"international-investment-law";}i:6113;a:2:{s:3:"tag";s:10:"law school";s:7:"tag_url";s:10:"law-school";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:10428;a:22:{s:9:"thread_id";i:10428;s:7:"node_id";i:54;s:5:"title";s:70:"Di sản văn hóa nhà vườn xứ Huế và vấn đề bảo tồn";s:11:"reply_count";i:0;s:10:"view_count";i:574;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1594803226;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:11600;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1594803226;s:12:"last_post_id";i:11600;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:330:"a:5:{i:740;a:2:{s:3:"tag";s:4:"2002";s:7:"tag_url";s:4:"2002";}i:9273;a:2:{s:3:"tag";s:7:"bao ton";s:7:"tag_url";s:7:"bao-ton";}i:7236;a:2:{s:3:"tag";s:6:"di san";s:7:"tag_url";s:6:"di-san";}i:9274;a:2:{s:3:"tag";s:14:"di san van hoa";s:7:"tag_url";s:14:"di-san-van-hoa";}i:1892;a:2:{s:3:"tag";s:3:"hue";s:7:"tag_url";s:3:"hue";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:10429;a:22:{s:9:"thread_id";i:10429;s:7:"node_id";i:54;s:5:"title";s:74:"Các dân tộc ít người ở Bình Trị Thiên, Nguyễn Quốc Lộc";s:11:"reply_count";i:0;s:10:"view_count";i:645;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1594803391;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:11601;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1594803391;s:12:"last_post_id";i:11601;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:372:"a:5:{i:810;a:2:{s:3:"tag";s:4:"1984";s:7:"tag_url";s:4:"1984";}i:9275;a:2:{s:3:"tag";s:14:"binh tri thien";s:7:"tag_url";s:14:"binh-tri-thien";}i:1449;a:2:{s:3:"tag";s:7:"dan toc";s:7:"tag_url";s:7:"dan-toc";}i:9276;a:2:{s:3:"tag";s:15:"nguyen quoc loc";s:7:"tag_url";s:15:"nguyen-quoc-loc";}i:3667;a:2:{s:3:"tag";s:13:"nxb thuan hoa";s:7:"tag_url";s:13:"nxb-thuan-hoa";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25531;a:22:{s:9:"thread_id";i:25531;s:7:"node_id";i:361;s:5:"title";s:90:"Collins Cambridge IGCSE English as Second Language Student Book (Collins) 2023 New Edition";s:11:"reply_count";i:0;s:10:"view_count";i:23;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714652775;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:30522;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714652775;s:12:"last_post_id";i:30522;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:376:"a:5:{i:14754;a:2:{s:3:"tag";s:4:"2023";s:7:"tag_url";s:4:"2023";}i:9940;a:2:{s:3:"tag";s:15:"cambridge igcse";s:7:"tag_url";s:15:"cambridge-igcse";}i:1591;a:2:{s:3:"tag";s:7:"collins";s:7:"tag_url";s:7:"collins";}i:22318;a:2:{s:3:"tag";s:26:"english as second language";s:7:"tag_url";s:26:"english-as-second-language";}i:729;a:2:{s:3:"tag";s:3:"esl";s:7:"tag_url";s:3:"esl";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25530;a:22:{s:9:"thread_id";i:25530;s:7:"node_id";i:296;s:5:"title";s:79:"Cambridge English Business Vantage 5 with answer (Business English Certificate)";s:11:"reply_count";i:0;s:10:"view_count";i:15;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714652506;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:30521;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714652506;s:12:"last_post_id";i:30521;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:260:"a:3:{i:21915;a:2:{s:3:"tag";s:3:"bec";s:7:"tag_url";s:3:"bec";}i:22317;a:2:{s:3:"tag";s:28:"business english certificate";s:7:"tag_url";s:28:"business-english-certificate";}i:15602;a:2:{s:3:"tag";s:16:"english business";s:7:"tag_url";s:16:"english-business";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25529;a:22:{s:9:"thread_id";i:25529;s:7:"node_id";i:296;s:5:"title";s:58:"Cambridge English Business Preliminary 5 with answer (BEC)";s:11:"reply_count";i:0;s:10:"view_count";i:18;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714652297;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:30520;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714652297;s:12:"last_post_id";i:30520;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:28;s:4:"tags";s:150:"a:2:{i:21915;a:2:{s:3:"tag";s:3:"bec";s:7:"tag_url";s:3:"bec";}i:15602;a:2:{s:3:"tag";s:16:"english business";s:7:"tag_url";s:16:"english-business";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25528;a:22:{s:9:"thread_id";i:25528;s:7:"node_id";i:89;s:5:"title";s:85:"Tuyển tập văn học dân gian Việt Nam tập II, quyển 1 Truyện cổ tích";s:11:"reply_count";i:1;s:10:"view_count";i:18;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714651047;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:30518;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714651316;s:12:"last_post_id";i:30519;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:391:"a:5:{i:1270;a:2:{s:3:"tag";s:7:"co tich";s:7:"tag_url";s:7:"co-tich";}i:22316;a:2:{s:3:"tag";s:14:"truyen co tich";s:7:"tag_url";s:14:"truyen-co-tich";}i:632;a:2:{s:3:"tag";s:9:"tuyen tap";s:7:"tag_url";s:9:"tuyen-tap";}i:6833;a:2:{s:3:"tag";s:16:"van hoc dan gian";s:7:"tag_url";s:16:"van-hoc-dan-gian";}i:2458;a:2:{s:3:"tag";s:16:"van hoc viet nam";s:7:"tag_url";s:16:"van-hoc-viet-nam";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25527;a:22:{s:9:"thread_id";i:25527;s:7:"node_id";i:89;s:5:"title";s:86:"Tuyển tập văn học dân gian Việt Nam tập IV, quyển 1 Tục ngữ, cao dao";s:11:"reply_count";i:0;s:10:"view_count";i:18;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714650709;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:30517;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714650709;s:12:"last_post_id";i:30517;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:375:"a:5:{i:11962;a:2:{s:3:"tag";s:7:"cao dao";s:7:"tag_url";s:7:"cao-dao";}i:9144;a:2:{s:3:"tag";s:7:"tuc ngu";s:7:"tag_url";s:7:"tuc-ngu";}i:632;a:2:{s:3:"tag";s:9:"tuyen tap";s:7:"tag_url";s:9:"tuyen-tap";}i:6833;a:2:{s:3:"tag";s:16:"van hoc dan gian";s:7:"tag_url";s:16:"van-hoc-dan-gian";}i:2458;a:2:{s:3:"tag";s:16:"van hoc viet nam";s:7:"tag_url";s:16:"van-hoc-viet-nam";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
    Run Time: 0.718173
  21. SELECT thread.*
    	,
    MATCH(search_index.title) AGAINST ('Starters, Cambridge English Starters 2, Authentic Examination Papers 2' 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 <> 10424)
    AND MATCH(search_index.title) AGAINST ('Starters, Cambridge English Starters 2, Authentic Examination Papers 2' IN BOOLEAN MODE)
    AND search_index.content_type='thread'
    HAVING similar_score >= 1
    ORDER BY similar_score
     LIMIT 5
    Run Time: 0.686580
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsearch_indexrefPRIMARYPRIMARY77const497Using index condition; Using where; Using temporary; 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, 7
    Run Time: 0.000402
    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, 15
    Run Time: 0.000211
    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 <> 10424)
    ORDER BY RAND()
     LIMIT 5
    Run Time: 0.071168
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadALLPRIMARY   22486Using 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 (20398, 4436, 12892, 23962, 17162))
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.000996
    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, 198
    Run Time: 0.000407
    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, 76
    Run Time: 0.000165
    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, 48
    Run Time: 0.000151
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  29. SELECT post_links.*
    	
                        FROM xf_post_links AS post_links
    
                                    WHERE (post_links.thread_id = 10424)
    Run Time: 0.081998
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpost_linksALL    25602Using where
  30. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 6caa4a398eddf6ac2278bd56324c5427, , 1714734834
    Run Time: 0.000263
  31. 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=10424, 1714731234,
    Run Time: 0.000161
  32. 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.000720
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 10Using where
  33.                 			                  SELECT adv.*
                                                    
                                                    FROM xf_advertisement AS adv
                                                    
                                            WHERE (adv.active = 1) AND (adv.positive = 1)
    Run Time: 0.000500
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    5Using where
  34. 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.000280
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  35.                 			                  SELECT adv.*
                                                    
                                                    FROM xf_advertisement AS adv
                                                    
                                            WHERE (adv.active = 1) AND (adv.positive = 3)
    Run Time: 0.000389
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    5Using where
  36. 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.000380
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (102, XenForo Classes: 62)

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