@if(Session::get('user_device')=="layouts" || Session::get('user_device')=="") @component('backend.layouts.header')@endcomponent @yield('title') @if(Auth::user()->user_type>0) @component('backend.layouts.sidebar')@endcomponent @else @component('backend.layouts.rsidebar')@endcomponent @endif
@component('backend.layouts.dashboard-header')@endcomponent @component('backend.layouts.dashboard-bread')@endcomponent
@component('backend.layouts.flash-message')@endcomponent
@yield('content') @component('backend.layouts.footer')@endcomponent
@component('backend.layouts.footer-scripts')@endcomponent @yield('self_script') @endif @if(Session::get('user_device')=="mlayouts") @component('backend.mlayouts.header')@endcomponent @yield('title')
@component('backend.mlayouts.sidebar')@endcomponent
@component('backend.mlayouts.dashboard-header')@endcomponent @component('backend.mlayouts.dashboard-bread')@endcomponent
@component('backend.mlayouts.flash-message')@endcomponent
@yield('content') @component('backend.mlayouts.footer')@endcomponent
@component('backend.mlayouts.footer-scripts')@endcomponent
@yield('self_script') @endif