@extends('layouts.sidebar') @section('content')

{{__('messages.Dashboard')}}

{{__('messages.Total Links:')}} {{ $links }}
{{__('messages.Link Clicks:')}} {{ $clicks }}
{{__('messages.Top Links:')}}
@php $i = 0; @endphp
    @if($toplinks == "[]")

    {{__('messages.You haven’t added any links yet')}}

    @else @foreach($toplinks as $link) @php $linkName = str_replace('default ','',$link->name) @endphp @php $i++; @endphp @if($link->name !== "phone" && $link->name !== 'heading' && $link->button_id !== 96)
  1. {{ $link->title }}
    {{ $link->link }}
    {{ $link->click_number }} - {{__('messages.clicks')}}
  2. @endif @endforeach @endif
@if(auth()->user()->role == 'admin' && !config('linkstack.single_user_mode'))
{{__('messages.Site statistics:')}}

{{ $siteLinks }}

{{__('messages.Total links')}}

{{ $siteClicks }}

{{__('messages.Total clicks')}}

{{ $userNumber }}

{{__('messages.Total users')}}
{{__('messages.Registrations:')}}

{{ $lastMonthCount }}

{{__('messages.Last 30 days')}}

{{ $lastWeekCount }}

{{__('messages.Last 7 days')}}

{{ $last24HrsCount }}

{{__('messages.Last 24 hours')}}
{{__('messages.Active users:')}}

{{ $updatedLast30DaysCount }}

{{__('messages.Last 30 days')}}

{{ $updatedLast7DaysCount }}

{{__('messages.Last 7 days')}}

{{ $updatedLast24HrsCount }}

{{__('messages.Last 24 hours')}}
@endif
@endsection