<div class="row layout-spacing">
    <div class="col-lg-12">
        <div class="statbox widget box box-shadow">
            <div class="widget-content widget-content-area">
                <table id="style-3" class="table style-3  table-hover">
                    <thead>
                        <tr>
                            <th class="text-center">Aksi</th>
                            <th class="text-center">id</th>
                            <th class="text-center">nm_desa</th>
                            <th class="text-center">nm_kecamatan</th>
                            <th class="text-center">kot_kab</th>
                            <th class="text-center">prov</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php foreach ($data_table as $Data_table) : ?>
                        <tr>
                            <td class="text-center">
                                <a href="javascript:void(0);" class="btn btn-primary btn-sm" id="detail_konten"
                                    data-target="#konten_detail" class="bs-tooltip" data-toggle="modal"
                                    data-alamat_id="<?= $Data_table->id ?>" data-nm_desa="<?= $Data_table->nm_desa ?>"
                                    data-nm_kecamatan="<?= $Data_table->nm_kecamatan ?>"
                                    data-kot_kab="<?= $Data_table->kot_kab ?>"
                                    data-prov="<?= $Data_table->prov ?>">Detail</a>
                            </td>
                            <td class="text-center">
                                <?= $Data_table->id; ?>
                            </td>
                            <td class="text-left">
                                <?= $Data_table->nm_desa; ?>
                            </td>
                            <td class="text-left">
                                <?= $Data_table->nm_kecamatan; ?>
                            </td>
                            <td class="text-left">
                                <?= $Data_table->kot_kab; ?>
                            </td>
                            <td class="text-left">
                                <?= $Data_table->prov; ?>
                            </td>
                        </tr>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>