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 Bv4gd; dldnG: if ($this->ion_auth->logged_in()) { goto V5tvb; } goto qJSaJ; jBxoH: $this->load->model("Dashboard_model", "dashboard"); goto DrK6h; DrK6h: $this->load->model("Log_model", "logging"); goto a0e2W; a0e2W: $this->load->model("Dropdown_model", "dropdown"); goto K81jA; tybu5: V5tvb: goto OIiVv; K81jA: $this->load->model("Cbt_model", "cbt"); goto d5su9; OIiVv: $this->load->model("Master_model", "master"); goto jBxoH; Bv4gd: parent::__construct(); goto dldnG; qJSaJ: redirect("auth"); goto tybu5; d5su9: } public function admin_box($setting, $tp, $smt) { goto QyrYC; S92of: if ($setting->jenjang == "2") { goto gvjIi; } goto o7Crn; zV2Ul: hXce8: goto JYtuK; hrzSO: gvjIi: goto Zampx; rwRhA: lA2_4: goto Sxsi5; p2a3A: $info_box = json_decode(json_encode($box), FALSE); goto ip7Uk; Zampx: $where = "jenjang=2 OR jenjang=1"; goto zV2Ul; JYtuK: $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 p2a3A; o7Crn: goto hXce8; goto rwRhA; v2e3f: goto hXce8; goto hrzSO; QyrYC: $where = ''; goto x7r2U; Sxsi5: $where = "jenjang=0 OR jenjang=1"; goto v2e3f; x7r2U: if ($setting->jenjang == "1") { goto lA2_4; } goto S92of; ip7Uk: return $info_box; goto kYbxP; kYbxP: } public function guru_box($setting) { goto aoH72; h3BEo: if ($setting->jenjang == "2") { goto Xv1T0; } goto ocwq5; Vh8vm: Zc7gd: goto UG1gB; nJeuY: Xv1T0: goto paZ9f; UG1gB: $where = "jenjang=0 OR jenjang=1"; goto nwOqf; nwOqf: goto eb1kC; goto nJeuY; ENWME: eb1kC: goto LJPkI; t6BXe: if ($setting->jenjang == "1") { goto Zc7gd; } goto h3BEo; LJPkI: $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 l3vqd; paZ9f: $where = "jenjang=2 OR jenjang=1"; goto ENWME; wVe91: return $info_box; goto EIyh6; aoH72: $where = ''; goto t6BXe; l3vqd: $info_box = json_decode(json_encode($box), FALSE); goto wVe91; ocwq5: goto eb1kC; goto Vh8vm; EIyh6: } public function ujian_box() { goto PlsHx; mUkEo: return $info_box; goto bS7KD; PlsHx: $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 rUJQd; rUJQd: $info_box = json_decode(json_encode($box), FALSE); goto mUkEo; bS7KD: } public function menu_siswa_box() { goto pe1Fa; Ry922: $info_box = json_decode(json_encode($box), FALSE); goto v9JwE; v9JwE: return $info_box; goto xBxAx; pe1Fa: $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 Ry922; xBxAx: } public function index() { goto nX3Zz; xKxI0: Sz9YJ: goto KW1bc; roDcu: goto s8Vjh; goto KGwnZ; T748f: $this->load->view("members/siswa/dashboard"); goto aT7g6; tmtCG: if ($this->ion_auth->is_admin()) { goto inThY; } goto ta5N0; owOGP: KjP6p: goto roUeH; IbcJ5: if ($guru == null) { goto dnE_t; } goto GgOdd; phaYr: $data["ada_ujian"] = $this->cbt->getDataJadwalByTgl(date("Y-m-d")); goto TSXv7; mS2Mr: $this->load->view("_templates/dashboard/_footer"); goto YU2xJ; NV4mC: $data["tp"] = $this->dashboard->getTahun(); goto Vi1qy; XCo5Y: FmU1w: goto XNc2Q; lbvSt: $data["info_box"] = $this->admin_box($setting, $tp->id_tp, $smt->id_smt); goto H97My; PBlUE: $this->load->view("_templates/dashboard/_header", $data); goto LTsUy; xJANC: $tkn["auto"] = "0"; goto bOtKu; l9ZDq: $this->load->view("disable_login", $data); goto qNOqT; lDKbM: foreach ($kbms as $kbm) { $kbm->istirahat = unserialize($kbm->istirahat); LA8Wh: } goto owOGP; EuJjc: foreach ($tglJadwals as $tgl => $jadwalss) { goto JeTgd; JeTgd: foreach ($jadwalss as $mpl => $jadwals) { goto AznQK; AznQK: foreach ($jadwals as $jadwal) { goto s25L3; y5xB4: WO9ha: goto yYXuz; yYXuz: XmbP0: goto AGhRb; Sbctd: foreach ($jadwal->bank_kelas as $kb) { goto vgHB1; T8szs: m3INg: goto WmLFE; vgHB1: if (!($kb["kelas_id"] != '')) { goto m3INg; } goto epZ0v; WmLFE: gfSv2: goto DtL4z; Tbzk0: $jadwal->peserta[] = $p; goto T8szs; epZ0v: $p = $this->cbt->getKelasUjian($kb["kelas_id"]); goto Tbzk0; DtL4z: } goto y5xB4; s25L3: $jadwal->bank_kelas = unserialize($jadwal->bank_kelas); goto Sbctd; AGhRb: } goto bBRHJ; bBRHJ: ekJWV: goto UeM5m; UeM5m: uMwiD: goto HTokM; HTokM: } goto YbP4V; I3vUR: Y12_2: goto MI0Nh; YbP4V: u8mXc: goto I3vUR; MI0Nh: } goto uPhdM; fofK3: $day = date("N", strtotime(date("Y-m-d"))); goto dUOk7; b3Hce: foreach ($jadwal as $key => $item) { $arrJadwalKelas[$item->id_kelas][$item->jam_ke] = $item; yHpU8: } goto a4oqG; ipf2B: s8Vjh: goto xKxI0; Xojhm: $this->load->view("members/siswa/templates/header", $data); goto T748f; HJmrJ: $this->load->view("members/guru/dashboard"); goto qW7UO; fQwfk: $data["jadwals_ujian"] = $tglJadwals; goto V1zkw; roUeH: $arrJadwalKelas = []; goto b3Hce; gcwBT: $this->load->view("members/guru/templates/header", $data); goto HJmrJ; fkrAV: $data["kbms"] = $arrKbm; goto UbuIC; OaDRY: $data["guru"] = $guru; goto gcwBT; cdRX7: $this->load->view("disable_login", $data); goto ipf2B; KCp2n: $data["gurus"] = $this->dropdown->getAllGuru(); goto tmtCG; gRfm0: goto RrHDd; goto YVVgB; LTsUy: $this->load->view("dashboard"); goto mS2Mr; zPl9c: inThY: goto lbvSt; TSXv7: $data["jadwals"] = $arrJadwalKelas; goto fkrAV; TySXp: $data["menu"] = $this->menu_siswa_box(); goto nT6Y5; WPuF0: $data["token"] = $token != null ? $token : json_decode(json_encode($tkn)); goto phaYr; bOtKu: $tkn["jarak"] = "1"; goto JxUnN; uPhdM: f9XsI: goto fQwfk; xr_JG: Uzb6L: goto Sr4HS; x7Frx: $data["siswa"] = $siswa; goto TySXp; rbuFQ: if (!($tp != null)) { goto AO9YH; } goto rTmpU; NCCwc: $data["ujian_box"] = $this->ujian_box(); goto OaDRY; a4oqG: gmfpJ: goto PrNEf; nX3Zz: $setting = $this->dashboard->getSetting(); goto MdAsG; yAsU0: $tglJadwals = $this->cbt->getAllJadwalByJenis(null, $tp->id_tp, $smt->id_smt); goto EuJjc; F6boe: $tkn["token"] = ''; goto xJANC; ta5N0: if ($this->ion_auth->in_group("guru")) { goto xdvmn; } goto Jg3pe; rTmpU: $kelass = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto PmnVN; PVXSh: $token = $this->cbt->getToken(); goto F6boe; LzVyh: $data["kelases"] = $kelass; goto fofK3; BBFCp: $data["jadwals"] = $arrJadwalKelas[$siswa->id_kelas] ?? []; goto bRhFU; N590A: $guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto IbcJ5; AyptK: $smt = $this->dashboard->getSemesterActive(); goto NV4mC; xYVXr: xdvmn: goto N590A; aT7g6: $this->load->view("members/siswa/templates/footer"); goto roDcu; Vi1qy: $data["tp_active"] = $tp; goto WNJsa; QX0hn: $data["smt_active"] = $smt; goto SnQ58; WNJsa: $data["smt"] = $this->dashboard->getSemester(); goto QX0hn; ol0va: $tp = $this->dashboard->getTahunActive(); goto AyptK; bMzs6: $data["ruangs"] = $this->cbt->getDistinctRuang($tp->id_tp, $smt->id_smt, []); goto KCp2n; dUOk7: $jadwal = $this->dashboard->loadJadwalHariIni($tp->id_tp, $smt->id_smt, null, $day); goto yLEDp; YVVgB: dnE_t: goto l9ZDq; H6k_b: $siswa = $this->dashboard->getDataSiswa($user->username, $tp->id_tp, $smt->id_smt); goto dS5go; V1zkw: $data["pengawas"] = $this->cbt->getAllPengawas($tp->id_tp, $smt->id_smt, null, null); goto bMzs6; qNOqT: RrHDd: goto XCo5Y; YU2xJ: goto FmU1w; goto xYVXr; dS5go: if ($siswa == null) { goto ru90t; } goto x7Frx; PrNEf: $arrKbm = []; goto hkNo_; hkNo_: foreach ($kbms as $key => $item) { $arrKbm[$item->id_kelas] = $item; ThmR9: } goto xr_JG; GgOdd: $data["info_box"] = $this->admin_box($setting, $tp->id_tp, $smt->id_smt); goto NCCwc; JxUnN: $tkn["elapsed"] = "00:00:00"; goto WPuF0; SnQ58: $kelass = []; goto rbuFQ; qW7UO: $this->load->view("members/guru/templates/footer"); goto gRfm0; XNc2Q: goto Sz9YJ; goto po_Lu; po_Lu: kAxoz: goto H6k_b; yLEDp: $kbms = $this->dashboard->getJadwalKbm($tp->id_tp, $smt->id_smt); goto lDKbM; PmnVN: AO9YH: goto LzVyh; mEN1o: $data = ["user" => $user, "judul" => "Beranda", "subjudul" => "Halaman Utama", "setting" => $setting]; goto ol0va; rxrT9: $data["profile"] = $this->dashboard->getProfileAdmin($user->id); goto PBlUE; MdAsG: $user = $this->ion_auth->user()->row(); goto mEN1o; bRhFU: $data["running_text"] = $this->dashboard->getRunningText(); goto Xojhm; KGwnZ: ru90t: goto cdRX7; Jg3pe: goto FmU1w; goto zPl9c; H97My: $data["ujian_box"] = $this->ujian_box(); goto rxrT9; Sr4HS: if ($this->ion_auth->in_group("siswa")) { goto kAxoz; } goto PVXSh; UbuIC: $data["mapels"] = $this->master->getAllMapel(); goto yAsU0; nT6Y5: $data["kbms"] = $arrKbm[$siswa->id_kelas] ?? null; goto BBFCp; KW1bc: } public function checkTokenJadwal() { goto PW_hw; tpD0R: $token->now = date("d-m-Y H:i:s"); goto Cxmso; Cxmso: $data["token"] = $token; goto ECMXH; iCnUC: $token = $this->cbt->getToken(); goto tpD0R; ECMXH: $this->output_json($data); goto U6mLY; PW_hw: $data["ada_ujian"] = $this->cbt->getDataJadwalByTgl(date("Y-m-d")); goto iCnUC; U6mLY: } public function output_json($data, $encode = true) { goto spD22; kMr_A: $data = json_encode($data); goto MsUYl; MsUYl: ulcUQ: goto YE4Q7; spD22: if (!$encode) { goto ulcUQ; } goto kMr_A; YE4Q7: $this->output->set_content_type("application/json")->set_output($data); goto I0DAL; I0DAL: } public function gantiTahun() { goto MWtvS; r7t7E: goto zMNAO; goto YZWiQ; B8l9C: $this->output_json($data); goto IEsLI; sApHX: $id_tp = $this->input->post("id_tp[" . $i . "]", true); goto mDPhc; MDauU: bfXyE: goto taasY; taasY: if (!($i <= $rows)) { goto UDvwG; } goto sApHX; yJUd6: $data["update"] = $update; goto D8qKz; yj4kX: zMNAO: goto RAXGP; EUDSC: $this->dashboard->update("master_tp", $update, "id_tp", null, true); goto yJUd6; HwN2I: $this->logging->saveLog(4, "mengganti tahun ajaran aktif"); goto B8l9C; zvi7u: LWOq1: goto ZltPD; XZViQ: $active = 0; goto r7t7E; aCvHY: $active = 1; goto yj4kX; Ezccr: goto bfXyE; goto NyEve; mDPhc: $tahun = $this->input->post("tahun[" . $i . "]", true); goto pdhi0; RAXGP: $update[] = array("id_tp" => $id_tp, "tahun" => $tahun, "active" => $active); goto zvi7u; ZltPD: $i++; goto Ezccr; YRWP6: $rows = count($this->input->post("tahun", true)); goto XhCov; MWtvS: $aktif = $this->input->post("active", true); goto YRWP6; YZWiQ: dlsTu: goto aCvHY; XhCov: $i = 0; goto MDauU; D8qKz: $data["status"] = true; goto HwN2I; pdhi0: if ($id_tp === $aktif) { goto dlsTu; } goto XZViQ; NyEve: UDvwG: goto EUDSC; IEsLI: } public function gantiSemester() { goto XffTH; FoNeq: $i = 1; goto Q7BUg; NreIS: goto WDNxo; goto mmd_P; XffTH: $aktif = $this->input->post("active", true); goto w2jXO; Oht40: if (!($i <= $rows)) { goto F63Gl; } goto M7NSh; w2jXO: $rows = count($this->input->post("smt", true)); goto FoNeq; ZthGk: $data["update"] = $update; goto pWtnn; PRbVH: $active = 0; goto eas9L; j5Fuu: if ($id_smt === $aktif) { goto jlrdW; } goto PRbVH; phihX: $active = 1; goto l89co; M7NSh: $id_smt = $this->input->post("id_smt[" . $i . "]", true); goto lDq_g; tz3fZ: jlrdW: goto phihX; l89co: rhXWJ: goto k5v4q; S7n0J: $this->logging->saveLog(4, "mengganti semester aktif"); goto jqfi0; mmd_P: F63Gl: goto ecbAT; w7t1h: $i++; goto NreIS; k5v4q: $update[] = array("id_smt" => $id_smt, "smt" => $smt, "active" => $active); goto sTk1l; pWtnn: $data["status"] = true; goto S7n0J; jqfi0: $this->output_json($data); goto TWuYt; Q7BUg: WDNxo: goto Oht40; eas9L: goto rhXWJ; goto tz3fZ; ecbAT: $this->dashboard->update("master_smt", $update, "id_smt", null, true); goto ZthGk; lDq_g: $smt = $this->input->post("smt[" . $i . "]", true); goto j5Fuu; sTk1l: n4MU4: goto w7t1h; TWuYt: } public function getNotifikasi() { } public function getLog($limit) { $this->output_json($this->logging->loadAktifitas($limit)); } public function hapusLog() { goto rzO0n; uRMPw: $this->db->trans_complete(); goto st9br; iPESS: goto DZxNi; goto PaFVf; wunHz: DZxNi: goto uRMPw; rzO0n: $this->db->trans_start(); goto nC_Fd; TLzjK: $deleted = ["status" => false, "message" => "gagal"]; goto iPESS; P20SN: $deleted = ["status" => true, "message" => "berhasil"]; goto wunHz; st9br: $this->output_json($deleted); goto FVzAm; nC_Fd: if ($this->db->empty_table("log")) { goto dU8P2; } goto TLzjK; PaFVf: dU8P2: goto P20SN; FVzAm: } 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 sbaw4; I5XYm: $smt = $this->dashboard->getSemesterActive(); goto NNBRP; NNBRP: $this->output_json($this->dashboard->loadJadwalHariIni($tp->id_tp, $smt->id_smt, $id_kelas, $id_hari)); goto T8BPr; sbaw4: $tp = $this->dashboard->getTahunActive(); goto I5XYm; T8BPr: } public function getJadwalKbm($id_kelas) { goto M9yT0; dqcYj: $smt = $this->dashboard->getSemesterActive(); goto nVZSp; YpWnS: $istirahat = unserialize($jadwal->istirahat); goto iOW1f; M9yT0: $tp = $this->dashboard->getTahunActive(); goto dqcYj; nVZSp: $jadwal = $this->dashboard->getJadwalKbm($tp->id_tp, $smt->id_smt, $id_kelas); goto YpWnS; iOW1f: $this->output_json(array("jadwal" => $jadwal, "istirahat" => $istirahat)); goto xJv5Z; xJv5Z: } } 
 ?>

