<main id="main" class="main">

    <div class="pagetitle">
        <h1>Master Mesin</h1>
        <nav>
            <ol class="breadcrumb">

            </ol>
        </nav>
    </div><!-- End Page Title -->

    <section class="section">
        <div class="row">
            <div class="col-lg-12">
                <div class="card">
                    <div class="card-body">
                        <br>
                        <!-- Table with stripped rows -->
                        <div class="datatable-wrapper datatable-loading no-footer sortable searchable fixed-columns">
                            <div class="row g-3">
                            </div>
                            <br>
                            <div class="datatable-container">
                                <table class="table table-sm table-bordered table-striped">
                                    <thead>
                                        <th width="35px">ID Mesin</th>
                                        <th width="550px">Mesin</th>
                                    </thead>
                                    <tbody>
                                        <?php
                                        foreach ($mesin as $m) {
                                            echo "<tr>";
                                            echo "<td>" . $m['kd_mesin'] . "</td>";
                                            echo "<td>" . $m['mesin'] . "</td>";
                                            echo "</tr>";
                                        }
                                        ?>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                        <!-- End Table with stripped rows -->
                    </div>
                </div>
            </div>
        </div>
    </section>
</main>