<?php
session_start();
if (empty($_SESSION['namauser']) AND empty($_SESSION['passuser'])){
  echo "<link href='css/style.css' rel='stylesheet' type='text/css'>
 <center>Untuk mengakses modul, Anda harus login <br>";
  echo "<a href=index.php><b>LOGIN</b></a></center>";
}
else{
?>


<html>
<head>
	<title>Input Data e-PUPNS Disdik Aceh Selatan</title>
</head>
<body>
	<form action="simpan.php" enctype="multipart/form-data" method="post" name="postform">      
	<table width="50%" border="0">
		<tr>
		  <td width="93">Nama</td>
		  <td width="10">&nbsp;</td>
		  <td width="292"><input type="text" name="nama_depan" size="30"/></td>
		</tr>
		   <tr>
		  <td width="93">NIP Baru</td>
		  <td width="10">&nbsp;</td>
		  <td width="292"><input type="text" name="nama_belakang" size="30"/></td>
		</tr>
		<tr>
		  <td>Kode Register</td>
		  <td>&nbsp;</td>
		  <td><input type="text" name="email" size="30"/></td>
		</tr>
		<tr>
		  <td>Nomor HP</td>
		  <td>&nbsp;</td>
		  <td><input type="text" name="password" size="30"/></td>
		</tr>
		<tr>
		  <td>Jabatan</td>
		  <td>&nbsp;</td>
		  <td>
		  <select name="kelamin">
			<option value="Guru">Guru
			<option value="Guru Diperbantukan">Guru Diperbantukan
			<option value="Pengawas">Pengawas
			<option value="Tenaga ADM">Tenaga ADM
		  </select>
		  </td>
		</tr>
		
		<td>Tempat Tugas</td>
		  <td>&nbsp;</td>
		  <td><input type="text" name="unit_org" size="50"/></td>
		</tr>
		
		<tr>
		  <td>Photo</td>
		  <td>&nbsp;</td>
		  <td><input type="file" name="photo" size="30"/></td>
		</tr>
		<tr>
		  <td colspan="3"><p></p></td>
		</tr>
	
		<tr>
		  <td><input type="submit" name="submit" value="Submit" onClick="return confirm('Apakah Anda yakin?')" /></td>
		  <td>&nbsp;</td>
		  <td><a href="media.php?module=input2">[View Biodata]</a></td>
		</tr>
	  </table>	  
	</form>

</body>
</html>

<?php
}
?>

