Page Time: 0.5242s

Memory: 4.2557 MB (Peak: 5.8394 MB)

Queries (36, time: 0.4428s, 84.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.000981
    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.000249
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3.                 			                  SELECT user_point.*
                                                    
                                                    FROM xf_user_point AS user_point
                                                    
                                            WHERE 1=1
    Run Time: 0.000255
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_pointALL    32 
  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: 6466
    Run Time: 0.000497
    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: 136
    Run Time: 0.000679
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  6. SELECT post.*
    	,
    		user.*, IF(user.username IS NULL, post.username, user.username) AS username,
    		user_profile.*,
    		user_privacy.*,
    		session_activity.view_date AS last_view_date,
    		0 AS like_date
    FROM xf_post AS post
    
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = post.user_id)
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = post.user_id)
    		LEFT JOIN xf_user_privacy AS user_privacy ON
    			(user_privacy.user_id = post.user_id)
    		LEFT JOIN xf_session_activity AS session_activity ON
    			(post.user_id > 0 AND session_activity.user_id = post.user_id AND session_activity.unique_key = CAST(post.user_id AS BINARY))
    WHERE post.thread_id = ?
    	 AND (post.position >= 0 AND post.position < 20) 
    	AND (post.message_state IN ('visible'))
    ORDER BY post.position ASC, post.post_date ASC
    Params: 6466
    Run Time: 0.002595
    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 (7282)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000661
    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: 6466
    Run Time: 0.000220
  9. SELECT *
    FROM xf_brivium_extra_thread_item
    WHERE  thread_id = ? AND user_id = ?
    Params: 6466, 0
    Run Time: 0.117003
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_brivium_extra_thread_itemALL    8391Using where
  10. SELECT thread.*
    	
    FROM xf_thread AS thread 
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1556345136)) AND (thread.thread_id <> 6466)
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.001012
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARY,post_datepost_date4 6144Using index condition; Using where
  11. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 26
    Run Time: 0.000320
    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, 137
    Run Time: 0.000209
    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 > 1556345136)) AND (thread.thread_id <> 6466)
    ORDER BY thread.post_date ASC
     LIMIT 5
    Run Time: 0.000452
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARY,post_datepost_date4 2104Using 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, 27
    Run Time: 0.000208
    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, 20
    Run Time: 0.000201
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  16. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 50
    Run Time: 0.000214
    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, 25
    Run Time: 0.000200
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  18. SELECT thread.*
    	
    FROM xf_thread AS thread 
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 6466)
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.000385
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadindexPRIMARYpost_date4 5Using where
  19. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 72
    Run Time: 0.000216
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  20. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 115
    Run Time: 0.000198
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  21. UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 6466 AND user_id = 0)
    Params: 1579553824, a:3:{s:12:"olderThreads";a:5:{i:6465;a:22:{s:9:"thread_id";i:6465;s:7:"node_id";i:26;s:5:"title";s:47:"Thối thực ký văn | Trương Quốc Dụng";s:11:"reply_count";i:1;s:10:"view_count";i:73;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1556265161;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:7278;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1556265187;s:12:"last_post_id";i:7279;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:65:"a:1:{i:2436;a:2:{s:3:"tag";s:4:"1944";s:7:"tag_url";s:4:"1944";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6464;a:22:{s:9:"thread_id";i:6464;s:7:"node_id";i:26;s:5:"title";s:20:"Sử liệu phù Nam";s:11:"reply_count";i:1;s:10:"view_count";i:68;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1556264895;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:7276;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1556265031;s:12:"last_post_id";i:7277;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:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6463;a:22:{s:9:"thread_id";i:6463;s:7:"node_id";i:26;s:5:"title";s:42:"Sài gòn Năm Xưa | Vương Hồng Sển";s:11:"reply_count";i:0;s:10:"view_count";i:69;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1556264811;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:7275;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1556264811;s:12:"last_post_id";i:7275;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:149:"a:2:{i:871;a:2:{s:3:"tag";s:7:"sai gon";s:7:"tag_url";s:7:"sai-gon";}i:29;a:2:{s:3:"tag";s:14:"vuong hong sen";s:7:"tag_url";s:14:"vuong-hong-sen";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6462;a:22:{s:9:"thread_id";i:6462;s:7:"node_id";i:137;s:5:"title";s:24:"Quốc sử lớp 3 1965";s:11:"reply_count";i:0;s:10:"view_count";i:75;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1556264727;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:7274;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1556264727;s:12:"last_post_id";i:7274;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:65:"a:1:{i:3311;a:2:{s:3:"tag";s:4:"1965";s:7:"tag_url";s:4:"1965";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6461;a:22:{s:9:"thread_id";i:6461;s:7:"node_id";i:26;s:5:"title";s:52:"Tiêu phi lạc náo Sài Gòn | Hồ Hữu Tường";s:11:"reply_count";i:0;s:10:"view_count";i:60;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1556264652;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:7273;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1556264652;s:12:"last_post_id";i:7273;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:83:"a:1:{i:4273;a:2:{s:3:"tag";s:12:"ho huu tuong";s:7:"tag_url";s:12:"ho-huu-tuong";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:6467;a:22:{s:9:"thread_id";i:6467;s:7:"node_id";i:27;s:5:"title";s:71:"Một trăm y án chữa bằng thuốc nam | NXB thành phố HCM 1987";s:11:"reply_count";i:0;s:10:"view_count";i:87;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1556345299;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:7283;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1556345299;s:12:"last_post_id";i:7283;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:124:"a:2:{i:4415;a:2:{s:3:"tag";s:4:"1987";s:7:"tag_url";s:4:"1987";}i:5347;a:2:{s:3:"tag";s:4:"y an";s:7:"tag_url";s:4:"y-an";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6468;a:22:{s:9:"thread_id";i:6468;s:7:"node_id";i:20;s:5:"title";s:60:"Americans and Vietnamese a comparison of value in 2 cultures";s:11:"reply_count";i:0;s:10:"view_count";i:73;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1556345373;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:7284;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1556345373;s:12:"last_post_id";i:7284;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:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6469;a:22:{s:9:"thread_id";i:6469;s:7:"node_id";i:50;s:5:"title";s:54:"Bí quyết vẽ tranh thủy mặc | Phạm Cao Hoàn";s:11:"reply_count";i:0;s:10:"view_count";i:70;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1556345437;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:7285;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1556345437;s:12:"last_post_id";i:7285;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:73:"a:1:{i:1202;a:2:{s:3:"tag";s:8:"bi quyet";s:7:"tag_url";s:8:"bi-quyet";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6470;a:22:{s:9:"thread_id";i:6470;s:7:"node_id";i:25;s:5:"title";s:79:"Hướng dẫn viết tiểu luận, luận văn và luận án | vương Liêm";s:11:"reply_count";i:0;s:10:"view_count";i:172;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1556345509;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:7286;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1556345509;s:12:"last_post_id";i:7286;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:16;s:4:"tags";s:269:"a:4:{i:1509;a:2:{s:3:"tag";s:9:"huong dan";s:7:"tag_url";s:9:"huong-dan";}i:464;a:2:{s:3:"tag";s:7:"luan an";s:7:"tag_url";s:7:"luan-an";}i:465;a:2:{s:3:"tag";s:8:"luan van";s:7:"tag_url";s:8:"luan-van";}i:738;a:2:{s:3:"tag";s:7:"nxb tre";s:7:"tag_url";s:7:"nxb-tre";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6471;a:22:{s:9:"thread_id";i:6471;s:7:"node_id";i:26;s:5:"title";s:79:"Một nền văn hóa mới | Nguyễn Hữu Đang, Nguyễn Đình Thi | 1945";s:11:"reply_count";i:1;s:10:"view_count";i:96;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1556345581;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:7287;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1556345619;s:12:"last_post_id";i:7288;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:231:"a:3:{i:2140;a:2:{s:3:"tag";s:4:"1945";s:7:"tag_url";s:4:"1945";}i:5348;a:2:{s:3:"tag";s:15:"nguyen dinh thi";s:7:"tag_url";s:15:"nguyen-dinh-thi";}i:5349;a:2:{s:3:"tag";s:15:"nguyen huu dang";s:7:"tag_url";s:15:"nguyen-huu-dang";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:8589;a:22:{s:9:"thread_id";i:8589;s:7:"node_id";i:26;s:5:"title";s:79:"Tạp chí phổ thông các số 09, 18,21,22,24,25,26,29,30,31,32,33,34,42,43";s:11:"reply_count";i:0;s:10:"view_count";i:5;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1579521967;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:9627;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1579521967;s:12:"last_post_id";i:9627;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:285:"a:4:{i:3333;a:2:{s:3:"tag";s:4:"1959";s:7:"tag_url";s:4:"1959";}i:3611;a:2:{s:3:"tag";s:9:"nguyen vy";s:7:"tag_url";s:9:"nguyen-vy";}i:735;a:2:{s:3:"tag";s:7:"tap chi";s:7:"tag_url";s:7:"tap-chi";}i:7204;a:2:{s:3:"tag";s:17:"tap chi pho thong";s:7:"tag_url";s:17:"tap-chi-pho-thong";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:8588;a:22:{s:9:"thread_id";i:8588;s:7:"node_id";i:72;s:5:"title";s:31:"Thầy có nhớ em không ạ?";s:11:"reply_count";i:0;s:10:"view_count";i:10;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1579288411;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:9626;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1579288411;s:12:"last_post_id";i:9626;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:8587;a:22:{s:9:"thread_id";i:8587;s:7:"node_id";i:115;s:5:"title";s:43:"Phi tượng chống sĩ giác pháo (P2-4)";s:11:"reply_count";i:5;s:10:"view_count";i:4;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1579265019;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:9620;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1579282274;s:12:"last_post_id";i:9625;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:8586;a:22:{s:9:"thread_id";i:8586;s:7:"node_id";i:26;s:5:"title";s:60:"Lục tỉnh tân văn (72 số) - tạp chí sài gòn xưa";s:11:"reply_count";i:0;s:10:"view_count";i:17;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1579251915;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:9618;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1579251915;s:12:"last_post_id";i:9618;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:404:"a:6:{i:7203;a:2:{s:3:"tag";s:4:"1918";s:7:"tag_url";s:4:"1918";}i:1654;a:2:{s:3:"tag";s:4:"1919";s:7:"tag_url";s:4:"1919";}i:3943;a:2:{s:3:"tag";s:8:"luc tinh";s:7:"tag_url";s:8:"luc-tinh";}i:7202;a:2:{s:3:"tag";s:16:"luc tinh tan van";s:7:"tag_url";s:16:"luc-tinh-tan-van";}i:871;a:2:{s:3:"tag";s:7:"sai gon";s:7:"tag_url";s:7:"sai-gon";}i:735;a:2:{s:3:"tag";s:7:"tap chi";s:7:"tag_url";s:7:"tap-chi";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:8585;a:22:{s:9:"thread_id";i:8585;s:7:"node_id";i:26;s:5:"title";s:89:"Tạp chí giữ thơm quê mẹ (11 số) - Tập san văn nghệ Lá bối xuất bản";s:11:"reply_count";i:0;s:10:"view_count";i:13;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1579251252;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:9617;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1579251252;s:12:"last_post_id";i:9617;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:271:"a:4:{i:3311;a:2:{s:3:"tag";s:4:"1965";s:7:"tag_url";s:4:"1965";}i:1473;a:2:{s:3:"tag";s:4:"1966";s:7:"tag_url";s:4:"1966";}i:7201;a:2:{s:3:"tag";s:15:"giu thom que me";s:7:"tag_url";s:15:"giu-thom-que-me";}i:735;a:2:{s:3:"tag";s:7:"tap chi";s:7:"tag_url";s:7:"tap-chi";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
    Run Time: 0.215591
  22. SELECT thread.*
    	,
    MATCH(search_index.title) AGAINST ('Đại Cương Về Chính Sách Công (NXB Chính Trị 2013)' 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 <> 6466)
    AND MATCH(search_index.title) AGAINST ('Đại Cương Về Chính Sách Công (NXB Chính Trị 2013)' IN BOOLEAN MODE)
    AND search_index.content_type='thread'
    HAVING similar_score >= 1
    ORDER BY similar_score
     LIMIT 5
    Run Time: 0.081640
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsearch_indexrangePRIMARYPRIMARY81 6355Using index condition; Using where; Using filesort
    SIMPLEthreadeq_refPRIMARYPRIMARY4dien7104_tailieu.search_index.content_id1Using where
  23. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 34
    Run Time: 0.000243
    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, 22
    Run Time: 0.000263
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  25. SELECT thread.thread_id
    FROM xf_thread AS thread
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 6466)
    ORDER BY RAND()
     LIMIT 5
    Run Time: 0.007142
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 7564Using where; Using temporary; Using filesort
  26. 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 (4607, 3454, 6970, 3671, 5661))
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.000829
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 5Using where; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4dien7104_tailieu.thread.user_id1 
  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.000243
    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, 105
    Run Time: 0.000232
    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 = 6466)
    Run Time: 0.007416
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpost_linksALL    7212Using where
  30. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: f6a9a9043e5c47784912048a1b66ce3e, , 1579557424
    Run Time: 0.000292
  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=6466, 1579553824,
    Run Time: 0.000247
  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.000882
    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.000323
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    4Using 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.000209
    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.000245
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    4Using 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.000214
    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