Przeglądaj źródła

240624-1311-Kim

hokky 5 miesięcy temu
rodzic
commit
bb0dab5cd9

+ 6 - 6
erp/para/ko_KR/list/list-type1/post/contactus-custom-input.json

@@ -73,15 +73,15 @@
             "Caption": "신청자"
         },
         {
-            "Value": "mx.pc6",
-            "Caption": "회원권"
+            "Value": "mx.pc5",
+            "Caption": "회원권"
         },
         {
-            "Value": "mx.pc4",
+            "Value": "mx.pc3",
             "Caption": "거래 구분"
         },
         {
-            "Value": "mx.pc5",
+            "Value": "mx.pc4",
             "Caption": "회원권 구분"
         }
     ],
@@ -92,11 +92,11 @@
             "Caption": "전체"
         },
         {
-            "Value": "mx.pc7='100'",
+            "Value": "mx.pc7='상담접수'",
             "Caption": "상담접수"
         },
         {
-            "Value": "mx.pc7='200'",
+            "Value": "mx.pc7='상담완료'",
             "Caption": "상담완료"
         }
     ],

+ 3 - 3
erp/para/ko_KR/list/list-type1/post/sise-input.json

@@ -227,9 +227,9 @@
             "No": "center",
             "C1": "center",
             "C2": "center",
-            "C3": "center",
-            "C4": "center",
-            "C5": "center",
+            "C3": "decimal('purch_prc')",
+            "C4": "decimal('purch_prc')",
+            "C5": "decimal('purch_prc')",
             "C6": "center"
         }
     ]

+ 2 - 6
erp/resources/views/popup/popup-form1/form-a/post/contactus-custom-form.blade.php

@@ -23,17 +23,13 @@
 {{--                        <p class="card-title p-1 ml-2">{{ $formA['FormVars']['Title']['CardTitle1'] }}</p>--}}
 {{--                    </div>--}}
                     <div class="card-body">
-
-                        <!-- 추가 -->
                         <div class="form-group {{ $formA['FormVars']['Display']['Status'] }} flex-column mb-2">
                             <label class="m-0">{{ $formA['FormVars']['Title']['Status'] }}</label>
                             <select class="w-100 rounded" id="status-select">
-                                <option value="100">상담접수</option>
-                                <option value="200">상담완료</option>
+                                <option value="상담접수">상담접수</option>
+                                <option value="상담완료">상담완료</option>
                             </select>
                         </div>
-                        <!-- 추가 -->
-
                         <div class="form-group {{ $formA['FormVars']['Display']['Pc1'] }} flex-column mb-2">
                             <label class="m-0">{{ $formA['FormVars']['Title']['Pc1'] }}</label>
                             <input type="text" id="pc1-txt" class="rounded w-100" autocomplete="off"

+ 4 - 4
pro/app/Http/Controllers/Etc/OneToOneController.php

@@ -99,7 +99,7 @@ class OneToOneController extends Controller
                 'Book' => [
                     [
                         'QueryVars' => [
-                            'QueryName' => 'pro:my-page/my-post-details',
+                            'QueryName' => 'pro:my-page/post-details',
                             'SimpleFilter' => "post_code='1to1' and mx.id = $id",
                             'IsntPagination' => true,
                         ],
@@ -109,7 +109,7 @@ class OneToOneController extends Controller
                     ],
                     [
                         'QueryVars' => [
-                            'QueryName' => 'pro:my-page/my-post-details-prenext',
+                            'QueryName' => 'pro:my-page/post-details-prenext',
                             'SimpleFilter' => "mx.id = (select max(id) from pro_post where id < ${id} and post_type_id = 6)",
                             'SubSimpleFilter' => "",
                             'IsntPagination' => true,
@@ -120,7 +120,7 @@ class OneToOneController extends Controller
                     ],
                     [
                         'QueryVars' => [
-                            'QueryName' => 'pro:my-page/my-post-details-prenext',
+                            'QueryName' => 'pro:my-page/post-details-prenext',
                             'SimpleFilter' => "mx.id = (select min(id) from pro_post where id > ${id} and post_type_id = 6)",
                             'SubSimpleFilter' => "",
                             'IsntPagination' => true,
@@ -133,7 +133,7 @@ class OneToOneController extends Controller
             ]
         ]);
 
-       dd($listType1Book);
+    //    dd($listType1Book);
         if ($this->callApiService->verifyApiError($listType1Book)) {
             notify()->error($listType1Book['body'], 'Error', 'bottomRight');
             return redirect()->back();

+ 223 - 2
pro/app/Http/Controllers/IndexController.php

@@ -7,6 +7,8 @@ use App\Helpers\ResponseConverter;
 use App\Helpers\Utils;
 use App\Http\Controllers\Controller;
 use App\Services\CallApiService;
+use Illuminate\Http\Request;
+// use Illuminate\Support\Facades\Request;
 
 class IndexController extends Controller
 {
@@ -19,8 +21,227 @@ class IndexController extends Controller
 
     public function index()
     {
+        $connectionDevice = session()->get('ConnectionDevice');
+        $response = ProApiCacheFacade::getCachedResponse('list-type1-book', 'list-type1/home-book');
+
+        if ($this->callApiService->verifyApiError($response)) {
+            notify()->error($response['body'], 'Error', 'bottomRight');
+            return redirect()->back();
+        }
+
+        $widgetTaxo = $response['Book'][0]['Page'];
+        $maMainSlider = ProApiCacheFacade::filterWidgetTaxo($widgetTaxo, 'ma-main-slider', $connectionDevice);
+
         $seoHtml = Utils::getSeoHtml('main');
-        return view('views.index',
-            compact('seoHtml'));
+        $query = "post_type_id = 59";
+        $limit = (int)request('limit', 36);
+        $page = (int)request('page', 1);
+
+        // 시세
+        $mainSiseList = $this->callApiService->callApi([
+            'url' => 'post-page',
+            'data' => [
+                'PageVars' => [
+                    'Query' => $query,
+                    'Desc' => 'created_on',
+                    'Limit' => $limit,
+                    'Offset' => ($page - 1) * $limit
+                ]
+            ]
+        ]);
+
+        // dd($mainSiseList);
+        // 유튜브
+        $query = "(post_type_id = 40 or post_type_id = 43 or post_type_id = 46)  and status ='1'";
+        // $query = "post_type_id = 40 or post_type_id = 43 or post_type_id = 46 and status ='1'";
+        $limit = (int)request('limit', 12);
+        $page = (int)request('page', 1);
+        $mainYoutubeList = $this->callApiService->callApi([
+            'url' => 'post-page',
+            'data' => [
+                'PageVars' => [
+                    'Query' => $query,
+                    'Desc' => 'created_on',
+                    'Limit' => $limit,
+                    'Offset' => ($page - 1) * $limit
+                ]
+            ]
+        ]);
+
+        // dd($mainYoutubeList);
+
+        // 블로그
+        $query = "(post_type_id = 41 or post_type_id = 44 or post_type_id = 50) and status ='1'";
+        $limit = (int)request('limit', 12);
+        $page = (int)request('page', 1);
+        $mainBlogList = $this->callApiService->callApi([
+            'url' => 'post-page',
+            'data' => [
+                'PageVars' => [
+                    'Query' => $query,
+                    'Desc' => 'created_on',
+                    'Limit' => $limit,
+                    'Offset' => ($page - 1) * $limit
+                ]
+            ]
+        ]);
+
+        // dd($mainBlogList);
+
+        // 시세 등락 계산
+        if (isset($mainSiseList['Page']) && !empty($mainSiseList['Page'])) {
+            foreach ($mainSiseList['Page'] as &$sise) {
+                if (isset($sise['Pc3'], $sise['Pc4'])) {
+                    $sise['fluctuation'] = (float)$sise['Pc3'] - (float)$sise['Pc4'];
+                } else {
+                    $sise['fluctuation'] = 0;
+                }
+            }
+        }
+
+        // 블로그 post_code 만들기
+        if (isset($mainBlogList['Page']) && !empty($mainBlogList['Page'])) {
+            foreach ($mainBlogList['Page'] as &$mainBlog) {
+                if (isset($mainBlog['PostTypeId'])) {
+                    switch ($mainBlog['PostTypeId']) {
+                        case 41:
+                            $mainBlog['PostCode'] = 'golf-blog';
+                            break;
+                        case 44:
+                            $mainBlog['PostCode'] = 'condo-blog';
+                            break;
+                        default:
+                            $mainBlog['PostCode'] = 'fitness-blog';
+                    }
+                }
+            }
+        }
+
+        if ($this->callApiService->verifyApiError($mainSiseList)) {
+            notify()->error($mainSiseList['body'], 'Error', 'bottomRight');
+            return redirect()->back();
+        }
+
+        if ($this->callApiService->verifyApiError($mainYoutubeList)) {
+            notify()->error($mainYoutubeList['body'], 'Error', 'bottomRight');
+            return redirect()->back();
+        }
+
+        if ($this->callApiService->verifyApiError($mainBlogList)) {
+            notify()->error($mainBlogList['body'], 'Error', 'bottomRight');
+            return redirect()->back();
+        }
+
+        return view('views.index', compact('seoHtml', 'maMainSlider', 'mainSiseList', 'mainYoutubeList' ,'mainBlogList'));
+    }
+    // 시세 더보기
+    public function loadMoreSise(Request $request)
+    {
+        $query = "post_type_id = 59";
+        $offset = (int) $request->query('offset', 0);
+        $limit = (int) $request->query('limit', 5);
+        $siseType = $request->query('siseType', 'golf');
+        if($siseType){
+            $query .= " and pc1='$siseType'";
+        }
+
+        $moreSiseList=$this->callApiService->callApi([
+            'url' => 'post-page',
+            'data' => [
+                'PageVars' => [
+                    'Query' => $query,
+                    'Desc' => 'created_on',
+                    'Limit' => $limit,
+                    'Offset' => $offset
+                ]
+            ]
+        ]);
+
+        // 등락 계산
+        if (isset($moreSiseList['Page']) && !empty($moreSiseList['Page'])) {
+            foreach ($moreSiseList['Page'] as &$sise) {
+                if (isset($sise['Pc3'], $sise['Pc4'])) {
+                    $sise['fluctuation'] = (float)$sise['Pc3'] - (float)$sise['Pc4'];
+                } else {
+                    $sise['fluctuation'] = 0;
+                }
+            }
+        }
+
+        if ($this->callApiService->verifyApiError($moreSiseList)) {
+            notify()->error($moreSiseList['body'], 'Error', 'bottomRight');
+            return redirect()->back();
+        }
+
+        return $moreSiseList;
+    }
+
+    // 유튜브 더보기
+    public function loadMoreYoutube(Request $request)
+    {
+        $query = "post_type_id = 40 or post_type_id = 43 or post_type_id = 46 and status ='2'";
+        $offset = (int) $request->query('offset', 0);
+        $limit = (int) $request->query('limit', 5);
+
+        $mainYoutubeList=$this->callApiService->callApi([
+            'url' => 'post-page',
+            'data' => [
+                'PageVars' => [
+                    'Query' => $query,
+                    'Desc' => 'created_on',
+                    'Limit' => $limit,
+                    'Offset' => $offset
+                ]
+            ]
+        ]);
+
+        if ($this->callApiService->verifyApiError($mainYoutubeList)) {
+            notify()->error($mainYoutubeList['body'], 'Error', 'bottomRight');
+            return redirect()->back();
+        }
+        return $mainYoutubeList;
+    }
+
+    // 블로그 더보기
+    public function loadMoreBlog(Request $request)
+    {
+        $query = "post_type_id = 41 or post_type_id = 44 or post_type_id = 50  and status ='2'";
+        $offset = (int) $request->query('offset', 0);
+        $limit = (int) $request->query('limit', 5);
+
+        $moreBlogList=$this->callApiService->callApi([
+            'url' => 'post-page',
+            'data' => [
+                'PageVars' => [
+                    'Query' => $query,
+                    'Desc' => 'created_on',
+                    'Limit' => $limit,
+                    'Offset' => $offset
+                ]
+            ]
+        ]);
+        // post_code 만들기
+        if (isset($moreBlogList['Page']) && !empty($moreBlogList['Page'])) {
+            foreach ($moreBlogList['Page'] as &$mainBlog) {
+                if (isset($mainBlog['PostTypeId'])) {
+                    switch ($mainBlog['PostTypeId']) {
+                        case 41:
+                            $mainBlog['PostCode'] = 'golf-blog';
+                            break;
+                        case 44:
+                            $mainBlog['PostCode'] = 'condo-blog';
+                            break;
+                        default:
+                            $mainBlog['PostCode'] = 'fitness-blog';
+                    }
+                }
+            }
+        }
+
+        if ($this->callApiService->verifyApiError($moreBlogList)) {
+            notify()->error($moreBlogList['body'], 'Error', 'bottomRight');
+            return redirect()->back();
+        }
+        return $moreBlogList;
     }
 }

+ 13 - 1
pro/app/Http/Controllers/Page/ContactUsCustomController.php

@@ -56,7 +56,6 @@ class ContactUsCustomController extends Controller
                 ]
             ]
         ]);
