<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>resources/css/date-css.css" />
<div class="centering" style="width:30%;margin-top: 4%;">
	<div id='search_detil' style="border: 1px solid #ffffff;">
    <div class="detil" style="padding: 2px;background-color: white;">
		<table id="tableDetilPerkara" style="background: #dedbdb;">
			<col width="40%">
			<tbody>
				<tr>
					<td colspan="3" style='text-align:center;background:#F25500;color:#fff;border:2px solid #fff;margin-bottom:10px;font-size: 20px;'>HAPUS REGISTER ANAK <br>BELUM 12 TAHUN</td>
				</tr>
				<tr >
					<td style="background-color:#9A0000">Perhatian!! apakah anda benar-benar yakin akan menghapus data register dengan nomor penetapan <h4><font color='yellow'><?php echo $nomor_penetapan ?> ? </font></h4> </td> 
				</tr>
				<tr>
					<td style="background-color:#9A0000">Data yang telah dihapus tidak dapat dikembalikan lagi.</td> 
				</tr>
				
				<tr>
					<td colspan="3" style="background:white;" align="center">
						<input type="button" onClick='hapus_register()' value="hapus" class="btn btn-danger"></input>&nbsp&nbsp&nbsp
                        <input type="button" id='close_btn' value="Batal" class="btn">
					</td>
				</tr>
			</tbody>
		</table>
	</form>
	</div>
	</div>
</div>
<script type="text/javascript">
    $('#close_btn').closingFormWin();
    $('#popup_form').closingFormWin();
    function hapus_register(){	
	    window.open('<?php echo base_url('add_register_blm_12tahun/hapus_register').'/'.$enc_register;?>','_self');
	}
</script>
