Commit 844daef4 by Bagus Pambudi

index custom ult

parent dea4077f
...@@ -48,12 +48,16 @@ ...@@ -48,12 +48,16 @@
<div class="clearfix"></div> <div class="clearfix"></div>
<div class="general-title padding-top"> <div class="general-title padding-top">
@if(isset($setting['ppid']) && strtolower($setting['ppid']) == 'ult')
<h2 style="text-transform: uppercase; color: #ffffff;">berita {{$setting['web_title']}}</h2>
@else
<h2 style="text-transform: uppercase; color: #606160;">berita {{$setting['web_title']}}</h2> <h2 style="text-transform: uppercase; color: #606160;">berita {{$setting['web_title']}}</h2>
@endif
<hr> <hr>
<br> <br>
</div> </div>
<div class="shop_wrapper col-lg-12 col-md-12 col-sm-12 col-xs-12"> <div class="shop_wrapper col-lg-12 col-md-12 col-sm-12 col-xs-12">
@foreach($posts as $value) @foreach($posthome as $value)
<div class="general_row"> <div class="general_row">
<div class="shop-left shop_item col-lg-6"> <div class="shop-left shop_item col-lg-6">
...@@ -76,6 +80,22 @@ ...@@ -76,6 +80,22 @@
<div class="shop-right col-lg-6"> <div class="shop-right col-lg-6">
<div class="title"> <div class="title">
<span class="price"> <span class="price">
@if(isset($setting['ppid']) && strtolower($setting['ppid']) == 'ult')
<a href="{!! url('post/'.$value->slug) !!}"><h2 style="color: #ffffff;">{{$value->title}}</h2></a>
</div><!-- end title -->
<div class="shop_desc">
<p style="color: #ffffff;">{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p>
</div><!-- end shop_desc -->
<div class="blog-carousel-meta">
<span style="color: #ffffff;"><i class="fa fa-calendar"></i> {!! InseoHelper::tglbulanindo2($value->post_date) !!}</span>
@if($value->comment_status)
<span><i class="fa fa-comment"></i> <a href="#">{!! $value->comment_count !!} Comments</a></span>
@endif
<span><i class="fa fa-eye"></i> <a href="#" style="color: #ffffff;" >{!! $value->viewer !!} Views</a></span>
</div><!-- end blog-carousel-meta -->
<br>
@else
<div class="blog-carousel-meta"> <div class="blog-carousel-meta">
<span><i class="fa fa-calendar"></i> {!! InseoHelper::tglbulanindo2($value->post_date) !!}</span> <span><i class="fa fa-calendar"></i> {!! InseoHelper::tglbulanindo2($value->post_date) !!}</span>
@if($value->comment_status) @if($value->comment_status)
...@@ -88,6 +108,8 @@ ...@@ -88,6 +108,8 @@
<div class="shop_desc"> <div class="shop_desc">
<p>{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p> <p>{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p>
</div><!-- end shop_desc --> </div><!-- end shop_desc -->
@endif
</div><!-- end shop-right --> </div><!-- end shop-right -->
</div><!-- end row --> </div><!-- end row -->
@endforeach @endforeach
...@@ -97,7 +119,7 @@ ...@@ -97,7 +119,7 @@
<div class="carousel_wrapper"> <div class="carousel_wrapper">
<div class="margin-top"> <div class="margin-top">
<div id="owl_shop_carousel" class="owl-carousel"> <div id="owl_shop_carousel" class="owl-carousel">
@foreach($posthome as $value) @foreach($posts as $value)
<div class="shop_carousel"> <div class="shop_carousel">
<div class="shop_item"> <div class="shop_item">
<div class="entry"> <div class="entry">
......
...@@ -48,7 +48,11 @@ ...@@ -48,7 +48,11 @@
<div class="clearfix"></div> <div class="clearfix"></div>
<div class="general-title padding-top"> <div class="general-title padding-top">
@if(isset($setting['ppid']) && strtolower($setting['ppid']) == 'ult')
<h2 style="text-transform: uppercase; color: #ffffff;">berita {{$setting['web_title']}}</h2>
@else
<h2 style="text-transform: uppercase; color: #606160;">berita {{$setting['web_title']}}</h2> <h2 style="text-transform: uppercase; color: #606160;">berita {{$setting['web_title']}}</h2>
@endif
<hr> <hr>
<br> <br>
</div> </div>
...@@ -76,6 +80,22 @@ ...@@ -76,6 +80,22 @@
<div class="shop-right col-lg-6"> <div class="shop-right col-lg-6">
<div class="title"> <div class="title">
<span class="price"> <span class="price">
@if(isset($setting['ppid']) && strtolower($setting['ppid']) == 'ult')
<a href="{!! url('post/'.$value->slug) !!}"><h2 style="color: #ffffff;">{{$value->title}}</h2></a>
</div><!-- end title -->
<div class="shop_desc">
<p style="color: #ffffff;">{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p>
</div><!-- end shop_desc -->
<div class="blog-carousel-meta">
<span style="color: #ffffff;"><i class="fa fa-calendar"></i> {!! InseoHelper::tglbulanindo2($value->post_date) !!}</span>
@if($value->comment_status)
<span><i class="fa fa-comment"></i> <a href="#">{!! $value->comment_count !!} Comments</a></span>
@endif
<span><i class="fa fa-eye"></i> <a href="#" style="color: #ffffff;" >{!! $value->viewer !!} Views</a></span>
</div><!-- end blog-carousel-meta -->
<br>
@else
<div class="blog-carousel-meta"> <div class="blog-carousel-meta">
<span><i class="fa fa-calendar"></i> {!! InseoHelper::tglbulanindo2($value->post_date) !!}</span> <span><i class="fa fa-calendar"></i> {!! InseoHelper::tglbulanindo2($value->post_date) !!}</span>
@if($value->comment_status) @if($value->comment_status)
...@@ -88,6 +108,8 @@ ...@@ -88,6 +108,8 @@
<div class="shop_desc"> <div class="shop_desc">
<p>{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p> <p>{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p>
</div><!-- end shop_desc --> </div><!-- end shop_desc -->
@endif
</div><!-- end shop-right --> </div><!-- end shop-right -->
</div><!-- end row --> </div><!-- end row -->
@endforeach @endforeach
......
...@@ -48,7 +48,11 @@ ...@@ -48,7 +48,11 @@
<div class="clearfix"></div> <div class="clearfix"></div>
<div class="general-title padding-top"> <div class="general-title padding-top">
@if(isset($setting['ppid']) && strtolower($setting['ppid']) == 'ult')
<h2 style="text-transform: uppercase; color: #ffffff;">berita {{$setting['web_title']}}</h2>
@else
<h2 style="text-transform: uppercase; color: #606160;">berita {{$setting['web_title']}}</h2> <h2 style="text-transform: uppercase; color: #606160;">berita {{$setting['web_title']}}</h2>
@endif
<hr> <hr>
<br> <br>
</div> </div>
...@@ -76,6 +80,22 @@ ...@@ -76,6 +80,22 @@
<div class="shop-right col-lg-6"> <div class="shop-right col-lg-6">
<div class="title"> <div class="title">
<span class="price"> <span class="price">
@if(isset($setting['ppid']) && strtolower($setting['ppid']) == 'ult')
<a href="{!! url('post/'.$value->slug) !!}"><h2 style="color: #ffffff;">{{$value->title}}</h2></a>
</div><!-- end title -->
<div class="shop_desc">
<p style="color: #ffffff;">{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p>
</div><!-- end shop_desc -->
<div class="blog-carousel-meta">
<span style="color: #ffffff;"><i class="fa fa-calendar"></i> {!! InseoHelper::tglbulanindo2($value->post_date) !!}</span>
@if($value->comment_status)
<span><i class="fa fa-comment"></i> <a href="#">{!! $value->comment_count !!} Comments</a></span>
@endif
<span><i class="fa fa-eye"></i> <a href="#" style="color: #ffffff;" >{!! $value->viewer !!} Views</a></span>
</div><!-- end blog-carousel-meta -->
<br>
@else
<div class="blog-carousel-meta"> <div class="blog-carousel-meta">
<span><i class="fa fa-calendar"></i> {!! InseoHelper::tglbulanindo2($value->post_date) !!}</span> <span><i class="fa fa-calendar"></i> {!! InseoHelper::tglbulanindo2($value->post_date) !!}</span>
@if($value->comment_status) @if($value->comment_status)
...@@ -88,6 +108,8 @@ ...@@ -88,6 +108,8 @@
<div class="shop_desc"> <div class="shop_desc">
<p>{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p> <p>{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p>
</div><!-- end shop_desc --> </div><!-- end shop_desc -->
@endif
</div><!-- end shop-right --> </div><!-- end shop-right -->
</div><!-- end row --> </div><!-- end row -->
@endforeach @endforeach
......
...@@ -48,7 +48,11 @@ ...@@ -48,7 +48,11 @@
<div class="clearfix"></div> <div class="clearfix"></div>
<div class="general-title padding-top"> <div class="general-title padding-top">
@if(isset($setting['ppid']) && strtolower($setting['ppid']) == 'ult')
<h2 style="text-transform: uppercase; color: #ffffff;">berita {{$setting['web_title']}}</h2>
@else
<h2 style="text-transform: uppercase; color: #606160;">berita {{$setting['web_title']}}</h2> <h2 style="text-transform: uppercase; color: #606160;">berita {{$setting['web_title']}}</h2>
@endif
<hr> <hr>
<br> <br>
</div> </div>
...@@ -76,6 +80,22 @@ ...@@ -76,6 +80,22 @@
<div class="shop-right col-lg-6"> <div class="shop-right col-lg-6">
<div class="title"> <div class="title">
<span class="price"> <span class="price">
@if(isset($setting['ppid']) && strtolower($setting['ppid']) == 'ult')
<a href="{!! url('post/'.$value->slug) !!}"><h2 style="color: #ffffff;">{{$value->title}}</h2></a>
</div><!-- end title -->
<div class="shop_desc">
<p style="color: #ffffff;">{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p>
</div><!-- end shop_desc -->
<div class="blog-carousel-meta">
<span style="color: #ffffff;"><i class="fa fa-calendar"></i> {!! InseoHelper::tglbulanindo2($value->post_date) !!}</span>
@if($value->comment_status)
<span><i class="fa fa-comment"></i> <a href="#">{!! $value->comment_count !!} Comments</a></span>
@endif
<span><i class="fa fa-eye"></i> <a href="#" style="color: #ffffff;" >{!! $value->viewer !!} Views</a></span>
</div><!-- end blog-carousel-meta -->
<br>
@else
<div class="blog-carousel-meta"> <div class="blog-carousel-meta">
<span><i class="fa fa-calendar"></i> {!! InseoHelper::tglbulanindo2($value->post_date) !!}</span> <span><i class="fa fa-calendar"></i> {!! InseoHelper::tglbulanindo2($value->post_date) !!}</span>
@if($value->comment_status) @if($value->comment_status)
...@@ -88,6 +108,8 @@ ...@@ -88,6 +108,8 @@
<div class="shop_desc"> <div class="shop_desc">
<p>{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p> <p>{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p>
</div><!-- end shop_desc --> </div><!-- end shop_desc -->
@endif
</div><!-- end shop-right --> </div><!-- end shop-right -->
</div><!-- end row --> </div><!-- end row -->
@endforeach @endforeach
......
...@@ -48,7 +48,11 @@ ...@@ -48,7 +48,11 @@
<div class="clearfix"></div> <div class="clearfix"></div>
<div class="general-title padding-top"> <div class="general-title padding-top">
@if(isset($setting['ppid']) && strtolower($setting['ppid']) == 'ult')
<h2 style="text-transform: uppercase; color: #ffffff;">berita {{$setting['web_title']}}</h2>
@else
<h2 style="text-transform: uppercase; color: #606160;">berita {{$setting['web_title']}}</h2> <h2 style="text-transform: uppercase; color: #606160;">berita {{$setting['web_title']}}</h2>
@endif
<hr> <hr>
<br> <br>
</div> </div>
...@@ -76,6 +80,22 @@ ...@@ -76,6 +80,22 @@
<div class="shop-right col-lg-6"> <div class="shop-right col-lg-6">
<div class="title"> <div class="title">
<span class="price"> <span class="price">
@if(isset($setting['ppid']) && strtolower($setting['ppid']) == 'ult')
<a href="{!! url('post/'.$value->slug) !!}"><h2 style="color: #ffffff;">{{$value->title}}</h2></a>
</div><!-- end title -->
<div class="shop_desc">
<p style="color: #ffffff;">{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p>
</div><!-- end shop_desc -->
<div class="blog-carousel-meta">
<span style="color: #ffffff;"><i class="fa fa-calendar"></i> {!! InseoHelper::tglbulanindo2($value->post_date) !!}</span>
@if($value->comment_status)
<span><i class="fa fa-comment"></i> <a href="#">{!! $value->comment_count !!} Comments</a></span>
@endif
<span><i class="fa fa-eye"></i> <a href="#" style="color: #ffffff;" >{!! $value->viewer !!} Views</a></span>
</div><!-- end blog-carousel-meta -->
<br>
@else
<div class="blog-carousel-meta"> <div class="blog-carousel-meta">
<span><i class="fa fa-calendar"></i> {!! InseoHelper::tglbulanindo2($value->post_date) !!}</span> <span><i class="fa fa-calendar"></i> {!! InseoHelper::tglbulanindo2($value->post_date) !!}</span>
@if($value->comment_status) @if($value->comment_status)
...@@ -88,6 +108,8 @@ ...@@ -88,6 +108,8 @@
<div class="shop_desc"> <div class="shop_desc">
<p>{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p> <p>{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p>
</div><!-- end shop_desc --> </div><!-- end shop_desc -->
@endif
</div><!-- end shop-right --> </div><!-- end shop-right -->
</div><!-- end row --> </div><!-- end row -->
@endforeach @endforeach
......
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