Commit af3d66a6 by Bagus Pambudi

post berita jika tidak ada bahasa lain

parent 0db6c30d
@extends('webprofile.front.jollyany.master2')
@section('meta')
<title>{{$data->rSa->title}}</title>
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->rSa->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->rSa->keys }}">
<title>{{$data->rSa?$data->rSa->title:$data->title}}</title>
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->rSa?$data->rSa->content:$data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->rSa?$data->rSa->keys:$data->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
@endsection
@section('content')
......@@ -12,6 +12,8 @@
<div class="col-lg-12">
@if ($data->rSa)
<h2>{!! $data->rSa->title !!}</h2>
@else
<h2>{!! $data->title !!}</h2>
@endif
</div>
</div>
......@@ -28,10 +30,12 @@
<div class="blog-carousel-header">
@if ($data->rSa)
<h1>{!! $data->rSa->title !!}</h1>
@else
<h1>{!! $data->title !!}</h1>
@endif
<div class="blog-carousel-meta">
<span><i class="fa fa-calendar"></i>
<time title="{!! $data->post_data !!}" datetime="{!! $data->post_data !!}">{!! InseoHelper::tglbulanindo2($data->post_date) !!}</time> - kategori <a href="#">@if ($data->rCategory->rSa) {!! $data->rCategory->rSa->name !!} @endif</a></span>
<time title="{!! $data->post_data !!}" datetime="{!! $data->post_data !!}">{!! InseoHelper::tglbulanindo2($data->post_date) !!}</time> - kategori <a href="#">{!!$data->rCategory->rSa? $data->rCategory->rSa->name:$data->rCategory->name !!}</a></span>
<span><i class="fa fa-eye"></i> <a href="#">{!! $data->viewer !!} Views</a></span>
{{-- <span><i class="fa fa-user"></i> <a href="#">Redaksi</a></span> --}}
</div><!-- end blog-carousel-meta -->
......@@ -92,7 +96,8 @@
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="" href="https://telegram.me/share/url?url={!! url('post/'.$data->slug) !!}&amp;text={!! url($data->rZh->title) !!}" data-original-title="Telegram" style="background-color: #2ca5e0;"><i class="fa fa-location-arrow" style="color: white;"></i></a>
</span>
</div>
@else
{!! $data->content !!}
@endif
</div>
</div>
......
@extends('webprofile.front.jollyany.master2')
@section('meta')
<title>{{$data->rDe->title}}</title>
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->rDe->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->rDe->keys }}">
<title>{{$data->rDe?$data->rDe->title:$data->title}}</title>
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->rDe?$data->rDe->content:$data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->rDe?$data->rDe->keys:$data->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
@endsection
@section('content')
......@@ -12,6 +12,8 @@
<div class="col-lg-12">
@if ($data->rDe)
<h2>{!! $data->rDe->title !!}</h2>
@else
<h2>{!! $data->title !!}</h2>
@endif
</div>
</div>
......@@ -28,10 +30,12 @@
<div class="blog-carousel-header">
@if ($data->rDe)
<h1>{!! $data->rDe->title !!}</h1>
@else
<h1>{!! $data->title !!}</h1>
@endif
<div class="blog-carousel-meta">
<span><i class="fa fa-calendar"></i>
<time title="{!! $data->post_data !!}" datetime="{!! $data->post_data !!}">{!! InseoHelper::tglbulanindo2($data->post_date) !!}</time> - kategori <a href="#">@if ($data->rCategory->rDe) {!! $data->rCategory->rDe->name !!} @endif</a></span>
<time title="{!! $data->post_data !!}" datetime="{!! $data->post_data !!}">{!! InseoHelper::tglbulanindo2($data->post_date) !!}</time> - kategori <a href="#">{!!$data->rCategory->rDe? $data->rCategory->rDe->name:$data->rCategory->name !!}</a></span>
<span><i class="fa fa-eye"></i> <a href="#">{!! $data->viewer !!} Views</a></span>
{{-- <span><i class="fa fa-user"></i> <a href="#">Redaksi</a></span> --}}
</div><!-- end blog-carousel-meta -->
......@@ -65,36 +69,38 @@
</div>
@if ($data->rDe)
{!! $data->rDe->content !!}
@endif
<p>
<i><b>Share It On:</b></i> </p>
<div class="social-icons">
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Facebook" href="https://www.facebook.com/sharer.php?u={!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #1877f2;"><i class="fa fa-facebook" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Twitter" href="https://twitter.com/share?url={!! url('/') !!}&amp;text={!! url($data->rDe->title) !!}&amp;hashtags={!! $data->rCategory->rDe->name !!}" data-original-title="" style="background-color: #55acee;"><i class="fa fa-twitter" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Linkedin" href="http://www.linkedin.com/shareArticle?mini=true&amp;url={!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #007bb5;"><i class="fa fa-linkedin" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Email" href="mailto:?Subject={!! $data->rCategory->rDe->name !!}&amp;Body={!! url($data->rDe->title) !!} {!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #0166ff;"><i class="fa fa-envelope" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Whatsapp" href="https://wa.me/?text={!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #12af0a;"><i class="fa fa-phone" style="color: white;"></i></a>
</span>
<span class="last">
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="" href="https://telegram.me/share/url?url={!! url('post/'.$data->slug) !!}&amp;text={!! url($data->rDe->title) !!}" data-original-title="Telegram" style="background-color: #2ca5e0;"><i class="fa fa-location-arrow" style="color: white;"></i></a>
</span>
<i><b>Share It On:</b></i> </p>
<div class="social-icons">
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Facebook" href="https://www.facebook.com/sharer.php?u={!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #1877f2;"><i class="fa fa-facebook" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Twitter" href="https://twitter.com/share?url={!! url('/') !!}&amp;text={!! url($data->rDe->title) !!}&amp;hashtags={!! $data->rCategory->rDe->name !!}" data-original-title="" style="background-color: #55acee;"><i class="fa fa-twitter" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Linkedin" href="http://www.linkedin.com/shareArticle?mini=true&amp;url={!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #007bb5;"><i class="fa fa-linkedin" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Email" href="mailto:?Subject={!! $data->rCategory->rDe->name !!}&amp;Body={!! url($data->rDe->title) !!} {!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #0166ff;"><i class="fa fa-envelope" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Whatsapp" href="https://wa.me/?text={!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #12af0a;"><i class="fa fa-phone" style="color: white;"></i></a>
</span>
<span class="last">
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="" href="https://telegram.me/share/url?url={!! url('post/'.$data->slug) !!}&amp;text={!! url($data->rDe->title) !!}" data-original-title="Telegram" style="background-color: #2ca5e0;"><i class="fa fa-location-arrow" style="color: white;"></i></a>
</span>
</div>
@else
{!! $data->content !!}
@endif
</div>
</div>
</div>
</div>
</div>
......
@extends('webprofile.front.jollyany.master2')
@section('meta')
<title>{{$data->rEn->title}}</title>
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->rEn->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->rEn->keys }}">
<title>{{$data->rEn?$data->rEn->title:$data->title}}</title>
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->rEn?$data->rEn->content:$data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->rEn?$data->rEn->keys:$data->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
<link rel="alternate" hreflang="{{Session::get('selected_language')}}" href="{{ url('post/'.$data->slug) }}" />
<link rel="alternate" hreflang="en-us" href="{{ url('') }}" />
......@@ -16,6 +16,8 @@
<div class="col-lg-12">
@if ($data->rEn)
<h2>{!! $data->rEn->title !!}</h2>
@else
<h2>{!! $data->title !!}</h2>
@endif
</div>
</div>
......@@ -32,10 +34,12 @@
<div class="blog-carousel-header">
@if ($data->rEn)
<h1>{!! $data->rEn->title !!}</h1>
@else
<h1>{!! $data->title !!}</h1>
@endif
<div class="blog-carousel-meta">
<span><i class="fa fa-calendar"></i>
<time title="{!! $data->post_data !!}" datetime="{!! $data->post_data !!}">{!! InseoHelper::tglbulanindo2($data->post_date) !!}</time> - kategori <a href="#">@if ($data->rCategory->rEn) {!! $data->rCategory->rEn->name !!} @endif</a></span>
<time title="{!! $data->post_data !!}" datetime="{!! $data->post_data !!}">{!! InseoHelper::tglbulanindo2($data->post_date) !!}</time> - kategori <a href="#">{!!$data->rCategory->rEn? $data->rCategory->rEn->name:$data->rCategory->name !!}</a></span>
<span><i class="fa fa-eye"></i> <a href="#">{!! $data->viewer !!} Views</a></span>
{{-- <span><i class="fa fa-user"></i> <a href="#">Redaksi</a></span> --}}
</div><!-- end blog-carousel-meta -->
......@@ -96,7 +100,8 @@
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="" href="https://telegram.me/share/url?url={!! url('post/'.$data->slug) !!}&amp;text={!! url($data->rEn->title) !!}" data-original-title="Telegram" style="background-color: #2ca5e0;"><i class="fa fa-location-arrow" style="color: white;"></i></a>
</span>
</div>
@else
{!! $data->content !!}
@endif
</div>
</div>
......
@extends('webprofile.front.jollyany.master2')
<title>{!!$data->rZh->title!!}</title>
<title>{!!$data->rZh?$data->rZh->title:$data->title!!}</title>
@section('meta')
<title>{{$setting['web_title']}}</title>
<meta name="{{ Str::slug($data->rZh->title) }}" content="custom"/>
<meta name="{{ Str::slug($data->rZh?$data->rZh->title:$data->title) }}" content="custom"/>
<!-- <meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}"> -->
<meta name="description" content="{{$setting['web_title']}}">
<meta name="keywords" content="{{ $data->rZh->keys }}">
<meta name="keywords" content="{{ $data->rZh?$data->rZh->keys:$data->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
@endsection
@section('content')
......@@ -15,6 +15,8 @@
<div class="col-lg-12">
@if ($data->rZh)
<h2>{!! $data->rZh->title !!}</h2>
@else
<h2>{!! $data->title !!}</h2>
@endif
</div>
</div>
......@@ -31,10 +33,12 @@
<div class="blog-carousel-header">
@if ($data->rZh)
<h1>{!! $data->rZh->title !!}</h1>
@else
<h1>{!! $data->title !!}</h1>
@endif
<div class="blog-carousel-meta">
<span><i class="fa fa-calendar"></i>
<time title="{!! $data->post_data !!}" datetime="{!! $data->post_data !!}">{!! InseoHelper::tglbulanindo2($data->post_date) !!}</time> - kategori <a href="#">@if ($data->rCategory->rZh) {!! $data->rCategory->rZh->name !!} @endif</a></span>
<time title="{!! $data->post_data !!}" datetime="{!! $data->post_data !!}">{!! InseoHelper::tglbulanindo2($data->post_date) !!}</time> - kategori <a href="#">{!!$data->rCategory->rZh? $data->rCategory->rZh->name:$data->rCategory->name !!}</a></span>
<span><i class="fa fa-eye"></i> <a href="#">{!! $data->viewer !!} Views</a></span>
{{-- <span><i class="fa fa-user"></i> <a href="#">Redaksi</a></span> --}}
</div><!-- end blog-carousel-meta -->
......@@ -95,7 +99,8 @@
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="" href="https://telegram.me/share/url?url={!! url('post/'.$data->slug) !!}&amp;text={!! url($data->rZh->title) !!}" data-original-title="Telegram" style="background-color: #2ca5e0;"><i class="fa fa-location-arrow" style="color: white;"></i></a>
</span>
</div>
@else
{!! $data->content !!}
@endif
</div>
......
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