<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>List Data Pasien</title>
    <!-- Link to Bootstrap CSS for styling -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<div class="container mt-5">
    <h2 class="mb-4 text-center">Registrasi Data Pelanggan</h2>
    <div class="d-flex justify-content-between align-items-center mb-4">
        <h1 class="h4 text-gray-800">Data Kurir</h1>
        <a href="home1.php" class="btn btn-primary btn-sm">Kembali</a>
    </div>
    <!-- Patient List using Card Views -->
    <div class="row row-cols-1 g-4">
        <?php 
                  include 'koneksi.php';
              
                  $no=1;
                  $data = mysqli_query($koneksi,"SELECT * FROM tbl_kurir");
                  while($d = mysqli_fetch_array($data)){
                    ?>
        <!-- More Cards for additional patients -->
        <div class="col">
            <div class="card shadow-sm">
                <div class="card-body">
                    <h5 class="card-title"><?php echo $d['nama_kurir']; ?></h5>
                    <p class="card-text"><strong>Spesialis:</strong><?php echo $d['jenis_kendaraan']; ?></p>
                    <p class="card-text"><strong>Keterangan:</strong><?php echo $d['nopol']; ?></p>
                    
                    
                </div>
            </div>
        </div>
<?php 
                  }
                  ?>
        <!-- Repeat the card structure for more patients -->
    </div>
</div>

<!-- Link to Bootstrap JS for interactivity -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>