-        // dd($contactUsCustomList);
 
         // date 포맷 변경
         if (isset($contactUsCustomList['Page']) && !empty($contactUsCustomList['Page'])) {
@@ -66,9 +65,18 @@ class ContactUsCustomController extends Controller
                     $date = $OfficialDate->format('Y.m.d');
                     $contactUsCustom['date'] = $date;
                 }
+                if(isset($contactUsCustom['Pc1'])){
+                    $Pc1Length = mb_strlen($contactUsCustom['Pc1'], 'UTF-8');
+                    if($Pc1Length > 2){
+                        $contactUsCustom['maskedName'] = mb_substr($contactUsCustom['Pc1'], 0, $Pc1Length - 2, 'UTF-8') . 'OO';
+                    }else{
+                        $contactUsCustom['maskedName'] = mb_substr($contactUsCustom['Pc1'], 0, $Pc1Length - 1, 'UTF-8') . 'O';
+                    }
+                }
             }
         }
 
+        // dd($contactUsCustomList);
         if ($this->callApiService->verifyApiError($contactUsCustomList)) {
             notify()->error($contactUsCustomList['body'], 'Error', 'bottomRight');
             return redirect()->back();
@@ -152,6 +160,10 @@ class ContactUsCustomController extends Controller
                 'Name' => 'Pt1',
                 'Caption' => '요청 사항'
             ],
+            [
+                'Name' => 'Pc7',
+                'Caption' => '상태'
+            ],
         ];
 
         $msg = '[kbgolf] 고객지원 요청내용입니다.\n';

+ 1 - 1
pro/app/Http/Controllers/Page/SiseController.php

@@ -44,7 +44,7 @@ class SiseController extends Controller
             $query .= " and postTitle like '%$memberbershipname%'";
         }
         // dd($query);
-        $limit = (int)request('limit', 12);
+        $limit = (int)request('limit', 4);
         $page = (int)request('page', 1);
 
         // api 호출 request

Plik diff jest za duży
+ 0 - 0
pro/para/ko_KR/response/list-type1/home-book.json


+ 18 - 16
pro/resources/views/etc/1to1-details.blade.php

@@ -6,8 +6,7 @@
     $post = $listType1Book['Book'][0]['Page'][0];
     $prePost = $listType1Book['Book'][1]['Page'];
     $nextPost = $listType1Book['Book'][2]['Page'];
-    var_dump($post);
-    var_dump($post);
+
 @endphp
 
 <div class="sub qna qna_view">
@@ -68,20 +67,23 @@
 						</div>
 					</article>
 
-					<div class="blog-details-comment">
-						<h3 class="comment-title">답변</h3>
-						<ul class="comment-list">
-							<li class="comment-item">
-								<div class="comment-media">
-									<h6 class="comment-meta">
-										<a href="#">{{ $post['C13'] }}</a>
-										<span>{{ $post['C11'] }}</span>
-									</h6>
-								</div>
-								<p class="comment-desc">{!! $post['C12'] !!}</p>
-							</li>
-						</ul>
-					</div>
+                    @if($post['C9'] === '1')
+                        <div class="blog-details-comment">
+                            <h3 class="comment-title">답변</h3>
+                            <ul class="comment-list">
+                                <li class="comment-item">
+                                    <div class="comment-media">
+                                        <h6 class="comment-meta">
+                                            <!-- <a href="#">{{ $post['C13'] }}</a> -->
+                                                <a href="#">{{ $post['C11'] }}</a>
+                                            <span>{{ $post['C12'] }}</span>
+                                        </h6>
+                                    </div>
+                                    <p class="comment-desc">{!! $post['C13'] !!}</p>
+                                </li>
+                            </ul>
+                        </div>
+                    @endif
 
 					<div class="blog_bottom">
 						<div class="blog-details-navigate">

