Advertisement
Guest User

Untitled

a guest
Nov 12th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 9.77 KB | None | 0 0
  1. <div class="page-wrapper">
  2.     <!-- ============================================================== -->
  3.     <!-- Container fluid  -->
  4.     <!-- ============================================================== -->
  5.     <div class="container-fluid">
  6.         <!-- ============================================================== -->
  7.         <!-- Bread crumb and right sidebar toggle -->
  8.         <!-- ============================================================== -->
  9.         <div class="row page-titles">
  10.             <div class="col-md-5 align-self-center">
  11.                 <h4 class="text-themecolor">Data User</h4>
  12.             </div>
  13.         </div>
  14.         <!-- ============================================================== -->
  15.         <!-- End Bread crumb and right sidebar toggle -->
  16.         <!-- ============================================================== -->
  17.         <!-- ============================================================== -->
  18.         <!-- Start Page Content -->
  19.         <!-- ============================================================== -->
  20.         <div class="row">
  21.             <div class="col-12">
  22.                 <div class="card">
  23.                     <div class="card-body">
  24.                         <?php if ($this->session->flashdata('message')) {
  25.                             echo $this->session->flashdata('message');
  26.                         } ?>
  27.                         <a href="<?php echo base_url(); ?>user/v_tambah_data" class="btn btn-info">+ Tambah Data</a>
  28.  
  29.                         <table class="table table-bordered mt-5 table-responsive" id="table_user">
  30.                             <thead>
  31.                                 <tr>
  32.                                     <th style="border-bottom:1px solid #dee2e6">No</th>
  33.                                     <th style="border-bottom:1px solid #dee2e6">Alamat</th>
  34.                                     <th style="border-bottom:1px solid #dee2e6">Provinsi</th>
  35.                                     <th style="border-bottom:1px solid #dee2e6">Kab/Kota</th>
  36.                                     <th style="border-bottom:1px solid #dee2e6">Kelurahan</th>
  37.                                     <th style="border-bottom:1px solid #dee2e6">Kecamatan</th>
  38.                                     <th style="border-bottom:1px solid #dee2e6">Nama Aliran</th>
  39.                                     <th style="border-bottom:1px solid #dee2e6">Nama Alias</th>
  40.                                     <th style="border-bottom:1px solid #dee2e6">Nama Pendiri</th>
  41.                                     <th style="border-bottom:1px solid #dee2e6">Tahun Berdiri</th>
  42.                                     <th style="border-bottom:1px solid #dee2e6">Asas</th>
  43.                                     <th style="border-bottom:1px solid #dee2e6">Nama Pimpinan</th>
  44.                                     <th style="border-bottom:1px solid #dee2e6">Lokasi/Pusat</th>
  45.                                     <th style="border-bottom:1px solid #dee2e6">Jumlah Pengikut</th>
  46.                                     <th style="border-bottom:1px solid #dee2e6">Penambahan Pengikut</th>
  47.                                     <th style="border-bottom:1px solid #dee2e6">Legalitas</th>
  48.                                     <th style="border-bottom:1px solid #dee2e6">Cabang</th>
  49.                                     <th style="border-bottom:1px solid #dee2e6">Website</th>
  50.                                     <th style="border-bottom:1px solid #dee2e6">Facebook</th>
  51.                                     <th style="border-bottom:1px solid #dee2e6">Twitter</th>
  52.                                     <th style="border-bottom:1px solid #dee2e6">Instagram</th>
  53.                                     <th style="border-bottom:1px solid #dee2e6">Blog</th>
  54.                                     <th style="border-bottom:1px solid #dee2e6">Buletin</th>
  55.                                     <th style="border-bottom:1px solid #dee2e6">Lambang</th>
  56.                                     <th style="border-bottom:1px solid #dee2e6">Kepemimpinan</th>
  57.                                     <th style="border-bottom:1px solid #dee2e6">Afiliasi Kelompok</th>
  58.                                     <th style="border-bottom:1px solid #dee2e6">Sejarah Singkat</th>
  59.                                     <th style="border-bottom:1px solid #dee2e6">Struktur Organisasi</th>
  60.                                     <th style="border-bottom:1px solid #dee2e6">Ajaran Utama</th>
  61.                                     <th style="border-bottom:1px solid #dee2e6">Ciri Khas</th>
  62.                                     <th style="border-bottom:1px solid #dee2e6">Tujuan</th>
  63.                                     <th style="border-bottom:1px solid #dee2e6">Motivasi</th>
  64.                                     <th style="border-bottom:1px solid #dee2e6">Ciri Khusus</th>
  65.                                     <th style="border-bottom:1px solid #dee2e6">Bentuk,Warna,Pakaian</th>
  66.                                     <th style="border-bottom:1px solid #dee2e6">Ciri Kediaman</th>
  67.                                     <th style="border-bottom:1px solid #dee2e6">Simbol yang dipakai</th>
  68.                                     <th style="border-bottom:1px solid #dee2e6">Salam Khusus</th>
  69.                                     <th style="border-bottom:1px solid #dee2e6">Kebiasaan Seharihari</th>
  70.                                     <th style="border-bottom:1px solid #dee2e6">Sumber Pendanaan</th>
  71.                                     <th style="border-bottom:1px solid #dee2e6">Dukungan Luar</th>
  72.                                     <th style="border-bottom:1px solid #dee2e6">Anggaran Pertahun</th>
  73.                                     <th style="border-bottom:1px solid #dee2e6">Penggajian</th>
  74.                                     <th style="border-bottom:1px solid #dee2e6">Kemampuan Pengikut</th>
  75.                                     <th style="border-bottom:1px solid #dee2e6">Strategi</th>
  76.                                     <th style="border-bottom:1px solid #dee2e6">Taktik</th>
  77.                                     <th style="border-bottom:1px solid #dee2e6">Pelatihan</th>
  78.                                     <th style="border-bottom:1px solid #dee2e6">Sasaran</th>
  79.                                     <th style="border-bottom:1px solid #dee2e6">Ideologi</th>
  80.                                     <th style="border-bottom:1px solid #dee2e6">Afiliasi Parpol</th>
  81.                                     <th style="border-bottom:1px solid #dee2e6">Pendukung</th>
  82.                                     <th style="border-bottom:1px solid #dee2e6">Kesbangpol</th>
  83.                                     <th style="border-bottom:1px solid #dee2e6">Kepolisian</th>
  84.                                     <th style="border-bottom:1px solid #dee2e6">Kejaksaan</th>
  85.                                     <th style="border-bottom:1px solid #dee2e6">Kemensos</th>
  86.                                     <th style="border-bottom:1px solid #dee2e6">Masyarakat</th>
  87.                                     <th style="border-bottom:1px solid #dee2e6">Kasus yang pernah</th>
  88.                                     <th style="border-bottom:1px solid #dee2e6">Reaksi Internasional</th>
  89.                                     <th style="border-bottom:1px solid #dee2e6">Luka</th>
  90.                                     <th style="border-bottom:1px solid #dee2e6">Hilang</th>
  91.                                     <th style="border-bottom:1px solid #dee2e6">Meninggal</th>
  92.                                     <th style="border-bottom:1px solid #dee2e6">Mayoritas Korban</th>
  93.                                     <th style="border-bottom:1px solid #dee2e6">Isu Bermasalah</th>
  94.                                     <th style="border-bottom:1px solid #dee2e6">Penanganan Pemerintah</th>
  95.                                     <th style="border-bottom:1px solid #dee2e6">Catatan Kriminal</th>
  96.                                     <th style="border-bottom:1px solid #dee2e6">Putusan Pengadilan</th>
  97.                                     <th style="border-bottom:1px solid #dee2e6">Hakekat Ancaman</th>
  98.                                     <th style="border-bottom:1px solid #dee2e6">Potensi Konflik Sosial</th>
  99.                                     <th style="border-bottom:1px solid #dee2e6">Adanya Metamorphosis</th>
  100.                                     <th style="border-bottom:1px solid #dee2e6">Perubahan Paradigma</th>
  101.                                     <th style="border-bottom:1px solid #dee2e6">Ancaman Anarkis</th>
  102.                                     <th style="border-bottom:1px solid #dee2e6">Foto</th>
  103.                                     <th style="border-bottom:1px solid #dee2e6">Berita</th>
  104.                                     <th style="border-bottom:1px solid #dee2e6">Aksi</th>
  105.                                 </tr>
  106.                             </thead>
  107.                             <tbody>
  108.                             </tbody>
  109.                         </table>
  110.                     </div>
  111.                 </div>
  112.             </div>
  113.         </div>
  114.     </div>
  115. </div>
  116. <script>
  117.     var table;
  118.     $(document).ready(function() {
  119.         table = $('#table_user').DataTable({
  120.  
  121.             "processing": true, //Feature control the processing indicator.
  122.             "serverSide": true, //Feature control DataTables' server-side processing mode.
  123.             "order": [], //Initial no order.
  124.             // Load data for the table's content from an Ajax source
  125.             "ajax": {
  126.                 "url": "<?php echo base_url('user/get_data_by_id')?>",
  127.                 "type": "POST"
  128.             },
  129.             //Set column definition initialisation properties.
  130.             "columnDefs": [
  131.             {
  132.                 "targets": [0], //first column / numbering column
  133.                 "orderable": false, //set not orderable
  134.             },
  135.             ],
  136.         });
  137.  
  138.     })
  139. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement