@extends('layouts.app') @section('head') @if( env('APP_THEME')=='Theme1') @endif @endsection @section('content') @php $custom_title_page = setting_item("news_page_list_title"); $course_banner = setting_item("news_page_list_banner"); $course_banner_id=1; if(!empty($custom_title_page)){ $title_page = $custom_title_page; } if(!empty($course_banner)){ $course_banner_id = $course_banner; } @endphp @if(!empty($title_page)) @if( env('APP_THEME')=='Theme1')

{{$title_page}}

@if($rows->count() > 0) @include('News::frontend.layouts.details.news-loop') @else
{{__("Sorry, but nothing matched your search terms. Please try again with some different keywords.")}}
@endif
@include('News::frontend.layouts.details.news-sidebar')
@elseif( env('APP_THEME')=='Theme2')

{{$title_page}}

Home | {{$title_page}}

{{$title_page}}

@if($rows->count() > 0) @include('News::frontend.layouts.details.news-loop-theme2') @else
{{__("Sorry, but nothing matched your search terms. Please try again with some different keywords.")}}
@endif
@include('News::frontend.layouts.details.news-sidebar')
@else @endif @endif @endsection