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    | 
    |________________________________________| 
*/ 
 defined("BASEPATH") or exit("No direct script access allowed"); class Dashboard extends CI_Controller { public function __construct() { goto bi4U3; esVeW: $this->load->model("Dropdown_model", "dropdown"); goto Qtn2j; yysSr: zlBQQ: goto LjBqh; Qtn2j: $this->load->model("Cbt_model", "cbt"); goto FKv3S; LjBqh: $this->load->model("Master_model", "master"); goto Vw9Zc; M4TMu: redirect("auth"); goto yysSr; SJ2xJ: if ($this->ion_auth->logged_in()) { goto zlBQQ; } goto M4TMu; Vw9Zc: $this->load->model("Dashboard_model", "dashboard"); goto hWC83; hWC83: $this->load->model("Log_model", "logging"); goto esVeW; bi4U3: parent::__construct(); goto SJ2xJ; FKv3S: } public function admin_box($setting, $tp, $smt) { goto VOGnA; VOGnA: $where = ''; goto h8Nnz; XrXY6: fw_CC: goto oltlN; oXiLR: QfqPL: goto nAYca; KAlG4: $info_box = json_decode(json_encode($box), FALSE); goto keCQq; HqVNx: MK35D: goto KNaw0; OD48h: if ($setting->jenjang == "2") { goto QfqPL; } goto Rz1lT; KNaw0: $where = "jenjang=0 OR jenjang=1"; goto LCX0X; Rz1lT: goto fw_CC; goto HqVNx; oltlN: $box = [["box" => "blue", "total" => $this->dashboard->total("master_siswa"), "title" => "Siswa", "url" => "datasiswa", "icon" => "users"], ["box" => "cyan", "total" => $this->dashboard->total("master_kelas", "id_tp=" . $tp . " AND id_smt=" . $smt), "title" => "Rombel", "url" => "datakelas", "icon" => "bell"], ["box" => "teal", "total" => $this->dashboard->total("master_guru"), "title" => "Guru", "url" => "dataguru", "icon" => "user"], ["box" => "fuchsia", "total" => $this->dashboard->totalWaliKelas($tp, $smt), "title" => "Wali Kelas", "url" => "dataguru", "icon" => "user"], ["box" => "success", "total" => $this->dashboard->total("master_mapel", $where), "title" => "Mapel", "url" => "datamapel", "icon" => "book"], ["box" => "yellow", "total" => $this->dashboard->total("master_ekstra"), "title" => "Ekstrakurikuler", "url" => "dataekstra", "icon" => "book"]]; goto KAlG4; h8Nnz: if ($setting->jenjang == "1") { goto MK35D; } goto OD48h; nAYca: $where = "jenjang=2 OR jenjang=1"; goto XrXY6; keCQq: return $info_box; goto kzAcD; LCX0X: goto fw_CC; goto oXiLR; kzAcD: } public function guru_box($setting) { goto K1Km3; AYSCn: jl6wy: goto ipzUN; tOiPj: $box = [["box" => "teal", "total" => $this->dashboard->total("master_kelas"), "title" => "Rombel", "icon" => "user"], ["box" => "blue", "total" => $this->dashboard->total("master_siswa"), "title" => "Siswa", "icon" => "users"], ["box" => "fuchsia", "total" => $this->dashboard->total("master_guru"), "title" => "Guru", "icon" => "user"], ["box" => "success", "total" => $this->dashboard->total("master_mapel", $where), "title" => "Mapel", "icon" => "book"]]; goto reICA; K1Km3: $where = ''; goto iad69; ipzUN: $where = "jenjang=2 OR jenjang=1"; goto kWVfi; reICA: $info_box = json_decode(json_encode($box), FALSE); goto up6du; iad69: if ($setting->jenjang == "1") { goto ZESB6; } goto pJhhW; up6du: return $info_box; goto ZHW13; HYkC6: goto AXimI; goto TUpTS; Vzw5T: $where = "jenjang=0 OR jenjang=1"; goto guWUr; guWUr: goto AXimI; goto AYSCn; pJhhW: if ($setting->jenjang == "2") { goto jl6wy; } goto HYkC6; TUpTS: ZESB6: goto Vzw5T; kWVfi: AXimI: goto tOiPj; ZHW13: } public function ujian_box() { goto noE0P; vfoq7: return $info_box; goto FO0fG; noE0P: $box = [["box" => "indigo", "total" => $this->dashboard->total("cbt_ruang"), "title" => "Ruang Ujian", "url" => "cbtruang", "icon" => "school"], ["box" => "maroon", "total" => $this->dashboard->total("cbt_sesi"), "title" => "Sesi", "url" => "cbtsesi", "icon" => "clock"], ["box" => "green", "total" => $this->dashboard->total("cbt_bank_soal"), "title" => "Bank Soal", "url" => "cbtbanksoal", "icon" => "folder"], ["box" => "teal", "total" => $this->dashboard->totalJadwal(), "title" => "Jadwal", "url" => "cbtjadwal", "icon" => "clock"]]; goto E951T; E951T: $info_box = json_decode(json_encode($box), FALSE); goto vfoq7; FO0fG: } public function menu_siswa_box() { goto nJ21M; nJ21M: $box = [["title" => "Jadwal Pelajaran", "icon" => "ic_online.png", "link" => "siswa/jadwalpelajaran"], ["title" => "Materi", "icon" => "ic_elearning.png", "link" => "siswa/materi"], ["title" => "Tugas", "icon" => "ic_questions.png", "link" => "siswa/tugas"], ["title" => "Ujian / Ulangan", "icon" => "ic_question.png", "link" => "siswa/cbt"], ["title" => "Nilai Hasil", "icon" => "ic_exam.png", "link" => "siswa/hasil"], ["title" => "Absensi", "icon" => "ic_clipboard.png", "link" => "siswa/kehadiran"], ["title" => "Catatan Guru", "icon" => "ic_student.png", "link" => "siswa/catatan"]]; goto bHS2q; bHS2q: $info_box = json_decode(json_encode($box), FALSE); goto S51p2; S51p2: return $info_box; goto IsLmm; IsLmm: } public function index() { goto aYBnC; FShcO: $user = $this->ion_auth->user()->row(); goto kqqwx; kyaQT: if (!($tp != null)) { goto chRsc; } goto PvQLj; qxVGs: $data["pengawas"] = $this->cbt->getAllPengawas($tp->id_tp, $smt->id_smt, null, null); goto IviQL; zhl3P: $this->load->view("members/guru/templates/footer"); goto V5h7C; iY4X4: $arrKbm = []; goto Hah_2; gPEpm: $this->load->view("_templates/dashboard/_header", $data); goto VyBpd; SV74k: $data["token"] = $token != null ? $token : json_decode(json_encode($tkn)); goto X9gnc; V7ZkD: $token = $this->cbt->getToken(); goto Zh404; HdAmz: $this->load->view("disable_login", $data); goto CfEv0; ZjdSW: ouqDv: goto HdAmz; vMMnJ: if ($this->ion_auth->is_admin()) { goto P1gOP; } goto ABHzr; FE5Jf: goto rvkVR; goto H_I47; IviQL: $data["ruangs"] = $this->cbt->getDistinctRuang($tp->id_tp, $smt->id_smt, []); goto kwcEf; KsRim: $tglJadwals = $this->cbt->getAllJadwalByJenis(null, $tp->id_tp, $smt->id_smt); goto Il8Fx; Hah_2: foreach ($kbms as $key => $item) { $arrKbm[$item->id_kelas] = $item; QgRtA: } goto N28Ne; PvQLj: $kelass = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto lQQbj; CYrMt: $data["mapels"] = $this->master->getAllMapel(); goto KsRim; f_oWW: $data["info_box"] = $this->admin_box($setting, $tp->id_tp, $smt->id_smt); goto lJH0k; fPWMw: goto sNv4r; goto glZft; ablsx: $data["ujian_box"] = $this->ujian_box(); goto U4gYW; VyBpd: $this->load->view("dashboard"); goto U07nN; lQQbj: chRsc: goto Bng5p; zyZzx: goto fptLF; goto xfUEp; U07nN: $this->load->view("_templates/dashboard/_footer"); goto JU0cP; xfUEp: JkbL9: goto mxZli; TFERw: $jadwal = $this->dashboard->loadJadwalHariIni($tp->id_tp, $smt->id_smt, null, $day); goto IWV_S; n8jel: $data["smt"] = $this->dashboard->getSemester(); goto sdGSJ; AEnV_: $tkn["auto"] = "0"; goto HdIXB; Edr2P: $data["info_box"] = $this->admin_box($setting, $tp->id_tp, $smt->id_smt); goto ablsx; MKIRt: KIo_C: goto XR0fB; Cosp2: sNv4r: goto FE5Jf; XR0fB: $guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto CwOy1; ABHzr: if ($this->ion_auth->in_group("guru")) { goto KIo_C; } goto fPWMw; aYBnC: $setting = $this->dashboard->getSetting(); goto FShcO; AaNI7: $this->load->view("members/siswa/templates/footer"); goto zyZzx; qWpJG: $tkn["elapsed"] = "00:00:00"; goto SV74k; CfEv0: y038Z: goto Cosp2; ly5XS: if ($this->ion_auth->in_group("siswa")) { goto DP9CY; } goto V7ZkD; SA42G: FSBy7: goto voSt2; qZew_: $data["menu"] = $this->menu_siswa_box(); goto IN8nK; JU0cP: goto sNv4r; goto MKIRt; Bng5p: $data["kelases"] = $kelass; goto sz9jn; V5h7C: goto y038Z; goto ZjdSW; HdIXB: $tkn["jarak"] = "1"; goto qWpJG; JlXlI: rvkVR: goto uZF4o; sz9jn: $day = date("N", strtotime(date("Y-m-d"))); goto TFERw; RQImJ: $smt = $this->dashboard->getSemesterActive(); goto r5Ltt; Fi6uw: $siswa = $this->dashboard->getDataSiswa($user->username, $tp->id_tp, $smt->id_smt); goto TdTq1; gx6sW: $data["siswa"] = $siswa; goto qZew_; UWDQk: $kelass = []; goto kyaQT; qYIjF: $data["jadwals"] = $arrJadwalKelas; goto eWJ8V; Zh404: $tkn["token"] = ''; goto AEnV_; U4gYW: $data["guru"] = $guru; goto J5YL0; H34dc: $this->load->view("members/guru/dashboard"); goto zhl3P; Il8Fx: foreach ($tglJadwals as $tgl => $jadwalss) { goto VaF0V; VaF0V: foreach ($jadwalss as $mpl => $jadwals) { goto oK0Wo; Tj0hj: VXbT0: goto iZDiz; R20kc: W6fKj: goto Tj0hj; oK0Wo: foreach ($jadwals as $jadwal) { goto ihRfP; EhHHw: oNzow: goto myU4q; ihRfP: $jadwal->bank_kelas = unserialize($jadwal->bank_kelas); goto Z2XzA; ruGlC: xnoKy: goto EhHHw; Z2XzA: foreach ($jadwal->bank_kelas as $kb) { goto EsBTm; EsBTm: if (!($kb["kelas_id"] != '')) { goto XTiXL; } goto sQ8rn; bxKkl: $jadwal->peserta[] = $p; goto AQNJD; AQNJD: XTiXL: goto Slh6u; sQ8rn: $p = $this->cbt->getKelasUjian($kb["kelas_id"]); goto bxKkl; Slh6u: L3BkP: goto bflyr; bflyr: } goto ruGlC; myU4q: } goto R20kc; iZDiz: } goto MmPav; MmPav: sK312: goto jGsCa; jGsCa: n7mJH: goto J6_Mw; J6_Mw: } goto bHRy7; J5YL0: $this->load->view("members/guru/templates/header", $data); goto H34dc; Zyu5f: $data["running_text"] = $this->dashboard->getRunningText(); goto iBirS; VoSj5: $data["jadwals"] = $arrJadwalKelas[$siswa->id_kelas] ?? []; goto Zyu5f; lJH0k: $data["ujian_box"] = $this->ujian_box(); goto WNPRx; bHRy7: KFCLA: goto NiFPl; mxZli: $this->load->view("disable_login", $data); goto VvqIM; avymE: $tp = $this->dashboard->getTahunActive(); goto RQImJ; WZzlZ: foreach ($kbms as $kbm) { $kbm->istirahat = unserialize($kbm->istirahat); DsrgM: } goto SA42G; eWJ8V: $data["kbms"] = $arrKbm; goto CYrMt; kwcEf: $data["gurus"] = $this->dropdown->getAllGuru(); goto vMMnJ; ceTsE: ZjSYR: goto iY4X4; CwOy1: if ($guru == null) { goto ouqDv; } goto Edr2P; Uz8cl: $data["tp_active"] = $tp; goto n8jel; X9gnc: $data["ada_ujian"] = $this->cbt->getDataJadwalByTgl(date("Y-m-d")); goto qYIjF; H_I47: DP9CY: goto Fi6uw; WNPRx: $data["profile"] = $this->dashboard->getProfileAdmin($user->id); goto gPEpm; vZW31: $this->load->view("members/siswa/dashboard"); goto AaNI7; iBirS: $this->load->view("members/siswa/templates/header", $data); goto vZW31; r5Ltt: $data["tp"] = $this->dashboard->getTahun(); goto Uz8cl; F1FJq: foreach ($jadwal as $key => $item) { $arrJadwalKelas[$item->id_kelas][$item->jam_ke] = $item; svY8B: } goto ceTsE; kqqwx: $data = ["user" => $user, "judul" => "Beranda", "subjudul" => "Halaman Utama", "setting" => $setting]; goto avymE; NiFPl: $data["jadwals_ujian"] = $tglJadwals; goto qxVGs; VvqIM: fptLF: goto JlXlI; sdGSJ: $data["smt_active"] = $smt; goto UWDQk; IN8nK: $data["kbms"] = $arrKbm[$siswa->id_kelas] ?? null; goto VoSj5; glZft: P1gOP: goto f_oWW; N28Ne: GL91D: goto ly5XS; TdTq1: if ($siswa == null) { goto JkbL9; } goto gx6sW; voSt2: $arrJadwalKelas = []; goto F1FJq; IWV_S: $kbms = $this->dashboard->getJadwalKbm($tp->id_tp, $smt->id_smt); goto WZzlZ; uZF4o: } public function checkTokenJadwal() { goto sbjFs; ccZFQ: $data["token"] = $token; goto aSaOx; ZeULM: $token = $this->cbt->getToken(); goto H3xyW; H3xyW: $token->now = date("d-m-Y H:i:s"); goto ccZFQ; aSaOx: $this->output_json($data); goto oJyQr; sbjFs: $data["ada_ujian"] = $this->cbt->getDataJadwalByTgl(date("Y-m-d")); goto ZeULM; oJyQr: } public function output_json($data, $encode = true) { goto xw8oA; XFAlx: $this->output->set_content_type("application/json")->set_output($data); goto sCPj6; ecdjN: oACPx: goto XFAlx; xw8oA: if (!$encode) { goto oACPx; } goto jkdMC; jkdMC: $data = json_encode($data); goto ecdjN; sCPj6: } public function gantiTahun() { goto LpU20; wTHCx: goto h7EC1; goto v2cwh; E9a_x: $rows = count($this->input->post("tahun", true)); goto WiX8f; ghOdU: $update[] = array("id_tp" => $id_tp, "tahun" => $tahun, "active" => $active); goto pHBNx; Gux1x: Kaz0q: goto rB_r7; CgfjI: h7EC1: goto ghOdU; LoUug: $active = 0; goto wTHCx; v2cwh: QB7SW: goto nTs0G; LpU20: $aktif = $this->input->post("active", true); goto E9a_x; nTs0G: $active = 1; goto CgfjI; WiX8f: $i = 0; goto Gux1x; pHBNx: kITTi: goto ib3Dw; g7jL_: $this->logging->saveLog(4, "mengganti tahun ajaran aktif"); goto HIX2Q; ib3Dw: $i++; goto uBRYy; wzJfZ: $tahun = $this->input->post("tahun[" . $i . "]", true); goto dKfXb; rB_r7: if (!($i <= $rows)) { goto QzjBj; } goto WyCnp; HIX2Q: $this->output_json($data); goto pyl6T; uBRYy: goto Kaz0q; goto tmNp9; WyCnp: $id_tp = $this->input->post("id_tp[" . $i . "]", true); goto wzJfZ; tmNp9: QzjBj: goto yBme6; fu8c9: $data["update"] = $update; goto jc7cc; yBme6: $this->dashboard->update("master_tp", $update, "id_tp", null, true); goto fu8c9; dKfXb: if ($id_tp === $aktif) { goto QB7SW; } goto LoUug; jc7cc: $data["status"] = true; goto g7jL_; pyl6T: } public function gantiSemester() { goto xgc0Z; GJddV: $this->logging->saveLog(4, "mengganti semester aktif"); goto RsWKL; Q7yQ2: PJbA3: goto MXOgF; AmzmK: j_S6B: goto sQdce; NlDG2: $active = 0; goto f4Qh5; sQdce: $this->dashboard->update("master_smt", $update, "id_smt", null, true); goto Mdm8u; Mdm8u: $data["update"] = $update; goto gR3M2; MjJID: $rows = count($this->input->post("smt", true)); goto ZITSJ; zVtx7: IAwC0: goto I1xfs; NKCe1: $id_smt = $this->input->post("id_smt[" . $i . "]", true); goto UPocP; UPocP: $smt = $this->input->post("smt[" . $i . "]", true); goto ZDuHr; oI4_0: $i++; goto sd8kd; sd8kd: goto PJbA3; goto AmzmK; xgc0Z: $aktif = $this->input->post("active", true); goto MjJID; hEHVz: $update[] = array("id_smt" => $id_smt, "smt" => $smt, "active" => $active); goto wLt87; gR3M2: $data["status"] = true; goto GJddV; I1xfs: $active = 1; goto U_8HI; ZITSJ: $i = 1; goto Q7yQ2; U_8HI: EmWQb: goto hEHVz; RsWKL: $this->output_json($data); goto MuyY9; wLt87: C4xjJ: goto oI4_0; MXOgF: if (!($i <= $rows)) { goto j_S6B; } goto NKCe1; f4Qh5: goto EmWQb; goto zVtx7; ZDuHr: if ($id_smt === $aktif) { goto IAwC0; } goto NlDG2; MuyY9: } public function getNotifikasi() { } public function getLog($limit) { $this->output_json($this->logging->loadAktifitas($limit)); } public function hapusLog() { goto u17t1; UHVr4: z_ScR: goto Q_R1H; jgzmT: if ($this->db->empty_table("log")) { goto z_ScR; } goto n8bAq; eaA4j: $this->db->trans_complete(); goto cDOrm; Q_R1H: $deleted = ["status" => true, "message" => "berhasil"]; goto GNC3u; n8bAq: $deleted = ["status" => false, "message" => "gagal"]; goto YXwCU; YXwCU: goto AuEM4; goto UHVr4; u17t1: $this->db->trans_start(); goto jgzmT; GNC3u: AuEM4: goto eaA4j; cDOrm: $this->output_json($deleted); goto GUUb0; GUUb0: } public function getLogSiswa($limit) { $this->output_json($this->logging->loadAktifitasSiswa($limit)); } public function getPengumuman($for) { $this->output_json($this->dashboard->loadPengumuman($for)); } public function getJadwalHariIni($id_kelas, $id_hari) { goto lysFy; z3Bn9: $smt = $this->dashboard->getSemesterActive(); goto jxH7Q; jxH7Q: $this->output_json($this->dashboard->loadJadwalHariIni($tp->id_tp, $smt->id_smt, $id_kelas, $id_hari)); goto HZ5pf; lysFy: $tp = $this->dashboard->getTahunActive(); goto z3Bn9; HZ5pf: } public function getJadwalKbm($id_kelas) { goto OEa1D; nRfju: $this->output_json(array("jadwal" => $jadwal, "istirahat" => $istirahat)); goto PJQm2; OEa1D: $tp = $this->dashboard->getTahunActive(); goto h2bMD; b_Npe: $jadwal = $this->dashboard->getJadwalKbm($tp->id_tp, $smt->id_smt, $id_kelas); goto K4t1O; K4t1O: $istirahat = unserialize($jadwal->istirahat); goto nRfju; h2bMD: $smt = $this->dashboard->getSemesterActive(); goto b_Npe; PJQm2: } } 
 ?>

