<?php
include "connect.php";
session_start();

//cek apakah user sudah login

echo"
<table border =1 width=100% align=center><strong>
<tr><td><h3># Halaman Admin SPMB #</h3></td></tr>
<tr><td><em>
<a href=fcmhs.php?>Input CMHS</a> | 
<a href=tampilcmhs.php>Tampil CMHS</a> |
<a href=fsetting.php>Setting</a>  |
<a href=logout.php>Log Out</a>
</em></td></tr>
</table>";
?>
<hr>
<form method="post" action="lapspmb.php">
<table width="296">
   <tr><td><input type="checkbox" name="cta"> TA.</td><td><input type="text" name="ta"></td></tr>
   <tr><td><input type="checkbox" name="cprodi"> Prodi</td>
   	<td><select size="1"  name ="prodi">
	<option selected></option>
	<option>AKPER</option>
	<option>AKBID</option>
  	</select></td></tr>
   <tr><td><input type="checkbox" name="cgel"> Gel</td>
	<td><select size="1"  name ="gel">
	<option selected></option>
	<option>1</option>
	<option>2</option>
    <option>3</option>
	<option>4</option>
	<option>5</option>
    <option>6</option>
	<option>7</option>
	<option>8</option>
    <option>9</option>
  	</select></td></tr>
   <tr><td><input type="checkbox" name="cno_cmhs"> No.Peserta</td><td><input type="text" name="no_cmhs"></td></tr>
   <tr><td></td><td><input type="submit" name="submit" value="Cetak"> <input type="reset" name="reset" value="Reset"></td></tr>   
</table>
</form>
<hr>
<?php
echo"
<table border =1 width=100% align=center><strong>
<tr><td><h3># Halaman Admin MHS #</h3></td></tr>
<tr><td><em>
<a href=ftranskrip.php?>Input No.Transkrip</a> | 
<a href=formtranskrip.php?>Cetak Transkrip</a> |
<a href=tampilmhs.php>Tampil MHS</a> |
<a href=fkrs.php>Form KRS</a> |
<a href=formnilai.php>Input Nilai</a> |
<a href=formlhs.php>LHS</a> |
<a href=logout.php>Log Out</a>
</em></td></tr>
</table>";
?>
<form method="post" action="lapmhs.php">
<table width="296">
   <tr><td><input type="checkbox" name="ctingkat">Tingkat</td>
<td>: <select size="1"  name ="tingkat">
	<option selected>--Pilih Tingkat--</option>
	<option>1</option>
	<option>2</option>
	<option>3</option>
  </select></td>
   <tr><td><input type="checkbox" name="ckelas">Kelas</td>
<td>: <select size="1"  name ="kelas">
	<option selected>--Pilih Kelas--</option>
	<option>A</option>
	<option>B</option>
	<option>C</option>
  </select></td>
   <tr><td><input type="checkbox" name="cstatus" checked>Status</td>
<td>: <select size="1"  name ="status">
	<option selected>AKTIF</option>
	<option>CUTI</option>
	<option>DO</option>
	<option>ALUMN</option>
  </select></td>
  <tr><td><input type="checkbox" name="cangkatan">Angkatan</td>
<td>: <input type="text" name="angkatan">
</td>
   <tr><td></td><td><input type="submit" name="submit" value="Submit"> <input type="reset" name="reset" value="Reset"></td></tr>   
</table>
</form>

<hr>
<?php
echo"
<table border =1 width=100% align=center><strong>
<tr><td><h3># Halaman Admin HRD #</h3></td></tr>
<tr><td><em>
<a href=fstaf.php?>Input Staf</a> | 
<a href=tampilstaf.php?>List Staf</a> |
<a href=logout.php>Log Out</a>
</em></td></tr>
</table>";
?>

<hr>
<?php
echo"
<table border =1 width=100% align=center><strong>
<tr><td><h3># Halaman Admin KEUANGAN #</h3></td></tr>
<tr><td><em>
<a href=fbyr.php?>Input Pembayaran</a> | 
<a href=fkwi.php?>Cetak Kwitansi</a> |
<a href=fjpaket.php?>Input Biaya</a> |
<a href=fregkeu.php?>Regist Biaya</a> |
<a href=logout.php>Log Out</a>
</em></td></tr>
</table>";
?>
<form method="post" action="lapkeu.php">
<table width="410">
<tr><td width="114">Laporan Adm Mhs</td>
<td width="284"><select name="kd_byr">
    <option>--- Kode Biaya ---</option>
    <?php
	include "connect.php";
    $sql = mysql_query("SELECT * FROM jns_byr ORDER BY kd_byr ASC");
    if(mysql_num_rows($sql) != 0){
        while($row1 = mysql_fetch_assoc($sql)){
            echo '<option>'.$row1['kd_byr'].'</option>';
        }
    }
    ?>
</select>
<input type="submit" name="submit" value="Submit"> <input type="reset" name="reset" value="Reset">
</td> </tr> 
</table>
</form>
