Page Time: 1.2017s

Memory: 4.6353 MB (Peak: 6.1215 MB)

Queries (40, time: 1.0636s, 88.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.000799
    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.000272
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3.                 			                  SELECT user_point.*
                                                    
                                                    FROM xf_user_point AS user_point
                                                    
                                            WHERE 1=1
    Run Time: 0.000236
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_pointALL    11 
  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: 433
    Run Time: 0.000538
    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: 32
    Run Time: 0.000730
    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: 433
    Run Time: 0.006644
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostrangethread_id_post_date,thread_id_positionthread_id_position8 9Using index condition; Using 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 (571)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000763
    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: 433
    Run Time: 0.000275
  9. SELECT *
    FROM xf_brivium_extra_thread_item
    WHERE  thread_id = ? AND user_id = ?
    Params: 433, 0
    Run Time: 0.327890
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_brivium_extra_thread_itemALL    7449Using where
  10. SELECT thread.*
    	
    FROM xf_thread AS thread 
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1526614746)) AND (thread.thread_id <> 433)
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.000824
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARY,post_datepost_date4 393Using 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, 36
    Run Time: 0.000356
    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, 62
    Run Time: 0.000344
    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, 18
    Run Time: 0.001082
    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 > 1526614746)) AND (thread.thread_id <> 433)
    ORDER BY thread.post_date ASC
     LIMIT 5
    Run Time: 0.002628
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadindexPRIMARY,post_datepost_date4 5Using where
  15. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 47
    Run Time: 0.000307
    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, 10
    Run Time: 0.000305
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  17. SELECT thread.*
    	
    FROM xf_thread AS thread 
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 433)
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.000649
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadindexPRIMARYpost_date4 5Using where
  18. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 146
    Run Time: 0.000330
    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, 143
    Run Time: 0.000306
    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, 35
    Run Time: 0.000330
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  21. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 134
    Run Time: 0.000346
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  22. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 30
    Run Time: 0.000314
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  23. UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 433 AND user_id = 0)
    Params: 1571370019, a:3:{s:12:"olderThreads";a:5:{i:432;a:22:{s:9:"thread_id";i:432;s:7:"node_id";i:36;s:5:"title";s:36:"Lịch sử giáo dục by Roger Gal";s:11:"reply_count";i:1;s:10:"view_count";i:202;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526614130;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:570;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1554281988;s:12:"last_post_id";i:6829;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:451:"a:6:{i:578;a:2:{s:3:"tag";s:8:"giao duc";s:7:"tag_url";s:8:"giao-duc";}i:799;a:2:{s:3:"tag";s:18:"le thanh hoang dan";s:7:"tag_url";s:18:"le-thanh-hoang-dan";}i:40;a:2:{s:3:"tag";s:7:"lich su";s:7:"tag_url";s:7:"lich-su";}i:801;a:2:{s:3:"tag";s:16:"lich su giao duc";s:7:"tag_url";s:16:"lich-su-giao-duc";}i:802;a:2:{s:3:"tag";s:9:"roger gal";s:7:"tag_url";s:9:"roger-gal";}i:800;a:2:{s:3:"tag";s:12:"tran huu duc";s:7:"tag_url";s:12:"tran-huu-duc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:431;a:22:{s:9:"thread_id";i:431;s:7:"node_id";i:36;s:5:"title";s:23:"Triết lý giáo dục";s:11:"reply_count";i:0;s:10:"view_count";i:139;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526613683;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:569;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526613683;s:12:"last_post_id";i:569;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:204:"a:3:{i:578;a:2:{s:3:"tag";s:8:"giao duc";s:7:"tag_url";s:8:"giao-duc";}i:463;a:2:{s:3:"tag";s:8:"sach xua";s:7:"tag_url";s:8:"sach-xua";}i:798;a:2:{s:3:"tag";s:8:"triet ly";s:7:"tag_url";s:8:"triet-ly";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:430;a:22:{s:9:"thread_id";i:430;s:7:"node_id";i:36;s:5:"title";s:46:"Binh thư yếu lược - Trần Quốc Tuấn";s:11:"reply_count";i:0;s:10:"view_count";i:285;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526568135;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:568;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526568135;s:12:"last_post_id";i:568;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:228:"a:3:{i:123;a:2:{s:3:"tag";s:17:"binh thu yeu luoc";s:7:"tag_url";s:17:"binh-thu-yeu-luoc";}i:176;a:2:{s:3:"tag";s:3:"pdf";s:7:"tag_url";s:3:"pdf";}i:124;a:2:{s:3:"tag";s:14:"tran quoc tuan";s:7:"tag_url";s:14:"tran-quoc-tuan";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:429;a:22:{s:9:"thread_id";i:429;s:7:"node_id";i:62;s:5:"title";s:48:"CFA L2 2018 Mock B Morning and Afternoon Session";s:11:"reply_count";i:0;s:10:"view_count";i:138;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526567888;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:567;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526567888;s:12:"last_post_id";i:567;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:15;s:4:"tags";s:299:"a:5:{i:82;a:2:{s:3:"tag";s:4:"2018";s:7:"tag_url";s:4:"2018";}i:373;a:2:{s:3:"tag";s:3:"cfa";s:7:"tag_url";s:3:"cfa";}i:790;a:2:{s:3:"tag";s:4:"exam";s:7:"tag_url";s:4:"exam";}i:377;a:2:{s:3:"tag";s:7:"level 2";s:7:"tag_url";s:7:"level-2";}i:214;a:2:{s:3:"tag";s:4:"mock";s:7:"tag_url";s:4:"mock";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:428;a:22:{s:9:"thread_id";i:428;s:7:"node_id";i:18;s:5:"title";s:41:"2018 FRM Part 2 - Practice book and Qbank";s:11:"reply_count";i:0;s:10:"view_count";i:160;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526567527;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:565;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526567527;s:12:"last_post_id";i:565;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:17;s:4:"tags";s:356:"a:6:{i:82;a:2:{s:3:"tag";s:4:"2018";s:7:"tag_url";s:4:"2018";}i:790;a:2:{s:3:"tag";s:4:"exam";s:7:"tag_url";s:4:"exam";}i:792;a:2:{s:3:"tag";s:3:"frm";s:7:"tag_url";s:3:"frm";}i:1996;a:2:{s:3:"tag";s:3:"hot";s:7:"tag_url";s:3:"hot";}i:795;a:2:{s:3:"tag";s:6:"part 2";s:7:"tag_url";s:6:"part-2";}i:789;a:2:{s:3:"tag";s:5:"qbank";s:7:"tag_url";s:5:"qbank";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:434;a:22:{s:9:"thread_id";i:434;s:7:"node_id";i:32;s:5:"title";s:32:"Hoàng Đế Nội Kinh Linh Khu";s:11:"reply_count";i:3;s:10:"view_count";i:295;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526614868;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:572;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1530674254;s:12:"last_post_id";i:2029;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:296:"a:4:{i:779;a:2:{s:3:"tag";s:4:"1989";s:7:"tag_url";s:4:"1989";}i:807;a:2:{s:3:"tag";s:8:"dong nai";s:7:"tag_url";s:8:"dong-nai";}i:806;a:2:{s:3:"tag";s:17:"hoang de noi kinh";s:7:"tag_url";s:17:"hoang-de-noi-kinh";}i:805;a:2:{s:3:"tag";s:14:"huynh minh duc";s:7:"tag_url";s:14:"huynh-minh-duc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:435;a:22:{s:9:"thread_id";i:435;s:7:"node_id";i:47;s:5:"title";s:56:"Văn nghệ tết giáp tý, bìa tranh Bùi Xuân Phái";s:11:"reply_count";i:0;s:10:"view_count";i:116;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526615347;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:574;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526615347;s:12:"last_post_id";i:574;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:206:"a:3:{i:810;a:2:{s:3:"tag";s:4:"1984";s:7:"tag_url";s:4:"1984";}i:808;a:2:{s:3:"tag";s:13:"bui xuan phai";s:7:"tag_url";s:13:"bui-xuan-phai";}i:809;a:2:{s:3:"tag";s:7:"giap ty";s:7:"tag_url";s:7:"giap-ty";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:436;a:22:{s:9:"thread_id";i:436;s:7:"node_id";i:36;s:5:"title";s:23:"Đường về Nô Lệ";s:11:"reply_count";i:0;s:10:"view_count";i:182;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526615911;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:575;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526615911;s:12:"last_post_id";i:575;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:243:"a:3:{i:811;a:2:{s:3:"tag";s:14:"duong ve no le";s:7:"tag_url";s:14:"duong-ve-no-le";}i:812;a:2:{s:3:"tag";s:10:"f.a. hayek";s:7:"tag_url";s:8:"fa-hayek";}i:804;a:2:{s:3:"tag";s:18:"pham nguyen truong";s:7:"tag_url";s:18:"pham-nguyen-truong";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:437;a:22:{s:9:"thread_id";i:437;s:7:"node_id";i:47;s:5:"title";s:41:"Đường tới bờ rạ by Andrew Hardy";s:11:"reply_count";i:0;s:10:"view_count";i:161;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526616129;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:576;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526616129;s:12:"last_post_id";i:576;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:192:"a:2:{i:813;a:2:{s:3:"tag";s:12:"andrew hardy";s:7:"tag_url";s:12:"andrew-hardy";}i:814;a:2:{s:3:"tag";s:29:"hoi khoa hoc lich su viet nam";s:7:"tag_url";s:29:"hoi-khoa-hoc-lich-su-viet-nam";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:438;a:22:{s:9:"thread_id";i:438;s:7:"node_id";i:10;s:5:"title";s:94:"Hướng dẫn sử dụng nửa kia by John Gray | Võ Huyền My, Nguyễn Hoàng Anh dịch";s:11:"reply_count";i:1;s:10:"view_count";i:2251;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526616372;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:577;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1554460802;s:12:"last_post_id";i:7004;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:307:"a:4:{i:815;a:2:{s:3:"tag";s:9:"john gray";s:7:"tag_url";s:9:"john-gray";}i:817;a:2:{s:3:"tag";s:16:"nguyen hoang anh";s:7:"tag_url";s:16:"nguyen-hoang-anh";}i:55;a:2:{s:3:"tag";s:12:"nxb the gioi";s:7:"tag_url";s:12:"nxb-the-gioi";}i:816;a:2:{s:3:"tag";s:11:"vo huyen my";s:7:"tag_url";s:11:"vo-huyen-my";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:7646;a:22:{s:9:"thread_id";i:7646;s:7:"node_id";i:146;s:5:"title";s:122:"Đề kiểm tra tiếng anh 8 (theo chương trình thí điểm) NGUYỄN THỊ MINH HƯƠNG, M.A - TRƯƠNG THÁI CHÂN";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:1571367005;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:8577;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1571367005;s:12:"last_post_id";i:8577;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:3;s:4:"tags";s:342:"a:4:{i:5260;a:2:{s:3:"tag";s:14:"bo de kiem tra";s:7:"tag_url";s:14:"bo-de-kiem-tra";}i:5255;a:2:{s:3:"tag";s:21:"nguyen thi minh huong";s:7:"tag_url";s:21:"nguyen-thi-minh-huong";}i:6073;a:2:{s:3:"tag";s:11:"tieng anh 8";s:7:"tag_url";s:11:"tieng-anh-8";}i:6116;a:2:{s:3:"tag";s:16:"truong thai chan";s:7:"tag_url";s:16:"truong-thai-chan";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7645;a:22:{s:9:"thread_id";i:7645;s:7:"node_id";i:143;s:5:"title";s:26:"tham khảo đăng tuyển";s:11:"reply_count";i:2;s:10:"view_count";i:1;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1571363973;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:8574;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1571364731;s:12:"last_post_id";i:8576;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:7644;a:22:{s:9:"thread_id";i:7644;s:7:"node_id";i:35;s:5:"title";s:67:"Bật Mí Công Thức Detox Từ Nước Khoáng Có Ga Gây Sốt";s:11:"reply_count";i:0;s:10:"view_count";i:7;s:7:"user_id";i:2323;s:8:"username";s:13:"Phương Moon";s:9:"post_date";i:1571283430;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:8573;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1571283430;s:12:"last_post_id";i:8573;s:17:"last_post_user_id";i:2323;s:18:"last_post_username";s:13:"Phương Moon";s:9:"prefix_id";i:0;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7643;a:22:{s:9:"thread_id";i:7643;s:7:"node_id";i:134;s:5:"title";s:94:"Bài tập tiếng anh 9 (Mai Lan Hương, Hà Thanh Uyên) theo chương trình mới Tập 1";s:11:"reply_count";i:0;s:10:"view_count";i:7;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1571200009;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:8572;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1571200009;s:12:"last_post_id";i:8572;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:303:"a:4:{i:182;a:2:{s:3:"tag";s:7:"bai tap";s:7:"tag_url";s:7:"bai-tap";}i:5985;a:2:{s:3:"tag";s:13:"ha thanh uyen";s:7:"tag_url";s:13:"ha-thanh-uyen";}i:2347;a:2:{s:3:"tag";s:13:"mai lan huong";s:7:"tag_url";s:13:"mai-lan-huong";}i:6115;a:2:{s:3:"tag";s:11:"tieng anh 9";s:7:"tag_url";s:11:"tieng-anh-9";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7642;a:22:{s:9:"thread_id";i:7642;s:7:"node_id";i:30;s:5:"title";s:50:"Everybody up starter studentbook mp3 (Class Audio)";s:11:"reply_count";i:0;s:10:"view_count";i:11;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1571160046;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:8571;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1571160046;s:12:"last_post_id";i:8571;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:21;s:4:"tags";s:299:"a:4:{i:1963;a:2:{s:3:"tag";s:11:"class audio";s:7:"tag_url";s:11:"class-audio";}i:6114;a:2:{s:3:"tag";s:12:"everybody up";s:7:"tag_url";s:12:"everybody-up";}i:97;a:2:{s:3:"tag";s:8:"starters";s:7:"tag_url";s:8:"starters";}i:702;a:2:{s:3:"tag";s:12:"student book";s:7:"tag_url";s:12:"student-book";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
    Run Time: 0.639304
  24. SELECT thread.*
    	,
    MATCH(search_index.title) AGAINST ('Friedrich A. von Hayek - Đường về nô lệ - Phạm Nguyên Trường' 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 <> 433)
    AND MATCH(search_index.title) AGAINST ('Friedrich A. von Hayek - Đường về nô lệ - Phạm Nguyên Trường' IN BOOLEAN MODE)
    AND search_index.content_type='thread'
    HAVING similar_score >= 1
    ORDER BY similar_score
     LIMIT 5
    Run Time: 0.057270
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsearch_indexrangePRIMARYPRIMARY81 4184Using index condition; Using where; Using filesort
    SIMPLEthreadeq_refPRIMARYPRIMARY4dien7104_tailieu.search_index.content_id1Using where
  25. 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.000279
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  26. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 24
    Run Time: 0.000262
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  27. SELECT thread.thread_id
    FROM xf_thread AS thread
    
    WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 433)
    ORDER BY RAND()
     LIMIT 5
    Run Time: 0.007178
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 1760Using where; Using temporary; Using filesort
  28. 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 (4369, 5775, 5325, 4536, 4437))
    ORDER BY thread.post_date DESC
     LIMIT 5
    Run Time: 0.000891
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 5Using where; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4dien7104_tailieu.thread.user_id1 
  29. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 7
    Run Time: 0.000237
    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, 55
    Run Time: 0.000227
    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.000237
    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, 93
    Run Time: 0.000222
    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 = 433)
    Run Time: 0.008677
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpost_linksALL    6781Using where
  34. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: dd0a3e362c8d75c4456de3aeec564809, , 1571373619
    Run Time: 0.000289
  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=433, 1571370019,
    Run Time: 0.000190
  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.000936
    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.000359
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    4Using 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.000235
    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.000251
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    4Using 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.000241
    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