Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php /* ________________________________________ | GarudaCBT ..

Decoded Output download

<?php 
/*   ________________________________________ 
    |                 GarudaCBT              | 
    |    https://github.com/garudacbt/cbt    | 
    |________________________________________| 
*/ 
 class Cbtcetak extends CI_Controller { public function __construct() { goto etqhG; ZhrXk: redirect("auth"); goto INdvn; xNZgB: $this->load->library("upload"); goto kp124; etqhG: parent::__construct(); goto QY7Ju; OyEMR: Sik5L: goto ZhrXk; INdvn: pSfsr: goto ilpO6; j2N1b: Tbe3A: goto H22Zo; QY7Ju: if (!$this->ion_auth->logged_in()) { goto Sik5L; } goto uJ4B8; pmBX0: show_error("Hanya Administrator yang diberi hak untuk mengakses halaman ini, <a href="" . base_url("dashboard") . "">Kembali ke menu awal</a>", 403, "Akses Terlarang"); goto j2N1b; kp124: $this->form_validation->set_error_delimiters('', ''); goto C751F; ilpO6: $this->load->library(["datatables", "form_validation"]); goto xNZgB; H22Zo: goto pSfsr; goto OyEMR; uJ4B8: if (!(!$this->ion_auth->is_admin() && !$this->ion_auth->in_group("guru"))) { goto Tbe3A; } goto pmBX0; C751F: } public function output_json($data, $encode = true) { goto BV5_k; BV5_k: if (!$encode) { goto mySR6; } goto dA1KK; xFChd: mySR6: goto U154i; U154i: $this->output->set_content_type("application/json")->set_output($data); goto Gsigp; dA1KK: $data = json_encode($data); goto xFChd; Gsigp: } public function index() { goto uFiLZ; tfEkC: $data["smt"] = $this->dashboard->getSemester(); goto S0Cho; SDpHm: $this->load->view("_templates/dashboard/_header", $data); goto NbSVv; Cinmi: $data["tp"] = $this->dashboard->getTahun(); goto jt2ls; DYI1m: $this->load->view("members/guru/templates/footer"); goto pNZmH; ay4qi: $ids_pengawas = []; goto Lxucx; cM9_G: $user = $this->ion_auth->user()->row(); goto U1enD; xC2Nt: $pengawas = $this->cbt->getPengawasHariIni(date("Y-m-d")); goto vxcp2; vxcp2: $data["pengawas"] = $pengawas; goto ay4qi; jt2ls: $data["tp_active"] = $tp; goto tfEkC; CqPvI: $this->load->model("Dashboard_model", "dashboard"); goto wQY_9; HAuCg: $this->load->view("cbt/cetak/data"); goto DYI1m; wMoCK: $data["guru"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto xC2Nt; OYeg2: $tp = $this->master->getTahunActive(); goto OfXAP; d919J: s4z2k: goto SDpHm; NbSVv: $this->load->view("cbt/cetak/data"); goto RPAF2; IMgdS: y9e3X: goto HMohC; LF1co: $data["kop"] = $this->cbt->getSettingKopAbsensi(); goto mGBXv; mGBXv: if ($this->ion_auth->is_admin()) { goto s4z2k; } goto wMoCK; wQY_9: $this->load->model("Cbt_model", "cbt"); goto cM9_G; OfXAP: $smt = $this->master->getSemesterActive(); goto Cinmi; S0Cho: $data["smt_active"] = $smt; goto LF1co; U1enD: $data = ["user" => $user, "judul" => "Cetak Data Penilaian", "subjudul" => "Cetak", "profile" => $this->dashboard->getProfileAdmin($user->id), "setting" => $this->dashboard->getSetting()]; goto OYeg2; HMohC: $data["ids_pengawas"] = $ids_pengawas; goto x3LUP; Lxucx: foreach ($pengawas as $pws) { goto SO6_7; SO6_7: $ids = explode(",", $pws->id_guru); goto UfsdR; UfsdR: foreach ($ids as $id) { goto tp_RR; gThvj: $ids_pengawas[] = $id; goto NQFvP; ZJ12i: Xmm6o: goto aDJdU; tp_RR: if (!(!in_array($id, $ids_pengawas) && $id != '')) { goto B3xD1; } goto gThvj; NQFvP: B3xD1: goto ZJ12i; aDJdU: } goto wyEhU; wyEhU: kYZIR: goto Za54X; Za54X: IjMbx: goto M96tZ; M96tZ: } goto IMgdS; uFiLZ: $this->load->model("Master_model", "master"); goto CqPvI; RPAF2: $this->load->view("_templates/dashboard/_footer"); goto bdPEc; pNZmH: goto cz1qn; goto d919J; bdPEc: cz1qn: goto pYDk3; x3LUP: $this->load->view("members/guru/templates/header", $data); goto HAuCg; pYDk3: } public function kartuPeserta() { goto bDp79; M817c: $this->load->view("_templates/dashboard/_header", $data); goto RPcDZ; BhRTD: $this->load->model("Rapor_model", "rapor"); goto T7bDj; Z30qQ: $data["kelas"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto JmekP; Q2oNi: $data["tp"] = $this->dashboard->getTahun(); goto qGwd1; vAkSh: $this->load->model("Dropdown_model", "dropdown"); goto BhRTD; T7bDj: $user = $this->ion_auth->user()->row(); goto uhfMD; pVhzC: $data["setting_rapor"] = $this->rapor->getRaporSetting($tp->id_tp, $smt->id_smt); goto cdLo0; yh7k3: $tp = $this->dashboard->getTahunActive(); goto HY7dY; qGwd1: $data["tp_active"] = $tp; goto hbAbB; yCt83: $this->load->view("_templates/dashboard/_footer"); goto fPEPp; RPcDZ: $this->load->view("cbt/cetak/kartu"); goto yCt83; QBXJu: goto hGnNH; goto bAx0I; fPEPp: hGnNH: goto bgbd7; HY7dY: $smt = $this->dashboard->getSemesterActive(); goto Q2oNi; Qd7rb: $this->load->view("members/guru/templates/header", $data); goto KJJ2s; hbAbB: $data["smt"] = $this->dashboard->getSemester(); goto AW5HK; KJJ2s: $this->load->view("cbt/cetak/kartu"); goto Xx1sl; bAx0I: pi8BX: goto M817c; JmekP: $data["ruang"] = $this->dropdown->getAllRuang(); goto pVhzC; Xx1sl: $this->load->view("members/guru/templates/footer"); goto QBXJu; bDp79: $this->load->model("Dashboard_model", "dashboard"); goto mF3iw; tjx4a: $data["guru"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto Qd7rb; cdLo0: if ($this->ion_auth->is_admin()) { goto pi8BX; } goto tjx4a; uhfMD: $data = ["user" => $user, "judul" => "Cetak Kartu Peserta", "subjudul" => "Cetak", "profile" => $this->dashboard->getProfileAdmin($user->id), "setting" => $this->dashboard->getSetting()]; goto yh7k3; XnIgb: $data["kartu"] = $this->cbt->getSettingKartu(); goto Z30qQ; AW5HK: $data["smt_active"] = $smt; goto XnIgb; mF3iw: $this->load->model("Cbt_model", "cbt"); goto vAkSh; bgbd7: } function uploadFile($logo) { goto BDaJW; KFVZU: $config["allowed_types"] = "gif|jpg|png|jpeg|JPEG|JPG|PNG|GIF"; goto ab_hW; S89l5: goto agpPO; goto P8fkz; P8fkz: AzqRm: goto MRGj7; MRGj7: $data["status"] = false; goto Z1QNI; LtScL: $this->output_json($data); goto e8A6V; BMY3l: agpPO: goto czKYk; ab_hW: $config["overwrite"] = true; goto NvMib; O09_S: $this->upload->initialize($config); goto zJoZe; NvMib: $config["file_name"] = $logo; goto O09_S; BZ8cJ: $data["size"] = $_FILES["logo"]["size"]; goto tmrs8; zJoZe: if (!$this->upload->do_upload("logo")) { goto AzqRm; } goto jcMIy; jcMIy: $result = $this->upload->data(); goto dl2Ov; fBXHS: $data["filename"] = pathinfo($result["file_name"], PATHINFO_FILENAME); goto LteW_; tmrs8: KXOhJ: goto LtScL; dl2Ov: $data["src"] = base_url() . "uploads/settings/" . $result["file_name"]; goto fBXHS; Z1QNI: $data["src"] = $this->upload->display_errors(); goto BMY3l; LteW_: $data["status"] = true; goto S89l5; M2oK8: goto KXOhJ; goto tNYbd; czKYk: $data["type"] = $_FILES["logo"]["type"]; goto BZ8cJ; tNYbd: kQGw5: goto dAknM; n3KXS: $data["src"] = ''; goto M2oK8; dAknM: $config["upload_path"] = "./uploads/settings/"; goto KFVZU; BDaJW: if (isset($_FILES["logo"]["name"])) { goto kQGw5; } goto n3KXS; e8A6V: } function deleteFile() { goto AJYdB; dsC2t: echo "File Delete Successfully"; goto zzKbM; m6Zi4: $file_name = str_replace(base_url(), '', $src); goto ZhEbR; zzKbM: xj3Kq: goto zF_17; AJYdB: $src = $this->input->post("src"); goto m6Zi4; ZhEbR: if (!unlink($file_name)) { goto xj3Kq; } goto dsC2t; zF_17: } public function saveKartu() { goto GLcZb; QBaCx: $tanggal = $this->input->post("tanggal", true); goto JYY3b; rC5YS: $header_4 = $this->input->post("header_4", true); goto QBaCx; JYY3b: $insert = ["id_set_kartu" => 123456, "header_1" => $header_1, "header_2" => $header_2, "header_3" => $header_3, "header_4" => $header_4, "tanggal" => $tanggal]; goto I40E7; kM9Td: $header_2 = $this->input->post("header_2", true); goto Sh31N; I40E7: $update = $this->db->replace("cbt_kop_kartu", $insert); goto HLdDj; Sh31N: $header_3 = $this->input->post("header_3", true); goto rC5YS; GLcZb: $header_1 = $this->input->post("header_1", true); goto kM9Td; HLdDj: $this->output_json($update); goto WQlj0; WQlj0: } public function getSiswaKelas() { goto xFUY_; vbszS: $jadwal = $this->input->get("jadwal"); goto Kq8YQ; INY1S: $tp = $this->dashboard->getTahunActive(); goto gG0_l; rgMeQ: if (!($jadwal != null && $jadwal != "null")) { goto AqilZ; } goto INY1S; be9yf: $sesi = $this->input->get("sesi"); goto vbszS; Gf_6R: $this->output_json($data); goto iYVNc; DS0yI: $this->load->model("Dashboard_model", "dashboard"); goto OrYuE; OrYuE: $this->load->model("Cbt_model", "cbt"); goto be9yf; JUQTd: $ijadwal = null; goto j3zOS; BYRib: RCFT2: goto TnEGI; FKJaV: foreach ($siswas as $siswa) { array_push($data["siswa"], $siswa); WEiJ4: } goto towS4; towS4: pEgji: goto t5mA0; gVdrG: $ikelas = $this->kelas->getIdKelas($tp->id_tp, $smt->id_smt); goto YVdHx; BFChV: rmRLH: goto gVdrG; oC_sP: G3qO_: goto PE9og; SgcSC: foreach ($pengawass as $p) { goto hHDyz; tKT2d: ME_8T: goto KBEFV; hHDyz: if (!(count(explode(",", $p->id_guru)) > 0)) { goto ME_8T; } goto Og3TT; KBEFV: R65iN: goto piK2k; Og3TT: array_push($pengawas, $this->master->getGuruByArrId(explode(",", $p->id_guru))); goto tKT2d; piK2k: } goto BYRib; jv1BY: $siswas = $this->cbt->getRuangSiswaByKelas($tp->id_tp, $smt->id_smt, $kelas, $s); goto FKJaV; yDI2p: zMDou: goto JUQTd; KOL_O: $ikelas = $this->master->getKelasById($kelas); goto k1xTE; NQKkm: $isesi = $this->cbt->getSesiById($s); goto yDI2p; t5mA0: $data["info"] = ["kelas" => $ikelas, "sesi" => $isesi, "jadwal" => $ijadwal, "pengawas" => $pengawas]; goto Gf_6R; gG0_l: $smt = $this->dashboard->getSemesterActive(); goto RIL4u; RIL4u: $pengawass = $this->cbt->getPengawasByJadwal($tp->id_tp, $smt->id_smt, $jadwal, $sesi); goto UG2Db; Kq8YQ: $tp = $this->dashboard->getTahunActive(); goto EdU0Z; lFAQI: if (!($s != null)) { goto zMDou; } goto NQKkm; SYavS: $kelas = $this->input->get("kelas"); goto LscUt; YVdHx: $kelas = $ikelas; goto oC_sP; TnEGI: $ijadwal = $this->cbt->getJadwalById($jadwal, $s); goto O8xiK; j3zOS: $pengawas = []; goto rgMeQ; S5zTM: $isesi = null; goto lFAQI; PE9og: $s = !$sesi ? null : $sesi; goto S5zTM; EdU0Z: $smt = $this->dashboard->getSemesterActive(); goto SYavS; UG2Db: $pengawas = []; goto SgcSC; k1xTE: goto G3qO_; goto BFChV; xFUY_: $this->load->model("Master_model", "master"); goto NXGwY; LscUt: if ($kelas == "all") { goto rmRLH; } goto KOL_O; O8xiK: AqilZ: goto YCgAn; YCgAn: $data["siswa"] = []; goto jv1BY; NXGwY: $this->load->model("Kelas_model", "kelas"); goto DS0yI; iYVNc: } public function getSiswaRuang() { goto OZ1Qs; E0DAd: $jadwal = $this->input->get("jadwal"); goto QPVgx; qgkk3: $ruang = $this->input->get("ruang"); goto DaTm4; FJMR_: $pengawass = $this->cbt->getPengawas($tp->id_tp . $smt->id_smt . $jadwal . $ruang . $sesi); goto dKqG7; CwmEy: $s = $sesi == "null" ? null : $sesi; goto M_eGF; otiZU: $ijadwal = null; goto BiXq6; DaTm4: $sesi = $this->input->get("sesi"); goto E0DAd; Cq_Sl: $this->load->model("Cbt_model", "cbt"); goto qgkk3; M_eGF: $isesi = null; goto tLAPw; gPXI9: $this->load->model("Dashboard_model", "dashboard"); goto Cq_Sl; I7MNw: if (!($pengawass != null && count(explode(",", $pengawass->id_guru)) > 0)) { goto mPpYw; } goto xiSgN; YzDBE: $this->output_json($data); goto qCsr3; OZ1Qs: $this->load->model("Master_model", "master"); goto gPXI9; xiSgN: $pengawas = $this->master->getGuruByArrId(explode(",", $pengawass->id_guru)); goto hWFkW; dcEYc: $ijadwal = $this->cbt->getJadwalById($jadwal, $s); goto Cu8dA; yIE4T: $iruang = $this->cbt->getRuangById($ruang); goto CwmEy; BiXq6: if (!($jadwal != null && $jadwal != "null")) { goto pv4jg; } goto dcEYc; hWFkW: mPpYw: goto Owc_O; bRkZ7: $smt = $this->dashboard->getSemesterActive(); goto yIE4T; Owc_O: $data["siswa"] = $this->cbt->getSiswaByRuang($tp->id_tp, $smt->id_smt, $ruang, $s); goto Do4Z7; Do4Z7: $data["info"] = ["ruang" => $iruang, "sesi" => $isesi, "jadwal" => $ijadwal, "pengawas" => $pengawas]; goto YzDBE; c3L_D: $isesi = $this->cbt->getSesiById($s); goto y5qzR; Cu8dA: pv4jg: goto FJMR_; QPVgx: $tp = $this->dashboard->getTahunActive(); goto bRkZ7; tLAPw: if (!($s != null)) { goto wnogZ; } goto c3L_D; dKqG7: $pengawas = []; goto I7MNw; y5qzR: wnogZ: goto otiZU; qCsr3: } public function saveKop() { goto uPhs4; RxG1f: $proktor = $this->input->post("proktor", true); goto BJks1; uPhs4: $header_1 = $this->input->post("header_1", true); goto w1PLi; BT3o4: $this->output_json($update); goto uLFAd; wGe4U: $header_4 = $this->input->post("header_4", true); goto RxG1f; byHo2: $update = $this->db->replace("cbt_kop_absensi", $insert); goto BT3o4; kH8Bs: $header_3 = $this->input->post("header_3", true); goto wGe4U; ekHeU: $pengawas_2 = $this->input->post("pengawas_2", true); goto hMHU0; BJks1: $pengawas_1 = $this->input->post("pengawas_1", true); goto ekHeU; hMHU0: $insert = ["id_kop" => 123456, "header_1" => $header_1, "header_2" => $header_2, "header_3" => $header_3, "header_4" => $header_4, "proktor" => $proktor, "pengawas_1" => $pengawas_1, "pengawas_2" => $pengawas_2]; goto byHo2; w1PLi: $header_2 = $this->input->post("header_2", true); goto kH8Bs; uLFAd: } public function absenPeserta() { goto IOUVc; hq7ya: $data["smt"] = $this->dashboard->getSemester(); goto t_gF8; X_xcL: goto S_PZe; goto NaUk5; H08V1: $data["ruang"] = $this->dropdown->getAllRuang(); goto Ug9I7; Tpsd9: $user = $this->ion_auth->user()->row(); goto e5jQG; d6RPM: $this->load->view("cbt/cetak/absen"); goto hVPc1; hVPc1: $this->load->view("members/guru/templates/footer"); goto X_xcL; xUI5N: $data["kop"] = $this->cbt->getSettingKopAbsensi(); goto SJ4iI; Ug9I7: $data["sesi"] = $this->dropdown->getAllSesi(); goto xUI5N; TaC0Q: $smt = $this->dashboard->getSemesterActive(); goto IWO3o; LjiOV: $this->load->view("_templates/dashboard/_header", $data); goto CWBV9; e5jQG: $data = ["user" => $user, "judul" => "Cetak Daftar Kehadiran", "subjudul" => "Cetak", "profile" => $this->dashboard->getProfileAdmin($user->id), "setting" => $this->dashboard->getSetting()]; goto G5cU7; IWO3o: $data["tp"] = $this->dashboard->getTahun(); goto C5rWa; YzLQ1: $data["kelas"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto H08V1; SJ4iI: if ($this->ion_auth->is_admin()) { goto verwS; } goto EGVib; WQUww: $this->load->view("members/guru/templates/header", $data); goto d6RPM; m6uLG: S_PZe: goto VMwpj; EGVib: $data["guru"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto WQUww; dCf9x: $data["jadwal"] = $this->dropdown->getAllJadwal($tp->id_tp, $smt->id_smt); goto YzLQ1; CWBV9: $this->load->view("cbt/cetak/absen"); goto Vrlmc; Vrlmc: $this->load->view("_templates/dashboard/_footer"); goto m6uLG; x6GUU: $this->load->model("Dropdown_model", "dropdown"); goto Tpsd9; G5cU7: $tp = $this->dashboard->getTahunActive(); goto TaC0Q; tO2rB: $this->load->model("Cbt_model", "cbt"); goto x6GUU; C5rWa: $data["tp_active"] = $tp; goto hq7ya; NaUk5: verwS: goto LjiOV; IOUVc: $this->load->model("Dashboard_model", "dashboard"); goto tO2rB; t_gF8: $data["smt_active"] = $smt; goto dCf9x; VMwpj: } public function beritaAcara() { goto zDI7p; wm4fG: $data["guru"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto Yf8Ow; DRmhT: $this->load->view("_templates/dashboard/_header", $data); goto yId4d; r2fxP: $data["tp"] = $this->dashboard->getTahun(); goto xoSDD; JQTYO: $data["sesi"] = $this->dropdown->getAllSesi(); goto zVyvs; slB9I: $this->load->view("_templates/dashboard/_footer"); goto w3pVg; QckoK: if ($this->ion_auth->is_admin()) { goto IyQez; } goto wm4fG; gATYo: $this->load->model("Cbt_model", "cbt"); goto U1dAS; yId4d: $this->load->view("cbt/cetak/beritaacara"); goto slB9I; xoSDD: $data["tp_active"] = $tp; goto TMxv8; VetJX: $data = ["user" => $user, "judul" => "Cetak Berita Acara", "subjudul" => "Cetak", "profile" => $this->dashboard->getProfileAdmin($user->id), "setting" => $this->dashboard->getSetting()]; goto l1t2A; HrN9P: goto quuaZ; goto MHWu4; uABUR: $data["kelas"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto plb_1; Fgyzd: $data["jadwal"] = $this->dropdown->getAllJadwal($tp->id_tp, $smt->id_smt); goto uABUR; Yf8Ow: $this->load->view("members/guru/templates/header", $data); goto miVzu; l1t2A: $tp = $this->dashboard->getTahunActive(); goto mbgLs; MHWu4: IyQez: goto DRmhT; plb_1: $data["ruang"] = $this->dropdown->getAllRuang(); goto JQTYO; U1dAS: $this->load->model("Dropdown_model", "dropdown"); goto TDU2W; Fd7Ii: $this->load->view("members/guru/templates/footer"); goto HrN9P; w3pVg: quuaZ: goto tfOF4; cmuai: $data["smt_active"] = $smt; goto Fgyzd; mbgLs: $smt = $this->dashboard->getSemesterActive(); goto r2fxP; zDI7p: $this->load->model("Dashboard_model", "dashboard"); goto gATYo; miVzu: $this->load->view("cbt/cetak/beritaacara"); goto Fd7Ii; zVyvs: $data["kop"] = $this->cbt->getSettingKopBeritaAcara(); goto QckoK; TMxv8: $data["smt"] = $this->dashboard->getSemester(); goto cmuai; TDU2W: $user = $this->ion_auth->user()->row(); goto VetJX; tfOF4: } public function saveKopBerita() { goto g2_8P; ey4mf: $this->output_json($update); goto EDDYZ; g2_8P: $header_1 = $this->input->post("header_1", true); goto vrhXv; fotXB: $header_4 = $this->input->post("header_4", true); goto zvrgh; zvrgh: $insert = ["id_kop" => 123456, "header_1" => $header_1, "header_2" => $header_2, "header_3" => $header_3, "header_4" => $header_4]; goto ZSaV0; vrhXv: $header_2 = $this->input->post("header_2", true); goto dmPpn; dmPpn: $header_3 = $this->input->post("header_3", true); goto fotXB; ZSaV0: $update = $this->db->replace("cbt_kop_berita", $insert); goto ey4mf; EDDYZ: } public function pesertaUjian($mode = null) { goto JNFKS; h4Ijg: $data["smt"] = $this->dashboard->getSemester(); goto GF60L; DUit9: $this->load->view("members/guru/templates/header", $data); goto zzvpT; D7XwX: T1CV8: goto PZOnv; Q_DgJ: $data["mode"] = $mode; goto AD3gy; s2rTl: $data["sesis"] = $this->cbt->getAllKodeSesi(); goto hSElV; fdEP4: $data["siswa"] = $this->cbt->getAllPesertaByRuang($tp->id_tp, $smt->id_smt); goto xPRBF; hSElV: $data["kop"] = $this->dashboard->getSetting(); goto UnElN; Yknum: if ($this->ion_auth->is_admin()) { goto vuugh; } goto rqih4; JNFKS: $this->load->model("Dashboard_model", "dashboard"); goto lvOdm; riqMz: $data["tp"] = $this->dashboard->getTahun(); goto Pcx2w; sub8R: vuugh: goto JR7_4; QzCNC: $this->load->view("cbt/cetak/pesertaujian"); goto pfbqQ; KTd_G: $user = $this->ion_auth->user()->row(); goto Nha9_; xPRBF: TU56x: goto Yknum; WTQJW: $this->load->view("members/guru/templates/footer"); goto id0D0; Pcx2w: $data["tp_active"] = $tp; goto h4Ijg; UnElN: $data["ujian"] = $this->dropdown->getAllJenisUjian(); goto Q_DgJ; rqih4: $data["guru"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto DUit9; Ca9Jh: $tp = $this->dashboard->getTahunActive(); goto BrY4h; id0D0: goto T1CV8; goto sub8R; pfbqQ: $this->load->view("_templates/dashboard/_footer"); goto D7XwX; zzvpT: $this->load->view("cbt/cetak/pesertaujian"); goto WTQJW; BrY4h: $smt = $this->dashboard->getSemesterActive(); goto riqMz; b1xHf: goto TU56x; goto UVBFL; op2hT: $data["kelass"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto tX53x; tX53x: $data["ruangs"] = $this->dropdown->getAllRuang(); goto s2rTl; AD3gy: if ($mode == "1" || $mode == null) { goto KllZ8; } goto GB2YC; JR7_4: $this->load->view("_templates/dashboard/_header", $data); goto QzCNC; Nha9_: $data = ["user" => $user, "judul" => "Cetak Daftar Peserta", "subjudul" => "Cetak", "profile" => $this->dashboard->getProfileAdmin($user->id), "setting" => $this->dashboard->getSetting()]; goto Ca9Jh; otd8G: $this->load->model("Dropdown_model", "dropdown"); goto KTd_G; GB2YC: $data["siswa"] = $this->cbt->getAllPesertaByKelas($tp->id_tp, $smt->id_smt); goto b1xHf; lvOdm: $this->load->model("Cbt_model", "cbt"); goto otd8G; GF60L: $data["smt_active"] = $smt; goto op2hT; UVBFL: KllZ8: goto fdEP4; PZOnv: } public function pengawas() { goto y9Q2Z; UyISj: zdnAd: goto HEt1f; X_tnQ: $data["ruang_sesi"] = $this->cbt->getRuangSesi($tp->id_tp, $smt->id_smt); goto m1YEd; yBi1u: Dd40L: goto f6YRa; LTGLT: $kelas_level = []; goto iOh4T; GJjJG: $this->load->view("cbt/cetak/pengawas"); goto C1cTj; zsNdB: $gurus = $this->dropdown->getAllGuru(); goto ABaM6; qCnzY: if (!(count($id_jenis) > 0)) { goto W9FVx; } goto FVUqu; QWgCz: $data = ["user" => $user, "judul" => "Jadwal Pengawas", "subjudul" => "Cetak Jadwal Pengawas", "setting" => $setting]; goto MDrRY; FmjyG: $id_jenis = $this->cbt->getDistinctJenisJadwal($tp->id_tp, $smt->id_smt); goto WvMt9; MKupn: SsQhH: goto wl8d_; rnYJR: $arrLevel = []; goto bVuEJ; Zf_n3: if (count($ids) > 0) { goto nFi6n; } goto LBCbi; MDrRY: $tp = $this->dashboard->getTahunActive(); goto SgtnU; Gs_oz: $perRuang = []; goto iWwyk; FVUqu: foreach ($id_jenis as $jenis) { array_push($ids, $jenis->id_jenis); ZWOXE: } goto ZKZeN; VnGxO: goto BDBIr; goto MTQfe; pGPtG: $data["filter"] = ["0" => "Semua", "1" => "Tanggal"]; goto V2Pz2; XnoAe: $data["profile"] = $this->dashboard->getProfileAdmin($user->id); goto X_tnQ; Gz_Uh: X9KuA: goto rnYJR; eix86: $this->load->view("members/guru/templates/header", $data); goto Z7uvU; vflOC: $user = $this->ion_auth->user()->row(); goto uZymn; W4BSP: $pengawas = $this->cbt->getAllPengawas($tp->id_tp, $smt->id_smt); goto VjWmN; d5czI: $data["smt"] = $this->dashboard->getSemester(); goto Jm8X0; JNb4n: $dari_selected = $this->input->get("dari", true); goto pY87E; Cdaqn: YetxX: goto Gs_oz; iWwyk: $result = []; goto sOuIX; V2Pz2: $data["jenis_selected"] = $jenis_selected; goto IaIB6; JWz3A: $data["filter_selected"] = $filter_selected; goto jV9A5; n9bIq: $data["tp_active"] = $tp; goto d5czI; LBCbi: $data["jenis"] = ['' => "belum ada jadwal ujian"]; goto SQk7p; sOuIX: foreach ($jadwal_pengawas as $jadwal_pengawa) { goto Ec4FM; VsNcY: Zkqzd: goto yxFKO; Ec4FM: foreach ($jadwal_pengawa as $r => $jp) { goto zExFg; zExFg: foreach ($jp as $s => $j) { goto U51jB; U51jB: foreach ($j as $m => $km) { goto fQNkz; TMIJf: $ns = $ruangs[$r][$s]->nama_sesi; goto Pgofm; iYDOW: pvmFV: goto PDRpi; lPPIc: $pw = ''; goto exVMA; o20wL: kxtOB: goto aZekE; XuU4m: $sel = isset($pengawas[$km->id_jadwal]) && isset($pengawas[$km->id_jadwal][$ir]) && isset($pengawas[$km->id_jadwal][$ir][$is]) ? explode(",", $pengawas[$km->id_jadwal][$ir][$is]->id_guru) : []; goto Pas9A; EhD0Z: goto qLTz2; goto iYDOW; zl7x6: $forAdd = json_decode(json_encode(["jml_siswa" => count($siswas), "tanggal" => $km->tgl_mulai, "ruang" => $nr, "sesi" => $ns, "mapel" => $km->nama_mapel, "waktu" => $km->jam_ke, "pengawas" => $pw])); goto efuq0; JOth_: ruXzI: goto CTuzN; Xg4VE: $is = $ruangs[$r][$s]->sesi_id; goto XuU4m; exVMA: foreach ($sel as $p) { goto ARB3a; VjcIq: IK4lT: goto fn6Sf; VpkVh: sxk_z: goto VjcIq; zqERb: $pw .= $gurus[$p]; goto Tpp5a; MJ4dB: if (!($jp < $jpp)) { goto sxk_z; } goto sqZmK; fn6Sf: xTFpJ: goto DJy_F; ARB3a: if (!isset($gurus[$p])) { goto IK4lT; } goto zqERb; Tpp5a: $jp += 1; goto MJ4dB; sqZmK: $pw .= "<br>"; goto VpkVh; DJy_F: } goto o20wL; WdvKS: $perRuang[$forAdd->ruang] = []; goto Rxsao; PDRpi: array_push($perRuang[$forAdd->ruang], $forAdd); goto wagZg; fQNkz: $nr = $ruangs[$r][$s]->nama_ruang; goto TMIJf; wagZg: qLTz2: goto JOth_; Pas9A: $jp = 0; goto ClXJO; Rxsao: array_push($perRuang[$forAdd->ruang], $forAdd); goto EhD0Z; ClXJO: $jpp = count($sel); goto lPPIc; efuq0: array_push($result, $forAdd); goto WH1IA; WH1IA: if (isset($perRuang[$forAdd->ruang])) { goto pvmFV; } goto WdvKS; Pgofm: $ir = $ruangs[$r][$s]->ruang_id; goto Xg4VE; aZekE: $siswas = $this->cbt->getSiswaByRuang($tp->id_tp, $smt->id_smt, $ir, $is); goto zl7x6; CTuzN: } goto bKfGN; bKfGN: GjKlq: goto UiLqm; UiLqm: ir50y: goto vgpzK; vgpzK: } goto HHhd5; HHhd5: h6fEY: goto bwRsc; bwRsc: rKmCy: goto Qsp_1; Qsp_1: } goto gqIRr; gqIRr: s5LEW: goto VsNcY; yxFKO: } goto yBi1u; DOLVR: $data["sampai_selected"] = $sampai_selected; goto aMhTM; In1fA: $jadwals = $this->cbt->getJadwalByJenis($jenis_selected, "0", $dari_selected, $sampai_selected); goto Gz_Uh; b63Dq: $kelas_level = $this->cbt->getDistinctKelasLevel($tp->id_tp, $smt->id_smt, $arrLevel); goto Tzrdf; P7WBv: LLidj: goto LTGLT; uZymn: $setting = $this->dashboard->getSetting(); goto NW6oE; Jm8X0: $data["smt_active"] = $smt; goto FmjyG; NW6oE: $jenis_selected = $this->input->get("jenis", true); goto qj1lk; nLLZW: XCXcs: goto Cdaqn; jV9A5: $data["dari_selected"] = $dari_selected; goto DOLVR; IaIB6: $data["jenis_ujian"] = $jenis_ujian; goto JWz3A; YhwjE: if ($this->ion_auth->is_admin()) { goto XozUb; } goto YRK72; nOcw4: $this->load->model("Cbt_model", "cbt"); goto Xlz1X; bVuEJ: foreach ($jadwals as $jadwal) { goto O0sNb; LqHbP: array_push($arrLevel, $jadwal->bank_level); goto Y8ygv; duZQW: SbGSO: goto n_TNP; O0sNb: if (in_array($jadwal->bank_level, $arrLevel)) { goto bgkBW; } goto LqHbP; Y8ygv: bgkBW: goto duZQW; n_TNP: } goto P7WBv; RfDf5: W9FVx: goto Zf_n3; Z7uvU: $this->load->view("cbt/cetak/pengawas"); goto H0rNu; YDkAg: $data["jenis"] = $this->cbt->getAllJenisUjianByArrJenis($ids); goto SDcTv; tztlI: foreach ($ruangs as $id_ruang => $ruang) { goto dpuUW; vxcxA: DTVjj: goto ONQfx; dpuUW: foreach ($ruang as $id_sesi => $sesi) { goto dine3; dine3: foreach ($kelas_level as $kl) { goto g8EOh; gUlLv: QmoDV: goto JU48q; JU48q: K2mlj: goto bfTOa; g8EOh: foreach ($jadwals as $jadwal) { goto NH39M; XigOd: $jadwal_pengawas[$jadwal->tgl_mulai][$id_ruang][$id_sesi][$jadwal->kode] = $jadwal; goto d5pZP; NH39M: if (!($jadwal->bank_level == $kl->level_id)) { goto i2U31; } goto XigOd; JDfSU: LCG0j: goto VqNhd; d5pZP: i2U31: goto JDfSU; VqNhd: } goto gUlLv; bfTOa: } goto ydxjl; ydxjl: V0DlM: goto KiegQ; KiegQ: aUH1j: goto X8nl3; X8nl3: } goto YL6lD; YL6lD: ogYvy: goto vxcxA; ONQfx: } goto nLLZW; C1cTj: $this->load->view("_templates/dashboard/_footer"); goto gaN3f; MTQfe: XozUb: goto Fb1wV; KeFH8: if (!($jenis_selected != null)) { goto gDl2j; } goto W4BSP; HEt1f: $arrKls = []; goto uQS4_; DPaAG: $filter_selected = $this->input->get("filter", true); goto JNb4n; f6YRa: $data["jadwals"] = $result; goto R9rvV; Xlz1X: $this->load->model("Dropdown_model", "dropdown"); goto vflOC; ZKZeN: AW2YX: goto RfDf5; pY87E: $sampai_selected = $this->input->get("sampai", true); goto pGPtG; xGQM3: nFi6n: goto YDkAg; wl8d_: $jadwal_pengawas = []; goto frpB8; qj1lk: $jenis_ujian = $this->cbt->getJenisById($jenis_selected); goto QWgCz; frpB8: if (!(count($arrKls) > 0)) { goto YetxX; } goto heokb; gaN3f: BDBIr: goto AZFy2; HhE8l: $data["ruang"] = $ruangs; goto tztlI; SQk7p: goto s6Gur; goto xGQM3; R9rvV: $data["jadwals_ruang"] = $perRuang; goto XnoAe; TYIOW: if (!($jenis_selected != null)) { goto X9KuA; } goto In1fA; m1YEd: $data["sesi"] = $this->dropdown->getAllSesi(); goto YhwjE; uQS4_: foreach ($kelas_level as $kl) { array_push($arrKls, $kl->id_kelas); nt_4q: } goto MKupn; y9Q2Z: $this->load->model("Dashboard_model", "dashboard"); goto nOcw4; WvMt9: $ids = []; goto qCnzY; SDcTv: s6Gur: goto DPaAG; wmlDF: $data["pengawas"] = $pengawas; goto zsNdB; aMhTM: $pengawas = []; goto KeFH8; ABaM6: $jadwals = []; goto TYIOW; VjWmN: gDl2j: goto wmlDF; H0rNu: $this->load->view("members/guru/templates/footer"); goto VnGxO; SgtnU: $smt = $this->dashboard->getSemesterActive(); goto L2Cb5; Tzrdf: $data["kelas_level"] = $kelas_level; goto UyISj; iOh4T: if (!(count($arrLevel) > 0)) { goto zdnAd; } goto b63Dq; Fb1wV: $this->load->view("_templates/dashboard/_header", $data); goto GJjJG; YRK72: $data["guru"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto eix86; L2Cb5: $data["tp"] = $this->dashboard->getTahun(); goto n9bIq; heokb: $ruangs = $this->cbt->getDistinctRuang($tp->id_tp, $smt->id_smt, $arrKls); goto HhE8l; AZFy2: } } 
 ?>

Did this file decode correctly?

Original Code

<?php
/*   ________________________________________
    |                 GarudaCBT              |
    |    https://github.com/garudacbt/cbt    |
    |________________________________________|
*/
 class Cbtcetak extends CI_Controller { public function __construct() { goto etqhG; ZhrXk: redirect("\x61\x75\x74\150"); goto INdvn; xNZgB: $this->load->library("\x75\x70\154\x6f\x61\144"); goto kp124; etqhG: parent::__construct(); goto QY7Ju; OyEMR: Sik5L: goto ZhrXk; INdvn: pSfsr: goto ilpO6; j2N1b: Tbe3A: goto H22Zo; QY7Ju: if (!$this->ion_auth->logged_in()) { goto Sik5L; } goto uJ4B8; pmBX0: show_error("\x48\141\156\171\x61\40\x41\x64\x6d\x69\x6e\x69\x73\164\x72\141\x74\157\162\x20\171\141\156\x67\x20\144\151\x62\x65\x72\x69\x20\150\x61\x6b\40\165\x6e\x74\x75\x6b\40\x6d\145\156\x67\x61\153\x73\145\163\40\x68\x61\x6c\141\155\141\x6e\x20\x69\x6e\x69\54\x20\74\x61\x20\150\162\x65\146\x3d\42" . base_url("\x64\141\x73\x68\142\x6f\141\x72\x64") . "\42\76\113\145\155\142\141\154\x69\40\x6b\145\40\x6d\145\x6e\165\40\x61\167\x61\154\74\57\x61\76", 403, "\x41\153\x73\x65\163\x20\x54\x65\162\x6c\141\162\141\156\x67"); goto j2N1b; kp124: $this->form_validation->set_error_delimiters('', ''); goto C751F; ilpO6: $this->load->library(["\x64\141\164\x61\x74\141\x62\154\145\x73", "\146\x6f\x72\x6d\x5f\x76\141\x6c\x69\144\x61\164\151\x6f\x6e"]); goto xNZgB; H22Zo: goto pSfsr; goto OyEMR; uJ4B8: if (!(!$this->ion_auth->is_admin() && !$this->ion_auth->in_group("\147\x75\162\165"))) { goto Tbe3A; } goto pmBX0; C751F: } public function output_json($data, $encode = true) { goto BV5_k; BV5_k: if (!$encode) { goto mySR6; } goto dA1KK; xFChd: mySR6: goto U154i; U154i: $this->output->set_content_type("\141\160\160\x6c\x69\143\x61\164\x69\x6f\156\x2f\x6a\163\157\x6e")->set_output($data); goto Gsigp; dA1KK: $data = json_encode($data); goto xFChd; Gsigp: } public function index() { goto uFiLZ; tfEkC: $data["\x73\x6d\164"] = $this->dashboard->getSemester(); goto S0Cho; SDpHm: $this->load->view("\137\x74\145\x6d\x70\x6c\x61\164\x65\163\57\144\141\163\150\x62\157\x61\x72\x64\x2f\137\150\145\x61\144\x65\x72", $data); goto NbSVv; Cinmi: $data["\164\160"] = $this->dashboard->getTahun(); goto jt2ls; DYI1m: $this->load->view("\x6d\x65\x6d\x62\145\x72\x73\57\147\165\x72\165\57\x74\145\155\160\x6c\141\164\x65\x73\x2f\146\157\157\164\x65\x72"); goto pNZmH; ay4qi: $ids_pengawas = []; goto Lxucx; cM9_G: $user = $this->ion_auth->user()->row(); goto U1enD; xC2Nt: $pengawas = $this->cbt->getPengawasHariIni(date("\131\55\x6d\x2d\x64")); goto vxcp2; vxcp2: $data["\160\145\156\x67\141\x77\141\x73"] = $pengawas; goto ay4qi; jt2ls: $data["\x74\x70\137\x61\143\x74\151\166\x65"] = $tp; goto tfEkC; CqPvI: $this->load->model("\104\x61\163\150\x62\157\x61\162\x64\137\155\x6f\x64\x65\x6c", "\x64\141\x73\150\x62\157\x61\162\x64"); goto wQY_9; HAuCg: $this->load->view("\x63\142\x74\x2f\143\x65\164\141\x6b\x2f\x64\x61\164\141"); goto DYI1m; wMoCK: $data["\x67\x75\x72\165"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto xC2Nt; OYeg2: $tp = $this->master->getTahunActive(); goto OfXAP; d919J: s4z2k: goto SDpHm; NbSVv: $this->load->view("\x63\142\164\57\143\145\164\141\x6b\57\144\x61\x74\141"); goto RPAF2; IMgdS: y9e3X: goto HMohC; LF1co: $data["\x6b\x6f\x70"] = $this->cbt->getSettingKopAbsensi(); goto mGBXv; mGBXv: if ($this->ion_auth->is_admin()) { goto s4z2k; } goto wMoCK; wQY_9: $this->load->model("\x43\x62\164\x5f\155\x6f\x64\x65\154", "\143\142\164"); goto cM9_G; OfXAP: $smt = $this->master->getSemesterActive(); goto Cinmi; S0Cho: $data["\163\x6d\164\137\141\x63\164\x69\x76\x65"] = $smt; goto LF1co; U1enD: $data = ["\x75\x73\x65\x72" => $user, "\152\x75\144\165\x6c" => "\103\145\x74\141\x6b\x20\104\x61\x74\x61\x20\x50\145\156\151\x6c\141\x69\x61\x6e", "\x73\165\142\x6a\165\144\x75\154" => "\103\145\x74\141\x6b", "\160\x72\x6f\146\151\154\x65" => $this->dashboard->getProfileAdmin($user->id), "\x73\145\x74\x74\151\x6e\x67" => $this->dashboard->getSetting()]; goto OYeg2; HMohC: $data["\x69\144\163\137\x70\145\x6e\147\x61\167\x61\x73"] = $ids_pengawas; goto x3LUP; Lxucx: foreach ($pengawas as $pws) { goto SO6_7; SO6_7: $ids = explode("\x2c", $pws->id_guru); goto UfsdR; UfsdR: foreach ($ids as $id) { goto tp_RR; gThvj: $ids_pengawas[] = $id; goto NQFvP; ZJ12i: Xmm6o: goto aDJdU; tp_RR: if (!(!in_array($id, $ids_pengawas) && $id != '')) { goto B3xD1; } goto gThvj; NQFvP: B3xD1: goto ZJ12i; aDJdU: } goto wyEhU; wyEhU: kYZIR: goto Za54X; Za54X: IjMbx: goto M96tZ; M96tZ: } goto IMgdS; uFiLZ: $this->load->model("\115\141\163\164\x65\x72\137\x6d\x6f\x64\x65\x6c", "\155\141\163\164\145\x72"); goto CqPvI; RPAF2: $this->load->view("\x5f\x74\145\x6d\160\154\141\x74\145\x73\57\144\x61\x73\x68\142\157\141\x72\x64\57\x5f\146\157\157\164\145\162"); goto bdPEc; pNZmH: goto cz1qn; goto d919J; bdPEc: cz1qn: goto pYDk3; x3LUP: $this->load->view("\155\145\x6d\142\145\x72\x73\57\x67\x75\x72\165\x2f\x74\x65\155\x70\154\141\x74\145\x73\57\x68\145\141\x64\145\162", $data); goto HAuCg; pYDk3: } public function kartuPeserta() { goto bDp79; M817c: $this->load->view("\137\164\145\155\160\x6c\x61\x74\x65\163\57\144\141\163\150\x62\x6f\x61\x72\x64\57\137\150\145\141\144\x65\x72", $data); goto RPcDZ; BhRTD: $this->load->model("\x52\141\160\157\x72\137\155\157\144\x65\154", "\x72\x61\160\x6f\162"); goto T7bDj; Z30qQ: $data["\x6b\x65\154\141\x73"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto JmekP; Q2oNi: $data["\x74\160"] = $this->dashboard->getTahun(); goto qGwd1; vAkSh: $this->load->model("\x44\x72\x6f\160\144\x6f\x77\156\x5f\x6d\x6f\x64\145\154", "\x64\162\157\x70\144\x6f\167\x6e"); goto BhRTD; T7bDj: $user = $this->ion_auth->user()->row(); goto uhfMD; pVhzC: $data["\x73\x65\x74\x74\x69\x6e\147\137\x72\x61\x70\157\x72"] = $this->rapor->getRaporSetting($tp->id_tp, $smt->id_smt); goto cdLo0; yh7k3: $tp = $this->dashboard->getTahunActive(); goto HY7dY; qGwd1: $data["\164\160\137\141\143\x74\x69\x76\x65"] = $tp; goto hbAbB; yCt83: $this->load->view("\x5f\x74\x65\155\160\x6c\141\x74\x65\163\x2f\x64\x61\x73\x68\142\x6f\x61\x72\x64\57\137\x66\x6f\157\x74\145\x72"); goto fPEPp; RPcDZ: $this->load->view("\x63\x62\164\57\143\x65\x74\141\x6b\x2f\153\x61\x72\164\x75"); goto yCt83; QBXJu: goto hGnNH; goto bAx0I; fPEPp: hGnNH: goto bgbd7; HY7dY: $smt = $this->dashboard->getSemesterActive(); goto Q2oNi; Qd7rb: $this->load->view("\155\145\155\142\x65\162\x73\x2f\x67\165\162\x75\x2f\164\x65\155\160\x6c\141\x74\x65\x73\x2f\x68\145\141\144\x65\162", $data); goto KJJ2s; hbAbB: $data["\x73\x6d\x74"] = $this->dashboard->getSemester(); goto AW5HK; KJJ2s: $this->load->view("\x63\x62\164\x2f\x63\145\164\x61\153\57\153\x61\x72\164\x75"); goto Xx1sl; bAx0I: pi8BX: goto M817c; JmekP: $data["\x72\165\x61\156\x67"] = $this->dropdown->getAllRuang(); goto pVhzC; Xx1sl: $this->load->view("\155\145\x6d\142\145\x72\x73\57\147\x75\x72\x75\x2f\164\x65\155\160\154\141\164\145\x73\x2f\x66\157\x6f\164\145\162"); goto QBXJu; bDp79: $this->load->model("\x44\x61\163\x68\x62\157\x61\x72\144\x5f\155\x6f\144\145\x6c", "\x64\x61\x73\x68\142\x6f\141\162\x64"); goto mF3iw; tjx4a: $data["\x67\165\162\165"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto Qd7rb; cdLo0: if ($this->ion_auth->is_admin()) { goto pi8BX; } goto tjx4a; uhfMD: $data = ["\165\163\x65\162" => $user, "\152\165\x64\165\154" => "\103\145\164\x61\x6b\40\x4b\x61\x72\x74\x75\40\x50\x65\x73\x65\162\164\x61", "\x73\165\x62\x6a\x75\144\165\154" => "\x43\145\164\141\153", "\x70\162\157\146\x69\x6c\x65" => $this->dashboard->getProfileAdmin($user->id), "\x73\145\x74\164\151\x6e\x67" => $this->dashboard->getSetting()]; goto yh7k3; XnIgb: $data["\x6b\141\162\x74\165"] = $this->cbt->getSettingKartu(); goto Z30qQ; AW5HK: $data["\x73\155\x74\x5f\141\143\164\151\166\145"] = $smt; goto XnIgb; mF3iw: $this->load->model("\103\142\x74\137\155\157\x64\x65\x6c", "\x63\142\x74"); goto vAkSh; bgbd7: } function uploadFile($logo) { goto BDaJW; KFVZU: $config["\141\x6c\154\x6f\167\145\x64\137\x74\x79\x70\145\163"] = "\147\151\x66\x7c\x6a\160\147\174\160\156\x67\174\152\160\x65\147\x7c\112\120\105\x47\174\112\120\107\174\x50\x4e\107\x7c\107\111\x46"; goto ab_hW; S89l5: goto agpPO; goto P8fkz; P8fkz: AzqRm: goto MRGj7; MRGj7: $data["\x73\x74\x61\x74\165\x73"] = false; goto Z1QNI; LtScL: $this->output_json($data); goto e8A6V; BMY3l: agpPO: goto czKYk; ab_hW: $config["\157\x76\145\162\x77\162\x69\x74\145"] = true; goto NvMib; O09_S: $this->upload->initialize($config); goto zJoZe; NvMib: $config["\146\151\154\145\137\x6e\x61\x6d\x65"] = $logo; goto O09_S; BZ8cJ: $data["\163\x69\x7a\x65"] = $_FILES["\154\157\147\157"]["\163\x69\x7a\x65"]; goto tmrs8; zJoZe: if (!$this->upload->do_upload("\x6c\x6f\147\157")) { goto AzqRm; } goto jcMIy; jcMIy: $result = $this->upload->data(); goto dl2Ov; fBXHS: $data["\x66\151\154\x65\156\141\155\x65"] = pathinfo($result["\146\151\154\x65\x5f\156\141\155\145"], PATHINFO_FILENAME); goto LteW_; tmrs8: KXOhJ: goto LtScL; dl2Ov: $data["\x73\162\x63"] = base_url() . "\165\x70\x6c\157\141\144\x73\57\x73\145\164\164\151\x6e\147\163\57" . $result["\146\x69\x6c\145\x5f\156\x61\x6d\145"]; goto fBXHS; Z1QNI: $data["\x73\162\x63"] = $this->upload->display_errors(); goto BMY3l; LteW_: $data["\163\x74\x61\164\x75\163"] = true; goto S89l5; M2oK8: goto KXOhJ; goto tNYbd; czKYk: $data["\x74\171\160\x65"] = $_FILES["\x6c\157\147\157"]["\164\171\160\x65"]; goto BZ8cJ; tNYbd: kQGw5: goto dAknM; n3KXS: $data["\163\x72\143"] = ''; goto M2oK8; dAknM: $config["\165\x70\154\x6f\x61\144\137\x70\x61\164\150"] = "\x2e\x2f\x75\x70\154\157\141\144\x73\57\x73\x65\x74\x74\x69\x6e\x67\163\x2f"; goto KFVZU; BDaJW: if (isset($_FILES["\x6c\x6f\x67\157"]["\156\141\x6d\145"])) { goto kQGw5; } goto n3KXS; e8A6V: } function deleteFile() { goto AJYdB; dsC2t: echo "\106\x69\154\x65\x20\104\145\x6c\145\164\145\40\x53\x75\x63\143\145\x73\x73\x66\x75\154\x6c\171"; goto zzKbM; m6Zi4: $file_name = str_replace(base_url(), '', $src); goto ZhEbR; zzKbM: xj3Kq: goto zF_17; AJYdB: $src = $this->input->post("\163\162\x63"); goto m6Zi4; ZhEbR: if (!unlink($file_name)) { goto xj3Kq; } goto dsC2t; zF_17: } public function saveKartu() { goto GLcZb; QBaCx: $tanggal = $this->input->post("\164\141\x6e\x67\x67\141\154", true); goto JYY3b; rC5YS: $header_4 = $this->input->post("\150\145\141\144\x65\162\137\x34", true); goto QBaCx; JYY3b: $insert = ["\151\144\x5f\163\x65\164\x5f\153\141\162\164\165" => 123456, "\x68\x65\141\x64\145\x72\x5f\61" => $header_1, "\150\145\141\x64\x65\x72\137\x32" => $header_2, "\x68\145\x61\x64\x65\162\x5f\x33" => $header_3, "\x68\145\141\144\145\162\x5f\x34" => $header_4, "\x74\141\x6e\x67\147\141\x6c" => $tanggal]; goto I40E7; kM9Td: $header_2 = $this->input->post("\150\x65\x61\x64\x65\162\x5f\x32", true); goto Sh31N; I40E7: $update = $this->db->replace("\143\142\164\x5f\153\x6f\160\x5f\153\x61\x72\164\x75", $insert); goto HLdDj; Sh31N: $header_3 = $this->input->post("\x68\145\x61\144\x65\162\137\63", true); goto rC5YS; GLcZb: $header_1 = $this->input->post("\150\145\x61\144\x65\x72\137\x31", true); goto kM9Td; HLdDj: $this->output_json($update); goto WQlj0; WQlj0: } public function getSiswaKelas() { goto xFUY_; vbszS: $jadwal = $this->input->get("\x6a\141\x64\x77\141\x6c"); goto Kq8YQ; INY1S: $tp = $this->dashboard->getTahunActive(); goto gG0_l; rgMeQ: if (!($jadwal != null && $jadwal != "\x6e\165\x6c\154")) { goto AqilZ; } goto INY1S; be9yf: $sesi = $this->input->get("\x73\x65\163\x69"); goto vbszS; Gf_6R: $this->output_json($data); goto iYVNc; DS0yI: $this->load->model("\x44\141\163\x68\x62\157\141\162\x64\137\155\x6f\x64\x65\154", "\x64\x61\x73\150\142\x6f\141\162\x64"); goto OrYuE; OrYuE: $this->load->model("\103\x62\x74\137\155\157\x64\x65\x6c", "\143\x62\164"); goto be9yf; JUQTd: $ijadwal = null; goto j3zOS; BYRib: RCFT2: goto TnEGI; FKJaV: foreach ($siswas as $siswa) { array_push($data["\163\151\163\167\x61"], $siswa); WEiJ4: } goto towS4; towS4: pEgji: goto t5mA0; gVdrG: $ikelas = $this->kelas->getIdKelas($tp->id_tp, $smt->id_smt); goto YVdHx; BFChV: rmRLH: goto gVdrG; oC_sP: G3qO_: goto PE9og; SgcSC: foreach ($pengawass as $p) { goto hHDyz; tKT2d: ME_8T: goto KBEFV; hHDyz: if (!(count(explode("\54", $p->id_guru)) > 0)) { goto ME_8T; } goto Og3TT; KBEFV: R65iN: goto piK2k; Og3TT: array_push($pengawas, $this->master->getGuruByArrId(explode("\x2c", $p->id_guru))); goto tKT2d; piK2k: } goto BYRib; jv1BY: $siswas = $this->cbt->getRuangSiswaByKelas($tp->id_tp, $smt->id_smt, $kelas, $s); goto FKJaV; yDI2p: zMDou: goto JUQTd; KOL_O: $ikelas = $this->master->getKelasById($kelas); goto k1xTE; NQKkm: $isesi = $this->cbt->getSesiById($s); goto yDI2p; t5mA0: $data["\x69\x6e\x66\157"] = ["\153\x65\154\x61\x73" => $ikelas, "\x73\145\x73\x69" => $isesi, "\152\x61\x64\x77\141\154" => $ijadwal, "\x70\145\156\x67\141\x77\141\x73" => $pengawas]; goto Gf_6R; gG0_l: $smt = $this->dashboard->getSemesterActive(); goto RIL4u; RIL4u: $pengawass = $this->cbt->getPengawasByJadwal($tp->id_tp, $smt->id_smt, $jadwal, $sesi); goto UG2Db; Kq8YQ: $tp = $this->dashboard->getTahunActive(); goto EdU0Z; lFAQI: if (!($s != null)) { goto zMDou; } goto NQKkm; SYavS: $kelas = $this->input->get("\x6b\145\154\141\163"); goto LscUt; YVdHx: $kelas = $ikelas; goto oC_sP; TnEGI: $ijadwal = $this->cbt->getJadwalById($jadwal, $s); goto O8xiK; j3zOS: $pengawas = []; goto rgMeQ; S5zTM: $isesi = null; goto lFAQI; PE9og: $s = !$sesi ? null : $sesi; goto S5zTM; EdU0Z: $smt = $this->dashboard->getSemesterActive(); goto SYavS; UG2Db: $pengawas = []; goto SgcSC; k1xTE: goto G3qO_; goto BFChV; xFUY_: $this->load->model("\115\x61\163\x74\x65\162\x5f\x6d\x6f\144\145\154", "\155\141\x73\164\145\x72"); goto NXGwY; LscUt: if ($kelas == "\x61\154\154") { goto rmRLH; } goto KOL_O; O8xiK: AqilZ: goto YCgAn; YCgAn: $data["\x73\151\x73\167\x61"] = []; goto jv1BY; NXGwY: $this->load->model("\113\x65\154\x61\x73\x5f\x6d\x6f\144\x65\x6c", "\153\145\154\x61\163"); goto DS0yI; iYVNc: } public function getSiswaRuang() { goto OZ1Qs; E0DAd: $jadwal = $this->input->get("\152\x61\144\x77\x61\154"); goto QPVgx; qgkk3: $ruang = $this->input->get("\162\x75\141\x6e\x67"); goto DaTm4; FJMR_: $pengawass = $this->cbt->getPengawas($tp->id_tp . $smt->id_smt . $jadwal . $ruang . $sesi); goto dKqG7; CwmEy: $s = $sesi == "\156\165\154\154" ? null : $sesi; goto M_eGF; otiZU: $ijadwal = null; goto BiXq6; DaTm4: $sesi = $this->input->get("\x73\145\163\x69"); goto E0DAd; Cq_Sl: $this->load->model("\103\x62\164\137\155\x6f\x64\145\154", "\143\x62\164"); goto qgkk3; M_eGF: $isesi = null; goto tLAPw; gPXI9: $this->load->model("\104\x61\x73\x68\x62\157\x61\162\144\137\x6d\157\x64\145\x6c", "\144\141\163\x68\142\x6f\141\162\x64"); goto Cq_Sl; I7MNw: if (!($pengawass != null && count(explode("\x2c", $pengawass->id_guru)) > 0)) { goto mPpYw; } goto xiSgN; YzDBE: $this->output_json($data); goto qCsr3; OZ1Qs: $this->load->model("\x4d\141\163\x74\x65\x72\x5f\155\157\144\145\154", "\155\x61\x73\164\145\162"); goto gPXI9; xiSgN: $pengawas = $this->master->getGuruByArrId(explode("\x2c", $pengawass->id_guru)); goto hWFkW; dcEYc: $ijadwal = $this->cbt->getJadwalById($jadwal, $s); goto Cu8dA; yIE4T: $iruang = $this->cbt->getRuangById($ruang); goto CwmEy; BiXq6: if (!($jadwal != null && $jadwal != "\156\165\x6c\154")) { goto pv4jg; } goto dcEYc; hWFkW: mPpYw: goto Owc_O; bRkZ7: $smt = $this->dashboard->getSemesterActive(); goto yIE4T; Owc_O: $data["\x73\x69\163\167\141"] = $this->cbt->getSiswaByRuang($tp->id_tp, $smt->id_smt, $ruang, $s); goto Do4Z7; Do4Z7: $data["\x69\156\x66\x6f"] = ["\162\x75\141\156\x67" => $iruang, "\x73\x65\163\x69" => $isesi, "\x6a\141\144\167\x61\x6c" => $ijadwal, "\160\x65\156\x67\141\167\141\163" => $pengawas]; goto YzDBE; c3L_D: $isesi = $this->cbt->getSesiById($s); goto y5qzR; Cu8dA: pv4jg: goto FJMR_; QPVgx: $tp = $this->dashboard->getTahunActive(); goto bRkZ7; tLAPw: if (!($s != null)) { goto wnogZ; } goto c3L_D; dKqG7: $pengawas = []; goto I7MNw; y5qzR: wnogZ: goto otiZU; qCsr3: } public function saveKop() { goto uPhs4; RxG1f: $proktor = $this->input->post("\160\x72\157\153\x74\x6f\x72", true); goto BJks1; uPhs4: $header_1 = $this->input->post("\150\145\141\x64\145\x72\137\x31", true); goto w1PLi; BT3o4: $this->output_json($update); goto uLFAd; wGe4U: $header_4 = $this->input->post("\150\x65\x61\x64\x65\162\137\64", true); goto RxG1f; byHo2: $update = $this->db->replace("\x63\142\x74\137\153\157\160\137\141\x62\x73\145\x6e\163\151", $insert); goto BT3o4; kH8Bs: $header_3 = $this->input->post("\x68\x65\x61\x64\x65\x72\x5f\63", true); goto wGe4U; ekHeU: $pengawas_2 = $this->input->post("\160\145\156\x67\141\x77\x61\163\137\62", true); goto hMHU0; BJks1: $pengawas_1 = $this->input->post("\160\x65\156\x67\141\x77\141\163\x5f\x31", true); goto ekHeU; hMHU0: $insert = ["\x69\144\137\x6b\x6f\x70" => 123456, "\x68\x65\x61\144\x65\x72\x5f\x31" => $header_1, "\x68\x65\141\144\145\x72\137\x32" => $header_2, "\x68\145\x61\x64\x65\162\x5f\63" => $header_3, "\150\x65\x61\144\x65\x72\x5f\64" => $header_4, "\160\x72\157\x6b\x74\157\x72" => $proktor, "\160\145\156\147\x61\x77\141\x73\x5f\61" => $pengawas_1, "\160\x65\x6e\x67\x61\x77\141\x73\x5f\x32" => $pengawas_2]; goto byHo2; w1PLi: $header_2 = $this->input->post("\150\145\x61\x64\x65\162\x5f\x32", true); goto kH8Bs; uLFAd: } public function absenPeserta() { goto IOUVc; hq7ya: $data["\x73\x6d\x74"] = $this->dashboard->getSemester(); goto t_gF8; X_xcL: goto S_PZe; goto NaUk5; H08V1: $data["\162\x75\x61\x6e\x67"] = $this->dropdown->getAllRuang(); goto Ug9I7; Tpsd9: $user = $this->ion_auth->user()->row(); goto e5jQG; d6RPM: $this->load->view("\x63\142\164\57\143\145\164\x61\153\57\141\142\163\145\156"); goto hVPc1; hVPc1: $this->load->view("\x6d\145\155\142\x65\162\x73\57\147\165\x72\x75\x2f\164\x65\155\x70\154\141\x74\x65\x73\57\x66\157\x6f\164\x65\x72"); goto X_xcL; xUI5N: $data["\153\x6f\160"] = $this->cbt->getSettingKopAbsensi(); goto SJ4iI; Ug9I7: $data["\163\x65\x73\151"] = $this->dropdown->getAllSesi(); goto xUI5N; TaC0Q: $smt = $this->dashboard->getSemesterActive(); goto IWO3o; LjiOV: $this->load->view("\137\x74\145\x6d\x70\x6c\x61\x74\145\x73\x2f\144\141\163\150\x62\x6f\x61\162\x64\57\137\x68\x65\141\144\145\x72", $data); goto CWBV9; e5jQG: $data = ["\x75\x73\x65\x72" => $user, "\x6a\x75\144\x75\x6c" => "\103\x65\164\141\x6b\x20\x44\141\146\x74\141\x72\40\113\x65\150\x61\x64\151\x72\141\x6e", "\163\165\142\x6a\165\x64\x75\x6c" => "\x43\145\x74\x61\153", "\160\162\157\146\x69\154\145" => $this->dashboard->getProfileAdmin($user->id), "\x73\145\x74\x74\151\156\x67" => $this->dashboard->getSetting()]; goto G5cU7; IWO3o: $data["\x74\160"] = $this->dashboard->getTahun(); goto C5rWa; YzLQ1: $data["\153\x65\x6c\x61\x73"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto H08V1; SJ4iI: if ($this->ion_auth->is_admin()) { goto verwS; } goto EGVib; WQUww: $this->load->view("\x6d\145\x6d\142\x65\162\163\57\147\165\x72\x75\x2f\164\145\x6d\x70\154\141\x74\x65\x73\57\150\x65\141\144\x65\x72", $data); goto d6RPM; m6uLG: S_PZe: goto VMwpj; EGVib: $data["\147\165\162\165"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto WQUww; dCf9x: $data["\152\x61\144\167\141\x6c"] = $this->dropdown->getAllJadwal($tp->id_tp, $smt->id_smt); goto YzLQ1; CWBV9: $this->load->view("\143\x62\x74\x2f\x63\x65\164\141\x6b\x2f\141\x62\163\x65\156"); goto Vrlmc; Vrlmc: $this->load->view("\137\x74\145\155\160\154\x61\164\x65\x73\57\x64\x61\x73\x68\142\157\x61\x72\144\57\137\146\x6f\157\x74\145\x72"); goto m6uLG; x6GUU: $this->load->model("\x44\162\157\160\x64\x6f\x77\x6e\x5f\155\157\x64\145\x6c", "\144\162\x6f\x70\x64\157\167\x6e"); goto Tpsd9; G5cU7: $tp = $this->dashboard->getTahunActive(); goto TaC0Q; tO2rB: $this->load->model("\103\x62\164\x5f\x6d\x6f\144\145\154", "\x63\142\164"); goto x6GUU; C5rWa: $data["\164\160\x5f\141\143\x74\x69\166\145"] = $tp; goto hq7ya; NaUk5: verwS: goto LjiOV; IOUVc: $this->load->model("\104\141\x73\150\x62\157\141\x72\144\x5f\155\157\x64\x65\154", "\144\x61\x73\x68\142\157\x61\162\144"); goto tO2rB; t_gF8: $data["\163\155\164\137\141\x63\164\151\x76\145"] = $smt; goto dCf9x; VMwpj: } public function beritaAcara() { goto zDI7p; wm4fG: $data["\147\165\162\x75"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto Yf8Ow; DRmhT: $this->load->view("\137\164\145\x6d\160\154\x61\164\x65\163\x2f\x64\x61\163\150\x62\157\141\x72\144\57\x5f\x68\x65\141\144\x65\162", $data); goto yId4d; r2fxP: $data["\x74\x70"] = $this->dashboard->getTahun(); goto xoSDD; JQTYO: $data["\163\x65\163\x69"] = $this->dropdown->getAllSesi(); goto zVyvs; slB9I: $this->load->view("\137\x74\145\x6d\160\154\x61\164\145\x73\57\x64\141\x73\x68\142\157\141\162\x64\57\x5f\146\x6f\x6f\x74\x65\x72"); goto w3pVg; QckoK: if ($this->ion_auth->is_admin()) { goto IyQez; } goto wm4fG; gATYo: $this->load->model("\x43\142\164\x5f\155\x6f\x64\145\x6c", "\143\x62\x74"); goto U1dAS; yId4d: $this->load->view("\143\x62\164\x2f\x63\x65\x74\141\x6b\57\x62\x65\162\151\164\x61\x61\143\x61\x72\141"); goto slB9I; xoSDD: $data["\x74\x70\x5f\x61\143\x74\x69\x76\145"] = $tp; goto TMxv8; VetJX: $data = ["\165\163\x65\162" => $user, "\152\165\144\165\x6c" => "\x43\145\x74\x61\x6b\x20\x42\145\x72\151\x74\x61\x20\101\143\141\162\141", "\x73\165\142\152\x75\x64\165\154" => "\x43\145\x74\141\x6b", "\160\162\x6f\146\x69\154\x65" => $this->dashboard->getProfileAdmin($user->id), "\x73\145\164\164\x69\x6e\x67" => $this->dashboard->getSetting()]; goto l1t2A; HrN9P: goto quuaZ; goto MHWu4; uABUR: $data["\x6b\x65\154\141\x73"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto plb_1; Fgyzd: $data["\x6a\x61\x64\167\141\x6c"] = $this->dropdown->getAllJadwal($tp->id_tp, $smt->id_smt); goto uABUR; Yf8Ow: $this->load->view("\x6d\145\x6d\142\x65\162\163\x2f\x67\x75\x72\x75\57\164\145\x6d\160\154\141\164\145\163\x2f\150\145\141\144\145\162", $data); goto miVzu; l1t2A: $tp = $this->dashboard->getTahunActive(); goto mbgLs; MHWu4: IyQez: goto DRmhT; plb_1: $data["\162\165\141\x6e\x67"] = $this->dropdown->getAllRuang(); goto JQTYO; U1dAS: $this->load->model("\104\x72\x6f\160\144\x6f\x77\156\137\155\157\x64\145\154", "\144\162\x6f\x70\144\x6f\x77\x6e"); goto TDU2W; Fd7Ii: $this->load->view("\x6d\145\x6d\x62\x65\162\x73\x2f\147\165\x72\165\57\164\145\x6d\160\154\141\x74\x65\x73\x2f\x66\157\157\x74\x65\x72"); goto HrN9P; w3pVg: quuaZ: goto tfOF4; cmuai: $data["\x73\155\164\137\x61\x63\x74\151\x76\145"] = $smt; goto Fgyzd; mbgLs: $smt = $this->dashboard->getSemesterActive(); goto r2fxP; zDI7p: $this->load->model("\x44\141\163\150\x62\157\141\x72\x64\137\x6d\157\x64\145\154", "\144\x61\163\x68\142\x6f\x61\162\x64"); goto gATYo; miVzu: $this->load->view("\143\142\x74\x2f\143\x65\164\141\x6b\x2f\142\x65\x72\x69\164\x61\141\x63\141\162\141"); goto Fd7Ii; zVyvs: $data["\x6b\x6f\160"] = $this->cbt->getSettingKopBeritaAcara(); goto QckoK; TMxv8: $data["\163\155\x74"] = $this->dashboard->getSemester(); goto cmuai; TDU2W: $user = $this->ion_auth->user()->row(); goto VetJX; tfOF4: } public function saveKopBerita() { goto g2_8P; ey4mf: $this->output_json($update); goto EDDYZ; g2_8P: $header_1 = $this->input->post("\150\145\x61\144\x65\162\x5f\61", true); goto vrhXv; fotXB: $header_4 = $this->input->post("\150\145\x61\144\145\162\137\64", true); goto zvrgh; zvrgh: $insert = ["\x69\x64\137\153\157\160" => 123456, "\150\145\141\x64\145\x72\x5f\61" => $header_1, "\150\145\x61\x64\145\x72\137\62" => $header_2, "\150\x65\x61\144\x65\162\137\63" => $header_3, "\150\145\x61\x64\145\x72\137\x34" => $header_4]; goto ZSaV0; vrhXv: $header_2 = $this->input->post("\150\145\141\x64\145\162\x5f\x32", true); goto dmPpn; dmPpn: $header_3 = $this->input->post("\150\145\x61\144\x65\162\137\63", true); goto fotXB; ZSaV0: $update = $this->db->replace("\143\x62\164\x5f\x6b\157\160\x5f\x62\x65\162\x69\x74\141", $insert); goto ey4mf; EDDYZ: } public function pesertaUjian($mode = null) { goto JNFKS; h4Ijg: $data["\163\155\164"] = $this->dashboard->getSemester(); goto GF60L; DUit9: $this->load->view("\155\145\x6d\142\145\x72\x73\57\x67\165\x72\x75\57\164\x65\155\160\x6c\141\164\145\163\x2f\150\145\x61\x64\x65\x72", $data); goto zzvpT; D7XwX: T1CV8: goto PZOnv; Q_DgJ: $data["\x6d\157\x64\x65"] = $mode; goto AD3gy; s2rTl: $data["\x73\145\163\151\x73"] = $this->cbt->getAllKodeSesi(); goto hSElV; fdEP4: $data["\163\x69\163\167\x61"] = $this->cbt->getAllPesertaByRuang($tp->id_tp, $smt->id_smt); goto xPRBF; hSElV: $data["\x6b\157\160"] = $this->dashboard->getSetting(); goto UnElN; Yknum: if ($this->ion_auth->is_admin()) { goto vuugh; } goto rqih4; JNFKS: $this->load->model("\x44\141\x73\150\x62\157\x61\x72\144\137\155\x6f\144\145\154", "\x64\x61\x73\x68\142\x6f\x61\162\x64"); goto lvOdm; riqMz: $data["\164\x70"] = $this->dashboard->getTahun(); goto Pcx2w; sub8R: vuugh: goto JR7_4; QzCNC: $this->load->view("\x63\142\x74\57\143\145\x74\x61\x6b\x2f\x70\x65\163\145\162\x74\x61\x75\152\x69\x61\x6e"); goto pfbqQ; KTd_G: $user = $this->ion_auth->user()->row(); goto Nha9_; xPRBF: TU56x: goto Yknum; WTQJW: $this->load->view("\x6d\145\155\142\x65\x72\163\57\x67\x75\x72\x75\x2f\x74\x65\155\160\x6c\x61\164\x65\163\57\146\x6f\x6f\x74\x65\162"); goto id0D0; Pcx2w: $data["\x74\160\137\x61\143\x74\x69\x76\145"] = $tp; goto h4Ijg; UnElN: $data["\165\152\x69\141\156"] = $this->dropdown->getAllJenisUjian(); goto Q_DgJ; rqih4: $data["\147\x75\x72\x75"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto DUit9; Ca9Jh: $tp = $this->dashboard->getTahunActive(); goto BrY4h; id0D0: goto T1CV8; goto sub8R; pfbqQ: $this->load->view("\x5f\x74\145\x6d\160\x6c\141\x74\145\163\57\144\141\x73\x68\x62\x6f\141\x72\144\x2f\x5f\x66\x6f\x6f\x74\145\162"); goto D7XwX; zzvpT: $this->load->view("\x63\x62\164\x2f\143\145\164\141\153\57\160\145\163\145\162\164\x61\x75\x6a\151\141\x6e"); goto WTQJW; BrY4h: $smt = $this->dashboard->getSemesterActive(); goto riqMz; b1xHf: goto TU56x; goto UVBFL; op2hT: $data["\153\x65\154\x61\163\163"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto tX53x; tX53x: $data["\x72\x75\141\x6e\147\x73"] = $this->dropdown->getAllRuang(); goto s2rTl; AD3gy: if ($mode == "\61" || $mode == null) { goto KllZ8; } goto GB2YC; JR7_4: $this->load->view("\137\x74\145\x6d\x70\x6c\x61\164\x65\163\57\144\x61\x73\x68\x62\157\x61\162\x64\57\x5f\x68\x65\x61\144\145\x72", $data); goto QzCNC; Nha9_: $data = ["\x75\x73\x65\162" => $user, "\x6a\x75\144\x75\x6c" => "\x43\145\164\x61\153\x20\x44\141\x66\x74\x61\x72\x20\x50\145\163\145\162\164\141", "\x73\165\142\x6a\165\x64\165\x6c" => "\x43\145\x74\x61\x6b", "\x70\x72\157\x66\x69\154\x65" => $this->dashboard->getProfileAdmin($user->id), "\163\145\164\x74\x69\x6e\x67" => $this->dashboard->getSetting()]; goto Ca9Jh; otd8G: $this->load->model("\x44\x72\x6f\160\144\x6f\167\x6e\x5f\x6d\x6f\x64\x65\x6c", "\x64\x72\x6f\x70\144\x6f\167\156"); goto KTd_G; GB2YC: $data["\x73\x69\163\x77\x61"] = $this->cbt->getAllPesertaByKelas($tp->id_tp, $smt->id_smt); goto b1xHf; lvOdm: $this->load->model("\x43\x62\x74\137\155\x6f\x64\x65\154", "\x63\142\x74"); goto otd8G; GF60L: $data["\163\155\x74\137\141\143\164\x69\166\145"] = $smt; goto op2hT; UVBFL: KllZ8: goto fdEP4; PZOnv: } public function pengawas() { goto y9Q2Z; UyISj: zdnAd: goto HEt1f; X_tnQ: $data["\162\165\x61\156\147\137\163\145\x73\151"] = $this->cbt->getRuangSesi($tp->id_tp, $smt->id_smt); goto m1YEd; yBi1u: Dd40L: goto f6YRa; LTGLT: $kelas_level = []; goto iOh4T; GJjJG: $this->load->view("\x63\142\x74\57\x63\x65\x74\x61\x6b\57\x70\x65\156\x67\x61\x77\141\163"); goto C1cTj; zsNdB: $gurus = $this->dropdown->getAllGuru(); goto ABaM6; qCnzY: if (!(count($id_jenis) > 0)) { goto W9FVx; } goto FVUqu; QWgCz: $data = ["\165\x73\145\162" => $user, "\152\165\144\x75\154" => "\112\x61\x64\167\x61\154\40\120\x65\x6e\x67\141\x77\x61\x73", "\x73\x75\142\x6a\165\144\x75\154" => "\x43\145\x74\141\x6b\40\x4a\141\144\x77\141\x6c\40\120\x65\156\147\141\167\x61\x73", "\x73\145\164\x74\151\156\147" => $setting]; goto MDrRY; FmjyG: $id_jenis = $this->cbt->getDistinctJenisJadwal($tp->id_tp, $smt->id_smt); goto WvMt9; MKupn: SsQhH: goto wl8d_; rnYJR: $arrLevel = []; goto bVuEJ; Zf_n3: if (count($ids) > 0) { goto nFi6n; } goto LBCbi; MDrRY: $tp = $this->dashboard->getTahunActive(); goto SgtnU; Gs_oz: $perRuang = []; goto iWwyk; FVUqu: foreach ($id_jenis as $jenis) { array_push($ids, $jenis->id_jenis); ZWOXE: } goto ZKZeN; VnGxO: goto BDBIr; goto MTQfe; pGPtG: $data["\x66\x69\x6c\x74\x65\162"] = ["\x30" => "\x53\145\x6d\165\x61", "\61" => "\x54\x61\x6e\x67\x67\141\x6c"]; goto V2Pz2; XnoAe: $data["\160\x72\157\x66\151\x6c\145"] = $this->dashboard->getProfileAdmin($user->id); goto X_tnQ; Gz_Uh: X9KuA: goto rnYJR; eix86: $this->load->view("\x6d\145\155\142\145\x72\x73\x2f\x67\x75\162\165\x2f\x74\145\x6d\x70\x6c\x61\164\x65\x73\57\150\x65\x61\144\x65\x72", $data); goto Z7uvU; vflOC: $user = $this->ion_auth->user()->row(); goto uZymn; W4BSP: $pengawas = $this->cbt->getAllPengawas($tp->id_tp, $smt->id_smt); goto VjWmN; d5czI: $data["\x73\x6d\x74"] = $this->dashboard->getSemester(); goto Jm8X0; JNb4n: $dari_selected = $this->input->get("\x64\141\162\x69", true); goto pY87E; Cdaqn: YetxX: goto Gs_oz; iWwyk: $result = []; goto sOuIX; V2Pz2: $data["\x6a\x65\156\151\163\x5f\163\145\154\x65\x63\x74\x65\x64"] = $jenis_selected; goto IaIB6; JWz3A: $data["\x66\151\154\x74\145\162\137\x73\x65\x6c\x65\143\164\145\x64"] = $filter_selected; goto jV9A5; n9bIq: $data["\x74\160\137\x61\x63\164\151\166\x65"] = $tp; goto d5czI; LBCbi: $data["\152\145\x6e\x69\163"] = ['' => "\142\x65\154\165\155\x20\x61\x64\141\40\152\x61\x64\167\141\154\40\165\152\151\x61\156"]; goto SQk7p; sOuIX: foreach ($jadwal_pengawas as $jadwal_pengawa) { goto Ec4FM; VsNcY: Zkqzd: goto yxFKO; Ec4FM: foreach ($jadwal_pengawa as $r => $jp) { goto zExFg; zExFg: foreach ($jp as $s => $j) { goto U51jB; U51jB: foreach ($j as $m => $km) { goto fQNkz; TMIJf: $ns = $ruangs[$r][$s]->nama_sesi; goto Pgofm; iYDOW: pvmFV: goto PDRpi; lPPIc: $pw = ''; goto exVMA; o20wL: kxtOB: goto aZekE; XuU4m: $sel = isset($pengawas[$km->id_jadwal]) && isset($pengawas[$km->id_jadwal][$ir]) && isset($pengawas[$km->id_jadwal][$ir][$is]) ? explode("\x2c", $pengawas[$km->id_jadwal][$ir][$is]->id_guru) : []; goto Pas9A; EhD0Z: goto qLTz2; goto iYDOW; zl7x6: $forAdd = json_decode(json_encode(["\152\x6d\154\x5f\163\x69\x73\x77\x61" => count($siswas), "\x74\141\x6e\147\147\141\154" => $km->tgl_mulai, "\x72\165\x61\156\147" => $nr, "\163\x65\163\x69" => $ns, "\x6d\x61\160\x65\154" => $km->nama_mapel, "\167\x61\153\164\x75" => $km->jam_ke, "\160\x65\156\147\x61\167\141\x73" => $pw])); goto efuq0; JOth_: ruXzI: goto CTuzN; Xg4VE: $is = $ruangs[$r][$s]->sesi_id; goto XuU4m; exVMA: foreach ($sel as $p) { goto ARB3a; VjcIq: IK4lT: goto fn6Sf; VpkVh: sxk_z: goto VjcIq; zqERb: $pw .= $gurus[$p]; goto Tpp5a; MJ4dB: if (!($jp < $jpp)) { goto sxk_z; } goto sqZmK; fn6Sf: xTFpJ: goto DJy_F; ARB3a: if (!isset($gurus[$p])) { goto IK4lT; } goto zqERb; Tpp5a: $jp += 1; goto MJ4dB; sqZmK: $pw .= "\74\142\x72\x3e"; goto VpkVh; DJy_F: } goto o20wL; WdvKS: $perRuang[$forAdd->ruang] = []; goto Rxsao; PDRpi: array_push($perRuang[$forAdd->ruang], $forAdd); goto wagZg; fQNkz: $nr = $ruangs[$r][$s]->nama_ruang; goto TMIJf; wagZg: qLTz2: goto JOth_; Pas9A: $jp = 0; goto ClXJO; Rxsao: array_push($perRuang[$forAdd->ruang], $forAdd); goto EhD0Z; ClXJO: $jpp = count($sel); goto lPPIc; efuq0: array_push($result, $forAdd); goto WH1IA; WH1IA: if (isset($perRuang[$forAdd->ruang])) { goto pvmFV; } goto WdvKS; Pgofm: $ir = $ruangs[$r][$s]->ruang_id; goto Xg4VE; aZekE: $siswas = $this->cbt->getSiswaByRuang($tp->id_tp, $smt->id_smt, $ir, $is); goto zl7x6; CTuzN: } goto bKfGN; bKfGN: GjKlq: goto UiLqm; UiLqm: ir50y: goto vgpzK; vgpzK: } goto HHhd5; HHhd5: h6fEY: goto bwRsc; bwRsc: rKmCy: goto Qsp_1; Qsp_1: } goto gqIRr; gqIRr: s5LEW: goto VsNcY; yxFKO: } goto yBi1u; DOLVR: $data["\163\x61\155\x70\141\151\x5f\x73\x65\x6c\x65\x63\164\x65\144"] = $sampai_selected; goto aMhTM; In1fA: $jadwals = $this->cbt->getJadwalByJenis($jenis_selected, "\x30", $dari_selected, $sampai_selected); goto Gz_Uh; b63Dq: $kelas_level = $this->cbt->getDistinctKelasLevel($tp->id_tp, $smt->id_smt, $arrLevel); goto Tzrdf; P7WBv: LLidj: goto LTGLT; uZymn: $setting = $this->dashboard->getSetting(); goto NW6oE; Jm8X0: $data["\163\155\164\x5f\141\x63\x74\x69\166\x65"] = $smt; goto FmjyG; NW6oE: $jenis_selected = $this->input->get("\x6a\145\156\x69\163", true); goto qj1lk; nLLZW: XCXcs: goto Cdaqn; jV9A5: $data["\x64\141\162\151\137\x73\145\154\145\x63\x74\x65\x64"] = $dari_selected; goto DOLVR; IaIB6: $data["\152\145\156\151\163\137\x75\152\x69\141\x6e"] = $jenis_ujian; goto JWz3A; YhwjE: if ($this->ion_auth->is_admin()) { goto XozUb; } goto YRK72; nOcw4: $this->load->model("\103\x62\x74\x5f\x6d\x6f\x64\145\x6c", "\x63\142\164"); goto Xlz1X; bVuEJ: foreach ($jadwals as $jadwal) { goto O0sNb; LqHbP: array_push($arrLevel, $jadwal->bank_level); goto Y8ygv; duZQW: SbGSO: goto n_TNP; O0sNb: if (in_array($jadwal->bank_level, $arrLevel)) { goto bgkBW; } goto LqHbP; Y8ygv: bgkBW: goto duZQW; n_TNP: } goto P7WBv; RfDf5: W9FVx: goto Zf_n3; Z7uvU: $this->load->view("\143\142\164\x2f\x63\x65\164\x61\x6b\57\x70\145\x6e\x67\x61\167\x61\163"); goto H0rNu; YDkAg: $data["\x6a\145\x6e\x69\x73"] = $this->cbt->getAllJenisUjianByArrJenis($ids); goto SDcTv; tztlI: foreach ($ruangs as $id_ruang => $ruang) { goto dpuUW; vxcxA: DTVjj: goto ONQfx; dpuUW: foreach ($ruang as $id_sesi => $sesi) { goto dine3; dine3: foreach ($kelas_level as $kl) { goto g8EOh; gUlLv: QmoDV: goto JU48q; JU48q: K2mlj: goto bfTOa; g8EOh: foreach ($jadwals as $jadwal) { goto NH39M; XigOd: $jadwal_pengawas[$jadwal->tgl_mulai][$id_ruang][$id_sesi][$jadwal->kode] = $jadwal; goto d5pZP; NH39M: if (!($jadwal->bank_level == $kl->level_id)) { goto i2U31; } goto XigOd; JDfSU: LCG0j: goto VqNhd; d5pZP: i2U31: goto JDfSU; VqNhd: } goto gUlLv; bfTOa: } goto ydxjl; ydxjl: V0DlM: goto KiegQ; KiegQ: aUH1j: goto X8nl3; X8nl3: } goto YL6lD; YL6lD: ogYvy: goto vxcxA; ONQfx: } goto nLLZW; C1cTj: $this->load->view("\137\164\x65\155\160\x6c\141\164\145\x73\x2f\144\x61\163\150\142\157\x61\x72\x64\x2f\x5f\146\x6f\157\x74\145\162"); goto gaN3f; MTQfe: XozUb: goto Fb1wV; KeFH8: if (!($jenis_selected != null)) { goto gDl2j; } goto W4BSP; HEt1f: $arrKls = []; goto uQS4_; DPaAG: $filter_selected = $this->input->get("\x66\151\x6c\x74\x65\162", true); goto JNb4n; f6YRa: $data["\x6a\141\144\x77\x61\154\x73"] = $result; goto R9rvV; Xlz1X: $this->load->model("\104\x72\157\160\144\x6f\x77\x6e\137\155\157\x64\x65\154", "\144\162\157\160\144\x6f\x77\x6e"); goto vflOC; ZKZeN: AW2YX: goto RfDf5; pY87E: $sampai_selected = $this->input->get("\x73\x61\155\x70\141\x69", true); goto pGPtG; xGQM3: nFi6n: goto YDkAg; wl8d_: $jadwal_pengawas = []; goto frpB8; qj1lk: $jenis_ujian = $this->cbt->getJenisById($jenis_selected); goto QWgCz; frpB8: if (!(count($arrKls) > 0)) { goto YetxX; } goto heokb; gaN3f: BDBIr: goto AZFy2; HhE8l: $data["\162\x75\141\156\147"] = $ruangs; goto tztlI; SQk7p: goto s6Gur; goto xGQM3; R9rvV: $data["\152\141\x64\x77\141\154\163\137\162\x75\x61\156\x67"] = $perRuang; goto XnoAe; TYIOW: if (!($jenis_selected != null)) { goto X9KuA; } goto In1fA; m1YEd: $data["\x73\145\163\151"] = $this->dropdown->getAllSesi(); goto YhwjE; uQS4_: foreach ($kelas_level as $kl) { array_push($arrKls, $kl->id_kelas); nt_4q: } goto MKupn; y9Q2Z: $this->load->model("\x44\141\x73\x68\x62\157\x61\x72\x64\x5f\155\x6f\x64\145\154", "\x64\141\x73\x68\142\x6f\141\162\144"); goto nOcw4; WvMt9: $ids = []; goto qCnzY; SDcTv: s6Gur: goto DPaAG; wmlDF: $data["\160\145\156\147\141\167\x61\x73"] = $pengawas; goto zsNdB; aMhTM: $pengawas = []; goto KeFH8; ABaM6: $jadwals = []; goto TYIOW; VjWmN: gDl2j: goto wmlDF; H0rNu: $this->load->view("\155\145\155\142\145\x72\x73\57\147\x75\162\x75\57\x74\145\155\160\x6c\x61\x74\145\x73\x2f\146\x6f\x6f\164\x65\162"); goto VnGxO; SgtnU: $smt = $this->dashboard->getSemesterActive(); goto L2Cb5; Tzrdf: $data["\x6b\145\154\141\163\x5f\x6c\x65\x76\x65\x6c"] = $kelas_level; goto UyISj; iOh4T: if (!(count($arrLevel) > 0)) { goto zdnAd; } goto b63Dq; Fb1wV: $this->load->view("\x5f\x74\145\155\160\x6c\x61\x74\x65\x73\x2f\144\x61\x73\150\142\157\141\162\144\x2f\x5f\150\x65\141\x64\x65\x72", $data); goto GJjJG; YRK72: $data["\x67\x75\x72\165"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto eix86; L2Cb5: $data["\164\160"] = $this->dashboard->getTahun(); goto n9bIq; heokb: $ruangs = $this->cbt->getDistinctRuang($tp->id_tp, $smt->id_smt, $arrKls); goto HhE8l; AZFy2: } }

Function Calls

None

Variables

None

Stats

MD5 14e7bcd98c8fc897d67710510386d84a
Eval Count 0
Decode Time 76 ms