Did this file decode correctly?

Original Code

<?php
/*   ________________________________________
    |                 GarudaCBT              |
    |    https://github.com/garudacbt/cbt    |
    |________________________________________|
*/
 defined("\x42\101\123\105\120\101\124\110") or exit("\116\157\x20\144\x69\162\x65\x63\164\40\163\x63\162\151\x70\x74\40\141\143\143\x65\163\163\40\x61\x6c\x6c\157\167\145\x64"); class Dashboard extends CI_Controller { public function __construct() { goto Bv4gd; dldnG: if ($this->ion_auth->logged_in()) { goto V5tvb; } goto qJSaJ; jBxoH: $this->load->model("\104\x61\x73\x68\x62\157\141\x72\144\x5f\155\157\x64\x65\x6c", "\x64\x61\x73\x68\142\x6f\x61\162\x64"); goto DrK6h; DrK6h: $this->load->model("\114\157\147\x5f\x6d\x6f\x64\x65\154", "\x6c\157\x67\x67\151\x6e\x67"); goto a0e2W; a0e2W: $this->load->model("\104\x72\157\x70\x64\x6f\x77\x6e\x5f\x6d\x6f\144\x65\x6c", "\144\x72\x6f\x70\144\157\167\156"); goto K81jA; tybu5: V5tvb: goto OIiVv; K81jA: $this->load->model("\x43\142\x74\x5f\155\x6f\144\145\x6c", "\143\142\164"); goto d5su9; OIiVv: $this->load->model("\x4d\x61\x73\164\x65\x72\x5f\155\157\144\145\x6c", "\155\141\163\x74\x65\x72"); goto jBxoH; Bv4gd: parent::__construct(); goto dldnG; qJSaJ: redirect("\x61\165\x74\150"); goto tybu5; d5su9: } public function admin_box($setting, $tp, $smt) { goto QyrYC; S92of: if ($setting->jenjang == "\62") { goto gvjIi; } goto o7Crn; zV2Ul: hXce8: goto JYtuK; hrzSO: gvjIi: goto Zampx; rwRhA: lA2_4: goto Sxsi5; p2a3A: $info_box = json_decode(json_encode($box), FALSE); goto ip7Uk; Zampx: $where = "\152\x65\156\152\x61\156\x67\x3d\x32\40\x4f\x52\40\x6a\x65\156\152\141\156\x67\x3d\x31"; goto zV2Ul; JYtuK: $box = [["\142\x6f\170" => "\x62\x6c\165\145", "\x74\157\164\141\x6c" => $this->dashboard->total("\x6d\141\x73\x74\145\162\x5f\163\151\163\x77\141"), "\x74\x69\164\x6c\145" => "\123\151\163\x77\141", "\x75\162\x6c" => "\144\141\x74\141\163\x69\163\x77\x61", "\151\143\157\156" => "\165\163\145\162\163"], ["\x62\157\x78" => "\143\x79\141\x6e", "\164\157\164\141\x6c" => $this->dashboard->total("\x6d\x61\163\164\145\x72\x5f\153\x65\x6c\x61\163", "\151\x64\x5f\164\x70\75" . $tp . "\40\101\116\x44\x20\151\144\137\163\x6d\x74\x3d" . $smt), "\164\x69\164\154\x65" => "\122\x6f\x6d\142\145\154", "\165\x72\154" => "\x64\141\x74\141\x6b\x65\x6c\x61\x73", "\x69\x63\157\156" => "\x62\145\x6c\x6c"], ["\142\x6f\x78" => "\164\145\x61\x6c", "\164\157\x74\x61\154" => $this->dashboard->total("\155\141\x73\164\x65\x72\137\x67\x75\162\x75"), "\x74\x69\164\154\145" => "\107\x75\x72\x75", "\165\162\x6c" => "\144\x61\164\141\x67\165\162\x75", "\151\x63\157\x6e" => "\165\163\145\162"], ["\142\157\170" => "\146\x75\x63\x68\x73\x69\x61", "\x74\157\x74\x61\x6c" => $this->dashboard->totalWaliKelas($tp, $smt), "\164\151\x74\x6c\x65" => "\x57\x61\x6c\x69\x20\113\x65\x6c\x61\163", "\x75\162\x6c" => "\144\141\164\x61\x67\165\162\x75", "\151\x63\x6f\156" => "\x75\163\145\x72"], ["\x62\157\170" => "\163\x75\x63\143\145\x73\163", "\164\157\x74\141\154" => $this->dashboard->total("\x6d\141\x73\x74\x65\x72\137\x6d\x61\160\x65\154", $where), "\x74\x69\164\x6c\x65" => "\x4d\141\x70\145\154", "\165\x72\x6c" => "\x64\141\x74\x61\155\141\x70\145\x6c", "\x69\x63\x6f\156" => "\142\157\x6f\x6b"], ["\x62\x6f\170" => "\171\x65\154\x6c\157\x77", "\x74\x6f\164\141\x6c" => $this->dashboard->total("\155\x61\x73\x74\145\162\x5f\x65\x6b\163\x74\x72\141"), "\164\x69\x74\x6c\x65" => "\105\153\x73\x74\162\x61\x6b\x75\162\x69\x6b\165\x6c\x65\x72", "\165\x72\x6c" => "\x64\x61\164\x61\x65\x6b\163\x74\x72\x61", "\151\x63\x6f\x6e" => "\142\x6f\157\x6b"]]; goto p2a3A; o7Crn: goto hXce8; goto rwRhA; v2e3f: goto hXce8; goto hrzSO; QyrYC: $where = ''; goto x7r2U; Sxsi5: $where = "\x6a\145\x6e\x6a\x61\156\x67\75\x30\40\x4f\x52\x20\x6a\145\156\152\x61\156\147\75\61"; goto v2e3f; x7r2U: if ($setting->jenjang == "\x31") { goto lA2_4; } goto S92of; ip7Uk: return $info_box; goto kYbxP; kYbxP: } public function guru_box($setting) { goto aoH72; h3BEo: if ($setting->jenjang == "\62") { goto Xv1T0; } goto ocwq5; Vh8vm: Zc7gd: goto UG1gB; nJeuY: Xv1T0: goto paZ9f; UG1gB: $where = "\152\x65\156\152\x61\x6e\147\75\60\x20\117\122\40\152\x65\156\152\x61\156\147\x3d\x31"; goto nwOqf; nwOqf: goto eb1kC; goto nJeuY; ENWME: eb1kC: goto LJPkI; t6BXe: if ($setting->jenjang == "\x31") { goto Zc7gd; } goto h3BEo; LJPkI: $box = [["\142\157\x78" => "\164\145\141\154", "\x74\157\x74\141\154" => $this->dashboard->total("\155\x61\x73\x74\145\162\137\x6b\145\x6c\141\163"), "\164\x69\164\154\145" => "\122\x6f\x6d\142\145\x6c", "\x69\x63\157\x6e" => "\x75\163\145\162"], ["\142\x6f\x78" => "\142\154\165\x65", "\164\157\x74\141\x6c" => $this->dashboard->total("\155\x61\163\164\x65\x72\x5f\163\151\x73\x77\141"), "\x74\x69\164\154\x65" => "\123\151\163\x77\x61", "\151\x63\157\156" => "\165\x73\x65\x72\163"], ["\x62\157\170" => "\146\165\143\x68\163\x69\x61", "\x74\157\164\141\x6c" => $this->dashboard->total("\155\141\163\x74\145\x72\x5f\x67\165\162\x75"), "\x74\151\164\x6c\x65" => "\x47\x75\x72\165", "\x69\143\x6f\156" => "\x75\163\x65\x72"], ["\x62\x6f\x78" => "\163\165\x63\143\145\x73\163", "\164\157\164\x61\x6c" => $this->dashboard->total("\x6d\x61\x73\164\x65\x72\137\155\141\x70\x65\154", $where), "\x74\151\164\154\145" => "\115\141\x70\145\x6c", "\151\x63\157\156" => "\x62\157\x6f\153"]]; goto l3vqd; paZ9f: $where = "\152\x65\x6e\x6a\x61\x6e\x67\x3d\x32\x20\117\122\x20\x6a\145\156\x6a\141\x6e\x67\x3d\x31"; goto ENWME; wVe91: return $info_box; goto EIyh6; aoH72: $where = ''; goto t6BXe; l3vqd: $info_box = json_decode(json_encode($box), FALSE); goto wVe91; ocwq5: goto eb1kC; goto Vh8vm; EIyh6: } public function ujian_box() { goto PlsHx; mUkEo: return $info_box; goto bS7KD; PlsHx: $box = [["\142\x6f\x78" => "\x69\x6e\144\x69\x67\157", "\x74\157\164\141\154" => $this->dashboard->total("\143\x62\x74\x5f\162\165\141\x6e\x67"), "\164\x69\164\154\x65" => "\x52\x75\141\x6e\147\x20\x55\152\x69\141\x6e", "\165\162\x6c" => "\x63\142\164\x72\x75\141\x6e\147", "\151\143\x6f\x6e" => "\163\x63\x68\x6f\157\154"], ["\142\x6f\x78" => "\x6d\x61\x72\x6f\x6f\156", "\164\x6f\164\x61\x6c" => $this->dashboard->total("\143\142\x74\137\x73\145\x73\x69"), "\164\x69\x74\154\x65" => "\123\145\x73\151", "\165\162\x6c" => "\143\142\164\x73\x65\x73\x69", "\151\x63\157\x6e" => "\143\154\x6f\143\153"], ["\x62\x6f\170" => "\x67\x72\145\145\x6e", "\164\x6f\x74\141\x6c" => $this->dashboard->total("\x63\x62\x74\137\x62\141\156\x6b\137\x73\x6f\x61\154"), "\x74\x69\164\x6c\x65" => "\102\x61\x6e\x6b\x20\123\157\x61\x6c", "\165\x72\154" => "\143\142\164\x62\x61\156\x6b\163\157\141\x6c", "\151\143\x6f\156" => "\146\x6f\154\x64\145\162"], ["\142\x6f\170" => "\x74\145\141\x6c", "\x74\x6f\x74\141\x6c" => $this->dashboard->totalJadwal(), "\164\x69\164\x6c\145" => "\x4a\141\144\167\141\x6c", "\x75\x72\154" => "\x63\x62\164\152\x61\144\167\x61\x6c", "\x69\x63\157\156" => "\143\154\x6f\143\153"]]; goto rUJQd; rUJQd: $info_box = json_decode(json_encode($box), FALSE); goto mUkEo; bS7KD: } public function menu_siswa_box() { goto pe1Fa; Ry922: $info_box = json_decode(json_encode($box), FALSE); goto v9JwE; v9JwE: return $info_box; goto xBxAx; pe1Fa: $box = [["\x74\151\x74\154\x65" => "\112\141\144\x77\x61\154\40\120\145\154\141\x6a\141\162\141\156", "\x69\143\157\156" => "\x69\143\137\157\156\x6c\x69\x6e\145\56\160\x6e\147", "\154\151\x6e\x6b" => "\163\151\x73\x77\141\57\x6a\x61\144\167\141\x6c\x70\x65\x6c\x61\x6a\141\x72\x61\156"], ["\x74\x69\164\154\145" => "\115\x61\x74\145\x72\x69", "\x69\x63\157\x6e" => "\151\x63\137\x65\x6c\x65\141\162\x6e\x69\x6e\147\x2e\160\156\147", "\154\x69\x6e\153" => "\163\151\163\x77\141\57\155\141\x74\x65\x72\x69"], ["\x74\151\164\x6c\x65" => "\x54\165\x67\141\x73", "\151\143\x6f\156" => "\151\x63\137\x71\x75\145\163\164\x69\157\156\x73\x2e\x70\156\147", "\154\x69\156\x6b" => "\x73\151\163\x77\141\57\x74\x75\147\141\163"], ["\164\151\x74\x6c\145" => "\125\152\151\141\x6e\x20\57\40\x55\x6c\x61\156\x67\141\156", "\151\143\x6f\x6e" => "\x69\143\137\x71\x75\x65\x73\164\151\x6f\156\x2e\160\x6e\147", "\154\151\156\153" => "\x73\151\x73\167\x61\57\x63\x62\164"], ["\164\x69\x74\154\145" => "\x4e\x69\x6c\141\151\40\110\x61\163\x69\154", "\151\143\x6f\156" => "\x69\x63\x5f\145\x78\x61\x6d\x2e\x70\156\147", "\154\151\x6e\153" => "\163\x69\163\167\x61\x2f\150\141\x73\x69\x6c"], ["\x74\x69\x74\154\x65" => "\x41\x62\x73\x65\x6e\163\151", "\x69\x63\x6f\156" => "\x69\143\137\x63\x6c\151\160\142\x6f\x61\162\144\x2e\x70\156\x67", "\x6c\x69\156\x6b" => "\163\x69\x73\x77\x61\57\153\145\150\x61\x64\151\162\141\156"], ["\164\x69\x74\154\x65" => "\x43\141\x74\x61\x74\141\x6e\40\x47\x75\x72\x75", "\x69\143\x6f\x6e" => "\151\x63\137\x73\164\x75\x64\145\x6e\x74\x2e\160\x6e\147", "\154\151\x6e\x6b" => "\163\151\x73\x77\x61\x2f\x63\x61\x74\x61\x74\141\156"]]; goto Ry922; xBxAx: } public function index() { goto nX3Zz; xKxI0: Sz9YJ: goto KW1bc; roDcu: goto s8Vjh; goto KGwnZ; T748f: $this->load->view("\155\145\x6d\x62\145\x72\163\57\x73\151\163\x77\x61\x2f\x64\141\x73\150\x62\157\x61\x72\144"); goto aT7g6; tmtCG: if ($this->ion_auth->is_admin()) { goto inThY; } goto ta5N0; owOGP: KjP6p: goto roUeH; IbcJ5: if ($guru == null) { goto dnE_t; } goto GgOdd; phaYr: $data["\x61\x64\x61\x5f\165\152\151\x61\x6e"] = $this->cbt->getDataJadwalByTgl(date("\x59\x2d\x6d\55\x64")); goto TSXv7; mS2Mr: $this->load->view("\x5f\x74\145\155\160\154\x61\164\145\x73\x2f\144\x61\163\x68\142\x6f\141\162\144\57\137\x66\x6f\x6f\x74\145\x72"); goto YU2xJ; NV4mC: $data["\164\160"] = $this->dashboard->getTahun(); goto Vi1qy; XCo5Y: FmU1w: goto XNc2Q; lbvSt: $data["\151\x6e\x66\x6f\x5f\142\x6f\x78"] = $this->admin_box($setting, $tp->id_tp, $smt->id_smt); goto H97My; PBlUE: $this->load->view("\137\164\145\x6d\160\154\x61\164\145\163\x2f\x64\141\163\150\x62\157\x61\x72\x64\x2f\137\x68\145\x61\x64\145\162", $data); goto LTsUy; xJANC: $tkn["\141\165\x74\x6f"] = "\x30"; goto bOtKu; l9ZDq: $this->load->view("\144\x69\163\x61\142\x6c\145\137\154\x6f\147\151\156", $data); goto qNOqT; lDKbM: foreach ($kbms as $kbm) { $kbm->istirahat = unserialize($kbm->istirahat); LA8Wh: } goto owOGP; EuJjc: foreach ($tglJadwals as $tgl => $jadwalss) { goto JeTgd; JeTgd: foreach ($jadwalss as $mpl => $jadwals) { goto AznQK; AznQK: foreach ($jadwals as $jadwal) { goto s25L3; y5xB4: WO9ha: goto yYXuz; yYXuz: XmbP0: goto AGhRb; Sbctd: foreach ($jadwal->bank_kelas as $kb) { goto vgHB1; T8szs: m3INg: goto WmLFE; vgHB1: if (!($kb["\x6b\145\x6c\141\163\x5f\151\144"] != '')) { goto m3INg; } goto epZ0v; WmLFE: gfSv2: goto DtL4z; Tbzk0: $jadwal->peserta[] = $p; goto T8szs; epZ0v: $p = $this->cbt->getKelasUjian($kb["\153\x65\154\141\163\137\151\144"]); goto Tbzk0; DtL4z: } goto y5xB4; s25L3: $jadwal->bank_kelas = unserialize($jadwal->bank_kelas); goto Sbctd; AGhRb: } goto bBRHJ; bBRHJ: ekJWV: goto UeM5m; UeM5m: uMwiD: goto HTokM; HTokM: } goto YbP4V; I3vUR: Y12_2: goto MI0Nh; YbP4V: u8mXc: goto I3vUR; MI0Nh: } goto uPhdM; fofK3: $day = date("\116", strtotime(date("\131\x2d\155\x2d\x64"))); goto dUOk7; b3Hce: foreach ($jadwal as $key => $item) { $arrJadwalKelas[$item->id_kelas][$item->jam_ke] = $item; yHpU8: } goto a4oqG; ipf2B: s8Vjh: goto xKxI0; Xojhm: $this->load->view("\155\145\155\x62\145\162\163\x2f\163\151\x73\x77\141\57\x74\145\155\160\154\141\164\x65\x73\57\x68\145\141\144\x65\162", $data); goto T748f; HJmrJ: $this->load->view("\155\145\155\142\145\x72\x73\x2f\147\165\x72\165\57\144\141\163\x68\142\x6f\141\x72\x64"); goto qW7UO; fQwfk: $data["\x6a\141\x64\167\x61\154\x73\x5f\165\x6a\151\141\x6e"] = $tglJadwals; goto V1zkw; roUeH: $arrJadwalKelas = []; goto b3Hce; gcwBT: $this->load->view("\x6d\x65\155\x62\x65\162\163\x2f\147\x75\x72\x75\x2f\x74\x65\155\x70\154\141\x74\145\x73\x2f\150\x65\x61\x64\145\162", $data); goto HJmrJ; fkrAV: $data["\153\142\x6d\163"] = $arrKbm; goto UbuIC; OaDRY: $data["\x67\x75\162\165"] = $guru; goto gcwBT; cdRX7: $this->load->view("\x64\x69\x73\x61\142\x6c\x65\137\x6c\x6f\x67\x69\x6e", $data); goto ipf2B; KCp2n: $data["\147\165\x72\x75\x73"] = $this->dropdown->getAllGuru(); goto tmtCG; gRfm0: goto RrHDd; goto YVVgB; LTsUy: $this->load->view("\144\141\163\150\142\157\x61\162\144"); goto mS2Mr; zPl9c: inThY: goto lbvSt; TSXv7: $data["\x6a\x61\x64\x77\141\x6c\163"] = $arrJadwalKelas; goto fkrAV; TySXp: $data["\155\145\156\x75"] = $this->menu_siswa_box(); goto nT6Y5; WPuF0: $data["\x74\x6f\x6b\145\156"] = $token != null ? $token : json_decode(json_encode($tkn)); goto phaYr; bOtKu: $tkn["\152\x61\x72\x61\x6b"] = "\x31"; goto JxUnN; uPhdM: f9XsI: goto fQwfk; xr_JG: Uzb6L: goto Sr4HS; x7Frx: $data["\x73\x69\163\167\x61"] = $siswa; goto TySXp; rbuFQ: if (!($tp != null)) { goto AO9YH; } goto rTmpU; NCCwc: $data["\165\x6a\151\141\156\137\x62\157\170"] = $this->ujian_box(); goto OaDRY; a4oqG: gmfpJ: goto PrNEf; nX3Zz: $setting = $this->dashboard->getSetting(); goto MdAsG; yAsU0: $tglJadwals = $this->cbt->getAllJadwalByJenis(null, $tp->id_tp, $smt->id_smt); goto EuJjc; F6boe: $tkn["\164\157\153\x65\156"] = ''; goto xJANC; ta5N0: if ($this->ion_auth->in_group("\x67\x75\x72\165")) { goto xdvmn; } goto Jg3pe; rTmpU: $kelass = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto PmnVN; PVXSh: $token = $this->cbt->getToken(); goto F6boe; LzVyh: $data["\153\145\x6c\x61\163\145\163"] = $kelass; goto fofK3; BBFCp: $data["\152\141\x64\x77\141\x6c\x73"] = $arrJadwalKelas[$siswa->id_kelas] ?? []; goto bRhFU; N590A: $guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto IbcJ5; AyptK: $smt = $this->dashboard->getSemesterActive(); goto NV4mC; xYVXr: xdvmn: goto N590A; aT7g6: $this->load->view("\x6d\x65\x6d\x62\x65\x72\163\57\x73\151\x73\x77\x61\57\x74\x65\155\160\x6c\141\x74\145\x73\57\x66\x6f\157\x74\145\x72"); goto roDcu; Vi1qy: $data["\164\x70\x5f\x61\x63\164\151\166\x65"] = $tp; goto WNJsa; QX0hn: $data["\163\x6d\x74\x5f\141\143\x74\151\x76\145"] = $smt; goto SnQ58; WNJsa: $data["\163\155\164"] = $this->dashboard->getSemester(); goto QX0hn; ol0va: $tp = $this->dashboard->getTahunActive(); goto AyptK; bMzs6: $data["\x72\x75\141\156\x67\163"] = $this->cbt->getDistinctRuang($tp->id_tp, $smt->id_smt, []); goto KCp2n; dUOk7: $jadwal = $this->dashboard->loadJadwalHariIni($tp->id_tp, $smt->id_smt, null, $day); goto yLEDp; YVVgB: dnE_t: goto l9ZDq; H6k_b: $siswa = $this->dashboard->getDataSiswa($user->username, $tp->id_tp, $smt->id_smt); goto dS5go; V1zkw: $data["\x70\145\x6e\x67\141\167\141\x73"] = $this->cbt->getAllPengawas($tp->id_tp, $smt->id_smt, null, null); goto bMzs6; qNOqT: RrHDd: goto XCo5Y; YU2xJ: goto FmU1w; goto xYVXr; dS5go: if ($siswa == null) { goto ru90t; } goto x7Frx; PrNEf: $arrKbm = []; goto hkNo_; hkNo_: foreach ($kbms as $key => $item) { $arrKbm[$item->id_kelas] = $item; ThmR9: } goto xr_JG; GgOdd: $data["\151\156\146\157\137\142\x6f\170"] = $this->admin_box($setting, $tp->id_tp, $smt->id_smt); goto NCCwc; JxUnN: $tkn["\x65\x6c\141\x70\163\x65\x64"] = "\x30\x30\72\x30\60\x3a\60\x30"; goto WPuF0; SnQ58: $kelass = []; goto rbuFQ; qW7UO: $this->load->view("\155\145\155\142\145\162\163\57\x67\x75\162\165\57\x74\x65\155\x70\x6c\x61\x74\x65\163\57\x66\157\x6f\x74\x65\162"); goto gRfm0; XNc2Q: goto Sz9YJ; goto po_Lu; po_Lu: kAxoz: goto H6k_b; yLEDp: $kbms = $this->dashboard->getJadwalKbm($tp->id_tp, $smt->id_smt); goto lDKbM; PmnVN: AO9YH: goto LzVyh; mEN1o: $data = ["\165\x73\145\x72" => $user, "\x6a\165\x64\x75\x6c" => "\x42\145\x72\141\x6e\144\141", "\x73\165\142\x6a\165\144\x75\x6c" => "\x48\141\154\141\155\x61\x6e\40\x55\164\141\155\141", "\163\145\x74\x74\x69\x6e\147" => $setting]; goto ol0va; rxrT9: $data["\x70\162\157\146\x69\154\145"] = $this->dashboard->getProfileAdmin($user->id); goto PBlUE; MdAsG: $user = $this->ion_auth->user()->row(); goto mEN1o; bRhFU: $data["\162\165\156\156\151\x6e\147\137\164\x65\170\164"] = $this->dashboard->getRunningText(); goto Xojhm; KGwnZ: ru90t: goto cdRX7; Jg3pe: goto FmU1w; goto zPl9c; H97My: $data["\x75\x6a\x69\x61\x6e\x5f\x62\157\170"] = $this->ujian_box(); goto rxrT9; Sr4HS: if ($this->ion_auth->in_group("\x73\151\163\167\x61")) { goto kAxoz; } goto PVXSh; UbuIC: $data["\155\141\x70\x65\154\x73"] = $this->master->getAllMapel(); goto yAsU0; nT6Y5: $data["\x6b\x62\x6d\163"] = $arrKbm[$siswa->id_kelas] ?? null; goto BBFCp; KW1bc: } public function checkTokenJadwal() { goto PW_hw; tpD0R: $token->now = date("\144\55\x6d\55\x59\40\110\72\x69\x3a\163"); goto Cxmso; Cxmso: $data["\164\x6f\x6b\x65\x6e"] = $token; goto ECMXH; iCnUC: $token = $this->cbt->getToken(); goto tpD0R; ECMXH: $this->output_json($data); goto U6mLY; PW_hw: $data["\141\x64\x61\x5f\x75\152\151\x61\156"] = $this->cbt->getDataJadwalByTgl(date("\x59\55\155\x2d\144")); goto iCnUC; U6mLY: } public function output_json($data, $encode = true) { goto spD22; kMr_A: $data = json_encode($data); goto MsUYl; MsUYl: ulcUQ: goto YE4Q7; spD22: if (!$encode) { goto ulcUQ; } goto kMr_A; YE4Q7: $this->output->set_content_type("\141\x70\160\154\x69\143\x61\164\x69\x6f\x6e\x2f\152\x73\157\156")->set_output($data); goto I0DAL; I0DAL: } public function gantiTahun() { goto MWtvS; r7t7E: goto zMNAO; goto YZWiQ; B8l9C: $this->output_json($data); goto IEsLI; sApHX: $id_tp = $this->input->post("\151\144\137\164\x70\133" . $i . "\x5d", true); goto mDPhc; MDauU: bfXyE: goto taasY; taasY: if (!($i <= $rows)) { goto UDvwG; } goto sApHX; yJUd6: $data["\x75\160\x64\141\x74\x65"] = $update; goto D8qKz; yj4kX: zMNAO: goto RAXGP; EUDSC: $this->dashboard->update("\155\x61\x73\164\x65\x72\x5f\x74\x70", $update, "\151\x64\x5f\164\x70", null, true); goto yJUd6; HwN2I: $this->logging->saveLog(4, "\155\x65\156\147\x67\x61\156\x74\151\40\x74\x61\x68\x75\x6e\x20\141\152\141\162\x61\x6e\x20\x61\x6b\x74\x69\146"); goto B8l9C; zvi7u: LWOq1: goto ZltPD; XZViQ: $active = 0; goto r7t7E; aCvHY: $active = 1; goto yj4kX; Ezccr: goto bfXyE; goto NyEve; mDPhc: $tahun = $this->input->post("\x74\x61\150\x75\156\133" . $i . "\x5d", true); goto pdhi0; RAXGP: $update[] = array("\151\x64\137\164\x70" => $id_tp, "\164\x61\150\165\156" => $tahun, "\141\143\164\x69\166\145" => $active); goto zvi7u; ZltPD: $i++; goto Ezccr; YRWP6: $rows = count($this->input->post("\x74\141\150\165\x6e", true)); goto XhCov; MWtvS: $aktif = $this->input->post("\141\143\164\151\x76\x65", true); goto YRWP6; YZWiQ: dlsTu: goto aCvHY; XhCov: $i = 0; goto MDauU; D8qKz: $data["\x73\164\x61\164\x75\x73"] = true; goto HwN2I; pdhi0: if ($id_tp === $aktif) { goto dlsTu; } goto XZViQ; NyEve: UDvwG: goto EUDSC; IEsLI: } public function gantiSemester() { goto XffTH; FoNeq: $i = 1; goto Q7BUg; NreIS: goto WDNxo; goto mmd_P; XffTH: $aktif = $this->input->post("\141\143\164\151\166\x65", true); goto w2jXO; Oht40: if (!($i <= $rows)) { goto F63Gl; } goto M7NSh; w2jXO: $rows = count($this->input->post("\163\x6d\164", true)); goto FoNeq; ZthGk: $data["\165\x70\144\141\164\x65"] = $update; goto pWtnn; PRbVH: $active = 0; goto eas9L; j5Fuu: if ($id_smt === $aktif) { goto jlrdW; } goto PRbVH; phihX: $active = 1; goto l89co; M7NSh: $id_smt = $this->input->post("\x69\x64\137\163\x6d\x74\x5b" . $i . "\135", true); goto lDq_g; tz3fZ: jlrdW: goto phihX; l89co: rhXWJ: goto k5v4q; S7n0J: $this->logging->saveLog(4, "\155\145\156\147\x67\141\x6e\x74\151\x20\x73\x65\155\145\163\x74\x65\162\x20\141\153\164\151\x66"); goto jqfi0; mmd_P: F63Gl: goto ecbAT; w7t1h: $i++; goto NreIS; k5v4q: $update[] = array("\151\x64\137\163\x6d\x74" => $id_smt, "\163\x6d\x74" => $smt, "\141\x63\x74\151\166\145" => $active); goto sTk1l; pWtnn: $data["\x73\164\141\x74\165\163"] = true; goto S7n0J; jqfi0: $this->output_json($data); goto TWuYt; Q7BUg: WDNxo: goto Oht40; eas9L: goto rhXWJ; goto tz3fZ; ecbAT: $this->dashboard->update("\155\141\163\x74\x65\x72\x5f\163\x6d\x74", $update, "\x69\x64\x5f\x73\155\164", null, true); goto ZthGk; lDq_g: $smt = $this->input->post("\x73\155\164\x5b" . $i . "\135", true); goto j5Fuu; sTk1l: n4MU4: goto w7t1h; TWuYt: } public function getNotifikasi() { } public function getLog($limit) { $this->output_json($this->logging->loadAktifitas($limit)); } public function hapusLog() { goto rzO0n; uRMPw: $this->db->trans_complete(); goto st9br; iPESS: goto DZxNi; goto PaFVf; wunHz: DZxNi: goto uRMPw; rzO0n: $this->db->trans_start(); goto nC_Fd; TLzjK: $deleted = ["\163\164\141\x74\165\163" => false, "\155\145\163\x73\x61\147\145" => "\147\141\x67\x61\154"]; goto iPESS; P20SN: $deleted = ["\x73\164\141\x74\165\x73" => true, "\x6d\145\163\163\x61\x67\145" => "\x62\x65\x72\x68\141\163\151\x6c"]; goto wunHz; st9br: $this->output_json($deleted); goto FVzAm; nC_Fd: if ($this->db->empty_table("\x6c\157\147")) { goto dU8P2; } goto TLzjK; PaFVf: dU8P2: goto P20SN; FVzAm: } 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 sbaw4; I5XYm: $smt = $this->dashboard->getSemesterActive(); goto NNBRP; NNBRP: $this->output_json($this->dashboard->loadJadwalHariIni($tp->id_tp, $smt->id_smt, $id_kelas, $id_hari)); goto T8BPr; sbaw4: $tp = $this->dashboard->getTahunActive(); goto I5XYm; T8BPr: } public function getJadwalKbm($id_kelas) { goto M9yT0; dqcYj: $smt = $this->dashboard->getSemesterActive(); goto nVZSp; YpWnS: $istirahat = unserialize($jadwal->istirahat); goto iOW1f; M9yT0: $tp = $this->dashboard->getTahunActive(); goto dqcYj; nVZSp: $jadwal = $this->dashboard->getJadwalKbm($tp->id_tp, $smt->id_smt, $id_kelas); goto YpWnS; iOW1f: $this->output_json(array("\152\x61\x64\x77\141\x6c" => $jadwal, "\151\163\164\151\x72\141\150\141\x74" => $istirahat)); goto xJv5Z; xJv5Z: } }

Function Calls

None

Variables

None

Stats

MD5 6a369bbb7c8dec4ed8b8c5114b53f1bb
Eval Count 0
Decode Time 68 ms