Notice (8): Undefined index: Topic [APP/Theme/thptchuyenlaocai/topic/viewDetail.php, line 75]Code Context<?php if(!empty($tmpVariable['listCmt']) ){
foreach ($tmpVariable['listCmt'] as $comment) {
if($comment['Comment']['topicSlug']==$tmpVariable['listTopic']['Topic']['slug']){
$file = 'topic/viewDetail.php' $variableGlobal = array( (int) 0 => 'modelUser', (int) 1 => 'urlUsers', (int) 2 => 'routesTheme', (int) 3 => 'smtpSite', (int) 4 => 'dataInput', (int) 5 => 'checkMantanHeader', (int) 6 => 'userAdmins', (int) 7 => 'modelOption', (int) 8 => 'modelNotice', (int) 9 => 'modelAlbum', (int) 10 => 'modelAdmin', (int) 11 => 'modelVideo', (int) 12 => 'urlAdmins', (int) 13 => 'urlOptions', (int) 14 => 'urlNotices', (int) 15 => 'urlAlbums', (int) 16 => 'urlPlugins', (int) 17 => 'urlVideos', (int) 18 => 'urlHomes', (int) 19 => 'urlNow', (int) 20 => 'urlThemeActive', (int) 21 => 'urlLocalThemeActive', (int) 22 => 'urlLocal', (int) 23 => 'webRoot', (int) 24 => 'infoSite', (int) 25 => 'contactSite', (int) 26 => 'routesPlugin', (int) 27 => 'metaTitleMantan', (int) 28 => 'metaKeywordsMantan', (int) 29 => 'metaDescriptionMantan', (int) 30 => 'metaImageMantan', (int) 31 => 'isHome', (int) 32 => 'isCategory', (int) 33 => 'isPost', (int) 34 => 'isPage', (int) 35 => 'isSearch', (int) 36 => 'isPlugin', (int) 37 => 'isRequestPost', (int) 38 => 'isRequestPut', (int) 39 => 'isRequestGet', (int) 40 => 'isRequestAjax', (int) 41 => 'hookFunctionMantan', (int) 42 => 'hookMenuAdminMantan', (int) 43 => 'hookMenusAppearanceMantan', (int) 44 => 'tmpVariable', (int) 45 => 'categoryNotice', (int) 46 => 'infoNotice', (int) 47 => 'infoMantanSource' ) $variable = 'infoMantanSource' $modelUser = object(User) { name => 'User' useDbConfig => 'default' useTable => 'users' id => false data => array() schemaName => null table => 'users' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null plugin => null alias => 'User' tableToModel => array( 'users' => 'User' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => false [protected] _eventManager => null [protected] _validator => null } $urlUsers = 'http://thptchuyenlaocai.edu.vn/users/' $routesTheme = array( 'dtest' => 'pj12_thptchuyenlamson/dtest1.php' ) $smtpSite = array( 'Option' => array( 'key' => 'smtpSetting', 'value' => array( 'password' => '*****', 'host' => '*****', 'port' => '*****', 'account' => 'mantansource@gmail.com', 'show' => 'THPT chuyên Lào Cai' ), 'modified' => object(MongoDate) {}, 'created' => object(MongoDate) {}, 'id' => '5ac4ef385cd7e8671316d2ce' ) ) $dataInput = object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'plugins', 'action' => 'index', 'named' => array([maximum depth reached]), 'pass' => array( [maximum depth reached] ), 'models' => array( [maximum depth reached] ) ) data => array() query => array() url => 'topic/dia-li-phan-hoa-khi-hau-viet-nam' base => '' webroot => '/' here => '/topic/dia-li-phan-hoa-khi-hau-viet-nam' [protected] _detectors => array( 'get' => array( [maximum depth reached] ), 'post' => array( [maximum depth reached] ), 'put' => array( [maximum depth reached] ), 'delete' => array( [maximum depth reached] ), 'head' => array( [maximum depth reached] ), 'options' => array( [maximum depth reached] ), 'ssl' => array( [maximum depth reached] ), 'ajax' => array( [maximum depth reached] ), 'flash' => array( [maximum depth reached] ), 'mobile' => array( [maximum depth reached] ), 'requested' => array( [maximum depth reached] ) ) [protected] _input => '' } $checkMantanHeader = true $userAdmins = null $modelOption = object(Option) { name => 'Option' useDbConfig => 'default' useTable => 'options' id => false data => array() schemaName => null table => 'options' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'Option' tableToModel => array( 'options' => 'Option' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } $modelNotice = object(Notice) { name => 'Notice' useDbConfig => 'default' useTable => 'notices' id => false data => array() schemaName => null table => 'notices' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'Notice' tableToModel => array( 'notices' => 'Notice' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } $modelAlbum = object(Album) { name => 'Album' useDbConfig => 'default' useTable => 'albums' id => false data => array() schemaName => null table => 'albums' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null plugin => null alias => 'Album' tableToModel => array( 'albums' => 'Album' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => false [protected] _eventManager => null [protected] _validator => null } $modelAdmin = object(Admin) { name => 'Admin' useDbConfig => 'default' useTable => 'admins' id => false data => array() schemaName => null table => 'admins' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null plugin => null alias => 'Admin' tableToModel => array( 'admins' => 'Admin' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => false [protected] _eventManager => null [protected] _validator => null } $modelVideo = object(Video) { name => 'Video' useDbConfig => 'default' useTable => 'videos' id => false data => array() schemaName => null table => 'videos' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null plugin => null alias => 'Video' tableToModel => array( 'videos' => 'Video' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => false [protected] _eventManager => null [protected] _validator => null } $urlAdmins = 'http://thptchuyenlaocai.edu.vn/admins/' $urlOptions = 'http://thptchuyenlaocai.edu.vn/options/' $urlNotices = 'http://thptchuyenlaocai.edu.vn/notices/' $urlAlbums = 'http://thptchuyenlaocai.edu.vn/albums/' $urlPlugins = 'http://thptchuyenlaocai.edu.vn/plugins/' $urlVideos = 'http://thptchuyenlaocai.edu.vn/videos/' $urlHomes = 'http://thptchuyenlaocai.edu.vn/' $urlNow = 'http://thptchuyenlaocai.edu.vn/topic/dia-li-phan-hoa-khi-hau-viet-nam' $urlThemeActive = 'http://thptchuyenlaocai.edu.vn//app/Theme/thptchuyenlaocai/' $urlLocalThemeActive = '../Theme/thptchuyenlaocai/' $urlLocal = array( 'urlHomes' => 'http://thptchuyenlaocai.edu.vn/', 'urlAdmins' => 'http://thptchuyenlaocai.edu.vn/admins/', 'urlOptions' => 'http://thptchuyenlaocai.edu.vn/options/', 'urlNotices' => 'http://thptchuyenlaocai.edu.vn/notices/', 'urlAlbums' => 'http://thptchuyenlaocai.edu.vn/albums/', 'urlPlugins' => 'http://thptchuyenlaocai.edu.vn/plugins/', 'urlVideos' => 'http://thptchuyenlaocai.edu.vn/videos/', 'urlUsers' => 'http://thptchuyenlaocai.edu.vn/users/', 'webRoot' => '/', 'urlLocalPlugin' => '../Plugin/', 'urlLocalTheme' => '../Theme/', 'urlLocalLanguage' => '../Language/', 'urlLocalWebroot' => '../webroot/' ) $webRoot = '/' $infoSite = array( 'Option' => array( 'key' => 'infoSite', 'value' => array( 'title' => 'THPT chuyên Lào Cai', 'domain' => 'mantan179.webmantan.com', 'key' => '', 'description' => '', 'postsOnThePage' => (int) 10, 'seoURL' => array( [maximum depth reached] ), 'embedScript' => '', 'language' => array( [maximum depth reached] ) ), 'modified' => object(MongoDate) {}, 'created' => object(MongoDate) {}, 'id' => '5ac4ef385cd7e8671316d2cc' ) ) $contactSite = array( 'Option' => array( 'key' => 'contact', 'value' => array( 'address' => 'M9 - Phường Bắc Cường - TP Lào Cai', 'fone' => '0214.3841955', 'email' => 'thptchuyen@laocai.edu.vn', 'fax' => '0214.3841955' ), 'modified' => object(MongoDate) {}, 'created' => object(MongoDate) {}, 'id' => '5ac4ef385cd7e8671316d2cd' ) ) $routesPlugin = array( 'login' => '*****', 'viewOrganization' => 'organization/viewOrganization.php', 'listTopics' => 'topic/view/listTopics.php', 'topic' => 'topic/view/viewDetail.php', 'listCategoryTopics' => 'topic/view/listViewCate.php', 'listComments' => 'topic/view/listComments.php', 'addTopic' => 'topic/view/addTopic.php', 'register' => 'topic/view/register.php', 'saveUser' => 'topic/loginUser/saveUser.php', 'logout' => 'topic/loginUser/logout.php', 'checkLogin' => 'topic/loginUser/checkLogin.php', 'saveComment' => 'topic/comment/saveComment.php', 'viewTopic' => 'topic/view/viewTopic.php' ) $metaTitleMantan = 'THPT chuyên Lào Cai' $metaKeywordsMantan = '' $metaDescriptionMantan = '' $metaImageMantan = '' $isHome = false $isCategory = false $isPost = false $isPage = false $isSearch = false $isPlugin = true $isRequestPost = false $isRequestPut = false $isRequestGet = true $isRequestAjax = false $hookFunctionMantan = array() $hookMenuAdminMantan = array( (int) 0 => array( 'title' => 'Hệ thống', 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'title' => 'SEO', 'sub' => array( (int) 0 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'title' => 'Quản lý tổ chức', 'sub' => array( (int) 0 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'title' => 'Static', 'sub' => array( (int) 0 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'title' => 'Quản lý chuyên đề', 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 5 => array( 'title' => 'Facebook', 'sub' => array( (int) 0 => array( [maximum depth reached] ) ) ), (int) 6 => array( 'title' => 'Cài đặt giao diện', 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ) ) $hookMenusAppearanceMantan = array( (int) 0 => array( 'title' => 'Organization', 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'title' => 'Topic', 'sub' => array( (int) 15 => array( [maximum depth reached] ), (int) 16 => array( [maximum depth reached] ), (int) 17 => array( [maximum depth reached] ), (int) 18 => array( [maximum depth reached] ), (int) 19 => array( [maximum depth reached] ), (int) 20 => array( [maximum depth reached] ), (int) 21 => array( [maximum depth reached] ), (int) 22 => array( [maximum depth reached] ), (int) 23 => array( [maximum depth reached] ), (int) 24 => array( [maximum depth reached] ), (int) 25 => array( [maximum depth reached] ), (int) 26 => array( [maximum depth reached] ), (int) 27 => array( [maximum depth reached] ), (int) 28 => array( [maximum depth reached] ), (int) 31 => array( [maximum depth reached] ) ) ) ) $tmpVariable = array( 'listComment' => array( (int) 0 => array( 'Comment' => array( [maximum depth reached] ) ), (int) 1 => array( 'Comment' => array( [maximum depth reached] ) ) ), 'listTopic' => array(), 'listCmt' => array( (int) 0 => array( 'Comment' => array( [maximum depth reached] ) ), (int) 1 => array( 'Comment' => array( [maximum depth reached] ) ) ), 'otherData' => array(), 'urlViewFile' => null ) $categoryNotice = array( (int) 5 => array( 'id' => (int) 5, 'name' => 'Tin tức', 'slug' => 'tin-tuc-2', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/tin-tuc-2.html', 'parent' => (int) 0, 'image' => '' ), (int) 6 => array( 'id' => (int) 6, 'name' => 'Nghiên cứu khoa học', 'slug' => 'nghien-cuu-khoa-hoc', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/nghien-cuu-khoa-hoc.html', 'parent' => (int) 0, 'image' => '' ), (int) 9 => array( 'id' => (int) 9, 'name' => 'Câu lạc bộ', 'slug' => 'cau-lac-bo-1', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/cau-lac-bo-1.html', 'parent' => (int) 0, 'image' => '' ), (int) 10 => array( 'id' => (int) 10, 'name' => 'Tuyển sinh', 'slug' => 'tuyen-sinh', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/tuyen-sinh.html', 'parent' => (int) 0, 'image' => '' ), (int) 14 => array( 'id' => (int) 14, 'name' => 'Cựu học sinh', 'slug' => 'cuu-hoc-sinh', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/cuu-hoc-sinh.html', 'parent' => (int) 0, 'image' => '' ), (int) 18 => array( 'id' => (int) 18, 'name' => 'Chuyên đề', 'slug' => 'chuyen-de-1', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/chuyen-de-1.html', 'parent' => (int) 0, 'image' => '' ), (int) 22 => array( 'id' => (int) 22, 'name' => 'Giới thiệu', 'slug' => 'gioi-thieu', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/gioi-thieu.html', 'parent' => (int) 0, 'image' => '' ), (int) 50 => array( 'id' => (int) 50, 'name' => 'Viết về trường', 'slug' => 'viet-ve-truong-1', 'key' => 'Viết về trường', 'description' => 'Viết về trường', 'url' => 'http://thptchuyenlaocai.edu.vn/viet-ve-truong-1.html', 'parent' => (int) 0, 'image' => '' ), (int) 1 => array( 'id' => (int) 1, 'name' => 'Hoạt động nhà trường', 'slug' => 'hoat-dong-nha-truong-3', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/hoat-dong-nha-truong-3.html', 'parent' => (int) 5, 'image' => '' ), (int) 2 => array( 'id' => (int) 2, 'name' => 'Văn hóa xã hội', 'slug' => 'van-hoa-xa-hoi-1', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/van-hoa-xa-hoi-1.html', 'parent' => (int) 5, 'image' => '' ), (int) 3 => array( 'id' => (int) 3, 'name' => 'Đoàn thể', 'slug' => 'doan-the-1', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/doan-the-1.html', 'parent' => (int) 5, 'image' => '' ), (int) 4 => array( 'id' => (int) 4, 'name' => 'Thông báo', 'slug' => 'thong-bao-1', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/thong-bao-1.html', 'parent' => (int) 5, 'image' => '' ), (int) 7 => array( 'id' => (int) 7, 'name' => 'Các ý tưởng', 'slug' => 'cac-y-tuong-1', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/cac-y-tuong-1.html', 'parent' => (int) 6, 'image' => '' ), (int) 8 => array( 'id' => (int) 8, 'name' => 'Đề tài đã dự thi', 'slug' => 'de-tai-da-du-thi-1', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/de-tai-da-du-thi-1.html', 'parent' => (int) 6, 'image' => '' ), (int) 54 => array( 'id' => (int) 54, 'name' => 'Du học', 'slug' => 'du-hoc-1', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/du-hoc-1.html', 'parent' => (int) 9, 'image' => '' ), (int) 55 => array( 'id' => (int) 55, 'name' => 'Câu lạc bộ chuyên môn', 'slug' => 'cau-lac-bo-chuyen-mon', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/cau-lac-bo-chuyen-mon.html', 'parent' => (int) 9, 'image' => '' ), (int) 11 => array( 'id' => (int) 11, 'name' => 'Thông báo tuyển sinh', 'slug' => 'thong-bao-tuyen-sinh', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/thong-bao-tuyen-sinh.html', 'parent' => (int) 10, 'image' => '' ), (int) 12 => array( 'id' => (int) 12, 'name' => 'Kết quả xét tuyển', 'slug' => 'ket-qua-xet-tuyen', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/ket-qua-xet-tuyen.html', 'parent' => (int) 10, 'image' => '' ), (int) 13 => array( 'id' => (int) 13, 'name' => 'Đề thi - Đáp án', 'slug' => 'de-thi-dap-an', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/de-thi-dap-an.html', 'parent' => (int) 10, 'image' => '' ), (int) 15 => array( 'id' => (int) 15, 'name' => 'Tư vấn học', 'slug' => 'tu-van-hoc', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/tu-van-hoc.html', 'parent' => (int) 14, 'image' => '' ), (int) 16 => array( 'id' => (int) 16, 'name' => 'Viết về trường', 'slug' => 'viet-ve-truong', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/viet-ve-truong.html', 'parent' => (int) 14, 'image' => '' ), (int) 17 => array( 'id' => (int) 17, 'name' => 'Gương sáng cựu học sinh', 'slug' => 'guong-sang-cuu-hoc-sinh', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/guong-sang-cuu-hoc-sinh.html', 'parent' => (int) 14, 'image' => '' ), (int) 19 => array( 'id' => (int) 19, 'name' => 'Chuyên đề thi HSG', 'slug' => 'chuyen-de-thi-hsg', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/chuyen-de-thi-hsg.html', 'parent' => (int) 18, 'image' => '' ), (int) 20 => array( 'id' => (int) 20, 'name' => 'Chuyên đề khác', 'slug' => 'chuyen-de-khac', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/chuyen-de-khac.html', 'parent' => (int) 18, 'image' => '' ), (int) 21 => array( 'id' => (int) 21, 'name' => 'Chuyên đề thi Đại học', 'slug' => 'chuyen-de-thi-dai-hoc', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/chuyen-de-thi-dai-hoc.html', 'parent' => (int) 18, 'image' => '' ), (int) 26 => array( 'id' => (int) 26, 'name' => 'Học sinh giỏi', 'slug' => 'hoc-sinh-gioi', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/hoc-sinh-gioi.html', 'parent' => (int) 20, 'image' => '' ), (int) 27 => array( 'id' => (int) 27, 'name' => 'THPT quốc gia', 'slug' => 'thpt-quoc-gia', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/thpt-quoc-gia.html', 'parent' => (int) 20, 'image' => '' ), (int) 28 => array( 'id' => (int) 28, 'name' => 'Tiến sĩ', 'slug' => 'tien-si', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/tien-si.html', 'parent' => (int) 20, 'image' => '' ), (int) 23 => array( 'id' => (int) 23, 'name' => 'Lịch sử nhà trường', 'slug' => 'lich-su-nha-truong-1', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/lich-su-nha-truong-1.html', 'parent' => (int) 22, 'image' => '' ), (int) 24 => array( 'id' => (int) 24, 'name' => 'Ban giám hiệu', 'slug' => 'ban-giam-hieu', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/ban-giam-hieu.html', 'parent' => (int) 22, 'image' => '' ), (int) 25 => array( 'id' => (int) 25, 'name' => 'Các tổ chuyên môn', 'slug' => 'cac-to-chuyen-mon', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/cac-to-chuyen-mon.html', 'parent' => (int) 22, 'image' => '' ), (int) 51 => array( 'id' => (int) 51, 'name' => 'Chân dung', 'slug' => 'chan-dung', 'key' => 'Chân dung', 'description' => 'Chân dung', 'url' => 'http://thptchuyenlaocai.edu.vn/chan-dung.html', 'parent' => (int) 50, 'image' => '' ), (int) 52 => array( 'id' => (int) 52, 'name' => 'Tác phẩm', 'slug' => 'tac-pham', 'key' => 'Chân dung', 'description' => 'Chân dung', 'url' => 'http://thptchuyenlaocai.edu.vn/tac-pham.html', 'parent' => (int) 50, 'image' => '' ), (int) 53 => array( 'id' => (int) 53, 'name' => 'Cảm nhận phê bình', 'slug' => 'cam-nhan-phe-binh', 'key' => 'Cảm nhận phê bình', 'description' => 'Cảm nhận phê bình', 'url' => 'http://thptchuyenlaocai.edu.vn/cam-nhan-phe-binh.html', 'parent' => (int) 50, 'image' => '' ) ) $infoNotice = array() $infoMantanSource = array( 'verName' => 'v1.6' ) $comment = array( 'Comment' => array( 'content' => '456', 'lock' => (int) 0, 'time' => (int) 1523893652, 'userID' => '5aceba585cd7e81722426103', 'username' => 'khanh duy', 'topicID' => '5ad46d8f5cd7e8173b0e2961', 'topicSlug' => 'test6', 'parentID' => '0', 'modified' => object(MongoDate) {}, 'created' => object(MongoDate) {}, 'id' => '5ad4c5945cd7e8d50e0e2953' ) )include - APP/Theme/thptchuyenlaocai/topic/viewDetail.php, line 75 getFileTheme - APP/Controller/MantanFunctions.php, line 238 include - APP/Plugin/topic/view/viewDetail.php, line 1 include - APP/View/Plugins/index.ctp, line 15 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 192 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 109
Notice (8): Undefined index: Topic [APP/Theme/thptchuyenlaocai/topic/viewDetail.php, line 75]Code Context<?php if(!empty($tmpVariable['listCmt']) ){
foreach ($tmpVariable['listCmt'] as $comment) {
if($comment['Comment']['topicSlug']==$tmpVariable['listTopic']['Topic']['slug']){
$file = 'topic/viewDetail.php' $variableGlobal = array( (int) 0 => 'modelUser', (int) 1 => 'urlUsers', (int) 2 => 'routesTheme', (int) 3 => 'smtpSite', (int) 4 => 'dataInput', (int) 5 => 'checkMantanHeader', (int) 6 => 'userAdmins', (int) 7 => 'modelOption', (int) 8 => 'modelNotice', (int) 9 => 'modelAlbum', (int) 10 => 'modelAdmin', (int) 11 => 'modelVideo', (int) 12 => 'urlAdmins', (int) 13 => 'urlOptions', (int) 14 => 'urlNotices', (int) 15 => 'urlAlbums', (int) 16 => 'urlPlugins', (int) 17 => 'urlVideos', (int) 18 => 'urlHomes', (int) 19 => 'urlNow', (int) 20 => 'urlThemeActive', (int) 21 => 'urlLocalThemeActive', (int) 22 => 'urlLocal', (int) 23 => 'webRoot', (int) 24 => 'infoSite', (int) 25 => 'contactSite', (int) 26 => 'routesPlugin', (int) 27 => 'metaTitleMantan', (int) 28 => 'metaKeywordsMantan', (int) 29 => 'metaDescriptionMantan', (int) 30 => 'metaImageMantan', (int) 31 => 'isHome', (int) 32 => 'isCategory', (int) 33 => 'isPost', (int) 34 => 'isPage', (int) 35 => 'isSearch', (int) 36 => 'isPlugin', (int) 37 => 'isRequestPost', (int) 38 => 'isRequestPut', (int) 39 => 'isRequestGet', (int) 40 => 'isRequestAjax', (int) 41 => 'hookFunctionMantan', (int) 42 => 'hookMenuAdminMantan', (int) 43 => 'hookMenusAppearanceMantan', (int) 44 => 'tmpVariable', (int) 45 => 'categoryNotice', (int) 46 => 'infoNotice', (int) 47 => 'infoMantanSource' ) $variable = 'infoMantanSource' $modelUser = object(User) { name => 'User' useDbConfig => 'default' useTable => 'users' id => false data => array() schemaName => null table => 'users' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null plugin => null alias => 'User' tableToModel => array( 'users' => 'User' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => false [protected] _eventManager => null [protected] _validator => null } $urlUsers = 'http://thptchuyenlaocai.edu.vn/users/' $routesTheme = array( 'dtest' => 'pj12_thptchuyenlamson/dtest1.php' ) $smtpSite = array( 'Option' => array( 'key' => 'smtpSetting', 'value' => array( 'password' => '*****', 'host' => '*****', 'port' => '*****', 'account' => 'mantansource@gmail.com', 'show' => 'THPT chuyên Lào Cai' ), 'modified' => object(MongoDate) {}, 'created' => object(MongoDate) {}, 'id' => '5ac4ef385cd7e8671316d2ce' ) ) $dataInput = object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'plugins', 'action' => 'index', 'named' => array([maximum depth reached]), 'pass' => array( [maximum depth reached] ), 'models' => array( [maximum depth reached] ) ) data => array() query => array() url => 'topic/dia-li-phan-hoa-khi-hau-viet-nam' base => '' webroot => '/' here => '/topic/dia-li-phan-hoa-khi-hau-viet-nam' [protected] _detectors => array( 'get' => array( [maximum depth reached] ), 'post' => array( [maximum depth reached] ), 'put' => array( [maximum depth reached] ), 'delete' => array( [maximum depth reached] ), 'head' => array( [maximum depth reached] ), 'options' => array( [maximum depth reached] ), 'ssl' => array( [maximum depth reached] ), 'ajax' => array( [maximum depth reached] ), 'flash' => array( [maximum depth reached] ), 'mobile' => array( [maximum depth reached] ), 'requested' => array( [maximum depth reached] ) ) [protected] _input => '' } $checkMantanHeader = true $userAdmins = null $modelOption = object(Option) { name => 'Option' useDbConfig => 'default' useTable => 'options' id => false data => array() schemaName => null table => 'options' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'Option' tableToModel => array( 'options' => 'Option' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } $modelNotice = object(Notice) { name => 'Notice' useDbConfig => 'default' useTable => 'notices' id => false data => array() schemaName => null table => 'notices' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'Notice' tableToModel => array( 'notices' => 'Notice' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } $modelAlbum = object(Album) { name => 'Album' useDbConfig => 'default' useTable => 'albums' id => false data => array() schemaName => null table => 'albums' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null plugin => null alias => 'Album' tableToModel => array( 'albums' => 'Album' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => false [protected] _eventManager => null [protected] _validator => null } $modelAdmin = object(Admin) { name => 'Admin' useDbConfig => 'default' useTable => 'admins' id => false data => array() schemaName => null table => 'admins' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null plugin => null alias => 'Admin' tableToModel => array( 'admins' => 'Admin' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => false [protected] _eventManager => null [protected] _validator => null } $modelVideo = object(Video) { name => 'Video' useDbConfig => 'default' useTable => 'videos' id => false data => array() schemaName => null table => 'videos' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null plugin => null alias => 'Video' tableToModel => array( 'videos' => 'Video' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => false [protected] _eventManager => null [protected] _validator => null } $urlAdmins = 'http://thptchuyenlaocai.edu.vn/admins/' $urlOptions = 'http://thptchuyenlaocai.edu.vn/options/' $urlNotices = 'http://thptchuyenlaocai.edu.vn/notices/' $urlAlbums = 'http://thptchuyenlaocai.edu.vn/albums/' $urlPlugins = 'http://thptchuyenlaocai.edu.vn/plugins/' $urlVideos = 'http://thptchuyenlaocai.edu.vn/videos/' $urlHomes = 'http://thptchuyenlaocai.edu.vn/' $urlNow = 'http://thptchuyenlaocai.edu.vn/topic/dia-li-phan-hoa-khi-hau-viet-nam' $urlThemeActive = 'http://thptchuyenlaocai.edu.vn//app/Theme/thptchuyenlaocai/' $urlLocalThemeActive = '../Theme/thptchuyenlaocai/' $urlLocal = array( 'urlHomes' => 'http://thptchuyenlaocai.edu.vn/', 'urlAdmins' => 'http://thptchuyenlaocai.edu.vn/admins/', 'urlOptions' => 'http://thptchuyenlaocai.edu.vn/options/', 'urlNotices' => 'http://thptchuyenlaocai.edu.vn/notices/', 'urlAlbums' => 'http://thptchuyenlaocai.edu.vn/albums/', 'urlPlugins' => 'http://thptchuyenlaocai.edu.vn/plugins/', 'urlVideos' => 'http://thptchuyenlaocai.edu.vn/videos/', 'urlUsers' => 'http://thptchuyenlaocai.edu.vn/users/', 'webRoot' => '/', 'urlLocalPlugin' => '../Plugin/', 'urlLocalTheme' => '../Theme/', 'urlLocalLanguage' => '../Language/', 'urlLocalWebroot' => '../webroot/' ) $webRoot = '/' $infoSite = array( 'Option' => array( 'key' => 'infoSite', 'value' => array( 'title' => 'THPT chuyên Lào Cai', 'domain' => 'mantan179.webmantan.com', 'key' => '', 'description' => '', 'postsOnThePage' => (int) 10, 'seoURL' => array( [maximum depth reached] ), 'embedScript' => '', 'language' => array( [maximum depth reached] ) ), 'modified' => object(MongoDate) {}, 'created' => object(MongoDate) {}, 'id' => '5ac4ef385cd7e8671316d2cc' ) ) $contactSite = array( 'Option' => array( 'key' => 'contact', 'value' => array( 'address' => 'M9 - Phường Bắc Cường - TP Lào Cai', 'fone' => '0214.3841955', 'email' => 'thptchuyen@laocai.edu.vn', 'fax' => '0214.3841955' ), 'modified' => object(MongoDate) {}, 'created' => object(MongoDate) {}, 'id' => '5ac4ef385cd7e8671316d2cd' ) ) $routesPlugin = array( 'login' => '*****', 'viewOrganization' => 'organization/viewOrganization.php', 'listTopics' => 'topic/view/listTopics.php', 'topic' => 'topic/view/viewDetail.php', 'listCategoryTopics' => 'topic/view/listViewCate.php', 'listComments' => 'topic/view/listComments.php', 'addTopic' => 'topic/view/addTopic.php', 'register' => 'topic/view/register.php', 'saveUser' => 'topic/loginUser/saveUser.php', 'logout' => 'topic/loginUser/logout.php', 'checkLogin' => 'topic/loginUser/checkLogin.php', 'saveComment' => 'topic/comment/saveComment.php', 'viewTopic' => 'topic/view/viewTopic.php' ) $metaTitleMantan = 'THPT chuyên Lào Cai' $metaKeywordsMantan = '' $metaDescriptionMantan = '' $metaImageMantan = '' $isHome = false $isCategory = false $isPost = false $isPage = false $isSearch = false $isPlugin = true $isRequestPost = false $isRequestPut = false $isRequestGet = true $isRequestAjax = false $hookFunctionMantan = array() $hookMenuAdminMantan = array( (int) 0 => array( 'title' => 'Hệ thống', 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'title' => 'SEO', 'sub' => array( (int) 0 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'title' => 'Quản lý tổ chức', 'sub' => array( (int) 0 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'title' => 'Static', 'sub' => array( (int) 0 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'title' => 'Quản lý chuyên đề', 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 5 => array( 'title' => 'Facebook', 'sub' => array( (int) 0 => array( [maximum depth reached] ) ) ), (int) 6 => array( 'title' => 'Cài đặt giao diện', 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ) ) $hookMenusAppearanceMantan = array( (int) 0 => array( 'title' => 'Organization', 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'title' => 'Topic', 'sub' => array( (int) 15 => array( [maximum depth reached] ), (int) 16 => array( [maximum depth reached] ), (int) 17 => array( [maximum depth reached] ), (int) 18 => array( [maximum depth reached] ), (int) 19 => array( [maximum depth reached] ), (int) 20 => array( [maximum depth reached] ), (int) 21 => array( [maximum depth reached] ), (int) 22 => array( [maximum depth reached] ), (int) 23 => array( [maximum depth reached] ), (int) 24 => array( [maximum depth reached] ), (int) 25 => array( [maximum depth reached] ), (int) 26 => array( [maximum depth reached] ), (int) 27 => array( [maximum depth reached] ), (int) 28 => array( [maximum depth reached] ), (int) 31 => array( [maximum depth reached] ) ) ) ) $tmpVariable = array( 'listComment' => array( (int) 0 => array( 'Comment' => array( [maximum depth reached] ) ), (int) 1 => array( 'Comment' => array( [maximum depth reached] ) ) ), 'listTopic' => array(), 'listCmt' => array( (int) 0 => array( 'Comment' => array( [maximum depth reached] ) ), (int) 1 => array( 'Comment' => array( [maximum depth reached] ) ) ), 'otherData' => array(), 'urlViewFile' => null ) $categoryNotice = array( (int) 5 => array( 'id' => (int) 5, 'name' => 'Tin tức', 'slug' => 'tin-tuc-2', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/tin-tuc-2.html', 'parent' => (int) 0, 'image' => '' ), (int) 6 => array( 'id' => (int) 6, 'name' => 'Nghiên cứu khoa học', 'slug' => 'nghien-cuu-khoa-hoc', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/nghien-cuu-khoa-hoc.html', 'parent' => (int) 0, 'image' => '' ), (int) 9 => array( 'id' => (int) 9, 'name' => 'Câu lạc bộ', 'slug' => 'cau-lac-bo-1', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/cau-lac-bo-1.html', 'parent' => (int) 0, 'image' => '' ), (int) 10 => array( 'id' => (int) 10, 'name' => 'Tuyển sinh', 'slug' => 'tuyen-sinh', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/tuyen-sinh.html', 'parent' => (int) 0, 'image' => '' ), (int) 14 => array( 'id' => (int) 14, 'name' => 'Cựu học sinh', 'slug' => 'cuu-hoc-sinh', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/cuu-hoc-sinh.html', 'parent' => (int) 0, 'image' => '' ), (int) 18 => array( 'id' => (int) 18, 'name' => 'Chuyên đề', 'slug' => 'chuyen-de-1', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/chuyen-de-1.html', 'parent' => (int) 0, 'image' => '' ), (int) 22 => array( 'id' => (int) 22, 'name' => 'Giới thiệu', 'slug' => 'gioi-thieu', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/gioi-thieu.html', 'parent' => (int) 0, 'image' => '' ), (int) 50 => array( 'id' => (int) 50, 'name' => 'Viết về trường', 'slug' => 'viet-ve-truong-1', 'key' => 'Viết về trường', 'description' => 'Viết về trường', 'url' => 'http://thptchuyenlaocai.edu.vn/viet-ve-truong-1.html', 'parent' => (int) 0, 'image' => '' ), (int) 1 => array( 'id' => (int) 1, 'name' => 'Hoạt động nhà trường', 'slug' => 'hoat-dong-nha-truong-3', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/hoat-dong-nha-truong-3.html', 'parent' => (int) 5, 'image' => '' ), (int) 2 => array( 'id' => (int) 2, 'name' => 'Văn hóa xã hội', 'slug' => 'van-hoa-xa-hoi-1', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/van-hoa-xa-hoi-1.html', 'parent' => (int) 5, 'image' => '' ), (int) 3 => array( 'id' => (int) 3, 'name' => 'Đoàn thể', 'slug' => 'doan-the-1', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/doan-the-1.html', 'parent' => (int) 5, 'image' => '' ), (int) 4 => array( 'id' => (int) 4, 'name' => 'Thông báo', 'slug' => 'thong-bao-1', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/thong-bao-1.html', 'parent' => (int) 5, 'image' => '' ), (int) 7 => array( 'id' => (int) 7, 'name' => 'Các ý tưởng', 'slug' => 'cac-y-tuong-1', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/cac-y-tuong-1.html', 'parent' => (int) 6, 'image' => '' ), (int) 8 => array( 'id' => (int) 8, 'name' => 'Đề tài đã dự thi', 'slug' => 'de-tai-da-du-thi-1', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/de-tai-da-du-thi-1.html', 'parent' => (int) 6, 'image' => '' ), (int) 54 => array( 'id' => (int) 54, 'name' => 'Du học', 'slug' => 'du-hoc-1', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/du-hoc-1.html', 'parent' => (int) 9, 'image' => '' ), (int) 55 => array( 'id' => (int) 55, 'name' => 'Câu lạc bộ chuyên môn', 'slug' => 'cau-lac-bo-chuyen-mon', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/cau-lac-bo-chuyen-mon.html', 'parent' => (int) 9, 'image' => '' ), (int) 11 => array( 'id' => (int) 11, 'name' => 'Thông báo tuyển sinh', 'slug' => 'thong-bao-tuyen-sinh', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/thong-bao-tuyen-sinh.html', 'parent' => (int) 10, 'image' => '' ), (int) 12 => array( 'id' => (int) 12, 'name' => 'Kết quả xét tuyển', 'slug' => 'ket-qua-xet-tuyen', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/ket-qua-xet-tuyen.html', 'parent' => (int) 10, 'image' => '' ), (int) 13 => array( 'id' => (int) 13, 'name' => 'Đề thi - Đáp án', 'slug' => 'de-thi-dap-an', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/de-thi-dap-an.html', 'parent' => (int) 10, 'image' => '' ), (int) 15 => array( 'id' => (int) 15, 'name' => 'Tư vấn học', 'slug' => 'tu-van-hoc', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/tu-van-hoc.html', 'parent' => (int) 14, 'image' => '' ), (int) 16 => array( 'id' => (int) 16, 'name' => 'Viết về trường', 'slug' => 'viet-ve-truong', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/viet-ve-truong.html', 'parent' => (int) 14, 'image' => '' ), (int) 17 => array( 'id' => (int) 17, 'name' => 'Gương sáng cựu học sinh', 'slug' => 'guong-sang-cuu-hoc-sinh', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/guong-sang-cuu-hoc-sinh.html', 'parent' => (int) 14, 'image' => '' ), (int) 19 => array( 'id' => (int) 19, 'name' => 'Chuyên đề thi HSG', 'slug' => 'chuyen-de-thi-hsg', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/chuyen-de-thi-hsg.html', 'parent' => (int) 18, 'image' => '' ), (int) 20 => array( 'id' => (int) 20, 'name' => 'Chuyên đề khác', 'slug' => 'chuyen-de-khac', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/chuyen-de-khac.html', 'parent' => (int) 18, 'image' => '' ), (int) 21 => array( 'id' => (int) 21, 'name' => 'Chuyên đề thi Đại học', 'slug' => 'chuyen-de-thi-dai-hoc', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/chuyen-de-thi-dai-hoc.html', 'parent' => (int) 18, 'image' => '' ), (int) 26 => array( 'id' => (int) 26, 'name' => 'Học sinh giỏi', 'slug' => 'hoc-sinh-gioi', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/hoc-sinh-gioi.html', 'parent' => (int) 20, 'image' => '' ), (int) 27 => array( 'id' => (int) 27, 'name' => 'THPT quốc gia', 'slug' => 'thpt-quoc-gia', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/thpt-quoc-gia.html', 'parent' => (int) 20, 'image' => '' ), (int) 28 => array( 'id' => (int) 28, 'name' => 'Tiến sĩ', 'slug' => 'tien-si', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/tien-si.html', 'parent' => (int) 20, 'image' => '' ), (int) 23 => array( 'id' => (int) 23, 'name' => 'Lịch sử nhà trường', 'slug' => 'lich-su-nha-truong-1', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/lich-su-nha-truong-1.html', 'parent' => (int) 22, 'image' => '' ), (int) 24 => array( 'id' => (int) 24, 'name' => 'Ban giám hiệu', 'slug' => 'ban-giam-hieu', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/ban-giam-hieu.html', 'parent' => (int) 22, 'image' => '' ), (int) 25 => array( 'id' => (int) 25, 'name' => 'Các tổ chuyên môn', 'slug' => 'cac-to-chuyen-mon', 'key' => '', 'description' => '', 'url' => 'http://thptchuyenlaocai.edu.vn/cac-to-chuyen-mon.html', 'parent' => (int) 22, 'image' => '' ), (int) 51 => array( 'id' => (int) 51, 'name' => 'Chân dung', 'slug' => 'chan-dung', 'key' => 'Chân dung', 'description' => 'Chân dung', 'url' => 'http://thptchuyenlaocai.edu.vn/chan-dung.html', 'parent' => (int) 50, 'image' => '' ), (int) 52 => array( 'id' => (int) 52, 'name' => 'Tác phẩm', 'slug' => 'tac-pham', 'key' => 'Chân dung', 'description' => 'Chân dung', 'url' => 'http://thptchuyenlaocai.edu.vn/tac-pham.html', 'parent' => (int) 50, 'image' => '' ), (int) 53 => array( 'id' => (int) 53, 'name' => 'Cảm nhận phê bình', 'slug' => 'cam-nhan-phe-binh', 'key' => 'Cảm nhận phê bình', 'description' => 'Cảm nhận phê bình', 'url' => 'http://thptchuyenlaocai.edu.vn/cam-nhan-phe-binh.html', 'parent' => (int) 50, 'image' => '' ) ) $infoNotice = array() $infoMantanSource = array( 'verName' => 'v1.6' ) $comment = array( 'Comment' => array( 'content' => '123', 'lock' => (int) 0, 'time' => (int) 1523893645, 'userID' => '5aceba585cd7e81722426103', 'username' => 'khanh duy', 'topicID' => '5ad46d8f5cd7e8173b0e2961', 'topicSlug' => 'test6', 'parentID' => '0', 'modified' => object(MongoDate) {}, 'created' => object(MongoDate) {}, 'id' => '5ad4c58d5cd7e83f500e2963' ) )include - APP/Theme/thptchuyenlaocai/topic/viewDetail.php, line 75 getFileTheme - APP/Controller/MantanFunctions.php, line 238 include - APP/Plugin/topic/view/viewDetail.php, line 1 include - APP/View/Plugins/index.ctp, line 15 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 192 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 109