https://t.me/RX1948
Server : Apache/2.4.18 (Ubuntu)
System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64
User : oppastar ( 1041)
PHP Version : 7.0.33-0ubuntu0.16.04.15
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Directory :  /var/www/laciasmara.com/public_html/shop/application/views/admin/user/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/laciasmara.com/public_html/shop/application/views/admin/user/log_list.php
<div class="row">
    <div class="col-sm-12">
        <p><a href="<?= base_url('admin/configuration_index'); ?>"><i class="fa fa-arrow-left" aria-hidden="true"></i> Kembali ke Configuration</a></p><br>
        <h2>Log Pengguna</h2>
        <?= $this->session->flashdata('success'); //to display success message 
        ?>
        <?= $this->session->flashdata('result'); //to display result message 
        ?>
    </div><!-- end class="col-sm-12" -->
</div> <!-- end row -->

<section>
    <p>
        <select id="filterByUser" onchange="filterByUser()">
            <option class="form-control" value="">Tampilkan Semua Pengguna</option>
            <?php foreach ($users as $user) : ?>
                <option value="<?= $user->id; ?>"><?= $user->name; ?></option>
            <?php endforeach; ?>
        </select>
    </p>

    <script>
        function filterByUser() {
            var selectedUserId = document.getElementById("filterByUser").value;
            window.location.href = '<?= base_url('admin/user/filterByUser/'); ?>' + selectedUserId;
        }
    </script>
    <div class="table-responsive">
        <table id="tabellog" class="table table-striped">
            <thead>
                <tr>
                    <th>Log ID</th>
                    <th>Waktu</th>
                    <th>User</th>
                    <th>Aktifitas</th>
                </tr>
            </thead>
            <tbody>
                <?php if (count($logs)) : ?>
                    <?php foreach ($logs as $log) : ?>

                        <tr>
                            <td><?= $log->id; ?></td>
                            <td><?= $log->time; ?></td>
                            <td><?= $log->user_name; ?></td>
                            <td><?= $log->activity; ?></td>
                        </tr>




                    <?php endforeach; ?>
                <?php else : ?>
                    <tr>
                        <td colspan="3">Kami tidak dapat menemukan log apa pun.</td>
                    </tr>
                <?php endif; ?>
            </tbody>
        </table>
    </div>
</section>

<script src="https://code.jquery.com/jquery-3.5.1.js"></script>
<script src="https://cdn.datatables.net/1.10.21/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.6.2/js/dataTables.buttons.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.6.2/js/buttons.flash.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/pdfmake.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/vfs_fonts.js"></script>
<script src="https://cdn.datatables.net/buttons/1.6.2/js/buttons.html5.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.6.2/js/buttons.print.min.js"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.21/css/jquery.dataTables.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.6.2/css/buttons.dataTables.min.css">
<script>
    $('#tabellog').DataTable({
        "ordering": true,
        dom: 'Bfrtip',
        buttons: [{
                extend: 'excelHtml5',
                title: 'Log Activity <?php echo (isset($_SESSION['startProduk'])) ? $_SESSION['startProduk'] . " - " . $_SESSION['endProduk'] : ""  ?>'
            },
            {
                extend: 'pdfHtml5',
                title: 'Log Activity <?php echo (isset($_SESSION['startProduk'])) ? $_SESSION['startProduk'] . " - " . $_SESSION['endProduk'] : ""  ?>'
            },
            {
                extend: 'print',
                title: 'Log Activity <?php echo (isset($_SESSION['startProduk'])) ? $_SESSION['startProduk'] . " - " . $_SESSION['endProduk'] : ""  ?>'
            }
        ]
    });
</script>

https://t.me/RX1948 - 2025