<div id="ld" style="position:fixed; top:50%; left:50%"><img src="img/ld.gif"></div>			
<?php
	include "php_class/class_mysql.php";
	include "php_class/class_pegawai.php";
	
	$DataPegawai = new DataPegawai;
	
	$id = $_POST['id'];
	$idPegawai = $_POST['idPegawai'];
	$nilai1 = $_POST['nilai1'];
	$nilai2 = $_POST['nilai2'];
	$nilai3 = $_POST['nilai3'];	
	$nilai4 = $_POST['nilai4'];
	$nilai5 = $_POST['nilai5'];
	$tanggal = $_POST['tanggal'];
	$idPejabat = $_POST['idPejabat'];
	
	$DataPegawai->edit_nilai($id, $nilai1, $nilai2, $nilai3, $nilai4, $nilai5, $tanggal, $idPejabat);	
	echo "<script>window.location='".$base."data-penilaian-perpegawai/$idPegawai'</script>"
?>
