<div class="table-responsive">
                    <table class="table color-table info-table table table-striped">
                        <thead>
                            <tr>
                                <th>ID</th>
                                <th>Name</th>
                                <th>Position</th>
                                <th>Phone</th>
                                <th>Salary</th>
                            </tr>
                        </thead>
                        <tbody>
                            <?php foreach($staff as $row) : ?>
                            <tr>
                                <td><?php echo $row->id ?></td>
                                <td><a href="<?php echo base_url() ?>admin/staff/view/<?php echo $row->id; ?>"><?php echo $row->staff_name ?></a></td>
                                <td><?php echo $row->position ?></td>
                                <td><?php echo $row->phone ?></td>
                                <td><?php echo number_format($row->salary) ?></td>
                            </tr>
                            <?php endforeach; ?>
                        </tbody>
                    </table>
                </div>