<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;
	
	$idmatakuliah = $_POST['idmatakuliah'];
	$pertemuan = $_POST['pertemuan'];
	$pokokbahasan = $_POST['pokokbahasan'];
	$subpokokbahasan = $_POST['subpokokbahasan'];
	$pokokbahasan = str_replace('enter', '<br>', $pokokbahasan);
	
	$dataJadwal->add_jadwal_detil($idmatakuliah, $pertemuan, $pokokbahasan, $subpokokbahasan);
	
		include "php_class/class_log_sistem.php";
	$DataLogSistem = new DataLogSistem;
	$idOperator = $_SESSION['idOperator'];
	$namaOp = $_SESSION["NamaOperator"];
	$keterangan = "Menambah Data Detil Jadwal : ".$nama." oleh ".$namaOp."";
	$DataLogSistem->add_data_log_sistem($keterangan,$idOperator);

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