@extends('layouts.front') @section('title', 'My Hostings') @section('contents') {{-- ফন্ট, আইকন এবং পপ-আপ লাইব্রেরি (SweetAlert2) --}}
{{-- ================= সাইডবার (ডোমেইন পেইজের মত সেম টু সেম) ================= --}}
{{-- ================= মেইন কন্টেন্ট এরিয়া ================= --}}
{{-- কালারফুল হোস্টিং সামারি কার্ডস --}}

{{ count($hostings) }}

মোট হোস্টিং

{{ $hostings->where('status', 'Active')->count() }}

সচল সার্ভিস

{{ $hostings->where('status', 'Pending')->count() }}

পেন্ডিং সার্ভিস

আমার হোস্টিং সার্ভিস সমূহ
নতুন অর্ডার
@forelse($hostings as $hosting) @empty @endforelse
ডোমেইন ও প্যাকেজ মূল্য মেয়াদ শেষ স্ট্যাটাস অ্যাকশন
{{ $hosting->domain }}
{{ $hosting->plan->name ?? 'Unknown Plan' }}
৳ {{ number_format($hosting->amount, 2) }}
{{ $hosting->billing_cycle }}
{{ $hosting->next_due_date ? \Carbon\Carbon::parse($hosting->next_due_date)->format('d M, Y') : 'N/A' }}
{{ $hosting->status }}
কোনো হোস্টিং সার্ভিস পাওয়া যায়নি।
@if ($hostings->hasPages())
    {{-- ১. আগের পেজ বাটন (Previous) --}} @if ($hostings->onFirstPage())
  • @else
  • @endif {{-- ২. পেজ নম্বর (বর্তমান পেজের আগে ও পরে ২টা করে দেখাবে) --}} @foreach(range(1, $hostings->lastPage()) as $i) @if($i >= $hostings->currentPage() - 2 && $i <= $hostings->currentPage() + 2) @if ($i == $hostings->currentPage())
  • {{ $i }}
  • @else
  • {{ $i }}
  • @endif @endif @endforeach {{-- ৩. পরের পেজ বাটন (Next) --}} @if ($hostings->hasMorePages())
  • @else
  • @endif
@endif
{{-- সাকসেস মেসেজ স্ক্রিপ্ট --}} @if(session('success')) @endif @endsection