Viewing: search.blade.php
@extends('layouts.frontend-layout') @section('style') <style type="text/css"> a { text-decoration: none; } </style> @endsection @section('content') @if($stories->isEmpty() && $interviews->isEmpty() && $inspiring->isEmpty() && $magazines->isEmpty() && $ceo_talks->isEmpty() && $events->isEmpty() && $prospectus->isEmpty() && $news->isEmpty() ) <div class="ad_wrap search_results"> <div class="container mb-5"> <div class="row"> <div class="col-md-12"> <div class="text-center"> <h3>No result found</h3> <img src="{{asset('assets/images/not-found.png')}}" style="width: 35%;"> </div> </div> </div> </div> </div> @else @if(!$stories->isEmpty()) <div class="ad_wrap search_results"> <div class="container"> <div class="row"> <div class="col-md-12"> <!-- <div class="tit"> </div> --> </div> @foreach($stories as $story) <div class="col-md-12"> <div class=""> <a href="{{route('frontend.storyDeatil',$story->slug)}}" style = "decoration:none"> <h5>{{ucfirst(strtolower($story->title)) ?? ''}}</h5></a> <div class="name"> Wisdom Talk </div> <!-- <blockquote> <p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece<br> of classical Latin literature from 45 BC, making it over 2000 years old. Richard<br> McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of<br> the more obscure Latin words, consectetur,</p> </blockquote> --> </div> </div> @endforeach </div> </div> </div> @endif @if(!$interviews->isEmpty()) <div class="ad_wrap search_results"> <div class="container"> <div class="row"> <div class="col-md-12"> <!-- <div class="tit"> </div> --> </div> @foreach($interviews as $interview) <div class="col-md-12"> <div class=""> <a href="{{route('frontend.interviewDetail',$interview->slug)}}" style = "decoration:none"> <h5>{{ucfirst(strtolower($interview->headline)) ?? ''}}</h5></a> <div class="name"> <small>Interviews</small> </div> <!-- <blockquote> <p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece<br> of classical Latin literature from 45 BC, making it over 2000 years old. Richard<br> McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of<br> the more obscure Latin words, consectetur,</p> </blockquote> --> </div> </div> @endforeach </div> </div> </div> @endif @if(!$inspiring->isEmpty()) <div class="ad_wrap search_results"> <div class="container"> <div class="row"> <div class="col-md-12"> <!-- <div class="tit"> </div> --> </div> @foreach($inspiring as $inspire) <div class="col-md-12"> <div class=""> <a href="{{route('frontend.inspiredDetail',$inspire->slug)}}" style = "decoration:none"> <h5>{{ucfirst(strtolower($inspire->title)) ?? ''}}</h5></a> <div class="name"> <small>Inspiring</small> </div> <!-- <blockquote> <p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece<br> of classical Latin literature from 45 BC, making it over 2000 years old. Richard<br> McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of<br> the more obscure Latin words, consectetur,</p> </blockquote> --> </div> </div> @endforeach </div> </div> </div> @endif @if(!$magazines->isEmpty()) <div class="ad_wrap search_results"> <div class="container"> <div class="row"> <div class="col-md-12"> <!-- <div class="tit"> </div> --> </div> @foreach($magazines as $magazine) <div class="col-md-12"> <div class=""> <a href="{{route('frontend.magazineDetail',$magazine->id)}}" style = "decoration:none"> <h5>{{ucfirst(strtolower($magazine->title)) ?? ''}}</h5></a> <div class="name"> <small>Magazine</small> </div> <!-- <blockquote> <p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece<br> of classical Latin literature from 45 BC, making it over 2000 years old. Richard<br> McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of<br> the more obscure Latin words, consectetur,</p> </blockquote> --> </div> </div> @endforeach </div> </div> </div> @endif @if(!$ceo_talks->isEmpty()) <div class="ad_wrap search_results"> <div class="container"> <div class="row"> <div class="col-md-12"> <!-- <div class="tit"> </div> --> </div> @foreach($ceo_talks as $ceo_talk) <div class="col-md-12"> <div class=""> <a href="{{route('frontend.ceoDetail',$ceo_talk->id)}}" style = "decoration:none"> <h5>{{ucfirst(strtolower($ceo_talk->title)) ?? ''}}</h5></a> <div class="name"> <small>Ceo Talks</small> </div> <!-- <blockquote> <p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece<br> of classical Latin literature from 45 BC, making it over 2000 years old. Richard<br> McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of<br> the more obscure Latin words, consectetur,</p> </blockquote> --> </div> </div> @endforeach </div> </div> </div> @endif @if(!$events->isEmpty()) <div class="ad_wrap search_results"> <div class="container"> <div class="row"> <div class="col-md-12"> <!-- <div class="tit"> </div> --> </div> @foreach($events as $event) <div class="col-md-12"> <div class=""> <a href="{{route('frontend.events',$event->slug)}}" style = "decoration:none"> <h5>{{ucfirst(strtolower($event->name)) ?? ''}}</h5></a> <div class="name"> <small>Events</small> </div> <!-- <blockquote> <p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece<br> of classical Latin literature from 45 BC, making it over 2000 years old. Richard<br> McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of<br> the more obscure Latin words, consectetur,</p> </blockquote> --> </div> </div> @endforeach </div> </div> </div> @endif @if(!$prospectus->isEmpty()) <div class="ad_wrap search_results"> <div class="container"> <div class="row"> <div class="col-md-12"> <!-- <div class="tit"> </div> --> </div> @foreach($prospectus as $prospect) <div class="col-md-12"> <div class=""> <a href="{{route('frontend.prospectsDetail',$prospect->slug)}}" style = "decoration:none"> <h4>{{ucfirst(strtolower($prospect->title)) ?? ''}}</h4></a> <div class="name"> <small>Prospects</small> </div> <!-- <blockquote> <p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece<br> of classical Latin literature from 45 BC, making it over 2000 years old. Richard<br> McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of<br> the more obscure Latin words, consectetur,</p> </blockquote> --> </div> </div> @endforeach </div> </div> </div> @endif @if(!$news->isEmpty()) <div class="ad_wrap search_results"> <div class="container"> <div class="row"> <div class="col-md-12"> <!-- <div class="tit"> </div> --> </div> @foreach($news as $new) <div class="col-md-12"> <div class=""> <a href="{{route('frontend.newsDetail',$new->slug)}}" style = "decoration:none"> <h5>{{ucfirst(strtolower($new->title)) ?? ''}}</h5></a> <div class="name"> <small>News</small> </div> <!-- <blockquote> <p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece<br> of classical Latin literature from 45 BC, making it over 2000 years old. Richard<br> McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of<br> the more obscure Latin words, consectetur,</p> </blockquote> --> </div> </div> @endforeach </div> </div> </div> @endif @endif @endsection
Return