            <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?transfer_antarpondok"><i class="material-icons">transfer_within_a_station</i> Transfer Antar Pondok</a></li>
                                <li class="active"> Transfer Antar Pondok View</li>
                            </ol>
                </h2>
            </div>
			<?php 
		
			if(isset($_GET['id']))
			{
			$id=noninjection($koneksi,$_GET['id']);
			$qry_rek=mysqli_query($koneksi,"SELECT * FROM `tb_transfer_antaranggota` WHERE id='".$id."'");
			$N=mysqli_num_rows($qry_rek);
			if($N<>0)
			{
			while($row=mysqli_fetch_array($qry_rek))
			{
			
			?>
 <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>TRANSFER ANTAR PONDOK VIEW</h2>
                           
                        </div>
                        <div class="body">
						
						
						<?php 
						$qry_cari=mysqli_query($koneksi,"SELECT * FROM `tb_anggota` WHERE idanggota='".$row['dari_idanggota']."'");
			$row_cari=mysqli_fetch_array($qry_cari)
						?>
						<div class="row">
						<div class="col-sm-6" style="background-color:#E6FBE7">
						<div class="row" style="padding-top:8px; background-color:#4CAF50;color:#FFFFFF"">
						<div class="col-sm-12" align="center"><b>DARI</b></div>
						</div>
							<div class="row" style="padding-top:8px; ">
  							<div class="col-sm-4">ID Member</div>
 							 <div class="col-sm-8"><?php echo $row['dari_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>
						<div class="col-sm-6" style="background-color:#DBE8F7">
						
						<div class="row" style="padding-top:8px; background-color:#009688; color:#FFFFFF">
						<div class="col-sm-12" align="center"><b>TUJUAN TRANSFER</b></div>
						</div>
							<?php 
						$qry_cari=mysqli_query($koneksi,"SELECT * FROM `tb_anggota` WHERE idanggota='".$row['tujuan_idanggota']."'");
			$row_cari=mysqli_fetch_array($qry_cari)
						?>
							
							<div class="row" style="padding-top:8px;">
							  <div class="col-sm-4">ID Member</div>
 							 <div class="col-sm-8"><?php echo $row['dari_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>
						</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">Tanggal Transaksi</div>
 							 <div class="col-sm-8"><?php echo $row['tgl'];?></div>
							</div>
							<div align="right">
							
									<a href="./content/transfer_antarpondok_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>
								<?php if($row['status']=='OPEN'){;?>
							<a href="index.php?transfer_antarpondok&mn=transfer_antarpondok_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>
							<?php }?>
							</div>
<?php }} else {?> 
<div style="font-size:18px; color:#CC0000"> DATA TIDAK TERSEDIA</div>
<?php }} ?>