Commit 844daef4 by Bagus Pambudi

index custom ult

parent dea4077f
......@@ -48,12 +48,16 @@
<div class="clearfix"></div>
<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>
@endif
<hr>
<br>
</div>
<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="shop-left shop_item col-lg-6">
......@@ -76,6 +80,22 @@
<div class="shop-right col-lg-6">
<div class="title">
<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">
<span><i class="fa fa-calendar"></i> {!! InseoHelper::tglbulanindo2($value->post_date) !!}</span>
@if($value->comment_status)
......@@ -88,6 +108,8 @@
<div class="shop_desc">
<p>{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p>
</div><!-- end shop_desc -->
@endif
</div><!-- end shop-right -->
</div><!-- end row -->
@endforeach
......@@ -97,7 +119,7 @@
<div class="carousel_wrapper">
<div class="margin-top">
<div id="owl_shop_carousel" class="owl-carousel">
@foreach($posthome as $value)
@foreach($posts as $value)
<div class="shop_carousel">
<div class="shop_item">
<div class="entry">
......
......@@ -48,7 +48,11 @@
<div class="clearfix"></div>
<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>
@endif
<hr>
<br>
</div>
......@@ -76,6 +80,22 @@
<div class="shop-right col-lg-6">
<div class="title">
<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">
<span><i class="fa fa-calendar"></i> {!! InseoHelper::tglbulanindo2($value->post_date) !!}</span>
@if($value->comment_status)
......@@ -88,6 +108,8 @@
<div class="shop_desc">
<p>{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p>
</div><!-- end shop_desc -->
@endif
</div><!-- end shop-right -->
</div><!-- end row -->
@endforeach
......
......@@ -48,7 +48,11 @@
<div class="clearfix"></div>
<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>
@endif
<hr>
<br>
</div>
......@@ -76,6 +80,22 @@
<div class="shop-right col-lg-6">
<div class="title">
<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">
<span><i class="fa fa-calendar"></i> {!! InseoHelper::tglbulanindo2($value->post_date) !!}</span>
@if($value->comment_status)
......@@ -88,6 +108,8 @@
<div class="shop_desc">
<p>{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p>
</div><!-- end shop_desc -->
@endif
</div><!-- end shop-right -->
</div><!-- end row -->
@endforeach
......
......@@ -48,7 +48,11 @@
<div class="clearfix"></div>
<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>
@endif
<hr>
<br>
</div>
......@@ -76,6 +80,22 @@
<div class="shop-right col-lg-6">
<div class="title">
<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">
<span><i class="fa fa-calendar"></i> {!! InseoHelper::tglbulanindo2($value->post_date) !!}</span>
@if($value->comment_status)
......@@ -88,6 +108,8 @@
<div class="shop_desc">
<p>{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p>
</div><!-- end shop_desc -->
@endif
</div><!-- end shop-right -->
</div><!-- end row -->
@endforeach
......
......@@ -48,7 +48,11 @@
<div class="clearfix"></div>
<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>
@endif
<hr>
<br>
</div>
......@@ -76,6 +80,22 @@
<div class="shop-right col-lg-6">
<div class="title">
<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">
<span><i class="fa fa-calendar"></i> {!! InseoHelper::tglbulanindo2($value->post_date) !!}</span>
@if($value->comment_status)
......@@ -88,6 +108,8 @@
<div class="shop_desc">
<p>{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p>
</div><!-- end shop_desc -->
@endif
</div><!-- end shop-right -->
</div><!-- end row -->
@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