<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">Kontrak ID</th>
                            <th class="text-center">nm_agungan</th>
                            <th class="text-center">foto_1</th>
                            <th class="text-center">foto_2</th>
                            <th class="text-center">foto_3</th>
                            <th class="text-center">foto_4</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-kontrak_id="<?= $Data_table->kontrak_id ?>"
                                    data-nm_agungan="<?= $Data_table->nm_agungan ?>"
                                    data-foto_1="<?= $Data_table->foto_1 ?>" data-foto_2="<?= $Data_table->foto_2 ?>"
                                    data-foto_3="<?= $Data_table->foto_3 ?>"
                                    data-foto_4="<?= $Data_table->foto_4 ?>">Detail</a>
                            </td>
                            <td class="text-left">
                                <?= $Data_table->kontrak_id; ?>
                            </td>
                            <td class="text-center">
                                <?= $Data_table->nm_agungan; ?>
                            </td>
                            <td class="text-center">
                                <?= $Data_table->foto_1; ?>
                            </td>
                            <td class="text-center">
                                <?= $Data_table->foto_2; ?>
                            </td>
                            <td class="text-left">
                                <?= $Data_table->foto_3; ?>
                            </td>
                            <td class="text-left">
                                <?= $Data_table->foto_4; ?>
                            </td>
                        </tr>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>