<?php

if ($_GET['module']=='home'){
	 if ($_SESSION['login']=='1'){
			?>
            
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>Dashboard <small>Control panel</small></h1>
      <ol class="breadcrumb">
        <li><a href="?module=home"><i class="fa fa-dashboard"></i> Home</a></li>
        <li class="active">Dashboard</li>
      </ol>
    </section>
    <!-- end Header -->
    <section class="content">
            <!-- Small boxes (Stat box) -->
      <div class="row">
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-aqua">
          <a href="#" class="small-box-footer">Master Maba<!--<i class="fa fa-arrow-circle-right"></i>--></a>
            <div class="inner">
              <!--<h3>150</h3>-->

              <h4><a href="?module=frm_insert_mhs"><b>Insert Mahasiswa  </b><i class="fa fa-arrow-circle-right"></i></a></h4>
            </div>
            <div class="icon">
              <i class="ion-person-add"></i>
            </div>
          </div>
        </div>
        <!-- ./col -->
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-green">
          <a href="#" class="small-box-footer">Master Matakuliah <!--<i class="fa fa-arrow-circle-right"></i>--></a>
            <div class="inner">
              <!--<h3>53<sup style="font-size: 20px">%</sup></h3>-->

              <h4><a href="?module=frm_insert_matakuliah"><b>Insert Matakuliah </b><i class="fa fa-arrow-circle-right"></i></a></h4>
            </div>
            <div class="icon">
              <i class="ion ion-stats-bars"></i>
            </div>
            
          </div>
        </div>
        <!-- ./col -->
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-yellow">
          <a href="#" class="small-box-footer">Kurikulum <!--<i class="fa fa-arrow-circle-right"></i>--></a>
            <div class="inner">
              <!--<h3>44</h3>-->

              <h4><a href="?module=frm_insert_kurikulum"<b>Insert Kurikulum </b><i class="fa fa-arrow-circle-right"></i></a></h4>
            </div>
            <div class="icon">
              <i class="ion ion ion-map"></i>
            </div>
          </div>
        </div>
        <!-- ./col -->
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-blue">
          <a href="#" class="small-box-footer">MK Kurikulum <!--<i class="fa fa-arrow-circle-right"></i>--></a>
            <div class="inner">
              <!--<h3>65</h3>-->

              <h4><a href="?module=frm_insert_mk_kurikulum"<b>Insert MK Kurikulum </b><i class="fa fa-arrow-circle-right"></i></a></h4>
            </div>
            <div class="icon">
              <i class="ion ion-pie-graph"></i>
            </div>
          </div>
        </div>
        <!-- ./col -->
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-red ">
          <a href="#" class="small-box-footer">Kelas Kuliah <!--<i class="fa fa-arrow-circle-right"></i>--></a>
            <div class="inner">
              <!--<h3>65</h3>-->

              <h4><a href="?module=frm_insert_kelas_kuliah"<b>Insert Kelas Kuliah </b><i class="fa fa-arrow-circle-right"></i></a></h4>
            </div>
            <div class="icon">
              <i class="ion ion-cube"></i>
            </div>
          </div>
        </div>
        <!-- ./col -->
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-blue">
          <a href="#" class="small-box-footer">Ajar Dosen <!--<i class="fa fa-arrow-circle-right"></i>--></a>
            <div class="inner">
              <!--<h3>65</h3>-->

              <h4><a href="?module=frm_insert_ajar_dosen" <b>Insert Ajar Dosen </b><i class="fa fa-arrow-circle-right"></i></a></h4>
            </div>
            <div class="icon">
              <i class="ion ion-android-contact"></i>
            </div>
          </div>
        </div>
        <!-- ./col -->
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-purple">
          <a href="#" class="small-box-footer">KRS Mahasiswa <!--<i class="fa fa-arrow-circle-right"></i>--></a>
            <div class="inner">
              <!--<h3>65</h3>-->

              <h4><a href="?module=frm_insert_krs_mhs" <b>Insert KRS Mahasiswa </b><i class="fa fa-arrow-circle-right"></i></a></h4>
            </div>
            <div class="icon">
              <i class="ion ion-bag"></i>
            </div>
          </div>
        </div>
        <!-- ./col -->
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-teal">
          <a href="#" class="small-box-footer">Nilai Mahasiswa <!--<i class="fa fa-arrow-circle-right"></i>--></a>
            <div class="inner">
              <!--<h3>65</h3>-->

              <h4> <a href="?module=frm_insert_nilai_mhs"<b>Insert Nilai </b><i class="fa fa-arrow-circle-right"></i></a></h4>
            </div>
            <div class="icon">
              <i class="ion ion-closed-captioning"></i>
            </div>
          </div>
        </div>
        <!-- ./col -->
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-primary">
          <a href="#" class="small-box-footer">Aktifitas Kuliah Mahasiswa <!--<i class="fa fa-arrow-circle-right"></i>--></a>
            <div class="inner">
              <!--<h3>65</h3>-->

              <h4><a href="?module=frm_insert_akm_mhs"<b>Insert AKM </b><i class="fa fa-arrow-circle-right"></i></a></h4>
            </div>
            <div class="icon">
              <i class="ion ion-plane"></i>
            </div>
          </div>
        </div>
        <!-- ./col -->
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-maroon">
          <a href="#" class="small-box-footer">Nilai Transfer <!--<i class="fa fa-arrow-circle-right"></i>--></a>
            <div class="inner">
              <!--<h3>65</h3>-->

              <h4><a href="?module=frm_insert_nilai_trans"<b>Insert Nilai Transfer </b><i class="fa fa-arrow-circle-right"></i></a></h4>
            </div>
            <div class="icon">
              <i class="ion ion-folder"></i>
            </div>
          </div>
        </div>
        <!-- ./col -->
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-red-active color-palette">
          <a href="#" class="small-box-footer">Lulus - DO <!--<i class="fa fa-arrow-circle-right"></i>--></a>
            <div class="inner">
              <!--<h3>65</h3>-->

              <h4><a href="?module=frm_insert_mhs_lulus_do"<b>Insert Mhs Lulus-DO </b><i class="fa fa-arrow-circle-right"></i></a></h4>
            </div>
            <div class="icon">
              <i class="ion ion-person-stalker"></i>
            </div>
          </div>
        </div>
        <!-- ./col -->
        
      </div>
   </section>      
           <?php
	}
}	


