Commit e222b9cf by Siti Aisah
parents a6d40ad9 86d9ac63
......@@ -79,7 +79,7 @@ class PageController extends Controller
*/
public function store(Request $request)
{
$request['content'] = strip_tags($request->content, ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span']);
$request['content'] = strip_tags($request->content, ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span','style','h1','h2','h3','h4','h5','h6', 'thead', 'tbody']);
$request['title'] = strip_tags($request->title);
$request->validate([
'title' => 'required',
......@@ -121,7 +121,7 @@ class PageController extends Controller
$data['content'] = 'kosong';
}
$content = $trans->translate($this->SOURCE, $this->TARGET, strip_tags($data['content'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span']));
$content = $trans->translate($this->SOURCE, $this->TARGET, strip_tags($data['content'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span','style','h1','h2','h3','h4','h5','h6', 'thead', 'tbody']));
$dataEn['page_id'] = $page->id;
$dataEn['title'] = $title;
......@@ -139,7 +139,7 @@ class PageController extends Controller
$data['content'] = 'kosong';
}
$content = $trans->translate($this->SOURCE, $this->TARGETDE, strip_tags($data['content'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span']));
$content = $trans->translate($this->SOURCE, $this->TARGETDE, strip_tags($data['content'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span','style','h1','h2','h3','h4','h5','h6', 'thead', 'tbody']));
$dataDe['page_id'] = $page->id;
$dataDe['title'] = $title;
......@@ -157,7 +157,7 @@ class PageController extends Controller
$data['content'] = 'kosong';
}
$content = $trans->translate($this->SOURCE, $this->TARGETSA, strip_tags($data['content'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span']));
$content = $trans->translate($this->SOURCE, $this->TARGETSA, strip_tags($data['content'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span','style','h1','h2','h3','h4','h5','h6', 'thead', 'tbody']));
$dataSa['page_id'] = $page->id;
$dataSa['title'] = $title;
......@@ -175,7 +175,7 @@ class PageController extends Controller
$data['content'] = 'kosong';
}
$content = $trans->translate($this->SOURCE, $this->TARGETZH, strip_tags($data['content'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span']));
$content = $trans->translate($this->SOURCE, $this->TARGETZH, strip_tags($data['content'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span','style','h1','h2','h3','h4','h5','h6', 'thead', 'tbody']));
$dataZh['page_id'] = $page->id;
$dataZh['title'] = $title;
......@@ -241,11 +241,11 @@ class PageController extends Controller
*/
public function update(Request $request, $id)
{
$request['content'] = strip_tags($request->content, ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span']);
$request['content_en'] = strip_tags($request->content_en, ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span']);
$request['content_de'] = strip_tags($request->content_de, ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span']);
$request['content_sa'] = strip_tags($request->content_sa, ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span']);
$request['content_zh'] = strip_tags($request->content_zh, ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button','span']);
$request['content'] = strip_tags($request->content, ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span','style','h1','h2','h3','h4','h5','h6', 'thead', 'tbody']);
$request['content_en'] = strip_tags($request->content_en, ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span','style','h1','h2','h3','h4','h5','h6', 'thead', 'tbody']);
$request['content_de'] = strip_tags($request->content_de, ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span','style','h1','h2','h3','h4','h5','h6', 'thead', 'tbody']);
$request['content_sa'] = strip_tags($request->content_sa, ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span','style','h1','h2','h3','h4','h5','h6', 'thead', 'tbody']);
$request['content_zh'] = strip_tags($request->content_zh, ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button','span','style','h1','h2','h3','h4','h5','h6', 'thead', 'tbody']);
$request['title'] = strip_tags($request->title);
$request['title_en'] = strip_tags($request->title_en);
$request['title_de'] = strip_tags($request->title_de);
......@@ -294,7 +294,7 @@ class PageController extends Controller
{
if ($manual==1){
$dataEn['title'] = strip_tags($data['title_en']);
$dataEn['content'] = strip_tags($data['content_en'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span']);
$dataEn['content'] = strip_tags($data['content_en'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span','style','h1','h2','h3','h4','h5','h6', 'thead', 'tbody']);
}
else{
if ($data['content'] == null) {
......@@ -304,7 +304,7 @@ class PageController extends Controller
$trans = new GoogleTranslate();
$title = $trans->translate($this->SOURCE, $this->TARGET, strip_tags($data['title']));
if (strlen($data['content']) < 5000) {
$content = $trans->translate($this->SOURCE, $this->TARGET, strip_tags($data['content'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span']));
$content = $trans->translate($this->SOURCE, $this->TARGET, strip_tags($data['content'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span','style','h1','h2','h3','h4','h5','h6', 'thead', 'tbody']));
$dataEn['content'] = $content;
}
$dataEn['title'] = $title;
......@@ -317,7 +317,7 @@ class PageController extends Controller
{
if($manual==1){
$dataDe['title'] = strip_tags($data['title_de']);
$dataDe['content'] = strip_tags($data['content_de'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span']);
$dataDe['content'] = strip_tags($data['content_de'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span','style','h1','h2','h3','h4','h5','h6', 'thead', 'tbody']);
}
else{
if($data['content']==null){
......@@ -326,7 +326,7 @@ class PageController extends Controller
$trans = new GoogleTranslate();
$title = $trans->translate($this->SOURCE, $this->TARGETDE, strip_tags($data['title']));
if (strlen($data['content']) < 5000) {
$content = $trans->translate($this->SOURCE, $this->TARGETDE, strip_tags($data['content'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span']));
$content = $trans->translate($this->SOURCE, $this->TARGETDE, strip_tags($data['content'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span','style','h1','h2','h3','h4','h5','h6', 'thead', 'tbody']));
$dataDe['content'] = $content;
}
$dataDe['title'] = $title;
......@@ -339,7 +339,7 @@ class PageController extends Controller
{
if($manual==1){
$dataSa['title'] = strip_tags($data['title_sa']);
$dataSa['content'] = strip_tags($data['content_sa'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span']);
$dataSa['content'] = strip_tags($data['content_sa'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span','style','h1','h2','h3','h4','h5','h6', 'thead', 'tbody']);
}
else{
if($data['content']==null){
......@@ -349,7 +349,7 @@ class PageController extends Controller
$trans = new GoogleTranslate();
$title = $trans->translate($this->SOURCE, $this->TARGETSA, strip_tags($data['title']));
if (strlen($data['content']) < 5000) {
$content = $trans->translate($this->SOURCE, $this->TARGETSA, strip_tags($data['content'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span']));
$content = $trans->translate($this->SOURCE, $this->TARGETSA, strip_tags($data['content'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span','style','h1','h2','h3','h4','h5','h6', 'thead', 'tbody']));
$dataSa['content'] = $content;
}
$dataSa['title'] = $title;
......@@ -362,7 +362,7 @@ class PageController extends Controller
{
if($manual==1){
$dataZh['title'] = strip_tags($data['title_zh']);
$dataZh['content'] = strip_tags($data['content_zh'],['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span']);
$dataZh['content'] = strip_tags($data['content_zh'],['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span','style','h1','h2','h3','h4','h5','h6', 'thead', 'tbody']);
}
else{
if($data['content']==null){
......@@ -372,7 +372,7 @@ class PageController extends Controller
$trans = new GoogleTranslate();
$title = $trans->translate($this->SOURCE, $this->TARGETZH, strip_tags($data['title']));
if (strlen($data['content']) < 5000) {
$content = $trans->translate($this->SOURCE, $this->TARGETZH, strip_tags($data['content'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span']));
$content = $trans->translate($this->SOURCE, $this->TARGETZH, strip_tags($data['content'], ['a', 'br', 'p', '<b>', 'i', 'u', 'ul', 'li', 'ol', 'img', 'table', 'td', 'th', 'tr', 'iframe','section','small','button', 'span','style','h1','h2','h3','h4','h5','h6', 'thead', 'tbody']));
$dataZh['content'] = $content;
}
$dataZh['title'] = $title;
......
......@@ -69,7 +69,8 @@ class FrontController extends Controller
$quote = Design::where('name_design', 'quote')->get();
$widget_right = Design::where('name_design', 'widget_right')->orderBy('urutan', 'ASC')->get();
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
$body = Design::where('name_design', 'body')->where('title_show' , 't')->get();
$body = Design::where('name_design', 'body')->get();
// $body = Design::where('name_design', 'body')->where('title_show' , 't')->orderBy('urutan', 'ASC')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
$data = [
......
......@@ -52,6 +52,7 @@
</section>
@endif
@endif
@if(!isset($setting['default_content']) || strtolower($setting['default_content'] == 'tampil'))
<section class="blog-wrapper">
<div class="container">
<div id="content" class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
......@@ -129,7 +130,7 @@
</script>
<script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</div> --}}
<div class="widget">
<div class="title">
<h2>جدول أعمال</h2>
......@@ -145,7 +146,7 @@
<a href="{!! url('agendas') !!}" class="btn btn-primary">انظر جدول الأعمال الكامل</a>
</div><!-- end widget -->
<div class="widget">
<div class="title">
<h2>كل المعلومات</h2>
......@@ -160,8 +161,8 @@
</ul>
<a href="{!! url('informations') !!}" class="btn btn-primary">انظر المعلومات الكاملة</a>
</div><!-- end widget -->
<div class="widget">
<div id="tabbed_widget" class="tabbable">
<ul class="nav nav-tabs">
......@@ -212,12 +213,12 @@
<h2>{!! $vwidget_right->title_design !!}</h2>
</div><!-- end title -->
{!! $vwidget_right->value_design !!}
</div><!-- end widget -->
</div><!-- end widget -->
@endforeach
</div><!-- end content -->
</div><!-- end container -->
</section><!--end white-wrapper -->
@endif
{{-- Label Body Tambahan --}}
@if(!isset($setting['body_position']) || strtolower($setting['body_position']) == 'bawah')
@if ($body->count() != 0)
......@@ -244,7 +245,7 @@
{{-- Label Gallery --}}
@if(!isset($setting['gallery']) || strtolower($setting['gallery']) == '1' || strtolower($setting['gallery']) == 'on')
@if ($gallery->count() != 0)
<section class="panel-wrapper jt-shadow">
<div class="container">
......@@ -259,13 +260,13 @@
<div class="shop_carousel">
<div class="shop_item">
<div class="entry">
@if ($setting['external_storage'] == 1)
<img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $value->gallery }}" alt="" class="img-responsive">
@else
<img src="{{ url('/storage/gallery/' . $value->thumbnail) }}" alt="" class="img-responsive">
@endif
@endif
<div class="magnifier">
<div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $value->gallery }}" target="_blank">
......@@ -275,12 +276,12 @@
</div><!-- end buttons -->
</div><!-- end magnifier -->
</div><!-- end entry -->
</div><!-- end item -->
</div><!-- end shop carousel -->
@endforeach
</div><!-- end padding-top -->
</div><!-- end carousel_wrapper -->
</div><!-- end carousel_wrapper -->
</div>
<!-- end container -->{{--
<div class="portfolio_wrapper padding-top" style="position: relative; overflow: hidden; height: 372px;">
......@@ -345,7 +346,7 @@
</div>--}}
<div class="clearfix"></div>
</section>
@endif
@endif
@endif
<section class="make-bg-full">
......@@ -377,4 +378,4 @@
</ol>
</div>
</section><!-- make bg -->
@endsection
\ No newline at end of file
@endsection
......@@ -61,32 +61,32 @@
</ul>
</li>
@elseif($setting['layout_menu'] == 1)
<li class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle">{!! $value->rSa->name !!} <div class="arrow-up"></div></a>
<li class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle">@if ($value->rSa) {!! $value->rSa->name !!} @endif <div class="arrow-up"></div></a>
<ul class="dropdown-menu" role="menu">
@foreach ($menu as $valuec)
@if($valuec->parent == $value->id)
@if($valuec->url)
<li><a href="{!! url((string)$valuec->url) !!}">{!! $valuec->rSa->name !!}</a></li>
<li><a href="{!! url((string)$valuec->url) !!}">@if ($valuec->rSa) {!! $valuec->rSa->name !!} @endif</a></li>
@else
<li class="dropdown-submenu">
<b> <a href="#">{!! $valuec->name !!}</a> </b>
<b> <a href="#">@if ($valuec->rSa) {!! $valuec->rSa->name !!} @endif</a> </b>
<ul class="dropdown-menu">
@foreach ($menu as $valuec2)
@if($valuec2->parent == $valuec->id)
@if($valuec2->url)
<li><a href="{!! url((string)$valuec2->url) !!}">{!! $valuec2->rSa->name !!}</a></li>
<li><a href="{!! url((string)$valuec2->url) !!}">@if ($valuec2->rSa) {!! $valuec2->rSa->name !!} @endif</a></li>
@else
<li class="dropdown-submenu">
<b> <a href="#">{!! $valuec2->rSa->name !!}</a></b>
<b> <a href="#">@if ($valuec2->rSa) {!! $valuec2->rSa->name !!} @endif</a></b>
<ul class="dropdown-menu">
@foreach($menu as $valuec3)
@if($valuec3->parent == $valuec2->id)
<li><a href="{!! url((string)$valuec3->url) !!}" target="_blank">{!! $valuec3->rSa->name !!}</a></li>
<li><a href="{!! url((string)$valuec3->url) !!}" target="_blank">@if ($valuec3->rSa) {!! $valuec3->rSa->name !!} @endif</a></li>
@endif
......
......@@ -52,6 +52,7 @@
</section>
@endif
@endif
@if(!isset($setting['default_content']) || strtolower($setting['default_content'] == 'tampil'))
<section class="blog-wrapper">
<div class="container">
<div id="content" class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
......@@ -129,7 +130,7 @@
</script>
<script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</div> --}}
<div class="widget">
<div class="title">
<h2>AGENDA</h2>
......@@ -159,9 +160,9 @@
@endforeach
</ul>
<a href="{!! url('informations') !!}" class="btn btn-primary">Siehe vollständige Informationen</a>
</div><!-- end widget -->
</div><!-- end widget -->
<div class="widget">
<div id="tabbed_widget" class="tabbable">
<ul class="nav nav-tabs">
......@@ -212,12 +213,12 @@
<h2>{!! $vwidget_right->title_design !!}</h2>
</div><!-- end title -->
{!! $vwidget_right->value_design !!}
</div><!-- end widget -->
</div><!-- end widget -->
@endforeach
</div><!-- end content -->
</div><!-- end container -->
</section><!--end white-wrapper -->
@endif
{{-- Label Body Tambahan --}}
@if(!isset($setting['body_position']) || strtolower($setting['body_position']) == 'bawah')
@if ($body->count() != 0)
......@@ -242,7 +243,7 @@
@endif
{{-- Label Gallery --}}
@if(!isset($setting['gallery']) || strtolower($setting['gallery']) == '1' || strtolower($setting['gallery']) == 'on')
@if ($gallery->count() != 0)
<section class="panel-wrapper jt-shadow">
<div class="container">
......@@ -257,13 +258,13 @@
<div class="shop_carousel">
<div class="shop_item">
<div class="entry">
@if ($setting['external_storage'] == 1)
<img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $value->gallery }}" alt="" class="img-responsive">
@else
<img src="{{ url('/storage/gallery/' . $value->thumbnail) }}" alt="" class="img-responsive">
@endif
@endif
<div class="magnifier">
<div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $value->gallery }}" target="_blank">
......@@ -273,12 +274,12 @@
</div><!-- end buttons -->
</div><!-- end magnifier -->
</div><!-- end entry -->
</div><!-- end item -->
</div><!-- end shop carousel -->
@endforeach
</div><!-- end padding-top -->
</div><!-- end carousel_wrapper -->
</div><!-- end carousel_wrapper -->
</div>
<!-- end container -->{{--
<div class="portfolio_wrapper padding-top" style="position: relative; overflow: hidden; height: 372px;">
......@@ -343,7 +344,7 @@
</div>--}}
<div class="clearfix"></div>
</section>
@endif
@endif
@endif
<section class="make-bg-full">
......@@ -375,4 +376,4 @@
</ol>
</div>
</section><!-- make bg -->
@endsection
\ No newline at end of file
@endsection
......@@ -4,7 +4,7 @@
<!-- <link rel="stylesheet" href="https://cdn.datatables.net/1.10.24/css/jquery.dataTables.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.24/css/dataTables.bootstrap4.min.css"> -->
<link rel="stylesheet" href="{!! asset('backend/js/datatables.net-bs/css/dataTables.bootstrap.min.css') !!}">
{{-- <link rel="stylesheet" href="{!! asset('backend/js/datatables.net-bs/css/dataTables.bootstrap.min.css') !!}"> --}}
<style>
......@@ -82,15 +82,7 @@ tr.group:hover {
@endsection
@section('scripts')
<script src="{!!asset('backend/js/datatables.net/js/jquery.dataTables.min.js') !!}"></script>
<script src="{!!asset('backend/js/datatables.net-bs/js/dataTables.bootstrap.min.js') !!}"></script>
<!-- <script src="{!!asset('backend/js/datatables.net-bs/js/dataTables.bootstrap.min.js') !!}"></script> -->
<!-- <script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/dataTables.buttons.min.js') }}"></script>
<script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/buttons.bootstrap4.min.js') }}"></script>
<script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/buttons.colVis.min.js') }}"></script>
<script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/buttons.html5.min.js') }}"></script>
<script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/buttons.print.min.js') }}"></script> -->
<script>
// var url = "{{ route('download') }}";
......
......@@ -53,6 +53,7 @@
</section>
@endif
@endif
@if(!isset($setting['default_content']) || strtolower($setting['default_content'] == 'tampil'))
<section class="blog-wrapper">
<div class="container">
<div id="content" class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
......@@ -130,7 +131,7 @@
</script>
<script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</div> --}}
<div class="widget">
<div class="title">
<h2>AGENDA</h2>
......@@ -146,7 +147,7 @@
<a href="{!! url('agendas') !!}" class="btn btn-primary">See Full Agenda</a>
</div><!-- end widget -->
<div class="widget">
<div class="title">
<h2>Information</h2>
......@@ -213,14 +214,14 @@
<h2>{!! $vwidget_right->title_design !!}</h2>
</div><!-- end title -->
{!! $vwidget_right->value_design !!}
</div><!-- end widget -->
</div><!-- end widget -->
@endforeach
</div><!-- end content -->
</div><!-- end container -->
</section><!--end white-wrapper -->
@endif
{{-- Label Body Tambahan --}}
@if(!isset($setting['body_position']) || strtolower($setting['body_position']) == 'bawah')
@if ($body->count() != 0)
<section class="panel-wrapper jt-shadow" style="padding-bottom: 25px;">
......@@ -244,7 +245,7 @@
@endif
{{-- Label Gallery --}}
@if(!isset($setting['gallery']) || strtolower($setting['gallery']) == '1' || strtolower($setting['gallery']) == 'on')
@if ($gallery->count() != 0)
<section class="panel-wrapper jt-shadow">
<div class="container">
......@@ -259,13 +260,13 @@
<div class="shop_carousel">
<div class="shop_item">
<div class="entry">
@if ($setting['external_storage'] == 1)
<img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $value->gallery }}" alt="" class="img-responsive">
@else
<img src="{{ url('/storage/gallery/' . $value->thumbnail) }}" alt="" class="img-responsive">
@endif
@endif
<div class="magnifier">
<div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $value->gallery }}" target="_blank">
......@@ -275,12 +276,12 @@
</div><!-- end buttons -->
</div><!-- end magnifier -->
</div><!-- end entry -->
</div><!-- end item -->
</div><!-- end shop carousel -->
@endforeach
</div><!-- end padding-top -->
</div><!-- end carousel_wrapper -->
</div><!-- end carousel_wrapper -->
</div>
<!-- end container -->{{--
<div class="portfolio_wrapper padding-top" style="position: relative; overflow: hidden; height: 372px;">
......@@ -345,7 +346,7 @@
</div>--}}
<div class="clearfix"></div>
</section>
@endif
@endif
@endif
<section class="make-bg-full">
<div id="myCarousel" class="carousel slide" data-ride="carousel">
......@@ -376,4 +377,4 @@
</ol>
</div>
</section><!-- make bg -->
@endsection
\ No newline at end of file
@endsection
......@@ -48,14 +48,16 @@
</section>
@endif
@endif
<section class="blog-wrapper">
<div class="container">
<div id="content" class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
<div class="title">
<h2>Berita Terbaru
<div style="font-size:12px; float:right"><a href="{!! url('archive') !!}" class="btn btn-box"><i class="fa fa-chevron-circle-right"></i> lihat berita selengkapnya</a></div>
</h2>
</div><!-- end title -->
@if(!isset($setting['default_content']) || strtolower($setting['default_content'] == 'tampil'))
<section class="blog-wrapper">
<div class="container">
{{-- @if(!isset($setting['content']) || strtolower($setting['content'] == 'tampil')) --}}
<div id="content" class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
<div class="title">
<h2>Berita Terbaru
<div style="font-size:12px; float:right"><a href="{!! url('archive') !!}" class="btn btn-box"><i class="fa fa-chevron-circle-right"></i> lihat berita selengkapnya</a></div>
</h2>
</div><!-- end title -->
<div class="row">
<div class="blog-masonry">
......@@ -86,7 +88,7 @@
</div><!-- end blog-carousel-header -->
<div class="blog-carousel-desc">
{{-- <p>{!! substr(html_entity_decode($value->content),0 , 250) !!}</p> --}}
<p>{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</p>
<p>{!! substr(strip_tags(html_entity_decode($value->content,ENT_COMPAT,"UTF-8")),0 , 250) !!}</p>
{{-- <p>{!! $value->content !!}</p> --}}
</div><!-- end blog-carousel-desc -->
</div><!-- end blog-carousel -->
......@@ -95,124 +97,128 @@
@endforeach
</div><!-- end blog-masonry -->
<div class="clearfix"></div>
<hr>
<div class="clearfix"></div>
<div class="pagination_wrapper">
<!-- Pagination Normal -->
<ul class="pagination">
{!! $posts->render() !!}
</ul>
</div><!-- end pagination_wrapper -->
<hr>
</div><!-- end row -->
</div><!-- end content -->
<div class="pagination_wrapper">
<!-- Pagination Normal -->
<ul class="pagination">
{!! $posts->render() !!}
</ul>
</div><!-- end pagination_wrapper -->
<div id="sidebar" class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
{{-- <div class="widget">
<div id="google_translate_element"></div>
<script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'id'
}, 'google_translate_element');
}
</script>
<script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</div> --}}
</div><!-- end row -->
</div><!-- end content -->
{{-- @endif --}}
<div class="widget">
<div class="title">
<h2>Agenda</h2>
</div><!-- end title -->
<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="">{!! $value->title !!}</a>
<a class="readmore" href="#">{!! InseoHelper::tglbulanindo2($value->event_date) !!}</a>
</li>
@endforeach
</ul>
<a href="{!! url('agendas') !!}" class="btn btn-primary">Lihat Agenda Selengkapnya</a>
</div><!-- end widget -->
<div class="widget">
<div class="title">
<h2>Pengumuman</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="">{!! $value->title !!}</a>
<a class="readmore" href="#">{!! InseoHelper::tglbulanindo2($value->event_date) !!}</a>
</li>
@endforeach
</ul>
<a href="{!! url('informations') !!}" class="btn btn-primary">Lihat Pengumuman Selengkapnya</a>
</div><!-- end widget -->
{{-- @if(!isset($setting['sidebar']) || strtolower($setting['sidebar'] == 'tampil')) --}}
<div id="sidebar" class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
{{-- <div class="widget">
<div id="google_translate_element"></div>
<script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'id'
}, 'google_translate_element');
}
</script>
<script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</div> --}}
<div class="widget">
<div id="tabbed_widget" class="tabbable">
<ul class="nav nav-tabs">
<li class="active"><a href="#recent" data-toggle="tab">Terbaru</a></li>
<li><a href="#new" data-toggle="tab">Populer</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="recent">
<div class="widget">
<div class="title">
<h2>Agenda</h2>
</div><!-- end title -->
<ul class="recent_posts_widget">
@foreach($resend as $value)
@foreach($agenda as $value)
<li>
<a href="{!! url('post/'.$value->slug) !!}">
@if($value->thumbnail)
@if ($setting['external_storage'] == 1)
<img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/thumbnail/' . $value->thumbnail }}" alt="" class="img-responsive">
@else
<img src="{{ url('/storage/thumbnail/' . $value->thumbnail) }}" alt="" class="img-responsive">
@endif
@endif{!! $value->title !!}
</a>
<a class="readmore" href="{!! url('post/'.$value->slug) !!}">
{!! InseoHelper::tglbulanindo2($value->post_date) !!}
</a>
<a href="{!! url('agenda/'.$value->slug) !!}"><img src="https://www.unesa.ac.id/assets/demos/logounesa.png" alt="">{!! $value->title !!}</a>
<a class="readmore" href="#">{!! InseoHelper::tglbulanindo2($value->event_date) !!}</a>
</li>
@endforeach
</ul><!-- recent posts -->
</div>
<div class="tab-pane" id="new">
</ul>
<a href="{!! url('agendas') !!}" class="btn btn-primary">Lihat Agenda Selengkapnya</a>
</div><!-- end widget -->
<div class="widget">
<div class="title">
<h2>Pengumuman</h2>
</div><!-- end title -->
<ul class="recent_posts_widget">
@foreach($hot as $value)
<li>
<a href="{!! url('post/'.$value->slug) !!}">
@if($value->thumbnail)
@if ($setting['external_storage'] == 1)
<img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/thumbnail/' . $value->thumbnail }}" alt="" class="img-responsive" style="height: 150px; width: auto;">
@else
<img src="{{ url('/storage/thumbnail/' . $value->thumbnail) }}" alt="" class="img-responsive" style="height: 150px; width: auto;">
@endif
@endif{!! $value->title !!}
</a>
<a class="readmore" href="{!! url('post/'.$value->slug) !!}">{!! InseoHelper::tglbulanindo2($value->post_date) !!}</a>
</li>
@endforeach
</ul><!-- recent posts -->
</div>
</div><!-- end tab content -->
</div><!-- end tab pane -->
</div><!-- end widget -->
@foreach($info as $value)
<li>
<a href="{!! url('information/'.$value->slug) !!}"><img src="https://www.unesa.ac.id/assets/demos/logounesa.png" alt="">{!! $value->title !!}</a>
<a class="readmore" href="#">{!! InseoHelper::tglbulanindo2($value->event_date) !!}</a>
</li>
@endforeach
</ul>
<a href="{!! url('informations') !!}" class="btn btn-primary">Lihat Pengumuman Selengkapnya</a>
</div><!-- end widget -->
<div class="widget">
<div id="tabbed_widget" class="tabbable">
<ul class="nav nav-tabs">
<li class="active"><a href="#recent" data-toggle="tab">Terbaru</a></li>
<li><a href="#new" data-toggle="tab">Populer</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="recent">
<ul class="recent_posts_widget">
@foreach($resend as $value)
<li>
<a href="{!! url('post/'.$value->slug) !!}">
@if($value->thumbnail)
@if ($setting['external_storage'] == 1)
<img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/thumbnail/' . $value->thumbnail }}" alt="" class="img-responsive">
@else
<img src="{{ url('/storage/thumbnail/' . $value->thumbnail) }}" alt="" class="img-responsive">
@endif
@endif{!! $value->title !!}
</a>
<a class="readmore" href="{!! url('post/'.$value->slug) !!}">
{!! InseoHelper::tglbulanindo2($value->post_date) !!}
</a>
</li>
@endforeach
</ul><!-- recent posts -->
</div>
<div class="tab-pane" id="new">
<ul class="recent_posts_widget">
@foreach($hot as $value)
<li>
<a href="{!! url('post/'.$value->slug) !!}">
@if($value->thumbnail)
@if ($setting['external_storage'] == 1)
<img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/thumbnail/' . $value->thumbnail }}" alt="" class="img-responsive" style="height: 150px; width: auto;">
@else
<img src="{{ url('/storage/thumbnail/' . $value->thumbnail) }}" alt="" class="img-responsive" style="height: 150px; width: auto;">
@endif
@endif{!! $value->title !!}
</a>
<a class="readmore" href="{!! url('post/'.$value->slug) !!}">{!! InseoHelper::tglbulanindo2($value->post_date) !!}</a>
</li>
@endforeach
</ul><!-- recent posts -->
</div>
</div><!-- end tab content -->
</div><!-- end tab pane -->
</div><!-- end widget -->
@foreach ($widget_right as $vwidget_right)
<div class="widget">
<div class="title">
<h2>{!! $vwidget_right->title_design !!}</h2>
</div><!-- end title -->
{!! $vwidget_right->value_design !!}
</div><!-- end widget -->
@endforeach
</div><!-- end sidebar -->
{{-- @endif --}}
</div><!-- end container -->
</section><!--end white-wrapper -->
@endif
@foreach ($widget_right as $vwidget_right)
<div class="widget">
<div class="title">
<h2>{!! $vwidget_right->title_design !!}</h2>
</div><!-- end title -->
{!! $vwidget_right->value_design !!}
</div><!-- end widget -->
@endforeach
</div><!-- end content -->
</div><!-- end container -->
</section><!--end white-wrapper -->
{{-- Label Body Tambahan --}}
@if(!isset($setting['body_position']) || strtolower($setting['body_position']) == 'bawah')
@if($body->count() != 0)
......@@ -248,13 +254,13 @@
<div class="shop_carousel">
<div class="shop_item">
<div class="entry">
@if ($setting['external_storage'] == 1)
<img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $value->gallery }}" alt="" class="img-responsive">
@else
<img src="{{ url('/storage/gallery/' . $value->thumbnail) }}" alt="" class="img-responsive">
@endif
@endif
<div class="magnifier">
<div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $value->gallery }}" target="_blank">
......@@ -264,12 +270,12 @@
</div><!-- end buttons -->
</div><!-- end magnifier -->
</div><!-- end entry -->
</div><!-- end item -->
</div><!-- end shop carousel -->
@endforeach
</div><!-- end padding-top -->
</div><!-- end carousel_wrapper -->
</div><!-- end carousel_wrapper -->
</div>
<!-- end container -->{{--
<div class="portfolio_wrapper padding-top" style="position: relative; overflow: hidden; height: 372px;">
......@@ -334,7 +340,7 @@
</div>--}}
<div class="clearfix"></div>
</section>
@endif
@endif
@endif
<section class="make-bg-full">
......@@ -347,7 +353,7 @@
<div class="long-twitter">
@if($value->title_show == true)
<p class="lead">
{!! $value->value_design !!}
<div style="text-align: center; font-size: 14pt;">{!! $value->title_design !!}</div>
</p>
......@@ -367,4 +373,4 @@
</ol>
</div>
</section><!-- make bg -->
@endsection
\ No newline at end of file
@endsection
......@@ -85,7 +85,7 @@
<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>
<p style="color: #ffffff;">{!! substr(strip_tags(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>
......
......@@ -113,7 +113,8 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
<!-- SLIDER REVOLUTION 4.x CSS SETTINGS -->
<link rel="stylesheet" type="text/css" href="https://statik.unesa.ac.id/profileunesa_konten_statik/front/rs-plugin/css/settings.css" media="screen" />
{{-- datatables --}}
<link rel="stylesheet" href="{!! asset('backend/js/datatables.net-bs/css/dataTables.bootstrap.min.css') !!}">
@yield('assets')
</head>
<body>
......@@ -251,7 +252,6 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- SLIDER REVOLUTION 4.x SCRIPTS -->
<script type="text/javascript" src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/rs-plugin/js/jquery.themepunch.plugins.min.js"></script>
<script type="text/javascript" src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/rs-plugin/js/jquery.themepunch.revolution.min.js"></script>
@yield('scripts')
<script src="https://www.unesa.ac.id/assets/js/jquery.prettyPhoto.js"></script>
<script type="text/javascript">
(function($) {
......@@ -307,5 +307,19 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script type="text/javascript" src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/switcher/js/fswit.js"></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/switcher/js/bootstrap-select.js"></script>
<script src="{!!asset('backend/js/datatables.net/js/jquery.dataTables.min.js') !!}"></script>
<script src="{!!asset('backend/js/datatables.net-bs/js/dataTables.bootstrap.min.js') !!}"></script>
<!-- <script src="{!!asset('backend/js/datatables.net-bs/js/dataTables.bootstrap.min.js') !!}"></script> -->
<!-- <script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/dataTables.buttons.min.js') }}"></script>
<script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/buttons.bootstrap4.min.js') }}"></script>
<script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/buttons.colVis.min.js') }}"></script>
<script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/buttons.html5.min.js') }}"></script>
<script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/buttons.print.min.js') }}"></script> -->
@yield('scripts')
</body>
</html>
......@@ -97,6 +97,8 @@
<!-- SLIDER REVOLUTION 4.x CSS SETTINGS -->
<link rel="stylesheet" type="text/css" href="https://statik.unesa.ac.id/profileunesa_konten_statik/front/rs-plugin/css/settings.css" media="screen" />
{{-- datatables --}}
<link rel="stylesheet" href="{!! asset('backend/js/datatables.net-bs/css/dataTables.bootstrap.min.css') !!}">
@yield('assets')
</head>
......@@ -231,7 +233,7 @@
<!-- SLIDER REVOLUTION 4.x SCRIPTS -->
<script type="text/javascript" src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/rs-plugin/js/jquery.themepunch.plugins.min.js"></script>
<script type="text/javascript" src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/rs-plugin/js/jquery.themepunch.revolution.min.js"></script>
@yield('scripts')
<script src="https://www.unesa.ac.id/assets/js/jquery.prettyPhoto.js"></script>
<script type="text/javascript">
(function($) {
......@@ -287,5 +289,17 @@
<script type="text/javascript" src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/switcher/js/fswit.js"></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/switcher/js/bootstrap-select.js"></script>
<script src="{!!asset('backend/js/datatables.net/js/jquery.dataTables.min.js') !!}"></script>
<script src="{!!asset('backend/js/datatables.net-bs/js/dataTables.bootstrap.min.js') !!}"></script>
<!-- <script src="{!!asset('backend/js/datatables.net-bs/js/dataTables.bootstrap.min.js') !!}"></script> -->
<!-- <script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/dataTables.buttons.min.js') }}"></script>
<script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/buttons.bootstrap4.min.js') }}"></script>
<script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/buttons.colVis.min.js') }}"></script>
<script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/buttons.html5.min.js') }}"></script>
<script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/buttons.print.min.js') }}"></script> -->
@yield('scripts')
</body>
</html>
......@@ -36,3 +36,14 @@
</div><!-- end container -->
</section><!--end white-wrapper -->
@endsection
@section('scripts')
<script>
$(document).ready(function() {
var table1 = $('.data-table-ori').DataTable();
} );
</script>
@stop
\ No newline at end of file
......@@ -52,6 +52,7 @@
</section>
@endif
@endif
@if(!isset($setting['default_content']) || strtolower($setting['default_content'] == 'tampil'))
<section class="blog-wrapper">
<div class="container">
<div id="content" class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
......@@ -129,7 +130,7 @@
</script>
<script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</div> --}}
<div class="widget">
<div class="title">
<h2>议程</h2>
......@@ -145,7 +146,7 @@
<a href="{!! url('agendas') !!}" class="btn btn-primary">查看完整议程</a>
</div><!-- end widget -->
<div class="widget">
<div class="title">
<h2>信息</h2>
......@@ -160,9 +161,9 @@
</ul>
<a href="{!! url('informations') !!}" class="btn btn-primary">
查看完整信息</a>
</div><!-- end widget -->
</div><!-- end widget -->
<div class="widget">
<div id="tabbed_widget" class="tabbable">
<ul class="nav nav-tabs">
......@@ -213,12 +214,12 @@
<h2>{!! $vwidget_right->title_design !!}</h2>
</div><!-- end title -->
{!! $vwidget_right->value_design !!}
</div><!-- end widget -->
</div><!-- end widget -->
@endforeach
</div><!-- end content -->
</div><!-- end container -->
</section><!--end white-wrapper -->
@endif
{{-- Label Body Tambahan --}}
@if(!isset($setting['body_position']) || strtolower($setting['body_position']) == 'bawah')
@if ($body->count() != 0)
......@@ -244,7 +245,7 @@
{{-- Label Gallery --}}
@if(!isset($setting['gallery']) || strtolower($setting['gallery']) == '1' || strtolower($setting['gallery']) == 'on')
@if ($gallery->count() != 0)
<section class="panel-wrapper jt-shadow">
<div class="container">
......@@ -259,13 +260,13 @@
<div class="shop_carousel">
<div class="shop_item">
<div class="entry">
@if ($setting['external_storage'] == 1)
<img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $value->gallery }}" alt="" class="img-responsive">
@else
<img src="{{ url('/storage/gallery/' . $value->thumbnail) }}" alt="" class="img-responsive">
@endif
@endif
<div class="magnifier">
<div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $value->gallery }}" target="_blank">
......@@ -275,12 +276,12 @@
</div><!-- end buttons -->
</div><!-- end magnifier -->
</div><!-- end entry -->
</div><!-- end item -->
</div><!-- end shop carousel -->
@endforeach
</div><!-- end padding-top -->
</div><!-- end carousel_wrapper -->
</div><!-- end carousel_wrapper -->
</div>
<!-- end container -->{{--
<div class="portfolio_wrapper padding-top" style="position: relative; overflow: hidden; height: 372px;">
......@@ -345,7 +346,7 @@
</div>--}}
<div class="clearfix"></div>
</section>
@endif
@endif
@endif
<section class="make-bg-full">
......@@ -377,4 +378,4 @@
</ol>
</div>
</section><!-- make bg -->
@endsection
\ No newline at end of file
@endsection
......@@ -61,12 +61,14 @@
</ul>
</li>
@elseif($setting['layout_menu'] == 1)
<li class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle">{!! $value->rZh->name !!} <div class="arrow-up"></div></a>
<li class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle">@if ($value->rZh) {!! $value->rZh->name !!} @endif <div class="arrow-up"></div></a>
<ul class="dropdown-menu" role="menu">
@foreach ($menu as $valuec)
@if($valuec->parent == $value->id)
@if($valuec->url)
@if ($valuec->rZh)
<li><a href="{!! url((string)$valuec->url) !!}">{!! $valuec->rZh->name !!}</a></li>
@endif
@else
<li class="dropdown-submenu">
<b> <a href="#">{!! $valuec->name !!}</a> </b>
......@@ -75,19 +77,21 @@
@if($valuec2->parent == $valuec->id)
@if($valuec2->url)
@if ($valuec2->rZh)
<li><a href="{!! url((string)$valuec2->url) !!}">{!! $valuec2->rZh->name !!}</a></li>
@endif
@else
<li class="dropdown-submenu">
@if ($valuec2->rZh)
<b> <a href="#">{!! $valuec2->rZh->name !!}</a></b>
@endif
<ul class="dropdown-menu">
@foreach($menu as $valuec3)
@if($valuec3->parent == $valuec2->id)
@if ($valuec3->rZh)
<li><a href="{!! url((string)$valuec3->url) !!}" target="_blank">{!! $valuec3->rZh->name !!}</a></li>
@endif
@endif
@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