<?php
//session_start();
include "koneksi.php";
error_reporting(0);

if (empty($_SESSION['username']) AND empty($_SESSION['password'])){include "index.php";}
else{
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Pengumuman Periode 3</title>
<style type="text/css">
<!--
.info {
	color: #80FF00;
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /></head>
<body>
    <script language="JavaScript">
/**
  * Disable mouse right-click on page
  * By Arthur Gareginyan (arthurgareginyan@gmail.com)
  * For full source code, visit http://www.mycyberuniverse.com
  */
document.addEventListener("contextmenu", function(e){
    e.preventDefault();
}, false);
</script>
<?php
$sql = mysql_query("SELECT * FROM hasilujian WHERE user= '$_SESSION[username]'");
while ($data = mysql_fetch_array($sql))
{
 $nama = $data['nama'];
 $user = $data['user'];
 $hasil = $data['hasil'];
 $kelas = $data['kelas']; 
 $asal = $data['asal'];
 $bindns = $data['bindns'];
 $bindun = $data['bindun'];
 $bindna = $data['bindna'];
 $bingns = $data['bingns'];
 $bingun = $data['bingun'];
 $bingna = $data['bingna'];
 $mtkns = $data['mtkns'];
 $mtkun = $data['mtkun'];
 $mtkna = $data['mtkna'];
 $ipans = $data['ipans'];
 $ipaun = $data['ipaun'];
 $ipana = $data['ipana'];
 $jmlns = $data['jmlns'];
 $jmlun = $data['jmlun'];
 $jmlna = $data['jmlna'];
 $ratans = $data['ratans'];
 $rataun = $data['rataun'];
 $ratana = $data['ratana'];
 }
?>

<table width="540" border="0" align="center" cellpadding="2">
  <tr align="center" valign="middle">
  </br>
      <td colspan="4" align="left"><p align="center"><strong><u>LINK SERDIK DIGITAL PPG UNM</u></strong><br>
      
        </p>      <p align="justify">Ketua Prodi PPG UNM, menyampaikan link Serdik Digital, pemilik diharapkam memeriksa data yang tertulis di serdik, jika sudah sesuai serdik digital ini dapat langsung digunakan, dan jika ada data yang tidak sesuai harap dilaporkan ke masing2 admin untuk perbaikan. Versi Cetak akan dikirimkan ke alamat terdaftar masing2 </p></td>
  </tr>
  
  <tr align="center" valign="middle">
    <td width="71"></td>
   	<td width="185" align="left">Nama</td>
    <td width="211" align="left">: <?php echo "$nama"; ?></td>
    <td width="47"></td>
  </tr>
  <tr align="center" valign="middle">
    <td></td>
    <td align="left">Nomor UKG</td>
    <td align="left">: <?php echo "$user"; ?></td>
    <td></td>
  </tr>
  
  <tr align="center" valign="middle">
    <td></td>
    <td align="left">Bidang Studi</td>
    <td align="left">: <?php echo "$asal"; ?></td>
    <td></td>
  </tr>
  <tr align="center" valign="middle">
    <td></td>
    <td align="left">Nomor Serdik </td>
    <td align="left">: <?php echo "$bindns"; ?></td>
    <td></td>
    <tr align="center" valign="middle">
    <td></td>
    <td align="left">Periode UKPPPG </td>
    <td align="left">: <?php echo "$kelas"; ?></td>
    <td></td>
  </tr>
  <tr align="center" valign="middle">
    <td colspan="4">
<!--spoilerr-->
    <div style="margin-bottom: 1px;"><h3>Link Serdik adalah:</h3>
<!--Akhir spoiler-->
<h3><?php echo "$hasil"; ?>    </h3>
   <!--tag penutup spoiler-->
  </div></div></div>

  <tr align="center" valign="middle">
    <td colspan="4"><p align="left">Jika link di atas tidak dapat di Klik, Silakan Copy dan paste link yang ditampilkan pada Browser untuk mengunduh serdik digital tersebut </p></tr>
    <td colspan="4"><p align="left">Terima kasih </p></tr>
  <tr align="center" valign="middle">
    <td height="146" colspan="2"></td>
    <td colspan="2" valign="top"><blockquote>
      <p align="center">Makassar, 12 April 2026<br>
        Ketua Prodi PPG UNM,</p>
        </blockquote>
            
    
     <p align="center">ttd, <br>
      <p align="center">Dr. Tangsi, M.Sn.<br>
    NIP. 196101101990031001</p> </td>
  </tr>
  <tr align="center" valign="middle">
    <td height="63" colspan="4"><h5 align="left"><strong>Catatan : </strong><br>
        Serdik yang memiliki data tidak sesuai harap tidak digunakan dalam keperluan yang bersesuaian
</table>
<div align="center"><a href="javascript:print(document)"><img src="images/print.png" alt="Cetak halaman ini" width="120" height="29" border="0" align="middle"/></a></a>
  </p>
<a href="index.php"><img src="images/out.jpg" width="100" height="26" align="middle" /></a></div>
<div align="center">
  <table width="640" height="33" border="0" cellpadding="2" cellspacing="1">
    
  </table>
</div>
</body>
</html>
<?php } ?>