+ 289 - 560
pro/resources/views/index.blade.php

@@ -9,38 +9,24 @@
     {!! $seoHtml !!}
 @endpush
 
+<!-- main slice -->
 <!-- main visual 시작 -->
 <div class="main_visual">
 	<div class="swiper">
 	  <div class="swiper-wrapper">
 		<!-- Slides -->
+        @forelse($maMainSlider ?? [] as $widget)
 		<div class="swiper-slide"  style="background-image:url({{ asset('/themes/kbgolf/pro/resources/images/main_visual.webp') }})">
 			<div>
 				<strong>
 					신뢰할 수 있는 회원권 거래소
 					<em>KB MEMBERSHIP CLUB</em>
 				</strong>
-				<p>KB회원권은 골프, 콘도, 휘트니스 회원권 중개 및 컨설팅 전문기업입니다.</p>
-			</div>
-		</div>
-		<div class="swiper-slide" style="background-image:url({{ asset('/themes/kbgolf/pro/resources/images/main_visual1.webp') }})">
-			<div>
-				<strong>
-					신뢰할 수 있는 회원권 거래소
-					<em>KB MEMBERSHIP CLUB</em>
-				</strong>
-				<p>KB회원권은 골프, 콘도, 휘트니스 회원권 중개 및 컨설팅 전문기업입니다.</p>
-			</div>
-		</div>
-		<div class="swiper-slide" style="background-image:url({{ asset('/themes/kbgolf/pro/resources/images/main_visual2.webp') }})">
-			<div>
-				<strong>
-					신뢰할 수 있는 회원권 거래소
-					<em>KB MEMBERSHIP CLUB</em>
-				</strong>
-				<p>KB회원권은 골프, 콘도, 휘트니스 회원권 중개 및 컨설팅 전문기업입니다.</p>
+				<p>{!! $widget['C6'] !!}</p>
 			</div>
 		</div>
+        @empty
+        @endforelse
 	  </div>
 	  <!-- If we need pagination -->
 	  <div class="swiper-pagination"></div>
@@ -52,25 +38,19 @@
 <div class="m_sell">
 	<div class="container">
 		<label>회원권 매매신청</label>
-		<input type="text" placeholder="회원권명">
-		<button type="button" class="btn">상담신청하기</button>
+		<input type="text" id="membership-name" placeholder="회원권명">
+		<button type="button" class="btn" onclick="contactForMembership()">상담신청하기</button>
 	</div>
 </div>
-<!--// 회원권 매 신청 끝 -->
+<!--// 회원권 매 신청 끝 -->
 
 <!-- 시세 시작 -->
 <div class="m_quote">
 	<div class="container">
 		<ul class="tabs nav nav-tabs">
-			<li class="active">
-				<a data-toggle="tab" href="#golf">골프 시세</a>
-			</li>
-			<li>
-				<a data-toggle="tab" href="#condo">콘도 시세</a>
-			</li>
-			<li>
-				<a data-toggle="tab" href="#fitness">휘트니스 시세</a>
-			</li>
+			<li class="active"><a data-toggle="tab" data-sise="golf" href="#" onclick="changeSiseList(this)">골프 시세</a></li>
+			<li><a data-toggle="tab" href="#" data-sise="condo" onclick="changeSiseList(this)">콘도 시세</a></li>
+			<li><a data-toggle="tab" href="#" data-sise="fitness" onclick="changeSiseList(this)">휘트니스 시세</a></li>
 		</ul>
 		<div class="tab-content">
 			<!-- 골프 -->
@@ -87,469 +67,13 @@
 								<th>상담</th>
 							</tr>
 						</thead>
-						<tbody>
-							<tr>
-								<td scope="row" data-label="회원권명">1회원권명이 나옵니다. 하둘셋네다여일여아열</td>
-								<td data-label="금일시세">0,000,000</td>
-								<td data-label="전일시세">0,000,000</td>
-								<td data-label="등락" class="up"><i class="fa-solid fa-sort-up"></i> 0,000,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">회원권명이 나옵니다. 하둘셋네다여일여아열</td>
-								<td data-label="금일시세">0,000,000</td>
-								<td data-label="전일시세">0,000,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 0,000,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">회원권명이 나옵니다. 하둘셋네다여일여아열</td>
-								<td data-label="금일시세">0,000,000</td>
-								<td data-label="전일시세">0,000,000</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-
-							<tr>
-								<td scope="row" data-label="회원권명">88(팔팔)</td>
-								<td data-label="금일시세">31,500</td>
-								<td data-label="전일시세">31,500</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">가평 베네스트</td>
-								<td data-label="금일시세">155,000</td>
-								<td data-label="전일시세">300,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 145,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">88(팔팔)</td>
-								<td data-label="금일시세">31,500</td>
-								<td data-label="전일시세">31,500</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">가평 베네스트</td>
-								<td data-label="금일시세">155,000</td>
-								<td data-label="전일시세">300,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 145,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">88(팔팔)</td>
-								<td data-label="금일시세">31,500</td>
-								<td data-label="전일시세">31,500</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">가평 베네스트</td>
-								<td data-label="금일시세">155,000</td>
-								<td data-label="전일시세">300,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 145,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">88(팔팔)</td>
-								<td data-label="금일시세">31,500</td>
-								<td data-label="전일시세">31,500</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">가평 베네스트</td>
-								<td data-label="금일시세">155,000</td>
-								<td data-label="전일시세">300,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 145,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">88(팔팔)</td>
-								<td data-label="금일시세">31,500</td>
-								<td data-label="전일시세">31,500</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">가평 베네스트</td>
-								<td data-label="금일시세">155,000</td>
-								<td data-label="전일시세">300,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 145,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">88(팔팔)</td>
-								<td data-label="금일시세">31,500</td>
-								<td data-label="전일시세">31,500</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">가평 베네스트</td>
-								<td data-label="금일시세">155,000</td>
-								<td data-label="전일시세">300,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 145,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-						</tbody>
-					</table>
-				</div>
-				<div class="btn_wrap">
-					<button type="button" class="btn m_more">더보기</button>
-				</div>
-			</div>
-
-			<!-- 콘도 -->
-			<div id="condo" class="tab-pane fade in">
-				<div class="tb_res tb_vertical">
-					<table cellspacing="0" cellpadding="0">
-						<caption>단위: 만원</caption>
-						<thead>
-							<tr>
-								<th>회원권명</th>
-								<th>금일시세</th>
-								<th>전일시세</th>
-								<th>등락</th>
-								<th>상담</th>
-							</tr>
-						</thead>
-						<tbody>
-							<tr>
-								<td scope="row" data-label="회원권명">콘도 회원권명이 나옵니다. 하둘셋네다여일여아열</td>
-								<td data-label="금일시세">0,000,000</td>
-								<td data-label="전일시세">0,000,000</td>
-								<td data-label="등락" class="up"><i class="fa-solid fa-sort-up"></i> 0,000,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">회원권명이 나옵니다. 하둘셋네다여일여아열</td>
-								<td data-label="금일시세">0,000,000</td>
-								<td data-label="전일시세">0,000,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 0,000,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">회원권명이 나옵니다. 하둘셋네다여일여아열</td>
-								<td data-label="금일시세">0,000,000</td>
-								<td data-label="전일시세">0,000,000</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-
-							<tr>
-								<td scope="row" data-label="회원권명">88(팔팔)</td>
-								<td data-label="금일시세">31,500</td>
-								<td data-label="전일시세">31,500</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">가평 베네스트</td>
-								<td data-label="금일시세">155,000</td>
-								<td data-label="전일시세">300,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 145,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">88(팔팔)</td>
-								<td data-label="금일시세">31,500</td>
-								<td data-label="전일시세">31,500</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">가평 베네스트</td>
-								<td data-label="금일시세">155,000</td>
-								<td data-label="전일시세">300,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 145,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">88(팔팔)</td>
-								<td data-label="금일시세">31,500</td>
-								<td data-label="전일시세">31,500</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">가평 베네스트</td>
-								<td data-label="금일시세">155,000</td>
-								<td data-label="전일시세">300,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 145,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">88(팔팔)</td>
-								<td data-label="금일시세">31,500</td>
-								<td data-label="전일시세">31,500</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">가평 베네스트</td>
-								<td data-label="금일시세">155,000</td>
-								<td data-label="전일시세">300,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 145,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">88(팔팔)</td>
-								<td data-label="금일시세">31,500</td>
-								<td data-label="전일시세">31,500</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">가평 베네스트</td>
-								<td data-label="금일시세">155,000</td>
-								<td data-label="전일시세">300,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 145,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">88(팔팔)</td>
-								<td data-label="금일시세">31,500</td>
-								<td data-label="전일시세">31,500</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">가평 베네스트</td>
-								<td data-label="금일시세">155,000</td>
-								<td data-label="전일시세">300,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 145,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-						</tbody>
+						<tbody id="sise-list"></tbody>
 					</table>
 				</div>
 				<div class="btn_wrap">
