@section('title', __('general.page_dashboard_title')) @section('head') @endsection @include('includes/header') @include('includes/topDash')
@if (session('serverID') == '333')
{{ __('general.dash_network_notice') }}
{{ __('general.dash_network_notice_2') }}
@endif
@if($userLogged->type == '1')

{{ __('general.page_users_h1') }}

{{ $userLogged->name }}
{{ __('general.role_owner') }}

{{ DateShort($userLogged->last_login)}}

@php foreach($logsData as $log){ $admin = DB::table('users')->where('id','=',$log->user_id)->get()->first(); $userLogData = DB::connection('mysql_site_'.session('serverID'))->table('administrators') ->where('user_id','=',$log->user_id)->where('site_id','=',session('siteID'))->get()->first(); if(isset($administrator->active) && isset($admin->last_login)){ @endphp
{{ $userLogData->name }}
@if($userLogData->active)
{{ __('general.role_admin') }}
@else
{{ __('general.dash_admins_invited') }}
@endif

{{ DateShort($userLogData->last_login) }}

@php } } @endphp
@endif
@if(isset($surveyCategories) && $surveyCategories->count() > 0) @endif @include('includes/footer') @if(!$siteData->first_vote) @endif