Page Time: 2.2971s

Memory: 4.2669 MB (Peak: 5.7771 MB)

Queries (40, time: 2.2186s, 96.6%)

  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.000513
    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.000361
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3.                 			                  SELECT user_point.*
                                                    
                                                    FROM xf_user_point AS user_point
                                                    
                                            WHERE 1=1
    Run Time: 0.011247
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_pointALL    10831 
  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: 12744
    Run Time: 0.005321
    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: 201
    Run Time: 0.000603
    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: 12744
    Run Time: 0.007976
    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 (13997)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.004248
    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: 12744
    Run Time: 0.000630
  9. SELECT *
    FROM xf_brivium_extra_thread_item
    WHERE  thread_id = ? AND user_id = ?
    Params: 12744, 0
    Run Time: 0.409331
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_brivium_extra_thread_itemALL    25038Using where
  10. SELECT thread.*
    	
    FROM xf_thread AS thread 
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1611149623)) AND (thread.thread_id <> 12744)
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.012562
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARY,post_datepost_date4 11498Using where
  11. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 136
    Run Time: 0.000347
    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, 88
    Run Time: 0.000267
    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, 196
    Run Time: 0.000252
    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 > 1611149623)) AND (thread.thread_id <> 12744)
    ORDER BY thread.post_date ASC
     LIMIT 5
    Run Time: 0.005479
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARY,post_datepost_date4 11498Using index condition; Using where
  15. SELECT thread.*
    	
    FROM xf_thread AS thread 
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 12744)
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.000571
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadindexPRIMARYpost_date4 5Using where
  16. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 79
    Run Time: 0.000263
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  17. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 216
    Run Time: 0.000283
    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, 349
    Run Time: 0.000265
    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, 224
    Run Time: 0.000255
    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 = 12744 AND user_id = 0)
    Params: 1714162131, a:3:{s:12:"olderThreads";a:5:{i:12743;a:22:{s:9:"thread_id";i:12743;s:7:"node_id";i:201;s:5:"title";s:58:"Daily warm-ups, reading Grade 1, Teacher Created Resources";s:11:"reply_count";i:0;s:10:"view_count";i:622;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611149166;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:13994;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611149166;s:12:"last_post_id";i:13994;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:320:"a:4:{i:7835;a:2:{s:3:"tag";s:14:"daily warm-ups";s:7:"tag_url";s:14:"daily-warm-ups";}i:2571;a:2:{s:3:"tag";s:7:"grade 1";s:7:"tag_url";s:7:"grade-1";}i:258;a:2:{s:3:"tag";s:7:"reading";s:7:"tag_url";s:7:"reading";}i:11079;a:2:{s:3:"tag";s:25:"teacher created resources";s:7:"tag_url";s:25:"teacher-created-resources";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12742;a:22:{s:9:"thread_id";i:12742;s:7:"node_id";i:201;s:5:"title";s:65:"Daily warm-ups, Prefixes, suffixes, roots, level 2, Liza Kleinman";s:11:"reply_count";i:0;s:10:"view_count";i:507;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611148978;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:13993;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611148978;s:12:"last_post_id";i:13993;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:7835;a:2:{s:3:"tag";s:14:"daily warm-ups";s:7:"tag_url";s:14:"daily-warm-ups";}i:11078;a:2:{s:3:"tag";s:13:"liza kleinman";s:7:"tag_url";s:13:"liza-kleinman";}i:7435;a:2:{s:3:"tag";s:8:"prefixes";s:7:"tag_url";s:8:"prefixes";}i:7436;a:2:{s:3:"tag";s:8:"suffixes";s:7:"tag_url";s:8:"suffixes";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12739;a:22:{s:9:"thread_id";i:12739;s:7:"node_id";i:136;s:5:"title";s:128:"Tài liệu ôn thi tuyển sinh sau đại học môn Tiếng Anh, Trường Đại học kinh tế TP. HCM, Lưu hành nội b";s:11:"reply_count";i:0;s:10:"view_count";i:555;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611147729;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:13992;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611147729;s:12:"last_post_id";i:13992;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:369:"a:5:{i:1283;a:2:{s:3:"tag";s:15:"luu hanh noi bo";s:7:"tag_url";s:15:"luu-hanh-noi-bo";}i:9904;a:2:{s:3:"tag";s:11:"sau dai hoc";s:7:"tag_url";s:11:"sau-dai-hoc";}i:185;a:2:{s:3:"tag";s:9:"tieng anh";s:7:"tag_url";s:9:"tieng-anh";}i:11077;a:2:{s:3:"tag";s:6:"tp hcm";s:7:"tag_url";s:6:"tp-hcm";}i:2952;a:2:{s:3:"tag";s:10:"tuyen sinh";s:7:"tag_url";s:10:"tuyen-sinh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12738;a:22:{s:9:"thread_id";i:12738;s:7:"node_id";i:88;s:5:"title";s:35:"Kiểm tra tài liệu hàng tháng";s:11:"reply_count";i:3;s:10:"view_count";i:8;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611147236;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:13990;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1614874648;s:12:"last_post_id";i:14653;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:12737;a:22:{s:9:"thread_id";i:12737;s:7:"node_id";i:196;s:5:"title";s:109:"Ôn tập thi vào lớp 10 môn tiếng Anh Năm học 2021-2022, Nguyễn Thị Chi, Nguyễn Hữu Cương";s:11:"reply_count";i:0;s:10:"view_count";i:3204;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1611114970;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:13989;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611114970;s:12:"last_post_id";i:13989;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:2;s:4:"tags";s:453:"a:6:{i:8078;a:2:{s:3:"tag";s:4:"2021";s:7:"tag_url";s:4:"2021";}i:11076;a:2:{s:3:"tag";s:4:"2022";s:7:"tag_url";s:4:"2022";}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: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: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;}}s:12:"newerThreads";a:5:{i:12745;a:22:{s:9:"thread_id";i:12745;s:7:"node_id";i:201;s:5:"title";s:59:"Daily warm-ups reading, Grade 4, Teacher Created Resources";s:11:"reply_count";i:0;s:10:"view_count";i:717;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611149785;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:13998;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611149785;s:12:"last_post_id";i:13998;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:320:"a:4:{i:7835;a:2:{s:3:"tag";s:14:"daily warm-ups";s:7:"tag_url";s:14:"daily-warm-ups";}i:2993;a:2:{s:3:"tag";s:7:"grade 4";s:7:"tag_url";s:7:"grade-4";}i:258;a:2:{s:3:"tag";s:7:"reading";s:7:"tag_url";s:7:"reading";}i:11079;a:2:{s:3:"tag";s:25:"teacher created resources";s:7:"tag_url";s:25:"teacher-created-resources";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12746;a:22:{s:9:"thread_id";i:12746;s:7:"node_id";i:201;s:5:"title";s:59:"Daily warm-ups reading, Grade 5, Teacher Created Resources";s:11:"reply_count";i:0;s:10:"view_count";i:713;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611149952;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:13999;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611149952;s:12:"last_post_id";i:13999;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:320:"a:4:{i:7835;a:2:{s:3:"tag";s:14:"daily warm-ups";s:7:"tag_url";s:14:"daily-warm-ups";}i:5834;a:2:{s:3:"tag";s:7:"grade 5";s:7:"tag_url";s:7:"grade-5";}i:258;a:2:{s:3:"tag";s:7:"reading";s:7:"tag_url";s:7:"reading";}i:11079;a:2:{s:3:"tag";s:25:"teacher created resources";s:7:"tag_url";s:25:"teacher-created-resources";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12747;a:22:{s:9:"thread_id";i:12747;s:7:"node_id";i:201;s:5:"title";s:59:"Daily warm-ups reading, Grade 6, Teacher Created Resources";s:11:"reply_count";i:0;s:10:"view_count";i:628;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611151098;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:14000;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611151098;s:12:"last_post_id";i:14000;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:320:"a:4:{i:7835;a:2:{s:3:"tag";s:14:"daily warm-ups";s:7:"tag_url";s:14:"daily-warm-ups";}i:6234;a:2:{s:3:"tag";s:7:"grade 6";s:7:"tag_url";s:7:"grade-6";}i:258;a:2:{s:3:"tag";s:7:"reading";s:7:"tag_url";s:7:"reading";}i:11079;a:2:{s:3:"tag";s:25:"teacher created resources";s:7:"tag_url";s:25:"teacher-created-resources";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12748;a:22:{s:9:"thread_id";i:12748;s:7:"node_id";i:201;s:5:"title";s:59:"Daily warm-ups reading, Grade 8, Teacher Created Resources";s:11:"reply_count";i:0;s:10:"view_count";i:667;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611151432;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:14001;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611151432;s:12:"last_post_id";i:14001;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:321:"a:4:{i:7835;a:2:{s:3:"tag";s:14:"daily warm-ups";s:7:"tag_url";s:14:"daily-warm-ups";}i:11080;a:2:{s:3:"tag";s:7:"grade 8";s:7:"tag_url";s:7:"grade-8";}i:258;a:2:{s:3:"tag";s:7:"reading";s:7:"tag_url";s:7:"reading";}i:11079;a:2:{s:3:"tag";s:25:"teacher created resources";s:7:"tag_url";s:25:"teacher-created-resources";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12749;a:22:{s:9:"thread_id";i:12749;s:7:"node_id";i:201;s:5:"title";s:70:"Daily warm-ups Nonfiction reading, Grade 6, Teacher Created Resources";s:11:"reply_count";i:0;s:10:"view_count";i:722;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611151774;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:14002;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611151774;s:12:"last_post_id";i:14002;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:289:"a:4:{i:7835;a:2:{s:3:"tag";s:14:"daily warm-ups";s:7:"tag_url";s:14:"daily-warm-ups";}i:6234;a:2:{s:3:"tag";s:7:"grade 6";s:7:"tag_url";s:7:"grade-6";}i:9015;a:2:{s:3:"tag";s:10:"nonfiction";s:7:"tag_url";s:10:"nonfiction";}i:258;a:2:{s:3:"tag";s:7:"reading";s:7:"tag_url";s:7:"reading";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25510;a:22:{s:9:"thread_id";i:25510;s:7:"node_id";i:79;s:5:"title";s:39:"The Phantom of the Opera ,Leroux Gaston";s:11:"reply_count";i:0;s:10:"view_count";i:2;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714157342;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:30495;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714157342;s:12:"last_post_id";i:30495;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:188:"a:2:{i:22296;a:2:{s:3:"tag";s:13:"leroux gaston";s:7:"tag_url";s:13:"leroux-gaston";}i:22297;a:2:{s:3:"tag";s:24:"the phantom of the opera";s:7:"tag_url";s:24:"the-phantom-of-the-opera";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25509;a:22:{s:9:"thread_id";i:25509;s:7:"node_id";i:216;s:5:"title";s:85:"Ready to write 2, 4th edition, Perfecting Paragraphs, Karen Blanchard, Christine Root";s:11:"reply_count";i:0;s:10:"view_count";i:4;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714157208;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:30494;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714157208;s:12:"last_post_id";i:30494;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:414:"a:5:{i:17481;a:2:{s:3:"tag";s:14:"christine root";s:7:"tag_url";s:14:"christine-root";}i:17480;a:2:{s:3:"tag";s:15:"karen blanchard";s:7:"tag_url";s:15:"karen-blanchard";}i:22295;a:2:{s:3:"tag";s:10:"paragraphs";s:7:"tag_url";s:10:"paragraphs";}i:17479;a:2:{s:3:"tag";s:14:"ready to write";s:7:"tag_url";s:14:"ready-to-write";}i:22055;a:2:{s:3:"tag";s:16:"ready to write 2";s:7:"tag_url";s:16:"ready-to-write-2";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25508;a:22:{s:9:"thread_id";i:25508;s:7:"node_id";i:349;s:5:"title";s:125:"Tài liệu giáo khoa chuyên sinh học trung học phổ thông, di truyền và tiến hóa, Phạm Văn Lập, Trần Ng";s:11:"reply_count";i:0;s:10:"view_count";i:3;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714156662;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:30493;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714156662;s:12:"last_post_id";i:30493;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:505:"a:7:{i:9057;a:2:{s:3:"tag";s:11:"chuyen sinh";s:7:"tag_url";s:11:"chuyen-sinh";}i:22294;a:2:{s:3:"tag";s:14:"dinh doan long";s:7:"tag_url";s:14:"dinh-doan-long";}i:22292;a:2:{s:3:"tag";s:12:"pham van lap";s:7:"tag_url";s:12:"pham-van-lap";}i:7928;a:2:{s:3:"tag";s:3:"sgk";s:7:"tag_url";s:3:"sgk";}i:4722;a:2:{s:3:"tag";s:8:"sinh hoc";s:7:"tag_url";s:8:"sinh-hoc";}i:433;a:2:{s:3:"tag";s:4:"thpt";s:7:"tag_url";s:4:"thpt";}i:22293;a:2:{s:3:"tag";s:14:"tran ngoc danh";s:7:"tag_url";s:14:"tran-ngoc-danh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25507;a:22:{s:9:"thread_id";i:25507;s:7:"node_id";i:224;s:5:"title";s:77:"Tiếng Anh thực dụng trong đàm phán kinh doanh, Nguyễn Thành Yến";s:11:"reply_count";i:0;s:10:"view_count";i:4;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714156427;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:30492;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714156427;s:12:"last_post_id";i:30492;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:486:"a:6:{i:3556;a:2:{s:3:"tag";s:20:"business english pod";s:7:"tag_url";s:20:"business-english-pod";}i:2091;a:2:{s:3:"tag";s:8:"dam phan";s:7:"tag_url";s:8:"dam-phan";}i:22291;a:2:{s:3:"tag";s:19:"dam phan kinh doanh";s:7:"tag_url";s:19:"dam-phan-kinh-doanh";}i:3557;a:2:{s:3:"tag";s:11:"negotiation";s:7:"tag_url";s:11:"negotiation";}i:3767;a:2:{s:3:"tag";s:16:"nguyen thanh yen";s:7:"tag_url";s:16:"nguyen-thanh-yen";}i:185;a:2:{s:3:"tag";s:9:"tieng anh";s:7:"tag_url";s:9:"tieng-anh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25506;a:22:{s:9:"thread_id";i:25506;s:7:"node_id";i:224;s:5:"title";s:115:"Tiếng Anh đàm thoại dành cho nhân viên văn phòng, Spoken English for Office Staff, Nguyễn Thành Yến";s:11:"reply_count";i:0;s:10:"view_count";i:3;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714156181;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:30491;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714156181;s:12:"last_post_id";i:30491;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:482:"a:6:{i:2115;a:2:{s:3:"tag";s:9:"dam thoai";s:7:"tag_url";s:9:"dam-thoai";}i:22289;a:2:{s:3:"tag";s:18:"english for office";s:7:"tag_url";s:18:"english-for-office";}i:3767;a:2:{s:3:"tag";s:16:"nguyen thanh yen";s:7:"tag_url";s:16:"nguyen-thanh-yen";}i:7956;a:2:{s:3:"tag";s:19:"nhan vien van phong";s:7:"tag_url";s:19:"nhan-vien-van-phong";}i:2852;a:2:{s:3:"tag";s:6:"office";s:7:"tag_url";s:6:"office";}i:22290;a:2:{s:3:"tag";s:12:"office staff";s:7:"tag_url";s:12:"office-staff";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
    Run Time: 0.844796
  21. SELECT thread.*
    	,
    MATCH(search_index.title) AGAINST ('Daily warm-ups reading,  Grade 3, Teacher Created Resources' 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 <> 12744)
    AND MATCH(search_index.title) AGAINST ('Daily warm-ups reading,  Grade 3, Teacher Created Resources' IN BOOLEAN MODE)
    AND search_index.content_type='thread'
    HAVING similar_score >= 1
    ORDER BY similar_score
     LIMIT 5
    Run Time: 0.549944
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsearch_indexrefPRIMARYPRIMARY77const496Using 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, 56
    Run Time: 0.000429
    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.000319
    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, 43
    Run Time: 0.000335
    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, 32
    Run Time: 0.000316
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  26. SELECT thread.thread_id
    FROM xf_thread AS thread
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 12744)
    ORDER BY RAND()
     LIMIT 5
    Run Time: 0.131033
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadALLPRIMARY   22996Using where; Using temporary; Using filesort
  27. 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 (3591, 11613, 8890, 4198, 8782))
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.001489
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 5Using where; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4dien7104_tailieu.thread.user_id1 
  28. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 134
    Run Time: 0.000376
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  29. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 138
    Run Time: 0.000259
    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, 75
    Run Time: 0.000231
    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, 26
    Run Time: 0.000226
    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, 77
    Run Time: 0.000207
    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 = 12744)
    Run Time: 0.203305
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpost_linksALL    25586Using where
  34. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: b67bedaec05783a0bc051b3481fae6b9, , 1714165731
    Run Time: 0.000273
  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, , , XenForo_ControllerPublic_Thread, Index, valid, thread_id=12744, 1714162131,
    Run Time: 0.000134
  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.018373
    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.000916
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    5Using 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.004438
    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.000275
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    5Using 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.000201
    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