-					<button type="button" class="btn m_more">더보기</button>
+					<button type="button" class="btn m_more sise" onclick="loadMoreSise()">더보기</button>
 				</div>
 			</div>
-
-			<!-- 휘트니스 -->
-			<div id="fitness" class="tab-pane fade in">
-				<div class="tb_res tb_vertical">
-					<table cellspacing="0" cellpadding="0">
-						<caption>단위: 만원</caption>
-						<thead>
-							<tr>
-								<th>회원권명</th>
-								<th>금일시세</th>
-								<th>전일시세</th>
-								<th>등락</th>
-								<th>상담</th>
-							</tr>
-						</thead>
-						<tbody>
-							<tr>
-								<td scope="row" data-label="회원권명">피트니스회원권명이 나옵니다. 하둘셋네다여일여아열</td>
-								<td data-label="금일시세">0,000,000</td>
-								<td data-label="전일시세">0,000,000</td>
-								<td data-label="등락" class="up"><i class="fa-solid fa-sort-up"></i> 0,000,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">회원권명이 나옵니다. 하둘셋네다여일여아열</td>
-								<td data-label="금일시세">0,000,000</td>
-								<td data-label="전일시세">0,000,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 0,000,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">회원권명이 나옵니다. 하둘셋네다여일여아열</td>
-								<td data-label="금일시세">0,000,000</td>
-								<td data-label="전일시세">0,000,000</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-
-							<tr>
-								<td scope="row" data-label="회원권명">88(팔팔)</td>
-								<td data-label="금일시세">31,500</td>
-								<td data-label="전일시세">31,500</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">가평 베네스트</td>
-								<td data-label="금일시세">155,000</td>
-								<td data-label="전일시세">300,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 145,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">88(팔팔)</td>
-								<td data-label="금일시세">31,500</td>
-								<td data-label="전일시세">31,500</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">가평 베네스트</td>
-								<td data-label="금일시세">155,000</td>
-								<td data-label="전일시세">300,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 145,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">88(팔팔)</td>
-								<td data-label="금일시세">31,500</td>
-								<td data-label="전일시세">31,500</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">가평 베네스트</td>
-								<td data-label="금일시세">155,000</td>
-								<td data-label="전일시세">300,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 145,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">88(팔팔)</td>
-								<td data-label="금일시세">31,500</td>
-								<td data-label="전일시세">31,500</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">가평 베네스트</td>
-								<td data-label="금일시세">155,000</td>
-								<td data-label="전일시세">300,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 145,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">88(팔팔)</td>
-								<td data-label="금일시세">31,500</td>
-								<td data-label="전일시세">31,500</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">가평 베네스트</td>
-								<td data-label="금일시세">155,000</td>
-								<td data-label="전일시세">300,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 145,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">88(팔팔)</td>
-								<td data-label="금일시세">31,500</td>
-								<td data-label="전일시세">31,500</td>
-								<td data-label="등락">-</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-							<tr>
-								<td scope="row" data-label="회원권명">가평 베네스트</td>
-								<td data-label="금일시세">155,000</td>
-								<td data-label="전일시세">300,000</td>
-								<td data-label="등락" class="down"><i class="fa-solid fa-caret-down"></i> 145,000</td>
-								<td data-label="상담신청">
-									<button type="button" onclick="location.herf='#'" class="btn">상담신청</button>
-								</td>
-							</tr>
-						</tbody>
-					</table>
-				</div>
-				<div class="btn_wrap">
-					<button type="button" class="btn m_more">더보기</button>
-				</div>
-			</div>
-
 		</div>
 	</div>
 </div>
@@ -562,46 +86,22 @@
 			<em>KB Membership Club</em>
 			<h2>YOUTUBE</h2>
 		</div>
-		<ul  class="list">
-			<li>
-				<div class="img_box">
-					<a href="https://youtu.be/HmdhgwUe5b8?si=BWpJ8u1rvgTKgb4q" target="_blak"></a>
-					<iframe src="https://www.youtube.com/embed/HmdhgwUe5b8?si=ia3Qt7oBi1V0ZArL" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
-				</div>
-			</li>
-			<li>
-				<div class="img_box">
-					<a href="https://youtu.be/HmdhgwUe5b8?si=BWpJ8u1rvgTKgb4q" target="_blak"></a>
-					<iframe src="https://www.youtube.com/embed/HmdhgwUe5b8?si=ia3Qt7oBi1V0ZArL" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
-				</div>
-			</li>
-			<li>
-				<div class="img_box">
-					<a href="https://youtu.be/HmdhgwUe5b8?si=BWpJ8u1rvgTKgb4q" target="_blak"></a>
-					<iframe src="https://www.youtube.com/embed/HmdhgwUe5b8?si=ia3Qt7oBi1V0ZArL" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
-				</div>
-			</li>
-			<li>
-				<div class="img_box">
-					<a href="https://youtu.be/HmdhgwUe5b8?si=BWpJ8u1rvgTKgb4q" target="_blak"></a>
-					<iframe src="https://www.youtube.com/embed/HmdhgwUe5b8?si=ia3Qt7oBi1V0ZArL" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
-				</div>
-			</li>
-			<li>
-				<div class="img_box">
-					<a href="https://youtu.be/HmdhgwUe5b8?si=BWpJ8u1rvgTKgb4q" target="_blak"></a>
-					<iframe src="https://www.youtube.com/embed/HmdhgwUe5b8?si=ia3Qt7oBi1V0ZArL" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
-				</div>
-			</li>
+		<ul class="list">
+            @forelse($mainYoutubeList['Page'] ?? [] as $mainYoutube)
 			<li>
 				<div class="img_box">
-					<a href="https://youtu.be/HmdhgwUe5b8?si=BWpJ8u1rvgTKgb4q" target="_blak"></a>
-					<iframe src="https://www.youtube.com/embed/HmdhgwUe5b8?si=ia3Qt7oBi1V0ZArL" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
+					<a href="{{ $mainYoutube['Pt1'] }}" target="_blak"></a>
+					<iframe src="{{ $mainYoutube['Pt1'] }}" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
 				</div>
 			</li>
+            @empty
+                <li>
+                    <div class="img_box">데이터가 존재하지 않습니다.</div>
+                </li>
+            @endforelse
 		</ul>
 		<div class="btn_wrap">
-			<button type="button" class="btn m_more">더보기</button>
+			<button type="button" class="btn m_more youtube" onclick="loadMoreYoutube()">더보기</button>
 		</div>
 	</div>
 </div>
@@ -615,56 +115,264 @@
 			<h2>BLOG</h2>
 		</div>
 		<ul class="list">
