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 Rhccq; W5rqX: $this->load->library(["datatables", "form_validation"]); goto f30vD; FHEp2: hiBsB: goto F1u2D; qmYAi: if (!$this->ion_auth->logged_in()) { goto hiBsB; } goto ajV4p; q_tYd: NTbP3: goto W5rqX; ajV4p: if (!(!$this->ion_auth->is_admin() && !$this->ion_auth->in_group("guru"))) { goto WXjj4; } goto SQBd8; F1u2D: redirect("auth"); goto q_tYd; Rhccq: parent::__construct(); goto qmYAi; QF3Fs: $this->form_validation->set_error_delimiters('', ''); goto AJuAz; aHyli: goto NTbP3; goto FHEp2; D9Jkc: WXjj4: goto aHyli; SQBd8: 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 D9Jkc; f30vD: $this->load->library("upload"); goto QF3Fs; AJuAz: } public function output_json($data, $encode = true) { goto Q862_; XmRAb: $data = json_encode($data); goto DfIvl; DfIvl: UpV4J: goto YcANe; Q862_: if (!$encode) { goto UpV4J; } goto XmRAb; YcANe: $this->output->set_content_type("application/json")->set_output($data); goto tPKYC; tPKYC: } public function index() { goto XOQiA; Ryd5p: $this->load->view("_templates/dashboard/_footer"); goto r5CZJ; nozyv: $this->load->model("Cbt_model", "cbt"); goto EeQrf; k7SUy: $this->load->model("Dashboard_model", "dashboard"); goto nozyv; r5CZJ: j__Gh: goto uoue2; t43cT: $data["guru"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto kS2O5; lGcog: $this->load->view("cbt/cetak/data"); goto Ryd5p; nDCsh: $this->load->view("members/guru/templates/header", $data); goto cix37; XOQiA: $this->load->model("Master_model", "master"); goto k7SUy; H1iF1: $data["smt"] = $this->dashboard->getSemester(); goto eougA; xamjX: $data["tp_active"] = $tp; goto H1iF1; kujFO: $smt = $this->master->getSemesterActive(); goto leqRE; cnV6F: $data["ids_pengawas"] = $ids_pengawas; goto nDCsh; i7AIK: $tp = $this->master->getTahunActive(); goto kujFO; t5lqc: GQy9p: goto m0WLx; kCBkj: $data["kop"] = $this->cbt->getSettingKopAbsensi(); goto ZhTLa; cix37: $this->load->view("cbt/cetak/data"); goto IH8p9; m0WLx: $this->load->view("_templates/dashboard/_header", $data); goto lGcog; uLTC1: goto j__Gh; goto t5lqc; EIgkq: $data["pengawas"] = $pengawas; goto sw2DX; EeQrf: $user = $this->ion_auth->user()->row(); goto m6KTs; ZhTLa: if ($this->ion_auth->is_admin()) { goto GQy9p; } goto t43cT; eougA: $data["smt_active"] = $smt; goto kCBkj; leqRE: $data["tp"] = $this->dashboard->getTahun(); goto xamjX; kS2O5: $pengawas = $this->cbt->getPengawasHariIni(date("Y-m-d")); goto EIgkq; m6KTs: $data = ["user" => $user, "judul" => "Cetak Data Penilaian", "subjudul" => "Cetak", "profile" => $this->dashboard->getProfileAdmin($user->id), "setting" => $this->dashboard->getSetting()]; goto i7AIK; sw2DX: $ids_pengawas = []; goto JCYui; IH8p9: $this->load->view("members/guru/templates/footer"); goto uLTC1; JCYui: foreach ($pengawas as $pws) { goto VK8g_; gk4J8: foreach ($ids as $id) { goto w2TLT; QH66q: $ids_pengawas[] = $id; goto kXbEA; w2TLT: if (!(!in_array($id, $ids_pengawas) && $id != '')) { goto r8st_; } goto QH66q; kXbEA: r8st_: goto WjEzn; WjEzn: qAmOS: goto DNCRH; DNCRH: } goto Rtiq3; VK8g_: $ids = explode(",", $pws->id_guru ?? ''); goto gk4J8; Rtiq3: k9xYc: goto gDLMS; gDLMS: H66Qj: goto W8JLK; W8JLK: } goto G1DLc; G1DLc: Tt1tC: goto cnV6F; uoue2: } public function kartuPeserta() { goto KCWPk; RiI_1: $data["kelas"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto d7qoB; PDEz8: $smt = $this->dashboard->getSemesterActive(); goto gm6bs; KCWPk: $this->load->model("Dashboard_model", "dashboard"); goto jxsIa; ox5np: $data["kartu"] = $this->cbt->getSettingKartu(); goto RiI_1; ZHV9q: $data["smt"] = $this->dashboard->getSemester(); goto uyl2q; PJ9wG: $data["tp_active"] = $tp; goto ZHV9q; SWs2C: $user = $this->ion_auth->user()->row(); goto wo8Dh; SzpF3: goto HUlFo; goto UuEXS; jxsIa: $this->load->model("Cbt_model", "cbt"); goto pFTE_; oR_hI: $this->load->view("cbt/cetak/kartu"); goto MR59d; qE3HQ: $data["guru"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto lbUnG; d7qoB: $data["ruang"] = $this->dropdown->getAllRuang(); goto u2JAY; pFTE_: $this->load->model("Dropdown_model", "dropdown"); goto nVUW2; oHCda: if ($this->ion_auth->is_admin()) { goto WA5Ry; } goto qE3HQ; UuEXS: WA5Ry: goto Qa7Ce; lbUnG: $this->load->view("members/guru/templates/header", $data); goto PBpj2; PBpj2: $this->load->view("cbt/cetak/kartu"); goto uhdg1; Qa7Ce: $this->load->view("_templates/dashboard/_header", $data); goto oR_hI; uyl2q: $data["smt_active"] = $smt; goto ox5np; wo8Dh: $data = ["user" => $user, "judul" => "Cetak Kartu Peserta", "subjudul" => "Cetak", "profile" => $this->dashboard->getProfileAdmin($user->id), "setting" => $this->dashboard->getSetting()]; goto nbW4r; nbW4r: $tp = $this->dashboard->getTahunActive(); goto PDEz8; u2JAY: $data["setting_rapor"] = $this->rapor->getRaporSetting($tp->id_tp, $smt->id_smt); goto oHCda; gm6bs: $data["tp"] = $this->dashboard->getTahun(); goto PJ9wG; MR59d: $this->load->view("_templates/dashboard/_footer"); goto jJPLD; jJPLD: HUlFo: goto peWPq; uhdg1: $this->load->view("members/guru/templates/footer"); goto SzpF3; nVUW2: $this->load->model("Rapor_model", "rapor"); goto SWs2C; peWPq: } function uploadFile($logo) { goto sGfXW; uDvo7: $data["src"] = base_url() . "uploads/settings/" . $result["file_name"]; goto hriDM; DeBt5: $this->upload->initialize($config); goto Jd_LV; MdbJC: $config["allowed_types"] = "gif|jpg|png|jpeg|JPEG|JPG|PNG|GIF"; goto vws5I; gac8A: $data["type"] = $_FILES["logo"]["type"]; goto Yzq53; ZqrZj: $data["status"] = true; goto z_vhM; z_vhM: goto sGILz; goto oO9Yf; oO9Yf: ASkU1: goto tLdTE; ILtQC: goto hLZaf; goto cj9Ek; vws5I: $config["overwrite"] = true; goto ZK2UL; HYFbS: hLZaf: goto p3sN0; aG315: $data["src"] = ''; goto ILtQC; ocqhV: $config["upload_path"] = "./uploads/settings/"; goto MdbJC; tLdTE: $data["status"] = false; goto JHg4U; Yzq53: $data["size"] = $_FILES["logo"]["size"]; goto HYFbS; L6BFu: sGILz: goto gac8A; JHg4U: $data["src"] = $this->upload->display_errors(); goto L6BFu; sGfXW: if (isset($_FILES["logo"]["name"])) { goto XYygq; } goto aG315; Jd_LV: if (!$this->upload->do_upload("logo")) { goto ASkU1; } goto MmfU2; cj9Ek: XYygq: goto ocqhV; p3sN0: $this->output_json($data); goto F4o3f; hriDM: $data["filename"] = pathinfo($result["file_name"], PATHINFO_FILENAME); goto ZqrZj; MmfU2: $result = $this->upload->data(); goto uDvo7; ZK2UL: $config["file_name"] = $logo; goto DeBt5; F4o3f: } function deleteFile() { goto hctcU; hctcU: $src = $this->input->post("src"); goto cJ2Aa; PrcKo: ARI_z: goto OPLfR; pZRMi: echo "File Delete Successfully"; goto PrcKo; cJ2Aa: $file_name = str_replace(base_url(), '', $src ?? ''); goto DKuOU; DKuOU: if (!unlink($file_name)) { goto ARI_z; } goto pZRMi; OPLfR: } public function saveKartu() { goto r1ufU; slkMZ: $update = $this->db->replace("cbt_kop_kartu", $insert); goto DOWdl; DOWdl: $this->output_json($update); goto a22U7; kq8jO: $header_4 = $this->input->post("header_4", true); goto aIYKU; RRHNw: $insert = ["id_set_kartu" => 123456, "header_1" => $header_1, "header_2" => $header_2, "header_3" => $header_3, "header_4" => $header_4, "tanggal" => $tanggal]; goto slkMZ; pMaAU: $header_2 = $this->input->post("header_2", true); goto TNtD2; r1ufU: $header_1 = $this->input->post("header_1", true); goto pMaAU; aIYKU: $tanggal = $this->input->post("tanggal", true); goto RRHNw; TNtD2: $header_3 = $this->input->post("header_3", true); goto kq8jO; a22U7: } public function getSiswaKelas() { goto Vxais; drkWF: $kelas = $this->input->get("kelas"); goto VEUuI; i8vql: IoDch: goto i_KvB; Lg5eM: $isesi = null; goto nita4; CimRf: goto uB847; goto i8vql; wKg_U: $kelas = $ikelas; goto pD0yx; Homwl: tK3yn: goto h1nML; SWJa5: $ikelas = $this->master->getKelasById($kelas); goto CimRf; yhiIu: $this->load->model("Kelas_model", "kelas"); goto SIx3C; WisJd: $pengawas = []; goto Gc6t1; ZeFqp: FT9s_: goto WvC16; H6sxH: $pengawass = $this->cbt->getPengawasByJadwal($tp->id_tp, $smt->id_smt, $jadwal, $sesi); goto WisJd; Gc6t1: foreach ($pengawass as $p) { goto S0bpD; bR_IX: MRMeD: goto ANp0P; S0bpD: if (!(count(explode(",", $p->id_guru ?? '')) > 0)) { goto tXiuT; } goto iGVby; Ugw2m: tXiuT: goto bR_IX; iGVby: $pengawas = $this->master->getGuruByArrId(explode(",", $p->id_guru ?? '')); goto Ugw2m; ANp0P: } goto ZeFqp; VqCzz: $data["info"] = ["kelas" => $ikelas, "sesi" => $isesi, "jadwal" => $ijadwal, "pengawas" => $pengawas]; goto AVmq0; HSFxJ: $smt = $this->dashboard->getSemesterActive(); goto drkWF; AVmq0: $this->output_json($data); goto lqDY2; p4OR3: foreach ($siswas as $siswa) { array_push($data["siswa"], $siswa); wWBjB: } goto dvhPe; rgyPT: $s = !$sesi ? null : $sesi; goto Lg5eM; nita4: if (!($s != null)) { goto tK3yn; } goto j9kaU; VEUuI: if ($kelas == "all") { goto IoDch; } goto SWJa5; dvhPe: MdNoG: goto VqCzz; h1nML: $ijadwal = null; goto SrFXn; GjqR6: $tp = $this->dashboard->getTahunActive(); goto HSFxJ; WvC16: $data["siswa"] = []; goto npJua; SIx3C: $this->load->model("Dashboard_model", "dashboard"); goto oP6T8; oP6T8: $this->load->model("Cbt_model", "cbt"); goto o0F_u; pD0yx: uB847: goto rgyPT; o0F_u: $sesi = $this->input->get("sesi"); goto Xv_zg; RLUxP: $ijadwal = $this->cbt->getJadwalById($jadwal, $s); goto fClXo; npJua: $siswas = $this->cbt->getRuangSiswaByKelas($tp->id_tp, $smt->id_smt, $kelas, $s); goto p4OR3; Xv_zg: $jadwal = $this->input->get("jadwal"); goto GjqR6; Vxais: $this->load->model("Master_model", "master"); goto yhiIu; SrFXn: if (!($jadwal != null && $jadwal != "null")) { goto nvTm4; } goto RLUxP; j9kaU: $isesi = $this->cbt->getSesiById($s); goto Homwl; fClXo: nvTm4: goto H6sxH; i_KvB: $ikelas = $this->kelas->getIdKelas($tp->id_tp, $smt->id_smt); goto wKg_U; lqDY2: } public function getSiswaRuang() { goto rp6jS; T7b0n: $this->load->model("Dashboard_model", "dashboard"); goto en4Q8; zi3j1: $jadwal = $this->input->get("jadwal"); goto lF0lS; X_UZZ: $ruang = $this->input->get("ruang"); goto cmOAu; JpHeg: $isesi = $this->cbt->getSesiById($s); goto lPlnr; lF0lS: $tp = $this->dashboard->getTahunActive(); goto jv4BJ; j_ApW: $data["siswa"] = $this->cbt->getSiswaByRuang($tp->id_tp, $smt->id_smt, $ruang, $s); goto OUQ35; lEBav: $pengawas = []; goto SZO2B; Yftu4: $this->output_json($data); goto sH7rN; rp6jS: $this->load->model("Master_model", "master"); goto T7b0n; TZiqL: bO6Wi: goto VbTvC; t90Zr: $ijadwal = $this->cbt->getJadwalById($jadwal, $s); goto TZiqL; SZO2B: if (!($pengawass != null && count(explode(",", $pengawass->id_guru ?? '')) > 0)) { goto L174H; } goto LWc4H; VbTvC: $pengawass = $this->cbt->getPengawas($tp->id_tp . $smt->id_smt . $jadwal . $ruang . $sesi); goto lEBav; wq_9q: L174H: goto j_ApW; PhC1N: $iruang = $this->cbt->getRuangById($ruang); goto jLuQY; f0RHr: $ijadwal = null; goto DgjD6; YcH0F: if (!($s != null)) { goto o655S; } goto JpHeg; DgjD6: if (!($jadwal != null && $jadwal != "null")) { goto bO6Wi; } goto t90Zr; p6kcf: $isesi = null; goto YcH0F; LWc4H: $pengawas = $this->master->getGuruByArrId(explode(",", $pengawass->id_guru ?? '')); goto wq_9q; jLuQY: $s = $sesi == "null" ? null : $sesi; goto p6kcf; OUQ35: $data["info"] = ["ruang" => $iruang, "sesi" => $isesi, "jadwal" => $ijadwal, "pengawas" => $pengawas]; goto Yftu4; en4Q8: $this->load->model("Cbt_model", "cbt"); goto X_UZZ; jv4BJ: $smt = $this->dashboard->getSemesterActive(); goto PhC1N; cmOAu: $sesi = $this->input->get("sesi"); goto zi3j1; lPlnr: o655S: goto f0RHr; sH7rN: } public function saveKop() { goto tbSo0; x5CEu: $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 CMSvH; Rr7Fe: $pengawas_2 = $this->input->post("pengawas_2", true); goto x5CEu; I8EGO: $header_3 = $this->input->post("header_3", true); goto eZ5UO; t6_Sb: $this->output_json($update); goto qmW5l; I7H5R: $header_2 = $this->input->post("header_2", true); goto I8EGO; tbSo0: $header_1 = $this->input->post("header_1", true); goto I7H5R; eZ5UO: $header_4 = $this->input->post("header_4", true); goto GAGx5; CMSvH: $update = $this->db->replace("cbt_kop_absensi", $insert); goto t6_Sb; fi1zq: $pengawas_1 = $this->input->post("pengawas_1", true); goto Rr7Fe; GAGx5: $proktor = $this->input->post("proktor", true); goto fi1zq; qmW5l: } public function absenPeserta() { goto c_kI6; lJyqV: $data["jadwal"] = $this->dropdown->getAllJadwal($tp->id_tp, $smt->id_smt); goto VyF7h; zYsP1: $data["kop"] = $this->cbt->getSettingKopAbsensi(); goto SaP48; qFHq7: $data["smt"] = $this->dashboard->getSemester(); goto GQJJd; GQJJd: $data["smt_active"] = $smt; goto lJyqV; peXxY: $data["kelas"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto mKWQm; feais: goto QnndE; goto wH0nn; mJbUi: $smt = $this->dashboard->getSemesterActive(); goto PvH4c; VyF7h: $data["mapel"] = $this->dropdown->getAllJadwalMapel($tp->id_tp, $smt->id_smt); goto peXxY; Fpa3J: $data["guru"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto UqQt2; PvH4c: $data["tp"] = $this->dashboard->getTahun(); goto CZE2Z; wH0nn: PRiOQ: goto mX_6K; QVmMN: $data["sesi"] = $this->dropdown->getAllSesi(); goto zYsP1; YQNd_: $this->load->view("cbt/cetak/absen"); goto VHFDt; CZE2Z: $data["tp_active"] = $tp; goto qFHq7; xjLll: $this->load->model("Dropdown_model", "dropdown"); goto fNXt0; SaP48: if ($this->ion_auth->is_admin()) { goto PRiOQ; } goto Fpa3J; x7UdE: $data = ["user" => $user, "judul" => "Cetak Daftar Kehadiran", "subjudul" => "Cetak", "profile" => $this->dashboard->getProfileAdmin($user->id), "setting" => $this->dashboard->getSetting()]; goto OkOM2; EadVi: $this->load->view("cbt/cetak/absen"); goto xSxd2; OkOM2: $tp = $this->dashboard->getTahunActive(); goto mJbUi; mX_6K: $this->load->view("_templates/dashboard/_header", $data); goto YQNd_; mKWQm: $data["ruang"] = $this->dropdown->getAllRuang(); goto QVmMN; c_kI6: $this->load->model("Dashboard_model", "dashboard"); goto r8DQa; xSxd2: $this->load->view("members/guru/templates/footer"); goto feais; fNXt0: $user = $this->ion_auth->user()->row(); goto x7UdE; UqQt2: $this->load->view("members/guru/templates/header", $data); goto EadVi; r8DQa: $this->load->model("Cbt_model", "cbt"); goto xjLll; RIddT: QnndE: goto Q0mfS; VHFDt: $this->load->view("_templates/dashboard/_footer"); goto RIddT; Q0mfS: } public function beritaAcara() { goto IrUHX; it1iL: $this->load->view("members/guru/templates/header", $data); goto qlWMU; IrUHX: $this->load->model("Dashboard_model", "dashboard"); goto qfXJY; QRWoE: s0tbN: goto TQxyq; KMnun: goto s0tbN; goto anjo2; qlWMU: $this->load->view("cbt/cetak/beritaacara"); goto bQJrQ; l8vE5: $data["kop"] = $this->cbt->getSettingKopBeritaAcara(); goto xAMeQ; WordJ: $data = ["user" => $user, "judul" => "Cetak Berita Acara", "subjudul" => "Cetak", "profile" => $this->dashboard->getProfileAdmin($user->id), "setting" => $this->dashboard->getSetting()]; goto Bvnab; cSTQG: $data["tp"] = $this->dashboard->getTahun(); goto VPjU_; xAMeQ: if ($this->ion_auth->is_admin()) { goto WPFc1; } goto aSOQr; anjo2: WPFc1: goto UiLjK; P9pLj: $data["jadwal"] = $this->dropdown->getAllJadwal($tp->id_tp, $smt->id_smt); goto JoDKo; CkDLb: $user = $this->ion_auth->user()->row(); goto WordJ; aSOQr: $data["guru"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto it1iL; jFb1_: $this->load->model("Dropdown_model", "dropdown"); goto CkDLb; d0aJQ: $data["smt_active"] = $smt; goto P9pLj; JoDKo: $data["mapel"] = $this->dropdown->getAllJadwalMapel($tp->id_tp, $smt->id_smt); goto AKJUq; wnuQO: $this->load->view("_templates/dashboard/_footer"); goto QRWoE; AKJUq: $data["kelas"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto COCPX; uPFlW: $data["sesi"] = $this->dropdown->getAllSesi(); goto l8vE5; COCPX: $data["ruang"] = $this->dropdown->getAllRuang(); goto uPFlW; BbYiu: $smt = $this->dashboard->getSemesterActive(); goto cSTQG; qfXJY: $this->load->model("Cbt_model", "cbt"); goto jFb1_; UiLjK: $this->load->view("_templates/dashboard/_header", $data); goto EhP57; c8GR3: $data["smt"] = $this->dashboard->getSemester(); goto d0aJQ; bQJrQ: $this->load->view("members/guru/templates/footer"); goto KMnun; VPjU_: $data["tp_active"] = $tp; goto c8GR3; EhP57: $this->load->view("cbt/cetak/beritaacara"); goto wnuQO; Bvnab: $tp = $this->dashboard->getTahunActive(); goto BbYiu; TQxyq: } public function saveKopBerita() { goto KJyCU; xhgQb: $header_4 = $this->input->post("header_4", true); goto bImJe; wVByU: $header_3 = $this->input->post("header_3", true); goto xhgQb; bImJe: $insert = ["id_kop" => 123456, "header_1" => $header_1, "header_2" => $header_2, "header_3" => $header_3, "header_4" => $header_4]; goto NyRmH; IEfUw: $header_2 = $this->input->post("header_2", true); goto wVByU; NyRmH: $update = $this->db->replace("cbt_kop_berita", $insert); goto X1Q3s; X1Q3s: $this->output_json($update); goto EPqA0; KJyCU: $header_1 = $this->input->post("header_1", true); goto IEfUw; EPqA0: } public function pesertaUjian($mode = null) { goto Npf77; xxVUS: $data["ruangs"] = $this->dropdown->getAllRuang(); goto qKUpt; D1Af_: $this->load->model("Dropdown_model", "dropdown"); goto bICv7; ThgXy: ULWjV: goto Ch0zt; ydo3I: $data["kelass"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto xxVUS; o_Hzi: $this->load->view("_templates/dashboard/_header", $data); goto gVwuk; tOQMM: gidse: goto yIeSX; OA0jG: $data["kop"] = $this->dashboard->getSetting(); goto i43hZ; Npf77: $this->load->model("Dashboard_model", "dashboard"); goto G9sHL; X9MOk: $this->load->view("members/guru/templates/header", $data); goto aFujr; rk5Ty: goto ULWjV; goto tOQMM; Ch0zt: if ($this->ion_auth->is_admin()) { goto McrM2; } goto FK3ft; LgvRw: $tp = $this->dashboard->getTahunActive(); goto S6nUC; yIeSX: $data["siswa"] = $this->cbt->getAllPesertaByRuang($tp->id_tp, $smt->id_smt); goto ThgXy; HlN6F: McrM2: goto o_Hzi; OxW_F: $data["smt_active"] = $smt; goto ydo3I; Wa18t: wd7ak: goto XPXX4; JZ6V0: $data["siswa"] = $this->cbt->getAllPesertaByKelas($tp->id_tp, $smt->id_smt); goto rk5Ty; FK3ft: $data["guru"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto X9MOk; AQ1ap: $data["smt"] = $this->dashboard->getSemester(); goto OxW_F; J7SlK: goto wd7ak; goto HlN6F; MuL0L: $this->load->view("members/guru/templates/footer"); goto J7SlK; aFujr: $this->load->view("cbt/cetak/pesertaujian"); goto MuL0L; qKUpt: $data["sesis"] = $this->cbt->getAllKodeSesi(); goto OA0jG; G9sHL: $this->load->model("Cbt_model", "cbt"); goto D1Af_; eLIV8: $data = ["user" => $user, "judul" => "Cetak Daftar Peserta", "subjudul" => "Cetak", "profile" => $this->dashboard->getProfileAdmin($user->id), "setting" => $this->dashboard->getSetting()]; goto LgvRw; KIJN1: $this->load->view("_templates/dashboard/_footer"); goto Wa18t; gVwuk: $this->load->view("cbt/cetak/pesertaujian"); goto KIJN1; bICv7: $user = $this->ion_auth->user()->row(); goto eLIV8; a9Off: $data["tp_active"] = $tp; goto AQ1ap; rmwdk: $data["tp"] = $this->dashboard->getTahun(); goto a9Off; S6nUC: $smt = $this->dashboard->getSemesterActive(); goto rmwdk; i43hZ: $data["ujian"] = $this->dropdown->getAllJenisUjian(); goto LHxnu; LHxnu: $data["mode"] = $mode; goto KCZ3X; KCZ3X: if ($mode == "1" || $mode == null) { goto gidse; } goto JZ6V0; XPXX4: } public function pengawas() { goto T1czr; PB4YG: $data["dari_selected"] = $dari_selected; goto zh6jM; iaEb_: $kelas_level = $this->cbt->getDistinctKelasLevel($tp->id_tp, $smt->id_smt, $arrLevel); goto nDdN7; GHYz5: if ($this->ion_auth->is_admin()) { goto nQZNG; } goto ByBv1; kRObE: uccNF: goto kJFUn; MO0V0: if (!(count($id_jenis) > 0)) { goto KTiO1; } goto MhhR0; uqyNK: $this->load->view("cbt/cetak/pengawas"); goto b1eGA; z6BxD: $data["jenis_selected"] = $jenis_selected; goto NeypP; MeZMC: $this->load->model("Cbt_model", "cbt"); goto FKtrb; fdKPd: $result = []; goto X5gUD; aLPpP: $data["profile"] = $this->dashboard->getProfileAdmin($user->id); goto pCkSq; hrlzR: $data = ["user" => $user, "judul" => "Jadwal Pengawas", "subjudul" => "Cetak Jadwal Pengawas", "setting" => $setting]; goto XgBfR; ZgxIb: foreach ($kelas_level as $kl) { array_push($arrKls, $kl->id_kelas); uQsNJ: } goto zSzW0; RUTAZ: kfLQV: goto ge3V2; RH60w: $id_jenis = $this->cbt->getDistinctJenisJadwal($tp->id_tp, $smt->id_smt); goto pp0IQ; XzoeM: $data["tp_active"] = $tp; goto lel63; a8wBT: $this->load->view("_templates/dashboard/_header", $data); goto uqyNK; dIwPV: foreach ($jadwals as $jadwal) { goto LSdvF; LSdvF: if (in_array($jadwal->bank_level, $arrLevel)) { goto cP0vp; } goto I73oh; I73oh: array_push($arrLevel, $jadwal->bank_level); goto hPzWV; PtThT: Gf5W1: goto SXVaU; hPzWV: cP0vp: goto PtThT; SXVaU: } goto Hurjs; pp0IQ: $ids = []; goto MO0V0; MsUz5: x7uO0: goto ixTFp; hQA6Y: $smt = $this->dashboard->getSemesterActive(); goto p5VSz; Hurjs: z2otn: goto aVMEU; T1czr: $this->load->model("Dashboard_model", "dashboard"); goto MeZMC; aRf3r: $this->load->view("members/guru/templates/header", $data); goto on_94; MhhR0: foreach ($id_jenis as $jenis) { array_push($ids, $jenis->id_jenis); D7FpB: } goto GPJhH; aVMEU: $kelas_level = []; goto RwEGR; OK2EF: $gurus = $this->dropdown->getAllGuru(); goto pHFxZ; X5gUD: foreach ($jadwal_pengawas as $jadwal_pengawa) { goto hIbER; mDchM: qjl7H: goto ywosO; hIbER: foreach ($jadwal_pengawa as $r => $jp) { goto ctCTM; WtfrJ: xVWsN: goto QfSIT; ctCTM: foreach ($jp as $s => $j) { goto VgFFn; mhtyh: Byeoz: goto nV1G_; nV1G_: sInlk: goto mtvID; VgFFn: foreach ($j as $m => $km) { goto r5zdE; yh_2c: $pw = ''; goto QQnZG; qKuoB: $jp = 0; goto inpdv; hmuJr: Wc6Uz: goto n2dmJ; FxUJs: $ns = $ruangs[$r][$s]->nama_sesi; goto zwmJx; hnpjW: iM2Rc: goto tEMx2; uJ_g5: $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 GzGvJ; StQxw: goto Wc6Uz; goto Rxq3i; inpdv: $jpp = count($sel); goto yh_2c; GzGvJ: array_push($result, $forAdd); goto iRFJB; tEMx2: $siswas = $this->cbt->getSiswaByRuang($tp->id_tp, $smt->id_smt, $ir, $is); goto uJ_g5; iRFJB: if (isset($perRuang[$forAdd->ruang])) { goto ss7pp; } goto X3f23; r5zdE: $nr = $ruangs[$r][$s]->nama_ruang; goto FxUJs; Rxq3i: ss7pp: goto jmnqb; X3f23: $perRuang[$forAdd->ruang] = []; goto owOlL; RrwbC: $is = $ruangs[$r][$s]->sesi_id; goto oJc9e; jmnqb: array_push($perRuang[$forAdd->ruang], $forAdd); goto hmuJr; n2dmJ: YM7U2: goto gSv0S; oJc9e: $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 qKuoB; QQnZG: foreach ($sel as $p) { goto D6Hz6; rgGfy: EDPBq: goto tm13A; tm13A: PCVa4: goto IbXix; D1gQH: if (!($jp < $jpp)) { goto QKaTc; } goto Izta8; D6Hz6: if (!isset($gurus[$p])) { goto EDPBq; } goto f2SpZ; hRZ2Y: QKaTc: goto rgGfy; f2SpZ: $pw .= $gurus[$p]; goto hZLUR; hZLUR: $jp += 1; goto D1gQH; Izta8: $pw .= "<br>"; goto hRZ2Y; IbXix: } goto hnpjW; zwmJx: $ir = $ruangs[$r][$s]->ruang_id; goto RrwbC; owOlL: array_push($perRuang[$forAdd->ruang], $forAdd); goto StQxw; gSv0S: } goto mhtyh; mtvID: } goto WtfrJ; QfSIT: UTJSJ: goto HwViR; HwViR: } goto aZ2PY; aZ2PY: WofSc: goto mDchM; ywosO: } goto xX5iP; pCkSq: $data["ruang_sesi"] = $this->cbt->getRuangSesi($tp->id_tp, $smt->id_smt); goto qXjNg; xdB1B: $sampai_selected = $this->input->get("sampai", true); goto rsEBu; gcLBJ: M_tKd: goto nBuHS; fgAZW: $data["filter_selected"] = $filter_selected; goto PB4YG; NeypP: $data["jenis_ujian"] = $jenis_ujian; goto fgAZW; ByBv1: $data["guru"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto aRf3r; O3LMN: foreach ($ruangs as $id_ruang => $ruang) { goto ZRIuu; TnJE9: xbtfy: goto qhWj4; qhWj4: fCXNH: goto K5zjt; ZRIuu: foreach ($ruang as $id_sesi => $sesi) { goto AMQ7E; OvbcH: gbzAW: goto uDAw8; AMQ7E: foreach ($kelas_level as $kl) { goto X2XL0; WgoFF: kIlPw: goto xY3fP; fNuo_: AtxEB: goto WgoFF; X2XL0: foreach ($jadwals as $jadwal) { goto f9qLj; YfGPg: K_PGk: goto i7MdB; dS_G_: $jadwal_pengawas[$jadwal->tgl_mulai][$id_ruang][$id_sesi][$jadwal->kode] = $jadwal; goto YfGPg; i7MdB: kAvAC: goto ibI34; f9qLj: if (!($jadwal->bank_level == $kl->level_id)) { goto K_PGk; } goto dS_G_; ibI34: } goto fNuo_; xY3fP: } goto OvbcH; uDAw8: BLipA: goto BxetF; BxetF: } goto TnJE9; K5zjt: } goto MsUz5; RwEGR: if (!(count($arrLevel) > 0)) { goto uccNF; } goto iaEb_; cwnvA: qi14O: goto Cvas8; T3clY: $pengawas = []; goto GL1J5; zh6jM: $data["sampai_selected"] = $sampai_selected; goto T3clY; nDdN7: $data["kelas_level"] = $kelas_level; goto kRObE; xX5iP: mGcm5: goto VaIbV; pzBjf: $data["jenis"] = $this->cbt->getAllJenisUjianByArrJenis($ids); goto cwI1q; lel63: $data["smt"] = $this->dashboard->getSemester(); goto muvYm; HdQqr: $jadwals = $this->cbt->getJadwalByJenis($jenis_selected, "0", $dari_selected, $sampai_selected); goto cwnvA; zSzW0: n2t7A: goto L8aGs; k5Nr0: $dari_selected = $this->input->get("dari", true); goto xdB1B; G9PLz: $user = $this->ion_auth->user()->row(); goto WBoad; ixTFp: uw0c1: goto uEk5P; lkEoX: $ruangs = $this->cbt->getDistinctRuang($tp->id_tp, $smt->id_smt, $arrKls); goto jc8yB; pHFxZ: $jadwals = []; goto GePV1; on_94: $this->load->view("cbt/cetak/pengawas"); goto uHiA2; FKtrb: $this->load->model("Dropdown_model", "dropdown"); goto G9PLz; zaPY9: Z68N4: goto pzBjf; cwI1q: w3lId: goto qBkEv; dWhIO: goto M_tKd; goto de9vG; qBkEv: $filter_selected = $this->input->get("filter", true); goto k5Nr0; Cvas8: $arrLevel = []; goto dIwPV; XgBfR: $tp = $this->dashboard->getTahunActive(); goto hQA6Y; de9vG: nQZNG: goto a8wBT; p5VSz: $data["tp"] = $this->dashboard->getTahun(); goto XzoeM; L8aGs: $jadwal_pengawas = []; goto brCss; GPJhH: mNwNF: goto jZ1yw; muvYm: $data["smt_active"] = $smt; goto RH60w; WBoad: $setting = $this->dashboard->getSetting(); goto e9UPy; JyeRj: $jenis_ujian = $this->cbt->getJenisById($jenis_selected); goto hrlzR; VaIbV: $data["jadwals"] = $result; goto k3FMC; qXjNg: $data["sesi"] = $this->dropdown->getAllSesi(); goto GHYz5; k3FMC: $data["jadwals_ruang"] = $perRuang; goto aLPpP; amdKz: $data["jenis"] = ['' => "belum ada jadwal ujian"]; goto ZJq02; PTl65: if (count($ids) > 0) { goto Z68N4; } goto amdKz; uHiA2: $this->load->view("members/guru/templates/footer"); goto dWhIO; jZ1yw: KTiO1: goto PTl65; brCss: if (!(count($arrKls) > 0)) { goto uw0c1; } goto lkEoX; GL1J5: if (!($jenis_selected != null)) { goto kfLQV; } goto S5OwP; GePV1: if (!($jenis_selected != null)) { goto qi14O; } goto HdQqr; e9UPy: $jenis_selected = $this->input->get("jenis", true); goto JyeRj; S5OwP: $pengawas = $this->cbt->getAllPengawas($tp->id_tp, $smt->id_smt); goto RUTAZ; ZJq02: goto w3lId; goto zaPY9; b1eGA: $this->load->view("_templates/dashboard/_footer"); goto gcLBJ; ge3V2: $data["pengawas"] = $pengawas; goto OK2EF; rsEBu: $data["filter"] = ["0" => "Semua", "1" => "Tanggal"]; goto z6BxD; kJFUn: $arrKls = []; goto ZgxIb; jc8yB: $data["ruang"] = $ruangs; goto O3LMN; uEk5P: $perRuang = []; goto fdKPd; nBuHS: } } ?>
Did this file decode correctly?
Original Code
<?php
/* ________________________________________
| GarudaCBT |
| https://github.com/garudacbt/cbt |
|________________________________________|
*/
class Cbtcetak extends CI_Controller { public function __construct() { goto Rhccq; W5rqX: $this->load->library(["\144\141\164\x61\164\x61\x62\x6c\x65\163", "\x66\157\162\x6d\137\166\141\x6c\151\144\x61\164\151\157\156"]); goto f30vD; FHEp2: hiBsB: goto F1u2D; qmYAi: if (!$this->ion_auth->logged_in()) { goto hiBsB; } goto ajV4p; q_tYd: NTbP3: goto W5rqX; ajV4p: if (!(!$this->ion_auth->is_admin() && !$this->ion_auth->in_group("\147\x75\x72\165"))) { goto WXjj4; } goto SQBd8; F1u2D: redirect("\141\x75\x74\x68"); goto q_tYd; Rhccq: parent::__construct(); goto qmYAi; QF3Fs: $this->form_validation->set_error_delimiters('', ''); goto AJuAz; aHyli: goto NTbP3; goto FHEp2; D9Jkc: WXjj4: goto aHyli; SQBd8: show_error("\x48\x61\x6e\x79\141\40\101\x64\x6d\x69\156\x69\x73\x74\x72\141\164\x6f\162\40\171\141\156\x67\40\144\151\x62\x65\x72\151\40\150\x61\153\40\165\156\164\x75\153\40\x6d\x65\156\x67\x61\153\x73\145\x73\40\150\141\154\x61\155\141\156\40\151\156\x69\54\40\74\x61\40\150\162\145\146\75\42" . base_url("\144\141\163\150\142\157\141\162\x64") . "\x22\76\113\145\155\x62\x61\154\151\x20\x6b\x65\40\x6d\145\156\x75\x20\141\167\x61\154\74\x2f\x61\76", 403, "\x41\x6b\x73\x65\163\40\x54\145\162\x6c\x61\x72\141\x6e\147"); goto D9Jkc; f30vD: $this->load->library("\165\x70\154\x6f\141\x64"); goto QF3Fs; AJuAz: } public function output_json($data, $encode = true) { goto Q862_; XmRAb: $data = json_encode($data); goto DfIvl; DfIvl: UpV4J: goto YcANe; Q862_: if (!$encode) { goto UpV4J; } goto XmRAb; YcANe: $this->output->set_content_type("\x61\160\160\154\x69\x63\141\164\151\157\156\x2f\x6a\163\x6f\156")->set_output($data); goto tPKYC; tPKYC: } public function index() { goto XOQiA; Ryd5p: $this->load->view("\x5f\164\145\x6d\160\x6c\141\x74\145\163\x2f\x64\141\163\150\x62\157\x61\162\144\57\x5f\x66\x6f\157\164\145\162"); goto r5CZJ; nozyv: $this->load->model("\103\142\x74\x5f\155\x6f\x64\145\154", "\143\x62\x74"); goto EeQrf; k7SUy: $this->load->model("\x44\x61\x73\150\142\157\x61\162\144\x5f\x6d\x6f\144\x65\154", "\144\141\x73\150\142\157\141\x72\x64"); goto nozyv; r5CZJ: j__Gh: goto uoue2; t43cT: $data["\x67\165\x72\x75"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto kS2O5; lGcog: $this->load->view("\143\142\x74\x2f\143\145\x74\141\153\57\x64\x61\164\x61"); goto Ryd5p; nDCsh: $this->load->view("\x6d\x65\155\x62\145\162\163\57\147\165\x72\165\57\x74\145\155\x70\154\x61\164\x65\163\57\x68\x65\141\x64\145\162", $data); goto cix37; XOQiA: $this->load->model("\x4d\141\x73\164\x65\x72\x5f\155\x6f\x64\145\x6c", "\x6d\x61\x73\164\x65\162"); goto k7SUy; H1iF1: $data["\163\155\164"] = $this->dashboard->getSemester(); goto eougA; xamjX: $data["\164\x70\137\141\x63\x74\x69\x76\145"] = $tp; goto H1iF1; kujFO: $smt = $this->master->getSemesterActive(); goto leqRE; cnV6F: $data["\x69\x64\x73\137\x70\x65\x6e\147\x61\x77\x61\x73"] = $ids_pengawas; goto nDCsh; i7AIK: $tp = $this->master->getTahunActive(); goto kujFO; t5lqc: GQy9p: goto m0WLx; kCBkj: $data["\x6b\157\160"] = $this->cbt->getSettingKopAbsensi(); goto ZhTLa; cix37: $this->load->view("\x63\142\164\x2f\143\x65\x74\x61\x6b\x2f\x64\141\x74\141"); goto IH8p9; m0WLx: $this->load->view("\x5f\x74\x65\x6d\160\x6c\x61\164\145\163\x2f\144\141\163\150\x62\157\141\162\x64\x2f\x5f\x68\x65\141\144\x65\162", $data); goto lGcog; uLTC1: goto j__Gh; goto t5lqc; EIgkq: $data["\x70\x65\x6e\147\141\167\141\x73"] = $pengawas; goto sw2DX; EeQrf: $user = $this->ion_auth->user()->row(); goto m6KTs; ZhTLa: if ($this->ion_auth->is_admin()) { goto GQy9p; } goto t43cT; eougA: $data["\x73\x6d\x74\x5f\x61\x63\164\151\166\145"] = $smt; goto kCBkj; leqRE: $data["\x74\x70"] = $this->dashboard->getTahun(); goto xamjX; kS2O5: $pengawas = $this->cbt->getPengawasHariIni(date("\131\x2d\x6d\x2d\x64")); goto EIgkq; m6KTs: $data = ["\165\163\x65\x72" => $user, "\x6a\x75\144\x75\154" => "\103\145\164\x61\153\x20\104\x61\x74\x61\x20\x50\x65\x6e\x69\154\x61\151\141\156", "\163\x75\142\x6a\165\144\x75\154" => "\103\145\x74\141\153", "\x70\162\x6f\x66\151\154\145" => $this->dashboard->getProfileAdmin($user->id), "\163\145\x74\164\151\156\x67" => $this->dashboard->getSetting()]; goto i7AIK; sw2DX: $ids_pengawas = []; goto JCYui; IH8p9: $this->load->view("\x6d\145\155\x62\x65\x72\163\x2f\x67\x75\x72\x75\x2f\x74\145\155\160\x6c\141\164\x65\x73\57\x66\x6f\x6f\164\x65\x72"); goto uLTC1; JCYui: foreach ($pengawas as $pws) { goto VK8g_; gk4J8: foreach ($ids as $id) { goto w2TLT; QH66q: $ids_pengawas[] = $id; goto kXbEA; w2TLT: if (!(!in_array($id, $ids_pengawas) && $id != '')) { goto r8st_; } goto QH66q; kXbEA: r8st_: goto WjEzn; WjEzn: qAmOS: goto DNCRH; DNCRH: } goto Rtiq3; VK8g_: $ids = explode("\x2c", $pws->id_guru ?? ''); goto gk4J8; Rtiq3: k9xYc: goto gDLMS; gDLMS: H66Qj: goto W8JLK; W8JLK: } goto G1DLc; G1DLc: Tt1tC: goto cnV6F; uoue2: } public function kartuPeserta() { goto KCWPk; RiI_1: $data["\153\x65\x6c\141\163"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto d7qoB; PDEz8: $smt = $this->dashboard->getSemesterActive(); goto gm6bs; KCWPk: $this->load->model("\104\x61\163\x68\142\157\141\x72\144\137\x6d\x6f\x64\x65\x6c", "\144\x61\163\x68\142\x6f\x61\162\144"); goto jxsIa; ox5np: $data["\153\x61\162\164\165"] = $this->cbt->getSettingKartu(); goto RiI_1; ZHV9q: $data["\163\155\x74"] = $this->dashboard->getSemester(); goto uyl2q; PJ9wG: $data["\164\160\137\x61\x63\x74\151\166\145"] = $tp; goto ZHV9q; SWs2C: $user = $this->ion_auth->user()->row(); goto wo8Dh; SzpF3: goto HUlFo; goto UuEXS; jxsIa: $this->load->model("\103\142\164\137\155\x6f\x64\x65\154", "\x63\142\164"); goto pFTE_; oR_hI: $this->load->view("\x63\x62\x74\x2f\143\x65\164\141\153\x2f\153\x61\x72\164\165"); goto MR59d; qE3HQ: $data["\147\x75\162\x75"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto lbUnG; d7qoB: $data["\162\x75\x61\156\x67"] = $this->dropdown->getAllRuang(); goto u2JAY; pFTE_: $this->load->model("\104\162\x6f\x70\144\x6f\x77\x6e\137\155\x6f\144\x65\x6c", "\144\162\x6f\x70\x64\157\x77\x6e"); goto nVUW2; oHCda: if ($this->ion_auth->is_admin()) { goto WA5Ry; } goto qE3HQ; UuEXS: WA5Ry: goto Qa7Ce; lbUnG: $this->load->view("\155\145\x6d\142\x65\x72\x73\57\147\165\x72\x75\x2f\x74\145\155\x70\154\x61\164\x65\163\57\x68\145\141\144\145\162", $data); goto PBpj2; PBpj2: $this->load->view("\143\x62\x74\x2f\x63\x65\x74\x61\x6b\x2f\x6b\141\162\x74\x75"); goto uhdg1; Qa7Ce: $this->load->view("\x5f\164\x65\x6d\160\x6c\141\x74\145\163\x2f\x64\x61\x73\x68\142\157\141\162\144\x2f\x5f\x68\x65\141\x64\x65\x72", $data); goto oR_hI; uyl2q: $data["\163\x6d\x74\x5f\x61\143\164\x69\166\145"] = $smt; goto ox5np; wo8Dh: $data = ["\x75\163\145\x72" => $user, "\152\x75\x64\x75\x6c" => "\x43\145\164\141\153\40\113\x61\x72\164\165\x20\120\x65\x73\x65\x72\164\141", "\163\165\142\152\x75\144\x75\154" => "\x43\x65\164\141\x6b", "\160\162\157\x66\x69\x6c\x65" => $this->dashboard->getProfileAdmin($user->id), "\x73\x65\x74\164\151\156\147" => $this->dashboard->getSetting()]; goto nbW4r; nbW4r: $tp = $this->dashboard->getTahunActive(); goto PDEz8; u2JAY: $data["\x73\145\164\164\x69\156\x67\137\162\x61\160\157\162"] = $this->rapor->getRaporSetting($tp->id_tp, $smt->id_smt); goto oHCda; gm6bs: $data["\x74\x70"] = $this->dashboard->getTahun(); goto PJ9wG; MR59d: $this->load->view("\x5f\164\x65\155\160\x6c\141\x74\145\163\x2f\x64\x61\x73\150\x62\157\x61\162\x64\x2f\x5f\146\x6f\x6f\x74\x65\162"); goto jJPLD; jJPLD: HUlFo: goto peWPq; uhdg1: $this->load->view("\x6d\x65\155\142\x65\162\x73\x2f\147\165\x72\165\x2f\164\145\155\160\x6c\x61\x74\145\x73\57\x66\x6f\157\x74\145\x72"); goto SzpF3; nVUW2: $this->load->model("\122\x61\x70\x6f\162\x5f\x6d\x6f\144\x65\x6c", "\162\x61\x70\x6f\162"); goto SWs2C; peWPq: } function uploadFile($logo) { goto sGfXW; uDvo7: $data["\163\162\143"] = base_url() . "\165\x70\x6c\x6f\141\x64\x73\x2f\x73\x65\x74\x74\151\x6e\147\163\x2f" . $result["\x66\x69\154\x65\137\x6e\x61\155\145"]; goto hriDM; DeBt5: $this->upload->initialize($config); goto Jd_LV; MdbJC: $config["\x61\154\x6c\157\167\x65\x64\137\x74\171\x70\145\x73"] = "\x67\x69\x66\174\152\160\147\174\160\156\147\174\x6a\x70\145\147\174\x4a\120\105\x47\x7c\x4a\120\x47\x7c\120\x4e\x47\174\107\x49\x46"; goto vws5I; gac8A: $data["\164\171\160\x65"] = $_FILES["\154\157\x67\x6f"]["\x74\171\160\145"]; goto Yzq53; ZqrZj: $data["\163\x74\141\164\165\163"] = true; goto z_vhM; z_vhM: goto sGILz; goto oO9Yf; oO9Yf: ASkU1: goto tLdTE; ILtQC: goto hLZaf; goto cj9Ek; vws5I: $config["\157\166\x65\x72\x77\162\151\x74\145"] = true; goto ZK2UL; HYFbS: hLZaf: goto p3sN0; aG315: $data["\x73\162\143"] = ''; goto ILtQC; ocqhV: $config["\x75\160\x6c\x6f\141\x64\137\160\141\x74\150"] = "\56\x2f\x75\x70\x6c\x6f\141\144\x73\57\x73\x65\164\164\151\x6e\x67\163\57"; goto MdbJC; tLdTE: $data["\x73\164\141\x74\165\x73"] = false; goto JHg4U; Yzq53: $data["\163\151\x7a\145"] = $_FILES["\x6c\x6f\x67\157"]["\x73\x69\x7a\145"]; goto HYFbS; L6BFu: sGILz: goto gac8A; JHg4U: $data["\163\162\x63"] = $this->upload->display_errors(); goto L6BFu; sGfXW: if (isset($_FILES["\154\157\147\157"]["\x6e\141\155\145"])) { goto XYygq; } goto aG315; Jd_LV: if (!$this->upload->do_upload("\154\x6f\x67\x6f")) { goto ASkU1; } goto MmfU2; cj9Ek: XYygq: goto ocqhV; p3sN0: $this->output_json($data); goto F4o3f; hriDM: $data["\146\x69\x6c\x65\156\141\x6d\x65"] = pathinfo($result["\146\151\x6c\x65\137\x6e\141\x6d\145"], PATHINFO_FILENAME); goto ZqrZj; MmfU2: $result = $this->upload->data(); goto uDvo7; ZK2UL: $config["\146\151\154\x65\x5f\156\x61\155\x65"] = $logo; goto DeBt5; F4o3f: } function deleteFile() { goto hctcU; hctcU: $src = $this->input->post("\163\x72\143"); goto cJ2Aa; PrcKo: ARI_z: goto OPLfR; pZRMi: echo "\x46\151\x6c\145\40\104\145\x6c\145\164\145\x20\x53\165\x63\x63\145\x73\163\146\165\154\x6c\x79"; goto PrcKo; cJ2Aa: $file_name = str_replace(base_url(), '', $src ?? ''); goto DKuOU; DKuOU: if (!unlink($file_name)) { goto ARI_z; } goto pZRMi; OPLfR: } public function saveKartu() { goto r1ufU; slkMZ: $update = $this->db->replace("\x63\142\164\137\153\157\160\137\x6b\141\x72\x74\x75", $insert); goto DOWdl; DOWdl: $this->output_json($update); goto a22U7; kq8jO: $header_4 = $this->input->post("\150\145\x61\x64\145\x72\x5f\x34", true); goto aIYKU; RRHNw: $insert = ["\151\x64\137\163\145\x74\137\153\141\x72\x74\x75" => 123456, "\150\145\141\144\x65\x72\137\x31" => $header_1, "\x68\x65\141\144\x65\162\137\x32" => $header_2, "\x68\145\x61\x64\145\x72\x5f\x33" => $header_3, "\150\x65\x61\x64\145\162\x5f\x34" => $header_4, "\x74\141\x6e\x67\147\x61\x6c" => $tanggal]; goto slkMZ; pMaAU: $header_2 = $this->input->post("\x68\145\x61\144\145\x72\x5f\x32", true); goto TNtD2; r1ufU: $header_1 = $this->input->post("\150\x65\141\x64\x65\x72\137\61", true); goto pMaAU; aIYKU: $tanggal = $this->input->post("\164\141\x6e\147\147\141\154", true); goto RRHNw; TNtD2: $header_3 = $this->input->post("\x68\x65\x61\x64\145\162\137\x33", true); goto kq8jO; a22U7: } public function getSiswaKelas() { goto Vxais; drkWF: $kelas = $this->input->get("\153\x65\x6c\141\x73"); goto VEUuI; i8vql: IoDch: goto i_KvB; Lg5eM: $isesi = null; goto nita4; CimRf: goto uB847; goto i8vql; wKg_U: $kelas = $ikelas; goto pD0yx; Homwl: tK3yn: goto h1nML; SWJa5: $ikelas = $this->master->getKelasById($kelas); goto CimRf; yhiIu: $this->load->model("\113\145\x6c\x61\163\137\155\157\x64\x65\154", "\x6b\x65\154\141\x73"); goto SIx3C; WisJd: $pengawas = []; goto Gc6t1; ZeFqp: FT9s_: goto WvC16; H6sxH: $pengawass = $this->cbt->getPengawasByJadwal($tp->id_tp, $smt->id_smt, $jadwal, $sesi); goto WisJd; Gc6t1: foreach ($pengawass as $p) { goto S0bpD; bR_IX: MRMeD: goto ANp0P; S0bpD: if (!(count(explode("\54", $p->id_guru ?? '')) > 0)) { goto tXiuT; } goto iGVby; Ugw2m: tXiuT: goto bR_IX; iGVby: $pengawas = $this->master->getGuruByArrId(explode("\54", $p->id_guru ?? '')); goto Ugw2m; ANp0P: } goto ZeFqp; VqCzz: $data["\x69\156\x66\x6f"] = ["\153\145\154\141\163" => $ikelas, "\x73\x65\x73\x69" => $isesi, "\152\141\x64\167\141\154" => $ijadwal, "\x70\145\x6e\147\141\x77\x61\163" => $pengawas]; goto AVmq0; HSFxJ: $smt = $this->dashboard->getSemesterActive(); goto drkWF; AVmq0: $this->output_json($data); goto lqDY2; p4OR3: foreach ($siswas as $siswa) { array_push($data["\163\x69\163\x77\x61"], $siswa); wWBjB: } goto dvhPe; rgyPT: $s = !$sesi ? null : $sesi; goto Lg5eM; nita4: if (!($s != null)) { goto tK3yn; } goto j9kaU; VEUuI: if ($kelas == "\x61\x6c\x6c") { goto IoDch; } goto SWJa5; dvhPe: MdNoG: goto VqCzz; h1nML: $ijadwal = null; goto SrFXn; GjqR6: $tp = $this->dashboard->getTahunActive(); goto HSFxJ; WvC16: $data["\163\151\163\167\141"] = []; goto npJua; SIx3C: $this->load->model("\104\141\163\150\x62\157\x61\x72\x64\137\x6d\x6f\144\x65\154", "\144\x61\x73\x68\x62\157\x61\x72\x64"); goto oP6T8; oP6T8: $this->load->model("\x43\142\x74\137\155\x6f\x64\145\x6c", "\x63\142\164"); goto o0F_u; pD0yx: uB847: goto rgyPT; o0F_u: $sesi = $this->input->get("\x73\145\163\151"); goto Xv_zg; RLUxP: $ijadwal = $this->cbt->getJadwalById($jadwal, $s); goto fClXo; npJua: $siswas = $this->cbt->getRuangSiswaByKelas($tp->id_tp, $smt->id_smt, $kelas, $s); goto p4OR3; Xv_zg: $jadwal = $this->input->get("\152\x61\144\167\141\x6c"); goto GjqR6; Vxais: $this->load->model("\x4d\141\x73\x74\x65\162\x5f\155\x6f\144\145\x6c", "\155\141\163\164\145\x72"); goto yhiIu; SrFXn: if (!($jadwal != null && $jadwal != "\x6e\165\154\154")) { goto nvTm4; } goto RLUxP; j9kaU: $isesi = $this->cbt->getSesiById($s); goto Homwl; fClXo: nvTm4: goto H6sxH; i_KvB: $ikelas = $this->kelas->getIdKelas($tp->id_tp, $smt->id_smt); goto wKg_U; lqDY2: } public function getSiswaRuang() { goto rp6jS; T7b0n: $this->load->model("\104\x61\x73\150\142\x6f\x61\x72\x64\137\155\157\x64\145\154", "\x64\x61\x73\x68\142\x6f\x61\162\144"); goto en4Q8; zi3j1: $jadwal = $this->input->get("\152\141\x64\x77\x61\x6c"); goto lF0lS; X_UZZ: $ruang = $this->input->get("\x72\165\141\156\147"); goto cmOAu; JpHeg: $isesi = $this->cbt->getSesiById($s); goto lPlnr; lF0lS: $tp = $this->dashboard->getTahunActive(); goto jv4BJ; j_ApW: $data["\x73\151\163\x77\x61"] = $this->cbt->getSiswaByRuang($tp->id_tp, $smt->id_smt, $ruang, $s); goto OUQ35; lEBav: $pengawas = []; goto SZO2B; Yftu4: $this->output_json($data); goto sH7rN; rp6jS: $this->load->model("\x4d\x61\x73\164\145\162\137\155\x6f\x64\145\154", "\x6d\141\x73\x74\x65\x72"); goto T7b0n; TZiqL: bO6Wi: goto VbTvC; t90Zr: $ijadwal = $this->cbt->getJadwalById($jadwal, $s); goto TZiqL; SZO2B: if (!($pengawass != null && count(explode("\54", $pengawass->id_guru ?? '')) > 0)) { goto L174H; } goto LWc4H; VbTvC: $pengawass = $this->cbt->getPengawas($tp->id_tp . $smt->id_smt . $jadwal . $ruang . $sesi); goto lEBav; wq_9q: L174H: goto j_ApW; PhC1N: $iruang = $this->cbt->getRuangById($ruang); goto jLuQY; f0RHr: $ijadwal = null; goto DgjD6; YcH0F: if (!($s != null)) { goto o655S; } goto JpHeg; DgjD6: if (!($jadwal != null && $jadwal != "\x6e\165\x6c\x6c")) { goto bO6Wi; } goto t90Zr; p6kcf: $isesi = null; goto YcH0F; LWc4H: $pengawas = $this->master->getGuruByArrId(explode("\54", $pengawass->id_guru ?? '')); goto wq_9q; jLuQY: $s = $sesi == "\x6e\x75\x6c\154" ? null : $sesi; goto p6kcf; OUQ35: $data["\x69\156\x66\157"] = ["\x72\x75\x61\x6e\147" => $iruang, "\163\x65\163\151" => $isesi, "\x6a\141\144\167\141\x6c" => $ijadwal, "\x70\145\156\147\141\167\141\x73" => $pengawas]; goto Yftu4; en4Q8: $this->load->model("\103\x62\x74\x5f\155\x6f\144\145\154", "\x63\x62\x74"); goto X_UZZ; jv4BJ: $smt = $this->dashboard->getSemesterActive(); goto PhC1N; cmOAu: $sesi = $this->input->get("\x73\x65\x73\x69"); goto zi3j1; lPlnr: o655S: goto f0RHr; sH7rN: } public function saveKop() { goto tbSo0; x5CEu: $insert = ["\x69\x64\x5f\153\157\x70" => 123456, "\150\x65\x61\144\x65\x72\x5f\x31" => $header_1, "\150\x65\x61\x64\145\x72\137\62" => $header_2, "\150\145\141\x64\145\x72\x5f\63" => $header_3, "\x68\145\141\x64\145\162\137\64" => $header_4, "\160\x72\157\x6b\x74\x6f\x72" => $proktor, "\x70\x65\156\x67\141\167\x61\x73\x5f\x31" => $pengawas_1, "\x70\x65\x6e\x67\141\x77\x61\163\x5f\62" => $pengawas_2]; goto CMSvH; Rr7Fe: $pengawas_2 = $this->input->post("\x70\x65\x6e\x67\141\x77\141\163\137\62", true); goto x5CEu; I8EGO: $header_3 = $this->input->post("\150\145\141\x64\145\162\137\x33", true); goto eZ5UO; t6_Sb: $this->output_json($update); goto qmW5l; I7H5R: $header_2 = $this->input->post("\x68\x65\x61\144\145\162\137\62", true); goto I8EGO; tbSo0: $header_1 = $this->input->post("\150\145\x61\x64\145\x72\x5f\x31", true); goto I7H5R; eZ5UO: $header_4 = $this->input->post("\150\145\x61\x64\x65\162\137\x34", true); goto GAGx5; CMSvH: $update = $this->db->replace("\x63\x62\x74\137\153\157\160\137\141\142\163\x65\x6e\163\x69", $insert); goto t6_Sb; fi1zq: $pengawas_1 = $this->input->post("\160\x65\156\147\141\x77\141\x73\137\61", true); goto Rr7Fe; GAGx5: $proktor = $this->input->post("\160\162\x6f\153\x74\x6f\x72", true); goto fi1zq; qmW5l: } public function absenPeserta() { goto c_kI6; lJyqV: $data["\x6a\x61\144\167\x61\154"] = $this->dropdown->getAllJadwal($tp->id_tp, $smt->id_smt); goto VyF7h; zYsP1: $data["\153\157\160"] = $this->cbt->getSettingKopAbsensi(); goto SaP48; qFHq7: $data["\x73\155\x74"] = $this->dashboard->getSemester(); goto GQJJd; GQJJd: $data["\x73\155\x74\137\x61\x63\164\x69\x76\x65"] = $smt; goto lJyqV; peXxY: $data["\x6b\145\x6c\141\x73"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto mKWQm; feais: goto QnndE; goto wH0nn; mJbUi: $smt = $this->dashboard->getSemesterActive(); goto PvH4c; VyF7h: $data["\x6d\x61\x70\x65\154"] = $this->dropdown->getAllJadwalMapel($tp->id_tp, $smt->id_smt); goto peXxY; Fpa3J: $data["\147\165\x72\x75"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto UqQt2; PvH4c: $data["\164\160"] = $this->dashboard->getTahun(); goto CZE2Z; wH0nn: PRiOQ: goto mX_6K; QVmMN: $data["\163\145\x73\151"] = $this->dropdown->getAllSesi(); goto zYsP1; YQNd_: $this->load->view("\143\142\164\57\x63\x65\164\x61\x6b\57\x61\142\x73\x65\156"); goto VHFDt; CZE2Z: $data["\164\x70\x5f\141\143\x74\151\166\145"] = $tp; goto qFHq7; xjLll: $this->load->model("\x44\x72\x6f\x70\x64\157\x77\x6e\x5f\x6d\157\144\145\154", "\x64\x72\x6f\x70\x64\157\167\156"); goto fNXt0; SaP48: if ($this->ion_auth->is_admin()) { goto PRiOQ; } goto Fpa3J; x7UdE: $data = ["\165\163\x65\162" => $user, "\152\x75\x64\165\154" => "\103\145\x74\141\x6b\x20\104\x61\146\x74\141\162\40\113\x65\150\141\144\151\x72\x61\156", "\x73\165\142\152\x75\144\x75\154" => "\103\x65\164\x61\x6b", "\x70\x72\x6f\146\x69\x6c\x65" => $this->dashboard->getProfileAdmin($user->id), "\x73\145\164\164\x69\x6e\x67" => $this->dashboard->getSetting()]; goto OkOM2; EadVi: $this->load->view("\143\x62\164\57\143\145\164\x61\153\57\x61\142\x73\x65\156"); goto xSxd2; OkOM2: $tp = $this->dashboard->getTahunActive(); goto mJbUi; mX_6K: $this->load->view("\137\x74\x65\x6d\160\x6c\141\164\x65\x73\57\x64\x61\163\150\142\x6f\x61\x72\144\x2f\137\x68\x65\x61\x64\x65\x72", $data); goto YQNd_; mKWQm: $data["\x72\x75\x61\156\x67"] = $this->dropdown->getAllRuang(); goto QVmMN; c_kI6: $this->load->model("\104\x61\163\150\x62\157\141\x72\x64\x5f\x6d\x6f\x64\x65\x6c", "\144\x61\163\x68\142\157\141\162\144"); goto r8DQa; xSxd2: $this->load->view("\155\145\155\142\x65\162\x73\57\x67\165\x72\x75\57\x74\x65\155\x70\x6c\141\x74\145\x73\57\146\x6f\157\164\x65\x72"); goto feais; fNXt0: $user = $this->ion_auth->user()->row(); goto x7UdE; UqQt2: $this->load->view("\155\145\x6d\x62\145\162\163\57\147\x75\162\x75\57\x74\145\155\x70\154\141\x74\145\x73\57\150\x65\x61\x64\145\162", $data); goto EadVi; r8DQa: $this->load->model("\103\x62\x74\137\155\157\x64\x65\x6c", "\x63\x62\x74"); goto xjLll; RIddT: QnndE: goto Q0mfS; VHFDt: $this->load->view("\137\x74\x65\155\x70\154\141\164\x65\163\x2f\x64\x61\163\x68\x62\157\141\162\144\x2f\137\146\x6f\x6f\164\x65\x72"); goto RIddT; Q0mfS: } public function beritaAcara() { goto IrUHX; it1iL: $this->load->view("\155\x65\x6d\142\145\x72\x73\57\x67\165\162\x75\x2f\164\145\x6d\160\154\x61\164\x65\x73\57\x68\145\141\x64\x65\162", $data); goto qlWMU; IrUHX: $this->load->model("\x44\x61\x73\x68\x62\157\141\x72\144\137\x6d\157\x64\145\154", "\144\141\163\150\x62\x6f\x61\x72\x64"); goto qfXJY; QRWoE: s0tbN: goto TQxyq; KMnun: goto s0tbN; goto anjo2; qlWMU: $this->load->view("\143\x62\x74\57\143\x65\164\141\x6b\57\x62\145\x72\151\x74\x61\x61\143\x61\x72\x61"); goto bQJrQ; l8vE5: $data["\x6b\157\160"] = $this->cbt->getSettingKopBeritaAcara(); goto xAMeQ; WordJ: $data = ["\165\163\x65\162" => $user, "\x6a\165\x64\165\x6c" => "\x43\145\164\x61\153\x20\x42\x65\x72\151\x74\x61\x20\101\143\x61\x72\x61", "\163\165\x62\x6a\x75\144\x75\x6c" => "\103\x65\x74\141\x6b", "\x70\x72\157\x66\151\154\x65" => $this->dashboard->getProfileAdmin($user->id), "\x73\145\x74\164\x69\156\147" => $this->dashboard->getSetting()]; goto Bvnab; cSTQG: $data["\164\160"] = $this->dashboard->getTahun(); goto VPjU_; xAMeQ: if ($this->ion_auth->is_admin()) { goto WPFc1; } goto aSOQr; anjo2: WPFc1: goto UiLjK; P9pLj: $data["\x6a\141\x64\167\141\154"] = $this->dropdown->getAllJadwal($tp->id_tp, $smt->id_smt); goto JoDKo; CkDLb: $user = $this->ion_auth->user()->row(); goto WordJ; aSOQr: $data["\147\x75\x72\x75"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto it1iL; jFb1_: $this->load->model("\x44\162\x6f\160\144\157\167\156\137\x6d\157\x64\145\154", "\x64\x72\157\160\x64\157\167\x6e"); goto CkDLb; d0aJQ: $data["\163\155\x74\x5f\141\x63\164\x69\166\x65"] = $smt; goto P9pLj; JoDKo: $data["\155\x61\x70\x65\154"] = $this->dropdown->getAllJadwalMapel($tp->id_tp, $smt->id_smt); goto AKJUq; wnuQO: $this->load->view("\137\x74\145\x6d\x70\154\141\164\145\163\57\144\141\163\x68\142\157\x61\x72\144\57\137\x66\157\157\164\145\162"); goto QRWoE; AKJUq: $data["\x6b\x65\154\141\163"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto COCPX; uPFlW: $data["\x73\x65\x73\151"] = $this->dropdown->getAllSesi(); goto l8vE5; COCPX: $data["\x72\165\141\x6e\147"] = $this->dropdown->getAllRuang(); goto uPFlW; BbYiu: $smt = $this->dashboard->getSemesterActive(); goto cSTQG; qfXJY: $this->load->model("\103\142\164\x5f\155\x6f\144\x65\154", "\x63\142\164"); goto jFb1_; UiLjK: $this->load->view("\x5f\164\145\155\x70\154\x61\164\x65\x73\x2f\x64\141\x73\150\x62\x6f\141\162\x64\x2f\137\150\145\141\144\x65\x72", $data); goto EhP57; c8GR3: $data["\163\x6d\164"] = $this->dashboard->getSemester(); goto d0aJQ; bQJrQ: $this->load->view("\155\145\155\x62\145\162\163\x2f\147\165\x72\165\57\x74\145\x6d\x70\154\x61\164\145\x73\x2f\x66\157\x6f\x74\x65\162"); goto KMnun; VPjU_: $data["\x74\x70\137\x61\143\164\151\x76\145"] = $tp; goto c8GR3; EhP57: $this->load->view("\x63\142\164\x2f\x63\x65\x74\141\153\x2f\142\145\162\x69\164\141\141\x63\141\x72\141"); goto wnuQO; Bvnab: $tp = $this->dashboard->getTahunActive(); goto BbYiu; TQxyq: } public function saveKopBerita() { goto KJyCU; xhgQb: $header_4 = $this->input->post("\x68\145\141\144\x65\162\137\64", true); goto bImJe; wVByU: $header_3 = $this->input->post("\x68\145\141\x64\145\162\x5f\63", true); goto xhgQb; bImJe: $insert = ["\151\x64\x5f\x6b\157\160" => 123456, "\150\145\141\x64\x65\x72\x5f\x31" => $header_1, "\x68\x65\x61\144\145\162\x5f\62" => $header_2, "\150\145\141\x64\x65\162\137\63" => $header_3, "\150\x65\141\144\x65\162\137\x34" => $header_4]; goto NyRmH; IEfUw: $header_2 = $this->input->post("\x68\x65\141\144\x65\x72\x5f\x32", true); goto wVByU; NyRmH: $update = $this->db->replace("\143\x62\164\137\153\157\160\137\142\145\x72\x69\x74\141", $insert); goto X1Q3s; X1Q3s: $this->output_json($update); goto EPqA0; KJyCU: $header_1 = $this->input->post("\x68\145\x61\144\145\162\137\x31", true); goto IEfUw; EPqA0: } public function pesertaUjian($mode = null) { goto Npf77; xxVUS: $data["\162\165\x61\156\x67\163"] = $this->dropdown->getAllRuang(); goto qKUpt; D1Af_: $this->load->model("\x44\162\157\x70\144\157\167\156\x5f\155\157\x64\x65\x6c", "\144\162\x6f\160\x64\157\x77\156"); goto bICv7; ThgXy: ULWjV: goto Ch0zt; ydo3I: $data["\x6b\145\x6c\141\x73\x73"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto xxVUS; o_Hzi: $this->load->view("\137\164\x65\155\160\154\x61\x74\x65\163\57\144\141\x73\x68\x62\x6f\141\162\144\57\137\150\145\x61\144\145\162", $data); goto gVwuk; tOQMM: gidse: goto yIeSX; OA0jG: $data["\x6b\157\160"] = $this->dashboard->getSetting(); goto i43hZ; Npf77: $this->load->model("\104\141\163\x68\x62\x6f\x61\162\x64\137\x6d\157\144\x65\154", "\144\141\x73\150\x62\x6f\x61\162\x64"); goto G9sHL; X9MOk: $this->load->view("\155\x65\x6d\142\x65\x72\163\x2f\x67\x75\162\165\x2f\164\145\155\160\x6c\141\164\x65\x73\57\150\x65\141\144\x65\x72", $data); goto aFujr; rk5Ty: goto ULWjV; goto tOQMM; Ch0zt: if ($this->ion_auth->is_admin()) { goto McrM2; } goto FK3ft; LgvRw: $tp = $this->dashboard->getTahunActive(); goto S6nUC; yIeSX: $data["\163\x69\x73\167\x61"] = $this->cbt->getAllPesertaByRuang($tp->id_tp, $smt->id_smt); goto ThgXy; HlN6F: McrM2: goto o_Hzi; OxW_F: $data["\x73\x6d\x74\137\141\143\x74\151\166\145"] = $smt; goto ydo3I; Wa18t: wd7ak: goto XPXX4; JZ6V0: $data["\163\151\163\x77\141"] = $this->cbt->getAllPesertaByKelas($tp->id_tp, $smt->id_smt); goto rk5Ty; FK3ft: $data["\x67\165\x72\165"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto X9MOk; AQ1ap: $data["\163\155\x74"] = $this->dashboard->getSemester(); goto OxW_F; J7SlK: goto wd7ak; goto HlN6F; MuL0L: $this->load->view("\x6d\145\x6d\x62\145\162\x73\x2f\x67\x75\162\165\x2f\x74\145\155\x70\x6c\141\164\x65\x73\57\146\157\157\164\x65\x72"); goto J7SlK; aFujr: $this->load->view("\143\x62\x74\x2f\x63\x65\164\141\153\x2f\160\145\163\x65\162\x74\x61\165\152\151\x61\x6e"); goto MuL0L; qKUpt: $data["\x73\x65\163\x69\x73"] = $this->cbt->getAllKodeSesi(); goto OA0jG; G9sHL: $this->load->model("\x43\142\164\x5f\155\157\x64\x65\154", "\143\x62\x74"); goto D1Af_; eLIV8: $data = ["\x75\x73\x65\x72" => $user, "\x6a\165\x64\165\x6c" => "\x43\145\164\x61\153\x20\x44\x61\146\x74\141\162\40\x50\x65\x73\145\162\164\141", "\x73\165\x62\x6a\x75\144\x75\x6c" => "\103\145\164\x61\x6b", "\x70\162\157\146\151\154\145" => $this->dashboard->getProfileAdmin($user->id), "\163\145\x74\164\x69\156\x67" => $this->dashboard->getSetting()]; goto LgvRw; KIJN1: $this->load->view("\137\164\145\x6d\160\154\141\x74\145\x73\x2f\144\141\163\x68\142\157\x61\162\144\x2f\x5f\146\x6f\157\164\145\162"); goto Wa18t; gVwuk: $this->load->view("\143\142\164\57\x63\x65\x74\141\x6b\57\x70\145\x73\145\x72\164\141\x75\152\151\x61\156"); goto KIJN1; bICv7: $user = $this->ion_auth->user()->row(); goto eLIV8; a9Off: $data["\x74\160\x5f\141\x63\164\x69\166\145"] = $tp; goto AQ1ap; rmwdk: $data["\x74\160"] = $this->dashboard->getTahun(); goto a9Off; S6nUC: $smt = $this->dashboard->getSemesterActive(); goto rmwdk; i43hZ: $data["\x75\152\x69\141\x6e"] = $this->dropdown->getAllJenisUjian(); goto LHxnu; LHxnu: $data["\155\x6f\144\145"] = $mode; goto KCZ3X; KCZ3X: if ($mode == "\x31" || $mode == null) { goto gidse; } goto JZ6V0; XPXX4: } public function pengawas() { goto T1czr; PB4YG: $data["\144\141\162\x69\137\x73\145\x6c\x65\143\164\145\x64"] = $dari_selected; goto zh6jM; iaEb_: $kelas_level = $this->cbt->getDistinctKelasLevel($tp->id_tp, $smt->id_smt, $arrLevel); goto nDdN7; GHYz5: if ($this->ion_auth->is_admin()) { goto nQZNG; } goto ByBv1; kRObE: uccNF: goto kJFUn; MO0V0: if (!(count($id_jenis) > 0)) { goto KTiO1; } goto MhhR0; uqyNK: $this->load->view("\143\142\164\x2f\x63\x65\164\x61\153\x2f\160\x65\156\147\x61\x77\x61\163"); goto b1eGA; z6BxD: $data["\152\145\x6e\x69\x73\137\163\145\154\145\x63\x74\145\x64"] = $jenis_selected; goto NeypP; MeZMC: $this->load->model("\103\x62\164\x5f\x6d\157\144\x65\x6c", "\143\x62\x74"); goto FKtrb; fdKPd: $result = []; goto X5gUD; aLPpP: $data["\x70\162\x6f\146\x69\154\x65"] = $this->dashboard->getProfileAdmin($user->id); goto pCkSq; hrlzR: $data = ["\x75\163\x65\162" => $user, "\152\x75\144\165\x6c" => "\112\x61\144\167\141\x6c\40\120\145\x6e\x67\141\x77\x61\163", "\x73\165\142\152\x75\144\x75\x6c" => "\x43\145\x74\141\x6b\40\112\x61\144\x77\x61\154\40\x50\x65\156\x67\x61\x77\x61\163", "\163\145\x74\164\151\x6e\147" => $setting]; goto XgBfR; ZgxIb: foreach ($kelas_level as $kl) { array_push($arrKls, $kl->id_kelas); uQsNJ: } goto zSzW0; RUTAZ: kfLQV: goto ge3V2; RH60w: $id_jenis = $this->cbt->getDistinctJenisJadwal($tp->id_tp, $smt->id_smt); goto pp0IQ; XzoeM: $data["\164\160\137\141\x63\x74\x69\x76\145"] = $tp; goto lel63; a8wBT: $this->load->view("\137\x74\145\x6d\x70\154\141\x74\x65\x73\x2f\144\x61\x73\150\142\157\141\162\144\x2f\x5f\150\x65\141\144\145\x72", $data); goto uqyNK; dIwPV: foreach ($jadwals as $jadwal) { goto LSdvF; LSdvF: if (in_array($jadwal->bank_level, $arrLevel)) { goto cP0vp; } goto I73oh; I73oh: array_push($arrLevel, $jadwal->bank_level); goto hPzWV; PtThT: Gf5W1: goto SXVaU; hPzWV: cP0vp: goto PtThT; SXVaU: } goto Hurjs; pp0IQ: $ids = []; goto MO0V0; MsUz5: x7uO0: goto ixTFp; hQA6Y: $smt = $this->dashboard->getSemesterActive(); goto p5VSz; Hurjs: z2otn: goto aVMEU; T1czr: $this->load->model("\x44\x61\163\150\x62\x6f\141\x72\144\x5f\155\157\144\145\x6c", "\x64\141\x73\150\142\x6f\x61\x72\x64"); goto MeZMC; aRf3r: $this->load->view("\x6d\145\x6d\142\x65\162\x73\57\x67\165\x72\x75\x2f\x74\145\155\x70\154\141\164\145\x73\x2f\x68\x65\141\144\145\x72", $data); goto on_94; MhhR0: foreach ($id_jenis as $jenis) { array_push($ids, $jenis->id_jenis); D7FpB: } goto GPJhH; aVMEU: $kelas_level = []; goto RwEGR; OK2EF: $gurus = $this->dropdown->getAllGuru(); goto pHFxZ; X5gUD: foreach ($jadwal_pengawas as $jadwal_pengawa) { goto hIbER; mDchM: qjl7H: goto ywosO; hIbER: foreach ($jadwal_pengawa as $r => $jp) { goto ctCTM; WtfrJ: xVWsN: goto QfSIT; ctCTM: foreach ($jp as $s => $j) { goto VgFFn; mhtyh: Byeoz: goto nV1G_; nV1G_: sInlk: goto mtvID; VgFFn: foreach ($j as $m => $km) { goto r5zdE; yh_2c: $pw = ''; goto QQnZG; qKuoB: $jp = 0; goto inpdv; hmuJr: Wc6Uz: goto n2dmJ; FxUJs: $ns = $ruangs[$r][$s]->nama_sesi; goto zwmJx; hnpjW: iM2Rc: goto tEMx2; uJ_g5: $forAdd = json_decode(json_encode(["\152\155\154\137\163\151\163\167\141" => count($siswas), "\164\141\156\x67\147\141\x6c" => $km->tgl_mulai, "\x72\x75\141\156\x67" => $nr, "\x73\x65\163\151" => $ns, "\155\x61\x70\145\x6c" => $km->nama_mapel, "\167\141\153\x74\165" => $km->jam_ke, "\x70\145\156\147\x61\x77\x61\163" => $pw])); goto GzGvJ; StQxw: goto Wc6Uz; goto Rxq3i; inpdv: $jpp = count($sel); goto yh_2c; GzGvJ: array_push($result, $forAdd); goto iRFJB; tEMx2: $siswas = $this->cbt->getSiswaByRuang($tp->id_tp, $smt->id_smt, $ir, $is); goto uJ_g5; iRFJB: if (isset($perRuang[$forAdd->ruang])) { goto ss7pp; } goto X3f23; r5zdE: $nr = $ruangs[$r][$s]->nama_ruang; goto FxUJs; Rxq3i: ss7pp: goto jmnqb; X3f23: $perRuang[$forAdd->ruang] = []; goto owOlL; RrwbC: $is = $ruangs[$r][$s]->sesi_id; goto oJc9e; jmnqb: array_push($perRuang[$forAdd->ruang], $forAdd); goto hmuJr; n2dmJ: YM7U2: goto gSv0S; oJc9e: $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 qKuoB; QQnZG: foreach ($sel as $p) { goto D6Hz6; rgGfy: EDPBq: goto tm13A; tm13A: PCVa4: goto IbXix; D1gQH: if (!($jp < $jpp)) { goto QKaTc; } goto Izta8; D6Hz6: if (!isset($gurus[$p])) { goto EDPBq; } goto f2SpZ; hRZ2Y: QKaTc: goto rgGfy; f2SpZ: $pw .= $gurus[$p]; goto hZLUR; hZLUR: $jp += 1; goto D1gQH; Izta8: $pw .= "\74\x62\x72\x3e"; goto hRZ2Y; IbXix: } goto hnpjW; zwmJx: $ir = $ruangs[$r][$s]->ruang_id; goto RrwbC; owOlL: array_push($perRuang[$forAdd->ruang], $forAdd); goto StQxw; gSv0S: } goto mhtyh; mtvID: } goto WtfrJ; QfSIT: UTJSJ: goto HwViR; HwViR: } goto aZ2PY; aZ2PY: WofSc: goto mDchM; ywosO: } goto xX5iP; pCkSq: $data["\162\165\141\156\x67\x5f\x73\145\163\x69"] = $this->cbt->getRuangSesi($tp->id_tp, $smt->id_smt); goto qXjNg; xdB1B: $sampai_selected = $this->input->get("\163\141\155\x70\x61\x69", true); goto rsEBu; gcLBJ: M_tKd: goto nBuHS; fgAZW: $data["\146\151\x6c\x74\145\162\x5f\163\x65\154\x65\x63\x74\145\x64"] = $filter_selected; goto PB4YG; NeypP: $data["\x6a\x65\x6e\x69\x73\137\x75\x6a\151\x61\x6e"] = $jenis_ujian; goto fgAZW; ByBv1: $data["\147\165\x72\x75"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto aRf3r; O3LMN: foreach ($ruangs as $id_ruang => $ruang) { goto ZRIuu; TnJE9: xbtfy: goto qhWj4; qhWj4: fCXNH: goto K5zjt; ZRIuu: foreach ($ruang as $id_sesi => $sesi) { goto AMQ7E; OvbcH: gbzAW: goto uDAw8; AMQ7E: foreach ($kelas_level as $kl) { goto X2XL0; WgoFF: kIlPw: goto xY3fP; fNuo_: AtxEB: goto WgoFF; X2XL0: foreach ($jadwals as $jadwal) { goto f9qLj; YfGPg: K_PGk: goto i7MdB; dS_G_: $jadwal_pengawas[$jadwal->tgl_mulai][$id_ruang][$id_sesi][$jadwal->kode] = $jadwal; goto YfGPg; i7MdB: kAvAC: goto ibI34; f9qLj: if (!($jadwal->bank_level == $kl->level_id)) { goto K_PGk; } goto dS_G_; ibI34: } goto fNuo_; xY3fP: } goto OvbcH; uDAw8: BLipA: goto BxetF; BxetF: } goto TnJE9; K5zjt: } goto MsUz5; RwEGR: if (!(count($arrLevel) > 0)) { goto uccNF; } goto iaEb_; cwnvA: qi14O: goto Cvas8; T3clY: $pengawas = []; goto GL1J5; zh6jM: $data["\163\x61\155\160\x61\151\x5f\163\x65\x6c\x65\143\x74\145\144"] = $sampai_selected; goto T3clY; nDdN7: $data["\x6b\x65\154\x61\163\137\154\145\166\145\154"] = $kelas_level; goto kRObE; xX5iP: mGcm5: goto VaIbV; pzBjf: $data["\152\145\x6e\151\x73"] = $this->cbt->getAllJenisUjianByArrJenis($ids); goto cwI1q; lel63: $data["\163\155\164"] = $this->dashboard->getSemester(); goto muvYm; HdQqr: $jadwals = $this->cbt->getJadwalByJenis($jenis_selected, "\60", $dari_selected, $sampai_selected); goto cwnvA; zSzW0: n2t7A: goto L8aGs; k5Nr0: $dari_selected = $this->input->get("\144\141\x72\151", true); goto xdB1B; G9PLz: $user = $this->ion_auth->user()->row(); goto WBoad; ixTFp: uw0c1: goto uEk5P; lkEoX: $ruangs = $this->cbt->getDistinctRuang($tp->id_tp, $smt->id_smt, $arrKls); goto jc8yB; pHFxZ: $jadwals = []; goto GePV1; on_94: $this->load->view("\143\142\x74\57\x63\145\164\x61\153\x2f\x70\x65\156\x67\141\167\141\163"); goto uHiA2; FKtrb: $this->load->model("\104\x72\157\x70\144\157\x77\156\137\x6d\x6f\144\145\x6c", "\144\162\x6f\160\144\157\x77\156"); goto G9PLz; zaPY9: Z68N4: goto pzBjf; cwI1q: w3lId: goto qBkEv; dWhIO: goto M_tKd; goto de9vG; qBkEv: $filter_selected = $this->input->get("\x66\x69\x6c\x74\x65\x72", true); goto k5Nr0; Cvas8: $arrLevel = []; goto dIwPV; XgBfR: $tp = $this->dashboard->getTahunActive(); goto hQA6Y; de9vG: nQZNG: goto a8wBT; p5VSz: $data["\164\x70"] = $this->dashboard->getTahun(); goto XzoeM; L8aGs: $jadwal_pengawas = []; goto brCss; GPJhH: mNwNF: goto jZ1yw; muvYm: $data["\x73\x6d\x74\x5f\141\143\x74\151\x76\145"] = $smt; goto RH60w; WBoad: $setting = $this->dashboard->getSetting(); goto e9UPy; JyeRj: $jenis_ujian = $this->cbt->getJenisById($jenis_selected); goto hrlzR; VaIbV: $data["\x6a\x61\144\167\141\x6c\x73"] = $result; goto k3FMC; qXjNg: $data["\163\x65\x73\x69"] = $this->dropdown->getAllSesi(); goto GHYz5; k3FMC: $data["\x6a\141\x64\x77\141\154\x73\x5f\x72\165\x61\x6e\147"] = $perRuang; goto aLPpP; amdKz: $data["\152\x65\x6e\x69\163"] = ['' => "\x62\145\x6c\x75\x6d\40\141\144\x61\x20\152\x61\144\167\x61\x6c\x20\x75\152\151\141\x6e"]; goto ZJq02; PTl65: if (count($ids) > 0) { goto Z68N4; } goto amdKz; uHiA2: $this->load->view("\x6d\x65\x6d\142\x65\x72\x73\x2f\x67\165\x72\x75\x2f\x74\145\x6d\160\x6c\x61\164\x65\x73\x2f\146\157\x6f\x74\145\162"); goto dWhIO; jZ1yw: KTiO1: goto PTl65; brCss: if (!(count($arrKls) > 0)) { goto uw0c1; } goto lkEoX; GL1J5: if (!($jenis_selected != null)) { goto kfLQV; } goto S5OwP; GePV1: if (!($jenis_selected != null)) { goto qi14O; } goto HdQqr; e9UPy: $jenis_selected = $this->input->get("\152\x65\156\x69\163", true); goto JyeRj; S5OwP: $pengawas = $this->cbt->getAllPengawas($tp->id_tp, $smt->id_smt); goto RUTAZ; ZJq02: goto w3lId; goto zaPY9; b1eGA: $this->load->view("\137\x74\145\155\160\154\x61\164\x65\163\57\x64\x61\163\x68\142\x6f\141\162\x64\57\137\146\x6f\x6f\x74\145\162"); goto gcLBJ; ge3V2: $data["\x70\145\x6e\x67\x61\x77\141\163"] = $pengawas; goto OK2EF; rsEBu: $data["\x66\x69\x6c\164\x65\x72"] = ["\x30" => "\x53\145\155\x75\x61", "\x31" => "\x54\141\156\x67\x67\141\154"]; goto z6BxD; kJFUn: $arrKls = []; goto ZgxIb; jc8yB: $data["\162\x75\x61\156\x67"] = $ruangs; goto O3LMN; uEk5P: $perRuang = []; goto fdKPd; nBuHS: } }
Function Calls
None |
Stats
MD5 | 4e9e7214ccd504f96e36dc8ff9dea4d7 |
Eval Count | 0 |
Decode Time | 61 ms |