@extends('layouts.admin') @section('admin')

Svip Management

@foreach($svips as $svip) @endforeach
Target SVIP Level Level Icon Welcome Message Special Medal Special Icon Exclusive Frame Special Profile Exclusive Mounts Exclusive Badge Validity (Days) Actions
{{$svip->target}} {{$svip->svip_level}} @if($svip->level_icon_status && $svip->level_icon_gift_image) @php $levelIconFile = $svip->level_icon_gift_image; $ext = strtolower(pathinfo($levelIconFile, PATHINFO_EXTENSION)); @endphp @if($ext === 'svga')
@else Level Icon @endif @else Disabled @endif
@if($svip->welcome_message_status) Enabled @if($svip->welcome_message_gift_image)
Welcome Message @endif @else Disabled @endif
@if($svip->spacial_medal_status && $svip->spacial_medal_gift_image) @php $medalFile = $svip->spacial_medal_gift_image; $ext = strtolower(pathinfo($medalFile, PATHINFO_EXTENSION)); @endphp @if($ext === 'svga')
@else Special Medal @endif @else Disabled @endif
@if($svip->special_icon_status && $svip->special_icon_gift_image) @php $specialIconFile = $svip->special_icon_gift_image; $ext = strtolower(pathinfo($specialIconFile, PATHINFO_EXTENSION)); @endphp @if($ext === 'svga')
@else Special Icon @endif @else Disabled @endif
@if($svip->exclusive_frame_status && $svip->exclusive_frame_gift_image) @php $frameFile = $svip->exclusive_frame_gift_image; $ext = strtolower(pathinfo($frameFile, PATHINFO_EXTENSION)); @endphp @if($ext === 'svga')
@else Exclusive Frame @endif @else Disabled @endif
@if($svip->special_profile_page_status) Enabled @if($svip->special_profile_page_gift_image)
Special Profile @endif @else Disabled @endif
@if($svip->exclusive_mounts_status && $svip->exclusive_mounts_gift_image) @php $mountsFile = $svip->exclusive_mounts_gift_image; $ext = strtolower(pathinfo($mountsFile, PATHINFO_EXTENSION)); @endphp @if($ext === 'svga')
@else Exclusive Mounts @endif @else Disabled @endif
@if($svip->exclusive_badge_status && $svip->exclusive_badge_gift_image) @php $badgeFile = $svip->exclusive_badge_gift_image; $ext = strtolower(pathinfo($badgeFile, PATHINFO_EXTENSION)); @endphp @if($ext === 'svga')
@else Exclusive Badge @endif @else Disabled @endif
{{$svip->validity}}
@if($svips->hasPages())
{{ $svips->links() }}
@endif
@endsection @section('js') @endsection