-			<li>
-				<a href="#">
-					<h4 class="ellipsis_multi">블로그 제목이 나옵니다. 동해물과 백두산이 마르고 닳도록 하느님이 보우하사 우리 나라 만세. 무궁화 삼천리 화려강산 대한사람 대한으로 길이 보전하세.</h4>
-					<p class="ellipsis_multi">블로그 내용 일부가 나옵니다. 동해물과 백두산이 마르고 닳도록 하느님이 보우하사 우리 나라 만세. 무궁화 삼천리 화려강산 대한사람 대한으로 길이 보전하세. 남산 위에 저 소나무 철갑을 두른 듯 바람서리 불변함은 우리 기상일세 무궁화 삼천리 화려강산 대한사람 대한으로 길이 보전하세. 가을 하늘 공활한데 높고 구름 없이 밝은 달은 우리 기상 일편단심일세</p>
-				</a>
-			</li>
-			<li>
-				<a href="#">
-					<h4 class="ellipsis_multi">블로그 제목이 나옵니다. 동해물과 백두산이 마르고 닳도록</h4>
-					<p class="ellipsis_multi">블로그 내용 일부가 나옵니다. 동해물과 백두산이 마르고 닳도록 하느님이 보우하사 우리 나라 만세. 무궁화 삼천리 화려강산 대한사람 대한으로 길이 보전하세.</p>
-				</a>
-			</li>
-			<li>
-				<a href="#">
-					<h4 class="ellipsis_multi">블로그 제목이 나옵니다. 동해물과 백두산이 마르고 닳도록 하느님이 보우하사 우리 나라 만세. 무궁화 삼천리 화려강산 대한사람 대한으로 길이 보전하세.</h4>
-					<p class="ellipsis_multi">블로그 내용 일부가 나옵니다. 동해물과 백두산이 마르고 닳도록 하느님이 보우하사 우리 나라 만세. 무궁화 삼천리 화려강산 대한사람 대한으로 길이 보전하세.</p>
-				</a>
-			</li>
-			<li>
-				<a href="#">
-					<h4 class="ellipsis_multi">블로그 제목이 나옵니다. 동해물과 백두산이 마르고 닳도록 하느님이 보우하사 우리 나라 만세. 무궁화 삼천리 화려강산 대한사람 대한으로 길이 보전하세.</h4>
-					<p class="ellipsis_multi">블로그 내용 일부가 나옵니다. 동해물과 백두산이 마르고 닳도록 하느님이 보우하사 우리 나라 만세. 무궁화 삼천리 화려강산 대한사람 대한으로 길이 보전하세. 남산 위에 저 소나무 철갑을 두른 듯 바람서리 불변함은 우리 기상일세 무궁화 삼천리 화려강산 대한사람 대한으로 길이 보전하세. 가을 하늘 공활한데 높고 구름 없이 밝은 달은 우리 기상 일편단심일세</p>
-				</a>
-			</li>
-			<li>
-				<a href="#">
-					<h4 class="ellipsis_multi">블로그 제목이 나옵니다. 동해물과 백두산이 마르고 닳도록</h4>
-					<p class="ellipsis_multi">블로그 내용 일부가 나옵니다. 동해물과 백두산이 마르고 닳도록 하느님이 보우하사 우리 나라 만세. 무궁화 삼천리 화려강산 대한사람 대한으로 길이 보전하세.</p>
-				</a>
-			</li>
-			<li>
-				<a href="#">
-					<h4 class="ellipsis_multi">블로그 제목이 나옵니다. 동해물과 백두산이 마르고 닳도록 하느님이 보우하사 우리 나라 만세. 무궁화 삼천리 화려강산 대한사람 대한으로 길이 보전하세.</h4>
-					<p class="ellipsis_multi">블로그 내용 일부가 나옵니다. 동해물과 백두산이 마르고 닳도록 하느님이 보우하사 우리 나라 만세. 무궁화 삼천리 화려강산 대한사람 대한으로 길이 보전하세.</p>
-				</a>
-			</li>
+            @forelse($mainBlogList['Page'] ?? [] as $mainBlog)
+                <li>
+                    <a href="{{ route('dbrbbs.details', [$mainBlog['PostCode'], $mainBlog['PostSlug']]) }}">
+                        <h4 class="ellipsis_multi">{{ $mainBlog['PostTitle'] }}</h4>
+                        <p class="ellipsis_multi">{!! strip_tags(mb_strimwidth($mainBlog['PostContents'], 0, 1500, '...')) !!}</p>
+                    </a>
+                </li>
+            @empty
+                <li>데이터가 존재하지 않습니다.</li>
+            @endforelse
 		</ul>
 		<div class="btn_wrap">
-			<button type="button" class="btn m_more">더보기</button>
+			<button type="button" class="btn m_more blog" onclick="loadMoreBlog()">더보기</button>
 		</div>
 	</div>
 </div>
 <!--// 블로그 끝 -->
 
 <script>
+currentSiseType = 'golf';
 $(document).ready(function() {
+    // 필터링된 리스트를 렌더링하는 함수 호출
+    changeSiseListByDefault(currentSiseType);
 	$('.main-header').addClass('main_header');
 	$('.main-header .logo img').attr("src", "/themes/kbgolf/pro/resources/images/logo_wh.png");
+    console.log('mainSiseList : ', mainSiseList);
+    console.log('mainYoutubeList : ', mainYoutubeList);
+    console.log('mainBlogList : ', mainBlogList);
+
 });
 
