<div class="ui-layout-content ui-widget-content-panel">
	 <label class="lbfield95">KODE RAK</label><label class="lbcolon">:</label>
		<input id="KODE_RAK" name="KODE_RAK" value='<?php echo $kode_rak; ?>'  style="width:200px;margin-bottom:2px"   type="text" /><br \>
	 <label class="lbfield95">NAMA_RAK</label><label class="lbcolon">:</label>
		<input id="NAMA_RAK" name="NAMA_RAK" value='<?php echo $nama_rak; ?>'  style="width:200px;margin-bottom:2px"  type="text" /><br \>
	 <label class="lbfield95">LANTAI</label><label class="lbcolon">:</label>
		<select id="LANTAI" name="LANTAI" value='<?php echo $lantai; ?>'  style="width:100px;margin-bottom:2px"  type="text" >
											<option value="LANTAI 1">LANTAI 1</option>
											<option value="LANTAI 2">LANTAI 2</option>
											<option value="LANTAI 3">LANTAI 3</option>
											<option value="LANTAI 4">LANTAI 4</option>
						 
										</select> <br \>
	 <label class="lbfield95">NOMOR RAK</label><label class="lbcolon">:</label>
		<input id="NOMOR_RAK"name="NOMOR_RAK" value='<?php echo $nomor_rak; ?>'   style="width:100px;margin-bottom:2px"  type="text" /> <br \>
		 
	 <label class="lbfield95">POSISI</label><label class="lbcolon">:</label>
		<input id="POSISI" name="POSISI" value='<?php echo $posisi; ?>' type="text" style="width:200px;margin-bottom:2px" /><br \>
	 <label class="lbfield95">NOTE</label><label class="lbcolon">:</label>
		<input id="NOTE" name="NOTE" value='<?php echo $note; ?>' type="text" style="width:200px;margin-bottom:2px" /><br \>
	<label class="lbfield95">MAXIMAL STOCK</label><label class="lbcolon">:</label>
		<input id="MAX_STOCK" name="MAX_STOCK" value='<?php echo $max_stock; ?>' type="text" style="width:200px;margin-bottom:2px; text-align: right" class ="numeric" value="0" /><br \>	
	<label class="lbfield95">MINIMAL STOCK</label><label class="lbcolon">:</label>
		<input id="MIN_STOCK" name="MIN_STOCK" value='<?php echo $min_stock; ?>' type="text" style="width:200px;margin-bottom:2px; text-align: right" class ="numeric" value="0" /><br \>	

</div> 

<script type="text/javascript">

$(document).ready(function(){
	

	if ('<?php echo isset($row_data)?'1':'0';  ?>'=='1')
		{
			var row_data=<?php echo isset($row_data)?json_encode($row_data):'[]';  ?>; 
       		 
			  
	 
		 
	 
	 
			
			$('#KODE_RAK').val(row_data.r1);     
			$('#NAMA_RAK').val(row_data.r2);     
			$('#LANTAI').val(row_data.r3);     
			$('#NOMOR_RAK').val(row_data.r4);     
			$('#POSISI').val(row_data.r5);     
			$('#NOTE').val(row_data.r6);     
			$('#MAX_STOCK').val(row_data.r9);
			$('#MIN_STOCK').val(row_data.r10);

		}
		
		$('#KODE_RAK').focus();     
		
});
		  	
</script>

	
	
