<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_jadwal.php";
	
	$dataJadwal = new dataJadwal;
	
	$id = $_POST['id'];
	$idmatakuliah = $_POST['idmatakuliah'];
	$matakuliah = $_POST['matakuliah'];
	$dosen = $_POST['dosen'];
	$sks = $_POST['sks'];
	$semester = $_POST['semester'];
	$jurusan = $_POST['jurusan'];
	$kelas = $_POST['kelas'];
	$hari = $_POST['hari'];
	$ruang = $_POST['ruang'];
	$waktu = $_POST['waktu'];
	$sm = $_POST['sm'];
	$tahun = $_POST['tahun'];

	$dataJadwal->edit_jadwal($id, $idmatakuliah, $matakuliah, $dosen, $sks, $semester, $jurusan, $kelas, $hari, $ruang, $waktu, $sm, $tahun);
	
		include "php_class/class_log_sistem.php";
	$DataLogSistem = new DataLogSistem;
	$idOperator = $_SESSION['idOperator'];
	$namaOp = $_SESSION["NamaOperator"];
	$keterangan = "memngubah Data Jadwal : ".$nama." oleh ".$namaOp."";
	$DataLogSistem->add_data_log_sistem($keterangan,$idOperator);

	echo "<script>window.location='".$base."data-jadwal'</script>"
?>