Commit 885a7701 by Bagus Pambudi

body atas atau bawah

parent e6c84f9d
......@@ -31,6 +31,27 @@
@endsection
@section('content')
@if(strtolower($setting['body_position']) == 'atas')
@if ($body->count() != 0)
<section class="panel-wrapper jt-shadow" style="padding-bottom: 25px;">
@foreach ($body as $value)
<div class="container">
<div class="general-title">
@if($value->rSa)
<h2>{!! $value->rSa->title_design !!}</h2>
<hr>
@endif
</div>
</div>
<!-- end container -->
@if($value->rSa)
{!! $value->rSa->value_design !!}
@endif
@endforeach
<div class="clearfix"></div>
</section>
@endif
@endif
<section class="blog-wrapper">
<div class="container">
<div id="content" class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
......@@ -198,6 +219,7 @@
</section><!--end white-wrapper -->
{{-- Label Body Tambahan --}}
@if(!isset($setting['body_position']) || strtolower($setting['body_position']) == 'bawah')
@if ($body->count() != 0)
<section class="panel-wrapper jt-shadow" style="padding-bottom: 25px;">
@foreach ($body as $value)
......@@ -217,6 +239,8 @@
<div class="clearfix"></div>
</section>
@endif
@endif
{{-- Label Gallery --}}
......
......@@ -31,6 +31,27 @@
@endsection
@section('content')
@if(strtolower($setting['body_position']) == 'atas')
@if ($body->count() != 0)
<section class="panel-wrapper jt-shadow" style="padding-bottom: 25px;">
@foreach ($body as $value)
<div class="container">
<div class="general-title">
@if($value->rDe)
<h2>{!! $value->rDe->title_design !!}</h2>
<hr>
@endif
</div>
</div>
<!-- end container -->
@if($value->rDe)
{!! $value->rDe->value_design !!}
@endif
@endforeach
<div class="clearfix"></div>
</section>
@endif
@endif
<section class="blog-wrapper">
<div class="container">
<div id="content" class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
......@@ -198,6 +219,7 @@
</section><!--end white-wrapper -->
{{-- Label Body Tambahan --}}
@if(!isset($setting['body_position']) || strtolower($setting['body_position']) == 'bawah')
@if ($body->count() != 0)
<section class="panel-wrapper jt-shadow" style="padding-bottom: 25px;">
@foreach ($body as $value)
......@@ -217,7 +239,7 @@
<div class="clearfix"></div>
</section>
@endif
@endif
{{-- Label Gallery --}}
@if ($gallery->count() != 0)
......
......@@ -10,6 +10,7 @@
@endsection
@section('slider')
<section class="slider-wrapper">
<div class="tp-banner-container">
<div class="tp-banner" >
......@@ -31,6 +32,27 @@
@endsection
@section('content')
@if(strtolower($setting['body_position']) == 'atas')
@if ($body->count() != 0)
<section class="panel-wrapper jt-shadow" style="padding-bottom: 25px;">
@foreach ($body as $value)
<div class="container">
<div class="general-title">
@if($value->rEn)
<h2>{!! $value->rEn->title_design !!}</h2>
<hr>
@endif
</div>
</div>
<!-- end container -->
@if($value->rEn)
{!! $value->rEn->value_design !!}
@endif
@endforeach
<div class="clearfix"></div>
</section>
@endif
@endif
<section class="blog-wrapper">
<div class="container">
<div id="content" class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
......@@ -198,6 +220,8 @@
</section><!--end white-wrapper -->
{{-- Label Body Tambahan --}}
@if(!isset($setting['body_position']) || strtolower($setting['body_position']) == 'bawah')
@if ($body->count() != 0)
<section class="panel-wrapper jt-shadow" style="padding-bottom: 25px;">
@foreach ($body as $value)
......@@ -217,7 +241,7 @@
<div class="clearfix"></div>
</section>
@endif
@endif
{{-- Label Gallery --}}
@if ($gallery->count() != 0)
......
......@@ -31,6 +31,23 @@
@endsection
@section('content')
@if(strtolower($setting['body_position']) == 'atas')
@if($body->count() != 0)
<section class="panel-wrapper jt-shadow" style="padding-bottom: 25px;">
@foreach ($body as $value)
<div class="container">
<div class="general-title">
<h2>{!! $value->title_design !!}</h2>
<hr>
</div>
</div>
<!-- end container -->
{!! $value->value_design !!}
@endforeach
<div class="clearfix"></div>
</section>
@endif
@endif
<section class="blog-wrapper">
<div class="container">
<div id="content" class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
......@@ -197,7 +214,8 @@
</section><!--end white-wrapper -->
{{-- Label Body Tambahan --}}
@if ($body->count() != 0)
@if(!isset($setting['body_position']) || strtolower($setting['body_position']) == 'bawah')
@if($body->count() != 0)
<section class="panel-wrapper jt-shadow" style="padding-bottom: 25px;">
@foreach ($body as $value)
<div class="container">
......@@ -212,6 +230,7 @@
<div class="clearfix"></div>
</section>
@endif
@endif
{{-- Label Gallery --}}
@if ($gallery->count() != 0)
......
......@@ -31,6 +31,27 @@
@endsection
@section('content')
@if(strtolower($setting['body_position']) == 'atas')
@if ($body->count() != 0)
<section class="panel-wrapper jt-shadow" style="padding-bottom: 25px;">
@foreach ($body as $value)
<div class="container">
<div class="general-title">
@if($value->rZh)
<h2>{!! $value->rZh->title_design !!}</h2>
<hr>
@endif
</div>
</div>
<!-- end container -->
@if($value->rZh)
{!! $value->rZh->value_design !!}
@endif
@endforeach
<div class="clearfix"></div>
</section>
@endif
@endif
<section class="blog-wrapper">
<div class="container">
<div id="content" class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
......@@ -89,7 +110,7 @@
<div class="pagination_wrapper">
<!-- Pagination Normal -->
<ul class="pagination">
{!! $posts->render() !!}
{!! $posts->rZhder() !!}
</ul>
</div><!-- end pagination_wrapper -->
......@@ -199,6 +220,7 @@
</section><!--end white-wrapper -->
{{-- Label Body Tambahan --}}
@if(!isset($setting['body_position']) || strtolower($setting['body_position']) == 'bawah')
@if ($body->count() != 0)
<section class="panel-wrapper jt-shadow" style="padding-bottom: 25px;">
@foreach ($body as $value)
......@@ -218,6 +240,7 @@
<div class="clearfix"></div>
</section>
@endif
@endif
{{-- Label Gallery --}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment