Search
    • English
    • Catalan
    • French
    • Belize
    • Colombia
    • Spanish
    • Georgian
    • Hindi
  • Slack

    Behance

    Dribble

    Outlook

    GitHub

    Stack

    Stack

    Twitter

    Calendar

    Spotify

    Photos

    Photos

    linkedin

    Dribble

    YouTube

    News

    Envato

    Safari

  • @php $user_id = session('SUPERADMIN_ID'); $user = DB::table('superadmins')->where('id', $user_id)->first(); $role_id = $user->role ?? 0; if ($role_id == 1) { $logs = DB::table('tbl_logs')->orderBy('id', 'DESC')->limit(6)->get(); $logscount = DB::table('tbl_logs')->where('read_status', '0')->count(); } else { $logs = DB::table('tbl_logs')->where('user_id', $user_id)->orderBy('id', 'DESC')->limit(6)->get(); $logscount = DB::table('tbl_logs')->where('user_id', $user_id)->where('read_status','0')->count(); } $activities = DB::table('tbl_activities')->pluck('activity', 'id'); @endphp
  • {{ $logscount ?? '0' }}

    Notifications

    {{ $logscount ?? '0' }} New
    @forelse($logs as $log) @php $feature = DB::table('tbl_crud_features')->where('id', $log->feature_id)->first(); $isUnread = $log->read_status == 0; $bgColor = $isUnread ? '#f3e5f5' : '#fafafa'; $borderColor = $isUnread ? '#9c27b0' : '#e0e0e0'; @endphp
    {{ $feature->feature ?? 'Feature' }} {{ $log->date_time }}

    {{ $log->curd_functions }}

    @empty

    No notifications found

    @endforelse
    @if(permission(session('SUPERADMIN_ID'), '30', 'action_view'))
    View All Notifications
    @endif
  • 8

    My Cart

    10 Items

    product image
    Men White T-Shirt

    1 X $29.00

    $250

    product image
    Men White T-Shirt

    1 X $29.00

    $250

    product image
    Men White T-Shirt

    1 X $29.00

    $250

    product image
    Men White T-Shirt

    1 X $29.00

    $250

    product image
    Men White T-Shirt

    1 X $29.00

    $250

    product image
    Men White T-Shirt

    1 X $29.00

    $250

    product image
    Men White T-Shirt

    1 X $29.00

    $250

    product image
    Men White T-Shirt

    1 X $29.00

    $250

    product image
    Men White T-Shirt

    1 X $29.00

    $250

    Total
    $489.00
@php $user_id = session('SUPERADMIN_ID'); $profiledata = DB::table('superadmins')->where('id', $user_id)->first(); @endphp @if(isset($profiledata)) user avatar

{{ $profiledata->firstname }}

@if ($profiledata->role == 1) Superadmin @elseif ($profiledata->role == 2) Employee @else Unknown Role @endif

@endif
  • Profile
  • Change Password
  • Settings
  • Dashboard
  • Earnings
  • Downloads
  • Logout