Page Time: 1.9765s

Memory: 4.2454 MB (Peak: 5.7597 MB)

Queries (36, time: 1.9067s, 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.000804
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryALLPRIMARY   34Using where
  2. SELECT session_data
    FROM xf_session
    WHERE session_id = ?
    	AND expiry_date >= ?
    Params: 4c89e6b7ae36c31821d63374a3a96ef2, 1715937790
    Run Time: 0.000520
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_sessionconstPRIMARY,expiry_datePRIMARY34const1 
  3. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000294
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  4.                 			                  SELECT user_point.*
                                                    
                                                    FROM xf_user_point AS user_point
                                                    
                                            WHERE 1=1
    Run Time: 0.010415
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_pointALL    11092 
  5. 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: 16642
    Run Time: 0.000762
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
  6. 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: 216
    Run Time: 0.004398
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  7. 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: 16642
    Run Time: 0.015367
    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
  8. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 16642
    Run Time: 0.000256
  9. SELECT *
    FROM xf_brivium_extra_thread_item
    WHERE  thread_id = ? AND user_id = ?
    Params: 16642, 0
    Run Time: 0.560504
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_brivium_extra_thread_itemALL    25159Using where
  10. SELECT thread.*
    	
    FROM xf_thread AS thread 
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1642329723)) AND (thread.thread_id <> 16642)
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.000657
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARY,post_datepost_date4 11424Using where
  11. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 343
    Run Time: 0.001023
    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, 253
    Run Time: 0.000219
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  13. SELECT thread.*
    	
    FROM xf_thread AS thread 
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date > 1642329723)) AND (thread.thread_id <> 16642)
    ORDER BY thread.post_date ASC
     LIMIT 5
    Run Time: 0.001155
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARY,post_datepost_date4 11424Using index condition; Using where
  14. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 196
    Run Time: 0.000185
    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, 219
    Run Time: 0.000194
    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 <> 16642)
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.000558
    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, 382
    Run Time: 0.000215
    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 = 16642 AND user_id = 0)
    Params: 1715937790, a:3:{s:12:"olderThreads";a:5:{i:16641;a:22:{s:9:"thread_id";i:16641;s:7:"node_id";i:216;s:5:"title";s:100:"Grammar for great Writing B, Keith S. Folse, Deborah Gordon, Barbara Smith-Palinkas, National Geogra";s:11:"reply_count";i:0;s:10:"view_count";i:1182;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1642329522;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:18592;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1642329522;s:12:"last_post_id";i:18592;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:565:"a:6:{i:10032;a:2:{s:3:"tag";s:22:"barbara smith-palinkas";s:7:"tag_url";s:22:"barbara-smith-palinkas";}i:1561;a:2:{s:3:"tag";s:16:"cengage learning";s:7:"tag_url";s:16:"cengage-learning";}i:14752;a:2:{s:3:"tag";s:14:"deborah gordon";s:7:"tag_url";s:14:"deborah-gordon";}i:13479;a:2:{s:3:"tag";s:25:"grammar for great writing";s:7:"tag_url";s:25:"grammar-for-great-writing";}i:10030;a:2:{s:3:"tag";s:14:"keith s. folse";s:7:"tag_url";s:13:"keith-s-folse";}i:4450;a:2:{s:3:"tag";s:28:"national geographic learning";s:7:"tag_url";s:28:"national-geographic-learning";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:16640;a:22:{s:9:"thread_id";i:16640;s:7:"node_id";i:343;s:5:"title";s:70:"Motivate! 2 Student's Book, Emma Heyderman, Fiona Mauchline, Macmillan";s:11:"reply_count";i:0;s:10:"view_count";i:985;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1642329182;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:18591;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1642329182;s:12:"last_post_id";i:18591;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:28;s:4:"tags";s:385:"a:5:{i:6986;a:2:{s:3:"tag";s:14:"emma heyderman";s:7:"tag_url";s:14:"emma-heyderman";}i:14748;a:2:{s:3:"tag";s:15:"fiona mauchline";s:7:"tag_url";s:15:"fiona-mauchline";}i:1694;a:2:{s:3:"tag";s:9:"macmillan";s:7:"tag_url";s:9:"macmillan";}i:14749;a:2:{s:3:"tag";s:9:"motivate!";s:7:"tag_url";s:8:"motivate";}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:16639;a:22:{s:9:"thread_id";i:16639;s:7:"node_id";i:343;s:5:"title";s:70:"Motivate! 1 Student's Book, Emma Heyderman, Fiona Mauchline, Macmillan";s:11:"reply_count";i:0;s:10:"view_count";i:1017;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1642329088;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:18590;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1642329088;s:12:"last_post_id";i:18590;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:28;s:4:"tags";s:385:"a:5:{i:6986;a:2:{s:3:"tag";s:14:"emma heyderman";s:7:"tag_url";s:14:"emma-heyderman";}i:14748;a:2:{s:3:"tag";s:15:"fiona mauchline";s:7:"tag_url";s:15:"fiona-mauchline";}i:1694;a:2:{s:3:"tag";s:9:"macmillan";s:7:"tag_url";s:9:"macmillan";}i:14749;a:2:{s:3:"tag";s:9:"motivate!";s:7:"tag_url";s:8:"motivate";}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:16638;a:22:{s:9:"thread_id";i:16638;s:7:"node_id";i:253;s:5:"title";s:71:"Motivate! 3 Student's Book, Patrick Howarth, Patricia Reilly, Macmillan";s:11:"reply_count";i:0;s:10:"view_count";i:862;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1642329008;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:18589;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1642329008;s:12:"last_post_id";i:18589;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:388:"a:5:{i:1694;a:2:{s:3:"tag";s:9:"macmillan";s:7:"tag_url";s:9:"macmillan";}i:14749;a:2:{s:3:"tag";s:9:"motivate!";s:7:"tag_url";s:8:"motivate";}i:14751;a:2:{s:3:"tag";s:15:"patricia reilly";s:7:"tag_url";s:15:"patricia-reilly";}i:14750;a:2:{s:3:"tag";s:15:"patrick howarth";s:7:"tag_url";s:15:"patrick-howarth";}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:16637;a:22:{s:9:"thread_id";i:16637;s:7:"node_id";i:253;s:5:"title";s:71:"Motivate! 4 Student's Book, Patrick Howarth, Patricia Reilly, Macmillan";s:11:"reply_count";i:0;s:10:"view_count";i:591;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1642328946;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:18588;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1642328946;s:12:"last_post_id";i:18588;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:388:"a:5:{i:1694;a:2:{s:3:"tag";s:9:"macmillan";s:7:"tag_url";s:9:"macmillan";}i:14749;a:2:{s:3:"tag";s:9:"motivate!";s:7:"tag_url";s:8:"motivate";}i:14751;a:2:{s:3:"tag";s:15:"patricia reilly";s:7:"tag_url";s:15:"patricia-reilly";}i:14750;a:2:{s:3:"tag";s:15:"patrick howarth";s:7:"tag_url";s:15:"patrick-howarth";}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;}}s:12:"newerThreads";a:5:{i:16643;a:22:{s:9:"thread_id";i:16643;s:7:"node_id";i:196;s:5:"title";s:105:"Ôn tập thi vào lớp 10 môn Ngữ Văn Năm học 2022 - 2023, Nguyễn Thị Nương, Chu Thị Lý";s:11:"reply_count";i:0;s:10:"view_count";i:2610;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1642347589;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:18594;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1642347589;s:12:"last_post_id";i:18594;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:699:"a:10:{i:11076;a:2:{s:3:"tag";s:4:"2022";s:7:"tag_url";s:4:"2022";}i:14755;a:2:{s:3:"tag";s:9:"2022-2023";s:7:"tag_url";s:9:"2022-2023";}i:14754;a:2:{s:3:"tag";s:4:"2023";s:7:"tag_url";s:4:"2023";}i:8845;a:2:{s:3:"tag";s:10:"chu thi ly";s:7:"tag_url";s:10:"chu-thi-ly";}i:2687;a:2:{s:3:"tag";s:7:"ngu van";s:7:"tag_url";s:7:"ngu-van";}i:9730;a:2:{s:3:"tag";s:9:"ngu van 9";s:7:"tag_url";s:9:"ngu-van-9";}i:8844;a:2:{s:3:"tag";s:16:"nguyen thi nuong";s:7:"tag_url";s:16:"nguyen-thi-nuong";}i:939;a:2:{s:3:"tag";s:6:"on tap";s:7:"tag_url";s:6:"on-tap";}i:7993;a:2:{s:3:"tag";s:9:"on thi 10";s:7:"tag_url";s:9:"on-thi-10";}i:7886;a:2:{s:3:"tag";s:13:"on thi lop 10";s:7:"tag_url";s:13:"on-thi-lop-10";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:16644;a:22:{s:9:"thread_id";i:16644;s:7:"node_id";i:196;s:5:"title";s:120:"Ôn tập thi vào lớp 10 môn toán năm học 2022 - 2023, Nguyễn Ngọc Đạm, Tạ Hữu Phơ, Đoàn Văn Tề";s:11:"reply_count";i:0;s:10:"view_count";i:6336;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1642347860;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:18595;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1642347860;s:12:"last_post_id";i:18595;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:638:"a:9:{i:11076;a:2:{s:3:"tag";s:4:"2022";s:7:"tag_url";s:4:"2022";}i:14755;a:2:{s:3:"tag";s:9:"2022-2023";s:7:"tag_url";s:9:"2022-2023";}i:14754;a:2:{s:3:"tag";s:4:"2023";s:7:"tag_url";s:4:"2023";}i:8848;a:2:{s:3:"tag";s:11:"doan van te";s:7:"tag_url";s:11:"doan-van-te";}i:8847;a:2:{s:3:"tag";s:15:"nguyen ngoc dam";s:7:"tag_url";s:15:"nguyen-ngoc-dam";}i:7993;a:2:{s:3:"tag";s:9:"on thi 10";s:7:"tag_url";s:9:"on-thi-10";}i:7886;a:2:{s:3:"tag";s:13:"on thi lop 10";s:7:"tag_url";s:13:"on-thi-lop-10";}i:8849;a:2:{s:3:"tag";s:10:"ta huu pho";s:7:"tag_url";s:10:"ta-huu-pho";}i:8512;a:2:{s:3:"tag";s:6:"toan 9";s:7:"tag_url";s:6:"toan-9";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:16645;a:22:{s:9:"thread_id";i:16645;s:7:"node_id";i:196;s:5:"title";s:111:"Ôn tập thi vào lớp 10 môn Tiếng Anh năm học 2022 - 2023, Nguyễn Thị Chi, Nguyễn Hữu Cương";s:11:"reply_count";i:0;s:10:"view_count";i:2041;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1642348118;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:18596;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1642348118;s:12:"last_post_id";i:18596;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:3;s:4:"tags";s:790:"a:11:{i:11076;a:2:{s:3:"tag";s:4:"2022";s:7:"tag_url";s:4:"2022";}i:14755;a:2:{s:3:"tag";s:9:"2022-2023";s:7:"tag_url";s:9:"2022-2023";}i:14754;a:2:{s:3:"tag";s:4:"2023";s:7:"tag_url";s:4:"2023";}i:11619;a:2:{s:3:"tag";s:7:"grade 9";s:7:"tag_url";s:7:"grade-9";}i:3769;a:2:{s:3:"tag";s:16:"nguyen huu cuong";s:7:"tag_url";s:16:"nguyen-huu-cuong";}i:3768;a:2:{s:3:"tag";s:14:"nguyen thi chi";s:7:"tag_url";s:14:"nguyen-thi-chi";}i:939;a:2:{s:3:"tag";s:6:"on tap";s:7:"tag_url";s:6:"on-tap";}i:7993;a:2:{s:3:"tag";s:9:"on thi 10";s:7:"tag_url";s:9:"on-thi-10";}i:8813;a:2:{s:3:"tag";s:17:"on thi vao lop 10";s:7:"tag_url";s:17:"on-thi-vao-lop-10";}i:185;a:2:{s:3:"tag";s:9:"tieng anh";s:7:"tag_url";s:9:"tieng-anh";}i:6115;a:2:{s:3:"tag";s:11:"tieng anh 9";s:7:"tag_url";s:11:"tieng-anh-9";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:16646;a:22:{s:9:"thread_id";i:16646;s:7:"node_id";i:219;s:5:"title";s:60:"109 bài luyện dịch Anh - Việt, Nguyễn Thuần Hậu";s:11:"reply_count";i:0;s:10:"view_count";i:687;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1642348833;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:18597;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1642348833;s:12:"last_post_id";i:18597;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:524:"a:7:{i:11882;a:2:{s:3:"tag";s:3:"109";s:7:"tag_url";s:3:"109";}i:230;a:2:{s:3:"tag";s:8:"anh viet";s:7:"tag_url";s:8:"anh-viet";}i:5548;a:2:{s:3:"tag";s:10:"luyen dich";s:7:"tag_url";s:10:"luyen-dich";}i:14756;a:2:{s:3:"tag";s:19:"luyen dich anh viet";s:7:"tag_url";s:19:"luyen-dich-anh-viet";}i:9555;a:2:{s:3:"tag";s:16:"nguyen thuan hau";s:7:"tag_url";s:16:"nguyen-thuan-hau";}i:4798;a:2:{s:3:"tag";s:9:"practical";s:7:"tag_url";s:9:"practical";}i:3695;a:2:{s:3:"tag";s:11:"translation";s:7:"tag_url";s:11:"translation";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:16647;a:22:{s:9:"thread_id";i:16647;s:7:"node_id";i:216;s:5:"title";s:51:"First Steps in Academic Writing, Ann Hogue, Longman";s:11:"reply_count";i:0;s:10:"view_count";i:644;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1642467959;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:18598;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1642467959;s:12:"last_post_id";i:18598;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:302:"a:4:{i:3816;a:2:{s:3:"tag";s:16:"academic writing";s:7:"tag_url";s:16:"academic-writing";}i:10309;a:2:{s:3:"tag";s:9:"ann hogue";s:7:"tag_url";s:9:"ann-hogue";}i:14758;a:2:{s:3:"tag";s:11:"first steps";s:7:"tag_url";s:11:"first-steps";}i:1236;a:2:{s:3:"tag";s:7:"longman";s:7:"tag_url";s:7:"longman";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25631;a:22:{s:9:"thread_id";i:25631;s:7:"node_id";i:382;s:5:"title";s:90:"Pathways Foundation Reading and Writing Classroom Presentation Tool (itools) second edtion";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1715936745;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:30663;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1715936745;s:12:"last_post_id";i:30663;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:32;s:4:"tags";s:338:"a:4:{i:16236;a:2:{s:3:"tag";s:27:"classroom presentation tool";s:7:"tag_url";s:27:"classroom-presentation-tool";}i:2690;a:2:{s:3:"tag";s:6:"itools";s:7:"tag_url";s:6:"itools";}i:3868;a:2:{s:3:"tag";s:8:"pathways";s:7:"tag_url";s:8:"pathways";}i:16410;a:2:{s:3:"tag";s:20:"pathways foundations";s:7:"tag_url";s:20:"pathways-foundations";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25630;a:22:{s:9:"thread_id";i:25630;s:7:"node_id";i:382;s:5:"title";s:84:"Pathways 4 Listening and Speaking Classroom Presentation Tool (itools) second edtion";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1715936686;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:30662;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1715936686;s:12:"last_post_id";i:30662;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:32;s:4:"tags";s:318:"a:4:{i:16236;a:2:{s:3:"tag";s:27:"classroom presentation tool";s:7:"tag_url";s:27:"classroom-presentation-tool";}i:2690;a:2:{s:3:"tag";s:6:"itools";s:7:"tag_url";s:6:"itools";}i:3868;a:2:{s:3:"tag";s:8:"pathways";s:7:"tag_url";s:8:"pathways";}i:15249;a:2:{s:3:"tag";s:10:"pathways 4";s:7:"tag_url";s:10:"pathways-4";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25629;a:22:{s:9:"thread_id";i:25629;s:7:"node_id";i:382;s:5:"title";s:81:"Pathways 3 Reading and Writing Classroom Presentation Tool (itools) second edtion";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1715936629;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:30661;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1715936629;s:12:"last_post_id";i:30661;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:32;s:4:"tags";s:318:"a:4:{i:16236;a:2:{s:3:"tag";s:27:"classroom presentation tool";s:7:"tag_url";s:27:"classroom-presentation-tool";}i:2690;a:2:{s:3:"tag";s:6:"itools";s:7:"tag_url";s:6:"itools";}i:3868;a:2:{s:3:"tag";s:8:"pathways";s:7:"tag_url";s:8:"pathways";}i:15248;a:2:{s:3:"tag";s:10:"pathways 3";s:7:"tag_url";s:10:"pathways-3";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25628;a:22:{s:9:"thread_id";i:25628;s:7:"node_id";i:382;s:5:"title";s:81:"Pathways 1 Reading and Writing Classroom Presentation Tool (itools) second edtion";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1715936533;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:30660;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1715936533;s:12:"last_post_id";i:30660;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:32;s:4:"tags";s:318:"a:4:{i:16236;a:2:{s:3:"tag";s:27:"classroom presentation tool";s:7:"tag_url";s:27:"classroom-presentation-tool";}i:2690;a:2:{s:3:"tag";s:6:"itools";s:7:"tag_url";s:6:"itools";}i:3868;a:2:{s:3:"tag";s:8:"pathways";s:7:"tag_url";s:8:"pathways";}i:13672;a:2:{s:3:"tag";s:10:"pathways 1";s:7:"tag_url";s:10:"pathways-1";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25627;a:22:{s:9:"thread_id";i:25627;s:7:"node_id";i:382;s:5:"title";s:81:"Pathways 2 Reading and Writing Classroom Presentation Tool (itools) second edtion";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1715936328;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:30659;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1715936328;s:12:"last_post_id";i:30659;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:32;s:4:"tags";s:318:"a:4:{i:16236;a:2:{s:3:"tag";s:27:"classroom presentation tool";s:7:"tag_url";s:27:"classroom-presentation-tool";}i:2690;a:2:{s:3:"tag";s:6:"itools";s:7:"tag_url";s:6:"itools";}i:3868;a:2:{s:3:"tag";s:8:"pathways";s:7:"tag_url";s:8:"pathways";}i:15519;a:2:{s:3:"tag";s:10:"pathways 2";s:7:"tag_url";s:10:"pathways-2";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
    Run Time: 0.879732
  19. SELECT thread.*
    	,
    MATCH(search_index.title) AGAINST ('Grammar for great Writing C, Keith S. Folse, Lida Baker, robyn Brinks Lockwood, Kristin Donnalley Sh' 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 <> 16642)
    AND MATCH(search_index.title) AGAINST ('Grammar for great Writing C, Keith S. Folse, Lida Baker, robyn Brinks Lockwood, Kristin Donnalley Sh' IN BOOLEAN MODE)
    AND search_index.content_type='thread'
    HAVING similar_score >= 1
    ORDER BY similar_score
     LIMIT 5
    Run Time: 0.330068
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsearch_indexrefPRIMARYPRIMARY77const501Using 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, 43
    Run Time: 0.000544
    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, 7
    Run Time: 0.000299
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  22. SELECT thread.thread_id
    FROM xf_thread AS thread
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 16642)
    ORDER BY RAND()
     LIMIT 5
    Run Time: 0.037555
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadALLPRIMARY   22848Using where; Using temporary; Using filesort
  23. 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 (5649, 12734, 11156, 18027, 3702))
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.001277
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 5Using where; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4dien7104_tailieu.thread.user_id1 
  24. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 224
    Run Time: 0.000463
    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, 144
    Run Time: 0.001057
    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, 179
    Run Time: 0.000925
    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, 56
    Run Time: 0.000226
    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, 26
    Run Time: 0.000378
    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 = 16642)
    Run Time: 0.046734
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpost_linksALL    25711Using where
  30. UPDATE `xf_session` SET `expiry_date` = ? WHERE (session_id = '4c89e6b7ae36c31821d63374a3a96ef2')
    Params: 1715941390
    Run Time: 0.000350
  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=16642, 1715937790,
    Run Time: 0.000241
  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.008149
    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.000389
    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.000206
    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.000400
    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.000187
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (100, XenForo Classes: 60)

  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/RouteMatch.php
  38. library/XenForo/Route/Prefix/Threads.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/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/XenForo/Route/Prefix/Tags.php
  94. library/TaiLieu/Advertisement/Listener.php
  95. library/XenForo/Route/Prefix/Posts.php
  96. library/XenForo/Model/Avatar.php
  97. library/XenForo/Debug.php
  98. library/TaiLieu/Advertisement/Model/Advertisement.php
  99. library/VietXfAdvStats/Option.php
  100. library/XenForo/ViewRenderer/Json.php