<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_dosen.php";
	
	$DataDosen = new dataDosen;
	
	$id = $_POST['id'];
	$nama = $_POST['nama'];
	$jk = $_POST['jk'];
	$NIDN = $_POST['NIDN'];
	$NIP = $_POST['NIP'];
	$jurusan = $_POST['jurusan'];
	$pangkat = $_POST['pangkat'];
	$jabatan = $_POST['jabatan'];
	$golongan = $_POST['golongan'];
	
			
	$DataDosen->edit_dosen($id, $nama, $jk, $NIDN, $NIP, $jurusan, $pangkat, $jabatan, $golongan);
	
	include "php_class/class_log_sistem.php";
	$DataLogSistem = new DataLogSistem;
	$idOperator = $_SESSION['idOperator'];
	$namaOp = $_SESSION["NamaOperator"];
	$keterangan = "Mengubah Data Dosen : ".$nama." oleh ".$namaOp."";
	$DataLogSistem->add_data_log_sistem($keterangan,$idOperator);
	
	echo "<script>window.location='".$base."data-dosen'</script>"
?>