Commit dc5f2abb by Siti Aisah

menambahkan widget information arab, jerman, cina

parent 136cc122
...@@ -114,16 +114,33 @@ ...@@ -114,16 +114,33 @@
<h2>جدول أعمال</h2> <h2>جدول أعمال</h2>
</div><!-- end title --> </div><!-- end title -->
<ul class="recent_posts_widget"> <ul class="recent_posts_widget">
@foreach($info as $value) @foreach($agenda as $value)
<li> <li>
<a href="{!! url('info/'.$value->slug) !!}"><img src="https://www.unesa.ac.id/assets/demos/logounesa.png" alt="">@if ($value->rSa) {!! $value->rSa->title !!} @endif</a> <a href="{!! url('info/'.$value->slug) !!}"><img src="https://www.unesa.ac.id/assets/demos/logounesa.png" alt="">@if ($value->rSa) {!! $value->rSa->title !!} @endif</a>
<a class="readmore" href="#">{!! InseoHelper::tglbulanindo2($value->event_date) !!}</a> <a class="readmore" href="#">{!! InseoHelper::tglbulanindo2($value->event_date) !!}</a>
</li> </li>
@endforeach @endforeach
</ul> </ul>
<a href="{!! url('agenda') !!}" class="btn btn-primary">انظر جدول الأعمال الكامل</a> <a href="{!! url('agendas') !!}" class="btn btn-primary">انظر جدول الأعمال الكامل</a>
</div><!-- end widget --> </div><!-- end widget -->
<div class="widget">
<div class="title">
<h2>كل المعلومات</h2>
</div><!-- end title -->
<ul class="recent_posts_widget">
@foreach($info as $value)
<li>
<a href="{!! url('information/'.$value->slug) !!}"><img src="https://www.unesa.ac.id/assets/demos/logounesa.png" alt="">@if ($value->rSa) {!! $value->rSa->title !!} @endif</a>
<a class="readmore" href="#">{!! InseoHelper::tglbulanindo2($value->event_date) !!}</a>
</li>
@endforeach
</ul>
<a href="{!! url('informations') !!}" class="btn btn-primary">انظر المعلومات الكاملة</a>
</div><!-- end widget -->
<div class="widget"> <div class="widget">
<div id="tabbed_widget" class="tabbable"> <div id="tabbed_widget" class="tabbable">
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
......
...@@ -114,16 +114,33 @@ ...@@ -114,16 +114,33 @@
<h2>AGENDA</h2> <h2>AGENDA</h2>
</div><!-- end title --> </div><!-- end title -->
<ul class="recent_posts_widget"> <ul class="recent_posts_widget">
@foreach($agenda as $value)
<li>
<a href="{!! url('agenda/'.$value->slug) !!}"><img src="https://www.unesa.ac.id/assets/demos/logounesa.png" alt="">@if ($value->rDe) {!! $value->rDe->title !!} @endif</a>
<a class="readmore" href="#">{!! InseoHelper::tglbulanindo2($value->event_date) !!}</a>
</li>
@endforeach
</ul>
<a href="{!! url('agendas') !!}" class="btn btn-primary">Siehe vollständige Agenda</a>
</div><!-- end widget -->
<div class="widget">
<div class="title">
<h2>Information</h2>
</div><!-- end title -->
<ul class="recent_posts_widget">
@foreach($info as $value) @foreach($info as $value)
<li> <li>
<a href="{!! url('info/'.$value->slug) !!}"><img src="https://www.unesa.ac.id/assets/demos/logounesa.png" alt="">@if ($value->rDe) {!! $value->rDe->title !!} @endif</a> <a href="{!! url('information/'.$value->slug) !!}"><img src="https://www.unesa.ac.id/assets/demos/logounesa.png" alt="">@if ($value->rDe) {!! $value->rDe->title !!} @endif</a>
<a class="readmore" href="#">{!! InseoHelper::tglbulanindo2($value->event_date) !!}</a> <a class="readmore" href="#">{!! InseoHelper::tglbulanindo2($value->event_date) !!}</a>
</li> </li>
@endforeach @endforeach
</ul> </ul>
<a href="{!! url('agenda') !!}" class="btn btn-primary">Siehe vollständige Agenda</a> <a href="{!! url('informations') !!}" class="btn btn-primary">Siehe vollständige Informationen</a>
</div><!-- end widget --> </div><!-- end widget -->
<div class="widget"> <div class="widget">
<div id="tabbed_widget" class="tabbable"> <div id="tabbed_widget" class="tabbable">
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
......
...@@ -65,7 +65,9 @@ ...@@ -65,7 +65,9 @@
</div> </div>
<div class="news-text"> <div class="news-text">
<strong> {!! InseoHelper::tglbulanindo2($value->event_date) !!}</strong> — <strong> {!! InseoHelper::tglbulanindo2($value->event_date) !!}</strong> —
{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!} @if ($value->rEn)
{!! strip_tags(substr(html_entity_decode($value->rEn->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}
@endif
<br><a class="pull-right" style="padding-right: 20px;" target="_blank" href="{!! url('information/'.$value->slug) !!}"> <br><a class="pull-right" style="padding-right: 20px;" target="_blank" href="{!! url('information/'.$value->slug) !!}">
Read more »»</a> Read more »»</a>
</div> </div>
......
...@@ -114,16 +114,34 @@ ...@@ -114,16 +114,34 @@
<h2>议程</h2> <h2>议程</h2>
</div><!-- end title --> </div><!-- end title -->
<ul class="recent_posts_widget"> <ul class="recent_posts_widget">
@foreach($agenda as $value)
<li>
<a href="{!! url('agenda/'.$value->slug) !!}"><img src="https://www.unesa.ac.id/assets/demos/logounesa.png" alt="">@if ($value->rZh) {!! $value->rZh->title !!} @endif</a>
<a class="readmore" href="#">{!! InseoHelper::tglbulanindo2($value->event_date) !!}</a>
</li>
@endforeach
</ul>
<a href="{!! url('agendas') !!}" class="btn btn-primary">查看完整议程</a>
</div><!-- end widget -->
<div class="widget">
<div class="title">
<h2>信息</h2>
</div><!-- end title -->
<ul class="recent_posts_widget">
@foreach($info as $value) @foreach($info as $value)
<li> <li>
<a href="{!! url('info/'.$value->slug) !!}"><img src="https://www.unesa.ac.id/assets/demos/logounesa.png" alt="">@if ($value->rZh) {!! $value->rZh->title !!} @endif</a> <a href="{!! url('information/'.$value->slug) !!}"><img src="https://www.unesa.ac.id/assets/demos/logounesa.png" alt="">@if ($value->rZh) {!! $value->rZh->title !!} @endif</a>
<a class="readmore" href="#">{!! InseoHelper::tglbulanindo2($value->event_date) !!}</a> <a class="readmore" href="#">{!! InseoHelper::tglbulanindo2($value->event_date) !!}</a>
</li> </li>
@endforeach @endforeach
</ul> </ul>
<a href="{!! url('agenda') !!}" class="btn btn-primary">查看完整议程</a> <a href="{!! url('informations') !!}" class="btn btn-primary">
查看完整信息</a>
</div><!-- end widget --> </div><!-- end widget -->
<div class="widget"> <div class="widget">
<div id="tabbed_widget" class="tabbable"> <div id="tabbed_widget" class="tabbable">
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
......
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