<html>
<head>
<title> Transkrip </title>
</head>
<body>
<?
	include "connect.php";
	session_start();

//cek apakah user sudah login


//cek level user
if($_SESSION['Level']=="baak" || $_SESSION['Level']=="admin"){
?>
<h3 align="center" style="background-color:#00FF00">:: FORM TRANSKRIP AKADEMIK::</h3>
<form method = post action ="inputtrans.php" enctype="multipart/form-data">

<table border =0 align="center" width="1000" bgcolor="#FFFFCC">
<tr>
  <td colspan="2"><hr></td>
</tr>

<tr>
  <td>NIM</td>
<td>: <input type = text name="nim"></td></tr>
<tr>
  <td>No. Transkrip </td>
<td>: <input type = text name="no_trans" size="50"></td></tr>
<tr>
  <td>No.Ijazah</td>
<td>: <input type = text name ="no_ijz" size="50"></td></tr>
<tr>
  <td>Tanggal Lulus </td>
<td>: 
<input type="text" name="tgl_lls" id="tgl_lls" style="background-color:#CCFFFF "/>
<input type="button" value="" style="background-image:url(cal.gif); background-repeat:no-repeat; background-position:center; border:none;" onClick="pick('tgl_lls');" />
<script type="text/javascript" language="javascript">
<!--
function pick(tgt)
{
 window.open("kalender_pick.php?rand="+Math.random()+"&tgt="+tgt,"Kalender","width=500,height=400,alwaysRaised=yes,scrollbars=yes,directories=no,location=no,menubar=no,toolbar=no");
}
//-->
</script>
</td></tr>
<tr>
  <td>Nilai UAP </td>
<td>: <input type = text name ="nil_uap" size="10"></td></tr>
<tr>
  <td>Judul KTI</td>
<td>: 
  <textarea name ="i_kti" ></textarea></td></tr>
<tr>
  <td><em>Title</em></td>
<td>: <textarea name ="en_kti" ></textarea></td></tr>
<tr><td><input type=submit value ="Submit">
<input type=reset value="Cancel"></td><td><a href=userbaak.php>|Home</a></td></tr>
</table>
</form>
<?php
} else {
    die("Anda bukan admin");
}
?>
</body>
</html>

