            <div class="block-header">
                <h2>
                  
                     <ol class="breadcrumb breadcrumb-bg-teal">
                                <li><a href="index.php?home"><i class="material-icons">home</i> Home</a></li>
                               <li><a href="index.php?penarikan"><i class="material-icons">vertical_align_top</i> Penarikan</a></li>
                                <li class="active"> Penarikan View</li>
                            </ol>
                </h2>
            </div>
			<?php 
		
			if(isset($_GET['id']))
			{
			$id=noninjection($koneksi,$_GET['id']);
			$qry_rek=mysqli_query($koneksi,"SELECT * FROM `tb_rekening` WHERE id='".$id."'");
			$N=mysqli_num_rows($qry_rek);
			if($N<>0)
			{
			while($row=mysqli_fetch_array($qry_rek))
			{
			$qry_cari=mysqli_query($koneksi,"SELECT * FROM `tb_anggota` WHERE idanggota='".$row['idanggota']."'");
			$row_cari=mysqli_fetch_array($qry_cari)
			?>
 <div class="row clearfix">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                    <div class="card">
                        <div class="header">
                            <h2>PENARIKAN VIEW</h2>
                           
                        </div>
                        <div class="body">
						
						<div class="row" style="padding-top:8px; ">
  							<div class="col-sm-4">ID Member</div>
 							 <div class="col-sm-8"><?php echo $row['idanggota'];?></div>
							</div> 
							
							<div class="row" style="background-color:#D8F5D3; padding-top:8px; ">
  							<div class="col-sm-4">Kategori</div>
 							 <div class="col-sm-8"><?php echo $row_cari['kategori'];?></div>
							</div> 
							
							<div class="row" style="padding-top:8px;">
  							<div class="col-sm-4">NIK</div>
 							 <div class="col-sm-8"><?php echo  $row_cari['nik'];?></div>
							</div> 
							
							<div class="row"  style="background-color:#D8F5D3; padding-top:8px;">
  							<div class="col-sm-4">Nama</div>
 							 <div class="col-sm-8"><?php echo  $row_cari['nama'];?></div>
							</div> 
							
							<div class="row" style="padding-top:8px;">
  							<div class="col-sm-4">Alamat</div>
 							 <div class="col-sm-8"><?php echo  $row_cari['alamat'];?></div>
							</div> 
							
							<div class="row"  style="background-color:#D8F5D3; padding-top:8px;">
  							<div class="col-sm-4">Phone</div>
 							 <div class="col-sm-8"><?php echo  $row_cari['phone'];?></div>
							</div> 
							
							<div class="row" style="padding-top:8px;">
  							<div class="col-sm-4">Nominal</div>
 							 <div class="col-sm-8"><?php echo  number_format($row['nominal'],0,",",".");?> IDR</div>
							</div> 
							
							<div class="row"  style="background-color:#D8F5D3; padding-top:8px;">
  							<div class="col-sm-4">Keterangan</div>
 							 <div class="col-sm-8"><?php echo $row['keterangan'];?></div>
							</div> 
							
							<div class="row" style="padding-top:8px;">
  							<div class="col-sm-4">Saldo</div>
 							 <div class="col-sm-8"><?php echo number_format($row['saldo'],0,",",".");
							 ?> IDR</div>
							</div>
							
							<div class="row"  style="background-color:#D8F5D3; padding-top:8px;">
  							<div class="col-sm-4">Reff 1</div>
 							 <div class="col-sm-8"><?php echo $row['reff'];?></div>
							</div>
							<div class="row"  style=" padding-top:8px;">
  							<div class="col-sm-4">Reff 2</div>
 							 <div class="col-sm-8"><?php echo $row['reff2'];?></div>
							</div>
							
							<div class="row"  style="background-color:#D8F5D3; padding-top:8px;">
  							<div class="col-sm-4">Tanggal Transaksi</div>
 							 <div class="col-sm-8"><?php echo $row['tgl'];?></div>
							</div>
							<div align="right">
							
									<a href="./content/penarikan_print.php?id=<?php echo $row['id'];?>" target="_blank">
								 	<button  type="button" data-toggle="modal" data-target="#defaultModal"  class="btn bg-light-green btn-circle waves-effect waves-circle waves-float" data-placement="left" title="Print Data">
                                    	<i class="material-icons">print</i>
                                	</button>
									</a>
							<a href="index.php?penarikan&mn=penarikan_del&id=<?php echo $row['id'];?>" onclick="return confirm('Yakin ingin Hapus data ini?');">
								  	<button type="button" class="btn bg-red btn-circle waves-effect waves-circle waves-float" data-toggle="tooltip" data-placement="left" title="Hapus Data">
                                    	<i class="material-icons">delete_sweep</i>
                                	</button>
							</a>
							</div>
<?php }} else {?> 
<div style="font-size:18px; color:#CC0000"> DATA TIDAK TERSEDIA</div>
<?php }} ?>