<html>
<head>
<title> Cetak Transkrip</title>
</head>
<body>
<h3 align="center">Cetak Transkrip Akademik</h3>
<?php
include "connect.php";
session_start();

//cek apakah user sudah login


//cek level user
if($_SESSION['Level']=="baak" || $_SESSION['Level']=="admin" || $_SESSION['Level']=="dosen"){
?>
<table align="center" frame="border" width="350">
<form method=post action="tampiltrans.php">
<tr><td>
NIM</td><td> <input type=text name="nim"</td></tr>
<td>
<input type =submit value="Submit">
<input type=reset value ="Cancel"></td></tr>
</form><tr><td colspan="2"><hr>
</td></tr>
<form method=post action="tampiltranss.php">
<tr><td><input type =submit value="Transkrip Sementara">
</td><td><input type=text name="nim"</td></tr>
<td>
<a href=userbaak.php>|Home</a></td></tr>
</form>
</table>
<?php
} else {
    die("Anda bukan admin");
}
?>
</body>
</html>

