<?php $__env->startSection('content'); ?>
<section class="section">
          <div class="section-header">
            <h1>Hall of Fame</h1>
            <div class="section-header-breadcrumb">
              <div class="breadcrumb-item active"><a href="<?php echo e(url('/')); ?>">Dashboard</a></div>
              <div class="breadcrumb-item">Hall of Fame</div>
				
            </div>
          </div>

          <div class="section-body">
          
          	<div class="row">
          		<div class="col-md-6">
          			<div class="card">
		              <div class="card-header">
		                <h4><span>Top 10 Pembelian Sosial Media</span></h4>
		              </div>
		             
		              <div class="card-body">
		              	
						<div class="table-responsive">
							<table class="table table-striped table-md">
								<tr>
									<th>#</th>
									<th>Nama</th>
									<th>Pembelian</th>
								</tr>
								<?php $__currentLoopData = $top_sosmed; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $sosmed): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
								<tr>
									<td><?php echo e($loop->iteration); ?></td>
									<td><?php echo e($sosmed->name); ?></td>
									<td><?php echo e($sosmed->jumlah); ?> Pembelian (Rp. <?php echo e(number_format($sosmed->price)); ?>)</td>
								</tr>
								<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
							</table>
						</div>
							                
		              </div>
		            
		            </div>
          		</div>
          		<div class="col-md-6">
          			<div class="card">
		              <div class="card-header">
		                <h4><span>Top 10 Pembelian Pulsa</span></h4>
		              </div>
		             
		              <div class="card-body">
		              	
						<div class="table-responsive">
							<table class="table table-striped table-md">
								<tr>
									<th>#</th>
									<th>Nama</th>
									<th>Pembelian</th>
								</tr>
								<?php $__currentLoopData = $top_pulsa; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $pulsa): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
								<tr>
									<td><?php echo e($loop->iteration); ?></td>
									<td><?php echo e($pulsa->name); ?></td>
									<td><?php echo e($pulsa->jumlah); ?> Pesanan (Rp <?php echo e(number_format($pulsa->price)); ?>)</td>
								</tr>
								<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
							</table>
						</div>                
		              </div>
		            </div>
          		</div>
          	</div>

          	
  			<div class="card">
              <div class="card-header">
                <h4><span>Top 10 Deposit Tertinggi</span></h4>
              </div>
             
              <div class="card-body">
              	
				<div class="table-responsive">
					<table class="table table-striped table-md">
						<tr>
							<th>#</th>
							<th>Nama</th>
							<th>Jumlah deposit</th>
						</tr>
						<?php $__currentLoopData = $top_deposit; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $deposit): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
						<tr>
							<td><?php echo e($loop->iteration); ?></td>
							<td><?php echo e($deposit->name); ?></td>
							<td>Rp <?php echo e(number_format($deposit->total_deposit)); ?></td>
						</tr>
						<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
					</table>
				</div>                
              </div>
            </div>
  			<div class="card">
              <div class="card-header">
                <h4><span>Top 10 Layanan Sosial Media</span></h4>
              </div>
             
              <div class="card-body">
              	
				<div class="table-responsive">
					<table class="table table-striped table-md">
						<tr>
							<th>#</th>
							<th>Nama Layanan</th>
							<th>Pembelian</th>
						</tr>
						<?php $__currentLoopData = $top_layanan; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $layanan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
						<tr>
							<td><?php echo e($loop->iteration); ?></td>
							<td><?php echo e($layanan->name); ?></td>
							<td><?php echo e($layanan->jumlah_order); ?> Pembelian</td>
						</tr>
						<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
					</table>
				</div>                
              </div>
            </div>
          		
            
          </div>
        </section>




<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\Berkc\OneDrive\Masaüstü\smm\zoopedia-master\resources\views\others\hall_of_fame.blade.php ENDPATH**/ ?>