@extends('layouts.theme') @section('title',__('Manage Profile')) @section('main-wrapper')

{{__('hey')}} {{ Auth::user()->name }} {{__('Select Personal Profile')}} {{ config('app.name') }}:

@if(!isset($result))

{{__('no profile available')}}

@endif

{{ csrf_field() }} @if(isset($result->screen1))
screen_1_used == 'NO') onclick="changescreen('{{ $result->screen1 }}','{{ 1 }}')" @endif title="{{ $result->screen1 }}" src="{{ Avatar::create($result->screen1)->toBase64() }}" alt=""> @if($result->device_mac_1 != '' && $_SERVER['REMOTE_ADDR'] == $result->device_mac_1)


{{ __('Currently Active') }}
@elseif($result->device_mac_1 == '')

@else

{{ __('In-use') }}
@endif
@endif @if(isset($result->screen2))
screen_2_used == 'NO') onclick="changescreen('{{ $result->screen2 }}','{{ 2 }}')" @endif title="{{ $result->screen2 }}" src="{{ Avatar::create($result->screen2)->toBase64() }}" alt="{{ $result->screen2 }}" > @if($result->device_mac_2 != '' && $_SERVER['REMOTE_ADDR'] == $result->device_mac_2)


{{ __('Currently Active') }}
@elseif($result->device_mac_2 == '')

@else

{{ __('In-use') }}
@endif
@endif @if(isset($result->screen3))
screen_3_used == 'NO') onclick="changescreen('{{ $result->screen3 }}','{{ 3 }}')" @endif title="{{ $result->screen3 }}" src="{{ Avatar::create($result->screen3)->toBase64() }}" alt="{{ $result->screen3 }}"> @if($result->device_mac_3 != '' && $_SERVER['REMOTE_ADDR'] == $result->device_mac_3)


{{ __('Currently Active') }}
@elseif($result->device_mac_3 == '')

@else

{{ __('In-use') }}
@endif
@endif @if(isset($result->screen4))
screen_4_used == 'NO') onclick="changescreen('{{ $result->screen4 }}','{{ 4 }}')" @endif title="{{ $result->screen4 }}" src="{{ Avatar::create($result->screen4)->toBase64() }}" alt="{{ $result->screen4 }}"> @if($result->device_mac_4 != '' && $_SERVER['REMOTE_ADDR'] == $result->device_mac_4)


{{ __('currently active') }}
@elseif($result->device_mac_4 == '')

@else

{{ __('In use') }}
@endif
@endif
@endsection @section('custom-script') @endsection