@if(isset($categories[5])) @php $category=$categories[5]; if(!is_null($category->relatedBlog)){ $blog1=$category->relatedBlog; if(\App::getLocale()=='en'){ $blogTitle1=$blog1->blog_title_en; $blogSummery1=$blog1->blog_summary_en; }else{ $blogTitle1=$blog1->blog_title; $blogSummery1=$blog1->blog_summary; } } @endphp @if(\App::getLocale()=='en') {{$category->title_en}} @else {{$category->title}} @endif {{ __('admin.web.View More')}} @php $x=0; @endphp @foreach($category->products as $product) @if(\App::getLocale()=='en') {{$category->title_en}} @else {{$category->title}} @endif @if(\App::getLocale()=='en') {{\Str::words($product->title_en, 6, '')}} @else {{\Str::words($product->title, 6, '')}} @endif @php $x++; if($x==4){ break; } @endphp @endforeach @if(!is_null(@$category->photo)) @endif @if(!is_null(@$blog1->blog_image)) @if(\App::getLocale()=='en') {{$blogTitle1}} @else {{$blogTitle1}} @endif {{$blogSummery1}} {{ __('admin.web.Read Article') }} @endif @endif