Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- JQuery DataTable Css -->
- <link href="<?php echo $basepath ?>assets/plugins/jquery-datatable/skin/bootstrap/css/dataTables.bootstrap.css" rel="stylesheet">
- <section class="content">
- <div class="container-fluid">
- <div class="block-header">
- <h2>
- Manage User
- </h2>
- </div>
- <!-- Exportable Table -->
- <div class="row clearfix">
- <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
- <div class="card">
- <div class="body">
- <div class="table-responsive">
- <table class="table table-bordered table-striped table-hover dataTable js-exportable">
- <thead>
- <tr>
- <th>Username</th>
- <th>Email</th>
- <th>Nama</th>
- <th>Jenis Kelamin</th>
- <th>Agama</th>
- <th>Foto</th>
- <th>Action</th>
- </tr>
- </thead>
- <tfoot>
- <tr>
- <th>Username</th>
- <th>Email</th>
- <th>Nama</th>
- <th>Jenis Kelamin</th>
- <th>Agama</th>
- <th>Foto</th>
- <th>Action</th>
- </tr>
- </tfoot>
- <tbody>
- <?php
- $data_user = $usr->getDataUser();
- $i=1;
- while($list = $data_user->FetchRow()){
- foreach($list as $key=>$val){
- $key=strtolower($key);
- $$key=$val;
- }
- ?>
- <tr>
- <td><?php echo $username ?></td>
- <td><?php echo $email ?></td>
- <td><?php echo $nama_lengkap ?></td>
- <td><?php echo $jenis_kelamin ?></td>
- <td><?php echo $agama ?></td>
- <td align="center"><img src="<?php echo $basepath ?>assets/images/biodata/<?php echo $foto ?>" style="width:50px;height:50px"></td>
- <td align="center">
- <a style="text-decoration:none" href="<?php echo $basepath ?>user/edit/<?php echo $gen_controller->encrypt($id_user)?>">
- <button class="btn btn-primary btn-sm">Edit</button>
- </a>
- <a style="text-decoration:none" href="<?php echo $basepath ?>user/delete/<?php echo $gen_controller->encrypt($id_user)?>">
- <button class="btn btn-danger btn-sm">Delete</button>
- </a>
- </td>
- </tr>
- <?php
- $i++;
- }
- ?>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- #END# Exportable Table -->
- </div>
- </section>
- <!-- Jquery Core Js -->
- <script src="<?php echo $basepath ?>assets/plugins/jquery/jquery.min.js"></script>
- <!-- Bootstrap Core Js -->
- <script src="<?php echo $basepath ?>assets/plugins/bootstrap/js/bootstrap.js"></script>
- <!-- Select Plugin Js -->
- <script src="<?php echo $basepath ?>assets/plugins/bootstrap-select/js/bootstrap-select.js"></script>
- <!-- Slimscroll Plugin Js -->
- <script src="<?php echo $basepath ?>assets/plugins/jquery-slimscroll/jquery.slimscroll.js"></script>
- <!-- Waves Effect Plugin Js -->
- <script src="<?php echo $basepath ?>assets/plugins/node-waves/waves.js"></script>
- <!-- Jquery DataTable Plugin Js -->
- <script src="<?php echo $basepath ?>assets/plugins/jquery-datatable/jquery.dataTables.js"></script>
- <script src="<?php echo $basepath ?>assets/plugins/jquery-datatable/skin/bootstrap/js/dataTables.bootstrap.js"></script>
- <script src="<?php echo $basepath ?>assets/plugins/jquery-datatable/extensions/export/dataTables.buttons.min.js"></script>
- <script src="<?php echo $basepath ?>assets/plugins/jquery-datatable/extensions/export/buttons.flash.min.js"></script>
- <script src="<?php echo $basepath ?>assets/plugins/jquery-datatable/extensions/export/jszip.min.js"></script>
- <script src="<?php echo $basepath ?>assets/plugins/jquery-datatable/extensions/export/pdfmake.min.js"></script>
- <script src="<?php echo $basepath ?>assets/plugins/jquery-datatable/extensions/export/vfs_fonts.js"></script>
- <script src="<?php echo $basepath ?>assets/plugins/jquery-datatable/extensions/export/buttons.html5.min.js"></script>
- <script src="<?php echo $basepath ?>assets/plugins/jquery-datatable/extensions/export/buttons.print.min.js"></script>
- <!-- Custom Js -->
- <script src="<?php echo $basepath ?>assets/js/admin.js"></script>
- <script src="<?php echo $basepath ?>assets/js/pages/tables/jquery-datatable.js"></script>
- <!-- Demo Js -->
- <script src="<?php echo $basepath ?>assets/js/demo.js"></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment