@if(auth()->check() && auth()->user()->consoleview && auth()->user()->can('view console')) Console @endif @if(auth()->check() && auth()->user()->movieview && auth()->user()->can('view movies')) Movies Trending Movies @endif @if(auth()->check() && auth()->user()->musicview && auth()->user()->can('view audio')) Audio @endif @if(auth()->check() && auth()->user()->gameview && auth()->user()->can('view pc')) Games @endif @if(auth()->check() && auth()->user()->can('view tv')) TV Trending TV @endif @if(auth()->check() && auth()->user()->xxxview && auth()->user()->can('view adult')) Adult @endif @if(auth()->check() && auth()->user()->bookview && auth()->user()->can('view books')) Books @endif Browse All Releases Browse Groups
Forum Search Advanced Search RSS Feeds API API V2 Contact Us
@if(isset($usefulLinks) && $usefulLinks->isNotEmpty())
@foreach($usefulLinks as $link)
@if($link->url) @php $url = $link->url; // Check if URL has protocol $hasProtocol = str_starts_with($url, 'http://') || str_starts_with($url, 'https://'); // Check if URL is a domain pattern (e.g., google.com, chatgpt.ai) // Pattern: contains at least one dot and doesn't start with / $isDomain = !str_starts_with($url, '/') && preg_match('/^[a-zA-Z0-9][a-zA-Z0-9-]*\.[a-zA-Z]{2,}/', $url); $isExternal = $hasProtocol || $isDomain; // Use external URLs as-is (add https:// if domain without protocol), prepend site URL for internal paths if ($hasProtocol) { $linkUrl = $url; } elseif ($isDomain) { $linkUrl = 'https://' . $url; } else { $linkUrl = url($url); } @endphp
{{ $link->title }}
@if($link->body)
{!! html_entity_decode(trim($link->body, '\'"')) !!}
@endif
@else
{{ $link->title }}
@if($link->body)
{!! html_entity_decode(trim($link->body, '\'"')) !!}
@endif
@endif
@endforeach
@endif @auth @php $userRole = auth()->user()->roles->first()?->name ?? 'user'; @endphp @if($userRole !== 'Admin') @if($userRole === 'User') Upgrade Your Account @else Extend Your Account @endif @endif @endauth @auth Sign Out
@csrf
@endauth