where('user_name', $_COOKIE['user_identity'])->first(); $primaryColor = Setting::where('key', 'primary_color')->value('value') ?? '#16c8ce'; //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--}} {{-- {{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')