@extends('layouts.admin') @section('content')
{{$count['movie']}}
{{__('Movie')}}
{{$count['tv']}}
{{__('TV Show')}}
{{$count['episode']}}
{{__('Episode')}}
{{$count['people']}}
{{__('People')}}
@if(isset($data['sessions']))
{{$data['sessions']}}
{{__('Total Sessions')}}
@endif @if(isset($data['pageViews']))
{{$data['pageViews']}}
{{__('Page Views')}}
@endif @if(isset($data['bounceRate']))
{{floor($data['bounceRate']*100).' %'}}
{{__('Bounce Rate')}}
@endif @if(isset($data['visitor']))
{ chart.updateOptions(this.options) }) }, get options() { return { chart: { background:'rgba(255,255,255,0)', height: '400px', type: 'area', toolbar: { show: false }, }, dataLabels: { enabled: !1 }, colors: ['{{config('settings.color') ? config('settings.color') : '#8871FD'}}'], fill: { colors: '{{config('settings.color') ? config('settings.color') : '#8871FD'}}', type: 'gradient', gradient: { type: 'vertical', shadeIntensity: 0.15, opacityFrom: 0.3, opacityTo: 0.1, stops: [0, 100] } }, stroke: { width: 3, curve: 'straight', colors: ['{{config('settings.color') ? config('settings.color') : '#8871FD'}}'], }, xaxis: { axisBorder: { show: false }, axisTicks: { show: false }, crosshairs: { show: true }, labels: { offsetX: 0, offsetY: 5, style: { fontSize: '12px', fontWeight: 400, colors: '#B5B5C3', }, } }, yaxis: { labels: { formatter: function(e) { return e }, style: { fontSize: '12px', fontWeight: 400, colors: '#B5B5C3', }, offsetX: -15 }, }, grid: { borderColor: 'rgba(0,0,0,0.1)', strokeDashArray: 6, yaxis: { lines: { show: false } }, xaxis: { lines: { show: true } }, padding: { top: 0, right: 0, bottom: 0, left: 0 }, }, legend: { position: 'top', horizontalAlign: 'right', offsetY: -50, fontSize: '16px', markers: { width: 10, height: 10, strokeWidth: 0, strokeColor: '#fff', fillColors: undefined, radius: 12, onClick: undefined, offsetX: 0, offsetY: 0 }, itemMargin: { horizontal: 0, vertical: 20 } }, tooltip: { theme: 'light', marker: { show: false, }, x: { show: false, } }, series: [{ name: 'Visitor', data: this.values, }], labels: this.labels } } }" class="w-full" >
@endif {{--card--}} @if(isset($data['popular']))

{{__('Most Popular')}}

  • {{__('Page Url')}}
  • {{__('Pageview')}}
@if(count($data['popular'])>0)
    @php $max = $data['popular'][0]['screenPageViews']; @endphp @foreach($data['popular'] as $page)
  • {{$page['fullPageUrl']}}
    {{$page['screenPageViews']}}
  • @endforeach
@endif
@endif {{--card--}} {{--card--}}
@if(env('APP_DEBUG') == 'true')
@else
@endif
{{__('Debug Mode')}}

{{__('The debug mode was expected to be `false`, but actually was `true`')}}

{{--card--}} {{--card--}}
@if(env('APP_ENV') == 'local')
@else
@endif
{{__('Environment')}}

{{__('The environment was expected to be `production`, but actually was `development`')}}

{{--card--}} {{--card--}}
@if(env('APP_ENV') == 'local')
@else
@endif
{{__('Memory Limit')}}

{{ini_get('memory_limit')}}

{{--card--}} {{--card--}}
@if(floor((disk_total_space(base_path('/'))-disk_free_space(base_path('/')))/disk_total_space(base_path('/')) * 100) <30)
@else
@endif
{{__('Used Disk Space')}}

{{round((disk_total_space(base_path('/'))-disk_free_space(base_path('/')))/disk_total_space(base_path('/')) * 100,1).'%'}}

{{--card--}}
{{phpversion()}}
php version
{{ini_get('allow_url_fopen') ? 'Active' : 'Disable'}}
allow_url_fopen
{{extension_loaded('gd') ? 'Active' : 'Disable'}}
gd Image
{{extension_loaded('curl') ? 'Active' : 'Disable'}}
Curl
{{extension_loaded('mbstring') ? 'Active' : 'Disable'}}
mbstring
{{extension_loaded('openssl') ? 'Active' : 'Disable'}}
openssl
{{extension_loaded('json') ? 'Active' : 'Disable'}}
json
{{--card--}}

{{__('Pending reports')}}

@foreach($reports as $report) @endforeach
{{$report->created_at->translatedFormat('d M, Y')}}
{{--card--}}

{{__('Pending comments')}}

@foreach($comments as $comment) @endforeach
{{$comment->created_at->translatedFormat('d M, Y')}}
@endsection