@if(url()->current() != url('/tasks'))
@endif
{{-- @if(isset($attendance_recorder) and $attendance_recorder == 1 or true)--}}
{{-- @else--}}
{{-- @endif--}}
{{-- {{dd(session('admin'))}}--}}
{{--
--}}
{{-- @if(!request()->is("admin") && (isset($_COOKIE['ad']) && $_COOKIE['ad']==1))--}}
{{-- onclick="window.location.href='{{ route('admin.dashboard') }}'">--}}
{{-- ورود به پنل ادمین--}}
{{-- --}}
{{-- @elseif(request()->is("admin") && (isset($_COOKIE['ad']) && $_COOKIE['ad']==1))--}}
{{-- --}}
{{-- @endif--}}
{{--
--}}
@yield('content')
@yield('script')