<?php foreach($kontak as $kontak) :   endforeach; ?>
<?php foreach($admin_login as $user) :   endforeach; ?> 
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <div class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1 class="m-0 text-dark"> 
                     <?php echo $title1; ?>
            </h1>
          </div><!-- /.col -->
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="#">Home</a></li>
              <li class="breadcrumb-item active"><?php echo $title1; ?></li>
            </ol>
          </div><!-- /.col -->
        </div><!-- /.row -->
      </div><!-- /.container-fluid -->
    </div>
    <!-- /.content-header -->
        
          
    <!-- Main content -->
    <section class="content">
      <div class="container-fluid">
          <div class="card">
              <div class="card-header">
                                 Detail id Drop Out : <?php echo $id_dropout= $this->uri->segment(3); ?>

              </div>
              <!-- /.card-header -->
              <div class="card-body">
                 <table class="table">
                                    <thead>
                                        <tr>
                                            <th>No</th>
                                            <th>Nama Barang</th>
                                         
                                            <th style="text-align: center;">Jumlah</th>
                                            <th>Status Barang</th>
                                             
                                             
                                        </tr>
                                            
                                    </thead>
                                    <tbody>
                                        <?php $no=1; foreach($detail_drop_out as $tampil) :   

                                        $id_barang= $tampil->id_barang;
                                        $this->db->where('id',$id_barang);
                                        $query = $this->db->get('tb_barang');
                                        $cek = $query->row();

                                        $nama_barang = $cek->nama_barang;
                                     

                                             

                                                ?>

                                        <tr>
                                            <td><?php echo $no; ?></td>
                                            <td><?php echo $nama_barang; ?></td>
                                         
                                            <td style="text-align: center;"><?php echo  $tampil->jumlah; ?></td>
                                            <td><?php echo  $tampil->status; ?></td> 
                                             
                                        </tr>
                                        <?php $no++; endforeach; ?>
                                    </tbody>
                                </table>
              </div>
              <!-- /.card-body -->
            </div>
      </div><!-- /.container-fluid -->
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
 