archive.blade.php 4.98 KB
Newer Older
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
      <h2 style="text-transform: capitalize;">{!! $title !!}</h2>
Bagus Pambudi committed
8 9 10 11
          <ul class="breadcrumb pull-right">
            <li><a href="{{'/'}}" style="text-transform: capitalize;">家</a></li>
            <li style="text-transform: capitalize;">类别</li>
        </ul>
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
      </div>
    </div>
  </section><!-- end post-wrapper-top -->

  <section class="blog-wrapper">
    <div class="container">
      <div class="row">
        <div id="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="">
                              <div class="flexslider">
                                @foreach($data as $value)
27
                                @if ($title != 'Agenda' && $title !='议程')
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
                                <div class="row">
          							        	<div class="headline">
                                    @if ($value->rZh)
                                      <h2><a  href="{!! url('post/'.$value->slug) !!}">{!! $value->rZh->title !!}</a></h2>
                                    @endif
          							        	</div>
							                     <div class="news-text">
            								          <div class="col-lg-4">
                                        <a  href="{!! url('post/'.str_replace(' ', '-', $value->title)) !!}">
                                          @if($value->thumbnail)
                                            @if ($setting['external_storage'] == 1)
                                            <img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/thumbnail/' . $value->thumbnail }}" style="max-width:200px" align="left" class="img-responsive">
                                            @else
                                            <img src="{{ url('/storage/thumbnail/' . $value->thumbnail) }}" style="max-width:200px" align="left" class="img-responsive">
                                            @endif
                                          @else
                                            <img style="max-width:200px" align="left" class="img-responsive" src="https://www.unesa.ac.id/assets/switcher/images/logo.png">
                                          @endif
                                        </a>
                                      </div>
                                      <strong>{!! InseoHelper::tglbulanindo2($value->post_date) !!}</strong>
                                      @if ($value->rZh)
                                      <p>{!! strip_tags(substr(html_entity_decode($value->rZh->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p>
                                      <br>
                                      @endif
53
                                      <a class="pull-right" style="padding-right: 20px;" href="{!! url('post/'.$value->slug) !!}">閱讀更多 &raquo;&raquo;</a>
54 55 56 57 58 59
							                      </div>
                                </div>
                                @else
                                <div class="row">
                                      <div class="headline">
                                          @if ($value->rZh)
60
                                          <h2><a target="_blank" href="{!! url('information/'.$value->slug) !!}">{!! $value->rZh->title !!}</a></h2>
61 62 63 64
                                          @endif
                                      </div>
                                    <div class="news-text">
                                      <strong> {!! InseoHelper::tglbulanindo2($value->event_date) !!}</strong> — 
65
                                      @if ($value->rZh)
66
                                      {!! strip_tags(substr(html_entity_decode($value->rZh->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}
67
                                      @endif
68
                                    <br><a class="pull-right" style="padding-right: 20px;" target="_blank" href="{!! url('information/'.$value->slug) !!}">
69
                                    閱讀更多 »»</a>
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
                                    </div>
                                </div>
                                @endif
                                @endforeach
									          </div>
                            <div class="clearfix"></div>
                            <hr>
                            {!! $data->render() !!}
                          </div><!-- end post-slider -->
                      </div><!-- end entry -->
                  </div><!-- end blog-carousel -->
        		  </div><!-- end blog-masonry -->
      	    </div><!-- end widget -->
          </div><!-- end left-sidebar -->
          @include('webprofile.front.jollyany.zh.widget')
        </div>
    </div><!-- end container -->
  </section><!--end white-wrapper -->
@endsection