@extends('layouts.app') @section('htmlheader_title') Dashboard @endsection @php use App\Classes\Protocol\Binkp; $user->load(['systems.akas.zone.domain.echoareas','systems.akas.echoareas']); @endphp @section('content')

{{ $user->name }}

@if($user->systems->count())
@if(($x=$user ->addresses() ->diff(our_address()) ->filter(fn($item)=>($item->point_id === 0) && ($item->zone->domain->isManaged())))->count())

Hub Details for your nets

@foreach($x->groupBy('zone.domain.name') as $list)

$loop->index]) id="hd_{{ $x }}" data-bs-toggle="collapse" data-bs-target="#collapse_{{ $x }}" aria-expanded="true" aria-controls="collapse_{{ $x }}">{{ $x }}

For your addresses in this domain: {!! $list->pluck('ftn')->join(', ') !!}, you'll need to use the following details:


Hub FTN Address {{ our_address($list->first())->ftn4d }}
Hub FTN Domain {{ $x }}
Hub Internet Address {{ our_hostname($list->first()) }}
Hub Internet Ports BINKP: {{ $setup->binkp_port }} MD5 Mode: {{$setup->optionGet(Binkp::F_MD,'binkp_options') ? 'YES' : 'NO' }}
EMSI: {{ $setup->emsi_port }} Protocol: Zmodem
@endforeach
@endif
@foreach ($user->systems->sortBy('name') as $o) @endforeach
System Addresses
{{ $o->name }} {{ $o->akas->count() }} AKAs configured

@if ($o->akas->count()) @foreach ($o->akas as $ao) {{ $ao->ftn }} ({{ $ao->security ?: '-' }})
@endforeach @else - @endif

Active and Available Echos

@forelse(($dl=$user ->systems ->where('active',TRUE) ->pluck('akas')->flatten() ->pluck('zone.domain') ->unique() ->filter(function($item) { return $item->active && $item->public && $item->isManaged(); }) ->sortBy('name')) as $o) @empty

We share no active FTN addresses, so there are no Echos available

@endforelse
{{ $o->name }} ({{ ($sec=$user->systems->pluck('akas')->flatten()->filter(function($item) use ($o) { return $item->zone->domain_id === $o->id; })->max('security') ?: 0) ?? '-' }})

{{ ($sub=$user->systems->pluck('akas')->flatten()->pluck('echoareas')->flatten()->filter(function($item) use ($o) { return $item->domain_id === $o->id; }))->count() }} Subscribed
@foreach ($o->echoareas->sortBy('name') as $eo) {{ $eo->name }} @endforeach
@else

You are not linked to any BBS systems. Start here to link to your first.

@endif @endsection @section('page-css') @append @section('page-scripts') @js('highcharts') @append