elseif ($_GET['module']=='kode_prodi'){
			include "module/dictionary/kd_prodi.php";
		}
		
elseif ($_GET['module']=='kode_agama'){
			include "module/dictionary/kd_agama.php";
		}

elseif ($_GET['module']=='dictionary'){
			include "module/dictionary/tables_editable.php";
		}
		
		
elseif ($_GET['module']=='struktur'){
			include "module/dictionary/struktur.php";
		}		
		
		
elseif ($_GET['module']=='dict_tabel'){
			include "tables_editable.php";
		}		
		
		
elseif ($_GET['module']=='dictionary1'){
			include "dictionary1.php";
		}

// Insert mahasiswa			
elseif ($_GET['module']=='insert_mhs'){ 
		include "module/mahasiswa/insert_mhs.php"; 
		//include "test_combo.php";	
		}
elseif ($_GET['module']=='frm_insert_mhs'){ 
		include "module/mahasiswa/mhs.php"; 
		//include "pages/forms/general.html";	
		}

// Insert matakuliah				
elseif ($_GET['module']=='insert_matakuliah'){ 
		include "module/matakuliah/insert_matakuliah.php"; 
		//include "test_combo.php";	
		}
elseif ($_GET['module']=='frm_insert_matakuliah'){ 
		include "module/matakuliah/mk.php"; 
		//include "pages/forms/general.html";	
		}

// Insert Kurikulum				
elseif ($_GET['module']=='insert_kurikulum'){ 
		include "module/kurikulum/Insert_kurikulum.php"; 
		}
elseif ($_GET['module']=='frm_insert_kurikulum'){ 
		include "module/kurikulum/kur.php"; 
		}