Did this file decode correctly?

Original Code

<?php
/*   ________________________________________
    |                 GarudaCBT              |
    |    https://github.com/garudacbt/cbt    |
    |________________________________________|
*/
 defined("\102\101\123\105\x50\x41\x54\x48") or exit("\116\x6f\x20\x64\151\x72\145\143\164\40\x73\143\x72\x69\160\x74\40\x61\143\x63\145\x73\163\40\x61\x6c\154\157\x77\x65\x64"); class Dashboard extends CI_Controller { public function __construct() { goto bi4U3; esVeW: $this->load->model("\x44\x72\x6f\160\144\x6f\x77\x6e\x5f\155\157\x64\x65\x6c", "\x64\x72\157\x70\144\157\x77\156"); goto Qtn2j; yysSr: zlBQQ: goto LjBqh; Qtn2j: $this->load->model("\x43\x62\x74\x5f\x6d\157\144\145\154", "\143\x62\x74"); goto FKv3S; LjBqh: $this->load->model("\115\x61\x73\164\145\x72\x5f\x6d\x6f\x64\145\154", "\x6d\x61\163\164\x65\x72"); goto Vw9Zc; M4TMu: redirect("\x61\x75\164\150"); goto yysSr; SJ2xJ: if ($this->ion_auth->logged_in()) { goto zlBQQ; } goto M4TMu; Vw9Zc: $this->load->model("\104\141\x73\150\142\157\141\x72\144\137\155\157\x64\x65\154", "\144\x61\x73\150\x62\x6f\x61\162\x64"); goto hWC83; hWC83: $this->load->model("\x4c\x6f\147\137\155\157\144\145\x6c", "\154\157\x67\147\x69\x6e\147"); goto esVeW; bi4U3: parent::__construct(); goto SJ2xJ; FKv3S: } public function admin_box($setting, $tp, $smt) { goto VOGnA; VOGnA: $where = ''; goto h8Nnz; XrXY6: fw_CC: goto oltlN; oXiLR: QfqPL: goto nAYca; KAlG4: $info_box = json_decode(json_encode($box), FALSE); goto keCQq; HqVNx: MK35D: goto KNaw0; OD48h: if ($setting->jenjang == "\x32") { goto QfqPL; } goto Rz1lT; KNaw0: $where = "\x6a\145\x6e\152\141\x6e\147\x3d\x30\40\x4f\122\x20\x6a\x65\156\x6a\141\x6e\147\x3d\61"; goto LCX0X; Rz1lT: goto fw_CC; goto HqVNx; oltlN: $box = [["\142\157\170" => "\x62\x6c\x75\145", "\164\157\x74\141\x6c" => $this->dashboard->total("\x6d\x61\x73\164\x65\162\x5f\x73\151\163\167\x61"), "\x74\x69\164\154\145" => "\123\151\x73\x77\141", "\x75\162\x6c" => "\x64\x61\x74\x61\163\x69\x73\167\x61", "\151\143\157\156" => "\165\163\x65\162\163"], ["\x62\157\170" => "\143\171\141\156", "\164\157\164\x61\x6c" => $this->dashboard->total("\155\x61\x73\x74\145\162\137\x6b\145\154\141\x73", "\151\144\137\x74\x70\x3d" . $tp . "\40\x41\116\104\x20\151\x64\137\x73\155\x74\x3d" . $smt), "\164\151\x74\154\145" => "\122\x6f\155\142\145\154", "\165\162\x6c" => "\144\141\164\141\x6b\145\x6c\x61\163", "\x69\143\x6f\x6e" => "\142\x65\154\154"], ["\x62\x6f\170" => "\164\145\x61\154", "\x74\157\164\141\154" => $this->dashboard->total("\x6d\141\163\164\145\x72\137\147\165\x72\165"), "\164\151\x74\154\145" => "\107\x75\x72\x75", "\x75\x72\x6c" => "\x64\141\164\141\x67\165\x72\165", "\x69\x63\157\x6e" => "\x75\163\145\x72"], ["\142\x6f\170" => "\146\165\x63\150\x73\x69\141", "\x74\157\164\x61\154" => $this->dashboard->totalWaliKelas($tp, $smt), "\x74\x69\x74\x6c\145" => "\x57\x61\154\151\x20\x4b\145\x6c\x61\163", "\165\162\154" => "\144\141\164\141\147\x75\x72\x75", "\151\143\x6f\156" => "\165\x73\145\162"], ["\142\x6f\170" => "\163\165\x63\x63\145\x73\163", "\164\157\x74\141\154" => $this->dashboard->total("\x6d\141\163\164\145\x72\x5f\x6d\x61\160\145\154", $where), "\164\x69\x74\x6c\145" => "\115\x61\x70\145\x6c", "\x75\x72\154" => "\x64\x61\x74\x61\x6d\141\x70\x65\x6c", "\151\143\x6f\156" => "\x62\x6f\157\153"], ["\x62\157\170" => "\171\x65\x6c\154\157\x77", "\164\157\164\141\x6c" => $this->dashboard->total("\x6d\x61\x73\164\x65\x72\137\145\153\x73\164\162\141"), "\164\151\164\154\145" => "\x45\x6b\x73\x74\162\x61\153\165\162\x69\153\x75\x6c\x65\162", "\165\x72\154" => "\x64\141\x74\141\145\153\163\x74\162\141", "\151\143\x6f\x6e" => "\x62\x6f\157\x6b"]]; goto KAlG4; h8Nnz: if ($setting->jenjang == "\x31") { goto MK35D; } goto OD48h; nAYca: $where = "\152\145\156\x6a\141\x6e\x67\75\62\x20\117\x52\x20\152\145\x6e\152\x61\156\x67\75\x31"; goto XrXY6; keCQq: return $info_box; goto kzAcD; LCX0X: goto fw_CC; goto oXiLR; kzAcD: } public function guru_box($setting) { goto K1Km3; AYSCn: jl6wy: goto ipzUN; tOiPj: $box = [["\142\x6f\x78" => "\164\x65\141\154", "\164\157\x74\x61\x6c" => $this->dashboard->total("\x6d\141\163\x74\145\x72\x5f\153\145\x6c\x61\163"), "\164\x69\164\154\x65" => "\x52\157\x6d\142\x65\x6c", "\x69\143\x6f\x6e" => "\x75\163\x65\162"], ["\142\157\x78" => "\142\x6c\x75\145", "\164\157\x74\x61\x6c" => $this->dashboard->total("\155\141\x73\164\x65\x72\x5f\163\151\x73\167\141"), "\164\151\164\x6c\x65" => "\123\151\x73\x77\x61", "\151\x63\x6f\x6e" => "\x75\163\145\162\163"], ["\142\x6f\x78" => "\146\x75\143\x68\x73\x69\141", "\x74\157\164\x61\154" => $this->dashboard->total("\155\x61\163\164\x65\x72\137\x67\165\x72\165"), "\x74\x69\x74\x6c\x65" => "\x47\x75\162\165", "\x69\143\x6f\x6e" => "\x75\163\145\x72"], ["\x62\157\170" => "\163\x75\x63\x63\145\163\x73", "\x74\x6f\164\x61\154" => $this->dashboard->total("\x6d\x61\x73\x74\145\x72\137\155\x61\x70\145\x6c", $where), "\164\151\x74\154\x65" => "\x4d\x61\160\x65\154", "\151\143\x6f\x6e" => "\x62\157\157\153"]]; goto reICA; K1Km3: $where = ''; goto iad69; ipzUN: $where = "\152\145\x6e\152\141\x6e\147\x3d\62\40\117\x52\40\152\x65\x6e\x6a\141\x6e\x67\75\61"; goto kWVfi; reICA: $info_box = json_decode(json_encode($box), FALSE); goto up6du; iad69: if ($setting->jenjang == "\61") { goto ZESB6; } goto pJhhW; up6du: return $info_box; goto ZHW13; HYkC6: goto AXimI; goto TUpTS; Vzw5T: $where = "\152\145\156\x6a\x61\x6e\147\75\60\x20\x4f\122\x20\152\x65\156\x6a\141\x6e\x67\x3d\x31"; goto guWUr; guWUr: goto AXimI; goto AYSCn; pJhhW: if ($setting->jenjang == "\x32") { goto jl6wy; } goto HYkC6; TUpTS: ZESB6: goto Vzw5T; kWVfi: AXimI: goto tOiPj; ZHW13: } public function ujian_box() { goto noE0P; vfoq7: return $info_box; goto FO0fG; noE0P: $box = [["\142\157\x78" => "\151\156\144\151\x67\157", "\x74\x6f\x74\141\154" => $this->dashboard->total("\143\142\x74\x5f\162\165\141\156\x67"), "\x74\151\164\154\145" => "\122\165\141\156\x67\x20\x55\152\x69\x61\156", "\x75\x72\x6c" => "\x63\142\x74\162\x75\x61\156\x67", "\x69\143\x6f\x6e" => "\x73\x63\150\x6f\157\154"], ["\x62\x6f\x78" => "\155\x61\162\x6f\157\156", "\164\x6f\x74\141\154" => $this->dashboard->total("\143\x62\x74\137\x73\x65\x73\x69"), "\164\x69\x74\154\x65" => "\x53\x65\163\x69", "\x75\x72\154" => "\143\x62\164\x73\145\163\x69", "\151\x63\x6f\156" => "\143\x6c\x6f\143\x6b"], ["\142\157\170" => "\x67\x72\145\145\156", "\164\x6f\x74\x61\x6c" => $this->dashboard->total("\x63\x62\164\x5f\142\141\156\153\137\x73\x6f\x61\x6c"), "\164\151\x74\154\145" => "\x42\x61\156\x6b\40\123\x6f\x61\x6c", "\x75\x72\154" => "\143\x62\164\142\141\x6e\153\163\x6f\141\154", "\x69\143\157\156" => "\x66\157\x6c\144\145\x72"], ["\142\157\x78" => "\164\x65\x61\154", "\x74\157\164\x61\154" => $this->dashboard->totalJadwal(), "\164\x69\x74\154\145" => "\x4a\x61\x64\x77\x61\x6c", "\x75\162\x6c" => "\x63\142\164\152\141\x64\167\x61\x6c", "\151\x63\x6f\156" => "\x63\154\x6f\x63\153"]]; goto E951T; E951T: $info_box = json_decode(json_encode($box), FALSE); goto vfoq7; FO0fG: } public function menu_siswa_box() { goto nJ21M; nJ21M: $box = [["\x74\151\164\154\x65" => "\x4a\x61\144\167\141\154\40\x50\145\x6c\x61\152\x61\162\x61\156", "\x69\143\157\156" => "\151\x63\137\157\x6e\154\151\156\x65\x2e\160\156\x67", "\154\151\x6e\x6b" => "\x73\x69\x73\x77\141\x2f\x6a\x61\x64\167\x61\x6c\160\x65\x6c\141\x6a\141\x72\141\156"], ["\x74\x69\x74\154\x65" => "\x4d\x61\x74\x65\x72\151", "\x69\x63\157\156" => "\151\143\x5f\145\154\145\x61\x72\156\x69\x6e\147\56\160\x6e\x67", "\154\151\156\153" => "\163\x69\x73\x77\141\x2f\155\x61\x74\145\162\151"], ["\164\x69\x74\154\145" => "\x54\165\147\x61\x73", "\x69\x63\x6f\x6e" => "\x69\x63\137\x71\x75\x65\x73\x74\151\157\156\163\x2e\160\156\x67", "\x6c\x69\156\153" => "\163\x69\x73\x77\x61\x2f\x74\x75\147\141\x73"], ["\x74\x69\164\x6c\x65" => "\x55\152\151\141\156\40\x2f\x20\125\154\x61\156\x67\x61\x6e", "\x69\143\x6f\156" => "\x69\143\x5f\161\165\145\163\164\x69\x6f\x6e\x2e\160\x6e\147", "\154\151\156\153" => "\163\x69\163\x77\141\x2f\x63\142\164"], ["\x74\x69\x74\154\x65" => "\x4e\x69\x6c\141\151\40\110\x61\x73\151\154", "\x69\143\x6f\156" => "\151\143\x5f\x65\170\141\155\56\x70\156\x67", "\154\151\156\153" => "\163\151\x73\x77\141\x2f\x68\x61\163\x69\154"], ["\x74\151\164\154\145" => "\x41\x62\x73\x65\x6e\x73\151", "\151\143\x6f\156" => "\x69\143\137\143\154\x69\x70\x62\x6f\x61\162\144\x2e\160\x6e\x67", "\154\x69\x6e\153" => "\x73\151\163\x77\141\57\153\145\150\141\x64\x69\x72\141\156"], ["\x74\x69\164\154\x65" => "\103\x61\164\x61\164\x61\x6e\40\107\165\x72\x75", "\151\143\x6f\x6e" => "\x69\x63\x5f\x73\x74\165\x64\145\156\x74\56\x70\x6e\147", "\x6c\151\x6e\x6b" => "\x73\151\163\167\x61\x2f\143\x61\x74\x61\x74\x61\156"]]; goto bHS2q; bHS2q: $info_box = json_decode(json_encode($box), FALSE); goto S51p2; S51p2: return $info_box; goto IsLmm; IsLmm: } public function index() { goto aYBnC; FShcO: $user = $this->ion_auth->user()->row(); goto kqqwx; kyaQT: if (!($tp != null)) { goto chRsc; } goto PvQLj; qxVGs: $data["\x70\145\x6e\147\141\167\x61\x73"] = $this->cbt->getAllPengawas($tp->id_tp, $smt->id_smt, null, null); goto IviQL; zhl3P: $this->load->view("\155\x65\x6d\x62\x65\x72\x73\57\147\165\x72\x75\57\x74\x65\x6d\160\154\141\164\x65\163\57\146\x6f\157\164\145\x72"); goto V5h7C; iY4X4: $arrKbm = []; goto Hah_2; gPEpm: $this->load->view("\x5f\164\145\x6d\x70\154\141\x74\x65\163\x2f\x64\x61\163\x68\x62\x6f\x61\162\x64\x2f\x5f\150\145\141\x64\145\x72", $data); goto VyBpd; SV74k: $data["\x74\157\153\145\156"] = $token != null ? $token : json_decode(json_encode($tkn)); goto X9gnc; V7ZkD: $token = $this->cbt->getToken(); goto Zh404; HdAmz: $this->load->view("\144\x69\x73\x61\x62\154\x65\x5f\154\x6f\x67\151\156", $data); goto CfEv0; ZjdSW: ouqDv: goto HdAmz; vMMnJ: if ($this->ion_auth->is_admin()) { goto P1gOP; } goto ABHzr; FE5Jf: goto rvkVR; goto H_I47; IviQL: $data["\162\x75\x61\x6e\147\x73"] = $this->cbt->getDistinctRuang($tp->id_tp, $smt->id_smt, []); goto kwcEf; KsRim: $tglJadwals = $this->cbt->getAllJadwalByJenis(null, $tp->id_tp, $smt->id_smt); goto Il8Fx; Hah_2: foreach ($kbms as $key => $item) { $arrKbm[$item->id_kelas] = $item; QgRtA: } goto N28Ne; PvQLj: $kelass = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto lQQbj; CYrMt: $data["\155\x61\x70\145\x6c\163"] = $this->master->getAllMapel(); goto KsRim; f_oWW: $data["\x69\156\x66\157\x5f\x62\x6f\x78"] = $this->admin_box($setting, $tp->id_tp, $smt->id_smt); goto lJH0k; fPWMw: goto sNv4r; goto glZft; ablsx: $data["\165\x6a\151\x61\156\137\142\157\x78"] = $this->ujian_box(); goto U4gYW; VyBpd: $this->load->view("\x64\141\163\x68\142\157\x61\x72\144"); goto U07nN; lQQbj: chRsc: goto Bng5p; zyZzx: goto fptLF; goto xfUEp; U07nN: $this->load->view("\x5f\164\145\155\x70\154\141\164\145\163\57\x64\x61\x73\x68\x62\x6f\x61\162\x64\x2f\137\146\x6f\157\x74\x65\x72"); goto JU0cP; xfUEp: JkbL9: goto mxZli; TFERw: $jadwal = $this->dashboard->loadJadwalHariIni($tp->id_tp, $smt->id_smt, null, $day); goto IWV_S; n8jel: $data["\163\x6d\x74"] = $this->dashboard->getSemester(); goto sdGSJ; AEnV_: $tkn["\x61\x75\164\157"] = "\60"; goto HdIXB; Edr2P: $data["\151\x6e\x66\x6f\x5f\142\x6f\170"] = $this->admin_box($setting, $tp->id_tp, $smt->id_smt); goto ablsx; MKIRt: KIo_C: goto XR0fB; Cosp2: sNv4r: goto FE5Jf; XR0fB: $guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto CwOy1; ABHzr: if ($this->ion_auth->in_group("\147\165\x72\x75")) { goto KIo_C; } goto fPWMw; aYBnC: $setting = $this->dashboard->getSetting(); goto FShcO; AaNI7: $this->load->view("\x6d\x65\155\142\x65\x72\163\57\163\151\163\x77\x61\57\x74\x65\155\160\x6c\141\164\x65\x73\57\x66\157\x6f\164\x65\x72"); goto zyZzx; qWpJG: $tkn["\x65\x6c\x61\160\163\x65\144"] = "\x30\60\72\x30\x30\x3a\60\60"; goto SV74k; CfEv0: y038Z: goto Cosp2; ly5XS: if ($this->ion_auth->in_group("\x73\x69\x73\167\141")) { goto DP9CY; } goto V7ZkD; SA42G: FSBy7: goto voSt2; qZew_: $data["\x6d\x65\156\x75"] = $this->menu_siswa_box(); goto IN8nK; JU0cP: goto sNv4r; goto MKIRt; Bng5p: $data["\153\x65\154\141\x73\145\163"] = $kelass; goto sz9jn; V5h7C: goto y038Z; goto ZjdSW; HdIXB: $tkn["\152\141\162\141\x6b"] = "\x31"; goto qWpJG; JlXlI: rvkVR: goto uZF4o; sz9jn: $day = date("\x4e", strtotime(date("\131\x2d\155\55\x64"))); goto TFERw; RQImJ: $smt = $this->dashboard->getSemesterActive(); goto r5Ltt; Fi6uw: $siswa = $this->dashboard->getDataSiswa($user->username, $tp->id_tp, $smt->id_smt); goto TdTq1; gx6sW: $data["\163\151\163\x77\x61"] = $siswa; goto qZew_; UWDQk: $kelass = []; goto kyaQT; qYIjF: $data["\x6a\141\x64\167\x61\154\x73"] = $arrJadwalKelas; goto eWJ8V; Zh404: $tkn["\x74\157\x6b\145\x6e"] = ''; goto AEnV_; U4gYW: $data["\x67\165\162\x75"] = $guru; goto J5YL0; H34dc: $this->load->view("\x6d\145\155\x62\x65\162\163\57\147\165\162\165\57\144\x61\163\150\142\157\141\x72\x64"); goto zhl3P; Il8Fx: foreach ($tglJadwals as $tgl => $jadwalss) { goto VaF0V; VaF0V: foreach ($jadwalss as $mpl => $jadwals) { goto oK0Wo; Tj0hj: VXbT0: goto iZDiz; R20kc: W6fKj: goto Tj0hj; oK0Wo: foreach ($jadwals as $jadwal) { goto ihRfP; EhHHw: oNzow: goto myU4q; ihRfP: $jadwal->bank_kelas = unserialize($jadwal->bank_kelas); goto Z2XzA; ruGlC: xnoKy: goto EhHHw; Z2XzA: foreach ($jadwal->bank_kelas as $kb) { goto EsBTm; EsBTm: if (!($kb["\x6b\x65\154\x61\x73\x5f\151\144"] != '')) { goto XTiXL; } goto sQ8rn; bxKkl: $jadwal->peserta[] = $p; goto AQNJD; AQNJD: XTiXL: goto Slh6u; sQ8rn: $p = $this->cbt->getKelasUjian($kb["\153\145\154\141\x73\x5f\x69\x64"]); goto bxKkl; Slh6u: L3BkP: goto bflyr; bflyr: } goto ruGlC; myU4q: } goto R20kc; iZDiz: } goto MmPav; MmPav: sK312: goto jGsCa; jGsCa: n7mJH: goto J6_Mw; J6_Mw: } goto bHRy7; J5YL0: $this->load->view("\x6d\x65\155\142\145\162\x73\x2f\x67\x75\162\x75\x2f\x74\x65\155\x70\x6c\x61\164\x65\163\57\150\x65\141\144\x65\162", $data); goto H34dc; Zyu5f: $data["\162\x75\156\156\151\156\x67\x5f\x74\145\170\164"] = $this->dashboard->getRunningText(); goto iBirS; VoSj5: $data["\152\141\144\x77\x61\x6c\163"] = $arrJadwalKelas[$siswa->id_kelas] ?? []; goto Zyu5f; lJH0k: $data["\x75\x6a\x69\141\156\137\x62\157\170"] = $this->ujian_box(); goto WNPRx; bHRy7: KFCLA: goto NiFPl; mxZli: $this->load->view("\x64\x69\x73\141\x62\154\145\x5f\x6c\x6f\147\151\x6e", $data); goto VvqIM; avymE: $tp = $this->dashboard->getTahunActive(); goto RQImJ; WZzlZ: foreach ($kbms as $kbm) { $kbm->istirahat = unserialize($kbm->istirahat); DsrgM: } goto SA42G; eWJ8V: $data["\153\x62\155\163"] = $arrKbm; goto CYrMt; kwcEf: $data["\147\x75\x72\x75\x73"] = $this->dropdown->getAllGuru(); goto vMMnJ; ceTsE: ZjSYR: goto iY4X4; CwOy1: if ($guru == null) { goto ouqDv; } goto Edr2P; Uz8cl: $data["\164\160\137\x61\143\164\151\166\x65"] = $tp; goto n8jel; X9gnc: $data["\x61\144\x61\137\x75\x6a\151\141\156"] = $this->cbt->getDataJadwalByTgl(date("\131\x2d\x6d\55\x64")); goto qYIjF; H_I47: DP9CY: goto Fi6uw; WNPRx: $data["\x70\162\157\146\151\154\145"] = $this->dashboard->getProfileAdmin($user->id); goto gPEpm; vZW31: $this->load->view("\155\145\x6d\142\145\162\x73\57\163\151\x73\x77\x61\x2f\144\141\163\x68\x62\157\141\162\x64"); goto AaNI7; iBirS: $this->load->view("\x6d\145\x6d\142\x65\x72\x73\57\x73\151\x73\x77\x61\x2f\164\x65\155\160\x6c\141\x74\x65\163\x2f\150\x65\x61\x64\145\162", $data); goto vZW31; r5Ltt: $data["\164\160"] = $this->dashboard->getTahun(); goto Uz8cl; F1FJq: foreach ($jadwal as $key => $item) { $arrJadwalKelas[$item->id_kelas][$item->jam_ke] = $item; svY8B: } goto ceTsE; kqqwx: $data = ["\x75\163\145\x72" => $user, "\x6a\x75\144\165\154" => "\x42\145\x72\x61\x6e\x64\141", "\163\x75\x62\152\x75\x64\165\154" => "\110\x61\154\x61\155\141\x6e\40\125\164\x61\155\141", "\163\x65\x74\164\x69\156\x67" => $setting]; goto avymE; NiFPl: $data["\152\141\144\167\141\154\163\x5f\x75\x6a\151\141\x6e"] = $tglJadwals; goto qxVGs; VvqIM: fptLF: goto JlXlI; sdGSJ: $data["\x73\155\164\x5f\141\x63\164\151\166\x65"] = $smt; goto UWDQk; IN8nK: $data["\153\142\155\163"] = $arrKbm[$siswa->id_kelas] ?? null; goto VoSj5; glZft: P1gOP: goto f_oWW; N28Ne: GL91D: goto ly5XS; TdTq1: if ($siswa == null) { goto JkbL9; } goto gx6sW; voSt2: $arrJadwalKelas = []; goto F1FJq; IWV_S: $kbms = $this->dashboard->getJadwalKbm($tp->id_tp, $smt->id_smt); goto WZzlZ; uZF4o: } public function checkTokenJadwal() { goto sbjFs; ccZFQ: $data["\x74\x6f\153\x65\x6e"] = $token; goto aSaOx; ZeULM: $token = $this->cbt->getToken(); goto H3xyW; H3xyW: $token->now = date("\x64\x2d\155\55\131\x20\x48\72\151\x3a\163"); goto ccZFQ; aSaOx: $this->output_json($data); goto oJyQr; sbjFs: $data["\x61\x64\x61\x5f\x75\152\x69\x61\x6e"] = $this->cbt->getDataJadwalByTgl(date("\x59\55\x6d\55\144")); goto ZeULM; oJyQr: } public function output_json($data, $encode = true) { goto xw8oA; XFAlx: $this->output->set_content_type("\x61\x70\x70\154\x69\143\x61\164\151\x6f\156\x2f\152\x73\x6f\156")->set_output($data); goto sCPj6; ecdjN: oACPx: goto XFAlx; xw8oA: if (!$encode) { goto oACPx; } goto jkdMC; jkdMC: $data = json_encode($data); goto ecdjN; sCPj6: } public function gantiTahun() { goto LpU20; wTHCx: goto h7EC1; goto v2cwh; E9a_x: $rows = count($this->input->post("\164\141\150\165\x6e", true)); goto WiX8f; ghOdU: $update[] = array("\x69\x64\x5f\164\160" => $id_tp, "\164\141\150\165\156" => $tahun, "\141\143\164\151\x76\145" => $active); goto pHBNx; Gux1x: Kaz0q: goto rB_r7; CgfjI: h7EC1: goto ghOdU; LoUug: $active = 0; goto wTHCx; v2cwh: QB7SW: goto nTs0G; LpU20: $aktif = $this->input->post("\x61\143\x74\x69\x76\145", true); goto E9a_x; nTs0G: $active = 1; goto CgfjI; WiX8f: $i = 0; goto Gux1x; pHBNx: kITTi: goto ib3Dw; g7jL_: $this->logging->saveLog(4, "\155\x65\x6e\147\147\141\156\164\151\40\164\141\x68\165\x6e\x20\141\x6a\x61\x72\x61\x6e\x20\141\153\x74\x69\x66"); goto HIX2Q; ib3Dw: $i++; goto uBRYy; wzJfZ: $tahun = $this->input->post("\x74\x61\150\x75\x6e\133" . $i . "\135", true); goto dKfXb; rB_r7: if (!($i <= $rows)) { goto QzjBj; } goto WyCnp; HIX2Q: $this->output_json($data); goto pyl6T; uBRYy: goto Kaz0q; goto tmNp9; WyCnp: $id_tp = $this->input->post("\151\x64\x5f\x74\160\133" . $i . "\135", true); goto wzJfZ; tmNp9: QzjBj: goto yBme6; fu8c9: $data["\165\x70\x64\141\164\145"] = $update; goto jc7cc; yBme6: $this->dashboard->update("\x6d\x61\x73\164\x65\162\137\164\x70", $update, "\x69\144\x5f\164\160", null, true); goto fu8c9; dKfXb: if ($id_tp === $aktif) { goto QB7SW; } goto LoUug; jc7cc: $data["\x73\164\141\x74\165\163"] = true; goto g7jL_; pyl6T: } public function gantiSemester() { goto xgc0Z; GJddV: $this->logging->saveLog(4, "\155\x65\x6e\147\147\x61\156\164\x69\40\x73\145\x6d\x65\x73\164\x65\x72\40\x61\153\x74\x69\146"); goto RsWKL; Q7yQ2: PJbA3: goto MXOgF; AmzmK: j_S6B: goto sQdce; NlDG2: $active = 0; goto f4Qh5; sQdce: $this->dashboard->update("\155\x61\163\164\145\x72\137\163\x6d\164", $update, "\151\144\137\163\x6d\x74", null, true); goto Mdm8u; Mdm8u: $data["\165\160\x64\x61\164\x65"] = $update; goto gR3M2; MjJID: $rows = count($this->input->post("\163\155\x74", true)); goto ZITSJ; zVtx7: IAwC0: goto I1xfs; NKCe1: $id_smt = $this->input->post("\x69\144\137\163\x6d\x74\x5b" . $i . "\x5d", true); goto UPocP; UPocP: $smt = $this->input->post("\x73\x6d\164\133" . $i . "\135", true); goto ZDuHr; oI4_0: $i++; goto sd8kd; sd8kd: goto PJbA3; goto AmzmK; xgc0Z: $aktif = $this->input->post("\x61\x63\x74\151\x76\145", true); goto MjJID; hEHVz: $update[] = array("\151\144\x5f\163\x6d\164" => $id_smt, "\x73\x6d\164" => $smt, "\141\143\x74\151\166\145" => $active); goto wLt87; gR3M2: $data["\163\164\x61\x74\165\x73"] = true; goto GJddV; I1xfs: $active = 1; goto U_8HI; ZITSJ: $i = 1; goto Q7yQ2; U_8HI: EmWQb: goto hEHVz; RsWKL: $this->output_json($data); goto MuyY9; wLt87: C4xjJ: goto oI4_0; MXOgF: if (!($i <= $rows)) { goto j_S6B; } goto NKCe1; f4Qh5: goto EmWQb; goto zVtx7; ZDuHr: if ($id_smt === $aktif) { goto IAwC0; } goto NlDG2; MuyY9: } public function getNotifikasi() { } public function getLog($limit) { $this->output_json($this->logging->loadAktifitas($limit)); } public function hapusLog() { goto u17t1; UHVr4: z_ScR: goto Q_R1H; jgzmT: if ($this->db->empty_table("\154\x6f\x67")) { goto z_ScR; } goto n8bAq; eaA4j: $this->db->trans_complete(); goto cDOrm; Q_R1H: $deleted = ["\x73\x74\x61\164\165\163" => true, "\x6d\x65\x73\163\141\147\145" => "\x62\x65\162\x68\x61\163\x69\x6c"]; goto GNC3u; n8bAq: $deleted = ["\x73\164\141\164\165\163" => false, "\155\x65\x73\x73\141\147\x65" => "\x67\x61\147\141\x6c"]; goto YXwCU; YXwCU: goto AuEM4; goto UHVr4; u17t1: $this->db->trans_start(); goto jgzmT; GNC3u: AuEM4: goto eaA4j; cDOrm: $this->output_json($deleted); goto GUUb0; GUUb0: } public function getLogSiswa($limit) { $this->output_json($this->logging->loadAktifitasSiswa($limit)); } public function getPengumuman($for) { $this->output_json($this->dashboard->loadPengumuman($for)); } public function getJadwalHariIni($id_kelas, $id_hari) { goto lysFy; z3Bn9: $smt = $this->dashboard->getSemesterActive(); goto jxH7Q; jxH7Q: $this->output_json($this->dashboard->loadJadwalHariIni($tp->id_tp, $smt->id_smt, $id_kelas, $id_hari)); goto HZ5pf; lysFy: $tp = $this->dashboard->getTahunActive(); goto z3Bn9; HZ5pf: } public function getJadwalKbm($id_kelas) { goto OEa1D; nRfju: $this->output_json(array("\x6a\x61\x64\167\x61\x6c" => $jadwal, "\x69\x73\x74\151\x72\x61\150\141\x74" => $istirahat)); goto PJQm2; OEa1D: $tp = $this->dashboard->getTahunActive(); goto h2bMD; b_Npe: $jadwal = $this->dashboard->getJadwalKbm($tp->id_tp, $smt->id_smt, $id_kelas); goto K4t1O; K4t1O: $istirahat = unserialize($jadwal->istirahat); goto nRfju; h2bMD: $smt = $this->dashboard->getSemesterActive(); goto b_Npe; PJQm2: } }

Function Calls

None

Variables

None

Stats

MD5 6d90085b6dbff79f53c79ab67cf367e7
Eval Count 0
Decode Time 87 ms