+// siseType별로 tbody 생성
+function changeSiseList(e) {
+    // 다른 li태그 active class 제거
+    $('.tabs li').removeClass('active');
+    // 클릭한 태그의 li active class 추가
+    $(e).parent().addClass('active');
+
+    currentSiseType = $(e).attr('data-sise');
+    var filteredSiseList = mainSiseList.filter(function(mainsise) {
+        return mainsise['Pc1'].includes(currentSiseType);
+    });
+    console.log('filteredSiseList : ', filteredSiseList);
+    renderMainSiseList(filteredSiseList);
+}
+// defalut 가져오기
+function changeSiseListByDefault(currentSiseType) {
+    console.log('default is golf');
+    var filteredSiseList = mainSiseList.filter(function(mainsise) {
+        return mainsise['Pc1'].includes(currentSiseType);
+    });
+    renderMainSiseList(filteredSiseList);
+}
+
+// tbody 생성
+function renderMainSiseList(siseList){
+    // console.log('siseList : ', siseList);
+    var tbody = $('#sise-list');
+    fluctuationClass='';
+    tbody.empty();
+
+    if(siseList.length === 0){
+        tbody.html('<tr><td colspan="5">데이터가 존재하지 않습니다.</td></tr>');
+        return;
+    }
+
+    siseList.forEach(function(sise){
+        if (sise['fluctuation'] > 0) {
+            fluctuationClass = 'up';
+            fluctuationIcon = 'fa-sort-up';
+        } else if (sise['fluctuation'] < 0) {
+            fluctuationClass = 'down';
+            fluctuationIcon = 'fa-sort-down';
+        }
+
+        var fluctuationText = sise['fluctuation'] !== 0 ?
+        `<i class="fa-solid ${fluctuationIcon}"></i> ${number_format(Math.abs(sise['fluctuation']))}`
+        : `${number_format(sise['fluctuation'])}`;
+
+        var tr = $('<tr>');
+        tr.html(`
+            <td scope="row" data-label="${sise['PostTitle']}">${sise['PostTitle']}</td>
+            <td data-label="${sise['Pc3']}">${number_format(sise['Pc3'])}</td>
+            <td data-label="${sise['Pc4']}">${number_format(sise['Pc4'])}</td>
+            <td data-label="등락" class="${fluctuationClass}">
+                ${fluctuationText}
+            </td>
+            <td data-label="상담신청">
+                <button type="button" class="btn consult-btn"
+                    data-post-title="${sise['PostTitle']}"
+                    data-pc1="${sise['Pc1']}"
+                    onclick="window.location.href = '/contactus-custom/${sise['Pc1']}/${encodeURIComponent(sise['PostTitle'])}'">상담신청
+                </button>
+            </td>
+        `);
+
+        tbody.append(tr);
+    })
+}
+    // 시세 더보기
+    function loadMoreSise(){
+        var offset = $('#sise-list tr').length;
+        console.log('offset : ', offset);
+        var limit = 3;
+
+        $.ajax({
+            url: '/load-more-sise',
+            method: 'GET',
+            data: { offset: offset, limit: limit, siseType: currentSiseType },
+            success: function(response) {
+                var siseList = response.Page;
+
+                if (siseList!=null) {
+                    appendMainSiseList(siseList);
+                } else {
+                    alert('더이상 데이터가 없습니다.')
+                    $('.m_quote .btn_wrap .m_more').hide();
+                }
+            },
+            error: function(error) {
+                console.error('Error loading more sise:', error);
+            }
+        });
+    }
+
+    // 유튜브 더보기
+    function loadMoreYoutube(){
+        var offset = $('.m_youtube .list li').length;
+        console.log('offset : ', offset);
+        var limit = 12;
+
+        $.ajax({
+            url: '/load-more-youtube',
+            method: 'GET',
+            data: { offset: offset, limit: limit},
+            success: function(response) {
+                var youtubeList = response.Page;
+
+                if (youtubeList!=null) {
+                    appendMainYoutubeList(youtubeList);
+                } else {
+                    alert('더이상 데이터가 없습니다.')
+                    $('.m_youtube .btn_wrap .m_more').hide();
+                }
+            },
+            error: function(error) {
+                console.error('Error loading more sise:', error);
+            }
+        });
+    }
+
+    // 블로그 더보기
+    function loadMoreBlog() {
+        var offset = $('.m_blog .list li').length;
+        var limit = 12;
+
+        $.ajax({
+            url: '/load-more-blog',
+            method: 'GET',
+            data: { offset: offset, limit: limit },
+            success: function(response) {
+                console.log('response :', response);
+                var blogList = response.Page;
+
+                if (blogList!=null) {
+                    appendMainBlogList(blogList);
+                } else {
+                    alert('더이상 데이터가 없습니다.');
+                    $('.m_blog .btn_wrap .m_more').hide();
+                }
+            },
+            error: function(error) {
+                console.error('Error loading more blogs:', error);
+            }
+        });
+    }
+
+    // sise 더보기 list add
+    function appendMainSiseList(siseList) {
+        var tbody = $('#sise-list');
+
+        siseList.forEach(function(sise) {
+            if (sise['fluctuation'] > 0) {
+                fluctuationClass = 'up';
+                fluctuationIcon = 'fa-sort-up';
+            } else if (sise['fluctuation'] < 0) {
+                fluctuationClass = 'down';
+                fluctuationIcon = 'fa-sort-down';
+            } else {
+                fluctuationClass = '';
+                fluctuationIcon = '';
+            }
+
+            var fluctuationText = sise['fluctuation'] !== 0 ?
+            `<i class="fa-solid ${fluctuationIcon}"></i> ${number_format(Math.abs(sise['fluctuation']))}`
+            : `${number_format(sise['fluctuation'])}`;
+
+            var tr = $('<tr>');
+            tr.html(`
+                <td scope="row" data-label="${sise['PostTitle']}">${sise['PostTitle']}</td>
+                <td data-label="${sise['Pc3']}">${number_format(sise['Pc3'])}</td>
+                <td data-label="${sise['Pc4']}">${number_format(sise['Pc4'])}</td>
+                <td data-label="등락" class="${fluctuationClass}">
+                    ${fluctuationText}
+                </td>
+                <td data-label="상담신청">
+                    <button type="button" class="btn consult-btn"
+                            data-post-title="${sise['PostTitle']}"
+                            data-pc1="${sise['Pc1']}"
+                            onclick="window.location.href = '/contactus-custom/${sise['Pc1']}/${encodeURIComponent(sise['PostTitle'])}'">상담신청
+                    </button>
+                </td>
+            `);
+            tbody.append(tr);
+        });
+    }
+
+// youtube 더보기 list add
+function appendMainYoutubeList(youtubeList) {
+    var ul = $('.m_youtube .list');
+
+    youtubeList.forEach(function(youtube) {
+        var li = $('<li>');
+        li.html(`
+            <div class="img_box">
+                <a href="${youtube['Pt1']}" target="_blank"></a>
+                <iframe src="${youtube['Pt1']}" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
+            </div>
+        `);
+        ul.append(li);
+    });
+}
+
+// blog 더보기 리스트 add
+function appendMainBlogList(blogList) {
+    var ul = $('.m_blog .list');
+
+    blogList.forEach(function(blog) {
+        var li = $('<li>');
+        li.html(`
+            <a href="/bbs/details/${blog['PostCode']}/${blog['PostSlug']}">
+                <h4 class="ellipsis_multi">${blog['PostTitle']}</h4>
+                <p class="ellipsis_multi">${stripTags(truncateText(blog['PostContents'], 1500))}</p>
+            </a>
+        `);
+        ul.append(li);
+    });
+}
+
+// 회원권명으로 상담신청
+function contactForMembership(){
+    var membershipName = $('#membership-name').val();
+    var url = '{{ route('contactus-custom', ':membershipName') }}';
+    url = url.replace(':membershipName', membershipName);
+    // console.log('url :', url);
+    window.location.href = url;
+}
+
 var swiper = new Swiper(".main_visual .swiper", {
 	loop: true,
 	autoplay: {
@@ -676,5 +384,26 @@ var swiper = new Swiper(".main_visual .swiper", {
 		clickable: true,
      },
 });
+
+// format 함수
+function number_format(number) {
+    return new Intl.NumberFormat().format(number);
+}
+// HTML 태그 제거
+function stripTags(html) {
+    return html.replace(/(<([^>]+)>)/gi, "");
+}
+// 글자수 maxLength
+function truncateText(text, maxLength, suffix = '...') {
+    if (text.length <= maxLength) {
+        return text;
+    }
+    return text.substr(0, maxLength) + suffix;
+}
+
+const mainSiseList = {!! json_encode($mainSiseList['Page']) !!};
+const mainYoutubeList = {!! json_encode($mainYoutubeList['Page']) !!};
+const mainBlogList = {!! json_encode($mainBlogList['Page']) !!};
+
 </script>
 @endsection

+ 0 - 1
pro/resources/views/layouts/master.blade.php

@@ -2,7 +2,6 @@
 <html lang="en">
 <head>
     <script src="{{ csset('/js/plugins/vue/vue@2.6.11.js') }}"></script>
-
     <meta charset="utf-8">
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">

+ 6 - 104
pro/resources/views/page/contactus-custom-list.blade.php

@@ -18,12 +18,10 @@
             @forelse($contactUsCustomItems['Page'] ?? [] as $contactUsCustom)
                 @php
 
-                    if($contactUsCustom['Pc7'] === '100'){
-                        $status = '상담접수';
+                    if($contactUsCustom['Pc7'] === '상담접수'){
                         $statusClass = 'apply';
                         $msg = '상담이 접수되었습니다.';
                     } else {
-                        $status = '상담완료';
                         $statusClass = 'done';
                         $msg = '완료';
                     }
@@ -32,11 +30,11 @@
                 <li>
                     <a href="#" class="open-modal" data-toggle="modal" data-id="{{ $contactUsCustom['Id'] }}">
                         <div class="info">
-                            <div class="status {{ $statusClass }}">{{ $status }}</div>
+                            <div class="status {{ $statusClass }}">{{ $contactUsCustom['Pc7'] }}</div>
                             <div class="date">{{ $contactUsCustom['date'] }}</div>
                         </div>
-                        <h4 class="ellipsis">{{ $contactUsCustom['Pc1'] }}님 상담내역</h4>
-                        @if($contactUsCustom['Pc7'] === '100')
+                        <h4 class="ellipsis">{{ $contactUsCustom['maskedName'] }}님 상담내역</h4>
+                        @if($contactUsCustom['Pc7'] === '상담접수')
                             <p class="ellipsis">[{{ $contactUsCustom['Pc5'] }}] {{ $contactUsCustom['Pc3'] }} 신청</p>
                             <span>{{ $msg }}</span>
                         @else
@@ -50,102 +48,6 @@
                     <td>등록된 상담내역이 존재하지 않습니다</td>
                 </li>
             @endforelse
-			<!-- <li>
-				<a href="#inquiry_view"  data-toggle="modal">
-					<div class="info">
-						<div class="status done">상담완료</div>
-						<div class="date">20024.06.30</div>
-					</div>
-					<h4 class="ellipsis">주OOOOOOOO님 상담내역</h4>
-					<p class="ellipsis">[세종레이캐슬(25000)] 매수 완료</p>
-				</a>
-			</li>
-
-			<li>
-				<a href="#inquiry_view"  data-toggle="modal">
-					<div class="info">
-						<div class="status apply">상담접수</div>
-						<div class="date">20024.06.30</div>
-					</div>
-					<h4 class="ellipsis">최OO님 상담내역</h4>
-					<p class="ellipsis">[세종레이캐슬(25000)] 매수 신청</p>
-					<span>상담이 접수되었습니다.</span>
-				</a>
-			</li>
-			<li>
-				<a href="#inquiry_view"  data-toggle="modal">
-					<div class="info">
-						<div class="status done">상담완료</div>
-						<div class="date">20024.06.30</div>
-					</div>
-					<h4 class="ellipsis">주OOOOOOOO님 상담내역</h4>
-					<p class="ellipsis">[세종레이캐슬(25000)] 매수 완료</p>
-				</a>
-			</li>
-			<li>
-				<a href="#inquiry_view"  data-toggle="modal">
-					<div class="info">
-						<div class="status apply">상담접수</div>
-						<div class="date">20024.06.30</div>
-					</div>
-					<h4 class="ellipsis">최OO님 상담내역</h4>
-					<p class="ellipsis">[세종레이캐슬(25000)] 매수 신청</p>
-					<span>상담이 접수되었습니다.</span>
-				</a>
-			</li>
-			<li>
-				<a href="#inquiry_view"  data-toggle="modal">
-					<div class="info">
-						<div class="status done">상담완료</div>
-						<div class="date">20024.06.30</div>
-					</div>
-					<h4 class="ellipsis">주OOOOOOOO님 상담내역</h4>
-					<p class="ellipsis">[세종레이캐슬(25000)] 매수 완료</p>
-				</a>
-			</li>
-			<li>
-				<a href="#inquiry_view"  data-toggle="modal">
-					<div class="info">
-						<div class="status apply">상담접수</div>
-						<div class="date">20024.06.30</div>
-					</div>
-					<h4 class="ellipsis">최OO님 상담내역</h4>
-					<p class="ellipsis">[세종레이캐슬(25000)] 매수 신청</p>
-					<span>상담이 접수되었습니다.</span>
-				</a>
-			</li>
-			<li>
-				<a href="#inquiry_view"  data-toggle="modal">
-					<div class="info">
-						<div class="status done">상담완료</div>
-						<div class="date">20024.06.30</div>
-					</div>
-					<h4 class="ellipsis">주OOOOOOOO님 상담내역</h4>
-					<p class="ellipsis">[세종레이캐슬(25000)] 매수 완료</p>
-				</a>
-			</li>
-			<li>
-				<a href="#inquiry_view"  data-toggle="modal">
-					<div class="info">
-						<div class="status apply">상담접수</div>
-						<div class="date">20024.06.30</div>
-					</div>
-					<h4 class="ellipsis">최OO님 상담내역</h4>
-					<p class="ellipsis">[세종레이캐슬(25000)] 매수 신청</p>
-					<span>상담이 접수되었습니다.</span>
-				</a>
-			</li>
-			<li>
-				<a href="#inquiry_view"  data-toggle="modal">
-					<div class="info">
-						<div class="status done">상담완료</div>
-						<div class="date">20024.06.30</div>
-					</div>
-					<h4 class="ellipsis">주OOOOOOOO님 상담내역</h4>
-					<p class="ellipsis">[세종레이캐슬(25000)] 매수 완료</p>
-				</a>
-			</li>
-		</ul> -->
 
 		<!--페이지네이션 시작 -->
 		<div class="bottom-paginate">
@@ -203,12 +105,12 @@
             //console.log('contactUsCustom : ', contactUsCustom);
 
             if (contactUsCustom) {
-                var status = contactUsCustom['Pc7'] === '100' ? { class: 'apply', text: '상담접수' } : { class: 'done', text: '상담완료' };
+                var status = contactUsCustom['Pc7'] === '상담접수' ? { class: 'apply', text: '상담접수' } : { class: 'done', text: '상담완료' };
                 $('.modal-body .info .status').removeClass('done apply').addClass(status.class).text(status.text);
                 $('.modal-body .info .date').text(contactUsCustom['date']);
                 $('#transaction_type').text(contactUsCustom['Pc5']);
                 $('#membership_name').text(contactUsCustom['Pc3']);
-                $('#message').text(contactUsCustom['Pc7'] === '100' ? '상담이 접수되었습니다.' : '완료');
+                $('#message').text(contactUsCustom['Pc7'] === '상담접수' ? '상담이 접수되었습니다.' : '완료');
             }
 
             $("#inquiry_view_{{ $contactUsCustom['Id'] }}").modal('show');

+ 3 - 1
pro/resources/views/page/contactus-custom.blade.php

@@ -20,6 +20,9 @@
 			</div>
 
 			<div class="input_form">
+                <div>
+					<input type="hidden" name="Pc7" value="상담접수">
+				</div>
 				<div>
 					<label class="need">신청자 이름</label>
 					<input type="text" name="Pc1" value="{{ old('Pc1') }}" placeholder="이름을 입력해주세요." required>
@@ -51,7 +54,6 @@
 				<div>
 					<label class="need">회원권명</label>
 					<input type="text" name="Pc5" value="{{ old('Pc5', $postTitle ?? '') }}" placeholder="회원권명을 입력해주세요." required>
-
 				</div>
 				<div class="price">
 					<label class="need">희망 가격</label>

+ 74 - 23
pro/resources/views/page/sise.blade.php

@@ -4,8 +4,8 @@
 @php
     //var_dump($siseList['Page']);
     //var_dump($siseItems)
-    var_dump($area);
 @endphp
+
 <div class="sub golf">
 	<div class="container">
 		<div class="navi">
@@ -36,7 +36,6 @@
                 <li class="{{ request('area', 'all') === '300' ? 'active' : '' }}"><a href="{{ route('sise', [$siseType, '300']) }}">호남권</a></li>
 			</ul>
 			<div class="tab-content">
-				<!-- 골프 -->
 				<div class="tab-pane fade in active show">
 					<div class="tb_res tb_vertical">
 						<table cellspacing="0" cellpadding="0">
@@ -50,27 +49,29 @@
 									<th>상담</th>
 								</tr>
 							</thead>
-							<tbody>
+							<tbody id="sise-list">
                                 @forelse($siseItems['Page'] ?? [] as $sise)
                                     <tr>
-                                        <td scope="row "data-label="회원권명"> {{ $sise['PostTitle'] }} </td>
+                                        <td scope="row "data-label="{{ $sise['PostTitle'] }}"> {{ $sise['PostTitle'] }} </td>
                                         <td data-label="{{$sise['Pc3']}}"> {{ number_format($sise['Pc3']) }} </td>
                                         <td data-label="{{$sise['Pc4']}}"> {{ number_format($sise['Pc4']) }} </td>
-                                        <td data-label="등락" class="{{ ($sise['fluctuation'] ?? 0) >= 0 ? 'up' : 'down' }}">
-                                            <i class="fa-solid {{ ($sise['fluctuation'] ?? 0) >= 0 ? 'fa-sort-up' : 'fa-sort-down' }}"></i>
-                                            {{ number_format(abs($sise['fluctuation']) ?? 0) }}
+                                        <td data-label="등락" class="{{ isset($sise['fluctuation']) && $sise['fluctuation'] > 0 ? 'up' : (isset($sise['fluctuation']) && $sise['fluctuation'] < 0 ? 'down' : '') }}">
+                                            @if (isset($sise['fluctuation']) && $sise['fluctuation'] != 0)
+                                                <i class="fa-solid {{ $sise['fluctuation'] > 0 ? 'fa-sort-up' : 'fa-sort-down' }}"></i>
+                                                {{ number_format(abs($sise['fluctuation'])) }}
+                                            @else
+                                                {{ number_format(abs($sise['fluctuation'])) }}
+                                            @endif
                                         </td>
                                         <td data-label="상담신청">
                                             <button type="button" class="btn consult-btn"
-                                                    data-post-title="{{ $sise['PostTitle'] }}"
-                                                    data-pc1="{{ $sise['Pc1'] }}"
                                                     onclick="window.location.href = '{{ route('contactus-custom', [$sise['Pc1'], $sise['PostTitle']]) }}'">상담신청
                                             </button>
                                         </td>
                                     </tr>
                                 @empty
                                 <tr>
-                                    <td>데이터가 존재하지 않습니다</td>
+                                    <td colspan="5">회원권이 존재하지 않습니다</td>
                                 </tr>
                                 @endforelse
 							</tbody>
@@ -85,16 +86,13 @@
         <div class="row">
             <div class="col-lg-12">
                 <div class="bottom-paginate">
-
                     {{ $siseItems['Page']->appends(['limit' => request('limit'), 'sort' => request('sort')])->links() }}
                 </div>
             </div>
         </div>
         <!--// 페이지네이션 끝 -->
 	</div>
-
-
-	<!--// 시세 끝 -->
+    <!--// 시세 끝 -->
 
 </div>
 
@@ -107,17 +105,70 @@
         }
     });
 
