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

if ($mode == "edt_ver" || $mode == "act_edt_ver") {
	$act					= "act_edt_ver";
	$idp					= $datpil->id;
	$status					= $datpil->status;
	$ket					= $datpil->ket;
	
	
	
} 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>Verifikasi 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; ?>">
						 <div class="row">
                            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                <div class="floating-numner">
                                    <p>Status</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">
                                      <div class="bootstrap-select fm-cmp-mg">
                                   <select name="status"  required value="<?php echo $status; ?>"  class="selectpicker">
                                        <option value="">-- Pilih Status --</option>
										<option selected value='Menunggu Verifikasi'>Menunggu Verifikasi</option>
										<option value='Tunda'>Tunda</option>
										<option value='Disetujui'>Disetujui</option>
									</select>	
                                </div>
                                    </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>Keterangan</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="text" name="ket"    oninvalid="this.setCustomValidity('data tidak boleh kosong')" oninput="setCustomValidity('')" value="<?php echo $ket; ?>" class="form-control">
                                      
                                    </div>
                                </div>
                         </div>
                        
						<button class="btn btn-sm btn-primary login-submit-cs" type="submit">Submit</button> 
                    </div>
					
					 
                </div>
            </div>
            
        </div>
 