1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- @extends('views.layouts.master')
- @section('content')
- <!--inner Title Start -->
- <div class="sms_title_main_wrapper">
- <div class="container">
- <div class="row">
- <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
- <div class="sms_inner_title_heading full_width">
- <h2>{{ $title }}</h2>
- <ul>
- <li><a href="#">My Page</a> /</li>
- <li>{{ $title }}</li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- inner Title End -->
- <!-- tabOne section start -->
- <div class="tabOne ptb-100 policy-list">
- <div class="container">
- <div class="row"> @include('views.my-page.left-sidebar')
- <!-- /.col-md-2 -->
- <div class="col-xl-10 col-lg-10 col-md-10 col-sm-12 col-12">
- <div class="accordion" id="accordion1" role="tablist">
- <div class="card">
- <div class="card_pagee" role="tab" id="heading1">
- {{-- <div class="d-flex align-items-center justify-content-between mb-4">--}}
- {{-- <h3 class="mb-0">{{ $post['PostTitle'] }}</h3>--}}
- {{-- <span class="text-muted tw-text-xl collapsed">{{ DateTime::createFromFormat("Ymd" , $post['OfficialDate'])->format('Y-m-d') }} {{ $post['OfficialTime'] }}</span>--}}
- {{-- </div>--}}
- <h5 class="h5-md">
- <a class="" data-toggle="collapse" href="#collapseone" role="button" aria-expanded="true" aria-controls="collapseone">
- {{ $post['PostTitle'] }}
- <span class="text-muted tw-text-xl collapsed ml-2">{{ DateTime::createFromFormat("Ymd" , $post['OfficialDate'])->format('Y-m-d') }} {{ $post['OfficialTime'] }}</span>
- </a>
- </h5>
- </div>
- <div id="collapseone" class="collapse show" role="tabpanel" aria-labelledby="heading1" data-parent="#accordion1" style="">
- <div class="card-body">
- <div class="card_cntnt">
- <p>{!! $post['PostContents'] !!}</p>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- /.col-md-10 -->
- </div>
- <!-- /.row -->
- {{-- @php--}}
- {{-- switch ($post['PostTypeId'] ) {--}}
- {{-- case 11:--}}
- {{-- $routeName = 'my-page.policy.show';--}}
- {{-- break;--}}
- {{-- case 12:--}}
- {{-- $routeName = 'my-page.privacy.show';--}}
- {{-- break;--}}
- {{-- case 14:--}}
- {{-- $routeName = 'my-page.e-finance.show';--}}
- {{-- break;--}}
- {{-- case 15:--}}
- {{-- $routeName = 'my-page.refund.show';--}}
- {{-- break;--}}
- {{-- }--}}
- {{-- @endphp--}}
- {{-- @if (count($policyPage['Page']) - 1 > $currKey)--}}
- {{-- @php $beforePolicy = $policyPage['Page'][$currKey + 1]; @endphp--}}
- {{-- <div class="d-flex justify-content-end mt-1">--}}
- {{-- <a href="{{ route($routeName, $beforePolicy['PostSlug'] ?: $beforePolicy['Id']) }}" class="btn btn-outline-secondary before-police-btn">--}}
- {{-- {{ DateTime::createFromFormat("Ymd" , $beforePolicy['OfficialDate'])->format(__('Y년 m월 d일')) }} {{ $title }} @lang('보기')--}}
- {{-- </a>--}}
- {{-- </div>--}}
- {{-- @elseif (count($policyPage['Page']) > 1)--}}
- {{-- @php $beforePolicy = $policyPage['Page'][0]; @endphp--}}
- {{-- <div class="d-flex justify-content-end mt-1">--}}
- {{-- <a href="{{ route($routeName, $beforePolicy['PostSlug'] ?: $beforePolicy['Id']) }}" class="btn btn-outline-secondary before-police-btn">--}}
- {{-- {{ DateTime::createFromFormat("Ymd" , $beforePolicy['OfficialDate'])->format(__('Y년 m월 d일')) }} {{ $title }} @lang('보기')--}}
- {{-- </a>--}}
- {{-- </div>--}}
- {{-- @endif--}}
- </div>
- <!-- /.container -->
- </div>
- <!-- tabOne section end -->
- @endsection
|