@extends('layouts.user.dashb4') @section('content')

Moons in Warped Intentions Sovreignty



@foreach($systems as $system)
@foreach($moons as $moon) @if($moon['system'] == $system) @if(isset($moon['ores'][0])) @if(in_array($moon['ores'][0], $r4Goo)) @endif @if(isset($moon['ores'][1])) @if(in_array($moon['ores'][1], $r4Goo)) @endif @if(isset($moon['ores'][2])) @if(in_array($moon['ores'][2], $r4Goo)) @endif @if(isset($moon['ores'][3])) @if(in_array($moon['ores'][3], $r4Goo)) @endif @endif @endforeach
Location First Ore First Quantity Second Ore Second Quantity Third Ore Third Quantity Fourth Ore Fourth Quantity
{{ $moon['ores'][0]['ore_name'] }} {{ round(($moon['ores'][0]['quantity'] * 100.0), 2) }} @endif @if(in_array($moon['ores'][0], $r8Goo)) {{ $moon['ores'][0]['ore_name'] }} {{ round(($moon['ores'][0]['quantity'] * 100.0), 2) }} @endif @if(in_array($moon['ores'][0], $r16Goo)) {{ $moon['ores'][0]['ore_name'] }} {{ round(($moon['ores'][0]['quantity'] * 100.0), 2) }} @endif @if(in_array($moon['ores'][0], $r32Goo)) {{ $moon['ores'][0]['ore_name'] }} {{ round(($moon['ores'][0]['quantity'] * 100.0), 2) }} @endif @if(in_array($moon['ores'][0], $r64Goo)) {{ $moon['ores'][0]['ore_name'] }} {{ round(($moon['ores'][0]['quantity'] * 100.0), 2) }} @endif @else {{ $moon['ores'][1]['ore_name'] }} {{ round(($moon['ores'][1]['quantity'] * 100.0), 2) }} @endif @if(in_array($moon['ores'][1], $r8Goo)) {{ $moon['ores'][1]['ore_name'] }} {{ round(($moon['ores'][1]['quantity'] * 100.0), 2) }} @endif @if(in_array($moon['ores'][1], $r16Goo)) {{ $moon['ores'][1]['ore_name'] }} {{ round(($moon['ores'][1]['quantity'] * 100.0), 2) }} @endif @if(in_array($moon['ores'][1], $r32Goo)) {{ $moon['ores'][1]['ore_name'] }} {{ round(($moon['ores'][1]['quantity'] * 100.0), 2) }} @endif @if(in_array($moon['ores'][1], $r64Goo)) {{ $moon['ores'][1]['ore_name'] }} {{ round(($moon['ores'][1]['quantity'] * 100.0), 2) }} @endif @else {{ $moon['ores'][2]['ore_name'] }} {{ round(($moon['ores'][2]['quantity'] * 100.0), 2) }} @endif @if(in_array($moon['ores'][2], $r8Goo)) {{ $moon['ores'][2]['ore_name'] }} {{ round(($moon['ores'][2]['quantity'] * 100.0), 2) }} @endif @if(in_array($moon['ores'][2], $r16Goo)) {{ $moon['ores'][2]['ore_name'] }} {{ round(($moon['ores'][2]['quantity'] * 100.0), 2) }} @endif @if(in_array($moon['ores'][2], $r32Goo)) {{ $moon['ores'][2]['ore_name'] }} {{ round(($moon['ores'][2]['quantity'] * 100.0), 2) }} @endif @if(in_array($moon['ores'][2], $r64Goo)) {{ $moon['ores'][2]['ore_name'] }} {{ round(($moon['ores'][2]['quantity'] * 100.0), 2) }} @endif @else {{ $moon['ores'][3]['ore_name'] }} {{ round(($moon['ores'][3]['quantity'] * 100.0), 2) }} @endif @if(in_array($moon['ores'][3], $r8Goo)) {{ $moon['ores'][3]['ore_name'] }} {{ round(($moon['ores'][3]['quantity'] * 100.0), 2) }} @endif @if(in_array($moon['ores'][3], $r16Goo)) {{ $moon['ores'][3]['ore_name'] }} {{ round(($moon['ores'][3]['quantity'] * 100.0), 2) }} @endif @if(in_array($moon['ores'][3], $r32Goo)) {{ $moon['ores'][3]['ore_name'] }} {{ round(($moon['ores'][3]['quantity'] * 100.0), 2) }} @endif @if(in_array($moon['ores'][3], $r64Goo)) {{ $moon['ores'][3]['ore_name'] }} {{ round(($moon['ores'][3]['quantity'] * 100.0), 2) }} @endif @else
@endforeach

Legend
R4 Ore
R8 Ore
R16 Ore
R32 Ore
R64 Ore
@endsection