@extends('layouts.UserDashboard') @section('css') @endsection @section('user')

Send Gift

Gift Categories
  • Head Frames {{ count($head_frame_gift) }}
  • Animation Effects {{ count($ani_effect_gift) }}
  • Medals {{ count($medal_gift) }}
  • Chat Bubbles {{ count($chat_bubble_gift) }}
  • Profile Shorts {{ count($profile_sort_gift) }}
  • SVIP Packages {{ count($svip) }}
Head Frame Gifts
{{ count($head_frame_gift) }} gifts available
Loading...

Loading gifts...

@if($head_frame_gift && count($head_frame_gift) > 0)
@foreach($head_frame_gift as $gift) @php // path stored in DB (relative to public/), adjust if your path is different $file = $gift->gift_file; $publicFile = $file ? public_path($file) : null; @endphp
@if(!empty($gift->gift_file) && file_exists($gift->gift_file)) @php $ext = strtolower(pathinfo($file, PATHINFO_EXTENSION)); @endphp @if($ext === 'svga')
@else {{-- Regular raster/image --}} image @endif @else image @endif
{{ $gift->gift_name ?? 'Head Frame Gift' }}

{{ $gift->description ?? 'Special head frame gift' }}

{{ $gift->coin_cost ?? '0' }} Coins
@endforeach
@else

No head frame gifts available

@endif
@if($ani_effect_gift && count($ani_effect_gift) > 0)
@foreach($ani_effect_gift as $gift) @php // path stored in DB (relative to public/), adjust if your path is different $file = $gift->gift_file; $publicFile = $file ? public_path($file) : null; @endphp
@if(!empty($gift->gift_file) && file_exists($gift->gift_file)) @php $ext = strtolower(pathinfo($file, PATHINFO_EXTENSION)); @endphp @if($ext === 'svga')
@else {{-- Regular raster/image --}} image @endif @else image @endif
{{ $gift->gift_name ?? 'Animation Effect Gift' }}

{{ $gift->description ?? 'Special animation effect gift' }}

{{ $gift->coin_cost ?? '0' }} Coins
@endforeach
@else

No animation effect gifts available

@endif
@if($medal_gift && count($medal_gift) > 0)
@foreach($medal_gift as $gift) @php // path stored in DB (relative to public/), adjust if your path is different $file = $gift->gift_file; $publicFile = $file ? public_path($file) : null; @endphp
@if(!empty($gift->gift_file) && file_exists($gift->gift_file)) @php $ext = strtolower(pathinfo($file, PATHINFO_EXTENSION)); @endphp @if($ext === 'svga')
@else {{-- Regular raster/image --}} image @endif @else image @endif
{{ $gift->gift_name ?? 'Medal Gift' }}

{{ $gift->description ?? 'Special medal gift' }}

{{ $gift->coin_cost ?? '0' }} Coins
@endforeach
@else

No medal gifts available

@endif
@if($chat_bubble_gift && count($chat_bubble_gift) > 0)
@foreach($chat_bubble_gift as $gift) @php // path stored in DB (relative to public/), adjust if your path is different $file = $gift->gift_file; $publicFile = $file ? public_path($file) : null; @endphp
@if(!empty($gift->gift_file) && file_exists($gift->gift_file)) @php $ext = strtolower(pathinfo($file, PATHINFO_EXTENSION)); @endphp @if($ext === 'svga')
@else {{-- Regular raster/image --}} image @endif @else image @endif
{{ $gift->gift_name ?? 'Chat Bubble Gift' }}

{{ $gift->description ?? 'Special chat bubble gift' }}

{{ $gift->coin_cost ?? '0' }} Coins
@endforeach
@else

No chat bubble gifts available

@endif
@if($profile_sort_gift && count($profile_sort_gift) > 0)
@foreach($profile_sort_gift as $gift) @php // path stored in DB (relative to public/), adjust if your path is different $file = $gift->gift_file; $publicFile = $file ? public_path($file) : null; @endphp
@if(!empty($gift->gift_file) && file_exists($gift->gift_file)) @php $ext = strtolower(pathinfo($file, PATHINFO_EXTENSION)); @endphp @if($ext === 'svga')
@else {{-- Regular raster/image --}} image @endif @else image @endif
{{ $gift->gift_name ?? 'Profile Short Gift' }}

{{ $gift->description ?? 'Special profile short gift' }}

{{ $gift->coin_cost ?? '0' }} Coins
@endforeach
@else

No profile short gifts available

@endif
@if($svip && count($svip) > 0)
@foreach($svip as $package) @php // path stored in DB (relative to public/), adjust if your path is different $file = $package->gift_file; $publicFile = $file ? public_path($file) : null; @endphp
{{ $package->svip_level ?? 'SVIP' }}
@if($package->level_icon_status && $package->level_icon_gift_image)
@php $filePath = $package->level_icon_gift_image; $fullPath = public_path($filePath); $ext = strtolower(pathinfo($filePath, PATHINFO_EXTENSION)); @endphp @if(file_exists($fullPath)) @if($ext === 'svga')
Loading animation...
@else Level Icon @endif @else @endif
@endif
@if($package->welcome_message_status)
Welcome Message
@endif @if($package->spacial_medal_status)
Special Medal
@endif @if($package->special_icon_status)
Special Icon
@endif @if($package->exclusive_frame_status)
Exclusive Frame
@endif @if($package->exclusive_mounts_status)
Exclusive Mounts
@endif @if($package->exclusive_badge_status)
Exclusive Badge
@endif @if($package->special_profile_page_status)
Special Profile
@endif
Target: {{ $package->target ?? '0' }}
Validity: {{ $package->validity ?? '0' }} days
Price: {{ $package->purchase_coin ?? '0' }} Coins
@endforeach
@else

No SVIP packages available

@endif
@endsection @section('js') @endsection