where('user_name', $_COOKIE['user_identity'])->first(); //dd($user_p); ?> سامانه حضور و غیاب {{--ساعت--}} {{-- --}}{{--تاریخ--}} {{-- --}} {{-- font awesome--}} {{-- --}} {{-- --}} @yield('style') @if (session('message'))
{{ session('message.text') }}
@endif
@if(url()->current() == url('/tasks'))
@endif @if(url()->current() != url('/tasks'))
@endif
@if(isset($_COOKIE['token-0'])) @else @endif
{{-- @if(isset($attendance_recorder) and $attendance_recorder == 1 or true)--}} {{-- @else--}} {{-- footer--}}
@csrf @if(isset($_COOKIE['token_0']) || isset($_COOKIE['token_1']) || isset($_COOKIE['token_2'])) @endif {{-- attendances list--}} {{-- BACK BOTTUN--}} {{-- @if(isset($_COOKIE['token-0']))--}} {{-- --}} {{-- @endif--}} @if(isset($_COOKIE['user_identity'])) @endif @if(!request()->is("admin") && (isset($_COOKIE['ad']) && $_COOKIE['ad']!=null)) @elseif(request()->is("admin") && (isset($_COOKIE['ad']) && $_COOKIE['ad']!=null)) @endif @if(isset($_COOKIE['user_identity'])) @endif
{{-- @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')