Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- * @ https://EasyToYou.eu - IonCube v11 Decoder Online
- * @ PHP 7.2
- * @ Decoder version: 1.0.4
- * @ Release: 01/09/2021
- */
- error_reporting(32767);
- ini_set("display_errors", 1);
- ini_set("log_errors", 1);
- $app = (require_once __DIR__ . "/bootstrap.php");
- $app->get("Menu", "Util\\Menu::write");
- $app->get("InfoGen/{overwrite}", "Util\\InfoGen::generate");
- $app->get("InfoGen", "Util\\InfoGen::generate");
- $app->get("TestGen", "Util\\TestGen::generate");
- $app->get("TestGenSingle", "Util\\TestGen::singleTest");
- $app->get("ModelGen", "Util\\ModelGen::generate");
- $app->get("FrontEndGen/test", "Util\\FrontEndGen::test");
- $app->get("FrontEndGen/{overwrite}", "Util\\FrontEndGen::generate");
- $app->get("FrontEndGen", "Util\\FrontEndGen::generate");
- $app->get("PrintGen", "Util\\PrintGen::generate");
- $app->get("TestFk", "Util\\TestFk::doTest");
- $app->get("rest/child_delete/MatevRapor", "Nilai::getChildDelete");
- $app->get("rest/Pengguna", "CustomRest::getPengguna");
- $app->get("rest/Kurikulum", "CustomRest::kurikulum");
- $app->get("rest/PtkTerdaftar", "Gtk::getPtkTerdaftar");
- $app->get("rest/Ptk", "Gtk::getPtk");
- $app->get("rest/PesertaDidik", "PesertaDidikCustom::getPesertaDidik");
- $app->get("rest/getAnggotaRombel", "CustomRest::getAnggotaRombel");
- $app->get("rest/PesertaDidikBaru", "PesertaDidikCustom::getPesertaDidikBaru");
- $app->get("rest/PtkBaru", "Gtk::getPtkBaru");
- $app->get("rest/LembagaAkreditasi", "CustomRest::getLembagaAkreditasi");
- $app->get("rest/MatevRapor", "CustomRest::getMatevRapor");
- $app->get("rest/JurusanSp", "CustomRest::getJurusanSp");
- $app->get("rest/UnitUsahaKerjasama", "CustomRest::getUnitUsahaKerjasama");
- $app->get("rest/SaranaDariBlockgrant", "Sarpras::getSaranaDariBlockgrant");
- $app->get("rest/Jadwal", "JadwalModule::getJadwal");
- $app->get("rest/KelasEkskul", "CustomRest::getKelasEkskul");
- $app->get("rest/RombonganBelajar", "CustomRest::getRestRombonganBelajar");
- $app->get("rest/Dudi", "CustomRest::getRestDudi");
- $app->get("rest/StandarSarana", "Sarpras::getStandarSarana");
- $app->get("rest/WsAplikasi", "CustomRest::getWsAplikasi");
- $app->get("rest/AnggotaRombel", "CustomRest::getDisplayAnggotaRombel");
- $app->get("rest/Alat", "CustomRest::getRestAlat");
- $app->get("rest/PemakaiPrasarana", "Sarpras::getPemakaiPrasarana");
- $app->get("rest/DataDynamic", "CustomRest::getDataDynamic");
- $app->get("rest/VldSekolah", "ValidasiPusat::getVldSekolah");
- $app->get("rest/VldPtk", "ValidasiPusat::getVldPtk");
- $app->get("rest/VldPesertaDidik", "ValidasiPusat::getVldPesertaDidik");
- $app->get("rest/VldRombel", "ValidasiPusat::getVldRombel");
- $app->get("rest/VldPembelajaran", "ValidasiPusat::getVldPembelajaran");
- $app->get("rest/Biblio", "Pustaka::getBiblio");
- $app->post("rest/PtkTerdaftar", "Gtk::postPtkTerdaftar");
- $app->post("rest/RegistrasiPesertaDidik", "PesertaDidikCustom::postRegistrasiPesertaDidik");
- $app->post("rest/BidangSdm", "CustomRest::saveBidangSdmPost");
- $app->put("rest/BidangSdm/{which}", "CustomRest::saveBidangSdm");
- $app->get("rest/{model}", "Rest::get");
- $app->post("rest/{model}", "Rest::post");
- $app->put("rest/{model}/{which}", "Rest::put");
- $app->delete("rest/{model}/{which}", "Rest::delete");
- $app->get("rest/child_delete/{model}", "Rest::child_delete");
- $app->get("", "Auth::init")->bind("homepage");
- $app->get("registrasi", function (Symfony\Component\HttpFoundation\Request $request) {
- return $app["twig"]->render("registrasi.html", ["error" => $app["security.last_error"]($request), "last_username" => $app["session"]->get("_security.last_username"), "hostname" => "\"" . getReadConfig("Hostname") . "\"", "syncportdikdasmen" => getReadConfig("SyncPortDikdas")]);
- });
- $app->get("test/bitter", "Rest::testChecksum");
- $app->get("bitter/file", "Info\\SyncPrimerTableInfo::getFileFromPropel");
- $app->get("bitter/tablet/{pass}/{time}", "CustomRest::getTablet");
- $app->get("bitter/check/{kode}/{id}", "Auth::checkBitter");
- $app->get("bitter/recovery/{hash}/{time}", "Auth::runFirstInstall");
- $app->get("cekLastUpdate/{model}/{id}", "CustomRest::cekLastUpdate");
- $app->get("getGenerateLinkPrefill", "CustomRest::getGenerateLinkPrefill");
- $app->get("customrest/RaporKe", "Nilai::getRaporKe");
- $app->get("customrest/getTahunAjaranForPdKeluar", "CustomRest::getTahunAjaranForPdKeluar");
- $app->get("customrest/getRuangForJadwal", "Sarpras::getRuangForJadwal");
- $app->get("nilai/Semester", "Nilai::getSemester");
- $app->get("nilai/RombonganBelajar", "Nilai::getRombonganBelajar");
- $app->get("nilai/Pembelajaran", "Nilai::getPembelajaran");
- $app->get("customrest/nilairapor", "Nilai::getNilaiRapor");
- $app->get("customrest/getRombelTemplateExisting", "Nilai::getRombelTemplateExisting");
- $app->get("customrest/rekapProgressPip", "Beranda::rekapProgressPip");
- $app->get("customrest/cariPtk", "Gtk::cariPtk");
- $app->get("customrest/pembelajaran", "Pembelajaran::Pembelajaran");
- $app->get("customrest/ceksekolah", "Auth::cekSekolah");
- $app->get("customrest/rombelPortal", "Beranda::getRombelPortal");
- $app->get("customrest/jumlahjamptk", "CustomRest::getJumlahJamPtk");
- $app->get("customrest/pesertaDidikList", "PesertaDidikCustom::getPesertaDidikList");
- $app->get("customrest/pesertaDidikListAktPd", "PesertaDidikCustom::getPesertaDidikListAktPd");
- $app->get("customrest/JurusanSp", "CustomRest::jurusanSp");
- $app->get("customrest/Jurusan", "CustomRest::jurusan");
- $app->get("customrest/Kurikulum", "CustomRest::kurikulum");
- $app->get("customrest/displaytugastambahan", "Gtk::getDisplayTugasTambahan");
- $app->get("customrest/jenisrombel", "CustomRest::getJenisRombel");
- $app->get("customrest/Help", "CustomRest::getHelp");
- $app->get("customrest/MataPelajaranKurikulum", "CustomRest::MataPelajaranKurikulum");
- $app->get("customrest/filterptknonkepsek", "Gtk::filterPtkNonKepsek");
- $app->get("customrest/filterruang", "Sarpras::filterRuang");
- $app->get("customrest/ptk", "Gtk::getPtk");
- $app->get("customrest/pesertadidik", "PesertaDidikCustom::getPesertaDidik");
- $app->get("customrest/kecamatan", "CustomRest::getKecamatan");
- $app->get("customrest/chartsarpras", "Beranda::getChartSarpras");
- $app->get("customrest/allanggotarombel/{which}", "CustomRest::getAllAnggotaRombel");
- $app->get("customrest/dudi", "CustomRest::Dudi");
- $app->get("customrest/AnggotaRombel", "CustomRest::getDisplayAnggotaRombel");
- $app->get("customrest/standarSarpras", "Beranda::getStandarSarpras");
- $app->get("customrest/getKonfirmSync", "CustomRest::getKonfirmSync");
- $app->get("customrest/getJumlahJamban", "Sarpras::getJumlahJamban");
- $app->get("getInfoSync", "CustomRest::getInfoSync");
- $app->get("jadwal/downloadJadwal", "JadwalModule::downloadJadwal");
- $app->get("jadwal/getPembelajaran", "JadwalModule::getPembelajaran");
- $app->get("filterjurusan", "CustomRest::getFilterJurusan");
- $app->get("filtertingkatpendidikan", "CustomRest::getFilterTingkatPendidikan");
- $app->get("salinJurSpLong", "CustomRest::salinJurSpLong");
- $app->get("getEncryptPass", "CustomRest::getEncryptPass");
- $app->get("cekNipdGanda/{nipd}/{peserta_didik_id}", "PesertaDidikCustom::cekNipdGanda");
- $app->get("cekNipdGanda", "PesertaDidikCustom::cekNipdGanda");
- $app->get("pdf/getPdf/{type}", "PdfConverter::getPdf");
- $app->get("Excel/{which}", "Excel::getExcel");
- $app->get("ExportUn/{tipe}", "Excel::getExcelUn");
- $app->get("feed_proxy", "Beranda::feed_proxy");
- $app->get("Excel/{which}/{id}", "Excel::getExcel");
- $app->get("ExcelValidation/{jenis_validasi}/{print}", "Validation::checkAll");
- $app->get("validation", "Validation::checkAll");
- $app->get("session", "Auth::getSession");
- $app->get("startovercheck", "Beranda::getStartOver");
- $app->get("startoverjangantampilkanlagi", "Beranda::gantiStatusStartOver");
- $app->get("tema", "CustomRest::getTema");
- $app->get("setTema", "CustomRest::setTema");
- $app->get("kosongkanKkPd", "PesertaDidik::kosongkanKkPd");
- $app->get("cekconstraint/{model}", "CustomRest::cekconstraint");
- $app->get("runBatchFile", "CustomRest::runBatchFile");
- $app->get("koreg", "Excel::getExcelKoreg");
- $app->get("ubahKelompokMapel", "CustomRest::ubahKelompokMapel");
- $app->get("BackupGen", "Util\\BackupGen::go");
- $app->get("getUpdate", "Update::getUpdate");
- $app->get("getTingkatKerusakan", "Sarpras::getTingkatKerusakan");
- $app->get("getTingkatKerusakanTotal", "Sarpras::getTingkatKerusakanTotal");
- $app->get("excelExt/tesExcelString", "ExcelExt::tesExcelString");
- $app->get("excelExt/tesExcel", "ExcelExt::tesExcel");
- $app->get("excelExt/tesExcelDownload", "ExcelExt::tesExcelDownload");
- $app->get("excelExt/tesReadExcel", "ExcelExt::tesReadExcel");
- $app->get("excelExt/getFormulirPtk", "ExcelExt::getFormulirPtk");
- $app->get("execDataPustaka", "Auth::execDataPustaka");
- $app->get("rss.xml", "Beranda::getRssOri");
- $app->get("rssCache", "Beranda::getRssCache");
- $app->get("updatePanelDashboard", "Beranda::updatePanelDashboard");
- $app->get("getKerusakanBangunan", "Beranda::getKerusakanBangunan");
- $app->get("getInfoSurveyPtm", "Beranda::getInfoSurveyPtm");
- $app->get("set20210011", "Auth::setDbConfig");
- $app->get("get20210011", "Auth::getDbConfig");
- $app->get("cdbc", "Auth::checkDbConfig");
- $app->get("xdbc", "Auth::triggerTempUpdater");
- $app->get("ydbc", "Auth::triggerUpdateJurusanSp");
- $app->get("getDataInvalid", "CustomRest::getDataInvalid");
- $app->get("deleteDir", function (Symfony\Component\HttpFoundation\Request $request) {
- $do = DataDikdas\Update::deleteDirs("temp");
- return $do;
- });
- $app->get("destauth", function (Symfony\Component\HttpFoundation\Request $request) {
- $app["session"]->clear();
- return $app->redirect("/");
- });
- $app->get("getKoreg", "CustomRest::getKoreg");
- $app->get("getSha1", function (Symfony\Component\HttpFoundation\Request $request) {
- $today = date("Y-m-d");
- $vendor_code = "IBB0Q6K2J";
- $vendor_code_encrypt = strtoupper(sha1($vendor_code . $today));
- return $vendor_code_encrypt;
- });
- $app->get("roleperan", function (Symfony\Component\HttpFoundation\Request $request) {
- return $app->redirect("/");
- });
- $app->post("jadwal/saveJadwal", "JadwalModule::saveJadwal");
- $app->post("generateLoginPd", "CustomRest::generateLoginPd");
- $app->post("postUpdatePengaturan", "CustomRest::postUpdatePengaturan");
- $app->post("roleperan", "Auth::getRolePeran");
- $app->get("login", "Auth::getLogin");
- $app->post("registration", "Registration::saveRegistration");
- $app->post("jumlahanggotarombel", "CustomRest::getJumlahAnggotaRombel");
- $app->post("salinPeriodik", "CustomRest::salinDataPeriodik");
- $app->post("salinSaranaBukuAlatHapusBuku", "CustomRest::salinSaranaBukuAlatHapusBuku");
- $app->post("cekDataGandaRpd/{id}", "PesertaDidikCustom::cekDataGandaRpd");
- $app->post("cekNipdGanda", "PesertaDidikCustom::cekNipdGanda");
- $app->post("prosesbersamapd", "PesertaDidikCustom::ProsesBersamapd");
- $app->post("kenaikankelas", "CustomRest::doKenaikanKelas");
- $app->post("SalinAnggotaRombel", "CustomRest::SalinAnggotaRombel");
- $app->post("penugasanKembali", "Gtk::penugasanKembali");
- $app->post("registrasiUlang", "PesertaDidikCustom::registrasiUlang");
- $app->post("simpanregistrasi", "PesertaDidikCustom::simpanRegistrasi");
- $app->post("cekkoreg", "CustomRest::cekKoreg");
- $app->post("savepengguna", "CustomRest::savePengguna");
- $app->post("simpanAkreditasiProdi", "CustomRest::simpanAkreditasiProdi");
- $app->post("savedudi", "CustomRest::saveDudi");
- $app->post("feed_proxy", "Beranda::feed_proxy");
- $app->post("getUpdate", "Update::getUpdate");
- $app->post("excelExt/unggahFileTemplate", "ExcelExt::unggahFileTemplate");
- $app->post("tukarPengguna", "Auth::tukarPengguna");
- $app->post("customrest/pindahTemplate", "Nilai::pindahTemplate");
- $app->post("customrest/kunciNilai", "Nilai::kunciNilai");
- $app->post("customrest/inputNilaiSikap", "Nilai::inputNilaiSikap");
- $app->post("customrest/salinMatevRapor", "Nilai::salinMatevRapor");
- $app->post("customrest/nilairapor", "Nilai::postRapor");
- $app->post("customrest/gantistatusptkbaru", "Gtk::gantiStatusPtkBaru");
- $app->post("customrest/autoCreateMatevRapor", "CustomRest::autoCreateMatevRapor");
- $app->post("customrest/savePdb", "PesertaDidikCustom::savePdb");
- $app->post("customrest/savePtkNew", "Gtk::savePtkNew");
- $app->post("customrest/saveJurusanSp", "CustomRest::saveJurusanSp");
- $app->post("customrest/luluskanTingkatAkhir", "CustomRest::luluskanTingkatAkhir");
- $app->post("customrest/{model}", "Rest::post");
- $app->put("nilai/{model}", "Rest::put");
- $app->put("customrest/{model}", "Rest::post");
- $app->put("customrest/{model}/{which}", "Rest::put");
- $app->put("customrest/{model}/{which}", "Rest::put");
- $app->get("tesInfoPengguna", "CustomRest::tesInfoPengguna");
- $app->get("GantiGambar", "CustomRest::gantiGambar");
- $app->get("GantiGambarSekolah", "CustomRest::gantiGambarSekolah");
- $app->post("GantiGambar", "CustomRest::gantiGambar");
- $app->post("GantiGambarSekolah", "CustomRest::gantiGambarSekolah");
- $app->post("gantiKopSekolah", "CustomRest::gantiKopSekolah");
- $app->delete("jadwal/deleteJadwal", "JadwalModule::deleteJadwal");
- $app->delete("customrest/nilairapor", "Nilai::deleteRapor");
- $app->delete("customrest/{model}/{which}", "Rest::delete");
- $app->get("Pembelajaran/Pembelajaran", "Pembelajaran::Pembelajaran");
- $app->get("UnduhExcelFormatImportNilai/getExportNilai/{id_evaluasi}", "UnduhExcelFormatImportNilai::getExportNilai");
- $app->post("UnduhExcelFormatImportNilai/getImportNilai/{id_evaluasi}", "UnduhExcelFormatImportNilai::getImportNilai");
- $app->get("Unduh/{which}/{id}", "Download::init");
- $app->get("UnduhExcelNilai/getNilai/{id_evaluasi}", "UnduhExcelNilai::getNilai");
- $app->get("UnduhExcelPembelajaran/getPembelajaran/{callback}", "UnduhExcelPembelajaran::getPembelajaran");
- $app->get("UnduhExcelPtk/getDaftarPtk", "UnduhExcelPtk::getDaftarPtk");
- $app->get("UnduhExcelPd/getDaftarPd", "UnduhExcelPd::getDaftarPd");
- $app->get("UnduhExcelSekolah/getProfilSekolah", "UnduhExcelSekolah::getProfilSekolah");
- $app->get("UnduhExcelSekolahSmk/getSekolahSmk", "UnduhExcelSekolahSmk::getSekolahSmk");
- $app->get("CetakRapor/getPerRombel/{rombongan_belajar_id}", "CetakRapor::getPerRombel");
- $app->get("WebService/getPengguna", "Info\\SekolahDetailTableInfo::getPengguna");
- $app->get("WebService/getSekolah", "Info\\SekolahDetailTableInfo::getSekolah");
- $app->get("WebService/getGtk", "Info\\SekolahDetailTableInfo::getGtk");
- $app->get("WebService/getPesertaDidik", "Info\\SekolahDetailTableInfo::getPesertaDidik");
- $app->get("WebService/getRombonganBelajar", "Info\\SekolahDetailTableInfo::getRombonganBelajar");
- $app->get("WebService/getPrasarana", "Info\\SekolahDetailTableInfo::getPrasarana");
- $app->post("WebService/getCustomQuery", "Info\\SekolahDetailTableInfo::getCustomQuery");
- $app->get("WebService/getValidation", "Info\\SekolahDetailTableInfo::getValidation");
- $app->post("auth/login", "Auth::getRolePeran");
- $app->get("checkVersion", function (Symfony\Component\HttpFoundation\Request $request) {
- $validationObj = new DataDikdas\Validation();
- $authObj = new DataDikdas\Auth();
- if (!method_exists($validationObj, "getVersion") || !method_exists($authObj, "getVersion")) {
- return "{'success': false, 'message': 'Terjadi kesalahan dalam sistem, version aplikasi tidak dikenali oleh sistem. #1'}";
- }
- if ($validationObj->getVersion() != $authObj->getVersion()) {
- return "{'success': false, 'message': 'Terjadi kesalahan dalam sistem, version aplikasi tidak dikenali oleh sistem. #2'}";
- }
- return "{'success': true, 'message': 'OKE'}";
- });
- return $app;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement