@foreach($themes as $theme)

{{ $theme['name'] ?? 'Unknown Name' }} {{ $theme['slug'] ?? 'Unknown Slug' }}

{{ $theme['version'] ?? 'Unknown Version' }}
@if(isset($theme['slug'])) @endif @if(isset($theme['gameport_version']) && (config('settings.script_version') >= $theme['gameport_version']))
Compatible with this GamePort script version.
@elseif(isset($theme['gameport_version']) && (config('settings.script_version') < $theme['gameport_version']))
Not compatible with this GamePort script version. You need at least version {{ $theme['gameport_version'] }}.
@elseif(! isset($theme['gameport_version']))
Unknown GamePort script version.
@endif Author: {{ $theme['author'] ?? 'Unknown Author' }}
Description: {{ $theme['description'] ?? 'No Description' }}
@if(isset($theme['public'])) Public @else Not Public @endif
@if(isset($theme['gameport_version']) && (config('settings.script_version') >= $theme['gameport_version'])) @if(config('settings.default_theme') === $theme['slug'] ?? 'default')
Default Theme
@else @if(isset($theme['public'])) Set as Default @else
Not Public
@endif @endif @else
Not Compatible
@endif
@endforeach