<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_semesterpendek.php";
	
	$datasp = new DataSemesterPendek;
	$datasp2 = new DataSemesterPendek;
	
	$kelas = $_POST['kelas'];
	$nama = $_POST['nama'];
	$nip = $_POST['nip'];
	$tahun = $_SESSION['smtahun'];
	$semester = $_SESSION['smsemester'];
	$program = $_SESSION['smprogram'];
	$idmatkul = $_SESSION['idmatkul'];
	
	$datasp2->update_tempbagi($kelas, $nama, $nip, $tahun, $semester, $program, $idmatkul);
	
?>
<script>window.location='bagi-kelas-lanjutan/<?php echo $idmatkul?>'</script>