-    function searchMemberShip(){
-        var membershipName = document.getElementById('membership-name').value;
-        console.log('membership-name : ', membershipName)
-        // var siseType = '{{ $siseType} }';
-        // var area = '{{ $area} }';
-
-        if (membershipName) {
-            window.location.href = `{{ route('sise', ['${siseType}', '${membershipName}']) }}`;
-        } else {
+    // 회원권 검색
+    function searchMemberShip() {
+        var membershipName = document.getElementById('membership-name').value.toLowerCase();
+        if (!membershipName) {
             alert('회원권명을 입력해주세요.');
+            return;
+        }
+        // console.log('siseList : ', siseList);
+        var filteredSiseList = siseList.filter(function(sise) {
+            return sise['PostTitle'].toLowerCase().includes(membershipName);
+        });
+
+        renderSiseList(filteredSiseList);
+    }
+    // 동적으로 tbody 생ㄱ성
+    function renderSiseList(siseList) {
+    var tbody = $('#sise-list');
+    tbody.empty(); // Clear existing rows
+    console.log('siseList.length : ', siseList.length);
+
+    if (siseList.length === 0) {
+        tbody.html('<tr><td colspan="5">회원권이 존재하지 않습니다.</td></tr>');
+        return;
+    }
+
+    siseList.forEach(function(sise) {
+        var fluctuationClass = '';
+        var fluctuationIcon = '';
+
+        if (sise['fluctuation'] > 0) {
+            fluctuationClass = 'up';
+            fluctuationIcon = 'fa-sort-up';
+        } else if (sise['fluctuation'] < 0) {
+            fluctuationClass = 'down';
+            fluctuationIcon = 'fa-sort-down';
         }
+
+        var fluctuationText = sise['fluctuation'] !== 0 ? `
+            <i class="fa-solid ${fluctuationIcon}"></i>
+            ${number_format(Math.abs(sise['fluctuation']))}
+        ` : `${number_format(sise['fluctuation'])}`;
+
+        var tr = $('<tr>');
+        tr.html(`
+            <td scope="row" data-label="${sise['PostTitle']}">${sise['PostTitle']}</td>
+            <td data-label="${sise['Pc3']}">${number_format(sise['Pc3'])}</td>
+            <td data-label="${sise['Pc4']}">${number_format(sise['Pc4'])}</td>
+            <td data-label="등락" class="${fluctuationClass}">
+                ${fluctuationText}
+            </td>
+            <td data-label="상담신청">
+                <button type="button" class="btn consult-btn"
+                        data-post-title="${sise['PostTitle']}"
+                        data-pc1="${sise['Pc1']}"
+                        onclick="window.location.href = '/contactus-custom/${sise['Pc1']}/${encodeURIComponent(sise['PostTitle'])}'">상담신청
+                </button>
+            </td>
+        `);
+        tbody.append(tr);
+    });
+}
+
+    function number_format(number) {
+        return new Intl.NumberFormat().format(number);
     }
 const siseList = {!! json_encode($siseList['Page']) !!}; // JavaScript에서 PHP 배열을 변환하여 변수에 할당
 </script>

+ 20 - 12
pro/routes/web.php

@@ -228,7 +228,6 @@ Route::middleware(['check.device.scale', 'check.gate.token'])->group(function ()
         return view('views.pos-solutions');
     })->name('pos-solutions.index');
 
-
     Route::get('/sso-solutions', function () {
         return view('views.sso-solutions');
     })->name('sso-solutions.index');
@@ -353,24 +352,34 @@ Route::middleware(['check.device.scale', 'check.gate.token'])->group(function ()
     // Route::get('/sise/{sisetype}/{area?}', [SiseController::class, 'index'])->name('sise');
     Route::get('/sise/{sisetype}/{area?}/{memberbershipname?}', [SiseController::class, 'index'])->name('sise');
 
-    Route::get('/contactus-custom/{sisetype?}/{postTitle?}', function($siseType = null, $postTitle = null) {
+    Route::get('/contactus-custom/{siseType?}/{postTitle?}', function($siseType = null, $postTitle = null) {
+        if (is_null($postTitle) && !is_null($siseType)) {
+            $postTitle = $siseType;
+            $siseType = null;
+        }
         return view('views.page.contactus-custom', [
             'siseType' => $siseType,
             'postTitle' => $postTitle,
         ]);
     })->name('contactus-custom');
 
-	Route::get('/golf', function() {
-        return view('views.page.golf');
-    })->name('golf');
+    Route::get('/load-more-sise', [IndexController::class, 'loadMoreSise'])->name('load.more.sise');
+
+    Route::get('/load-more-youtube', [IndexController::class, 'loadMoreYoutube'])->name('load.more.youtube');
+
+    Route::get('/load-more-blog', [IndexController::class, 'loadMoreBlog'])->name('load.more.blog');
 
-	Route::get('/condo', function() {
-        return view('views.page.condo');
-    })->name('condo');
+	// Route::get('/golf', function() {
+    //     return view('views.page.golf');
+    // })->name('golf');
 
-	Route::get('/fitness', function() {
-        return view('views.page.fitness');
-    })->name('fitness');
+	// Route::get('/condo', function() {
+    //     return view('views.page.condo');
+    // })->name('condo');
+
+	// Route::get('/fitness', function() {
+    //     return view('views.page.fitness');
+    // })->name('fitness');
 
 
     Route::get('/contactus-custom-list/{id?}', [ContactUsCustomController::class, 'index'])->name('contactus-custom-list');
@@ -381,7 +390,6 @@ Route::middleware(['check.device.scale', 'check.gate.token'])->group(function ()
 
     Route::get('/status-details/{id}', [\Themes\kbgolf\pro\app\Http\Controllers\Post\StatusController::class, 'show'])->name('status-details');
 
-
     Route::get('/about', function() {
         return view('views.page.about');
     })->name('about');

+ 2 - 1
qry/erp/list/list-type1/post/post-sise-input/plain.sql

@@ -4,7 +4,8 @@ select
 	mx.pc1 as c2,
 	mx.pc2 as c6,
 	mx.pc3 as c3,
-	mx.pc4 as c4
+	mx.pc4 as c4,
+    ABS(mx.pc3 - mx.pc4) AS c5
 from
 	pro_post as mx
 	inner join pro_post_type as pt on pt.id = mx.post_type_id

+ 13 - 0
qry/pro/list/list-type1/post/blog-taxo/plain.sql

@@ -0,0 +1,13 @@
+select
+	mx.id as id,
+	post_title as c1,
+	mx.pc1 as c2,
+	mx.pc2 as c6,
+	mx.pc3 as c3,
+	mx.pc4 as c4
+from
+	pro_post as mx
+	inner join pro_post_type as pt on pt.id = mx.post_type_id
+-- @where
+and pt.post_code = 'sise'
+-- @order

+ 8 - 0
qry/pro/list/list-type1/post/blog-taxo/plain_cnt.sql

@@ -0,0 +1,8 @@
+SELECT
+	count(*)
+from
+	pro_post as mx
+	inner join pro_post_type as pt on pt.id = mx.post_type_id
+-- @where
+and pt.post_code = 'sise'
+-- @order

+ 13 - 0
qry/pro/list/list-type1/post/sise-taxo/plain.sql

@@ -0,0 +1,13 @@
+select
+	mx.id as id,
+	post_title as c1,
+	mx.pc1 as c2,
+	mx.pc2 as c6,
+	mx.pc3 as c3,
+	mx.pc4 as c4
+from
+	pro_post as mx
+	inner join pro_post_type as pt on pt.id = mx.post_type_id
+-- @where
+and pt.post_code = 'sise'
+-- @order

+ 8 - 0
qry/pro/list/list-type1/post/sise-taxo/plain_cnt.sql

@@ -0,0 +1,8 @@
+SELECT
+	count(*)
+from
+	pro_post as mx
+	inner join pro_post_type as pt on pt.id = mx.post_type_id
+-- @where
+and pt.post_code = 'sise'
+-- @order

+ 9 - 0
qry/pro/list/list-type1/post/youtube-taxo/plain.sql

@@ -0,0 +1,9 @@
+select
+    mx.id as id,
+	mx.Pt1 as c1
+from
+	pro_post as mx
+	inner join pro_post_type as pt on pt.id = mx.post_type_id
+-- @where
+and pt.post_code like '%youtube'
+-- @order

+ 8 - 0
qry/pro/list/list-type1/post/youtube-taxo/plain_cnt.sql

@@ -0,0 +1,8 @@
+SELECT
+	count(*)
+from
+	pro_post as mx
+	inner join pro_post_type as pt on pt.id = mx.post_type_id
+-- @where
+and pt.post_code = 'sise'
+-- @order

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików