<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">id</th>
                            <th class="text-center">nik</th>
                            <th class="text-center">nm_anggota</th>
                            <th class="text-center">jk</th>
                            <th class="text-center">alamat_lengkap</th>
                            <th class="text-center">nm_rt</th>
                            <th class="text-center">nm_rw</th>
                            <th class="text-center">id_alamat</th>
                            <th class="text-center">tempat_lahir</th>
                            <th class="text-center">tgl_lahir</th>
                            <th class="text-center">no_hp</th>
                            <th class="text-center">pekerjaan</th>
                            <th class="text-center">suami_istri</th>
                            <th class="text-center">foto_ktp</th>
                            <th class="text-center">foto_kk</th>
                            <th class="text-center">status_anggota</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php foreach ($data_table as $Data_table) : ?>
                        <tr>
                            <td class="text-left">
                                <?= $Data_table->id; ?>
                            </td>
                            <td class="text-center">
                                <?= $Data_table->nik; ?>
                            </td>
                            <td class="text-right">
                                <?= $Data_table->nm_anggota; ?>
                            </td>
                            <td class="text-center">
                                <?= $Data_table->jk; ?>
                            </td>
                            <td class="text-left">
                                <?= $Data_table->alamat_lengkap; ?>
                            </td>
                            <td class="text-center">
                                <?= $Data_table->nm_rt; ?>
                            </td>
                            <td class="text-right">
                                <?= $Data_table->nm_rw; ?>
                            </td>
                            <td class="text-center">
                                <?= $Data_table->id_alamat; ?>
                            </td>
                            <td class="text-left">
                                <?= $Data_table->tempat_lahir; ?>
                            </td>
                            <td class="text-center">
                                <?= $Data_table->tgl_lahir; ?>
                            </td>
                            <td class="text-right">
                                <?= $Data_table->no_hp; ?>
                            </td>
                            <td class="text-center">
                                <?= $Data_table->pekerjaan; ?>
                            </td>
                            <td class="text-left">
                                <?= $Data_table->suami_istri; ?>
                            </td>
                            <td class="text-center">
                                <?= $Data_table->foto_ktp; ?>
                            </td>
                            <td class="text-right">
                                <?= $Data_table->foto_kk; ?>
                            </td>
                            <td class="text-center">
                                <?= $Data_table->status_anggota; ?>
                            </td>
                        </tr>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>