PHP Classes

File: src/stubs/cms/core/search/resources/views/site/result.blade.php

Recommend this page to a friend!
  Classes of Shun Ram   Laravel Admin   src/stubs/cms/core/search/resources/views/site/result.blade.php   Download  
File: src/stubs/cms/core/search/resources/views/site/result.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Laravel Admin
Manage users and the site content they publish
Author: By
Last change:
Date: 1 year ago
Size: 583 bytes
 

Contents

Class file image Download
@extends('layout::site.master')

@section('sIte_tItle','Search')

@section('body')
    @php
        $datas = array();
        foreach ($result as $data)
        {
            $datas[$data['name']][] = $data;
        }
    @endphp
    <div class="container">
    <div class="row">
        @if(count((array) $datas)==0)
            No data
        @endif
        @foreach($datas as $key =>$data)
            @includeIf($data[0]['view'],['data'=>$data])
        @endforeach
    </div>
    {!! $result->appends(request()->all())->links() !!}
    </div>
@endsection