policy-or-privacy.blade.php 4.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. @extends('views.layouts.master')
  2. @section('content')
  3. <!--inner Title Start -->
  4. <div class="sms_title_main_wrapper">
  5. <div class="container">
  6. <div class="row">
  7. <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
  8. <div class="sms_inner_title_heading full_width">
  9. <h2>{{ $title }}</h2>
  10. <ul>
  11. <li><a href="#">My Page</a> &nbsp;&nbsp;&nbsp;/</li>
  12. <li>{{ $title }}</li>
  13. </ul>
  14. </div>
  15. </div>
  16. </div>
  17. </div>
  18. </div>
  19. <!-- inner Title End -->
  20. <!-- tabOne section start -->
  21. <div class="tabOne ptb-100 policy-list">
  22. <div class="container">
  23. <div class="row"> @include('views.my-page.left-sidebar')
  24. <!-- /.col-md-2 -->
  25. <div class="col-xl-10 col-lg-10 col-md-10 col-sm-12 col-12">
  26. <div class="accordion" id="accordion1" role="tablist">
  27. <div class="card">
  28. <div class="card_pagee" role="tab" id="heading1">
  29. {{-- <div class="d-flex align-items-center justify-content-between mb-4">--}}
  30. {{-- <h3 class="mb-0">{{ $post['PostTitle'] }}</h3>--}}
  31. {{-- <span class="text-muted tw-text-xl collapsed">{{ DateTime::createFromFormat("Ymd" , $post['OfficialDate'])->format('Y-m-d') }} {{ $post['OfficialTime'] }}</span>--}}
  32. {{-- </div>--}}
  33. <h5 class="h5-md">
  34. <a class="" data-toggle="collapse" href="#collapseone" role="button" aria-expanded="true" aria-controls="collapseone">
  35. {{ $post['PostTitle'] }}
  36. <span class="text-muted tw-text-xl collapsed ml-2">{{ DateTime::createFromFormat("Ymd" , $post['OfficialDate'])->format('Y-m-d') }} {{ $post['OfficialTime'] }}</span>
  37. </a>
  38. </h5>
  39. </div>
  40. <div id="collapseone" class="collapse show" role="tabpanel" aria-labelledby="heading1" data-parent="#accordion1" style="">
  41. <div class="card-body">
  42. <div class="card_cntnt">
  43. <p>{!! $post['PostContents'] !!}</p>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. </div>
  49. </div>
  50. <!-- /.col-md-10 -->
  51. </div>
  52. <!-- /.row -->
  53. {{-- @php--}}
  54. {{-- switch ($post['PostTypeId'] ) {--}}
  55. {{-- case 11:--}}
  56. {{-- $routeName = 'my-page.policy.show';--}}
  57. {{-- break;--}}
  58. {{-- case 12:--}}
  59. {{-- $routeName = 'my-page.privacy.show';--}}
  60. {{-- break;--}}
  61. {{-- case 14:--}}
  62. {{-- $routeName = 'my-page.e-finance.show';--}}
  63. {{-- break;--}}
  64. {{-- case 15:--}}
  65. {{-- $routeName = 'my-page.refund.show';--}}
  66. {{-- break;--}}
  67. {{-- }--}}
  68. {{-- @endphp--}}
  69. {{-- @if (count($policyPage['Page']) - 1 > $currKey)--}}
  70. {{-- @php $beforePolicy = $policyPage['Page'][$currKey + 1]; @endphp--}}
  71. {{-- <div class="d-flex justify-content-end mt-1">--}}
  72. {{-- <a href="{{ route($routeName, $beforePolicy['PostSlug'] ?: $beforePolicy['Id']) }}" class="btn btn-outline-secondary before-police-btn">--}}
  73. {{-- {{ DateTime::createFromFormat("Ymd" , $beforePolicy['OfficialDate'])->format(__('Y년 m월 d일')) }} {{ $title }} @lang('보기')--}}
  74. {{-- </a>--}}
  75. {{-- </div>--}}
  76. {{-- @elseif (count($policyPage['Page']) > 1)--}}
  77. {{-- @php $beforePolicy = $policyPage['Page'][0]; @endphp--}}
  78. {{-- <div class="d-flex justify-content-end mt-1">--}}
  79. {{-- <a href="{{ route($routeName, $beforePolicy['PostSlug'] ?: $beforePolicy['Id']) }}" class="btn btn-outline-secondary before-police-btn">--}}
  80. {{-- {{ DateTime::createFromFormat("Ymd" , $beforePolicy['OfficialDate'])->format(__('Y년 m월 d일')) }} {{ $title }} @lang('보기')--}}
  81. {{-- </a>--}}
  82. {{-- </div>--}}
  83. {{-- @endif--}}
  84. </div>
  85. <!-- /.container -->
  86. </div>
  87. <!-- tabOne section end -->
  88. @endsection