<?php $mode		= $this->uri->segment(3);

if ($mode == "edt" || $mode == "act_edt") {
	$act					= "act_edt";
	$idp					= $datpil->id;
	$pemilik				= $datpil->pemilik;
	$produk					= $datpil->produk;
	$jenis					= $datpil->jenis;
	$alamat					= $datpil->alamat;
	$status					= $datpil->status;
	$ket					= $datpil->ket;
	$file1					= $datpil->file1;
	$file2					= $datpil->file2;
	$file3					= $datpil->file3;
	$file4					= $datpil->file4;
	$file5					= $datpil->file5;
	$file6					= $datpil->file6;
	$file7					= $datpil->file7;
	$file8					= $datpil->file8;
	$file9					= $datpil->file9;
	
	
	
} else {
	$act						= "act_add";
	$idp						= "";
	$pemilik					= $this->session->userdata('admin_pemilik');
	$produk						= $this->session->userdata('admin_produk');
	$jenis						= $this->session->userdata('admin_jenis');
	$alamat						= $this->session->userdata('admin_alamat');
	$tgl						= "";
	$status						= "";
	$ket						= "";

}
				
?>  

        <div class="container">
           
            <div class="row">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                    <div class="form-element-list mg-t-30">
                        <div class="basic-tb-hd">
                            <h2>Data Permohonan PSB</h2>
                          
                        </div>
						<form action="<?=base_URL()?>admin/mohon/<?php echo $act; ?>" method="post" accept-charset="utf-8" enctype="multipart/form-data" class="form-horizontal">
                        <input type="hidden" name="idp" value="<?php echo $idp; ?>">
                         <input type="hidden" name="pemilik" value="<?php echo $pemilik; ?>">
						  <input type="hidden" name="produk" value="<?php echo $produk; ?>">
						   <input type="hidden" name="jenis" value="<?php echo $jenis; ?>">
						    <input type="hidden" name="alamat" value="<?php echo $alamat; ?>">
						<input type="hidden" name="status" value="Menunggu Verifikasi">
						<input type="hidden" name="ket" value="<?php echo $ket; ?>">
						
						
                        
                        <div class="row">
                            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                <div class="floating-numner">
                                    <p>Surat Pernyataan  Bersedia Diaudit</p>
                                </div>
                            </div>
                        </div>
						<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                <div class="form-group float-lb">
                                    <div class="nk-int-st">
                                        <input autocomplete ='off' type="file" name="file_mohon1"   required  oninvalid="this.setCustomValidity('data tidak boleh kosong')" oninput="setCustomValidity('')"  class="form-control">
                                      
                                    </div>
                                </div>
                         </div>
						<div class="row">
                            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                <div class="floating-numner">
                                    <p>Peta Lokasi</p>
                                </div>
                            </div>
                        </div>
						<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                <div class="form-group float-lb">
                                    <div class="nk-int-st">
                                        <input autocomplete ='off' type="file" name="file_mohon2" required oninvalid="this.setCustomValidity('data tidak boleh kosong')" oninput="setCustomValidity('')"  class="form-control">
                                      
                                    </div>
                                </div>
                         </div>
						 <div class="row">
                            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                <div class="floating-numner">
                                    <p>Denah Bangunan</p>
                                </div>
                            </div>
                        </div>
						<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                <div class="form-group float-lb">
                                    <div class="nk-int-st">
                                        <input autocomplete ='off' type="file" name="file_mohon3" required  oninvalid="this.setCustomValidity('data tidak boleh kosong')" oninput="setCustomValidity('')"   class="form-control">
                                      
                                    </div>
                                </div>
                         </div>
						 <div class="row">
                            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                <div class="floating-numner">
                                    <p>Izin Industri/produksi/Tanda Daftar Perusahaan (TDP)</p>
                                </div>
                            </div>
                        </div>
						<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                <div class="form-group float-lb">
                                    <div class="nk-int-st">
                                        <input autocomplete ='off' type="file" name="file_mohon4" required  oninvalid="this.setCustomValidity('data tidak boleh kosong')" oninput="setCustomValidity('')" class="form-control">
                                      
                                    </div>
                                </div>
                         </div>
						 <div class="row">
                            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                <div class="floating-numner">
                                    <p>Nomor Pokok Wajib Pajak (NPWP)</p>
                                </div>
                            </div>
                        </div>
						<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                <div class="form-group float-lb">
                                    <div class="nk-int-st">
                                        <input autocomplete ='off' type="file" name="file_mohon5" required  oninvalid="this.setCustomValidity('data tidak boleh kosong')" oninput="setCustomValidity('')" class="form-control">
                                      
                                    </div>
                                </div>
                         </div>
						 <div class="row">
                            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                <div class="floating-numner">
                                    <p>Alur Proses Produksi</p>
                                </div>
                            </div>
                        </div>
						<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                <div class="form-group float-lb">
                                    <div class="nk-int-st">
                                        <input autocomplete ='off' type="file" name="file_mohon6" required  oninvalid="this.setCustomValidity('data tidak boleh kosong')" oninput="setCustomValidity('')" class="form-control">
                                      
                                    </div>
                                </div>
                         </div>
						 <div class="row">
                            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                <div class="floating-numner">
                                    <p>Daftar Peralatan Produksi</p>
                                </div>
                            </div>
                        </div>
						<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                <div class="form-group float-lb">
                                    <div class="nk-int-st">
                                        <input autocomplete ='off' type="file" name="file_mohon7" required  oninvalid="this.setCustomValidity('data tidak boleh kosong')" oninput="setCustomValidity('')" class="form-control">
                                      
                                    </div>
                                </div>
                         </div>
						 <div class="row">
                            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                <div class="floating-numner">
                                    <p>Upload File</p>
                                </div>
                            </div>
                        </div>
						<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                <div class="form-group float-lb">
                                    <div class="nk-int-st">
                                        <input autocomplete ='off' type="file" name="file_mohon8"   oninvalid="this.setCustomValidity('data tidak boleh kosong')" oninput="setCustomValidity('')" class="form-control">
                                      
                                    </div>
                                </div>
                         </div>
						 <div class="row">
                            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                <div class="floating-numner">
                                    <p>SOP (penerimaan, penyimpanan dan pendsitribusian)</p>
                                </div>
                            </div>
                        </div>
						<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                <div class="form-group float-lb">
                                    <div class="nk-int-st">
                                        <input autocomplete ='off' type="file" name="file_mohon9" required  oninvalid="this.setCustomValidity('data tidak boleh kosong')" oninput="setCustomValidity('')" class="form-control">
                                      
                                    </div>
                                </div>
                         </div>
						<button class="btn btn-sm btn-primary login-submit-cs" type="submit">Submit</button> 
                    </div>
					
					 
                </div>
            </div>
            
        </div>
 