
        <table class="table table-striped">
    <thead>
        <tr>
            <th class="col-1">#</th>
            <th>Judul</th>
            <th>Kutipan</th>
            <th class="col-2">Aksi</th>
        </tr>
    </thead>
    <tbody>
        <?php 
include("../../inc/inc_koneksi.php");
include("../../inc/inc_fungsi.php");
   $page = $_POST['page'];
        $sql1   = "select * from halaman where master_menu ='$page' AND active = '1' ORDER BY id ASC ";  
        $q1     = mysqli_query($koneksi,$sql1);
        $total  = mysqli_num_rows($q1); 
        $nomor  =  1; 
        $q1     = mysqli_query($koneksi, $sql1);
      
        while ($r1 = mysqli_fetch_array($q1)) {
        ?>
            <tr>
                <td><?php echo $nomor++ ?></td>
                <td><?php echo $r1['judul'] ?></td>
                <td><?php echo $r1['kutipan'] ?></td>
                <td> 
                    <a href="halaman_input.php?id=<?php echo $r1['id']?>">
                        <span class="badge bg-warning text-dark">Edit</span>
                    </a>

                  <!--   <a href="halaman.php?op=delete&id=<?php echo $r1['id'] ?>" onclick="return confirm('Apakah yakin mau hapus data bro?')">
                        <span class="badge bg-danger">Delete</span>
                    </a> -->
                </td>
            </tr>
        <?php
        }
        ?>

    </tbody>
</table>
 