post.blade.php 3.48 KB
Newer Older
Aan Choesni Herlingga committed
1 2 3 4 5 6
@extends('webprofile.front.jollyany.master')

@section('content')
  <section class="post-wrapper-top jt-shadow clearfix">
    <div class="container">
      <div class="col-lg-12">
7
        @if ($data->rEn)
Aan Choesni Herlingga committed
8
          <h2>{!! $data->rEn->title !!}</h2>
9
        @endif
Aan Choesni Herlingga committed
10 11 12 13 14 15 16 17 18 19 20 21 22
      </div>
    </div>
  </section><!-- end post-wrapper-top -->

  <section class="blog-wrapper">
    <div class="container">
        <div class="row">
          <div id="main-content" class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
            <div class="row">
              <div class="blog-masonry">
                <div class="col-lg-12">
                  <div class="blog-carousel">
                    <div class="blog-carousel-header">
23
                      @if ($data->rEn)
Aan Choesni Herlingga committed
24
                      <h1>{!! $data->rEn->title !!}</h1>
25
                      @endif
Aan Choesni Herlingga committed
26 27
                      <div class="blog-carousel-meta">
                          <span><i class="fa fa-calendar"></i>
28
                          <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>
Aan Choesni Herlingga committed
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
                          <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 -->
                    </div><!-- end blog-carousel-header -->
                    <div class="blog-carousel-desc">
                      @if ($data->thumbnail)
                      @if($data->cover_status == 1)
                      <center>
                        @if ($setting['external_storage'] == 1)
                        <img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/thumbnail/' . $data->thumbnail }}" alt=""  style="max-width:708px">
                        @else
                        <img src="{{ url('/storage/thumbnail/' . $data->thumbnail) }}" alt=""  style="max-width:708px">
                        @endif
                      </center>
                      @endif
                      @endif
Aan Choesni Herlingga committed
45 46
                      <br>
                      <div class="widget col-md-4 pull-right related hidden-sm hidden-xs kaitan" style="margin-bottom: 5px;">
47
                        <h4 class="h4_kaitan"><strong>related news </strong></h4>
Aan Choesni Herlingga committed
48 49 50 51
                        <div class="isi_kaitan">
                          <div class="content_kaitan">
                              <ul class="ul_kaitan nav nav-tabs nav-stacked">
                                @foreach($terkait as $valTerkait)
52
                                @if ($valTerkait->rEn)
Aan Choesni Herlingga committed
53
                                <li><strong><a title="{!! $valTerkait->rEn->title !!}" href="{!! url('post/'.$valTerkait->slug) !!}">{!! $valTerkait->rEn->title !!}</a></strong></li>
54
                                @endif
Aan Choesni Herlingga committed
55 56 57 58 59
                                @endforeach
                              </ul>
                          </div>
                        </div>
                      </div>
60
                      @if ($data->rEn)
Aan Choesni Herlingga committed
61
                      {!! $data->rEn->content !!}
62
                      @endif
Aan Choesni Herlingga committed
63 64 65 66 67 68 69 70 71 72 73 74
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          @include('webprofile.front.jollyany.en.widget')
        </div>
    </div><!-- end container -->
  </section><!--end white-wrapper -->

@endsection