<h6 class="text-center text-uppercase">Jadwal togel <?php echo ftab("link_masukbo", "web_setting", "link_masukbo"); ?></h6>
    <hr class="w-75 d-block mx-auto">

    <div class="table-responsive">
    <table id="jadwal-table" class="table table-light table-striped table-bordered">
        <thead>
            <tr>
                <th>Nama Pasaran</th>
                <th>Jadwal Tutup</th>
                <th>Jadwal Undi</th>
                <th>Situs Resmi</th>
            </tr>
        </thead>

        <tbody>
            <?php
                $sjad = "SELECT * FROM pasaran_web";
                $qjad = mysqli_query($data, $sjad);

                if(mysqli_num_rows($qjad) > 0) {
                    while($fjad = mysqli_fetch_assoc($qjad)) {
                        echo '<tr class="text-capitalize">
                        <td>'.$fjad['nama_pasaranweb'].'</td>
                        <td>'.$fjad['jam_tutuppas'].' WIB</td>
                        <td>'.$fjad['jam_undipass'].' WIB</td>
                        <td><a href="'.$fjad['link_livedraw'].'" target="_blank"><img width="20" src="images/link-btn.png"></a></td>
                    </tr>';
                    }
                }
            ?>
            
        </tbody>
    </table>
    </div>