로그인 시 이용가능한 기능입니다.

로그인
취소
템플릿
다양한 템플릿으로 디자인해 보세요!


신년/추석/연하장
종교 템플릿
시즌초대장
파티초대장
기타 초대장
유치원/초등학교
생일파티 초대장
환갑/고희연 초대장
돌초대장
청첩장
여행 템플릿
비디오 명함
일러스트 명함
명함
포트폴리오
상세페이지
링크모음
반려동물
앨범/분실물
추모장
교육

최신 순
조회수 순
좋아요 순
전체 목록

가볍게
편집 하기
편집 하기
두가지 방식 중에 한가지만 선택해 주세요.
카테고리를 선택해 주세요
카테고리를 선택해 주세요 (필수)


Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]
Code Context
">if(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) )
include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]Code Contextif(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) )include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]
Code Context
">if(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) )
include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]Code Contextif(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) )include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]
Code Context
">if(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) )
include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]Code Contextif(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) )include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]
Code Context
">if(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) )
include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]Code Contextif(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) )include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]
Code Context
">if(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) )
include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]Code Contextif(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) )include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]
Code Context
">if(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) )
include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]Code Contextif(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) )include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]
Code Context
">if(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) )
include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]Code Contextif(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) )include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]
Code Context
">if(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) )
include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]Code Contextif(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) )include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]
Code Context
">if(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) )
include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]Code Contextif(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) )include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]
Code Context
">if(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) )
include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]Code Contextif(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) )include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]
Code Context
">if(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) )
include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]Code Contextif(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) )include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]
Code Context
">if(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) )
include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]Code Contextif(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) )include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]
Code Context
">if(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) )
include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]Code Contextif(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) )include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]
Code Context
">if(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) )
include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]Code Contextif(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '8' ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( 'id' => '2', 'name' => '청첩장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '9' ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( 'id' => '20', 'name' => '여행 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-10-18 14:48:34', 'updated' => '2023-01-03 11:04:50', 'order' => '10' ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( 'id' => '1', 'name' => '비디오 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '11' ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( 'id' => '16', 'name' => '일러스트 명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-08 17:23:03', 'updated' => '2023-01-03 11:04:50', 'order' => '12' ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( 'id' => '7', 'name' => '포트폴리오', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-05 20:00:31', 'updated' => '2023-01-03 11:04:50', 'order' => '14' ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( 'id' => '22', 'name' => '상세페이지', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-05-06 14:39:03', 'updated' => '2023-01-03 11:04:50', 'order' => '15' ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( 'id' => '3', 'name' => '링크모음', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48', 'updated' => '2023-01-03 11:04:50', 'order' => '16' ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( 'id' => '17', 'name' => '반려동물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '17' ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( 'id' => '18', 'name' => '앨범/분실물', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-07-15 11:03:05', 'updated' => '2023-01-03 11:04:50', 'order' => '18' ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( 'id' => '14', 'name' => '추모장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '19' ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( 'id' => '21', 'name' => '교육', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-04-11 11:18:19', 'updated' => '2023-01-03 11:04:50', 'order' => '20' ) ) ) $useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)' $isMobile = (int) 0 $andeee_child_menus = array() $andeee_parent_menus = array( (int) 0 => array( 'AndeeeMenu' => array( 'id' => '4', 'name' => '템플릿', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/template_list', 'show_yn' => 'Y', 'idx' => '1', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:20', 'updated' => '2021-02-16 19:49:40' ) ), (int) 1 => array( 'AndeeeMenu' => array( 'id' => '5', 'name' => '튜토리얼', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/school_list', 'show_yn' => 'Y', 'idx' => '2', 'del_yn' => 'N', 'created' => '2021-02-03 16:41:36', 'updated' => '2021-02-17 14:54:45' ) ), (int) 2 => array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) ) $ss_user = null $content_for_layout = '' $scripts_for_layout = '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ' $title_for_layout = 'Publebuble' $parent_menu = array( 'AndeeeMenu' => array( 'id' => '3', 'name' => '고객센터', 'parent_id' => '-1', 'child_yn' => 'N', 'url' => '/publebuble/service_center?type=faq', 'show_yn' => 'Y', 'idx' => '3', 'del_yn' => 'N', 'created' => '2021-02-03 16:38:45', 'updated' => '2021-02-03 16:38:45' ) ) $index = (int) 2 $category = array( 'AndeeeTemplateCategory' => array( 'id' => '19', 'name' => '명함', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-08-30 15:48:02', 'updated' => '2023-01-03 11:04:50', 'order' => '13' ) )include - APP/View/Layouts/andeee_home.ctp, line 1357 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 959 PublebubleController::template_list() - APP/Controller/PublebubleController.php, line 1324 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: AndeeePostingCategory [APP/View/Layouts/andeee_home.ctp, line 1357]
Code Context
if(isset($categories)) {
foreach ($categories as $category) { ?>
<div class="category_list" category_id="<?php echo $category["AndeeePostingCategory"]["id"]; ?>"><?php echo $category["AndeeePostingCategory"]["name"]; ?></div>
$viewFile = '/home/hosting_users/ntwm81/www/app/View/Layouts/andeee_home.ctp' $dataForView = array( 'new_noti_yn' => 'N', 'notifications' => array(), 'categories' => array( (int) 0 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 9 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 10 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 11 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 12 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 13 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 14 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 15 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 16 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 17 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 18 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 19 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ), (int) 20 => array( 'AndeeeTemplateCategory' => array( [maximum depth reached] ) ) ), 'useragent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'isMobile' => (int) 0, 'andeee_child_menus' => array(), 'andeee_parent_menus' => array( (int) 0 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 1 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ), (int) 2 => array( 'AndeeeMenu' => array( [maximum depth reached] ) ) ), 'ss_user' => null, 'content_for_layout' => '', 'scripts_for_layout' => '<script> $(document).ready(function () { function initTemplateList() { let order1 = $(".category_list .category_box").attr("category_id"); var category_id = order1 ? order1 : 1; // 비디오 명함 $(".category_box").removeClass("on"); $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } $("#posting_thumb").load(function () { let height = document.getElementById('posting_thumb').contentWindow.document.body.scrollHeight; $("#posting_thumb").css("height", height); }); initTemplateList(); }); var waiting = false; var currentPage = 1; var totalPage = 1; var categoryId = -1; var orderType = 1; var pageType = -1; var searchKeyword = ""; var selectedTemplateID = 0; var currentScrollTop = 0; function setTemplate(isLiteVersion) { // 2022.07.04 제리 수정사항 : 간단하게 편집하기 클릭시 바로 작업모드로 들어가지게 수정 // if (isLiteVersion) { // localStorage.setItem("isLiteVersion", isLiteVersion); // } localStorage.setItem('selectedTemplateID', selectedTemplateID); window.open('/play', '_blank'); } function openTemplate(uri, pageId) { console.log($(".posting_thumb").attr("src", "/b/" + uri)); var $posting = $(".posting_overlay2"); $posting.attr("page_id", pageId); selectedTemplateID = pageId; $posting.show(); currentScrollTop = $(window).scrollTop(); $(window).scroll(function () { if (currentScrollTop >= $(window).scrollTop()) { $(window).scrollTop(currentScrollTop); return false; } }); } $(document).ready(function () { $(window).on('scroll touchmove mousewheel', function(e) { if (currentScrollTop > $(window).scrollTop()) { e.preventDefault(); e.stopPropagation(); return false; } }); search_template_list(1, -1, 1, -1); $(".top_menu_list").parent("li").addClass("on"); $('.category_list').slick({ speed: 200, arrows: true, slidesToShow: 6, slidesToScroll: 1, variableWidth: true, infinite: false, draggable: true, swipeToSlide: true, touchThreshold: 100, prevArrow: $('.move-left'), nextArrow: $('.move-right'), }); }); $(document).on("click", ".templateCard", function () { var uri = $(this).attr("uri"); var templateID = $(this).attr("template_id"); $('.posting_overlay2').css({ top: $(window).scrollTop() - 175 }); console.log(uri); console.log(templateID); $("#mobile_template_input").hide(); openTemplate(uri, templateID); }); // 카테고리 아이콘을 클릭했을 때 $(document).on("click", ".category_box", function () { var category_id = $(this).attr("category_id"); if ($(this).hasClass("on")) { $(".category_box").removeClass("on"); search_template_list(1, -1, 1, -1); } else { $(this).addClass("on"); search_template_list(1, category_id, orderType, pageType); } }); function search_template_list(page, category_id, order_type, page_type, search_keyword) { if (search_keyword === null) { search_keyword = searchKeyword; } categoryId = category_id; if (!waiting) { waiting = true; $(".category_box").removeClass("on"); $.ajax({ type: 'POST', url: '/publebuble/search_template_list.json', data: { page: page, categoryId: categoryId, orderType: order_type, pageType: page_type, searchKeyword: search_keyword }, success: function (data) { console.log(data); if (data.result === "ok") { currentPage = page; categoryId = category_id; pageType = page_type; orderType = order_type; searchKeyword = search_keyword; $(".category_box[category_id=" + category_id + "]").addClass("on"); $(".orderType").removeClass("on"); $("#orderType" + orderType).addClass("on"); $(".pageType").removeClass("on"); $("#pageType" + pageType).addClass("on"); $("#search_keyword").val(searchKeyword); var $template_list = $(".templateList"); if (page === 1) { $template_list.empty(); totalPage = data.totalPage; } data.templates.forEach(function (el, index) { var card = '<div class="templateCard" template_id="' + el.AndeeePage.id + '" uri="' + el.AndeeePage.uri + '">'; card += '<div class="templateOverlay">'; card += '<div>'; card += '<img src="/publebuble/img/posting_search.png">'; card += '<div class="txt">템플릿 보기</div>'; card += '</div>'; card += '</div>'; card += '<img class="templateThumb" src="' + el.AndeeePage.file_uri + '">'; card += '</div>'; $template_list.append(card); }); waiting = false; } else { waiting = false; } }, error: function (err) { } }); } } $(window).scroll(function() { if (window.scrollY + ($(".templateList").height() + 800) >= $(document).height()) { if(currentPage < totalPage) { search_template_list(++currentPage, categoryId, orderType, pageType, searchKeyword); } } }); let isMobile = '0'; let useragent = 'CCBot/2.0 (https://commoncrawl.org/faq/)'; </script> ', 'title_for_layout' => 'Publebuble' ) $new_noti_yn = 'N' $notifications = array() $categories = array( (int) 0 => array( 'AndeeeTemplateCategory' => array( 'id' => '12', 'name' => '신년/추석/연하장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-05-28 14:27:16', 'updated' => '2023-01-03 11:04:50', 'order' => '0' ) ), (int) 1 => array( 'AndeeeTemplateCategory' => array( 'id' => '27', 'name' => '종교 템플릿', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2023-01-03 11:04:50', 'updated' => '2023-01-03 11:04:50', 'order' => null ) ), (int) 2 => array( 'AndeeeTemplateCategory' => array( 'id' => '10', 'name' => '시즌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '1' ) ), (int) 3 => array( 'AndeeeTemplateCategory' => array( 'id' => '9', 'name' => '파티초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-02-16 20:02:46', 'updated' => '2023-01-03 11:04:50', 'order' => '2' ) ), (int) 4 => array( 'AndeeeTemplateCategory' => array( 'id' => '25', 'name' => '기타 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 15:38:01', 'updated' => '2023-01-03 11:04:50', 'order' => '3' ) ), (int) 5 => array( 'AndeeeTemplateCategory' => array( 'id' => '23', 'name' => '유치원/초등학교', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-09 17:33:28', 'updated' => '2023-01-03 11:04:50', 'order' => '4' ) ), (int) 6 => array( 'AndeeeTemplateCategory' => array( 'id' => '24', 'name' => '생일파티 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2022-11-11 14:38:59', 'updated' => '2023-01-03 11:04:50', 'order' => '5' ) ), (int) 7 => array( 'AndeeeTemplateCategory' => array( 'id' => '13', 'name' => '환갑/고희연 초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2021-06-24 14:50:10', 'updated' => '2023-01-03 11:04:50', 'order' => '6' ) ), (int) 8 => array( 'AndeeeTemplateCategory' => array( 'id' => '4', 'name' => '돌초대장', 'show_yn' => 'Y', 'del_yn' => 'N', 'created' => '2020-12-28 15:22:48',