Page Time: 0.7375s

Memory: 4.3683 MB (Peak: 5.8508 MB)

Queries (38, time: 0.6622s, 89.8%)

  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.000880
    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.000218
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3.                 			                  SELECT user_point.*
                                                    
                                                    FROM xf_user_point AS user_point
                                                    
                                            WHERE 1=1
    Run Time: 0.001332
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_pointALL    2398 
  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: 60
    Run Time: 0.000402
    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: 34
    Run Time: 0.000456
    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: 60
    Run Time: 0.020436
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostrefthread_id_post_date,thread_id_positionthread_id_post_date4const4Using where; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4dien7104_tailieu.post.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4dien7104_tailieu.post.user_id1 
    SIMPLEuser_privacyeq_refPRIMARYPRIMARY4dien7104_tailieu.post.user_id1 
    SIMPLEsession_activityeq_refPRIMARYPRIMARY22dien7104_tailieu.post.user_id,func1Using where
  7. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 60
    Run Time: 0.000177
  8. SELECT *
    FROM xf_brivium_extra_thread_item
    WHERE  thread_id = ? AND user_id = ?
    Params: 60, 0
    Run Time: 0.160855
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_brivium_extra_thread_itemALL    15021Using where
  9. SELECT thread.*
    	
    FROM xf_thread AS thread 
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1525085602)) AND (thread.thread_id <> 60)
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.000514
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARY,post_datepost_date4 29Using where
  10. 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.000221
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  11. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 24
    Run Time: 0.000187
    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, 10
    Run Time: 0.000157
    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 > 1525085602)) AND (thread.thread_id <> 60)
    ORDER BY thread.post_date ASC
     LIMIT 5
    Run Time: 0.000422
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARY,post_datepost_date4 7055Using where
  14. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 33
    Run Time: 0.000160
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  15. SELECT thread.*
    	
    FROM xf_thread AS thread 
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 60)
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.000346
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadindexPRIMARYpost_date4 9Using where
  16. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 246
    Run Time: 0.000176
    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, 37
    Run Time: 0.000154
    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, 132
    Run Time: 0.000179
    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, 136
    Run Time: 0.000169
    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, 57
    Run Time: 0.000151
    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 = 60 AND user_id = 0)
    Params: 1635269054, a:3:{s:12:"olderThreads";a:5:{i:59;a:22:{s:9:"thread_id";i:59;s:7:"node_id";i:32;s:5:"title";s:52:"CON ĐƯỜNG TƠ LỤA - QUÁ KHỨ VÀ TƯƠNG LAI";s:11:"reply_count";i:0;s:10:"view_count";i:621;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1525083017;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:88;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1525083017;s:12:"last_post_id";i:88;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:9;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:58;a:22:{s:9:"thread_id";i:58;s:7:"node_id";i:24;s:5:"title";s:20:"Vương Hồng Sển";s:11:"reply_count";i:2;s:10:"view_count";i:685;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1525081094;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:86;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526799818;s:12:"last_post_id";i:659;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:85:"a:1:{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:57;a:22:{s:9:"thread_id";i:57;s:7:"node_id";i:10;s:5:"title";s:58:"Mật mã Da Vinci có thật trong mắt nàng Mona Lisa?";s:11:"reply_count";i:3;s:10:"view_count";i:699;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1525080410;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:81;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1525080581;s:12:"last_post_id";i:84;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:428:"a:6:{i:26;a:2:{s:3:"tag";s:9:"dan brown";s:7:"tag_url";s:9:"dan-brown";}i:24;a:2:{s:3:"tag";s:7:"davinci";s:7:"tag_url";s:7:"davinci";}i:28;a:2:{s:3:"tag";s:8:"leonardo";s:7:"tag_url";s:8:"leonardo";}i:27;a:2:{s:3:"tag";s:15:"lisa gherardini";s:7:"tag_url";s:15:"lisa-gherardini";}i:25;a:2:{s:3:"tag";s:14:"mat ma davinci";s:7:"tag_url";s:14:"mat-ma-davinci";}i:23;a:2:{s:3:"tag";s:9:"mona lisa";s:7:"tag_url";s:9:"mona-lisa";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:56;a:22:{s:9:"thread_id";i:56;s:7:"node_id";i:34;s:5:"title";s:44:"Các cửa hàng mua bán sách truyện cũ";s:11:"reply_count";i:2;s:10:"view_count";i:828;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1525080192;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:80;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1525681052;s:12:"last_post_id";i:193;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:282:"a:4:{i:19;a:2:{s:3:"tag";s:3:"dkt";s:7:"tag_url";s:3:"dkt";}i:20;a:2:{s:3:"tag";s:14:"phan trac canh";s:7:"tag_url";s:14:"phan-trac-canh";}i:21;a:2:{s:3:"tag";s:16:"sach cu ha thanh";s:7:"tag_url";s:16:"sach-cu-ha-thanh";}i:22;a:2:{s:3:"tag";s:5:"vidan";s:7:"tag_url";s:5:"vidan";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:55;a:22:{s:9:"thread_id";i:55;s:7:"node_id";i:34;s:5:"title";s:20:"Sách Sử VH Việt";s:11:"reply_count";i:11;s:10:"view_count";i:713;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1525078979;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:76;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526148903;s:12:"last_post_id";i:384;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;}}s:12:"newerThreads";a:5:{i:61;a:22:{s:9:"thread_id";i:61;s:7:"node_id";i:33;s:5:"title";s:31:"Cần tìm sách ngày 1/5/2018";s:11:"reply_count";i:0;s:10:"view_count";i:436;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1525109627;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:92;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1525109627;s:12:"last_post_id";i:92;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:1;s:4:"tags";s:69:"a:1:{i:30;a:2:{s:3:"tag";s:7:"can tim";s:7:"tag_url";s:7:"can-tim";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:62;a:22:{s:9:"thread_id";i:62;s:7:"node_id";i:32;s:5:"title";s:103:"Paris Saigon Hanoi (Tài liệu lưu trữ về cuộc chiến tranh 1944 - 1947) by Philippe Devillers";s:11:"reply_count";i:0;s:10:"view_count";i:511;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1525110299;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:93;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1525110299;s:12:"last_post_id";i:93;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:7;s:4:"tags";s:272:"a:4:{i:33;a:2:{s:3:"tag";s:5:"hanoi";s:7:"tag_url";s:5:"hanoi";}i:32;a:2:{s:3:"tag";s:5:"paris";s:7:"tag_url";s:5:"paris";}i:31;a:2:{s:3:"tag";s:18:"philippe devillers";s:7:"tag_url";s:18:"philippe-devillers";}i:34;a:2:{s:3:"tag";s:6:"saigon";s:7:"tag_url";s:6:"saigon";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:63;a:22:{s:9:"thread_id";i:63;s:7:"node_id";i:34;s:5:"title";s:22:"Sách cũ chuột chù";s:11:"reply_count";i:3;s:10:"view_count";i:901;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1525110981;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:96;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1545809131;s:12:"last_post_id";i:5830;s:17:"last_post_user_id";i:1899;s:18:"last_post_username";s:15:"huyenngoc.24971";s:9:"prefix_id";i:0;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:64;a:22:{s:9:"thread_id";i:64;s:7:"node_id";i:33;s:5:"title";s:55:"cần mua lại quyển Harry Potter tập 5 như hình";s:11:"reply_count";i:0;s:10:"view_count";i:436;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1525111124;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:97;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1525111124;s:12:"last_post_id";i:97;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:1;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:65;a:22:{s:9:"thread_id";i:65;s:7:"node_id";i:10;s:5:"title";s:37:"Chiến thắng con quỷ trong bạn";s:11:"reply_count";i:1;s:10:"view_count";i:549;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1525111502;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:99;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1525111545;s:12:"last_post_id";i:100;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:8;s:4:"tags";s:172:"a:2:{i:35;a:2:{s:3:"tag";s:13:"napoleon hill";s:7:"tag_url";s:13:"napoleon-hill";}i:36;a:2:{s:3:"tag";s:19:"think and grow rich";s:7:"tag_url";s:19:"think-and-grow-rich";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:15391;a:22:{s:9:"thread_id";i:15391;s:7:"node_id";i:246;s:5:"title";s:27:"Tải ngay business Partner";s:11:"reply_count";i:0;s:10:"view_count";i:1;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1635237499;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:17171;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1635237499;s:12:"last_post_id";i:17171;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:19;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:15390;a:22:{s:9:"thread_id";i:15390;s:7:"node_id";i:37;s:5:"title";s:90:"Ba Lan đoạt giải nhất cuộc thi con tem đẹp nhất Châu Âu (Europa) năm 2021";s:11:"reply_count";i:0;s:10:"view_count";i:8;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1635237181;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:17170;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1635237181;s:12:"last_post_id";i:17170;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:10;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:15389;a:22:{s:9:"thread_id";i:15389;s:7:"node_id";i:132;s:5:"title";s:41:"My Preschool Learning Book - Bright Start";s:11:"reply_count";i:0;s:10:"view_count";i:6;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1635237012;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:17169;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1635237012;s:12:"last_post_id";i:17169;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:155:"a:2:{i:13533;a:2:{s:3:"tag";s:13:"learning book";s:7:"tag_url";s:13:"learning-book";}i:2397;a:2:{s:3:"tag";s:9:"preschool";s:7:"tag_url";s:9:"preschool";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:15388;a:22:{s:9:"thread_id";i:15388;s:7:"node_id";i:136;s:5:"title";s:95:"Hợp đồng thương mại quốc tế, International Trade Contracts, Nguyễn Trọng Đàn";s:11:"reply_count";i:0;s:10:"view_count";i:8;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1635235287;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:17168;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1635235287;s:12:"last_post_id";i:17168;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:468:"a:6:{i:1427;a:2:{s:3:"tag";s:4:"2007";s:7:"tag_url";s:4:"2007";}i:13532;a:2:{s:3:"tag";s:9:"contracts";s:7:"tag_url";s:9:"contracts";}i:4077;a:2:{s:3:"tag";s:8:"hop dong";s:7:"tag_url";s:8:"hop-dong";}i:11876;a:2:{s:3:"tag";s:19:"international trade";s:7:"tag_url";s:19:"international-trade";}i:7690;a:2:{s:3:"tag";s:16:"nguyen trong dan";s:7:"tag_url";s:16:"nguyen-trong-dan";}i:4979;a:2:{s:3:"tag";s:18:"thuong mai quoc te";s:7:"tag_url";s:18:"thuong-mai-quoc-te";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:15387;a:22:{s:9:"thread_id";i:15387;s:7:"node_id";i:57;s:5:"title";s:49:"Giáo trình bài tập Hán Ngữ, Vũ Thị Lý";s:11:"reply_count";i:0;s:10:"view_count";i:8;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1635234894;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:17167;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1635234894;s:12:"last_post_id";i:17167;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:214:"a:3:{i:1261;a:2:{s:3:"tag";s:10:"giao trinh";s:7:"tag_url";s:10:"giao-trinh";}i:1480;a:2:{s:3:"tag";s:7:"han ngu";s:7:"tag_url";s:7:"han-ngu";}i:13531;a:2:{s:3:"tag";s:9:"vu thi ly";s:7:"tag_url";s:9:"vu-thi-ly";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
    Run Time: 0.335081
  22. SELECT thread.*
    	,
    MATCH(search_index.title) AGAINST ('Hoàng Ngọc Viên (Sách cũ Bạch Mai )' 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 <> 60)
    AND MATCH(search_index.title) AGAINST ('Hoàng Ngọc Viên (Sách cũ Bạch Mai )' IN BOOLEAN MODE)
    AND search_index.content_type='thread'
    HAVING similar_score >= 1
    ORDER BY similar_score
     LIMIT 5
    Run Time: 0.107018
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsearch_indexrefPRIMARYPRIMARY77const293Using index condition; Using where; Using temporary; 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, 4
    Run Time: 0.000240
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  24. SELECT thread.thread_id
    FROM xf_thread AS thread
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 60)
    ORDER BY RAND()
     LIMIT 5
    Run Time: 0.009377
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 7084Using where; Using temporary; Using filesort
  25. SELECT thread.*
    	,
    	user.*, IF(user.username IS NULL, thread.username, user.username) AS username
    FROM xf_thread AS thread 
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = thread.user_id)
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id IN (14312, 1125, 12868, 9350, 5539))
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.000631
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 5Using where; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4dien7104_tailieu.thread.user_id1 
  26. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 231
    Run Time: 0.000167
    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, 142
    Run Time: 0.000167
    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, 76
    Run Time: 0.000152
    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, 126
    Run Time: 0.000149
    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, 27
    Run Time: 0.000175
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  31. SELECT post_links.*
    	
                        FROM xf_post_links AS post_links
    
                                    WHERE (post_links.thread_id = 60)
    Run Time: 0.019023
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpost_linksALL    12818Using where
  32. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 152ae55889bd032faa2b6440cb2160f3, , 1635272654
    Run Time: 0.000232
  33. 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=60, 1635269054,
    Run Time: 0.000143
  34. 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.001082
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 10Using where
  35.                 			                  SELECT adv.*
                                                    
                                                    FROM xf_advertisement AS adv
                                                    
                                            WHERE (adv.active = 1) AND (adv.positive = 1)
    Run Time: 0.000300
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    4Using where
  36. 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.000212
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  37.                 			                  SELECT adv.*
                                                    
                                                    FROM xf_advertisement AS adv
                                                    
                                            WHERE (adv.active = 1) AND (adv.positive = 3)
    Run Time: 0.000262
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    4Using where
  38. 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.000202
    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/Route/Prefix/Threads.php
  38. library/XenForo/RouteMatch.php
  39. library/XenForo/ControllerPublic/Thread.php
  40. library/XenForo/ControllerPublic/Abstract.php
  41. library/XenForo/Controller.php
  42. library/Brivium/ExtraThreadItem/EventListeners/Listener.php
  43. library/Brivium/BriviumLibrary/EventListeners.php
  44. library/TaiLieu/CustomPost/Listener.php
  45. library/TaiLieu/Trophy/Listener.php
  46. library/Brivium/ExtraThreadItem/ControllerPublic/Thread.php
  47. library/TaiLieu/CustomPost/ControllerPublic/Thread.php
  48. library/TaiLieu/Trophy/ControllerPublic/Thread.php
  49. library/XenForo/Input.php
  50. library/XenForo/Session.php
  51. library/XenForo/Helper/Ip.php
  52. library/XenForo/Visitor.php
  53. library/XenForo/Model/User.php
  54. library/VietXfAdvStats/Listener.php
  55. library/VietXfAdvStats/XenForo/Model/User.php
  56. library/XenForo/Permission.php
  57. library/XenForo/Helper/Php.php
  58. library/XenForo/Phrase.php
  59. library/XenForo/Locale.php
  60. library/TaiLieu/CustomPost/Model/UserPoint.php
  61. library/XenForo/ControllerHelper/ForumThreadPost.php
  62. library/XenForo/ControllerHelper/Abstract.php
  63. library/XenForo/Model/Thread.php
  64. library/VietXfAdvStats/XenForo/Model/Thread.php
  65. library/Brivium/ExtraThreadItem/Model/Thread.php
  66. library/XenForo/Model/Forum.php
  67. library/Brivium/ExtraThreadItem/Model/Forum.php
  68. library/XenForo/Helper/String.php
  69. library/XenForo/Model/Post.php
  70. library/XenForo/Model/Attachment.php
  71. library/XenForo/Model/Node.php
  72. library/Brivium/ExtraThreadItem/Model/Node.php
  73. library/XenForo/Route/Prefix/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/Helper/Cookie.php
  81. library/XenForo/ViewRenderer/HtmlPublic.php
  82. library/XenForo/ViewRenderer/Abstract.php
  83. library/XenForo/Template/Public.php
  84. library/XenForo/Template/Abstract.php
  85. library/XenForo/ViewPublic/Thread/View.php
  86. library/XenForo/ViewPublic/Base.php
  87. library/XenForo/View.php
  88. library/XenForo/BbCode/Parser.php
  89. library/XenForo/BbCode/Formatter/Base.php
  90. library/XenForo/ViewPublic/Helper/Message.php
  91. library/XenForo/BbCode/TextWrapper.php
  92. library/VietXfAdvStats/Model/GetUserGroup.php
  93. library/XenForo/Route/Prefix/Members.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