<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_operator.php";
	
	$DataOperator = new dataOperator;
	
	$namaoperator = $_POST['NamaOperator'];
	$pwd = $_POST['Pwd'];
	$akses = $_POST['akses'];	
			
	$DataOperator->add_data_operator($namaoperator,$pwd, $akses);
	
	include "php_class/class_log_sistem.php";
	$DataLogSistem = new DataLogSistem;
	$idOperator = $_SESSION['idOperator'];
	$namaOp = $_SESSION["NamaOperator"];
	$keterangan = "Menambah operator : ".$namaoperator." oleh ".$namaOp."";
	$DataLogSistem->add_data_log_sistem($keterangan,$idOperator);

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