MENU = { dosen : '0301', //ORI '0210', mahasiswa : '0302', //ORI '0209', status_mahasiswa: '0303', status_dosen: '0304', matakuliah : '0401', kurikulum : '0402', struprog : '0403', dosenwali : '0404', jadwal : '0405', absen : '0406', nilai : '0407', bobotnilai : '0408', konversi : '0412', surat_observasi: '0801', srt_ketkul: '0802', surat_pindahan: '0803', surat_pernyataan: '0804', skl: '0805', surat_berhenti: '0806', surat_cuti: '0807', nilaimanual:'0413', setting_kuisioner:'0414', peserta_sidang:'0415', /**REPORTS */ //Rpt. AKADEMIK rpt_kurikulum : '9100', rpt_absen_dosen : '9101', rpt_absen_mhsdosen : '9102', rpt_absen_nilai_uts : '9103', rpt_absen_nilai_uas : '9104', rekap_nilai_smt : '9912', rekap_absen_smt : '9915', daftarmhswisuda : '9916', //Rpt. KEUANGAN rpt_dpk : '9201', rpt_dpp : '9202', rpt_tgk : '9203', rpt_dppdpk : '9204', rpt_dpkrektor : '9205', rpt_keuperjnsbiaya : '9206', rpt_keu_wisuda : '9207', }; function page_controller(idPage){ function pengembangan(){ alert('Menu TreeView [Under Construction]'); } function bantuan(){ //alert('Help!!!!!!!!!!!'); window.open('./resources/bantuan/Manual Book Unla Private.pdf', '_blank'); } switch(idPage){ case "0101": u_menu();break; //utility case "0102": u2();break; case "0103": u3();break; case "0104": u4();break; //otoritas x case "0105": u5();break; case "0106": u6();break; // log pengguna x case "0107": f_ganti_password();break;//u7();break; // ganti password x case "0108": pengembangan();break;//u8();break; // pengaturan umum x case "0109": f_ppstudi();break;//u9();break; // pengguna program studi x case "0110": bantuan();break; case "0111": u11_klpsetting();break; case "0112": u12_setting();break; case "0113": u13();break; //DATA MASTER case "0201": pTbpti();break; case "0202": pTbpst();break; case "0203": pTbkod();break; case "0204": pTbpro();break; case '0205': pThnakademik();break; case '0206': pStsemester();break; case "0207": pFakultas(); break; case "0208": pProdi(); break; case MENU.mahasiswa: pMahasiswa(); break; //'0209' case MENU.dosen: pDosen(); break; case "0211": pJruangan(); break; case "0212": pRuangan(); break; case "0213": pTahun(); break; case "0215": pJkelas();break; case "0216": pKlsmhs();break; case "0217": pJdiskon();break; case "0218": pJbiaya();break; case "0220": pStkuitansi();break; case "0221": pStakreditasi();break; case "0222": pStakreditasislta();break; case "0223": pStabsensidos();break; case "0224": pStabsenmhs();break; case "0225": pPekerjaanmhs();break; case "0226": pPekerjaanortu();break; case "0227": pStkrs();break; case "0228": pSetipk();break; case "0229": pJskripsi();break; case "0230": pPendidikanortu();break; case "0231": pJujian();break; case "0232": pJslta();break; case "0233": pJsemester();break; case "0234": pJpt();break; case "0235": pGoldarah();break; case "0236": pCarabyr();break; case "0237": pStambilmk();break; case "0238": pJam();break; case "0239": pSetbonilai();break; case "0240": pKlsprodi();break; case "0241": pStdosen();break; case "0242": pPimpinan();break; case "0243": pBdnhukum();break; case "0244": pKlsperkul();break; case "0245": pTipekelas();break; case "0246": pTiperuangan();break; case "0247": pJwlkrs();break; case "0248": st_tahapan();break; case "0249": pSetkrs();break; case "0250": pHari();break; case "0251": pKlpruangan();break; case "0252": pCutidet();break; case "0253": pJabatan();break; case "0254": pSemester();break; case "0255": pKlsparalel();break; case "0256": pBebanStudi();break; case "0257": pPtinggi();break; case "0258": pSyaratsidang();break; case "0259": pSyaratwisuda();break; case "0260": pJUsm();break; //AKADEMIK case MENU.matakuliah: pMatkul(); break; case MENU.kurikulum: pKurikulum(); break; case MENU.struprog: pStruprog(); break; case MENU.dosenwali: pDosenWali(); break; case MENU.jadwal: pJadwalPerkuliahan(); break; //pJadwal(); break; case MENU.absen: pAbsenMahasiswaDosen(); break; case MENU.nilai: pNilaiMahasiswa(); break;//case "0407": pNilaiMhs(); break; case "9923": studentbody(); break; case MENU.surat_pindahan: pSuratPindahan(); break; case MENU.surat_pernyataan: pSrtpernyataan(); break; case MENU.skl: p_skl(); break; case MENU.surat_berhenti: pSrtberhenti(); break; case MENU.surat_cuti: pSrtCuti(); break; case MENU.srt_ketkul: pSrtketkul(); break; case MENU.surat_observasi: pSrtobservasi(); break; case MENU.bobotnilai: Bobot_nilai_per_semester(); break; case MENU.konversi: pKonversi();break; case MENU.nilaimanual: pNilaiManual();break; case MENU.setting_kuisioner: setting_kuisioner();break; case MENU.rekap_nilai_smt: rekapnilaismt(); break; case MENU.rekap_absen_smt: rekapabsensmt(); break; case MENU.daftarmhswisuda: daftarmhswisuda(); break; //STATUS AKTIFITAS MAHASISWA case MENU.status_mahasiswa: pStmhssemester(); break; //STATUS AKTIFITAS DOSEN case MENU.status_dosen: pStdossemester(); break; //case MENU.rpt_kurikulum: pRptKurikulum; break; /** KEUANGAN */ case "0501": pSetBiaya(); break; case "0502": pDiskon(); break; case "0503": pKwiBayar(); break; case "0504": import_dpp(); break; case "0505": pSetBiayaTahapan(); break; case "0506": virtual_account(); break; case "0507": tagihan_kuliah(); break; case "0508": pSetBiayaWisuda(); break; case "0509": pPenerimaanWisuda(); break; //Pembayaran/Penerimaan DPP/DPK //case "9918": pKeuRpt(); break; case MENU.rpt_dpk: pRptDPK(); break; case MENU.rpt_dpp: pRptDPP(); break; case MENU.rpt_tgk: pRptTGK(); break; case MENU.rpt_dppdpk: pRptDPPDKP(); break; case MENU.rpt_dpkrektor: pRptDPKrektor(); break; case MENU.rpt_keuperjnsbiaya: pRptKeuPerJbiaya(); break; case MENU.rpt_keu_wisuda: rpt_keu_wisuda(); break; /* LAPORAN EKSTERNAL */ case "0701": expEpsbed();break; /* LAPORAN AKADEMIK */ case "9105": pJadwal_kuliah(); break; case "9906": daftar_mhs(); break; case "9907": daftar_dsn(); break; case "9911": f_kartuhasiltudi('', ''); break; case "9913": f_transkripakademik('', ''); break; case "9921": p_ijazah(); break; case "9941": pJadwal_ujian(); break; case "9942": rekaphadirdosen(); break; case 1000: Ext.Ajax.request({ url: BASE_URL + 'user/ext_logout', method: 'POST', success: function(xhr) { window.location = BASE_URL + 'user/login'; } }); break; //default : alert("Info Menu", "Menu Belum Didaftarkan"); } }