// Insert MK Kurikulum				
elseif ($_GET['module']=='insert_mk_kurikulum'){ 
		include "module/mk_kurikulum/Insert_mk_kurikulum.php"; 
		}
elseif ($_GET['module']=='frm_insert_mk_kurikulum'){ 
		include "module/mk_kurikulum/mk_kur.php"; 
		}

// Insert Kelas Kuliah				
elseif ($_GET['module']=='insert_kelas_kuliah'){ 
		include "module/kelas_kuliah/insert_kelas_kuliah.php"; 
		}
elseif ($_GET['module']=='frm_insert_kelas_kuliah'){ 
		include "module/kelas_kuliah/kls.php"; 
		}
		
// Insert Kelas Kuliah				
elseif ($_GET['module']=='insert_ajar_dosen'){ 
		include "module/ajar_dosen/insert_ajar_dosen.php"; 
		}
elseif ($_GET['module']=='frm_insert_ajar_dosen'){ 
		include "module/ajar_dosen/dosen.php"; 
		}

// Insert KRS MHS				
elseif ($_GET['module']=='insert_krs_mhs'){ 
		include "module/krs_mhs/insert_krs_mhs.php"; 
		}
elseif ($_GET['module']=='frm_insert_krs_mhs'){ 
		include "module/krs_mhs/krs.php"; 
		}

// Insert Nilai MHS				
elseif ($_GET['module']=='insert_nilai_mhs'){ 
		include "module/nilai_mhs/insert_nilai_mhs.php"; 
		}
elseif ($_GET['module']=='frm_insert_nilai_mhs'){ 
		include "module/nilai_mhs/nilai.php"; 
		}


// Insert AKM MHS				
elseif ($_GET['module']=='insert_akm_mhs'){ 
		//include "module/akm/insert_akm_mhs.php";
		include "module/akm/insert_akm_mhs.php"; 
		}
elseif ($_GET['module']=='frm_insert_akm_mhs'){ 
		include "module/akm/akm.php"; 
		}	
			
// Insert Nilai Transfer				
elseif ($_GET['module']=='insert_nilai_trans'){ 
		include "module/nilai_trans/insert_nilai_transfer_mhs.php"; 
		}
elseif ($_GET['module']=='frm_insert_nilai_trans'){ 
		include "module/nilai_trans/trans.php"; 
		}	

// Insert lulus do				
elseif ($_GET['module']=='insert_mhs_lulus_do'){ 
		include "module/lulus_do/mhs_lulus_do.php"; 
		}
elseif ($_GET['module']=='frm_insert_mhs_lulus_do'){ 
		include "module/lulus_do/ludo.php"; 
		}	
	
elseif ($_GET['module']=='get_recordset'){ 
		include "get_record_set.php"; 
		//echo "Record_set";	
		}

elseif ($_GET['module']=='get_record'){ 
		include "get_record.php"; 
		//echo "record";	
		}

elseif ($_GET['module']=='update_mhs_lulus_do'){ 
		include "update_recordset_lulus_do.php"; 
		//include "test_combo.php";	
		}
		
elseif ($_GET['module']=='update_nik_mhs'){ 
		include "update_nik_mhs.php"; 
		//include "test_combo.php";	
		}

elseif ($_GET['module']=='histori_kuliah'){
			include "module/histori_mhs/histori_kuliah_mhs.php";
		}

elseif ($_GET['module']=='histori_studi'){
			include "module/histori_studi/histori_studi.php";
		}
		
elseif ($_GET['module']=='studi_mhs'){
			include "module/histori_studi/studi_mhs.php";
		}

elseif ($_GET['module']=='validasi'){
			include "module/validasi/validasi.php";
			//include "module/validasi/validasi_krs.php";
		}

elseif ($_GET['module']=='validasi_krs'){
			include "module/validasi/validasi_krs.php";
			//include "module/validasi/validasi_krs.php";
		}

	
else{
    echo "<h1><b>MODUL BELUM ADA ATAU BELUM LENGKAP</b></h1>";
}
		
?>
<style>
a{color:#333};
</style>
