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 class Cbt_model extends CI_Model { public function get_where($table, $pk, $id, $jo..

Decoded Output download

<?php 
 class Cbt_model extends CI_Model { public function get_where($table, $pk, $id, $join = null, $order = null) { goto fO0wB; lK8hY: foreach ($join as $table => $field) { $this->db->join($table, $field); tfCsS: } goto ygEae; Yv3xd: $this->db->where($pk, $id); goto Zonp1; ADo3y: if (!($order !== null)) { goto QXVj1; } goto zx5_f; ygEae: crd_d: goto ccRQg; zbjlw: return $query; goto R81_7; B3rSS: $query = $this->db->get(); goto zbjlw; Zonp1: if (!($join !== null)) { goto zLBs9; } goto lK8hY; OSWN6: QXVj1: goto B3rSS; zx5_f: foreach ($order as $field => $sort) { $this->db->order_by($field, $sort); WTMA3: } goto bLrL5; ccRQg: zLBs9: goto ADo3y; bLrL5: qXoah: goto OSWN6; iMmiD: $this->db->from($table); goto Yv3xd; fO0wB: $this->db->select("*"); goto iMmiD; R81_7: } public function saveLog($id_siswa, $id_jadwal, $type, $desc) { goto X1xnM; vc8cF: FgQBH: goto PNF2C; t_9vY: $os = $this->agent->platform(); goto fF4Kj; VOAYY: ExjSg: goto ZSaDm; lIh2E: K3V7_: goto N8fll; pp2Gv: return $this->insertLog($id_siswa, $id_jadwal, $type, $desc, $agent, $os, $ip); goto UHQ60; QgBTc: $agent = $this->agent->browser() . " " . $this->agent->version(); goto uQtbE; Mzdhc: $agent = "unknown"; goto Ky0gq; PC2y9: if ($agent == "unknown") { goto FgQBH; } goto t_9vY; Ky0gq: goto VDn_X; goto tB74k; N8fll: $agent = $this->agent->mobile(); goto u8Tca; cvhLJ: if ($this->agent->is_mobile()) { goto K3V7_; } goto Mzdhc; fF4Kj: $ip = $this->input->ip_address(); goto pp2Gv; u8Tca: VDn_X: goto PC2y9; uQtbE: goto VDn_X; goto lIh2E; X1xnM: if ($this->agent->is_browser()) { goto a_kTr; } goto cvhLJ; tB74k: a_kTr: goto QgBTc; PNF2C: return "error"; goto VOAYY; UHQ60: goto ExjSg; goto vc8cF; ZSaDm: } private function insertLog($id_siswa, $id_jadwal, $type, $desc, $agent, $os, $ip) { goto po9qH; po9qH: $log = $this->db->where("id_log", $id_siswa . "0" . $id_jadwal . $type)->get("log_ujian")->row(); goto Lj152; HFJfv: $this->db->set("log_desc", $desc); goto ADU6o; UTLkn: nQcJd: goto tucpw; imXN2: $data = array("id_log" => $id_siswa . "0" . $id_jadwal . $type, "id_siswa" => $id_siswa, "id_jadwal" => $id_jadwal, "log_type" => $type, "log_desc" => $desc, "address" => $ip, "agent" => $agent, "device" => $os); goto Xdbw1; e3q_R: goto nQcJd; goto waH1s; waH1s: b49rl: goto wo_Oa; XMt6X: $insert = $this->db->update("log_ujian"); goto UTLkn; wo_Oa: $this->db->set("log_type", $type); goto HFJfv; tucpw: return $insert; goto ffJGU; Lj152: if ($log != null) { goto b49rl; } goto imXN2; ADU6o: $this->db->where("id_log", $id_siswa . "0" . $id_jadwal . $type); goto XMt6X; Xdbw1: $insert = $this->db->insert("log_ujian", $data); goto e3q_R; ffJGU: } public function getDataSiswa($username, $id_tp, $id_smt) { goto N2EZU; GXATv: $this->db->join("master_kelas c", "b.id_kelas=c.id_kelas AND c.id_tp=" . $id_tp . " AND c.id_smt=" . $id_smt, "left"); goto TG5YO; oAggj: $this->db->where("username", $username); goto BgVzH; xy6QA: $this->db->join("kelas_siswa b", "a.id_siswa=b.id_siswa AND b.id_tp=" . $id_tp . " AND b.id_smt=" . $id_smt, "left"); goto GXATv; N2EZU: $this->db->select("a.id_siswa, a.nisn, a.nis, a.nama, a.jenis_kelamin, a.username, a.password, a.agama, a.foto," . " b.id_kelas_siswa, b.id_tp, b.id_smt, b.id_siswa, b.id_kelas," . " c.nama_kelas, c.kode_kelas, c.level_id, " . " d.kelas_id, d.ruang_id, d.sesi_id"); goto rFZI5; SaELe: return $query; goto zGLM8; rFZI5: $this->db->from("master_siswa a"); goto xy6QA; BgVzH: $query = $this->db->get()->row(); goto SaELe; TG5YO: $this->db->join("cbt_sesi_siswa d", "a.id_siswa=d.siswa_id", "left"); goto oAggj; zGLM8: } public function getDataSiswaById($id_tp, $id_smt, $idSiswa) { goto hTz3P; xMD1_: return $this->db->get()->row(); goto aqy5N; D7aGG: $this->db->join("cbt_kelas_ruang h", "h.id_kelas=a.id_kelas", "left"); goto YYOc6; JEK7l: $this->db->where("a.id_smt", $id_smt); goto kwJ69; YYOc6: $this->db->join("cbt_ruang i", "i.id_ruang=h.id_ruang", "left"); goto DA2wG; DA2wG: $this->db->join("cbt_sesi j", "j.id_sesi=h.id_sesi", "left"); goto lUpuy; lMkju: $this->db->join("cbt_ruang d", "d.id_ruang=c.ruang_id", "left"); goto DF4xT; hTz3P: $this->db->select("b.id_siswa, b.nama, b.jenis_kelamin, b.nis, b.nisn, b.username, b.password," . " b.foto, c.sesi_id, d.kode_ruang, e.kode_sesi, f.nama_kelas, g.nomor_peserta," . " h.set_siswa, i.kode_ruang as ruang_kelas, j.kode_sesi as sesi_kelas"); goto zYt3w; zYt3w: $this->db->from("kelas_siswa a"); goto MuTJk; XtEdD: $this->db->join("master_kelas f", "f.id_kelas=a.id_kelas", "left"); goto xa0yi; DF4xT: $this->db->join("cbt_sesi e", "e.id_sesi=c.sesi_id", "left"); goto XtEdD; MuTJk: $this->db->join("master_siswa b", "b.id_siswa=a.id_siswa", "left"); goto qvdlF; lUpuy: $this->db->where("a.id_tp", $id_tp); goto JEK7l; qvdlF: $this->db->join("cbt_sesi_siswa c", "c.siswa_id=a.id_siswa", "left"); goto lMkju; xa0yi: $this->db->join("cbt_nomor_peserta g", "g.id_siswa=a.id_siswa AND g.id_tp=" . $id_tp, "left"); goto D7aGG; kwJ69: $this->db->where("a.id_siswa", $idSiswa); goto xMD1_; aqy5N: } public function getWaktuSesiById($id_sesi) { goto hhUI4; uojWl: $result = $this->db->get("cbt_sesi")->row(); goto h9QLU; zWPeW: $this->db->where("id_sesi", $id_sesi); goto uojWl; hhUI4: $this->db->select("*"); goto zWPeW; h9QLU: return $result; goto Hc47w; Hc47w: } public function getAllRuang() { goto uE87L; EUjOY: return $ret; goto Y0hX0; uE87L: $result = $this->db->get("cbt_ruang")->result(); goto NieP9; NieP9: $ret = []; goto xIwF2; iv_pj: foreach ($result as $key => $row) { $ret[$row->id_ruang] = $row->kode_ruang; REIOv: } goto suGab; xIwF2: if (!$result) { goto VnknB; } goto iv_pj; eTIUG: VnknB: goto EUjOY; suGab: Aw8By: goto eTIUG; Y0hX0: } public function getKelasByLevel($level, $arrKelas) { goto yBRfu; jaKh4: $this->db->where("level_id", $level); goto eysQm; yCsSl: return $result; goto f8MTH; yBRfu: $this->db->select("id_kelas, kode_kelas"); goto jaKh4; eysQm: $this->db->where_in("id_kelas", $arrKelas); goto q_7Ck; q_7Ck: $result = $this->db->get("master_kelas")->result(); goto yCsSl; f8MTH: } public function getAllJurusan() { goto NR6GJ; QU9Eg: return $ret; goto o4h_t; Rje3j: foreach ($result as $key => $row) { $ret[$row->id_jurusan] = $row->kode_jurusan; AJZOD: } goto jlVRn; NR6GJ: $result = $this->db->get("master_jurusan")->result(); goto T1eOY; VLahg: CTZDo: goto QU9Eg; jlVRn: CvdUL: goto VLahg; T1eOY: if (!$result) { goto CTZDo; } goto Rje3j; o4h_t: } public function getPengawas($id_pengawas) { goto qLQ6t; Lo33m: $this->db->from("cbt_pengawas"); goto NtTPd; N46ST: return $this->db->get()->row(); goto y4yVM; qLQ6t: $this->db->select("id_pengawas, id_jadwal, id_tp, id_smt, id_ruang, id_sesi, id_guru"); goto Lo33m; NtTPd: $this->db->where("id_pengawas", $id_pengawas); goto N46ST; y4yVM: } public function getPengawasByGuru($tp, $smt, $id_guru) { goto LiDaz; cpqRF: $this->db->like("a.id_guru", $id_guru); goto nsnCi; woTtW: $this->db->where("a.id_tp", $tp); goto UmNaK; nsnCi: $this->db->join("cbt_jadwal b", "b.id_jadwal=a.id_jadwal"); goto S3dG5; iZnJf: $this->db->from("cbt_pengawas a"); goto woTtW; LiDaz: $this->db->select("a.id_pengawas, a.id_jadwal, a.id_tp, a.id_smt, a.id_ruang, a.id_sesi, a.id_guru," . " b.id_jadwal, b.tgl_mulai, b.tgl_selesai, c.bank_kode"); goto iZnJf; S3dG5: $this->db->join("cbt_bank_soal c", "b.id_bank=c.id_bank"); goto QTw2A; UmNaK: $this->db->where("a.id_smt", $smt); goto cpqRF; QTw2A: return $this->db->get()->result(); goto VF8GP; VF8GP: } public function getPengawasByJadwal($tp, $smt, $id_jadwal, $sesi = null, $ruang = null) { goto efHfl; yMWB9: if (!($sesi != null)) { goto MGibv; } goto kSvnT; T9ykB: if (!($ruang != null)) { goto Vd7WV; } goto Mvdk1; UX9pI: $this->db->where("id_tp", $tp); goto PbHZC; tWmOo: return $result; goto COWN0; efHfl: $this->db->select("id_pengawas, id_guru"); goto qg1vH; TwL7v: $this->db->where("id_jadwal", $id_jadwal); goto yMWB9; kqBHu: Vd7WV: goto mbreY; kSvnT: $this->db->where("id_sesi", $sesi); goto H7C1S; qg1vH: $this->db->from("cbt_pengawas"); goto UX9pI; PbHZC: $this->db->where("id_smt", $smt); goto TwL7v; mbreY: $result = $this->db->get()->result(); goto tWmOo; H7C1S: MGibv: goto T9ykB; Mvdk1: $this->db->where("id_ruang", $ruang); goto kqBHu; COWN0: } public function getAllPengawas($tp, $smt, $ruang = null, $sesi = null) { goto j7Qwb; Goxoe: zoV_l: goto nHiQU; QO4J9: if (!$result) { goto h_dOl; } goto b1gew; xt8MU: $ret = []; goto QO4J9; IrKcn: $this->db->from("cbt_pengawas"); goto eZwZu; nHiQU: h_dOl: goto cEdwI; mFUTX: if (!($ruang != null)) { goto vIR3z; } goto S4U0u; b1gew: foreach ($result as $key => $row) { $ret[$row->id_jadwal][$row->id_ruang][$row->id_sesi] = $row; Md9ae: } goto Goxoe; KJtTI: AIQ1o: goto FxA_S; cimae: $this->db->where("id_sesi", $sesi); goto KJtTI; j7Qwb: $this->db->select("id_pengawas, id_jadwal, id_ruang, id_sesi, id_guru"); goto IrKcn; eZwZu: $this->db->where("id_tp", $tp); goto OAyWd; cEdwI: return $ret; goto tBrsz; qhotZ: vIR3z: goto gTCEK; OAyWd: $this->db->where("id_smt", $smt); goto mFUTX; S4U0u: $this->db->where("id_ruang", $ruang); goto qhotZ; FxA_S: $result = $this->db->get()->result(); goto xt8MU; gTCEK: if (!($sesi != null)) { goto AIQ1o; } goto cimae; tBrsz: } public function getDistinctRuang($tp, $smt, $arrKelas) { goto tHpHZ; bdyxr: foreach ($result as $key => $row) { $ret[$row->ruang_id][$row->sesi_id] = $row; q7DU7: } goto rTnbK; vaRs2: $this->db->join("cbt_sesi c", "c.id_sesi=a.sesi_id"); goto FACmv; uxgiK: $ret = []; goto sFwUa; TUGJx: $this->db->from("cbt_sesi_siswa a"); goto AEbdD; kkLlp: $this->db->order_by("b.nama_ruang", "ASC"); goto rUpm3; DqJZ4: $result = $this->db->get()->result(); goto uxgiK; kJHcs: uu6j3: goto kkLlp; AEbdD: $this->db->join("cbt_ruang b", "b.id_ruang=a.ruang_id"); goto vaRs2; v9Z3s: $this->db->select("a.ruang_id, a.sesi_id, b.kode_ruang, b.nama_ruang, c.kode_sesi, c.nama_sesi"); goto TUGJx; sFwUa: if (!$result) { goto RbYCQ; } goto bdyxr; RB72I: return $ret; goto idC_2; rTnbK: dFvUV: goto wbtrY; tHpHZ: $this->db->distinct("a.ruang_id"); goto v9Z3s; FACmv: if (!(count($arrKelas) > 0)) { goto uu6j3; } goto OD5fv; OD5fv: $this->db->where_in("kelas_id", $arrKelas); goto kJHcs; wbtrY: RbYCQ: goto RB72I; rUpm3: $this->db->order_by("c.nama_sesi", "ASC"); goto DqJZ4; idC_2: } public function getKelasUjian($kelas_id) { goto CaX7G; iTONo: gT4dk: goto OA8ko; CaX7G: $this->db->select("kelas_id, ruang_id, sesi_id"); goto LgDiz; c3dn0: if (!$result) { goto VZY0A; } goto vDveU; OA8ko: VZY0A: goto a6SV2; fMInB: $result = $this->db->get()->result(); goto shGku; LgDiz: $this->db->from("cbt_sesi_siswa"); goto x7kfA; shGku: $ret = []; goto c3dn0; vDveU: foreach ($result as $key => $row) { $ret[$row->ruang_id][$row->sesi_id][] = $row->kelas_id; fwAow: } goto iTONo; x7kfA: $this->db->where("kelas_id", $kelas_id); goto fMInB; a6SV2: return $ret; goto wr8kP; wr8kP: } public function getDistinctKelasLevel($tp, $smt, $arrLevel) { goto SaHB9; T2esH: $result = $this->db->get()->result(); goto BVIk_; YCd9S: $this->db->where("id_smt", $smt); goto DOWdj; SaHB9: $this->db->select("id_kelas, level_id"); goto fTPEK; XNnzD: $this->db->from("master_kelas"); goto ApnIq; ApnIq: $this->db->where("id_tp", $tp); goto YCd9S; BVIk_: return $result; goto PBe98; DOWdj: $this->db->where_in("level_id", $arrLevel); goto T2esH; fTPEK: $this->db->distinct(); goto XNnzD; PBe98: } public function getAllJenisUjian() { goto GO2QD; OLer3: $ret[''] = "Jenis Penilaian :"; goto xcIq7; xcIq7: if (!$result) { goto Qkmc0; } goto pYNLH; pYNLH: foreach ($result as $key => $row) { $ret[$row->id_jenis] = $row->kode_jenis; wNMBt: } goto g4wim; XxEy2: Qkmc0: goto ys9OS; GO2QD: $result = $this->db->get("cbt_jenis")->result(); goto OLer3; g4wim: CjELp: goto XxEy2; ys9OS: return $ret; goto PoFrw; PoFrw: } public function getAllJenisUjianByArrJenis($arrJenis) { goto Zz8mD; SX1Xz: return $ret; goto l21jQ; CVAgi: $ret[''] = "Jenis Penilaian :"; goto ufFVs; YlUOW: CLFbT: goto SX1Xz; joau1: EFYjf: goto YlUOW; wDiTJ: $result = $this->db->get("cbt_jenis")->result(); goto CVAgi; OFsDd: foreach ($result as $key => $row) { $ret[$row->id_jenis] = $row->kode_jenis; DRuOv: } goto joau1; Zz8mD: $this->db->where_in("id_jenis", $arrJenis); goto wDiTJ; ufFVs: if (!$result) { goto CLFbT; } goto OFsDd; l21jQ: } public function getPengawasHariIni($tgl) { goto kkcJt; KtGfG: $this->db->where("a.tgl_mulai <= '{$tgl}' AND a.tgl_selesai >= '{$tgl}'"); goto byXCQ; Uz0QT: $this->db->where("status", "1"); goto T4d2S; T4d2S: return $this->db->get()->result(); goto o6s7z; byXCQ: $this->db->join("cbt_pengawas b", "b.id_jadwal=a.id_jadwal"); goto Uz0QT; kkcJt: $this->db->from("cbt_jadwal a"); goto KtGfG; o6s7z: } public function getJadwalGuru($tp, $smt, $guru) { goto NWdXh; UPaau: $this->db->join("cbt_bank_soal b", "b.id_bank=a.id_bank AND b.bank_guru_id=" . $guru); goto vMe2Y; vMe2Y: $this->db->where("a.id_tp", $tp); goto Vs32u; Vs32u: $this->db->where("a.id_smt", $smt); goto gwRH9; gwRH9: return $this->db->get()->result(); goto PwX17; NWdXh: $this->db->select("a.id_jadwal, a.tgl_mulai, b.bank_kode, b.bank_kelas"); goto h5uIx; h5uIx: $this->db->from("cbt_jadwal a"); goto UPaau; PwX17: } public function getJadwalKelas($tp, $smt) { goto YSUnt; ybaaA: $this->db->where("a.id_tp", $tp); goto Obt00; YSUnt: $this->db->select("a.id_jadwal, a.tgl_mulai, b.bank_kode, b.bank_kelas"); goto AAh8O; RbzNP: $this->db->join("cbt_bank_soal b", "b.id_bank=a.id_bank"); goto ybaaA; Obt00: $this->db->where("a.id_smt", $smt); goto RhOHP; AAh8O: $this->db->from("cbt_jadwal a"); goto RbzNP; RhOHP: return $this->db->get()->result(); goto cAEUT; cAEUT: } public function getJadwalByJenis($jenis, $level, $dari, $sampai) { goto wAc1O; N8CS3: $this->db->join("cbt_jenis b", "b.id_jenis=a.id_jenis"); goto pbOPv; rZmoc: $this->db->where("a.id_jenis", $jenis); goto dgwMo; pbOPv: $this->db->join("cbt_bank_soal c", "c.id_bank=a.id_bank"); goto xCz7T; tdWvB: if (!($dari != null)) { goto GYt6Y; } goto n0JdC; iKUVq: Xtwb9: goto tdWvB; Z1htZ: $this->db->where("c.bank_level", $level); goto iKUVq; vzyxU: NTt_U: goto diEo7; dgwMo: if (!($level != "0")) { goto Xtwb9; } goto Z1htZ; diEo7: $this->db->order_by("a.tgl_mulai", "ASC"); goto tJ8fU; tJ8fU: $this->db->order_by("a.jam_ke", "ASC"); goto xD_ze; QYVwY: GYt6Y: goto yNZJO; n0JdC: $this->db->where("a.tgl_mulai >=", $dari); goto QYVwY; D1mpX: return $result; goto ohI2a; yNZJO: if (!($sampai != null)) { goto NTt_U; } goto pCsum; wAc1O: $this->db->select("a.id_jadwal, a.id_bank, a.id_jenis, a.tgl_mulai, a.tgl_selesai, a.jam_ke," . " c.bank_kode, c.bank_level, c.bank_kelas, b.kode_jenis, b.nama_jenis, d.kode, d.nama_mapel"); goto w1hIK; xCz7T: $this->db->join("master_mapel d", "d.id_mapel=c.bank_mapel_id"); goto rZmoc; pCsum: $this->db->where("a.tgl_mulai <=", $sampai); goto vzyxU; xD_ze: $result = $this->db->get()->result(); goto D1mpX; w1hIK: $this->db->from("cbt_jadwal a"); goto N8CS3; ohI2a: } public function getAllJadwalByJenis($jenis, $tp, $smt) { goto kJ4RF; lchle: foreach ($result as $key => $row) { $ret[$row->tgl_mulai][$row->id_mapel][] = $row; htYWW: } goto BLh26; DIHtz: $this->db->where("a.id_smt", $smt); goto dBUJ9; BLh26: FZXln: goto yMTOa; n39gP: dYYA6: goto PV28V; i0Ilg: return $ret; goto RSW1e; dBUJ9: $this->db->order_by("a.tgl_mulai", "ASC"); goto rkgcJ; kJ4RF: $this->db->select("a.id_jadwal, a.id_jenis, a.tgl_mulai, " . "c.bank_kode, c.bank_level, c.bank_kelas, b.kode_jenis, b.nama_jenis, d.id_mapel, d.kode, d.nama_mapel"); goto YfCSg; rkgcJ: $this->db->order_by("a.jam_ke", "ASC"); goto kewoC; kewoC: $this->db->order_by("c.bank_level", "ASC"); goto vPIPg; vPIPg: $result = $this->db->get()->result(); goto loBwz; yMTOa: fmnJc: goto i0Ilg; XiEkV: $this->db->where("a.id_jenis", $jenis); goto n39gP; UZSbY: if (!($jenis != null)) { goto dYYA6; } goto XiEkV; Woh7e: $this->db->join("cbt_jenis b", "b.id_jenis=a.id_jenis"); goto AAbLK; loBwz: $ret = []; goto PHXNb; AAbLK: $this->db->join("cbt_bank_soal c", "c.id_bank=a.id_bank"); goto oMrA7; PHXNb: if (!$result) { goto fmnJc; } goto lchle; YfCSg: $this->db->from("cbt_jadwal a"); goto Woh7e; oMrA7: $this->db->join("master_mapel d", "d.id_mapel=c.bank_mapel_id"); goto UZSbY; PV28V: $this->db->where("a.id_tp", $tp); goto DIHtz; RSW1e: } public function getAllBankSoal($guru = null) { goto MIPQf; VzX2M: oA0T5: goto oLpIh; finfv: return $ret; goto gMSpi; gNzp6: bN0x8: goto finfv; MIPQf: $this->db->select("id_bank, bank_kode"); goto PdPzx; xl7H5: if (!$result) { goto bN0x8; } goto YBrdG; jpq1D: wvoB0: goto gNzp6; bayNA: $ret["0"] = "Pilih Bank Soal :"; goto xl7H5; YBrdG: foreach ($result as $key => $row) { $ret[$row->id_bank] = $row->bank_kode; IFVgI: } goto jpq1D; zHHpj: $this->db->where("bank_guru_id", $guru); goto VzX2M; oLpIh: $result = $this->db->get("cbt_bank_soal")->result(); goto bayNA; PdPzx: if (!($guru !== null)) { goto oA0T5; } goto zHHpj; gMSpi: } public function getAllBankSoalByTp($id_tp, $id_smt, $guru = null) { goto CzQjs; yAOe4: if (!$result) { goto Y9TN4; } goto d4i7K; i0ww2: $this->db->where("status_soal", "1"); goto HJYK2; G4Ev7: return $ret; goto O0VWW; c1SoY: u3pC1: goto GddwL; eZb8i: Vy3PQ: goto Bepxd; GddwL: $result = $this->db->get("cbt_bank_soal")->result(); goto SeZOk; kPPYW: $this->db->where("bank_guru_id", $guru); goto c1SoY; CzQjs: $this->db->select("id_bank, bank_kode, bank_mapel_id, tampil_pg, tampil_kompleks, tampil_jodohkan, tampil_isian, tampil_esai"); goto Q0FTb; Q0FTb: $this->db->where("id_tp", $id_tp); goto PjpvF; SeZOk: $ret = []; goto yAOe4; UAecK: $this->db->where("status", "1"); goto i0ww2; PjpvF: $this->db->where("id_smt", $id_smt); goto UAecK; HJYK2: if (!($guru !== null)) { goto u3pC1; } goto kPPYW; Bepxd: Y9TN4: goto G4Ev7; d4i7K: foreach ($result as $key => $row) { $ret[$row->id_bank] = $row; OAZsh: } goto eZb8i; O0VWW: } public function getAllBankSoalByMapel($id_tp, $id_smt, $mapel) { goto vtkAO; Vv07u: $result = $this->db->get()->result(); goto ZSsIU; ZSsIU: $ret = []; goto PI81F; vtkAO: $this->db->select("id_bank, bank_kode, bank_mapel_id, tampil_pg, tampil_kompleks, tampil_jodohkan, tampil_isian, tampil_esai, status"); goto j4y2r; u0IAm: return $ret; goto u8Xku; Q3gcb: foreach ($result as $key => $row) { $ret[$row->id_bank] = $row; R47yf: } goto JJQ11; J1Din: $this->db->where("id_smt", $id_smt); goto S_q2Z; PI81F: if (!$result) { goto u0o3O; } goto Q3gcb; JJQ11: aSp4j: goto NUUYu; iRmkS: $this->db->where("id_tp", $id_tp); goto J1Din; S_q2Z: $this->db->where("bank_mapel_id", $mapel); goto OeXbn; j4y2r: $this->db->from("cbt_bank_soal"); goto iRmkS; NUUYu: u0o3O: goto u0IAm; OeXbn: $this->db->where("status", "1"); goto Vv07u; u8Xku: } public function getJumlahJenisSoal($id_bank) { goto z7bEB; f89Zn: xEl10: goto QnlZp; ooePT: $this->db->from("cbt_soal"); goto X_cD0; QnlZp: return $ret; goto tZRJR; TLQVa: $this->db->where("tampilkan", "1"); goto UPwjn; z7bEB: $this->db->select("id_soal, jenis"); goto ooePT; X_cD0: $this->db->where("bank_id", $id_bank); goto TLQVa; UPwjn: $result = $this->db->get()->result(); goto mUFPV; uzd9G: foreach ($result as $row) { $ret[$row->jenis][] = $row; q7soF: } goto mkF2z; mUFPV: $ret = []; goto qK35t; qK35t: if (!$result) { goto xEl10; } goto uzd9G; mkF2z: So2hb: goto f89Zn; tZRJR: } public function getJenis() { goto SlVOb; SlVOb: $this->datatables->select("*"); goto dHSdI; dHSdI: $this->datatables->from("cbt_jenis"); goto IKxkg; IKxkg: return $this->datatables->generate(); goto cpp_L; cpp_L: } public function getJenisById($id) { goto VVl0V; fsV1n: return $this->db->get()->row(); goto qDfwb; zyMul: $this->db->from("cbt_jenis"); goto EO2_g; EO2_g: $this->db->where(["id_jenis" => $id]); goto fsV1n; VVl0V: $this->db->select("id_jenis, nama_jenis, kode_jenis"); goto zyMul; qDfwb: } function updateJenis() { goto Awml9; XQL90: $this->db->set("nama_jenis", $name); goto LgZf3; EiOlZ: $kode = $this->input->post("kode_jenis", true); goto XQL90; oCuAH: return $this->db->update("cbt_jenis"); goto ItfWD; eBX1S: $name = $this->input->post("nama_jenis", true); goto EiOlZ; LgZf3: $this->db->set("kode_jenis", $kode); goto C_WZs; C_WZs: $this->db->where("id_jenis", $id); goto oCuAH; Awml9: $id = $this->input->post("id_jenis"); goto eBX1S; ItfWD: } public function getRuang() { goto kXN_i; XEeMO: return $this->datatables->generate(); goto FhyLf; kXN_i: $this->datatables->select("*, (SELECT COUNT(id_sesi) FROM cbt_sesi) AS jum_sesi"); goto pnbDb; pnbDb: $this->datatables->from("cbt_ruang"); goto XEeMO; FhyLf: } public function getRuangById($id) { goto OOGFr; oR2n1: $this->db->from("cbt_ruang"); goto XMDuk; XMDuk: $this->db->where(["id_ruang" => $id]); goto a5vVY; OOGFr: $this->db->select("id_ruang, nama_ruang, kode_ruang"); goto oR2n1; a5vVY: return $this->db->get()->row(); goto fhDYM; fhDYM: } public function getRuangSesi($tp, $smt) { goto drzZF; o7sHR: NeLR3: goto A_u91; Fp93o: $this->db->order_by("c.nama_sesi", "ASC"); goto pxdrD; BeKdG: $ret = []; goto PFDWU; Mm5kf: $this->db->from("cbt_sesi_siswa a"); goto EEQ1W; A_u91: pLdpE: goto b9rVl; PFDWU: if (!$result) { goto pLdpE; } goto eQBej; cA8Hk: $this->db->join("master_kelas d", "d.id_kelas=a.kelas_id"); goto kfk18; hNdVj: $this->db->join("cbt_sesi c", "c.id_sesi=a.sesi_id"); goto cA8Hk; pxdrD: $result = $this->db->get()->result(); goto BeKdG; eQBej: foreach ($result as $row) { $ret[$row->sesi_id][$row->ruang_id][$row->kelas_id] = $row->nama_kelas; g2np2: } goto o7sHR; b9rVl: return $ret; goto W8PRo; EEQ1W: $this->db->join("cbt_ruang b", "b.id_ruang=a.ruang_id"); goto hNdVj; kfk18: $this->db->order_by("b.nama_ruang", "ASC"); goto Fp93o; drzZF: $this->db->select("a.siswa_id, a.sesi_id, a.ruang_id, a.kelas_id, " . "b.nama_ruang, b.kode_ruang, c.nama_sesi, c.kode_sesi, d.nama_kelas"); goto Mm5kf; W8PRo: } function updateRuang() { goto kbE_u; w0ar_: $kode = $this->input->post("kode_ruang", true); goto IhNlH; GW4VY: $this->db->set("kode_ruang", $kode); goto IARLi; IARLi: $this->db->where("id_ruang", $id); goto tJrUm; IhNlH: $this->db->set("nama_ruang", $name); goto GW4VY; CLbFw: $name = $this->input->post("nama_ruang", true); goto w0ar_; kbE_u: $id = $this->input->post("id_ruang"); goto CLbFw; tJrUm: return $this->db->update("cbt_ruang"); goto bDStm; bDStm: } public function getSesi() { goto LUCrj; LUCrj: $this->datatables->select("*"); goto BveDq; BveDq: $this->datatables->from("cbt_sesi c"); goto Zj3gi; Zj3gi: return $this->datatables->generate(); goto Cqp90; Cqp90: } public function getAllKodeSesi() { goto vPgnM; zp4I6: foreach ($result as $row) { $ret[$row->kode_sesi] = $row; JbOt7: } goto zgyaN; OsMY1: A5b2q: goto npukk; HX90q: if (!$result) { goto A5b2q; } goto zp4I6; npukk: return $ret; goto tiMQX; g8VXq: $this->db->from("cbt_sesi"); goto lsBbp; vPgnM: $this->db->select("id_sesi, nama_sesi, kode_sesi, waktu_mulai, waktu_akhir"); goto g8VXq; Sg8gS: $ret = []; goto HX90q; zgyaN: dWNLf: goto OsMY1; lsBbp: $result = $this->db->get()->result(); goto Sg8gS; tiMQX: } public function getSesiById($id) { goto xyK1H; iAath: return $this->db->get()->row(); goto Vl6I3; EKMcJ: $this->db->where(["id_sesi" => $id]); goto iAath; KsKPf: $this->db->from("cbt_sesi"); goto EKMcJ; xyK1H: $this->db->select("id_sesi, nama_sesi, kode_sesi, waktu_mulai, waktu_akhir"); goto KsKPf; Vl6I3: } public function getSesiBySiswa($siswa_id) { goto bsQLO; Cz01b: $query = $this->db->get("siswa_sesi")->result(); goto brotA; bsQLO: $this->db->where("siswa_id", $siswa_id); goto Cz01b; brotA: return $query; goto coAj6; coAj6: } function updateSesi() { goto JWAxQ; CnJ7p: $this->db->set("waktu_akhir", $akhir); goto chFen; K9qjT: $akhir = $this->input->post("waktu_akhir", true); goto r1m3p; Cu0uW: $mulai = $this->input->post("waktu_mulai", true); goto K9qjT; r1m3p: $this->db->set("nama_sesi", $name); goto BdqcD; K1ti3: $this->db->set("waktu_mulai", $mulai); goto CnJ7p; chFen: $this->db->set("aktif", 1); goto YjatM; JWAxQ: $id = $this->input->post("id_sesi"); goto g1CCU; bnecw: return $this->db->update("cbt_sesi"); goto TUOSP; Cowgq: $kode = $this->input->post("kode_sesi", true); goto Cu0uW; BdqcD: $this->db->set("kode_sesi", $kode); goto K1ti3; YjatM: $this->db->where("id_sesi", $id); goto bnecw; g1CCU: $name = $this->input->post("nama_sesi", true); goto Cowgq; TUOSP: } public function getSiswaCbtInfo($id_siswa, $id_tp, $id_smt) { goto MZRy0; hNb4D: $this->db->join("cbt_ruang rk", "b.ruang_id=rk.id_ruang", "left"); goto Gf8ot; Awrfr: $this->db->where("a.id_tp", $id_tp); goto lRzbp; wQkIn: $this->db->where("a.id_siswa", $id_siswa); goto Awrfr; qTVtf: return $this->db->get()->row(); goto P0QB3; lRzbp: $this->db->where("a.id_smt", $id_smt); goto qTVtf; uGsWt: $this->db->from("kelas_siswa a"); goto livB0; Gf8ot: $this->db->join("cbt_sesi sk", "b.sesi_id=sk.id_sesi", "left"); goto wQkIn; MZRy0: $this->db->select("a.id_kelas_siswa, a.id_tp, a.id_smt, a.id_siswa, a.id_kelas," . " b.siswa_id, b.kelas_id, b.ruang_id, b.sesi_id," . " rk.id_ruang, rk.nama_ruang, rk.kode_ruang," . " sk.id_sesi, sk.nama_sesi, sk.kode_sesi, sk.waktu_mulai, sk.waktu_akhir"); goto uGsWt; livB0: $this->db->join("cbt_sesi_siswa b", "a.id_siswa=b.siswa_id", "left"); goto hNb4D; P0QB3: } public function getRuangSesiSiswa($id_kelas, $id_tp, $id_smt) { goto iwvoQ; vQ9pS: $this->db->join("master_siswa b", "a.id_siswa=b.id_siswa", "left"); goto hmKCW; iwvoQ: $this->db->select("a.id_siswa, a.id_kelas," . " b.nama, b.nis, b.username," . " c.nama_kelas, c.kode_kelas," . " e.sesi_id, e.ruang_id," . " rk.id_ruang, rk.kode_ruang," . " sk.id_sesi, sk.kode_sesi"); goto sekNY; iEnGY: return $this->db->get()->result(); goto C8xs7; vt7lD: $this->db->join("buku_induk i", "i.id_siswa=a.id_siswa AND =i.status=1"); goto ZeQsJ; cB5aN: $this->db->order_by("b.nama", "ASC"); goto iEnGY; sekNY: $this->db->from("kelas_siswa a"); goto vQ9pS; B0H2s: $this->db->where("a.id_smt", $id_smt); goto cB5aN; hmKCW: $this->db->join("master_kelas c", "a.id_kelas=c.id_kelas", "left"); goto NEh6X; ZeQsJ: $this->db->where("a.id_kelas", $id_kelas); goto pGXQm; RS3hy: $this->db->join("cbt_sesi sk", "e.sesi_id=sk.id_sesi", "left"); goto vt7lD; pGXQm: $this->db->where("a.id_tp", $id_tp); goto B0H2s; NEh6X: $this->db->join("cbt_sesi_siswa e", "a.id_siswa=e.siswa_id", "left"); goto KnGx4; KnGx4: $this->db->join("cbt_ruang rk", "e.ruang_id=rk.id_ruang", "left"); goto RS3hy; C8xs7: } public function getSiswaByKelas($id_tp, $id_smt, $id_kelas) { goto A1GIC; sqALy: $this->db->join("cbt_sesi e", "e.id_sesi=c.sesi_id", "left"); goto s99Ai; aMo3w: $this->db->where("f.siswa_id is NOT NULL", NULL, FALSE); goto m0qf7; qkgxT: $this->db->where("c.siswa_id is NOT NULL", NULL, FALSE); goto aMo3w; cJkAd: $this->db->order_by("b.nama", "ASC"); goto QZ9Tr; s99Ai: $this->db->join("master_kelas f", "f.id_kelas=a.id_kelas", "left"); goto XA8h0; wYvXW: $this->db->where("a.id_tp", $id_tp); goto Sugxf; XifF2: $this->db->where("a.id_kelas", $id_kelas); goto ULJRm; xh24V: $this->db->where("a.id_siswa is NOT NULL", NULL, FALSE); goto bmhXS; m0qf7: $this->db->where("g.id_siswa is NOT NULL", NULL, FALSE); goto dlMUQ; y9ynB: Ab3So: goto l_bNQ; bmhXS: $this->db->where("b.id_siswa is NOT NULL", NULL, FALSE); goto qkgxT; cm78P: $this->db->join("cbt_sesi_siswa c", "c.siswa_id=a.id_siswa", "left"); goto BkpRa; ULJRm: goto hB24o; goto y9ynB; R4pGz: hB24o: goto cJkAd; BkpRa: $this->db->join("cbt_ruang d", "d.id_ruang=c.ruang_id", "left"); goto sqALy; X0W33: $this->db->join("master_siswa b", "b.id_siswa=a.id_siswa", "left"); goto cm78P; d5EJ2: $this->db->from("kelas_siswa a"); goto X0W33; A1GIC: $this->db->select("b.id_siswa, b.nama, b.nis, b.nisn, b.username, b.password," . " b.foto, d.kode_ruang, e.kode_sesi, f.nama_kelas, f.kode_kelas, g.nomor_peserta"); goto d5EJ2; dlMUQ: if (is_array($id_kelas)) { goto Ab3So; } goto XifF2; Sugxf: $this->db->where("a.id_smt", $id_smt); goto xh24V; QZ9Tr: return $this->db->get()->result(); goto qJfg9; XA8h0: $this->db->join("cbt_nomor_peserta g", "g.id_siswa=a.id_siswa AND g.id_tp=" . $id_tp, "left"); goto R3nas; R3nas: $this->db->join("buku_induk i", "i.id_siswa=a.id_siswa AND =i.status=1"); goto wYvXW; l_bNQ: $this->db->where_in("a.id_kelas", $id_kelas); goto R4pGz; qJfg9: } public function getSiswaById($id_tp, $id_smt, $idSiswa) { goto S_4DY; eq7sU: $this->db->where("a.id_smt", $id_smt); goto GzqcY; D5JOL: $this->db->join("cbt_sesi e", "e.id_sesi=c.sesi_id", "left"); goto nASCu; uSs12: $this->db->where("a.id_tp", $id_tp); goto eq7sU; LPYkd: $this->db->join("cbt_sesi j", "j.id_sesi=h.id_sesi", "left"); goto uSs12; S_4DY: $this->db->select("b.id_siswa, b.nama, b.nis, b.nisn, b.username, b.password," . " b.foto, d.kode_ruang, e.kode_sesi, f.nama_kelas, f.kode_kelas, g.nomor_peserta," . " h.set_siswa, i.kode_ruang as ruang_kelas, j.kode_sesi as sesi_kelas"); goto F7rCo; iiA3w: return $this->db->get()->row(); goto BsQfl; nASCu: $this->db->join("master_kelas f", "f.id_kelas=a.id_kelas", "left"); goto HyS0f; dYEeP: $this->db->join("cbt_kelas_ruang h", "h.id_kelas=a.id_kelas", "left"); goto u75JB; F7rCo: $this->db->from("kelas_siswa a"); goto ZdRzn; u31NB: $this->db->join("cbt_sesi_siswa c", "c.siswa_id=a.id_siswa", "left"); goto dd7TG; ZdRzn: $this->db->join("master_siswa b", "b.id_siswa=a.id_siswa", "left"); goto u31NB; GzqcY: $this->db->where("a.id_siswa", $idSiswa); goto iiA3w; u75JB: $this->db->join("cbt_ruang i", "i.id_ruang=h.id_ruang", "left"); goto LPYkd; HyS0f: $this->db->join("cbt_nomor_peserta g", "g.id_siswa=a.id_siswa AND g.id_tp=" . $id_tp, "left"); goto dYEeP; dd7TG: $this->db->join("cbt_ruang d", "d.id_ruang=c.ruang_id", "left"); goto D5JOL; BsQfl: } public function getAllPesertaByRuang($id_tp, $id_smt) { goto NkZNj; W3m6b: foreach ($result as $row) { $ret[$row->kode_ruang][$row->kode_sesi][] = $row; VgI38: } goto u22se; jTgzZ: $result = $this->db->get()->result(); goto zKO8m; u22se: ehEt3: goto x72NK; kHN6S: $this->db->order_by("f.level_id"); goto dQ4Hn; V_Ynr: $this->db->from("cbt_sesi_siswa a"); goto CXV6t; J2X5a: $this->db->join("cbt_sesi e", "e.id_sesi=a.sesi_id", "left"); goto TwWSx; E2uUR: $this->db->join("cbt_nomor_peserta g", "g.id_siswa=a.siswa_id AND g.id_tp=" . $id_tp, "left"); goto J2X5a; mOeJV: $this->db->join("cbt_ruang d", "d.id_ruang=a.ruang_id", "left"); goto E2uUR; x72NK: return $ret; goto wIP0q; va6Kc: $this->db->order_by("b.nama"); goto jTgzZ; zKO8m: $ret = []; goto W3m6b; TwWSx: $this->db->join("kelas_siswa c", "c.id_siswa=b.id_siswa AND c.id_tp=" . $id_tp . " AND c.id_smt=" . $id_smt . ''); goto eIAib; dQ4Hn: $this->db->order_by("f.kode_kelas"); goto va6Kc; ni9yP: $this->db->order_by("e.kode_sesi"); goto kHN6S; aSrZ9: $this->db->order_by("d.kode_ruang"); goto ni9yP; eIAib: $this->db->join("master_kelas f", "f.id_kelas=c.id_kelas"); goto DrPAZ; CXV6t: $this->db->join("master_siswa b", "b.id_siswa=a.siswa_id", "left"); goto mOeJV; DrPAZ: $this->db->join("buku_induk i", "i.id_siswa=b.id_siswa AND =i.status=1"); goto aSrZ9; NkZNj: $this->db->select("b.id_siswa, b.nama, b.nis, b.nisn, b.username, b.password, b.foto, f.level_id," . " f.nama_kelas, f.kode_kelas," . " d.nama_ruang, d.kode_ruang," . " e.kode_sesi, e.nama_sesi," . " g.nomor_peserta"); goto V_Ynr; wIP0q: } public function getAllPesertaByKelas($id_tp, $id_smt) { goto ZrMcR; h7VMP: $this->db->join("cbt_sesi e", "e.id_sesi=a.sesi_id", "left"); goto LVqVT; aoSa8: $this->db->join("cbt_nomor_peserta g", "g.id_siswa=a.siswa_id AND g.id_tp=" . $id_tp, "left"); goto h7VMP; xJvM0: $result = $this->db->get()->result(); goto IG4q8; xQw0x: $this->db->order_by("b.nama"); goto xJvM0; IG4q8: $ret = []; goto nAhO0; TtkXA: $this->db->order_by("f.level_id"); goto eVHPi; ywzfn: $this->db->join("master_kelas f", "f.id_kelas=c.id_kelas"); goto SzMXX; duRK7: $this->db->from("cbt_sesi_siswa a"); goto v8U9i; bNcwP: $this->db->join("cbt_ruang d", "d.id_ruang=a.ruang_id", "left"); goto aoSa8; ZrMcR: $this->db->select("b.id_siswa, b.nama, b.nis, b.nisn, b.username, b.password, b.foto," . " f.nama_kelas, f.kode_kelas," . " d.nama_ruang, d.kode_ruang," . " e.kode_sesi, e.nama_sesi," . " g.nomor_peserta"); goto duRK7; NDzMM: gf6LH: goto K7F0G; v8U9i: $this->db->join("master_siswa b", "b.id_siswa=a.siswa_id", "left"); goto bNcwP; SzMXX: $this->db->join("buku_induk i", "i.id_siswa=b.id_siswa AND =i.status=1"); goto TtkXA; LVqVT: $this->db->join("kelas_siswa c", "c.id_siswa=b.id_siswa AND c.id_tp=" . $id_tp . " AND c.id_smt=" . $id_smt . ''); goto ywzfn; eVHPi: $this->db->order_by("f.kode_kelas"); goto xQw0x; nAhO0: foreach ($result as $row) { $ret[$row->kode_kelas][] = $row; nCcZc: } goto NDzMM; K7F0G: return $ret; goto xITcK; xITcK: } public function getSiswaByRuang($id_tp, $id_smt, $id_ruang, $sesi) { goto mgAg0; dUB5K: $this->db->join("cbt_ruang d", "d.id_ruang=a.ruang_id", "left"); goto wI6x3; iOVov: $this->db->from("cbt_sesi_siswa a"); goto L6P2c; JKaVk: $this->db->join("cbt_sesi e", "e.id_sesi=a.sesi_id", "left"); goto yIfRO; aRx1j: $this->db->join("buku_induk i", "i.id_siswa=b.id_siswa AND =i.status=1"); goto Fqurx; yIfRO: $this->db->join("kelas_siswa c", "c.id_siswa=b.id_siswa AND c.id_tp=" . $id_tp . " AND c.id_smt=" . $id_smt . ''); goto IjlrB; mgAg0: $this->db->select("a.ruang_id, a.sesi_id, b.id_siswa, b.nama, b.nis, b.nisn, b.username, b.password, b.foto," . " f.id_kelas, f.nama_kelas, f.kode_kelas," . " d.nama_ruang, d.kode_ruang," . " e.kode_sesi, e.nama_sesi," . " g.nomor_peserta"); goto iOVov; AuwpC: $this->db->where("a.sesi_id", $sesi); goto KGFEy; c53IX: return $this->db->get()->result(); goto AcEYr; wI6x3: $this->db->join("cbt_nomor_peserta g", "g.id_siswa=a.siswa_id AND g.id_tp=" . $id_tp, "left"); goto JKaVk; KGFEy: $this->db->order_by("b.nama"); goto c53IX; Fqurx: $this->db->where("a.ruang_id", $id_ruang); goto AuwpC; L6P2c: $this->db->join("master_siswa b", "b.id_siswa=a.siswa_id", "left"); goto dUB5K; IjlrB: $this->db->join("master_kelas f", "f.id_kelas=c.id_kelas"); goto aRx1j; AcEYr: } public function getRuangSiswaByKelas($id_tp, $id_smt, $kelas, $sesi) { goto bsdI6; yihhI: $this->db->join("cbt_nomor_peserta g", "g.id_siswa=a.siswa_id AND g.id_tp=" . $id_tp, "left"); goto bU3yo; UywJI: $this->db->where_in("a.kelas_id", $kelas); goto YS1hS; ZVrrx: $this->db->order_by("b.nama"); goto ECuLL; Lb0JM: $this->db->join("master_kelas f", "f.id_kelas=c.id_kelas"); goto MUYI8; YS1hS: if (!($sesi != null)) { goto p2oX8; } goto AAbDC; j1Igg: $this->db->join("cbt_ruang d", "d.id_ruang=a.ruang_id", "left"); goto yihhI; ccC1a: $this->db->join("kelas_siswa c", "c.id_siswa=b.id_siswa AND c.id_tp=" . $id_tp . " AND c.id_smt=" . $id_smt . ''); goto Lb0JM; XqXoS: $this->db->from("cbt_sesi_siswa a"); goto ScnjT; MUYI8: $this->db->join("buku_induk i", "i.id_siswa=b.id_siswa AND =i.status=1"); goto UywJI; ScnjT: $this->db->join("master_siswa b", "b.id_siswa=a.siswa_id", "left"); goto j1Igg; TbuI4: p2oX8: goto ZVrrx; ECuLL: return $this->db->get()->result(); goto hBeNt; bU3yo: $this->db->join("cbt_sesi e", "e.id_sesi=a.sesi_id", "left"); goto ccC1a; bsdI6: $this->db->select("b.id_siswa, b.nama, b.nis, b.nisn, b.username, b.password, b.foto," . " f.nama_kelas, f.kode_kelas," . " d.nama_ruang, d.kode_ruang," . " e.kode_sesi, e.nama_sesi," . " g.nomor_peserta"); goto XqXoS; AAbDC: $this->db->where("a.sesi_id", $sesi); goto TbuI4; hBeNt: } public function getSiswaByKelasArray($id_tp, $id_smt, $arr_kelas) { goto erPL3; PUwOb: $this->db->where_in("a.id_kelas", $arr_kelas); goto gMeXN; erPL3: $this->db->select("a.id_siswa, a.id_kelas," . " b.nama, b.nis, b.nisn, b.username, b.password," . " f.nama_kelas, f.kode_kelas, l.level, g.nomor_peserta"); goto Yqntw; gTEdQ: $this->db->where("a.id_smt", $id_smt); goto kg7ZY; ieQYL: $this->db->join("master_siswa b", "b.id_siswa=a.id_siswa"); goto Mjjrj; Mjjrj: $this->db->join("master_kelas f", "f.id_kelas=a.id_kelas"); goto lkywU; cJfTs: $this->db->order_by("f.kode_kelas", "ASC"); goto AV4bH; AV4bH: $this->db->order_by("b.nama", "ASC"); goto no13E; no13E: return $this->db->get()->result(); goto yGcMu; CJJch: $this->db->join("buku_induk i", "i.id_siswa=a.id_siswa AND =i.status=1"); goto hkp5y; hkp5y: if (in_array("Semua", $arr_kelas)) { goto qmr_W; } goto PUwOb; JuLWU: $this->db->where("a.id_tp", $id_tp); goto gTEdQ; lkywU: $this->db->join("level_kelas l", "l.id_level=f.level_id"); goto pMC0G; Yqntw: $this->db->from("kelas_siswa a"); goto ieQYL; gMeXN: qmr_W: goto JuLWU; pMC0G: $this->db->join("cbt_nomor_peserta g", "g.id_siswa=a.id_siswa AND g.id_tp=" . $id_tp, "left"); goto CJJch; kg7ZY: $this->db->order_by("l.level", "ASC"); goto cJfTs; yGcMu: } public function getKelasList($tp, $smt) { goto XTDRr; x1MKj: $this->db->order_by("a.level_id", "ASC"); goto IHS_T; Olrwt: $this->db->join("level_kelas d", "d.id_level=a.level_id", "left"); goto rbFUB; IHS_T: $this->db->order_by("a.nama_kelas", "ASC"); goto QIej7; rbFUB: $this->db->where("a.id_tp", $tp); goto MI_Ch; VfzLU: $this->db->from("master_kelas a"); goto c4HG9; MI_Ch: $this->db->where("a.id_smt", $smt); goto x1MKj; XTDRr: $this->db->select("a.id_kelas, a.nama_kelas, a.kode_kelas, c.nama_jurusan, b.id_ruang, b.id_sesi, b.set_siswa"); goto VfzLU; QIej7: $query = $this->db->get(); goto g33UH; c4HG9: $this->db->join("cbt_kelas_ruang b", "a.id_kelas=b.id_kelas", "left"); goto o9NJP; o9NJP: $this->db->join("master_jurusan c", "c.id_jurusan=a.jurusan_id", "left"); goto Olrwt; g33UH: return $query->result(); goto ZM4Tg; ZM4Tg: } public function getKelas($tp = null, $smt = null) { goto LVYl0; grV8L: $this->db->where("a.id_tp", $tp); goto EMxRV; V6ntl: return $this->db->get()->result(); goto Oeyd3; LVYl0: $this->db->select("a.id_kelas, a.nama_kelas, a.kode_kelas, b.level"); goto XzvUe; dS_up: if (!($tp != null)) { goto chnb7; } goto grV8L; XzvUe: $this->db->from("master_kelas a"); goto stOmR; UEYL8: $this->db->where("a.id_smt", $smt); goto IErhe; stOmR: $this->db->join("level_kelas b", "b.id_level=a.level_id", "left"); goto dS_up; IErhe: oNAY4: goto I2PzZ; SwNr2: if (!($smt != null)) { goto oNAY4; } goto UEYL8; EMxRV: chnb7: goto SwNr2; I2PzZ: $this->db->order_by("a.nama_kelas", "ASC"); goto V6ntl; Oeyd3: } public function getDataTableBank($guru = null) { goto VtGw9; r21lR: $this->datatables->from("cbt_bank_soal a"); goto GLgdP; OQWOI: $this->datatables->join("master_guru c", "c.id_guru=a.bank_guru_id", "left"); goto tvBVQ; iUE0w: PAVh0: goto pLAkG; pLAkG: return $this->datatables->generate(); goto Xrm9i; HCoRd: $this->datatables->where("a.bank_guru_id", $guru); goto iUE0w; VtGw9: $this->datatables->select("a.id_bank, a.bank_kode, a.bank_level, a.tampil_pg, a.tampil_esai, a.status, b.nama_mapel, c.nama_guru"); goto r21lR; G6dva: if (!($guru !== null)) { goto PAVh0; } goto HCoRd; tvBVQ: $this->datatables->join("master_jurusan d", "d.id_jurusan=a.bank_jurusan_id", "left"); goto bw9dG; bw9dG: $this->datatables->join("cbt_jenis e", "e.id_jenis=a.bank_jenis_id", "left"); goto G6dva; GLgdP: $this->datatables->join("master_mapel b", "b.id_mapel=a.bank_mapel_id", "left"); goto OQWOI; Xrm9i: } public function getDataBank($guru = null, $mapel = null, $level = null) { goto lMH_Y; XaMpg: $ret = []; goto woNk1; ib35_: $this->db->where("a.bank_guru_id", $guru); goto MVCXk; SArz_: $this->db->join("master_mapel b", "b.id_mapel=a.bank_mapel_id", "left"); goto XgQAR; woNk1: foreach ($result as $row) { $ret[$row->id_tp][$row->id_smt][] = $row; hvsOd: } goto yXn2i; t1Ceu: if (!($level !== null)) { goto Nvsas; } goto C_SeB; c1_rm: if (!($mapel !== null)) { goto YKFL1; } goto T8mgM; qeQWp: $result = $this->db->get()->result(); goto XaMpg; RtjMC: if (!($guru !== null)) { goto Eml6Z; } goto ib35_; XgQAR: $this->db->join("master_guru c", "c.id_guru=a.bank_guru_id", "left"); goto RtjMC; qDBNN: $this->db->order_by("a.bank_level", "ASC"); goto qeQWp; t6gX6: $this->db->from("cbt_bank_soal a"); goto SArz_; yXn2i: tflzu: goto QfL8y; FEoDO: YKFL1: goto t1Ceu; MVCXk: Eml6Z: goto c1_rm; HtAEt: Nvsas: goto qDBNN; C_SeB: $this->db->where("a.bank_level", $level); goto HtAEt; T8mgM: $this->db->where("a.bank_mapel_id", $mapel); goto FEoDO; QfL8y: return $ret; goto Swh9R; lMH_Y: $this->db->select("a.id_bank, a.id_tp, a.id_smt, a.bank_kode, a.bank_level, a.bank_kelas, a.date, a.status," . " a.tampil_pg, a.tampil_kompleks, a.tampil_jodohkan, a.tampil_isian, a.tampil_esai, a.bank_guru_id," . " b.nama_mapel, c.id_guru, c.nama_guru," . " (SELECT COUNT(id_soal) FROM cbt_soal WHERE cbt_soal.bank_id = a.id_bank) AS total_soal," . " (SELECT COUNT(id_jadwal) FROM cbt_jadwal WHERE cbt_jadwal.id_bank = a.id_bank AND cbt_jadwal.status="1") AS digunakan"); goto t6gX6; Swh9R: } public function getDataBankById($id) { goto yQrQy; z2CVt: $this->db->join("master_mapel b", "b.id_mapel=a.bank_mapel_id", "left"); goto GShzR; yQrQy: $this->db->select("a.*, b.nama_mapel, b.kode, c.nama_guru, d.nama_jurusan, d.kode_jurusan," . " (SELECT COUNT(id_jadwal) FROM cbt_jadwal WHERE cbt_jadwal.id_bank = a.id_bank AND cbt_jadwal.status="1") AS digunakan"); goto k54ij; PF5ho: $this->db->join("master_jurusan d", "d.id_jurusan=a.bank_jurusan_id", "left"); goto zUpHu; z4z_u: return $this->db->get()->row(); goto QouCZ; k54ij: $this->db->from("cbt_bank_soal a"); goto z2CVt; GShzR: $this->db->join("master_guru c", "c.id_guru=a.bank_guru_id", "left"); goto PF5ho; zUpHu: $this->db->where("a.id_bank", $id); goto z4z_u; QouCZ: } public function getTotalSoal($id_bank, $jenis = null) { goto qYuZ0; OQaOv: if (!($jenis != null)) { goto aUtCT; } goto rl_LK; rl_LK: $this->db->where("jenis", $jenis); goto aK9eS; aK9eS: aUtCT: goto awWIh; qYuZ0: $this->db->where("bank_id", $id_bank); goto OQaOv; awWIh: return $this->db->get("cbt_soal")->num_rows(); goto a1uv4; a1uv4: } public function getNomorSoalById($id_soal) { goto GLX9U; GLX9U: $this->db->select("nomor_soal, jenis, bank_id"); goto lI0Da; lI0Da: $this->db->where("id_soal", $id_soal); goto jlT39; jlT39: return $this->db->get("cbt_soal")->row(); goto IwxlI; IwxlI: } public function getFileSoalById($id_soal) { goto P9i0e; oMIyl: $this->db->where("id_soal", $id_soal); goto hje4a; hje4a: return $this->db->get("cbt_soal")->row(); goto ZgTTh; P9i0e: $this->db->select("file"); goto oMIyl; ZgTTh: } public function getSoalByBank($id_bank) { goto pP2Yj; uqv3E: $ret = []; goto kAnDd; f9pFd: return $ret; goto ozOTf; cDiLp: $this->db->order_by("jenis"); goto w8PGd; uFlZp: $this->db->where("bank_id", $id_bank); goto cDiLp; clBsh: $result = $this->db->get()->result(); goto uqv3E; kAnDd: foreach ($result as $row) { $ret[$row->jenis][$row->nomor_soal] = $row; vf4Jv: } goto e3f6y; e3f6y: aTGpp: goto f9pFd; pP2Yj: $this->db->select("id_soal, bank_id, mapel_id, jenis, nomor_soal, soal, opsi_a, opsi_b, opsi_c, opsi_d, opsi_e, jawaban"); goto M34M9; M34M9: $this->db->from("cbt_soal"); goto uFlZp; w8PGd: $this->db->order_by("nomor_soal"); goto clBsh; ozOTf: } public function getAllSoalByBank($id_bank, $jenis = null) { goto uM2O3; tfoAi: $this->db->where("jenis", $jenis); goto pp2kQ; pp2kQ: WOtuh: goto CUm4r; CUm4r: return $this->db->get("cbt_soal")->result(); goto Q0mHt; RgqzK: $this->db->where("bank_id", $id_bank); goto BK_yw; BK_yw: if (!($jenis != null)) { goto WOtuh; } goto tfoAi; uM2O3: $this->db->select("id_soal, bank_id, mapel_id, jenis, nomor_soal, soal, opsi_a, opsi_b, opsi_c, opsi_d, opsi_e, jawaban, tampilkan"); goto RgqzK; Q0mHt: } public function getSoalByNomor($id_bank, $nomor, $jenis) { goto JQ7X5; DFGB0: $this->db->where("nomor_soal", $nomor); goto bKBzF; bKBzF: $this->db->where("jenis", $jenis); goto REt7r; JQ7X5: $this->db->select("*"); goto ccNpy; REt7r: return $this->db->get("cbt_soal")->row(); goto LYeWS; ccNpy: $this->db->where("bank_id", $id_bank); goto DFGB0; LYeWS: } public function getNomorSoalByBankJenis($id_bank, $jenis) { goto klp17; fi6JB: return $ret; goto hsKwG; TdlP2: foreach ($result as $key => $row) { $ret[$row->nomor_soal] = $row; rxqnG: } goto lNkT_; klp17: $this->db->select("id_soal, jenis, nomor_soal"); goto D2Q09; xBLIh: $ret = []; goto TdlP2; lNkT_: HdkDJ: goto fi6JB; D2Q09: $this->db->where("bank_id", $id_bank); goto xHtWf; xHtWf: $this->db->where("jenis", $jenis); goto ddFD4; ddFD4: $result = $this->db->get("cbt_soal")->result(); goto xBLIh; hsKwG: } public function getNomorSoalByBank($id_bank, $jenis = null) { goto V0p4Y; ssQ1Y: PpIBD: goto amn63; V0p4Y: $this->db->select("id_soal, jenis, nomor_soal, jawaban"); goto b8hM2; kmxfl: if (!($jenis != null)) { goto PpIBD; } goto hrEab; amn63: $result = $this->db->get("cbt_soal")->result(); goto MRPY2; Oi3xU: y7hgh: goto gt1vm; b8hM2: $this->db->where("bank_id", $id_bank); goto eU9pF; MRPY2: $ret = []; goto zXofq; hrEab: $this->db->where("jenis", $jenis); goto ssQ1Y; eU9pF: $this->db->where("tampilkan", "1"); goto kmxfl; zXofq: foreach ($result as $key => $row) { $ret[$row->id_soal] = $row; RKx2a: } goto Oi3xU; gt1vm: return $ret; goto h9Y6a; h9Y6a: } public function getNomorSoalByArrIdBank($arr_id_bank, $jenis = null) { goto OozY6; s3OSE: $this->db->where_in("bank_id", $arr_id_bank); goto Cysdq; Cysdq: if (!($jenis != null)) { goto eQg3Q; } goto LJaJT; mQ2zb: eQg3Q: goto q0ENG; q0ENG: return $this->db->get("cbt_soal")->result(); goto a6Hv_; OozY6: $this->db->select("id_soal, jenis, nomor_soal, jawaban"); goto s3OSE; LJaJT: $this->db->where("jenis", $jenis); goto mQ2zb; a6Hv_: } public function cekSoalAda($id_bank, $jenis) { goto w6P6l; H2kAP: $this->db->where("bank_id", $id_bank); goto lE8iC; l9EHg: return $this->db->get("cbt_soal")->result(); goto O5MIE; lE8iC: $this->db->where("jenis", $jenis); goto l9EHg; w6P6l: $this->db->select("id_soal, bank_id, jenis, nomor_soal"); goto H2kAP; O5MIE: } public function cekSoalKomplit($id_bank, $jenjang) { goto U28xD; Q02uN: return $this->db->get("cbt_soal")->result(); goto XlrI0; iqzqQ: $this->db->or_where("opsi_e NOT NULL"); goto QnY7N; U28xD: $this->db->select("id_soal, bank_id, jenis, nomor_soal"); goto qzAFU; uEHOn: if (!($jenjang == "3")) { goto prgUi; } goto iqzqQ; qzAFU: $this->db->where("bank_id", $id_bank)->where("soal NOT NULL")->or_where("opsi_a NOT NULL")->or_where("opsi_b NOT NULL")->or_where("opsi_c NOT NULL")->or_where("opsi_d NOT NULL")->or_where("jawaban NOT NULL"); goto uEHOn; QnY7N: prgUi: goto Q02uN; XlrI0: } public function cekSoalBelumKomplit($jenis, $opsi_ganda) { goto eOh83; KaVpu: $this->db->where("opsi_b IS NULL")->or_where("opsi_b ="""); goto TpkOp; rHars: if (!($opsi_ganda == "5")) { goto t_5Tg; } goto ZdRpB; PFxjr: $ret = []; goto HOUR7; thVKX: y4ZRY: goto rHars; UTrf0: B3Zwm: goto nWplN; anm7f: $this->db->where("opsi_a IS NULL")->or_where("opsi_a ="""); goto l9NsV; TIFmN: $this->db->where("jenis", $jenis); goto XK5DB; HOUR7: $result = $this->db->get()->result(); goto RykRb; HFgzE: $this->db->where("opsi_e IS NULL")->or_where("opsi_e ="""); goto Q_KT_; TpkOp: $this->db->where("opsi_c IS NULL")->or_where("opsi_c ="""); goto k3m0r; Q_KT_: t_5Tg: goto UTrf0; xPfHx: $this->db->where("jawaban IS NULL")->or_where("jawaban ="""); goto PFxjr; fzZm0: $this->db->where("opsi_a IS NULL")->or_where("opsi_a ="""); goto KaVpu; TPiT1: $this->db->from("cbt_soal"); goto TIFmN; MmO9O: return $ret; goto CkxwN; ZdRpB: $this->db->where("opsi_d IS NULL")->or_where("opsi_d ="""); goto HFgzE; nWplN: if (!($jenis == "2")) { goto j8vcU; } goto anm7f; l9NsV: j8vcU: goto xPfHx; eOh83: $this->db->select("id_soal, bank_id, jenis, nomor_soal, mapel_id"); goto TPiT1; XK5DB: $this->db->where("soal IS NULL")->or_where("soal ="""); goto MhX4G; k3m0r: if (!($opsi_ganda == "4")) { goto y4ZRY; } goto p39t3; RykRb: foreach ($result as $key => $row) { $ret[$row->bank_id][] = $row; Ujyt1: } goto fUFwa; fUFwa: cAojH: goto MmO9O; p39t3: $this->db->where("opsi_d IS NULL")->or_where("opsi_d ="""); goto thVKX; MhX4G: if (!($jenis == "1")) { goto B3Zwm; } goto fzZm0; CkxwN: } public function getNomorSoalTerbesar($id_bank, $jenis) { goto FvT_l; D47yk: return $this->db->get("cbt_soal")->row(); goto jr8R0; pFsfE: $this->db->where("bank_id", $id_bank)->where("jenis", $jenis); goto VsSqw; FvT_l: $this->db->select("nomor_soal"); goto pFsfE; VsSqw: $this->db->order_by("nomor_soal", "DESC"); goto D47yk; jr8R0: } public function dummy($jenjang) { $data = array("id_bank" => '', "bank_jenis_id" => '', "bank_kode" => '', "bank_mapel_id" => '', "bank_level" => '', "bank_kelas" => serialize([]), "bank_guru_id" => '', "jml_soal" => "0", "bobot_pg" => "0", "tampil_pg" => "0", "opsi" => $jenjang == "1" ? "3" : ($jenjang == "2" ? "4" : ($jenjang == "3" ? "5" : '')), "jml_kompleks" => "0", "tampil_kompleks" => "0", "bobot_kompleks" => "0", "jml_jodohkan" => "0", "tampil_jodohkan" => "0", "bobot_jodohkan" => "0", "jml_isian" => "0", "tampil_isian" => "0", "bobot_isian" => "0", "jml_esai" => "0", "bobot_esai" => "0", "tampil_esai" => "0", "kkm" => '', "soal_agama" => "-", "status" => "1"); return $data; } public function saveBankSoal($tp, $smt) { goto oSDEm; DgB0O: $data = array("id_tp" => $tp, "id_smt" => $smt, "bank_kode" => strip_tags($this->input->post("kode", TRUE)), "bank_jenis_id" => strip_tags($this->input->post("jenis", TRUE)), "bank_mapel_id" => strip_tags($this->input->post("mapel", TRUE)), "bank_kelas" => $jumlah, "bank_level" => $this->input->post("level", TRUE), "bank_guru_id" => strip_tags($this->input->post("guru", TRUE)), "jml_soal" => strip_tags($this->input->post("tampil_pg", TRUE)), "tampil_pg" => strip_tags($this->input->post("tampil_pg", TRUE)), "bobot_pg" => strip_tags($this->input->post("bobot_pg", TRUE)), "opsi" => strip_tags($this->input->post("opsi", TRUE)), "jml_kompleks" => strip_tags($this->input->post("tampil_kompleks", TRUE)), "tampil_kompleks" => strip_tags($this->input->post("tampil_kompleks", TRUE)), "bobot_kompleks" => strip_tags($this->input->post("bobot_kompleks", TRUE)), "jml_jodohkan" => strip_tags($this->input->post("tampil_jodohkan", TRUE)), "tampil_jodohkan" => strip_tags($this->input->post("tampil_jodohkan", TRUE)), "bobot_jodohkan" => strip_tags($this->input->post("bobot_jodohkan", TRUE)), "jml_isian" => strip_tags($this->input->post("tampil_isian", TRUE)), "tampil_isian" => strip_tags($this->input->post("tampil_isian", TRUE)), "bobot_isian" => strip_tags($this->input->post("bobot_isian", TRUE)), "jml_esai" => strip_tags($this->input->post("bobot_esai", TRUE)), "bobot_esai" => strip_tags($this->input->post("bobot_esai", TRUE)), "tampil_esai" => strip_tags($this->input->post("tampil_esai", TRUE)), "status" => strip_tags($this->input->post("status", TRUE)), "soal_agama" => strip_tags($this->input->post("soal_agama", TRUE))); goto glDSb; Ff52o: $kelas = []; goto U1pud; zTecW: return $this->db->update("cbt_bank_soal", $data); goto c8jYN; f45vW: $rows = count($this->input->post("kelas", true)); goto Ff52o; YEGPy: $jumlah = serialize($kelas); goto DgB0O; o85KW: duyvB: goto Zzn3e; glDSb: if (!$id) { goto lGHf1; } goto VkJtm; U1pud: $i = 0; goto o85KW; YsDdh: JXW3F: goto G6pLA; zhqJz: $insert_id = $this->db->insert_id(); goto bXTue; kRRq8: goto duyvB; goto vvVIv; EM_BQ: $kelas[] = ["kelas_id" => $this->input->post("kelas[" . $i . "]", true)]; goto oYmsx; VkJtm: $this->db->where("id_bank", $id); goto zTecW; V1V0J: lGHf1: goto Gheyj; NInwe: $i++; goto kRRq8; Zzn3e: if (!($i <= $rows)) { goto ToKTo; } goto EM_BQ; bXTue: return $insert_id; goto YsDdh; Gheyj: $this->db->insert("cbt_bank_soal", $data); goto zhqJz; c8jYN: goto JXW3F; goto V1V0J; oSDEm: $id = $this->input->post("id_bank", true); goto f45vW; oYmsx: f2Eb5: goto NInwe; vvVIv: ToKTo: goto YEGPy; G6pLA: } public function dummyJadwal() { $data = array("id_bank" => '', "id_jadwal" => '', "id_jenis" => '', "tgl_mulai" => '', "tgl_selesai" => '', "durasi_ujian" => '', "bank_kelas" => serialize([]), "acak_soal" => '', "acak_opsi" => '', "hasil_tampil" => '', "token" => '', "status" => '', "ulang" => '', "jarak" => '', "reset_login" => ''); return $data; } public function getDistinctJenisJadwal($tp, $smt) { goto VMvj2; Zm83o: $result = $this->db->get()->result(); goto XZdLk; XZdLk: return $result; goto u1IVp; PPYbE: $this->db->where("id_smt", $smt); goto Zm83o; VMvj2: $this->db->select("id_jenis"); goto t0zyb; udO6z: $this->db->where("id_tp", $tp); goto PPYbE; t0zyb: $this->db->distinct(); goto Wm8dm; Wm8dm: $this->db->from("cbt_jadwal"); goto udO6z; u1IVp: } public function getDataJadwal($tp, $smt, $guru = null, $rekap = null) { goto Wo8IY; jBc1_: if (!($guru !== null)) { goto Z3vG0; } goto rDnsv; rDnsv: $this->db->where("b.bank_guru_id", $guru); goto xJMoK; oDScO: $this->db->join("cbt_bank_soal b", "b.id_bank=a.id_bank", "left"); goto aYgJl; ctouS: gi8gD: goto q5WFA; q5WFA: $this->db->order_by("a.tgl_mulai", "DESC"); goto DA6Q2; YhFn9: if (!($rekap !== null)) { goto gi8gD; } goto gUJJk; a8jXM: $query = $this->db->get()->result(); goto uvZ1v; aYgJl: $this->db->join("cbt_jenis c", "c.id_jenis=a.id_jenis", "left"); goto SlZ0J; DA6Q2: $this->db->order_by("b.bank_level", "ASC"); goto a8jXM; xJMoK: Z3vG0: goto YhFn9; SlZ0J: $this->db->join("master_mapel d", "d.id_mapel=b.bank_mapel_id", "left"); goto lh93F; DoWxx: $this->db->join("level_kelas g", "b.bank_level=g.id_level"); goto jBc1_; gUJJk: $this->db->where("a.rekap", $rekap); goto ctouS; d2opR: $this->db->join("master_smt f", "a.id_smt=f.id_smt"); goto DoWxx; lh93F: $this->db->join("master_tp e", "a.id_tp=e.id_tp"); goto d2opR; Wo8IY: $this->db->select("a.id_jadwal, a.id_tp, a.id_smt, a.id_bank, a.id_jenis, a.tgl_mulai," . " a.tgl_selesai, a.status, a.ulang, a.reset_login, a.rekap, a.jam_ke," . " e.id_tp, e.tahun, f.id_smt, f.nama_smt, g.level, b.bank_kode, b.bank_level, b.bank_kelas," . " c.kode_jenis, d.kode, d.nama_mapel," . " b.tampil_pg, b.tampil_kompleks, b.tampil_jodohkan, b.tampil_isian, b.tampil_esai, b.bank_guru_id," . " (SELECT COUNT(id_soal) FROM cbt_soal WHERE cbt_soal.bank_id = a.id_bank) AS total_soal"); goto MQSMw; MQSMw: $this->db->from("cbt_jadwal a"); goto oDScO; uvZ1v: return $query; goto kbQ3k; kbQ3k: } public function getAllDataJadwal($guru = null, $mapel = null, $level = null) { goto qjrIQ; qVwe5: $ret = []; goto eKjO2; KwBFT: $this->db->order_by("a.id_tp", "DESC"); goto lCRxy; uCTsj: return $ret; goto Fd9K8; mlTew: $this->db->join("cbt_bank_soal b", "b.id_bank=a.id_bank"); goto CTngZ; LqWCL: $this->db->join("master_mapel d", "d.id_mapel=b.bank_mapel_id", "left"); goto skMR7; qjrIQ: $this->db->select("a.id_jadwal, a.tgl_mulai, a.tgl_selesai, a.status, a.durasi_ujian, a.acak_soal," . " a.acak_opsi, a.id_bank, a.id_jenis, a.hasil_tampil, a.status, a.ulang, a.reset_login, a.rekap," . " a.jam_ke, a.token, e.tahun, f.nama_smt, g.level, b.bank_kode, b.bank_level, b.bank_kelas, c.kode_jenis, d.kode, d.nama_mapel," . " b.tampil_pg, b.tampil_kompleks, b.tampil_jodohkan, b.tampil_isian, b.tampil_esai, b.bank_guru_id," . " (SELECT COUNT(id_soal) FROM cbt_soal WHERE cbt_soal.bank_id = a.id_bank) AS total_soal"); goto zvZaP; f_GL4: $this->db->where("b.bank_level", $level); goto L5SG0; yVYtK: BSlR7: goto sJyAh; lCRxy: $this->db->order_by("a.id_smt", "DESC"); goto A2tG9; skMR7: $this->db->join("master_tp e", "a.id_tp=e.id_tp"); goto DXvU1; L5SG0: PBf4I: goto FL8DJ; KNHN6: $this->db->where("b.bank_mapel_id", $mapel); goto yVYtK; zvZaP: $this->db->from("cbt_jadwal a"); goto mlTew; eKjO2: foreach ($query as $key => $row) { $ret["<b>" . $row->kode_jenis . "</b>  " . $row->tahun . " smt " . $row->nama_smt][$row->level][] = $row; wTqkO: } goto g5Vy9; ljuzW: $this->db->where("b.bank_guru_id", $guru); goto WiwKu; Qwapd: if (!($guru !== null)) { goto CARWI; } goto ljuzW; WiwKu: CARWI: goto M9chN; CTngZ: $this->db->join("cbt_jenis c", "c.id_jenis=a.id_jenis", "left"); goto LqWCL; xUY8F: $this->db->join("level_kelas g", "b.bank_level=g.id_level"); goto Qwapd; g5Vy9: A6NDU: goto uCTsj; DXvU1: $this->db->join("master_smt f", "a.id_smt=f.id_smt"); goto xUY8F; FL8DJ: $this->db->order_by("b.bank_level", "ASC"); goto KwBFT; M9chN: if (!($mapel !== null)) { goto BSlR7; } goto KNHN6; sJyAh: if (!($level !== null)) { goto PBf4I; } goto f_GL4; A2tG9: $query = $this->db->get()->result(); goto qVwe5; Fd9K8: } public function getJadwalTerpakai($id_jadwal = null) { goto qlrkf; JRIEj: if (!($id_jadwal != null)) { goto Gcueg; } goto HJgsv; MKQVM: $result = $this->db->get()->result(); goto waTiW; Tb3Gx: foreach ($result as $key => $row) { $ret[$row->id_jadwal][$row->id_siswa] = $row; nAyP4: } goto YlKpS; HJgsv: $this->db->where("id_jadwal", $id_jadwal); goto WxkY0; YlKpS: w1L3F: goto Qbtxc; waTiW: $ret = []; goto Tb3Gx; qlrkf: $this->db->from("cbt_soal_siswa"); goto JRIEj; WxkY0: Gcueg: goto MKQVM; Qbtxc: return $ret; goto zgnt1; zgnt1: } public function getBankTerpakai($id_bank = null) { goto gxZpj; BB1hU: return $ret; goto mqMy9; Tqkhc: if (!($id_bank != null)) { goto nf8t0; } goto TtGvS; pUJuJ: $result = $this->db->get()->result(); goto PEkgV; TtGvS: $this->db->where("id_bank", $id_bank); goto Mb2VK; ql96E: foreach ($result as $key => $row) { $ret[$row->id_bank][$row->id_siswa] = $row; ej1TP: } goto JRvh5; JRvh5: l6Rlu: goto BB1hU; gxZpj: $this->db->from("cbt_soal_siswa"); goto Tqkhc; Mb2VK: nf8t0: goto pUJuJ; PEkgV: $ret = []; goto ql96E; mqMy9: } public function getRekapByJadwalKelas($jadwal, $guru = null) { goto rqRTW; XvZIc: $this->db->where("id_jadwal", $jadwal); goto nX265; xqw8M: FTv07: goto W0qwv; W0qwv: $result = $this->db->get()->row(); goto Fua6z; aDrR3: $this->db->where("id_guru", $guru); goto xqw8M; rqRTW: $this->db->from("cbt_rekap"); goto XvZIc; Fua6z: return $result; goto o9qxQ; nX265: if (!($guru !== null)) { goto FTv07; } goto aDrR3; o9qxQ: } public function getRekapJadwal($guru = null) { goto g7huH; pekJL: m9xo2: goto LP1By; hibPw: $this->db->where("id_guru", $guru); goto pekJL; wecPc: $this->db->from("cbt_rekap"); goto XAwth; g7huH: $this->db->select("*"); goto wecPc; TPHw_: return $query->result(); goto lXAyd; XAwth: if (!($guru !== null)) { goto m9xo2; } goto hibPw; KUq5T: $query = $this->db->get(); goto TPHw_; LP1By: $this->db->order_by("tgl_mulai", "DESC"); goto KUq5T; lXAyd: } public function getAllRekapByJenis($tp, $smt, $jenis, $level, $mapel, $jadwal = null, $guru = null) { goto ZW45I; m8DsK: if (!($guru != null)) { goto i9aT6; } goto EAHYF; XrHiz: $this->db->where("kode_jenis", $jenis); goto gabQA; ADngJ: $result = $this->db->get()->result(); goto MFnNI; PfEj3: NUOsf: goto zDSwA; rOnbH: $this->db->where("smt", $smt); goto XrHiz; gabQA: $this->db->where("bank_level", $level); goto NHkmK; WOiQ2: i9aT6: goto jUGN4; kjjqg: $this->db->where("id_mapel", $mapel); goto PfEj3; ZW45I: $this->db->from("cbt_rekap"); goto bTv6Y; bTv6Y: if (!($mapel != "0")) { goto NUOsf; } goto kjjqg; tOGEa: $this->db->where("id_jadwal", $jadwal); goto qYhnu; NHkmK: $this->db->order_by("id_mapel", "ASC"); goto ADngJ; qYhnu: hHJJR: goto m8DsK; zDSwA: if (!($jadwal != null)) { goto hHJJR; } goto tOGEa; EAHYF: $this->db->where("id_guru", $guru); goto WOiQ2; jUGN4: $this->db->where("tp", $tp); goto rOnbH; MFnNI: return $result; goto HirK0; HirK0: } public function getAllNilaiRekapByJenis($tp, $smt, $kode_jenis, $id_kelas, $id_mapel, $id_jadwal = null, $id_guru = null) { goto DZl8e; uIWqx: $this->db->join("buku_induk i", "i.id_siswa=a.id_siswa AND =i.status=1"); goto YTNnR; iCruf: zZK5o: goto ZhaMJ; ma330: $this->db->from("cbt_rekap_nilai a"); goto XwQlc; xXuno: $result = $this->db->get()->result(); goto glMD3; JeQxK: $this->db->where("a.id_kelas", $id_kelas); goto e6X0K; lHeEQ: $this->db->where("a.id_jadwal", $id_jadwal); goto iCruf; YTNnR: if (!($id_mapel != "0")) { goto AsBNJ; } goto fIiVi; ZcTGD: $this->db->join("master_siswa c", "c.id_siswa=a.id_siswa", "left"); goto uIWqx; TeIFj: AsBNJ: goto iIMZA; jO8c6: $this->db->where("a.id_guru", $id_guru); goto Oefnq; XwQlc: $this->db->join("cbt_nomor_peserta b", "b.id_siswa=a.id_siswa AND b.id_tp=a.id_tp", "left"); goto ZcTGD; ZhaMJ: if (!($id_guru != null)) { goto vi_uh; } goto jO8c6; q8nru: $this->db->order_by("c.nama", "ASC"); goto xXuno; DZl8e: $this->db->select("a.*, b.nomor_peserta, c.nama"); goto ma330; Oefnq: vi_uh: goto JeQxK; glMD3: return $result; goto baCkO; X52qF: $this->db->where("a.kode_jenis", $kode_jenis); goto q8nru; e6X0K: $this->db->where("a.tp", $tp); goto efjMQ; efjMQ: $this->db->where("a.smt", $smt); goto X52qF; iIMZA: if (!($id_jadwal != null)) { goto zZK5o; } goto lHeEQ; fIiVi: $this->db->where("a.id_mapel", $id_mapel); goto TeIFj; baCkO: } public function getAllRekap($guru = null) { goto t1WXE; Mx3H9: $this->db->from("cbt_rekap"); goto qFu20; Fc8_f: Whdwc: goto nLylv; dIuIa: $ret = []; goto j5Dsx; sEf1u: nrJjj: goto E0nQ5; j5Dsx: foreach ($result as $key => $row) { $ret[$row->id_jadwal] = $row; XyuxW: } goto sEf1u; nLylv: $result = $this->db->get()->result(); goto dIuIa; PHUpK: $this->db->where("id_guru", $guru); goto Fc8_f; qFu20: if (!($guru != null)) { goto Whdwc; } goto PHUpK; t1WXE: $this->db->select("id_rekap, id_tp, tp, id_smt, smt, id_jadwal, id_jenis, kode_jenis, id_bank, bank_kelas, nama_kelas, bank_kode, bank_level, id_mapel, nama_mapel, kode, tgl_mulai, tgl_selesai, id_guru, nama_guru"); goto Mx3H9; E0nQ5: return $ret; goto tAsWj; tAsWj: } public function getJadwalById($id_jadwal, $sesi = null) { goto InpsU; InpsU: $this->db->select("a.*, b.opsi, b.bank_kode, b.bank_level, b.bank_kelas," . " b.tampil_pg, b.tampil_kompleks, b.tampil_jodohkan, b.tampil_isian, b.tampil_esai," . " b.bobot_pg, b.bobot_kompleks, b.bobot_jodohkan, b.bobot_isian, b.bobot_esai," . " b.id_bank, b.bank_guru_id, c.kode_jenis, c.nama_jenis," . " d.id_mapel, d.kode, d.nama_mapel, f.id_guru, f.nama_guru"); goto S1JMR; sqIMN: $this->db->join("cbt_bank_soal b", "b.id_bank=a.id_bank", "left"); goto ZB103; XZv34: return $query; goto AWFHg; ZB103: $this->db->join("cbt_jenis c", "c.id_jenis=a.id_jenis", "left"); goto a4gF7; oFADd: $this->db->where("a.id_jadwal", $id_jadwal); goto w5gwP; a4gF7: $this->db->join("master_mapel d", "d.id_mapel=b.bank_mapel_id", "left"); goto dRYVf; w5gwP: $query = $this->db->get()->row(); goto XZv34; NSOLg: VMRjj: goto GAIBy; dRYVf: if (!($sesi != null)) { goto VMRjj; } goto eoH9R; eoH9R: $this->db->join("cbt_sesi e", "e.id_sesi=" . $sesi, "left"); goto NSOLg; S1JMR: $this->db->from("cbt_jadwal a"); goto sqIMN; GAIBy: $this->db->join("master_guru f", "f.id_guru=b.bank_guru_id", "left"); goto oFADd; AWFHg: } public function getJadwalByIdBank($id_bank) { goto xxyg6; h8tXX: $this->db->where("a.id_bank", $id_bank); goto s8Lc2; xxyg6: $this->db->select("a.*, b.opsi, b.bank_kode, b.bank_level, b.bank_kelas," . " b.tampil_pg, b.tampil_kompleks, b.tampil_jodohkan, b.tampil_isian, b.tampil_esai," . " b.bobot_pg, b.bobot_kompleks, b.bobot_jodohkan, b.bobot_isian, b.bobot_esai," . " b.id_bank, b.bank_guru_id, c.kode_jenis, c.nama_jenis," . " d.id_mapel, d.kode, d.nama_mapel, f.id_guru, f.nama_guru"); goto a79hM; JF5bx: $this->db->join("master_guru f", "f.id_guru=b.bank_guru_id", "left"); goto h8tXX; s8Lc2: $query = $this->db->get()->row(); goto RZrR3; Q_NYk: $this->db->join("cbt_jenis c", "c.id_jenis=a.id_jenis", "left"); goto COgNI; RZrR3: return $query; goto fTjHb; a79hM: $this->db->from("cbt_jadwal a"); goto nb7wS; COgNI: $this->db->join("master_mapel d", "d.id_mapel=b.bank_mapel_id", "left"); goto JF5bx; nb7wS: $this->db->join("cbt_bank_soal b", "b.id_bank=a.id_bank", "left"); goto Q_NYk; fTjHb: } public function getAllJadwal($tp, $smt, $id_guru = null) { goto mos85; ewWwh: if (!($id_guru != null)) { goto CTTgh; } goto ckWZR; jd928: return $this->db->get()->result(); goto U3ayj; mos85: $this->db->select("a.bank_kode, a.bank_kelas, b.id_jadwal"); goto KFSYF; tfq8M: $this->db->join("cbt_jadwal b", "b.id_bank=a.id_bank"); goto ewWwh; KFSYF: $this->db->from("cbt_bank_soal a"); goto tfq8M; MebZ2: $this->db->where("b.id_tp", $tp); goto VPaEj; Px28O: CTTgh: goto MebZ2; VPaEj: $this->db->where("b.id_smt", $smt); goto jd928; ckWZR: $this->db->where("a.bank_guru_id", $id_guru); goto Px28O; U3ayj: } public function getJadwalByArrId($arr_id_jadwal, $sesi = null) { goto SuMIh; NZ63v: $this->db->join("cbt_jenis c", "c.id_jenis=a.id_jenis", "left"); goto H1QfS; H1QfS: $this->db->join("master_mapel d", "d.id_mapel=b.bank_mapel_id", "left"); goto szywu; WCxaO: $this->db->join("master_guru f", "f.id_guru=b.bank_guru_id", "left"); goto iC_9t; QmCxP: $this->db->join("cbt_sesi e", "e.id_sesi=" . $sesi, "left"); goto qV4BG; qV4BG: BblLe: goto WCxaO; szywu: if (!($sesi != null)) { goto BblLe; } goto QmCxP; iC_9t: $this->db->where_in("a.id_jadwal", $arr_id_jadwal); goto pP0Am; tjOMd: return $query; goto KwuGi; SuMIh: $this->db->select("a.*, b.opsi, b.bank_kode, b.bank_level, b.bank_kelas," . " b.tampil_pg, b.tampil_kompleks, b.tampil_jodohkan, b.tampil_isian, b.tampil_esai," . " b.bobot_pg, b.bobot_kompleks, b.bobot_jodohkan, b.bobot_isian, b.bobot_esai," . " b.id_bank, b.bank_guru_id, c.kode_jenis, c.nama_jenis," . " d.id_mapel, d.kode, d.nama_mapel, f.id_guru, f.nama_guru"); goto Y49wQ; S_22a: $this->db->join("cbt_bank_soal b", "b.id_bank=a.id_bank", "left"); goto NZ63v; Y49wQ: $this->db->from("cbt_jadwal a"); goto S_22a; pP0Am: $query = $this->db->get()->result(); goto tjOMd; KwuGi: } public function cekJadwalBankSoal($id_bank) { goto oqnIo; tyHyA: Kl36T: goto z26u6; z26u6: $this->db->where_in("id_bank", $id_bank); goto oZmQT; NVJHQ: goto hWBGO; goto tyHyA; oZmQT: hWBGO: goto aX2jC; RGsPT: if (is_array($id_bank)) { goto Kl36T; } goto yDHkn; oqnIo: $this->db->select("id_bank"); goto YBr1S; YBr1S: $this->db->from("cbt_jadwal"); goto RGsPT; yDHkn: $this->db->where("id_bank", $id_bank); goto NVJHQ; LCe4Q: return $query; goto PGdeA; aX2jC: $query = $this->db->get()->num_rows(); goto LCe4Q; PGdeA: } public function cekJadwalSudahMulai($id_jadwal) { $query = $this->get_where("cbt_durasi_siswa", "id_jadwal", $id_jadwal)->num_rows(); return $query; } public function saveJadwalUjian($id_tp, $id_smt) { goto KrpQo; Du4V_: B_xcL: goto ZrFpf; vM_Mp: $jenis_id = strip_tags($this->input->post("jenis_id", TRUE)); goto Ghkpc; iQypl: $status = $this->input->post("status", TRUE); goto ncHak; ArGcu: gXW3g: goto fPRAm; QlU8S: $check = $this->db->where("id_bank", $bank_id)->where("id_jenis", $jenis_id)->get("cbt_jadwal")->row(); goto hav2Y; hav2Y: $data = array("id_tp" => $id_tp, "id_smt" => $id_smt, "id_bank" => $bank_id, "id_jenis" => $jenis_id, "tgl_mulai" => $mulai, "tgl_selesai" => $selesai, "durasi_ujian" => $durasi, "jarak" => $jarak, "acak_soal" => !$acak_soal ? "0" : $acak_soal, "acak_opsi" => !$acak_opsi ? "0" : $acak_opsi, "hasil_tampil" => !$hasil_tampil ? "0" : $hasil_tampil, "token" => !$token ? "0" : $token, "status" => !$status ? "0" : $status, "reset_login" => !$reset_login ? "0" : $reset_login); goto jT1YO; MhSJD: return $this->db->update("cbt_jadwal", $data); goto RyPNc; HtBhH: szQH1: goto tJhXF; elk9G: goto B70BF; goto ArGcu; RyPNc: goto wJg5t; goto qmeDu; IBkGO: $acak_opsi = $this->input->post("acak_opsi", TRUE); goto DC4Wc; yRn98: return false; goto rhe2i; yXmV7: $this->db->insert("cbt_jadwal", $data); goto IimF2; ZrFpf: return false; goto HtBhH; DC4Wc: $hasil_tampil = $this->input->post("hasil_tampil", TRUE); goto MBmXb; LOpry: $bank_id = strip_tags($this->input->post("bank_id", TRUE)); goto vM_Mp; U3BuV: $selesai = strip_tags($this->input->post("tgl_selesai", TRUE)); goto mXUJJ; MBmXb: $token = $this->input->post("token", TRUE); goto iQypl; fPRAm: if ($check != null) { goto B_xcL; } goto yXmV7; Ghkpc: $mulai = strip_tags($this->input->post("tgl_mulai", TRUE)); goto U3BuV; MYjNY: if ($check != null && $check->id_jadwal != $id) { goto fpCJr; } goto u05ww; Zib9K: goto szQH1; goto Du4V_; NVByW: return $insert_id; goto Zib9K; KrpQo: $id = $this->input->post("id_jadwal", true); goto bSliW; nTEqE: $jarak = strip_tags($this->input->post("jarak", TRUE)); goto QlU8S; bSliW: $acak_soal = $this->input->post("acak_soal", TRUE); goto IBkGO; u05ww: $this->db->where("id_jadwal", $id); goto MhSJD; rhe2i: wJg5t: goto elk9G; ncHak: $reset_login = $this->input->post("reset_login", TRUE); goto LOpry; qmeDu: fpCJr: goto yRn98; tJhXF: B70BF: goto nvqvd; mXUJJ: $durasi = strip_tags($this->input->post("durasi_ujian", TRUE)); goto nTEqE; jT1YO: if ($id == '') { goto gXW3g; } goto MYjNY; IimF2: $insert_id = $this->db->insert_id(); goto NVByW; nvqvd: } public function getJadwalTgl($guru = null) { goto l12UU; nBs0b: $this->db->from("cbt_jadwal"); goto Jvb2z; wqaX1: $this->db->select("tgl_mulai"); goto nBs0b; Jvb2z: $query = $this->db->get(); goto PhtP7; PhtP7: return $query->result(); goto QCTys; l12UU: $this->db->distinct(); goto wqaX1; QCTys: } public function getDataJadwalByTgl($tgl) { goto PmCGt; sz2h8: $query = $this->db->get(); goto Yjlov; PmCGt: $this->db->distinct(); goto YoJLm; YoJLm: $this->db->select("tgl_mulai, tgl_selesai"); goto g7aA3; LGv4U: $this->db->where("tgl_mulai <= '{$tgl}' AND tgl_selesai >= '{$tgl}'"); goto sz2h8; g7aA3: $this->db->from("cbt_jadwal"); goto LGv4U; Yjlov: return $query->result(); goto Tj3RR; Tj3RR: } public function getDataGuru() { goto Igsw_; AGa1Q: $this->db->join("cbt_pengawas b", "b.id_guru = a.id_guru", "left"); goto uZ2Ob; Igsw_: $this->db->select("a.id_guru, a.nama_guru, b.id_pengawas, b.id_jadwal"); goto cB0fs; cB0fs: $this->db->from("master_guru a"); goto AGa1Q; mdC6k: return $query; goto FOPFI; uZ2Ob: $query = $this->db->get()->result(); goto mdC6k; FOPFI: } public function saveToken($post_token) { goto FzVfW; Llm_W: $auto = $post_token->auto; goto odPRL; CPUa4: return $this->db->update("cbt_token", $data); goto WKlqw; D2DA2: $data = array("token" => $tkn, "auto" => $auto, "jarak" => $jarak, "updated" => $post_token->updated); goto o9iEa; hcyWM: $this->db->where("id_token", $id); goto CPUa4; rrb2L: $tkn = $post_token->token; goto Llm_W; FzVfW: $id = isset($post_token->id_token) ? $post_token->id_token : false; goto rrb2L; RXrIl: FfGF0: goto V3Lr_; UlPPJ: return $insert_id; goto RXrIl; odPRL: $jarak = $post_token->jarak; goto D2DA2; roB7T: $insert_id = $this->db->insert_id(); goto UlPPJ; AICCI: iENQU: goto HqL7L; o9iEa: if (!$id) { goto iENQU; } goto hcyWM; HqL7L: $this->db->insert("cbt_token", $data); goto roB7T; WKlqw: goto FfGF0; goto AICCI; V3Lr_: } public function updateToken($token, $auto) { goto orNPN; NQ3zt: $this->db->where("token", $token); goto lqLuV; orNPN: $this->db->set("auto", $auto, FALSE); goto NQ3zt; lqLuV: $this->db->update("cbt_token"); goto R82vf; R82vf: $result = $this->db->get("cbt_token")->row(); goto sTubU; sTubU: return $result; goto ji7Ds; ji7Ds: } public function getToken() { $result = $this->db->get("cbt_token")->row(); return $result; } public function getJadwalCbtKelas($id_tp, $id_smt) { goto Z4bnp; tLO_Q: $this->db->join("cbt_bank_soal b", "b.id_bank=a.id_bank"); goto ZJn6K; Bp1pl: $this->db->from("cbt_jadwal a"); goto tLO_Q; qLaJn: return $this->db->get()->result(); goto o7dBA; ZJn6K: $this->db->where("a.id_tp", $id_tp); goto mUvqx; Z4bnp: $this->db->select("a.id_jadwal, b.bank_kelas"); goto Bp1pl; mUvqx: $this->db->where("a.id_smt", $id_smt); goto qLaJn; o7dBA: } public function getInfoJadwal($id_bank) { goto qzr8y; Ts_zs: return $this->db->get()->row(); goto U9ICn; dML8J: $this->db->where("a.id_bank", $id_bank); goto Ts_zs; i3YfI: $this->db->join("cbt_jadwal b", "a.id_bank=b.id_bank"); goto dML8J; QeNTQ: $this->db->from("cbt_bank_soal a"); goto i3YfI; qzr8y: $this->db->select("a.id_bank, b.acak_soal, b.acak_opsi, a.opsi," . " a.tampil_pg, a.tampil_kompleks, a.tampil_jodohkan, a.tampil_isian, a.tampil_esai," . " a.bobot_pg,  a.bobot_kompleks,  a.bobot_jodohkan,  a.bobot_isian,  a.bobot_esai"); goto QeNTQ; U9ICn: } public function getAllIdSoal($id_bank) { goto bSMuW; bSMuW: $this->db->select("id_soal, jenis, jawaban"); goto emFia; VWnUM: return $ret; goto M583F; emFia: $this->db->from("cbt_soal"); goto zo26P; zo26P: $this->db->where("tampilkan", "1"); goto vIvyF; B1miq: uATxp: goto VWnUM; kHcW3: $ret = []; goto XOlI7; G2oQQ: foreach ($result as $row) { $ret[$row->jenis][] = $row; ytmcy: } goto AQTUT; tI2TJ: $result = $this->db->get()->result(); goto kHcW3; vIvyF: $this->db->where("bank_id", $id_bank); goto tI2TJ; XOlI7: if (!$result) { goto uATxp; } goto G2oQQ; AQTUT: mZiQz: goto B1miq; M583F: } public function getJadwalCbt($id_tp, $id_smt, $level) { goto JX92F; qF1NG: $this->db->join("cbt_jenis b", "b.id_jenis=a.id_jenis"); goto FlWLt; mxWQK: $this->db->join("master_mapel d", "d.id_mapel=c.bank_mapel_id"); goto CeRB4; oG9eD: return $retur; goto HpTg_; FlWLt: $this->db->join("cbt_bank_soal c", "c.id_bank=a.id_bank"); goto mxWQK; NB5Uw: $result = $this->db->get()->result(); goto FG3pQ; JX92F: $this->db->select("a.id_jadwal, a.id_tp, a.id_smt, a.id_bank, a.id_jenis, a.tgl_mulai, a.tgl_selesai," . " a.durasi_ujian, a.pengawas, a.acak_soal, a.acak_opsi, a.hasil_tampil, a.token, a.status, a.ulang," . " a.reset_login, a.rekap, a.jam_ke, a.jarak," . " c.bank_kode, c.bank_level, c.bank_kelas, c.tampil_pg, c.tampil_kompleks, c.tampil_jodohkan," . " c.tampil_isian, c.tampil_esai, c.soal_agama, " . " c.bobot_pg, c.bobot_kompleks, c.bobot_jodohkan, c.bobot_isian, c.bobot_esai, b.kode_jenis," . " b.nama_jenis, d.kode, d.nama_mapel"); goto WvOd_; IafV3: $this->db->where("a.status", "1"); goto bfY6H; CeRB4: $this->db->where("a.id_tp", $id_tp); goto IafV3; ptwXJ: y4qwP: goto oG9eD; WvOd_: $this->db->from("cbt_jadwal a"); goto qF1NG; YihpM: $this->db->where("c.status_soal", "1"); goto SKPy4; UJkPN: foreach ($result as $row) { $retur[$row->id_jadwal] = $row; XubE1: } goto ptwXJ; sjYui: $this->db->order_by("a.jam_ke"); goto NB5Uw; BwVZG: $this->db->where("c.status", "1"); goto YihpM; FG3pQ: $retur = []; goto UJkPN; SKPy4: $this->db->where("c.bank_level", $level); goto sjYui; bfY6H: $this->db->where("a.id_smt", $id_smt); goto BwVZG; HpTg_: } public function getJadwalByKelas($id_tp, $id_smt, $kelas) { goto bfdAh; d3aq5: return $retur; goto YZ2id; jIvXy: $this->db->join("cbt_jenis b", "b.id_jenis=a.id_jenis"); goto RQMAL; a7oWO: $this->db->where("a.id_tp", $id_tp); goto T33nG; sHyoF: $this->db->where("c.status_soal", "1"); goto SUNZ1; yQ5lB: $this->db->join("master_mapel d", "d.id_mapel=c.bank_mapel_id"); goto a7oWO; IICPX: foreach ($result as $row) { $retur[$row->id_jadwal] = $row; Wopgx: } goto xWf7R; xWf7R: tyoIG: goto d3aq5; Hn_2L: $this->db->where("c.status", "1"); goto sHyoF; JJc7z: $this->db->from("cbt_jadwal a"); goto jIvXy; RQMAL: $this->db->join("cbt_bank_soal c", "c.id_bank=a.id_bank"); goto yQ5lB; Dy5p6: $result = $this->db->get()->result(); goto zw5C1; Hb14u: $this->db->where("a.id_smt", $id_smt); goto Hn_2L; sTpfT: $this->db->order_by("a.jam_ke"); goto Dy5p6; zw5C1: $retur = []; goto IICPX; SUNZ1: $this->db->like("c.bank_kelas", $kelas); goto sTpfT; bfdAh: $this->db->select("a.id_jadwal, a.id_tp, a.id_smt, a.id_bank, a.id_jenis, a.tgl_mulai, a.tgl_selesai," . " a.durasi_ujian, a.pengawas, a.acak_soal, a.acak_opsi, a.hasil_tampil, a.token, a.status, a.ulang," . " a.reset_login, a.rekap, a.jam_ke, a.jarak," . " c.bank_kode, c.bank_level, c.bank_kelas, c.tampil_pg, c.tampil_kompleks, c.tampil_jodohkan," . " c.tampil_isian, c.tampil_esai, c.soal_agama, " . " c.bobot_pg, c.bobot_kompleks, c.bobot_jodohkan, c.bobot_isian, c.bobot_esai, b.kode_jenis," . " b.nama_jenis, d.kode, d.nama_mapel"); goto JJc7z; T33nG: $this->db->where("a.status", "1"); goto Hb14u; YZ2id: } public function getCbt($id_jadwal) { goto OCSRw; Xsc_6: $this->db->where("a.id_jadwal", $id_jadwal); goto P94c3; yQ5lo: $this->db->join("master_tp g", "g.id_tp=a.id_tp", "left"); goto XLJxt; ptzIE: $this->db->join("master_jurusan f", "f.id_jurusan=c.bank_jurusan_id", "left"); goto yQ5lo; OCSRw: $this->db->select("a.id_jadwal, a.id_tp, a.id_smt, a.id_bank, a.id_jenis, a.tgl_mulai, a.tgl_selesai," . " a.durasi_ujian, a.pengawas, a.acak_soal, a.acak_opsi, a.hasil_tampil, a.token, a.status, a.ulang," . " a.reset_login, a.rekap, a.jam_ke, a.jarak," . " b.nama_jenis, b.kode_jenis," . " c.bank_kode, c.bank_level, c.bank_kelas, c.bank_mapel_id, c.bank_jurusan_id," . " c.bank_guru_id, c.bank_nama, c.jml_soal, c.jml_esai, c.tampil_pg, c.tampil_esai, c.bobot_pg," . " c.bobot_esai, c.opsi, c.date, c.status, c.soal_agama, c.id_tp, c.id_smt, c.deskripsi, c.jml_kompleks," . " c.tampil_kompleks, c.bobot_kompleks, c.jml_jodohkan, c.tampil_jodohkan, c.bobot_jodohkan, c.jml_isian," . " c.tampil_isian, c.bobot_isian, c.status_soal," . " d.id_mapel, d.nama_mapel, d.kode," . " e.id_guru, e.nama_guru," . " f.id_jurusan, f.nama_jurusan, f.kode_jurusan," . " g.tahun," . " h.smt, h.nama_smt," . " (SELECT COUNT(id_soal) FROM cbt_soal WHERE cbt_soal.bank_id = a.id_bank) AS total_soal"); goto lk_3V; FGCGL: $this->db->join("cbt_bank_soal c", "c.id_bank=a.id_bank", "left"); goto fQziN; fQziN: $this->db->join("master_mapel d", "d.id_mapel=c.bank_mapel_id", "left"); goto ebpG3; lk_3V: $this->db->from("cbt_jadwal a"); goto IGzx_; XLJxt: $this->db->join("master_smt h", "h.id_smt=a.id_smt", "left"); goto Xsc_6; P94c3: return $this->db->get()->row(); goto e6M9v; IGzx_: $this->db->join("cbt_jenis b", "b.id_jenis=a.id_jenis", "left"); goto FGCGL; ebpG3: $this->db->join("master_guru e", "e.id_guru=c.bank_guru_id", "left"); goto ptzIE; e6M9v: } public function getCbtById($id_jadwal) { goto aS866; aS866: $this->db->select("*"); goto d85kr; kgyvl: return $this->db->get()->row(); goto ptV5m; d85kr: $this->db->from("cbt_jadwal"); goto q_Vvc; q_Vvc: $this->db->where("id_jadwal", $id_jadwal); goto kgyvl; ptV5m: } public function getIdRuangById($array) { goto DxSwd; xrL8r: $this->db->from("cbt_ruang"); goto UQHHq; pNp_B: return $ret; goto gyr27; UQHHq: $this->db->where("id_ruang", $array); goto RFRfy; Ak1Hy: if (!$result) { goto TAM0S; } goto ZrwF5; GZmgn: TAM0S: goto pNp_B; DxSwd: $this->db->select("nama_ruang"); goto xrL8r; aYTu5: iR1Iz: goto GZmgn; RFRfy: $result = $this->db->get()->result(); goto Ak1Hy; ZrwF5: foreach ($result as $key => $row) { $ret[$row->id_ruang] = $row->kode_ruang; teMTP: } goto aYTu5; gyr27: } public function getNamaRuangById($id) { goto W4r4l; vjFok: $result = $this->db->get()->row(); goto ggO5_; VMr73: So060: goto g78Mh; ggO5_: if ($result) { goto So060; } goto mlOsX; uDO68: $this->db->from("cbt_ruang"); goto rixsx; W4r4l: $this->db->select("nama_ruang"); goto uDO68; g78Mh: return $result->nama_ruang; goto A_gf_; A_gf_: ZpVRR: goto wTaUJ; mlOsX: return ''; goto m3L8w; m3L8w: goto ZpVRR; goto VMr73; rixsx: $this->db->where("id_ruang", $id); goto vjFok; wTaUJ: } public function getNamaSesiById($id) { goto ZUshN; ZUshN: $this->db->select("nama_sesi"); goto Ta3mu; Mjd1o: return $this->db->get()->row()->nama_sesi; goto f7ISP; BTnwm: $this->db->where(["id_sesi" => $id]); goto Mjd1o; Ta3mu: $this->db->from("cbt_sesi"); goto BTnwm; f7ISP: } public function getNamaKelasById($id) { goto dZdW2; xsgkZ: return $this->db->get()->row()->nama_kelas; goto TnWMd; R5dtZ: $this->db->where(["id_kelas" => $id]); goto xsgkZ; dZdW2: $this->db->select("nama_kelas"); goto gZ2Tc; gZ2Tc: $this->db->from("master_kelas"); goto R5dtZ; TnWMd: } public function getNamaGuruById($id) { goto Dsqro; UJz_B: return $this->db->get()->row()->nama_guru; goto vr81n; jADQ4: $this->db->from("master_guru"); goto KLCCm; Dsqro: $this->db->select("nama_guru"); goto jADQ4; KLCCm: $this->db->where("id_guru", $id); goto UJz_B; vr81n: } public function getElapsed($id) { goto eZes_; DAy1E: return $this->db->get()->row(); goto LLNcn; U17S4: $this->db->where("id_durasi", $id); goto DAy1E; cNtFe: $this->db->from("cbt_durasi_siswa"); goto U17S4; eZes_: $this->db->select("id_durasi, id_siswa, id_jadwal, status, lama_ujian, mulai, selesai, reset"); goto cNtFe; LLNcn: } public function getSoalSiswa($id_bank, $id_siswa) { goto q4aFG; Mn_4w: $this->db->from("cbt_soal_siswa a"); goto y5lGU; c1cjx: return $this->db->get()->result(); goto CzZND; BZbZb: $this->db->order_by("a.no_soal_alias"); goto c1cjx; q4aFG: $this->db->select("a.*, b.jenis, b.nomor_soal, b.jawaban"); goto Mn_4w; qxILn: $this->db->order_by("a.jenis_soal"); goto BZbZb; Vwhv3: $this->db->where("a.id_bank", $id_bank); goto ekAGo; ekAGo: $this->db->where("a.id_siswa", $id_siswa); goto qxILn; y5lGU: $this->db->join("cbt_soal b", "b.id_soal=a.id_soal", "left"); goto Vwhv3; CzZND: } public function getJumlahSoalSiswa($id_bank, $id_siswa) { goto qKcKr; S7sD9: $result = $this->db->get()->num_rows(); goto JUQV1; JUQV1: return $result; goto l1ll2; ekoZm: $this->db->where("id_bank", $id_bank); goto O3dxA; qKcKr: $this->db->select("id_soal_siswa"); goto AiD2P; AiD2P: $this->db->from("cbt_soal_siswa"); goto ekoZm; O3dxA: $this->db->where("id_siswa", $id_siswa); goto S7sD9; l1ll2: } public function getALLSoalSiswa($id_bank, $id_siswa) { goto wSsxk; lrN5b: $this->db->from("cbt_soal_siswa a"); goto KMQsZ; wSsxk: $this->db->select("a.id_soal_siswa, a.id_bank, a.id_jadwal, a.id_soal, a.id_siswa, a.jenis_soal," . " a.no_soal_alias, a.opsi_alias_a, a.opsi_alias_b, a.opsi_alias_c, a.opsi_alias_d, a.opsi_alias_e," . " a.jawaban_alias, a.jawaban_siswa, a.jawaban_benar, a.point_essai, a.soal_end, a.point_soal," . " b.id_soal, b.nomor_soal, b.soal, b.jawaban, b.opsi_a, b.opsi_b, b.opsi_c, b.opsi_d," . " b.opsi_e, b.tampilkan"); goto lrN5b; ZVqK5: $this->db->where("a.id_siswa", $id_siswa); goto t76Ur; KMQsZ: $this->db->join("cbt_soal b", "b.id_soal=a.id_soal"); goto XuAg5; t76Ur: $this->db->order_by("a.no_soal_alias"); goto fkap6; XTrxI: return $result; goto JJGbW; fkap6: $result = $this->db->get()->result(); goto XTrxI; XuAg5: $this->db->where("a.id_bank", $id_bank); goto ZVqK5; JJGbW: } public function getJumlahJawaban($id_bank, $id_siswa) { goto LpfWJ; cytWe: $this->db->from("cbt_soal_siswa"); goto i3Kcu; EoOwT: $result = $this->db->get()->result(); goto mA0P7; mA0P7: return $result; goto QtQst; SGW4t: $this->db->where("id_siswa", $id_siswa); goto EoOwT; LpfWJ: $this->db->select("jawaban_siswa, id_siswa, id_bank"); goto cytWe; i3Kcu: $this->db->where("id_bank", $id_bank); goto SGW4t; QtQst: } public function getSoalSiswaByJadwal($id_jadwal, $id_siswa) { goto rNHo7; l4HKB: $this->db->where("a.id_jadwal", $id_jadwal); goto lzxbv; l9Z6j: $this->db->join("cbt_soal b", "b.id_soal=a.id_soal"); goto l4HKB; QstuD: $this->db->from("cbt_soal_siswa a"); goto l9Z6j; rNHo7: $this->db->select("a.*, b.jenis, b.nomor_soal, b.soal, b.jawaban, b.opsi_a, b.opsi_b, b.opsi_c, b.opsi_d, b.opsi_e"); goto QstuD; lzxbv: $this->db->where("a.id_siswa", $id_siswa); goto UcYzi; aicRD: $this->db->order_by("b.nomor_soal"); goto TrvBk; TrvBk: return $this->db->get()->result(); goto Gtx1I; UcYzi: $this->db->where("b.tampilkan", "1"); goto gvKQX; gvKQX: $this->db->order_by("a.jenis_soal"); goto aicRD; Gtx1I: } public function getSoalSiswaByNomor($id_soal_siswa) { goto Cqhvk; gag3w: $this->db->join("cbt_soal b", "b.id_soal=a.id_soal"); goto rASr8; rASr8: $this->db->join("cbt_bank_soal c", "b.id_bank=a.id_bank"); goto KmKNH; Cqhvk: $this->db->select("a.id_soal_siswa, a.id_bank, a.opsi_alias_a, a.opsi_alias_b, a.opsi_alias_c, a.opsi_alias_d," . " a.opsi_alias_e, a.no_soal_alias, a.jawaban_alias, a.soal_end, a.jawaban_siswa," . " b.id_soal, b.jenis, b.nomor_soal, b.soal, b.jawaban, b.opsi_a, b.opsi_b, b.opsi_c, b.opsi_d, b.opsi_e, b.tampilkan," . " c.tampil_pg, c.tampil_kompleks, c.tampil_jodohkan, c.tampil_isian, c.tampil_esai,"); goto Nlj_1; Nlj_1: $this->db->from("cbt_soal_siswa a"); goto gag3w; NMtNZ: return $this->db->get()->row(); goto m47jW; J16fI: $this->db->order_by("a.no_soal_alias"); goto NMtNZ; KmKNH: $this->db->where("a.id_soal_siswa", $id_soal_siswa); goto J16fI; m47jW: } public function getSettingKartu() { goto B2SGY; G_yRg: $this->db->from("cbt_kop_kartu"); goto pD3a2; B2SGY: $this->db->select("*"); goto G_yRg; pD3a2: return $this->db->get()->row(); goto nJ08Y; nJ08Y: } public function getSettingKopAbsensi() { goto HT2WQ; HT2WQ: $this->db->select("a.*, b.logo_kanan, b.logo_kiri, b.kepsek, b.tanda_tangan"); goto h3TBA; h3TBA: $this->db->from("cbt_kop_absensi a"); goto JG16O; JG16O: $this->db->join("setting b", "b.id_setting=1", "left"); goto pJizy; pJizy: return $this->db->get()->row(); goto DVsgA; DVsgA: } public function getSettingKopBeritaAcara() { goto WA2rm; qN8tH: return $this->db->get()->row(); goto HVLNS; HxSV8: $this->db->from("cbt_kop_berita a"); goto Shm3F; Shm3F: $this->db->join("setting d", "d.id_setting=1", "left"); goto qN8tH; WA2rm: $this->db->select("a.*, d.logo_kanan, d.logo_kiri, d.kepsek, d.nip, d.tanda_tangan, d.sekolah"); goto HxSV8; HVLNS: } public function getDurasiSiswa($id) { return $this->db->get_where("cbt_durasi_siswa", "id_durasi=" . $id)->row(); } public function getFilterJawabanSiswa($jadwal, $arrIdSiswa) { goto fUWnu; yRtOS: $this->db->where_in("id_siswa", $arrIdSiswa); goto dW2mI; dW2mI: return $this->db->get("cbt_soal_siswa")->result(); goto hDnvc; fUWnu: $this->db->where("id_jadwal", $jadwal); goto yRtOS; hDnvc: } public function getFilterDurasiSiswa($jadwal, $arrIdSiswa) { goto ABX2c; FrfjL: foreach ($result as $key => $row) { $ret[$row->id_durasi] = $row; rgfxr: } goto pN8Tw; ABX2c: $this->db->where("id_jadwal", $jadwal); goto X0Pew; wUYAs: return $ret; goto yvhL0; X0Pew: $result = $this->db->get_where("cbt_durasi_siswa")->result(); goto xc8Gp; xc8Gp: $ret = []; goto FrfjL; pN8Tw: lhudb: goto wUYAs; yvhL0: } public function getJawabanByBank($id_bank, $id_siswa = null) { goto uJxGu; uJxGu: $this->db->select("a.*, b.nomor_soal, b.jawaban"); goto Q_CXO; B06A1: o0by2: goto kAIQV; K0ZTc: $this->db->where("a.id_siswa=", $id_siswa); goto B06A1; agxCl: return $result; goto mR8KF; xSGQu: if (!($id_siswa != null)) { goto o0by2; } goto K0ZTc; Q_CXO: $this->db->from("cbt_soal_siswa a"); goto AXsFw; AXsFw: $this->db->join("cbt_soal b", "b.id_soal=a.id_soal"); goto xSGQu; gI7z1: $result = $this->db->get()->result(); goto agxCl; kAIQV: $this->db->where("a.id_bank=", $id_bank); goto gI7z1; mR8KF: } public function getJawabanSiswa($id) { goto CGTKE; EbiER: $this->db->where("id_soal_siswa=", $id); goto wDHBd; wDHBd: return $this->db->get()->row(); goto zsD_2; sM4v9: $this->db->from("cbt_soal_siswa"); goto EbiER; CGTKE: $this->db->select("id_soal_siswa, id_bank, id_jadwal, id_soal, id_siswa, jenis_soal, no_soal_alias, opsi_alias_a, opsi_alias_b, opsi_alias_c, opsi_alias_d, opsi_alias_e, jawaban_alias, jawaban_siswa, jawaban_benar, point_soal"); goto sM4v9; zsD_2: } public function getJawabanSiswaByJadwal($id_jadwal, $id_siswa = null) { goto bU3r9; R0uT3: $this->db->join("cbt_soal b", "b.id_soal=a.id_soal"); goto LJSU0; bU3r9: $this->db->select("a.*, b.jenis, b.nomor_soal, b.soal, b.jawaban, b.opsi_a, b.opsi_b, b.opsi_c, b.opsi_d, b.opsi_e, b.tampilkan"); goto YIwHy; QPFds: $this->db->where("b.tampilkan", "1"); goto s1MrK; Yl2a8: $this->db->order_by("b.nomor_soal"); goto kwXtK; LJSU0: if (!($id_siswa != null)) { goto GCcPb; } goto pnewi; W1env: eS1tW: goto mg_Wp; OlGcR: fze1C: goto iYW2u; mg_Wp: GCcPb: goto uR9Fm; s1MrK: $this->db->order_by("a.jenis_soal"); goto Yl2a8; uR9Fm: $this->db->where("a.id_jadwal=", $id_jadwal); goto QPFds; VVBkl: $this->db->where("a.id_siswa", $id_siswa); goto CRi_m; YIwHy: $this->db->from("cbt_soal_siswa a"); goto R0uT3; kwXtK: return $this->db->get()->result(); goto yrYUS; CRi_m: goto eS1tW; goto OlGcR; pnewi: if (is_array($id_siswa)) { goto fze1C; } goto VVBkl; iYW2u: $this->db->where_in("a.id_siswa", $id_siswa); goto W1env; yrYUS: } public function getIdSiswaFromJawabanByJadwal($id_jadwal) { goto NnEYH; xlVzA: XqjQn: goto xtz83; L6YWj: foreach ($result as $row) { $retur[$row->id_siswa][] = $row; T0Dv8: } goto xlVzA; NnEYH: $result = $this->db->get_where("cbt_soal_siswa", "id_jadwal=" . $id_jadwal)->result(); goto trvSx; trvSx: $retur = []; goto L6YWj; xtz83: return $retur; goto BXhp0; BXhp0: } public function getDurasiSiswaByJadwal($id_jadwal, $id_siswa = null) { goto YMlB2; lk1_N: $this->db->from("cbt_durasi_siswa"); goto Kia4j; MiuCu: adxfY: goto UhZQU; YMlB2: $this->db->select("id_durasi, id_siswa, id_jadwal, status, lama_ujian, mulai, selesai, reset"); goto lk1_N; UhZQU: return $this->db->get()->result(); goto sQXYd; ZULz2: if (!($id_siswa != null)) { goto adxfY; } goto uM6nv; uM6nv: $this->db->where("id_siswa=", $id_siswa); goto MiuCu; Kia4j: $this->db->where("id_jadwal=", $id_jadwal); goto ZULz2; sQXYd: } public function getIdSiswaFromDurasiByJadwal($id_jadwal) { goto N4wan; LRnXC: WYjiX: goto tGVp3; N4wan: $result = $this->db->get_where("cbt_durasi_siswa", "id_jadwal=" . $id_jadwal)->result(); goto rv3ah; rv3ah: $retur = []; goto B7G_W; B7G_W: foreach ($result as $row) { $retur[$row->id_siswa] = $row; ekSie: } goto LRnXC; tGVp3: return $retur; goto R7Gpy; R7Gpy: } public function getLogUjianByJadwal($id_jadwal) { goto rv96k; jkn01: return $this->db->get()->result(); goto zw_y1; rv96k: $this->db->select("id_log, log_time, id_siswa, id_jadwal, log_type, log_desc, address, agent, device, reset"); goto Bp2Pj; W1Z04: $this->db->where("id_jadwal=", $id_jadwal); goto jkn01; Bp2Pj: $this->db->from("log_ujian"); goto W1Z04; zw_y1: } public function getIdSiswaFromLogUjianByJadwal($id_jadwal) { goto KXjV3; w2fRP: foreach ($result as $row) { $retur[$row->id_siswa] = $row; P00q1: } goto YHRe5; YHRe5: I3OAm: goto XoD3I; KXjV3: $result = $this->db->get_where("log_ujian", "id_jadwal=" . $id_jadwal)->result(); goto KyYTP; XoD3I: return $retur; goto iAqNW; KyYTP: $retur = []; goto w2fRP; iAqNW: } public function getNilaiSiswa($arr_jadwal, $id_siswa) { goto uPbjl; Aw41F: wQe8v: goto q0jhV; uPbjl: $this->db->select("*"); goto iUAS_; q0jhV: return $retur; goto ZhRlO; rax59: foreach ($result as $row) { $retur[$row->id_jadwal] = $row; khHMa: } goto Aw41F; MRA6m: $result = $this->db->get()->result(); goto qIe7i; iUAS_: $this->db->from("cbt_nilai"); goto O_Q2h; qIe7i: $retur = []; goto rax59; O_Q2h: $this->db->where_in("id_jadwal", $arr_jadwal); goto timv4; timv4: $this->db->where("id_siswa", $id_siswa); goto MRA6m; ZhRlO: } public function getNilaiSiswaByJadwal($id_jadwal, $id_siswa) { goto Ei6MG; Z4AWM: $result = $this->db->get()->row(); goto jBdeP; Ei6MG: $this->db->select("*"); goto GZJ2N; AOEed: $this->db->where("id_siswa", $id_siswa); goto Z4AWM; GZJ2N: $this->db->from("cbt_nilai"); goto LWeYs; LWeYs: $this->db->where("id_jadwal", $id_jadwal); goto AOEed; jBdeP: return $result; goto HTqXb; HTqXb: } public function getNilaiAllSiswa($arr_jadwal, $arr_id_siswa) { goto NLJmo; NLJmo: $this->db->select("*"); goto aqXGa; gdj5d: $result = $this->db->get()->result(); goto ThfmU; f7pcQ: foreach ($result as $row) { $retur[$row->id_siswa] = $row; QU_Ic: } goto DfjVA; Gs5q9: $this->db->where_in("id_siswa", $arr_id_siswa); goto gdj5d; WqY9b: return $retur; goto lvh9L; aqXGa: $this->db->from("cbt_nilai"); goto e8GJ5; DfjVA: f7Iwf: goto WqY9b; e8GJ5: $this->db->where_in("id_jadwal", $arr_jadwal); goto Gs5q9; ThfmU: $retur = []; goto f7pcQ; lvh9L: } public function getAllNilaiSiswa($id_jadwal) { goto Zobe1; Zobe1: $this->db->select("*"); goto g2UeQ; pn7Da: foreach ($result as $row) { $retur[$row->id_siswa] = $row; VgWks: } goto bIKjQ; g2UeQ: $this->db->from("cbt_nilai"); goto z31wR; Be5gO: $result = $this->db->get()->result(); goto E95Ku; z31wR: $this->db->where("id_jadwal", $id_jadwal); goto Be5gO; bIKjQ: yhhcv: goto sR6kW; E95Ku: $retur = []; goto pn7Da; sR6kW: return $retur; goto Cg0sU; Cg0sU: } public function getTotalKoreksi() { goto zH4Tj; YL40p: ehZZD: goto qI9L2; hm3Y_: $this->db->from("cbt_nilai"); goto YpIYh; sMVl0: foreach ($result as $row) { goto widsq; widsq: if (!($row->id_siswa != null)) { goto RzusT; } goto Km_7n; Km_7n: $retur[$row->id_jadwal][$row->dikoreksi][] = $row->id_siswa; goto QhoTv; gZcmh: w6ivR: goto JvPhm; QhoTv: RzusT: goto gZcmh; JvPhm: } goto YL40p; qI9L2: return $retur; goto ewxFZ; YpIYh: $result = $this->db->get()->result(); goto z11cK; z11cK: $retur = []; goto sMVl0; zH4Tj: $this->db->select("id_jadwal, dikoreksi, id_siswa"); goto hm3Y_; ewxFZ: } public function getNilaiAnalisis($id_jadwal) { return $this->db->get_where("cbt_nilai", "id_jadwal=" . $id_jadwal)->result(); } public function getLogUjian($siswa_id, $id_jadwal) { return $this->db->get_where("log_ujian", "id_siswa=" . $siswa_id . " AND id_jadwal=" . $id_jadwal)->result(); } public function getNomorPeserta($id_siswa) { return $this->db->get_where("cbt_nomor_peserta", "id_siswa=" . $id_siswa)->row(); } public function getAllNomorPeserta() { goto QGr6M; cyXXb: tkkP1: goto BccVn; BccVn: return $ret; goto TUNXS; rr0gw: $result = $this->db->get("cbt_nomor_peserta")->result(); goto fEyul; QGr6M: $this->db->select("*"); goto rr0gw; fEyul: $ret = []; goto TncXt; TncXt: foreach ($result as $row) { $ret[$row->id_siswa] = $row; dYrTy: } goto cyXXb; TUNXS: } public function getDistinctTahun() { goto F6LDC; zNJcQ: rXF5k: goto qss9F; onWLG: $result = $this->db->get("cbt_rekap_nilai")->result(); goto D0_y8; mZOKx: $this->db->distinct(); goto onWLG; qss9F: return $ret; goto l70YC; mAcdZ: foreach ($result as $row) { $ret[$row->tp] = $row->tp; s1xz_: } goto zNJcQ; F6LDC: $this->db->select("tp"); goto mZOKx; D0_y8: $ret = []; goto mAcdZ; l70YC: } public function getDistinctSmt() { goto aMvwZ; hMMv2: return $ret; goto dqjzM; PffvO: $ret = []; goto EW98t; WBKQM: $result = $this->db->get("cbt_rekap_nilai")->result(); goto PffvO; n9kl2: zA9e6: goto hMMv2; EW98t: foreach ($result as $row) { $ret[$row->smt] = $row->smt; YDuez: } goto n9kl2; aMvwZ: $this->db->select("smt"); goto aqPNQ; aqPNQ: $this->db->distinct(); goto WBKQM; dqjzM: } public function getDistinctJenisUjian() { goto Iqzn8; EV4S7: UtTty: goto X9ZhZ; XJNDv: $this->db->distinct(); goto IXqBg; X9ZhZ: return $ret; goto qS6CS; Iqzn8: $this->db->select("tp, smt, kode_jenis"); goto XJNDv; V6Del: foreach ($result as $row) { $ret[$row->tp][$row->smt][$row->kode_jenis] = $row->kode_jenis; bGwII: } goto EV4S7; cZfKq: $ret = []; goto V6Del; IXqBg: $result = $this->db->get("cbt_rekap_nilai")->result(); goto cZfKq; qS6CS: } public function getDistinctJenis() { goto OEX1w; aq7V4: $result = $this->db->get("cbt_rekap_nilai")->result(); goto Bc0k0; hOS0I: $this->db->distinct(); goto aq7V4; G_I7N: pbcFs: goto Lg84V; Bc0k0: $ret = []; goto ae9km; Lg84V: return $ret; goto ZhzpN; ae9km: foreach ($result as $row) { $ret[$row->tp][$row->smt][$row->id_jenis] = $row->kode_jenis; Zsdb9: } goto G_I7N; OEX1w: $this->db->select("id_jenis, tp, smt, kode_jenis"); goto hOS0I; ZhzpN: } public function getDistinctKelas($id_jadwal = null) { goto jVgZ5; DuVGY: foreach ($result as $row) { goto KFwRR; OdvdC: $ret[$row->tp][$row->smt][$row->kode_jenis][$row->id_kelas] = $row->nama_kelas; goto gdAew; KFwRR: if (!($row->id_kelas != '')) { goto PWvDS; } goto OdvdC; gdAew: PWvDS: goto T2tJ1; T2tJ1: IXzHu: goto R3aD5; R3aD5: } goto OF9kq; mn7M5: $ret = []; goto DuVGY; zWMmk: return $ret; goto TYQo5; hW_eN: if (!($id_jadwal != null)) { goto PlS1Q; } goto V2EY7; Uqpxv: $this->db->distinct(); goto IORpR; jVgZ5: $this->db->select("a.tp, a.smt, a.kode_jenis, a.id_kelas, b.nama_kelas"); goto Uqpxv; XGJRm: $result = $this->db->get()->result(); goto mn7M5; B7xqL: $this->db->join("master_kelas b", "b.id_kelas=a.id_kelas"); goto XGJRm; IORpR: $this->db->from("cbt_rekap_nilai a"); goto hW_eN; cUkF4: PlS1Q: goto B7xqL; V2EY7: $this->db->where("id_jadwal", $id_jadwal); goto cUkF4; OF9kq: U4Y7B: goto zWMmk; TYQo5: } } 
 ?>

Did this file decode correctly?

Original Code

<?php
 class Cbt_model extends CI_Model { public function get_where($table, $pk, $id, $join = null, $order = null) { goto fO0wB; lK8hY: foreach ($join as $table => $field) { $this->db->join($table, $field); tfCsS: } goto ygEae; Yv3xd: $this->db->where($pk, $id); goto Zonp1; ADo3y: if (!($order !== null)) { goto QXVj1; } goto zx5_f; ygEae: crd_d: goto ccRQg; zbjlw: return $query; goto R81_7; B3rSS: $query = $this->db->get(); goto zbjlw; Zonp1: if (!($join !== null)) { goto zLBs9; } goto lK8hY; OSWN6: QXVj1: goto B3rSS; zx5_f: foreach ($order as $field => $sort) { $this->db->order_by($field, $sort); WTMA3: } goto bLrL5; ccRQg: zLBs9: goto ADo3y; bLrL5: qXoah: goto OSWN6; iMmiD: $this->db->from($table); goto Yv3xd; fO0wB: $this->db->select("\x2a"); goto iMmiD; R81_7: } public function saveLog($id_siswa, $id_jadwal, $type, $desc) { goto X1xnM; vc8cF: FgQBH: goto PNF2C; t_9vY: $os = $this->agent->platform(); goto fF4Kj; VOAYY: ExjSg: goto ZSaDm; lIh2E: K3V7_: goto N8fll; pp2Gv: return $this->insertLog($id_siswa, $id_jadwal, $type, $desc, $agent, $os, $ip); goto UHQ60; QgBTc: $agent = $this->agent->browser() . "\40" . $this->agent->version(); goto uQtbE; Mzdhc: $agent = "\165\156\x6b\x6e\x6f\167\156"; goto Ky0gq; PC2y9: if ($agent == "\x75\x6e\x6b\156\157\x77\x6e") { goto FgQBH; } goto t_9vY; Ky0gq: goto VDn_X; goto tB74k; N8fll: $agent = $this->agent->mobile(); goto u8Tca; cvhLJ: if ($this->agent->is_mobile()) { goto K3V7_; } goto Mzdhc; fF4Kj: $ip = $this->input->ip_address(); goto pp2Gv; u8Tca: VDn_X: goto PC2y9; uQtbE: goto VDn_X; goto lIh2E; X1xnM: if ($this->agent->is_browser()) { goto a_kTr; } goto cvhLJ; tB74k: a_kTr: goto QgBTc; PNF2C: return "\x65\x72\162\x6f\x72"; goto VOAYY; UHQ60: goto ExjSg; goto vc8cF; ZSaDm: } private function insertLog($id_siswa, $id_jadwal, $type, $desc, $agent, $os, $ip) { goto po9qH; po9qH: $log = $this->db->where("\151\x64\x5f\x6c\x6f\x67", $id_siswa . "\60" . $id_jadwal . $type)->get("\154\x6f\x67\137\x75\x6a\x69\x61\x6e")->row(); goto Lj152; HFJfv: $this->db->set("\154\x6f\147\x5f\x64\145\163\143", $desc); goto ADU6o; UTLkn: nQcJd: goto tucpw; imXN2: $data = array("\151\x64\x5f\x6c\x6f\x67" => $id_siswa . "\60" . $id_jadwal . $type, "\151\x64\137\x73\x69\x73\167\x61" => $id_siswa, "\x69\x64\x5f\x6a\x61\x64\x77\x61\x6c" => $id_jadwal, "\x6c\x6f\147\137\164\x79\x70\x65" => $type, "\154\x6f\147\137\x64\x65\163\143" => $desc, "\x61\144\144\x72\145\163\163" => $ip, "\x61\x67\x65\x6e\x74" => $agent, "\x64\145\x76\151\143\x65" => $os); goto Xdbw1; e3q_R: goto nQcJd; goto waH1s; waH1s: b49rl: goto wo_Oa; XMt6X: $insert = $this->db->update("\x6c\157\147\x5f\x75\x6a\x69\141\x6e"); goto UTLkn; wo_Oa: $this->db->set("\x6c\x6f\x67\137\x74\x79\160\x65", $type); goto HFJfv; tucpw: return $insert; goto ffJGU; Lj152: if ($log != null) { goto b49rl; } goto imXN2; ADU6o: $this->db->where("\151\144\137\x6c\157\x67", $id_siswa . "\x30" . $id_jadwal . $type); goto XMt6X; Xdbw1: $insert = $this->db->insert("\154\157\147\x5f\165\152\x69\x61\156", $data); goto e3q_R; ffJGU: } public function getDataSiswa($username, $id_tp, $id_smt) { goto N2EZU; GXATv: $this->db->join("\155\141\x73\164\145\162\x5f\153\x65\154\x61\163\40\143", "\x62\56\x69\144\x5f\153\145\x6c\141\163\x3d\x63\56\151\x64\137\x6b\x65\154\x61\163\x20\101\x4e\104\40\143\56\151\144\137\164\160\75" . $id_tp . "\x20\101\116\104\40\x63\x2e\151\144\x5f\163\155\164\75" . $id_smt, "\x6c\145\x66\164"); goto TG5YO; oAggj: $this->db->where("\x75\163\145\x72\x6e\x61\155\x65", $username); goto BgVzH; xy6QA: $this->db->join("\153\145\x6c\141\x73\x5f\163\x69\163\167\141\40\142", "\x61\x2e\151\x64\x5f\x73\x69\163\167\141\x3d\142\x2e\151\x64\x5f\x73\151\x73\167\x61\x20\101\116\104\40\142\56\151\144\137\x74\160\x3d" . $id_tp . "\x20\x41\116\104\40\142\56\151\x64\137\x73\155\x74\75" . $id_smt, "\154\x65\x66\164"); goto GXATv; N2EZU: $this->db->select("\x61\x2e\151\x64\137\163\x69\x73\167\x61\x2c\40\141\x2e\x6e\151\x73\x6e\54\x20\141\56\156\x69\163\x2c\x20\141\x2e\156\x61\x6d\141\54\x20\x61\56\x6a\145\x6e\151\163\x5f\153\145\x6c\141\x6d\x69\156\x2c\x20\141\x2e\165\x73\x65\162\156\141\155\x65\54\x20\x61\56\x70\x61\163\x73\x77\157\x72\x64\x2c\x20\x61\56\141\x67\141\155\x61\x2c\x20\141\x2e\x66\x6f\164\x6f\x2c" . "\40\142\x2e\151\x64\x5f\153\145\154\x61\163\x5f\163\x69\163\167\141\54\x20\142\56\151\x64\137\x74\x70\x2c\40\142\56\151\144\x5f\163\x6d\164\54\40\x62\56\151\144\x5f\x73\x69\163\167\141\x2c\x20\x62\56\x69\144\137\x6b\x65\154\141\x73\54" . "\x20\x63\x2e\156\141\x6d\141\137\153\145\154\x61\163\54\x20\143\56\153\x6f\x64\x65\137\153\x65\x6c\141\x73\x2c\40\x63\56\154\145\166\145\x6c\137\151\x64\54\x20" . "\x20\x64\56\153\145\x6c\x61\x73\x5f\151\144\x2c\x20\144\56\162\x75\x61\x6e\147\x5f\151\144\x2c\x20\x64\56\163\145\x73\x69\x5f\x69\x64"); goto rFZI5; SaELe: return $query; goto zGLM8; rFZI5: $this->db->from("\x6d\x61\163\164\145\x72\x5f\163\x69\x73\167\x61\x20\141"); goto xy6QA; BgVzH: $query = $this->db->get()->row(); goto SaELe; TG5YO: $this->db->join("\x63\x62\x74\x5f\163\x65\x73\x69\x5f\163\151\163\x77\141\x20\144", "\x61\56\x69\144\x5f\163\151\163\x77\x61\x3d\144\56\x73\x69\x73\167\141\137\x69\x64", "\154\145\x66\164"); goto oAggj; zGLM8: } public function getDataSiswaById($id_tp, $id_smt, $idSiswa) { goto hTz3P; xMD1_: return $this->db->get()->row(); goto aqy5N; D7aGG: $this->db->join("\x63\x62\164\137\153\x65\x6c\x61\x73\137\162\x75\141\x6e\147\x20\150", "\x68\x2e\x69\144\x5f\x6b\145\x6c\141\x73\x3d\x61\x2e\151\144\137\x6b\145\154\x61\x73", "\154\145\146\x74"); goto YYOc6; JEK7l: $this->db->where("\141\56\151\144\137\x73\155\x74", $id_smt); goto kwJ69; YYOc6: $this->db->join("\x63\142\x74\x5f\x72\x75\x61\156\x67\40\151", "\x69\56\x69\144\x5f\162\x75\141\156\x67\75\150\56\151\144\137\162\x75\x61\x6e\147", "\x6c\145\146\x74"); goto DA2wG; DA2wG: $this->db->join("\143\142\x74\137\x73\x65\x73\151\x20\x6a", "\x6a\x2e\x69\144\137\163\145\x73\x69\x3d\150\56\151\x64\137\163\x65\x73\x69", "\154\x65\146\164"); goto lUpuy; lMkju: $this->db->join("\x63\x62\164\x5f\x72\x75\x61\x6e\x67\40\x64", "\x64\x2e\x69\x64\137\x72\x75\x61\x6e\x67\x3d\x63\x2e\162\x75\141\x6e\x67\x5f\151\x64", "\x6c\x65\x66\164"); goto DF4xT; hTz3P: $this->db->select("\142\x2e\x69\x64\x5f\163\151\x73\x77\141\54\x20\x62\56\x6e\x61\x6d\141\54\x20\142\x2e\x6a\x65\x6e\x69\163\137\x6b\x65\x6c\x61\x6d\x69\156\x2c\x20\142\56\156\x69\x73\54\40\x62\56\156\x69\x73\x6e\54\40\x62\x2e\165\x73\145\x72\156\x61\155\x65\x2c\40\x62\56\x70\141\163\163\x77\x6f\162\x64\54" . "\40\x62\x2e\x66\x6f\x74\x6f\54\x20\143\x2e\163\x65\x73\x69\137\x69\144\x2c\x20\x64\x2e\x6b\x6f\144\x65\x5f\162\165\x61\x6e\x67\x2c\x20\145\56\153\157\x64\145\137\163\145\x73\x69\54\40\x66\x2e\x6e\141\x6d\141\137\x6b\145\x6c\141\x73\x2c\x20\147\x2e\156\157\x6d\157\162\137\x70\x65\163\145\162\164\x61\54" . "\40\150\56\163\x65\x74\x5f\x73\151\163\x77\x61\54\40\x69\x2e\x6b\157\144\145\x5f\162\x75\x61\156\147\40\x61\163\x20\162\165\x61\x6e\x67\137\x6b\145\x6c\141\163\x2c\x20\152\56\x6b\x6f\x64\x65\137\x73\x65\x73\151\40\x61\x73\x20\163\x65\163\151\137\x6b\x65\x6c\141\163"); goto zYt3w; zYt3w: $this->db->from("\x6b\145\x6c\x61\x73\x5f\163\x69\x73\x77\141\40\141"); goto MuTJk; XtEdD: $this->db->join("\x6d\141\163\164\x65\162\137\x6b\145\x6c\141\x73\40\146", "\146\56\x69\x64\x5f\153\145\x6c\x61\163\75\x61\x2e\151\144\x5f\153\x65\x6c\x61\163", "\154\145\x66\x74"); goto xa0yi; DF4xT: $this->db->join("\143\142\164\x5f\163\145\x73\x69\x20\145", "\x65\x2e\x69\x64\x5f\163\x65\x73\151\x3d\x63\x2e\x73\145\163\x69\x5f\151\144", "\154\145\146\164"); goto XtEdD; MuTJk: $this->db->join("\155\141\163\x74\x65\162\137\x73\x69\x73\x77\141\40\x62", "\x62\56\x69\144\137\x73\x69\163\x77\x61\75\141\56\151\x64\137\x73\x69\x73\x77\x61", "\154\145\146\x74"); goto qvdlF; lUpuy: $this->db->where("\141\x2e\151\x64\137\x74\x70", $id_tp); goto JEK7l; qvdlF: $this->db->join("\x63\142\x74\x5f\x73\145\x73\151\137\163\151\x73\x77\141\x20\x63", "\143\56\x73\151\x73\167\x61\137\151\x64\x3d\x61\x2e\151\144\x5f\x73\151\x73\167\141", "\154\145\x66\x74"); goto lMkju; xa0yi: $this->db->join("\x63\142\x74\x5f\x6e\x6f\155\157\162\x5f\x70\x65\163\145\162\164\x61\x20\x67", "\x67\56\151\x64\137\163\x69\x73\x77\141\x3d\141\56\151\x64\x5f\163\x69\x73\167\141\x20\101\x4e\x44\40\147\56\151\144\x5f\164\160\x3d" . $id_tp, "\154\x65\x66\164"); goto D7aGG; kwJ69: $this->db->where("\141\56\x69\144\x5f\x73\x69\163\167\x61", $idSiswa); goto xMD1_; aqy5N: } public function getWaktuSesiById($id_sesi) { goto hhUI4; uojWl: $result = $this->db->get("\x63\142\164\137\x73\x65\x73\x69")->row(); goto h9QLU; zWPeW: $this->db->where("\151\144\137\x73\x65\163\151", $id_sesi); goto uojWl; hhUI4: $this->db->select("\52"); goto zWPeW; h9QLU: return $result; goto Hc47w; Hc47w: } public function getAllRuang() { goto uE87L; EUjOY: return $ret; goto Y0hX0; uE87L: $result = $this->db->get("\143\x62\164\x5f\162\165\141\x6e\147")->result(); goto NieP9; NieP9: $ret = []; goto xIwF2; iv_pj: foreach ($result as $key => $row) { $ret[$row->id_ruang] = $row->kode_ruang; REIOv: } goto suGab; xIwF2: if (!$result) { goto VnknB; } goto iv_pj; eTIUG: VnknB: goto EUjOY; suGab: Aw8By: goto eTIUG; Y0hX0: } public function getKelasByLevel($level, $arrKelas) { goto yBRfu; jaKh4: $this->db->where("\154\145\x76\145\154\137\x69\x64", $level); goto eysQm; yCsSl: return $result; goto f8MTH; yBRfu: $this->db->select("\x69\144\137\x6b\x65\x6c\x61\163\54\40\x6b\157\144\x65\137\153\x65\x6c\x61\x73"); goto jaKh4; eysQm: $this->db->where_in("\151\144\x5f\153\145\154\141\163", $arrKelas); goto q_7Ck; q_7Ck: $result = $this->db->get("\155\x61\163\164\x65\162\137\x6b\x65\154\141\163")->result(); goto yCsSl; f8MTH: } public function getAllJurusan() { goto NR6GJ; QU9Eg: return $ret; goto o4h_t; Rje3j: foreach ($result as $key => $row) { $ret[$row->id_jurusan] = $row->kode_jurusan; AJZOD: } goto jlVRn; NR6GJ: $result = $this->db->get("\155\x61\163\x74\x65\x72\137\x6a\x75\x72\165\x73\141\x6e")->result(); goto T1eOY; VLahg: CTZDo: goto QU9Eg; jlVRn: CvdUL: goto VLahg; T1eOY: if (!$result) { goto CTZDo; } goto Rje3j; o4h_t: } public function getPengawas($id_pengawas) { goto qLQ6t; Lo33m: $this->db->from("\x63\x62\164\137\160\x65\156\x67\x61\x77\x61\x73"); goto NtTPd; N46ST: return $this->db->get()->row(); goto y4yVM; qLQ6t: $this->db->select("\x69\144\x5f\160\145\156\x67\x61\x77\x61\x73\x2c\40\x69\144\137\x6a\x61\144\167\141\154\54\x20\x69\x64\x5f\164\x70\54\x20\x69\144\137\x73\155\164\x2c\x20\151\144\x5f\x72\x75\x61\x6e\x67\x2c\x20\151\x64\x5f\x73\x65\163\151\x2c\x20\x69\144\137\147\165\162\165"); goto Lo33m; NtTPd: $this->db->where("\151\x64\137\160\145\x6e\x67\x61\167\x61\163", $id_pengawas); goto N46ST; y4yVM: } public function getPengawasByGuru($tp, $smt, $id_guru) { goto LiDaz; cpqRF: $this->db->like("\141\x2e\151\144\137\x67\x75\162\165", $id_guru); goto nsnCi; woTtW: $this->db->where("\141\x2e\x69\144\x5f\x74\x70", $tp); goto UmNaK; nsnCi: $this->db->join("\143\x62\164\x5f\x6a\141\x64\x77\x61\154\40\x62", "\x62\x2e\x69\x64\137\x6a\141\144\167\x61\154\75\x61\x2e\x69\144\137\x6a\x61\x64\x77\141\154"); goto S3dG5; iZnJf: $this->db->from("\x63\142\x74\137\160\x65\x6e\x67\141\167\x61\x73\40\x61"); goto woTtW; LiDaz: $this->db->select("\x61\x2e\x69\x64\137\160\145\x6e\147\x61\167\x61\163\x2c\x20\141\x2e\151\144\137\152\141\144\x77\141\x6c\54\x20\141\56\x69\x64\137\x74\160\x2c\40\141\56\x69\x64\137\x73\155\x74\x2c\40\141\56\151\x64\x5f\x72\165\141\156\147\54\40\x61\x2e\x69\x64\x5f\163\x65\163\151\x2c\40\141\56\x69\144\137\147\x75\x72\165\x2c" . "\40\x62\56\151\144\137\152\x61\x64\167\141\x6c\54\x20\x62\x2e\164\x67\x6c\137\155\x75\x6c\x61\x69\54\40\142\x2e\x74\x67\154\x5f\163\x65\154\145\163\141\151\54\40\143\x2e\x62\x61\156\x6b\x5f\x6b\157\144\145"); goto iZnJf; S3dG5: $this->db->join("\143\x62\x74\x5f\x62\x61\x6e\153\137\163\x6f\141\154\x20\x63", "\x62\x2e\x69\x64\x5f\x62\x61\156\x6b\75\x63\x2e\x69\144\137\x62\141\156\x6b"); goto QTw2A; UmNaK: $this->db->where("\x61\56\151\x64\x5f\x73\155\x74", $smt); goto cpqRF; QTw2A: return $this->db->get()->result(); goto VF8GP; VF8GP: } public function getPengawasByJadwal($tp, $smt, $id_jadwal, $sesi = null, $ruang = null) { goto efHfl; yMWB9: if (!($sesi != null)) { goto MGibv; } goto kSvnT; T9ykB: if (!($ruang != null)) { goto Vd7WV; } goto Mvdk1; UX9pI: $this->db->where("\151\x64\137\164\160", $tp); goto PbHZC; tWmOo: return $result; goto COWN0; efHfl: $this->db->select("\x69\x64\x5f\160\x65\x6e\x67\141\167\141\x73\54\x20\x69\x64\137\147\x75\162\x75"); goto qg1vH; TwL7v: $this->db->where("\x69\144\x5f\152\141\x64\x77\x61\x6c", $id_jadwal); goto yMWB9; kqBHu: Vd7WV: goto mbreY; kSvnT: $this->db->where("\151\144\x5f\163\x65\163\x69", $sesi); goto H7C1S; qg1vH: $this->db->from("\143\142\164\x5f\160\145\x6e\x67\141\x77\141\x73"); goto UX9pI; PbHZC: $this->db->where("\x69\144\137\163\x6d\x74", $smt); goto TwL7v; mbreY: $result = $this->db->get()->result(); goto tWmOo; H7C1S: MGibv: goto T9ykB; Mvdk1: $this->db->where("\x69\144\x5f\x72\165\x61\x6e\147", $ruang); goto kqBHu; COWN0: } public function getAllPengawas($tp, $smt, $ruang = null, $sesi = null) { goto j7Qwb; Goxoe: zoV_l: goto nHiQU; QO4J9: if (!$result) { goto h_dOl; } goto b1gew; xt8MU: $ret = []; goto QO4J9; IrKcn: $this->db->from("\143\x62\x74\x5f\x70\145\156\147\141\x77\141\163"); goto eZwZu; nHiQU: h_dOl: goto cEdwI; mFUTX: if (!($ruang != null)) { goto vIR3z; } goto S4U0u; b1gew: foreach ($result as $key => $row) { $ret[$row->id_jadwal][$row->id_ruang][$row->id_sesi] = $row; Md9ae: } goto Goxoe; KJtTI: AIQ1o: goto FxA_S; cimae: $this->db->where("\151\144\x5f\163\145\x73\x69", $sesi); goto KJtTI; j7Qwb: $this->db->select("\151\x64\x5f\160\145\x6e\x67\x61\x77\x61\x73\54\x20\x69\144\137\x6a\x61\x64\167\x61\x6c\54\40\x69\x64\137\162\x75\x61\x6e\147\54\x20\151\x64\x5f\x73\x65\x73\x69\54\40\x69\x64\137\147\165\x72\x75"); goto IrKcn; eZwZu: $this->db->where("\x69\144\137\x74\x70", $tp); goto OAyWd; cEdwI: return $ret; goto tBrsz; qhotZ: vIR3z: goto gTCEK; OAyWd: $this->db->where("\151\x64\137\163\x6d\164", $smt); goto mFUTX; S4U0u: $this->db->where("\151\144\137\x72\165\x61\156\x67", $ruang); goto qhotZ; FxA_S: $result = $this->db->get()->result(); goto xt8MU; gTCEK: if (!($sesi != null)) { goto AIQ1o; } goto cimae; tBrsz: } public function getDistinctRuang($tp, $smt, $arrKelas) { goto tHpHZ; bdyxr: foreach ($result as $key => $row) { $ret[$row->ruang_id][$row->sesi_id] = $row; q7DU7: } goto rTnbK; vaRs2: $this->db->join("\143\142\x74\137\x73\145\163\x69\40\x63", "\x63\x2e\151\x64\x5f\x73\145\163\151\75\x61\x2e\163\145\x73\151\137\x69\x64"); goto FACmv; uxgiK: $ret = []; goto sFwUa; TUGJx: $this->db->from("\x63\x62\x74\137\x73\x65\x73\x69\x5f\x73\151\163\167\x61\x20\141"); goto AEbdD; kkLlp: $this->db->order_by("\142\x2e\156\x61\155\141\137\162\165\x61\156\x67", "\101\x53\x43"); goto rUpm3; DqJZ4: $result = $this->db->get()->result(); goto uxgiK; kJHcs: uu6j3: goto kkLlp; AEbdD: $this->db->join("\143\142\x74\x5f\x72\165\x61\156\147\x20\142", "\142\x2e\x69\144\x5f\162\165\x61\x6e\x67\75\x61\x2e\162\x75\141\x6e\147\137\151\144"); goto vaRs2; v9Z3s: $this->db->select("\x61\x2e\162\165\141\x6e\147\137\151\x64\x2c\40\x61\56\163\x65\163\151\137\151\x64\54\40\x62\x2e\153\157\x64\145\137\x72\x75\141\x6e\x67\x2c\40\142\56\156\x61\155\x61\137\x72\165\x61\156\x67\x2c\x20\143\56\x6b\x6f\x64\x65\x5f\x73\145\163\151\x2c\40\x63\x2e\x6e\141\x6d\x61\137\163\145\163\x69"); goto TUGJx; sFwUa: if (!$result) { goto RbYCQ; } goto bdyxr; RB72I: return $ret; goto idC_2; rTnbK: dFvUV: goto wbtrY; tHpHZ: $this->db->distinct("\141\56\x72\165\x61\x6e\147\x5f\151\144"); goto v9Z3s; FACmv: if (!(count($arrKelas) > 0)) { goto uu6j3; } goto OD5fv; OD5fv: $this->db->where_in("\x6b\x65\x6c\141\163\137\x69\x64", $arrKelas); goto kJHcs; wbtrY: RbYCQ: goto RB72I; rUpm3: $this->db->order_by("\x63\56\156\x61\x6d\x61\x5f\x73\x65\x73\151", "\x41\x53\x43"); goto DqJZ4; idC_2: } public function getKelasUjian($kelas_id) { goto CaX7G; iTONo: gT4dk: goto OA8ko; CaX7G: $this->db->select("\153\x65\x6c\x61\x73\137\151\144\54\x20\x72\x75\x61\156\x67\137\151\144\x2c\40\163\145\163\x69\137\x69\x64"); goto LgDiz; c3dn0: if (!$result) { goto VZY0A; } goto vDveU; OA8ko: VZY0A: goto a6SV2; fMInB: $result = $this->db->get()->result(); goto shGku; LgDiz: $this->db->from("\x63\x62\x74\x5f\163\x65\x73\x69\137\163\x69\x73\167\141"); goto x7kfA; shGku: $ret = []; goto c3dn0; vDveU: foreach ($result as $key => $row) { $ret[$row->ruang_id][$row->sesi_id][] = $row->kelas_id; fwAow: } goto iTONo; x7kfA: $this->db->where("\x6b\x65\154\141\163\137\151\x64", $kelas_id); goto fMInB; a6SV2: return $ret; goto wr8kP; wr8kP: } public function getDistinctKelasLevel($tp, $smt, $arrLevel) { goto SaHB9; T2esH: $result = $this->db->get()->result(); goto BVIk_; YCd9S: $this->db->where("\x69\144\x5f\x73\x6d\x74", $smt); goto DOWdj; SaHB9: $this->db->select("\x69\144\x5f\153\x65\x6c\x61\x73\54\40\154\x65\166\145\x6c\137\151\x64"); goto fTPEK; XNnzD: $this->db->from("\x6d\x61\163\x74\x65\x72\137\153\x65\154\141\x73"); goto ApnIq; ApnIq: $this->db->where("\x69\x64\x5f\x74\x70", $tp); goto YCd9S; BVIk_: return $result; goto PBe98; DOWdj: $this->db->where_in("\154\145\x76\145\x6c\137\151\x64", $arrLevel); goto T2esH; fTPEK: $this->db->distinct(); goto XNnzD; PBe98: } public function getAllJenisUjian() { goto GO2QD; OLer3: $ret[''] = "\x4a\x65\156\x69\163\40\120\145\156\151\154\x61\x69\141\x6e\40\x3a"; goto xcIq7; xcIq7: if (!$result) { goto Qkmc0; } goto pYNLH; pYNLH: foreach ($result as $key => $row) { $ret[$row->id_jenis] = $row->kode_jenis; wNMBt: } goto g4wim; XxEy2: Qkmc0: goto ys9OS; GO2QD: $result = $this->db->get("\x63\142\x74\137\152\x65\x6e\x69\163")->result(); goto OLer3; g4wim: CjELp: goto XxEy2; ys9OS: return $ret; goto PoFrw; PoFrw: } public function getAllJenisUjianByArrJenis($arrJenis) { goto Zz8mD; SX1Xz: return $ret; goto l21jQ; CVAgi: $ret[''] = "\112\x65\x6e\x69\163\x20\x50\145\156\151\x6c\141\151\x61\x6e\40\x3a"; goto ufFVs; YlUOW: CLFbT: goto SX1Xz; joau1: EFYjf: goto YlUOW; wDiTJ: $result = $this->db->get("\143\142\x74\137\x6a\x65\x6e\151\x73")->result(); goto CVAgi; OFsDd: foreach ($result as $key => $row) { $ret[$row->id_jenis] = $row->kode_jenis; DRuOv: } goto joau1; Zz8mD: $this->db->where_in("\151\x64\x5f\x6a\145\156\151\x73", $arrJenis); goto wDiTJ; ufFVs: if (!$result) { goto CLFbT; } goto OFsDd; l21jQ: } public function getPengawasHariIni($tgl) { goto kkcJt; KtGfG: $this->db->where("\x61\56\164\147\154\137\x6d\x75\x6c\x61\x69\x20\x3c\x3d\40\47{$tgl}\47\x20\101\116\104\x20\141\56\164\x67\x6c\x5f\x73\145\154\145\x73\141\151\40\76\75\40\x27{$tgl}\47"); goto byXCQ; Uz0QT: $this->db->where("\x73\x74\x61\x74\x75\x73", "\x31"); goto T4d2S; T4d2S: return $this->db->get()->result(); goto o6s7z; byXCQ: $this->db->join("\x63\142\164\137\x70\x65\156\147\141\x77\141\163\x20\x62", "\x62\x2e\151\144\x5f\152\141\144\167\141\154\x3d\141\56\151\144\x5f\x6a\x61\144\x77\141\x6c"); goto Uz0QT; kkcJt: $this->db->from("\x63\142\x74\x5f\152\x61\144\x77\141\x6c\40\141"); goto KtGfG; o6s7z: } public function getJadwalGuru($tp, $smt, $guru) { goto NWdXh; UPaau: $this->db->join("\x63\142\164\x5f\x62\x61\x6e\153\137\163\x6f\x61\154\40\x62", "\142\56\x69\144\137\142\x61\156\x6b\x3d\x61\x2e\151\x64\137\142\141\x6e\x6b\x20\101\116\x44\40\x62\56\142\x61\156\153\137\147\165\x72\165\137\151\144\x3d" . $guru); goto vMe2Y; vMe2Y: $this->db->where("\x61\x2e\151\x64\137\x74\x70", $tp); goto Vs32u; Vs32u: $this->db->where("\141\56\x69\x64\137\163\x6d\x74", $smt); goto gwRH9; gwRH9: return $this->db->get()->result(); goto PwX17; NWdXh: $this->db->select("\141\56\151\144\137\x6a\x61\x64\167\x61\x6c\x2c\40\x61\56\164\147\x6c\137\155\x75\154\141\151\x2c\40\142\x2e\142\141\156\153\x5f\x6b\x6f\144\x65\x2c\40\142\x2e\142\x61\x6e\153\x5f\153\x65\x6c\141\x73"); goto h5uIx; h5uIx: $this->db->from("\143\142\x74\137\152\141\x64\x77\x61\x6c\x20\141"); goto UPaau; PwX17: } public function getJadwalKelas($tp, $smt) { goto YSUnt; ybaaA: $this->db->where("\141\x2e\x69\144\137\x74\160", $tp); goto Obt00; YSUnt: $this->db->select("\141\x2e\x69\144\137\152\x61\x64\167\141\x6c\x2c\40\141\x2e\x74\147\x6c\x5f\155\165\154\x61\x69\54\x20\142\56\142\141\156\153\137\x6b\157\x64\145\x2c\40\142\56\142\x61\x6e\x6b\x5f\x6b\145\x6c\x61\x73"); goto AAh8O; RbzNP: $this->db->join("\x63\142\164\x5f\142\141\x6e\153\137\x73\157\141\x6c\40\142", "\x62\x2e\x69\144\137\x62\x61\x6e\x6b\75\141\56\x69\144\x5f\x62\x61\x6e\153"); goto ybaaA; Obt00: $this->db->where("\141\56\151\x64\137\x73\155\x74", $smt); goto RhOHP; AAh8O: $this->db->from("\143\142\x74\x5f\x6a\x61\144\167\141\x6c\40\x61"); goto RbzNP; RhOHP: return $this->db->get()->result(); goto cAEUT; cAEUT: } public function getJadwalByJenis($jenis, $level, $dari, $sampai) { goto wAc1O; N8CS3: $this->db->join("\x63\142\164\137\x6a\x65\x6e\x69\163\40\142", "\142\56\151\x64\x5f\x6a\145\x6e\x69\x73\75\141\x2e\151\x64\x5f\152\x65\156\x69\x73"); goto pbOPv; rZmoc: $this->db->where("\x61\56\151\x64\x5f\152\x65\x6e\x69\x73", $jenis); goto dgwMo; pbOPv: $this->db->join("\143\142\x74\137\142\x61\x6e\x6b\x5f\x73\157\141\x6c\x20\x63", "\143\x2e\x69\x64\137\x62\141\156\x6b\x3d\141\56\151\x64\137\x62\x61\x6e\x6b"); goto xCz7T; tdWvB: if (!($dari != null)) { goto GYt6Y; } goto n0JdC; iKUVq: Xtwb9: goto tdWvB; Z1htZ: $this->db->where("\x63\56\142\141\x6e\153\x5f\154\145\x76\145\x6c", $level); goto iKUVq; vzyxU: NTt_U: goto diEo7; dgwMo: if (!($level != "\60")) { goto Xtwb9; } goto Z1htZ; diEo7: $this->db->order_by("\x61\x2e\x74\x67\154\137\155\x75\154\x61\x69", "\x41\x53\103"); goto tJ8fU; tJ8fU: $this->db->order_by("\x61\56\x6a\141\155\137\x6b\145", "\x41\123\x43"); goto xD_ze; QYVwY: GYt6Y: goto yNZJO; n0JdC: $this->db->where("\x61\56\x74\x67\x6c\137\x6d\165\x6c\141\x69\40\76\75", $dari); goto QYVwY; D1mpX: return $result; goto ohI2a; yNZJO: if (!($sampai != null)) { goto NTt_U; } goto pCsum; wAc1O: $this->db->select("\x61\56\x69\144\137\x6a\x61\144\x77\141\154\x2c\40\141\x2e\151\x64\x5f\x62\141\156\153\x2c\x20\x61\x2e\151\x64\x5f\x6a\x65\156\151\163\54\x20\141\x2e\x74\147\154\x5f\155\x75\x6c\x61\151\54\40\x61\56\164\x67\x6c\137\x73\145\x6c\x65\x73\x61\151\x2c\40\x61\x2e\152\x61\155\137\153\x65\54" . "\40\x63\56\x62\x61\156\x6b\x5f\x6b\157\144\x65\54\40\143\56\x62\141\156\153\x5f\154\x65\x76\x65\x6c\x2c\x20\x63\56\142\141\156\x6b\x5f\x6b\x65\154\x61\x73\54\x20\142\56\x6b\157\x64\x65\x5f\x6a\145\x6e\151\x73\x2c\x20\x62\x2e\x6e\x61\155\x61\x5f\x6a\145\x6e\151\163\x2c\40\x64\x2e\x6b\x6f\x64\x65\54\x20\144\x2e\156\x61\155\141\x5f\155\x61\x70\x65\154"); goto w1hIK; xCz7T: $this->db->join("\x6d\x61\x73\164\x65\162\x5f\x6d\141\x70\145\x6c\40\x64", "\144\x2e\151\x64\137\155\141\160\145\x6c\x3d\143\x2e\x62\x61\156\153\x5f\155\141\x70\145\154\x5f\x69\x64"); goto rZmoc; pCsum: $this->db->where("\141\56\x74\x67\154\137\155\x75\x6c\x61\151\x20\x3c\75", $sampai); goto vzyxU; xD_ze: $result = $this->db->get()->result(); goto D1mpX; w1hIK: $this->db->from("\143\x62\x74\x5f\x6a\141\x64\167\x61\154\x20\141"); goto N8CS3; ohI2a: } public function getAllJadwalByJenis($jenis, $tp, $smt) { goto kJ4RF; lchle: foreach ($result as $key => $row) { $ret[$row->tgl_mulai][$row->id_mapel][] = $row; htYWW: } goto BLh26; DIHtz: $this->db->where("\x61\56\x69\144\137\163\x6d\164", $smt); goto dBUJ9; BLh26: FZXln: goto yMTOa; n39gP: dYYA6: goto PV28V; i0Ilg: return $ret; goto RSW1e; dBUJ9: $this->db->order_by("\141\x2e\164\x67\154\137\x6d\165\x6c\x61\x69", "\x41\123\103"); goto rkgcJ; kJ4RF: $this->db->select("\141\x2e\151\x64\137\152\x61\x64\167\x61\x6c\x2c\x20\141\x2e\x69\x64\137\x6a\145\x6e\151\x73\54\x20\141\x2e\164\x67\154\x5f\155\x75\154\141\x69\x2c\40" . "\143\56\142\x61\x6e\153\137\153\157\x64\x65\54\40\x63\x2e\142\x61\156\153\137\x6c\x65\166\145\x6c\54\x20\x63\x2e\142\141\156\153\137\x6b\145\x6c\x61\x73\x2c\40\x62\x2e\x6b\x6f\144\x65\x5f\152\145\156\x69\x73\54\40\142\56\x6e\x61\x6d\x61\x5f\x6a\145\156\x69\x73\x2c\x20\144\x2e\x69\x64\137\155\x61\160\145\x6c\54\40\144\56\153\157\144\145\54\40\144\56\156\141\x6d\x61\137\155\141\160\x65\x6c"); goto YfCSg; rkgcJ: $this->db->order_by("\141\x2e\152\x61\x6d\x5f\153\x65", "\x41\123\x43"); goto kewoC; kewoC: $this->db->order_by("\x63\x2e\x62\x61\156\153\x5f\x6c\145\166\x65\154", "\x41\123\x43"); goto vPIPg; vPIPg: $result = $this->db->get()->result(); goto loBwz; yMTOa: fmnJc: goto i0Ilg; XiEkV: $this->db->where("\141\56\151\x64\x5f\152\x65\156\151\163", $jenis); goto n39gP; UZSbY: if (!($jenis != null)) { goto dYYA6; } goto XiEkV; Woh7e: $this->db->join("\143\142\x74\x5f\152\145\x6e\151\163\x20\x62", "\x62\56\151\x64\137\x6a\x65\x6e\151\163\x3d\141\x2e\x69\x64\137\x6a\145\156\x69\163"); goto AAbLK; loBwz: $ret = []; goto PHXNb; AAbLK: $this->db->join("\143\x62\x74\137\142\141\156\x6b\x5f\163\157\x61\154\x20\143", "\143\x2e\x69\144\137\142\x61\x6e\x6b\75\x61\56\151\144\137\142\x61\x6e\153"); goto oMrA7; PHXNb: if (!$result) { goto fmnJc; } goto lchle; YfCSg: $this->db->from("\143\x62\x74\137\x6a\x61\x64\x77\x61\x6c\x20\141"); goto Woh7e; oMrA7: $this->db->join("\155\141\x73\164\145\162\137\x6d\141\x70\x65\154\x20\x64", "\x64\x2e\151\x64\x5f\x6d\141\160\145\x6c\75\x63\56\142\141\156\153\137\155\x61\x70\145\154\x5f\151\x64"); goto UZSbY; PV28V: $this->db->where("\141\56\x69\144\137\164\160", $tp); goto DIHtz; RSW1e: } public function getAllBankSoal($guru = null) { goto MIPQf; VzX2M: oA0T5: goto oLpIh; finfv: return $ret; goto gMSpi; gNzp6: bN0x8: goto finfv; MIPQf: $this->db->select("\x69\144\x5f\142\141\x6e\153\x2c\x20\142\x61\x6e\x6b\x5f\153\x6f\x64\145"); goto PdPzx; xl7H5: if (!$result) { goto bN0x8; } goto YBrdG; jpq1D: wvoB0: goto gNzp6; bayNA: $ret["\60"] = "\120\151\x6c\x69\x68\x20\102\141\x6e\x6b\40\123\x6f\x61\154\40\72"; goto xl7H5; YBrdG: foreach ($result as $key => $row) { $ret[$row->id_bank] = $row->bank_kode; IFVgI: } goto jpq1D; zHHpj: $this->db->where("\142\141\x6e\153\137\147\x75\162\165\x5f\x69\144", $guru); goto VzX2M; oLpIh: $result = $this->db->get("\x63\142\164\137\142\x61\156\153\137\x73\x6f\141\x6c")->result(); goto bayNA; PdPzx: if (!($guru !== null)) { goto oA0T5; } goto zHHpj; gMSpi: } public function getAllBankSoalByTp($id_tp, $id_smt, $guru = null) { goto CzQjs; yAOe4: if (!$result) { goto Y9TN4; } goto d4i7K; i0ww2: $this->db->where("\x73\x74\141\164\165\163\137\x73\157\x61\x6c", "\x31"); goto HJYK2; G4Ev7: return $ret; goto O0VWW; c1SoY: u3pC1: goto GddwL; eZb8i: Vy3PQ: goto Bepxd; GddwL: $result = $this->db->get("\143\142\x74\137\x62\141\156\x6b\x5f\163\x6f\141\154")->result(); goto SeZOk; kPPYW: $this->db->where("\142\x61\156\153\137\x67\x75\x72\x75\137\x69\x64", $guru); goto c1SoY; CzQjs: $this->db->select("\151\x64\137\x62\141\156\x6b\54\40\142\x61\x6e\153\137\x6b\157\144\145\54\x20\142\x61\156\x6b\x5f\155\x61\160\x65\154\x5f\151\x64\x2c\40\164\x61\x6d\x70\x69\x6c\x5f\x70\x67\x2c\40\164\x61\x6d\160\x69\x6c\137\153\157\155\x70\154\x65\x6b\x73\x2c\x20\164\141\x6d\160\x69\154\x5f\152\x6f\144\157\150\x6b\x61\x6e\54\40\x74\141\155\x70\x69\x6c\137\151\x73\151\141\156\x2c\40\164\x61\155\x70\x69\154\137\x65\163\141\x69"); goto Q0FTb; Q0FTb: $this->db->where("\x69\x64\137\164\160", $id_tp); goto PjpvF; SeZOk: $ret = []; goto yAOe4; UAecK: $this->db->where("\x73\164\x61\164\165\x73", "\x31"); goto i0ww2; PjpvF: $this->db->where("\x69\144\137\163\x6d\x74", $id_smt); goto UAecK; HJYK2: if (!($guru !== null)) { goto u3pC1; } goto kPPYW; Bepxd: Y9TN4: goto G4Ev7; d4i7K: foreach ($result as $key => $row) { $ret[$row->id_bank] = $row; OAZsh: } goto eZb8i; O0VWW: } public function getAllBankSoalByMapel($id_tp, $id_smt, $mapel) { goto vtkAO; Vv07u: $result = $this->db->get()->result(); goto ZSsIU; ZSsIU: $ret = []; goto PI81F; vtkAO: $this->db->select("\x69\144\x5f\x62\x61\156\x6b\54\x20\142\141\156\153\x5f\x6b\157\144\145\x2c\x20\142\x61\156\x6b\x5f\x6d\141\160\x65\x6c\x5f\151\144\54\x20\x74\x61\x6d\x70\151\x6c\137\x70\x67\54\x20\164\x61\x6d\x70\x69\154\x5f\153\157\x6d\x70\x6c\145\153\x73\x2c\40\x74\x61\x6d\160\151\154\x5f\152\x6f\x64\x6f\x68\x6b\x61\156\x2c\x20\164\141\155\160\151\154\137\151\163\x69\x61\x6e\x2c\x20\164\x61\155\160\x69\x6c\137\x65\x73\x61\151\x2c\x20\163\x74\141\x74\x75\x73"); goto j4y2r; u0IAm: return $ret; goto u8Xku; Q3gcb: foreach ($result as $key => $row) { $ret[$row->id_bank] = $row; R47yf: } goto JJQ11; J1Din: $this->db->where("\x69\144\x5f\x73\155\x74", $id_smt); goto S_q2Z; PI81F: if (!$result) { goto u0o3O; } goto Q3gcb; JJQ11: aSp4j: goto NUUYu; iRmkS: $this->db->where("\x69\144\x5f\x74\x70", $id_tp); goto J1Din; S_q2Z: $this->db->where("\x62\x61\x6e\x6b\x5f\155\141\160\145\x6c\x5f\151\144", $mapel); goto OeXbn; j4y2r: $this->db->from("\x63\x62\x74\x5f\142\x61\x6e\153\137\x73\157\x61\154"); goto iRmkS; NUUYu: u0o3O: goto u0IAm; OeXbn: $this->db->where("\163\x74\x61\164\x75\163", "\x31"); goto Vv07u; u8Xku: } public function getJumlahJenisSoal($id_bank) { goto z7bEB; f89Zn: xEl10: goto QnlZp; ooePT: $this->db->from("\x63\142\x74\137\163\x6f\141\154"); goto X_cD0; QnlZp: return $ret; goto tZRJR; TLQVa: $this->db->where("\164\141\155\160\x69\x6c\x6b\141\x6e", "\x31"); goto UPwjn; z7bEB: $this->db->select("\151\x64\x5f\163\x6f\x61\154\x2c\40\152\x65\156\151\x73"); goto ooePT; X_cD0: $this->db->where("\142\141\x6e\153\137\x69\144", $id_bank); goto TLQVa; UPwjn: $result = $this->db->get()->result(); goto mUFPV; uzd9G: foreach ($result as $row) { $ret[$row->jenis][] = $row; q7soF: } goto mkF2z; mUFPV: $ret = []; goto qK35t; qK35t: if (!$result) { goto xEl10; } goto uzd9G; mkF2z: So2hb: goto f89Zn; tZRJR: } public function getJenis() { goto SlVOb; SlVOb: $this->datatables->select("\x2a"); goto dHSdI; dHSdI: $this->datatables->from("\143\x62\164\137\x6a\145\x6e\151\163"); goto IKxkg; IKxkg: return $this->datatables->generate(); goto cpp_L; cpp_L: } public function getJenisById($id) { goto VVl0V; fsV1n: return $this->db->get()->row(); goto qDfwb; zyMul: $this->db->from("\143\142\x74\137\152\145\156\151\163"); goto EO2_g; EO2_g: $this->db->where(["\151\x64\137\152\145\156\151\163" => $id]); goto fsV1n; VVl0V: $this->db->select("\x69\144\137\x6a\x65\x6e\151\x73\x2c\40\x6e\x61\155\141\x5f\152\x65\x6e\x69\x73\x2c\x20\153\x6f\144\x65\137\152\x65\156\x69\163"); goto zyMul; qDfwb: } function updateJenis() { goto Awml9; XQL90: $this->db->set("\x6e\141\x6d\x61\x5f\x6a\x65\x6e\151\163", $name); goto LgZf3; EiOlZ: $kode = $this->input->post("\153\x6f\144\145\x5f\x6a\145\x6e\x69\163", true); goto XQL90; oCuAH: return $this->db->update("\x63\x62\164\137\x6a\x65\x6e\x69\x73"); goto ItfWD; eBX1S: $name = $this->input->post("\x6e\141\155\141\x5f\x6a\x65\x6e\x69\163", true); goto EiOlZ; LgZf3: $this->db->set("\153\157\144\145\137\x6a\145\x6e\x69\x73", $kode); goto C_WZs; C_WZs: $this->db->where("\x69\144\x5f\x6a\145\x6e\x69\x73", $id); goto oCuAH; Awml9: $id = $this->input->post("\x69\x64\137\x6a\x65\x6e\x69\x73"); goto eBX1S; ItfWD: } public function getRuang() { goto kXN_i; XEeMO: return $this->datatables->generate(); goto FhyLf; kXN_i: $this->datatables->select("\x2a\x2c\40\50\x53\x45\x4c\x45\103\x54\40\x43\x4f\125\116\x54\x28\x69\144\x5f\163\145\x73\151\x29\40\106\x52\117\115\x20\x63\x62\164\x5f\x73\145\163\151\51\x20\x41\123\x20\x6a\165\x6d\x5f\x73\x65\x73\151"); goto pnbDb; pnbDb: $this->datatables->from("\143\142\164\137\162\165\x61\156\x67"); goto XEeMO; FhyLf: } public function getRuangById($id) { goto OOGFr; oR2n1: $this->db->from("\x63\x62\164\x5f\x72\x75\141\156\147"); goto XMDuk; XMDuk: $this->db->where(["\151\144\x5f\162\x75\141\x6e\147" => $id]); goto a5vVY; OOGFr: $this->db->select("\151\x64\137\162\165\141\156\x67\x2c\40\x6e\141\155\x61\137\162\x75\x61\x6e\147\x2c\40\x6b\x6f\x64\145\x5f\x72\165\x61\x6e\x67"); goto oR2n1; a5vVY: return $this->db->get()->row(); goto fhDYM; fhDYM: } public function getRuangSesi($tp, $smt) { goto drzZF; o7sHR: NeLR3: goto A_u91; Fp93o: $this->db->order_by("\x63\x2e\x6e\x61\x6d\141\x5f\163\x65\163\x69", "\x41\x53\x43"); goto pxdrD; BeKdG: $ret = []; goto PFDWU; Mm5kf: $this->db->from("\x63\x62\x74\137\163\x65\163\x69\137\163\151\x73\x77\141\x20\141"); goto EEQ1W; A_u91: pLdpE: goto b9rVl; PFDWU: if (!$result) { goto pLdpE; } goto eQBej; cA8Hk: $this->db->join("\x6d\141\x73\x74\145\162\x5f\x6b\145\x6c\x61\x73\x20\x64", "\144\x2e\x69\144\x5f\153\145\154\x61\x73\75\141\56\153\145\x6c\x61\163\137\x69\144"); goto kfk18; hNdVj: $this->db->join("\143\x62\164\x5f\x73\145\x73\x69\x20\x63", "\x63\56\x69\144\137\x73\145\163\x69\75\141\x2e\163\145\x73\151\x5f\151\x64"); goto cA8Hk; pxdrD: $result = $this->db->get()->result(); goto BeKdG; eQBej: foreach ($result as $row) { $ret[$row->sesi_id][$row->ruang_id][$row->kelas_id] = $row->nama_kelas; g2np2: } goto o7sHR; b9rVl: return $ret; goto W8PRo; EEQ1W: $this->db->join("\143\142\x74\x5f\162\165\x61\156\147\40\x62", "\142\56\151\x64\x5f\x72\165\x61\156\x67\x3d\x61\x2e\162\165\x61\156\x67\x5f\151\144"); goto hNdVj; kfk18: $this->db->order_by("\x62\x2e\156\141\x6d\141\137\x72\165\141\x6e\147", "\x41\123\103"); goto Fp93o; drzZF: $this->db->select("\141\x2e\x73\x69\x73\x77\x61\x5f\x69\x64\x2c\x20\141\56\163\145\x73\x69\137\x69\144\x2c\40\x61\56\162\x75\x61\156\x67\137\x69\x64\x2c\x20\141\56\x6b\x65\154\141\x73\137\x69\144\54\40" . "\142\56\156\x61\155\x61\x5f\x72\165\x61\x6e\x67\x2c\40\x62\56\x6b\x6f\144\145\x5f\x72\x75\x61\156\147\x2c\x20\x63\x2e\156\141\155\x61\x5f\163\145\163\151\54\40\x63\56\x6b\157\144\x65\137\163\x65\x73\151\54\40\144\x2e\156\141\155\141\x5f\153\x65\154\141\x73"); goto Mm5kf; W8PRo: } function updateRuang() { goto kbE_u; w0ar_: $kode = $this->input->post("\153\x6f\x64\x65\x5f\x72\165\141\156\x67", true); goto IhNlH; GW4VY: $this->db->set("\x6b\157\x64\x65\x5f\x72\x75\x61\156\x67", $kode); goto IARLi; IARLi: $this->db->where("\151\144\137\x72\165\x61\156\x67", $id); goto tJrUm; IhNlH: $this->db->set("\x6e\x61\155\141\x5f\x72\165\141\x6e\147", $name); goto GW4VY; CLbFw: $name = $this->input->post("\156\141\x6d\141\x5f\x72\165\141\x6e\x67", true); goto w0ar_; kbE_u: $id = $this->input->post("\151\x64\x5f\x72\x75\141\x6e\147"); goto CLbFw; tJrUm: return $this->db->update("\x63\142\164\x5f\162\x75\x61\x6e\x67"); goto bDStm; bDStm: } public function getSesi() { goto LUCrj; LUCrj: $this->datatables->select("\x2a"); goto BveDq; BveDq: $this->datatables->from("\143\x62\x74\x5f\x73\145\x73\151\40\143"); goto Zj3gi; Zj3gi: return $this->datatables->generate(); goto Cqp90; Cqp90: } public function getAllKodeSesi() { goto vPgnM; zp4I6: foreach ($result as $row) { $ret[$row->kode_sesi] = $row; JbOt7: } goto zgyaN; OsMY1: A5b2q: goto npukk; HX90q: if (!$result) { goto A5b2q; } goto zp4I6; npukk: return $ret; goto tiMQX; g8VXq: $this->db->from("\x63\x62\x74\137\x73\x65\163\151"); goto lsBbp; vPgnM: $this->db->select("\x69\144\137\163\145\x73\x69\54\x20\x6e\141\x6d\x61\x5f\163\145\163\x69\54\x20\153\157\x64\145\x5f\x73\145\x73\151\x2c\40\x77\141\153\x74\165\x5f\155\165\154\141\x69\x2c\x20\x77\x61\153\164\x75\x5f\x61\153\x68\151\x72"); goto g8VXq; Sg8gS: $ret = []; goto HX90q; zgyaN: dWNLf: goto OsMY1; lsBbp: $result = $this->db->get()->result(); goto Sg8gS; tiMQX: } public function getSesiById($id) { goto xyK1H; iAath: return $this->db->get()->row(); goto Vl6I3; EKMcJ: $this->db->where(["\151\x64\x5f\163\145\163\x69" => $id]); goto iAath; KsKPf: $this->db->from("\143\x62\x74\x5f\163\145\x73\x69"); goto EKMcJ; xyK1H: $this->db->select("\151\x64\x5f\x73\145\163\x69\x2c\40\x6e\141\x6d\x61\x5f\163\x65\x73\x69\54\40\x6b\157\144\x65\137\x73\x65\x73\151\x2c\40\x77\141\x6b\164\165\x5f\155\x75\154\141\151\x2c\40\167\x61\x6b\x74\x75\137\x61\153\x68\151\x72"); goto KsKPf; Vl6I3: } public function getSesiBySiswa($siswa_id) { goto bsQLO; Cz01b: $query = $this->db->get("\x73\151\163\167\x61\137\163\x65\x73\x69")->result(); goto brotA; bsQLO: $this->db->where("\x73\x69\163\x77\141\x5f\x69\x64", $siswa_id); goto Cz01b; brotA: return $query; goto coAj6; coAj6: } function updateSesi() { goto JWAxQ; CnJ7p: $this->db->set("\x77\141\x6b\x74\x75\x5f\x61\x6b\150\151\162", $akhir); goto chFen; K9qjT: $akhir = $this->input->post("\x77\x61\153\x74\x75\137\x61\153\x68\x69\x72", true); goto r1m3p; Cu0uW: $mulai = $this->input->post("\167\x61\x6b\x74\x75\x5f\x6d\x75\x6c\141\151", true); goto K9qjT; r1m3p: $this->db->set("\156\x61\x6d\x61\x5f\163\x65\163\151", $name); goto BdqcD; K1ti3: $this->db->set("\167\141\153\164\165\137\x6d\x75\154\x61\x69", $mulai); goto CnJ7p; chFen: $this->db->set("\x61\153\x74\151\146", 1); goto YjatM; JWAxQ: $id = $this->input->post("\x69\x64\x5f\163\145\163\151"); goto g1CCU; bnecw: return $this->db->update("\x63\x62\164\x5f\x73\x65\x73\x69"); goto TUOSP; Cowgq: $kode = $this->input->post("\153\157\144\145\x5f\163\x65\163\x69", true); goto Cu0uW; BdqcD: $this->db->set("\x6b\x6f\144\145\x5f\163\145\163\x69", $kode); goto K1ti3; YjatM: $this->db->where("\151\x64\x5f\x73\145\163\151", $id); goto bnecw; g1CCU: $name = $this->input->post("\156\x61\155\x61\x5f\163\x65\x73\151", true); goto Cowgq; TUOSP: } public function getSiswaCbtInfo($id_siswa, $id_tp, $id_smt) { goto MZRy0; hNb4D: $this->db->join("\143\142\x74\137\x72\165\x61\x6e\x67\x20\x72\153", "\x62\x2e\x72\165\141\x6e\x67\137\x69\144\x3d\162\153\x2e\x69\144\137\162\165\141\156\x67", "\154\x65\x66\x74"); goto Gf8ot; Awrfr: $this->db->where("\x61\x2e\x69\x64\x5f\x74\160", $id_tp); goto lRzbp; wQkIn: $this->db->where("\141\56\151\144\x5f\163\x69\x73\167\x61", $id_siswa); goto Awrfr; qTVtf: return $this->db->get()->row(); goto P0QB3; lRzbp: $this->db->where("\141\x2e\x69\144\137\163\x6d\x74", $id_smt); goto qTVtf; uGsWt: $this->db->from("\x6b\x65\154\x61\163\137\163\151\163\x77\x61\40\141"); goto livB0; Gf8ot: $this->db->join("\x63\142\164\x5f\x73\x65\x73\151\40\163\153", "\x62\56\163\145\163\151\137\x69\x64\x3d\163\x6b\x2e\x69\144\x5f\x73\145\x73\x69", "\154\145\x66\164"); goto wQkIn; MZRy0: $this->db->select("\x61\56\x69\x64\x5f\x6b\x65\x6c\x61\163\x5f\163\x69\163\x77\x61\x2c\x20\x61\56\x69\x64\x5f\x74\160\x2c\40\141\56\x69\x64\137\x73\x6d\x74\x2c\x20\141\56\x69\x64\x5f\163\x69\163\167\141\54\40\141\x2e\151\144\x5f\x6b\145\154\141\x73\x2c" . "\40\142\x2e\163\x69\x73\167\x61\x5f\151\x64\54\40\142\56\153\x65\x6c\x61\163\137\151\x64\54\40\x62\56\x72\165\x61\x6e\x67\137\151\144\x2c\x20\142\x2e\x73\x65\163\x69\137\151\x64\x2c" . "\40\x72\153\56\x69\144\x5f\162\165\x61\156\147\54\40\162\x6b\56\x6e\x61\155\x61\x5f\x72\x75\141\156\x67\x2c\x20\x72\x6b\56\x6b\157\144\x65\137\x72\165\141\x6e\x67\54" . "\x20\x73\x6b\56\151\x64\137\163\145\x73\151\x2c\40\163\153\x2e\x6e\141\x6d\x61\x5f\x73\145\x73\x69\x2c\40\x73\x6b\56\153\157\144\x65\x5f\163\x65\x73\x69\54\x20\163\x6b\56\167\141\153\164\x75\x5f\x6d\165\154\141\151\54\x20\163\153\56\x77\x61\x6b\164\x75\137\x61\153\150\151\162"); goto uGsWt; livB0: $this->db->join("\x63\x62\164\x5f\x73\x65\x73\151\137\x73\151\x73\167\x61\x20\x62", "\x61\56\151\x64\x5f\x73\151\x73\167\x61\x3d\142\x2e\163\x69\163\x77\x61\137\151\144", "\x6c\x65\x66\164"); goto hNb4D; P0QB3: } public function getRuangSesiSiswa($id_kelas, $id_tp, $id_smt) { goto iwvoQ; vQ9pS: $this->db->join("\155\141\163\164\x65\162\137\x73\151\163\167\x61\x20\x62", "\141\x2e\151\144\x5f\163\151\x73\x77\141\x3d\142\x2e\151\144\137\163\x69\163\x77\141", "\x6c\145\146\164"); goto hmKCW; iwvoQ: $this->db->select("\x61\x2e\151\144\137\x73\x69\163\x77\x61\54\x20\141\x2e\x69\144\137\x6b\x65\154\141\163\54" . "\40\142\56\x6e\141\155\x61\x2c\40\x62\56\156\x69\x73\x2c\x20\x62\x2e\x75\163\x65\x72\x6e\141\x6d\145\54" . "\x20\143\56\156\141\x6d\141\137\x6b\145\154\x61\x73\54\x20\143\x2e\x6b\157\144\145\x5f\153\x65\154\141\163\54" . "\40\x65\x2e\x73\145\163\x69\x5f\151\x64\54\40\145\56\162\165\x61\x6e\x67\137\151\x64\54" . "\x20\162\153\x2e\x69\x64\x5f\162\x75\141\156\147\x2c\40\x72\153\56\153\x6f\x64\x65\137\x72\x75\141\x6e\147\54" . "\40\163\x6b\x2e\151\x64\137\x73\145\163\x69\54\x20\x73\x6b\x2e\153\157\x64\x65\137\x73\145\x73\151"); goto sekNY; iEnGY: return $this->db->get()->result(); goto C8xs7; vt7lD: $this->db->join("\x62\165\153\x75\137\151\x6e\x64\x75\x6b\40\151", "\151\x2e\151\x64\x5f\x73\151\x73\167\141\x3d\x61\56\151\144\x5f\163\151\x73\x77\141\40\101\x4e\x44\40\75\x69\56\163\164\x61\x74\x75\x73\x3d\61"); goto ZeQsJ; cB5aN: $this->db->order_by("\142\x2e\x6e\141\155\141", "\101\x53\103"); goto iEnGY; sekNY: $this->db->from("\x6b\145\x6c\x61\x73\x5f\x73\x69\163\167\141\40\141"); goto vQ9pS; B0H2s: $this->db->where("\x61\56\151\144\137\x73\155\164", $id_smt); goto cB5aN; hmKCW: $this->db->join("\155\141\x73\x74\x65\162\x5f\x6b\x65\x6c\x61\163\40\143", "\141\x2e\151\144\137\153\145\x6c\141\163\75\x63\56\x69\144\x5f\153\x65\x6c\141\x73", "\154\145\x66\164"); goto NEh6X; ZeQsJ: $this->db->where("\141\x2e\151\x64\137\x6b\145\x6c\x61\163", $id_kelas); goto pGXQm; RS3hy: $this->db->join("\x63\142\164\x5f\163\145\163\151\40\163\x6b", "\x65\56\163\x65\163\x69\137\151\144\x3d\163\153\x2e\151\144\x5f\163\x65\x73\x69", "\154\x65\x66\164"); goto vt7lD; pGXQm: $this->db->where("\141\x2e\151\144\x5f\164\x70", $id_tp); goto B0H2s; NEh6X: $this->db->join("\x63\x62\x74\x5f\x73\x65\163\x69\137\163\151\163\x77\141\40\x65", "\141\56\x69\144\137\163\x69\163\x77\x61\x3d\145\56\163\151\x73\x77\x61\x5f\x69\144", "\154\x65\x66\x74"); goto KnGx4; KnGx4: $this->db->join("\x63\x62\x74\137\162\165\x61\x6e\x67\40\x72\153", "\145\x2e\x72\165\x61\156\147\137\151\x64\75\x72\x6b\56\x69\x64\x5f\x72\x75\141\156\147", "\x6c\x65\146\164"); goto RS3hy; C8xs7: } public function getSiswaByKelas($id_tp, $id_smt, $id_kelas) { goto A1GIC; sqALy: $this->db->join("\x63\142\164\x5f\163\x65\163\151\x20\145", "\145\56\151\144\137\x73\145\x73\x69\x3d\x63\56\163\x65\163\151\x5f\x69\x64", "\x6c\x65\x66\x74"); goto s99Ai; aMo3w: $this->db->where("\x66\56\163\151\163\167\x61\137\151\x64\40\x69\163\x20\x4e\117\x54\x20\x4e\125\114\114", NULL, FALSE); goto m0qf7; qkgxT: $this->db->where("\x63\x2e\x73\151\x73\x77\x61\137\151\x64\40\x69\163\40\116\x4f\x54\x20\116\125\114\x4c", NULL, FALSE); goto aMo3w; cJkAd: $this->db->order_by("\142\56\x6e\141\x6d\141", "\x41\123\103"); goto QZ9Tr; s99Ai: $this->db->join("\155\141\x73\164\145\x72\137\153\x65\x6c\141\x73\40\146", "\x66\56\x69\144\137\153\x65\x6c\141\163\75\141\56\x69\144\137\x6b\x65\x6c\x61\163", "\154\145\146\164"); goto XA8h0; wYvXW: $this->db->where("\x61\x2e\151\144\x5f\x74\x70", $id_tp); goto Sugxf; XifF2: $this->db->where("\x61\x2e\151\x64\137\x6b\x65\154\x61\x73", $id_kelas); goto ULJRm; xh24V: $this->db->where("\x61\56\151\x64\x5f\163\151\x73\167\141\40\x69\163\x20\116\117\124\x20\116\125\114\x4c", NULL, FALSE); goto bmhXS; m0qf7: $this->db->where("\x67\56\x69\144\x5f\x73\151\163\167\141\x20\x69\x73\40\x4e\x4f\124\40\x4e\125\114\x4c", NULL, FALSE); goto dlMUQ; y9ynB: Ab3So: goto l_bNQ; bmhXS: $this->db->where("\x62\x2e\x69\144\x5f\163\x69\163\167\x61\x20\151\163\x20\116\x4f\124\x20\x4e\125\114\114", NULL, FALSE); goto qkgxT; cm78P: $this->db->join("\143\142\x74\x5f\x73\x65\163\x69\137\x73\151\163\167\141\40\143", "\x63\x2e\x73\151\163\167\141\137\151\144\75\141\x2e\151\144\x5f\163\151\163\x77\141", "\x6c\145\x66\x74"); goto BkpRa; ULJRm: goto hB24o; goto y9ynB; R4pGz: hB24o: goto cJkAd; BkpRa: $this->db->join("\143\142\x74\137\162\x75\x61\x6e\x67\x20\144", "\x64\x2e\151\144\x5f\162\165\141\156\x67\75\143\x2e\x72\165\x61\156\x67\x5f\151\x64", "\154\145\146\x74"); goto sqALy; X0W33: $this->db->join("\155\x61\163\x74\x65\x72\x5f\163\151\x73\167\x61\40\142", "\142\x2e\x69\x64\137\163\151\x73\x77\x61\75\x61\x2e\151\144\137\163\151\x73\167\141", "\x6c\x65\146\x74"); goto cm78P; d5EJ2: $this->db->from("\x6b\145\154\x61\x73\x5f\163\151\x73\167\141\x20\x61"); goto X0W33; A1GIC: $this->db->select("\x62\56\151\144\x5f\x73\x69\163\167\141\x2c\40\x62\x2e\156\141\155\141\x2c\x20\x62\x2e\x6e\x69\x73\54\40\142\56\x6e\151\163\x6e\54\40\x62\56\165\x73\x65\162\x6e\x61\x6d\x65\54\40\x62\56\160\141\x73\x73\x77\157\x72\x64\54" . "\x20\142\56\146\x6f\164\157\54\x20\144\56\x6b\x6f\144\145\137\x72\165\141\x6e\147\54\x20\145\56\x6b\157\x64\x65\137\163\x65\x73\151\54\40\x66\56\x6e\141\x6d\x61\137\153\145\x6c\x61\163\x2c\40\x66\56\153\x6f\144\x65\x5f\x6b\x65\x6c\141\163\54\x20\147\x2e\156\x6f\x6d\x6f\162\x5f\x70\145\163\145\162\164\141"); goto d5EJ2; dlMUQ: if (is_array($id_kelas)) { goto Ab3So; } goto XifF2; Sugxf: $this->db->where("\x61\56\151\144\137\x73\155\x74", $id_smt); goto xh24V; QZ9Tr: return $this->db->get()->result(); goto qJfg9; XA8h0: $this->db->join("\143\x62\x74\x5f\x6e\157\x6d\157\162\137\160\145\x73\x65\162\164\x61\x20\147", "\x67\56\x69\144\137\x73\151\163\x77\141\x3d\141\56\x69\x64\x5f\x73\x69\163\x77\141\x20\101\116\x44\40\147\56\151\x64\137\164\x70\x3d" . $id_tp, "\154\x65\x66\164"); goto R3nas; R3nas: $this->db->join("\x62\x75\153\165\x5f\x69\156\x64\x75\x6b\x20\x69", "\151\56\151\144\x5f\163\151\x73\167\x61\x3d\141\x2e\151\x64\137\163\x69\163\x77\141\40\x41\x4e\104\40\75\x69\x2e\x73\x74\141\164\165\163\x3d\61"); goto wYvXW; l_bNQ: $this->db->where_in("\x61\56\x69\144\x5f\153\145\x6c\x61\x73", $id_kelas); goto R4pGz; qJfg9: } public function getSiswaById($id_tp, $id_smt, $idSiswa) { goto S_4DY; eq7sU: $this->db->where("\141\x2e\151\144\137\163\155\x74", $id_smt); goto GzqcY; D5JOL: $this->db->join("\143\x62\164\137\163\145\163\151\40\x65", "\145\x2e\x69\x64\137\163\145\163\151\x3d\143\x2e\163\x65\163\151\137\151\144", "\x6c\145\x66\164"); goto nASCu; uSs12: $this->db->where("\x61\x2e\151\x64\x5f\164\x70", $id_tp); goto eq7sU; LPYkd: $this->db->join("\143\142\164\137\x73\145\x73\151\40\152", "\x6a\56\151\x64\x5f\163\x65\x73\x69\75\150\x2e\151\144\x5f\x73\145\163\x69", "\x6c\x65\146\x74"); goto uSs12; S_4DY: $this->db->select("\142\x2e\x69\x64\137\163\151\x73\x77\141\x2c\x20\142\56\156\141\x6d\x61\54\x20\142\x2e\156\151\163\x2c\x20\x62\x2e\x6e\151\x73\156\x2c\40\x62\56\165\x73\x65\162\x6e\141\155\x65\x2c\40\x62\56\x70\141\163\163\x77\x6f\162\x64\54" . "\40\142\56\146\157\164\x6f\54\x20\x64\56\153\157\144\145\x5f\x72\165\141\x6e\x67\54\x20\x65\56\x6b\157\x64\x65\137\x73\x65\163\151\x2c\x20\x66\56\x6e\141\155\x61\137\x6b\145\154\x61\x73\x2c\x20\x66\x2e\153\157\x64\x65\137\x6b\x65\x6c\141\x73\x2c\x20\147\x2e\156\x6f\x6d\157\x72\137\160\145\x73\x65\162\164\141\54" . "\x20\x68\56\x73\x65\x74\x5f\163\151\x73\x77\141\x2c\x20\151\x2e\153\x6f\x64\x65\137\162\x75\141\156\x67\40\x61\x73\x20\x72\165\141\x6e\x67\x5f\x6b\x65\154\x61\163\x2c\x20\152\56\153\157\144\x65\x5f\x73\145\x73\x69\40\x61\163\40\163\145\x73\x69\x5f\153\145\x6c\x61\x73"); goto F7rCo; iiA3w: return $this->db->get()->row(); goto BsQfl; nASCu: $this->db->join("\155\141\x73\x74\x65\x72\137\x6b\145\154\141\163\40\146", "\146\x2e\x69\144\x5f\x6b\x65\x6c\141\x73\75\141\56\x69\144\137\153\145\154\x61\163", "\x6c\x65\146\164"); goto HyS0f; dYEeP: $this->db->join("\143\142\164\x5f\153\x65\x6c\x61\x73\x5f\162\165\141\x6e\147\x20\x68", "\x68\x2e\151\144\137\153\145\x6c\x61\163\x3d\141\x2e\151\144\137\153\x65\154\141\163", "\x6c\145\146\x74"); goto u75JB; F7rCo: $this->db->from("\x6b\x65\x6c\x61\163\137\x73\x69\x73\167\x61\x20\141"); goto ZdRzn; u31NB: $this->db->join("\143\142\164\137\163\145\x73\151\x5f\x73\151\x73\x77\x61\40\143", "\x63\56\x73\151\x73\x77\141\137\x69\144\75\x61\56\151\144\137\x73\151\x73\x77\141", "\154\145\146\x74"); goto dd7TG; ZdRzn: $this->db->join("\155\x61\163\x74\145\x72\137\163\151\163\167\141\40\142", "\142\56\x69\144\x5f\x73\151\163\x77\141\75\141\56\151\x64\x5f\x73\151\163\x77\141", "\154\145\146\164"); goto u31NB; GzqcY: $this->db->where("\141\x2e\x69\144\x5f\163\151\x73\x77\141", $idSiswa); goto iiA3w; u75JB: $this->db->join("\143\x62\x74\137\x72\x75\141\x6e\x67\x20\x69", "\151\x2e\x69\144\137\162\x75\141\x6e\x67\75\150\x2e\x69\x64\x5f\x72\x75\x61\x6e\x67", "\154\x65\x66\164"); goto LPYkd; HyS0f: $this->db->join("\x63\142\x74\137\156\157\155\x6f\x72\x5f\x70\x65\163\x65\x72\x74\141\x20\x67", "\147\x2e\151\x64\137\x73\x69\x73\x77\x61\75\x61\56\151\144\x5f\163\x69\x73\167\141\x20\x41\x4e\104\40\x67\x2e\151\144\137\x74\160\75" . $id_tp, "\154\x65\x66\x74"); goto dYEeP; dd7TG: $this->db->join("\x63\142\x74\x5f\162\x75\141\x6e\x67\x20\x64", "\x64\56\x69\x64\137\162\x75\x61\x6e\x67\x3d\143\56\x72\x75\141\x6e\147\x5f\x69\x64", "\x6c\145\146\164"); goto D5JOL; BsQfl: } public function getAllPesertaByRuang($id_tp, $id_smt) { goto NkZNj; W3m6b: foreach ($result as $row) { $ret[$row->kode_ruang][$row->kode_sesi][] = $row; VgI38: } goto u22se; jTgzZ: $result = $this->db->get()->result(); goto zKO8m; u22se: ehEt3: goto x72NK; kHN6S: $this->db->order_by("\146\56\x6c\145\x76\x65\154\x5f\x69\x64"); goto dQ4Hn; V_Ynr: $this->db->from("\143\x62\x74\x5f\163\x65\x73\x69\x5f\163\151\x73\167\x61\40\141"); goto CXV6t; J2X5a: $this->db->join("\x63\x62\164\137\x73\x65\163\151\40\145", "\145\x2e\151\144\137\163\145\163\151\x3d\x61\x2e\x73\145\x73\x69\x5f\151\144", "\x6c\x65\x66\164"); goto TwWSx; E2uUR: $this->db->join("\143\x62\164\x5f\156\157\x6d\157\162\x5f\160\145\163\x65\162\x74\141\40\x67", "\x67\x2e\151\x64\x5f\x73\x69\163\167\141\x3d\141\x2e\x73\151\163\167\x61\137\151\x64\x20\101\x4e\104\40\x67\x2e\151\144\137\164\160\75" . $id_tp, "\154\145\x66\164"); goto J2X5a; mOeJV: $this->db->join("\143\x62\164\137\162\x75\141\x6e\147\40\144", "\144\x2e\151\144\x5f\x72\x75\141\156\147\x3d\x61\56\162\165\x61\x6e\147\x5f\151\x64", "\154\145\146\164"); goto E2uUR; x72NK: return $ret; goto wIP0q; va6Kc: $this->db->order_by("\x62\56\156\141\x6d\141"); goto jTgzZ; zKO8m: $ret = []; goto W3m6b; TwWSx: $this->db->join("\x6b\145\x6c\x61\x73\x5f\x73\151\163\167\x61\40\143", "\x63\x2e\x69\x64\x5f\x73\x69\x73\167\141\x3d\142\56\151\144\137\x73\x69\163\x77\x61\40\101\116\104\x20\143\56\151\x64\137\x74\x70\x3d" . $id_tp . "\x20\101\x4e\104\40\143\56\x69\x64\x5f\x73\x6d\164\75" . $id_smt . ''); goto eIAib; dQ4Hn: $this->db->order_by("\x66\56\x6b\x6f\144\145\x5f\153\145\x6c\x61\x73"); goto va6Kc; ni9yP: $this->db->order_by("\x65\x2e\x6b\x6f\144\145\x5f\x73\x65\163\x69"); goto kHN6S; aSrZ9: $this->db->order_by("\144\56\153\x6f\144\x65\137\x72\x75\x61\156\x67"); goto ni9yP; eIAib: $this->db->join("\x6d\141\163\164\x65\162\137\x6b\145\x6c\141\163\40\x66", "\146\56\151\144\x5f\x6b\x65\x6c\x61\x73\x3d\x63\56\x69\x64\x5f\153\145\154\141\x73"); goto DrPAZ; CXV6t: $this->db->join("\x6d\x61\163\x74\145\162\x5f\163\151\163\x77\x61\x20\x62", "\x62\56\x69\x64\137\x73\x69\x73\167\141\x3d\141\x2e\163\x69\x73\167\x61\137\151\x64", "\x6c\145\146\164"); goto mOeJV; DrPAZ: $this->db->join("\x62\x75\x6b\x75\x5f\x69\156\x64\x75\153\x20\151", "\151\56\151\x64\x5f\163\151\163\x77\141\x3d\x62\x2e\151\144\137\x73\151\163\x77\141\x20\101\116\104\x20\75\151\x2e\163\x74\x61\164\165\163\x3d\x31"); goto aSrZ9; NkZNj: $this->db->select("\x62\x2e\x69\144\137\x73\151\163\167\141\54\40\x62\x2e\156\x61\x6d\x61\x2c\x20\x62\x2e\156\151\x73\x2c\40\142\56\156\151\163\x6e\54\x20\x62\56\165\163\145\x72\156\141\x6d\145\54\x20\142\56\x70\141\163\163\167\x6f\162\144\x2c\x20\x62\x2e\146\157\164\157\x2c\40\146\x2e\154\145\x76\145\x6c\137\151\144\x2c" . "\x20\146\56\x6e\x61\155\141\x5f\x6b\145\x6c\141\163\x2c\40\146\x2e\153\x6f\144\x65\x5f\x6b\145\x6c\x61\x73\x2c" . "\40\144\x2e\x6e\141\x6d\141\137\x72\165\141\x6e\x67\54\40\x64\x2e\x6b\x6f\144\145\137\x72\x75\141\156\147\x2c" . "\40\145\56\x6b\157\x64\145\137\163\145\x73\x69\x2c\x20\x65\56\156\141\x6d\x61\x5f\x73\x65\163\x69\x2c" . "\40\x67\x2e\x6e\157\x6d\x6f\162\x5f\x70\145\x73\145\x72\164\x61"); goto V_Ynr; wIP0q: } public function getAllPesertaByKelas($id_tp, $id_smt) { goto ZrMcR; h7VMP: $this->db->join("\143\x62\164\x5f\163\x65\x73\x69\x20\145", "\x65\56\151\144\x5f\163\x65\163\151\x3d\x61\56\163\145\163\x69\137\151\x64", "\x6c\x65\146\x74"); goto LVqVT; aoSa8: $this->db->join("\143\142\164\x5f\x6e\x6f\x6d\157\x72\137\x70\x65\163\x65\162\164\x61\x20\147", "\147\56\151\144\x5f\x73\151\163\167\x61\75\x61\56\163\151\163\167\141\137\x69\x64\40\x41\x4e\104\40\x67\56\x69\144\x5f\164\160\75" . $id_tp, "\154\x65\146\x74"); goto h7VMP; xJvM0: $result = $this->db->get()->result(); goto IG4q8; xQw0x: $this->db->order_by("\142\56\156\x61\x6d\141"); goto xJvM0; IG4q8: $ret = []; goto nAhO0; TtkXA: $this->db->order_by("\146\56\154\145\166\145\x6c\x5f\151\x64"); goto eVHPi; ywzfn: $this->db->join("\155\x61\x73\x74\x65\162\137\x6b\x65\x6c\141\163\x20\x66", "\x66\x2e\151\144\x5f\x6b\145\154\141\163\x3d\x63\56\151\x64\137\153\x65\x6c\141\163"); goto SzMXX; duRK7: $this->db->from("\x63\x62\164\x5f\163\x65\x73\x69\x5f\x73\x69\163\167\141\x20\x61"); goto v8U9i; bNcwP: $this->db->join("\x63\142\x74\137\162\165\x61\156\x67\x20\144", "\144\x2e\x69\x64\x5f\x72\165\x61\x6e\x67\x3d\141\56\162\x75\141\156\x67\137\x69\144", "\154\x65\146\164"); goto aoSa8; ZrMcR: $this->db->select("\142\x2e\151\144\137\163\x69\163\167\141\x2c\40\x62\x2e\156\x61\155\141\54\x20\142\x2e\x6e\x69\163\54\x20\142\x2e\x6e\x69\x73\156\x2c\x20\x62\56\165\x73\x65\162\156\141\x6d\x65\x2c\40\142\56\x70\141\163\x73\167\x6f\x72\144\x2c\x20\142\x2e\x66\x6f\164\157\54" . "\x20\146\x2e\x6e\x61\x6d\x61\x5f\x6b\x65\x6c\x61\163\54\x20\146\x2e\153\x6f\144\x65\137\153\x65\154\141\x73\54" . "\40\x64\56\156\141\155\x61\x5f\162\165\141\156\147\54\40\144\x2e\153\x6f\144\x65\x5f\162\x75\x61\156\x67\x2c" . "\40\145\x2e\x6b\157\144\145\137\163\145\163\x69\x2c\x20\145\x2e\156\x61\155\x61\x5f\163\145\x73\151\54" . "\x20\x67\56\x6e\157\155\x6f\x72\137\x70\145\x73\145\x72\x74\x61"); goto duRK7; NDzMM: gf6LH: goto K7F0G; v8U9i: $this->db->join("\155\x61\x73\164\x65\162\x5f\163\x69\163\x77\141\x20\x62", "\142\x2e\151\x64\x5f\x73\151\163\x77\x61\x3d\x61\56\163\151\x73\167\141\x5f\x69\144", "\x6c\x65\x66\x74"); goto bNcwP; SzMXX: $this->db->join("\142\165\153\165\137\x69\156\144\165\x6b\x20\151", "\151\x2e\x69\144\x5f\x73\x69\163\167\x61\x3d\x62\56\151\144\x5f\x73\x69\x73\167\141\40\x41\x4e\x44\40\x3d\x69\56\163\x74\x61\164\x75\163\75\61"); goto TtkXA; LVqVT: $this->db->join("\x6b\x65\x6c\x61\x73\x5f\x73\151\163\167\141\x20\143", "\x63\56\151\144\137\x73\151\x73\x77\x61\x3d\x62\x2e\151\x64\137\163\151\x73\x77\x61\40\x41\x4e\104\x20\x63\56\151\144\x5f\x74\160\x3d" . $id_tp . "\40\101\x4e\104\40\x63\x2e\151\144\137\x73\155\x74\75" . $id_smt . ''); goto ywzfn; eVHPi: $this->db->order_by("\146\56\x6b\157\144\x65\137\153\x65\x6c\x61\163"); goto xQw0x; nAhO0: foreach ($result as $row) { $ret[$row->kode_kelas][] = $row; nCcZc: } goto NDzMM; K7F0G: return $ret; goto xITcK; xITcK: } public function getSiswaByRuang($id_tp, $id_smt, $id_ruang, $sesi) { goto mgAg0; dUB5K: $this->db->join("\143\142\x74\x5f\x72\x75\x61\x6e\x67\x20\x64", "\x64\56\x69\x64\137\162\165\x61\x6e\x67\x3d\x61\56\x72\x75\141\156\147\137\x69\x64", "\x6c\x65\x66\x74"); goto wI6x3; iOVov: $this->db->from("\143\142\x74\137\163\x65\x73\151\137\163\151\x73\x77\141\40\141"); goto L6P2c; JKaVk: $this->db->join("\x63\x62\x74\137\163\x65\163\151\x20\x65", "\145\x2e\x69\144\137\163\145\163\151\x3d\x61\56\163\x65\x73\151\x5f\x69\144", "\154\145\x66\x74"); goto yIfRO; aRx1j: $this->db->join("\x62\165\153\x75\137\x69\156\144\x75\x6b\40\x69", "\151\56\151\x64\x5f\163\151\163\167\x61\x3d\142\56\x69\144\x5f\x73\x69\x73\167\x61\x20\x41\x4e\x44\x20\x3d\151\56\163\164\141\x74\x75\x73\75\61"); goto Fqurx; yIfRO: $this->db->join("\153\145\154\141\x73\137\163\151\163\167\x61\x20\143", "\143\x2e\151\144\137\163\x69\x73\x77\x61\x3d\142\x2e\x69\144\137\163\x69\x73\167\x61\40\101\x4e\x44\40\143\56\151\144\137\x74\160\x3d" . $id_tp . "\40\x41\116\x44\x20\x63\56\151\144\137\x73\x6d\x74\x3d" . $id_smt . ''); goto IjlrB; mgAg0: $this->db->select("\x61\x2e\162\x75\141\x6e\147\x5f\151\144\x2c\40\141\x2e\x73\x65\x73\151\x5f\151\x64\x2c\40\142\56\x69\x64\x5f\163\151\163\x77\x61\x2c\x20\142\x2e\156\x61\x6d\x61\54\40\142\56\156\x69\x73\54\x20\142\x2e\156\151\163\x6e\x2c\40\142\x2e\x75\163\145\x72\x6e\x61\155\145\54\x20\142\x2e\160\141\163\x73\167\x6f\162\x64\54\40\x62\x2e\146\157\x74\157\54" . "\40\x66\x2e\151\x64\137\x6b\145\x6c\x61\163\x2c\40\146\x2e\x6e\x61\x6d\141\x5f\153\145\x6c\141\163\54\40\146\56\x6b\157\144\145\137\153\145\154\x61\163\x2c" . "\x20\144\56\156\x61\155\x61\137\162\x75\141\156\147\54\40\x64\x2e\x6b\x6f\144\x65\137\x72\x75\141\156\x67\54" . "\x20\x65\56\153\157\x64\x65\137\163\x65\x73\151\x2c\40\x65\x2e\156\141\x6d\141\x5f\163\x65\163\151\54" . "\x20\147\56\x6e\157\x6d\157\162\x5f\160\x65\x73\x65\x72\164\141"); goto iOVov; AuwpC: $this->db->where("\141\x2e\x73\x65\163\151\x5f\151\x64", $sesi); goto KGFEy; c53IX: return $this->db->get()->result(); goto AcEYr; wI6x3: $this->db->join("\143\x62\164\137\156\157\155\157\x72\x5f\x70\x65\163\145\162\164\141\x20\x67", "\147\x2e\151\x64\x5f\x73\x69\163\167\x61\75\141\x2e\x73\x69\163\167\x61\137\x69\144\x20\101\116\x44\40\147\x2e\151\x64\137\x74\160\x3d" . $id_tp, "\154\x65\146\164"); goto JKaVk; KGFEy: $this->db->order_by("\x62\x2e\x6e\141\155\141"); goto c53IX; Fqurx: $this->db->where("\141\56\162\x75\141\x6e\147\x5f\151\144", $id_ruang); goto AuwpC; L6P2c: $this->db->join("\x6d\x61\x73\164\x65\162\137\163\x69\163\167\141\40\x62", "\142\x2e\151\144\137\163\x69\x73\x77\141\x3d\x61\56\x73\151\x73\167\141\x5f\x69\x64", "\x6c\x65\146\164"); goto dUB5K; IjlrB: $this->db->join("\x6d\141\x73\164\x65\162\137\153\145\154\x61\163\x20\x66", "\x66\56\x69\x64\x5f\x6b\145\154\x61\x73\x3d\x63\x2e\x69\x64\137\153\145\x6c\141\163"); goto aRx1j; AcEYr: } public function getRuangSiswaByKelas($id_tp, $id_smt, $kelas, $sesi) { goto bsdI6; yihhI: $this->db->join("\143\142\x74\137\x6e\157\155\x6f\162\137\x70\x65\x73\145\x72\x74\x61\x20\147", "\147\56\x69\x64\x5f\163\151\163\167\141\x3d\141\x2e\163\x69\163\x77\141\137\151\144\x20\101\x4e\x44\40\147\56\x69\x64\137\x74\x70\75" . $id_tp, "\154\x65\146\164"); goto bU3yo; UywJI: $this->db->where_in("\x61\x2e\153\145\154\x61\163\x5f\x69\144", $kelas); goto YS1hS; ZVrrx: $this->db->order_by("\142\x2e\156\141\x6d\141"); goto ECuLL; Lb0JM: $this->db->join("\x6d\x61\163\164\145\162\137\x6b\x65\154\141\163\40\146", "\146\x2e\x69\x64\x5f\153\145\x6c\141\x73\75\143\x2e\x69\144\137\x6b\145\154\x61\163"); goto MUYI8; YS1hS: if (!($sesi != null)) { goto p2oX8; } goto AAbDC; j1Igg: $this->db->join("\143\x62\164\137\x72\165\x61\x6e\x67\40\x64", "\x64\56\151\144\x5f\162\165\x61\156\x67\x3d\141\56\162\165\141\x6e\x67\x5f\151\144", "\154\145\x66\x74"); goto yihhI; ccC1a: $this->db->join("\x6b\x65\x6c\x61\163\137\x73\x69\x73\167\141\40\x63", "\x63\56\x69\144\x5f\163\151\163\x77\x61\x3d\142\56\x69\x64\x5f\163\151\163\167\141\x20\101\116\x44\x20\143\x2e\x69\144\x5f\164\160\75" . $id_tp . "\x20\x41\116\104\40\143\x2e\151\x64\x5f\163\x6d\x74\75" . $id_smt . ''); goto Lb0JM; XqXoS: $this->db->from("\143\142\164\137\163\x65\x73\151\x5f\x73\151\x73\167\x61\x20\x61"); goto ScnjT; MUYI8: $this->db->join("\142\165\x6b\165\137\x69\x6e\x64\x75\x6b\40\x69", "\151\x2e\151\x64\x5f\x73\x69\x73\x77\x61\75\142\56\x69\144\x5f\x73\151\x73\167\141\40\x41\x4e\x44\40\x3d\151\56\163\164\x61\164\165\163\75\61"); goto UywJI; ScnjT: $this->db->join("\155\141\163\x74\145\162\137\x73\x69\x73\167\x61\x20\142", "\x62\56\x69\144\137\x73\151\x73\x77\141\x3d\141\x2e\x73\x69\163\167\x61\x5f\x69\x64", "\154\145\146\x74"); goto j1Igg; TbuI4: p2oX8: goto ZVrrx; ECuLL: return $this->db->get()->result(); goto hBeNt; bU3yo: $this->db->join("\x63\142\164\x5f\x73\x65\163\x69\40\x65", "\x65\x2e\151\144\x5f\163\x65\x73\x69\75\141\x2e\163\145\163\x69\x5f\151\x64", "\154\x65\146\x74"); goto ccC1a; bsdI6: $this->db->select("\x62\x2e\x69\144\137\163\151\163\x77\x61\x2c\40\142\x2e\x6e\141\155\141\54\40\142\x2e\156\x69\163\x2c\x20\142\x2e\x6e\151\x73\x6e\x2c\x20\x62\56\x75\163\x65\x72\156\x61\x6d\x65\54\x20\142\56\160\141\x73\163\x77\157\x72\144\54\40\x62\x2e\x66\x6f\164\157\54" . "\40\146\56\x6e\141\x6d\x61\137\153\145\x6c\x61\163\x2c\x20\x66\56\x6b\x6f\x64\145\x5f\x6b\145\x6c\141\163\x2c" . "\40\144\56\156\x61\155\x61\137\162\165\x61\156\x67\x2c\x20\x64\56\153\x6f\x64\145\137\x72\x75\x61\x6e\147\54" . "\40\145\56\153\157\144\145\x5f\x73\145\163\151\x2c\40\145\56\156\x61\x6d\141\x5f\x73\145\163\x69\54" . "\40\x67\56\x6e\x6f\x6d\x6f\162\x5f\160\145\163\x65\x72\x74\141"); goto XqXoS; AAbDC: $this->db->where("\x61\x2e\x73\x65\x73\x69\x5f\x69\144", $sesi); goto TbuI4; hBeNt: } public function getSiswaByKelasArray($id_tp, $id_smt, $arr_kelas) { goto erPL3; PUwOb: $this->db->where_in("\x61\x2e\151\144\x5f\153\x65\x6c\x61\x73", $arr_kelas); goto gMeXN; erPL3: $this->db->select("\x61\x2e\151\x64\137\x73\151\163\x77\141\x2c\40\x61\x2e\x69\x64\x5f\153\145\154\141\x73\x2c" . "\40\142\x2e\156\x61\155\141\x2c\x20\142\56\156\151\x73\54\40\142\x2e\x6e\x69\163\156\54\x20\142\56\165\163\x65\x72\156\x61\155\x65\54\40\x62\x2e\160\x61\163\x73\x77\x6f\x72\x64\54" . "\x20\x66\x2e\x6e\x61\155\x61\137\x6b\145\154\x61\163\x2c\x20\146\x2e\153\x6f\x64\145\137\x6b\145\x6c\x61\163\x2c\x20\x6c\56\x6c\145\166\x65\x6c\54\x20\147\x2e\x6e\x6f\155\x6f\162\137\x70\145\x73\x65\x72\164\x61"); goto Yqntw; gTEdQ: $this->db->where("\x61\x2e\x69\144\x5f\163\155\164", $id_smt); goto kg7ZY; ieQYL: $this->db->join("\155\141\x73\x74\x65\x72\137\163\151\x73\x77\x61\40\142", "\142\x2e\151\x64\x5f\x73\x69\163\x77\141\x3d\x61\56\151\x64\x5f\163\x69\163\167\141"); goto Mjjrj; Mjjrj: $this->db->join("\x6d\x61\x73\x74\145\162\137\x6b\145\x6c\141\x73\x20\146", "\x66\56\x69\x64\x5f\x6b\145\x6c\141\163\x3d\x61\56\x69\x64\137\153\145\154\x61\x73"); goto lkywU; cJfTs: $this->db->order_by("\146\x2e\x6b\x6f\144\145\137\153\x65\x6c\x61\163", "\101\x53\103"); goto AV4bH; AV4bH: $this->db->order_by("\142\56\x6e\x61\155\x61", "\101\123\103"); goto no13E; no13E: return $this->db->get()->result(); goto yGcMu; CJJch: $this->db->join("\142\x75\153\165\x5f\x69\156\x64\x75\x6b\x20\151", "\x69\56\151\144\137\x73\x69\x73\x77\x61\75\x61\56\x69\144\137\163\x69\x73\167\x61\40\x41\x4e\104\40\75\151\56\x73\164\141\164\x75\163\x3d\61"); goto hkp5y; hkp5y: if (in_array("\x53\x65\x6d\165\141", $arr_kelas)) { goto qmr_W; } goto PUwOb; JuLWU: $this->db->where("\x61\x2e\x69\144\x5f\x74\160", $id_tp); goto gTEdQ; lkywU: $this->db->join("\x6c\x65\x76\145\x6c\137\153\145\154\141\163\x20\154", "\154\56\x69\x64\137\154\x65\166\145\x6c\75\x66\x2e\x6c\145\166\x65\154\x5f\151\144"); goto pMC0G; Yqntw: $this->db->from("\153\145\154\141\x73\137\x73\x69\x73\167\x61\40\x61"); goto ieQYL; gMeXN: qmr_W: goto JuLWU; pMC0G: $this->db->join("\143\x62\x74\x5f\x6e\157\155\x6f\162\x5f\x70\x65\163\145\162\x74\141\x20\147", "\147\x2e\151\x64\x5f\x73\151\163\167\x61\75\141\56\x69\144\137\x73\x69\x73\x77\141\40\x41\x4e\x44\x20\x67\x2e\x69\x64\137\x74\x70\75" . $id_tp, "\154\x65\146\x74"); goto CJJch; kg7ZY: $this->db->order_by("\154\56\154\145\166\x65\154", "\x41\123\103"); goto cJfTs; yGcMu: } public function getKelasList($tp, $smt) { goto XTDRr; x1MKj: $this->db->order_by("\141\x2e\154\x65\x76\145\x6c\137\x69\144", "\x41\x53\103"); goto IHS_T; Olrwt: $this->db->join("\154\145\x76\x65\x6c\137\x6b\x65\x6c\141\163\40\x64", "\x64\x2e\151\x64\x5f\154\145\166\x65\x6c\x3d\x61\56\154\145\x76\x65\154\137\151\144", "\154\x65\146\x74"); goto rbFUB; IHS_T: $this->db->order_by("\x61\x2e\156\141\x6d\x61\137\x6b\x65\154\x61\x73", "\x41\123\103"); goto QIej7; rbFUB: $this->db->where("\141\56\x69\x64\137\164\x70", $tp); goto MI_Ch; VfzLU: $this->db->from("\x6d\x61\x73\164\x65\x72\x5f\x6b\145\154\x61\163\40\141"); goto c4HG9; MI_Ch: $this->db->where("\141\56\x69\x64\137\x73\x6d\164", $smt); goto x1MKj; XTDRr: $this->db->select("\x61\x2e\151\x64\137\x6b\x65\154\x61\163\54\x20\141\56\156\x61\x6d\141\137\153\145\x6c\141\163\x2c\x20\141\56\x6b\x6f\x64\145\x5f\153\145\154\141\x73\x2c\x20\x63\x2e\156\x61\155\x61\137\152\165\162\165\x73\x61\x6e\x2c\40\142\56\x69\x64\137\162\x75\x61\x6e\x67\54\40\x62\56\x69\144\x5f\163\145\x73\x69\x2c\x20\x62\x2e\163\145\x74\x5f\163\x69\163\x77\141"); goto VfzLU; QIej7: $query = $this->db->get(); goto g33UH; c4HG9: $this->db->join("\x63\142\x74\x5f\153\145\x6c\x61\163\x5f\162\165\141\156\x67\x20\x62", "\x61\x2e\151\x64\137\153\145\x6c\141\163\x3d\x62\56\x69\x64\137\x6b\x65\x6c\x61\x73", "\x6c\x65\x66\x74"); goto o9NJP; o9NJP: $this->db->join("\155\141\x73\164\145\x72\x5f\x6a\165\x72\x75\x73\141\156\40\143", "\143\x2e\x69\144\x5f\x6a\x75\x72\165\x73\x61\x6e\x3d\x61\56\x6a\x75\162\x75\163\x61\156\x5f\x69\144", "\154\x65\x66\164"); goto Olrwt; g33UH: return $query->result(); goto ZM4Tg; ZM4Tg: } public function getKelas($tp = null, $smt = null) { goto LVYl0; grV8L: $this->db->where("\x61\56\x69\x64\x5f\x74\160", $tp); goto EMxRV; V6ntl: return $this->db->get()->result(); goto Oeyd3; LVYl0: $this->db->select("\x61\x2e\151\x64\x5f\x6b\x65\154\x61\163\x2c\x20\x61\56\156\141\x6d\x61\x5f\153\x65\154\x61\163\54\x20\x61\56\153\157\144\x65\x5f\153\145\154\141\163\x2c\x20\142\56\x6c\x65\166\145\x6c"); goto XzvUe; dS_up: if (!($tp != null)) { goto chnb7; } goto grV8L; XzvUe: $this->db->from("\155\141\x73\x74\x65\x72\137\153\145\154\x61\x73\x20\141"); goto stOmR; UEYL8: $this->db->where("\141\56\151\x64\137\x73\x6d\164", $smt); goto IErhe; stOmR: $this->db->join("\x6c\145\x76\x65\x6c\x5f\153\x65\154\141\x73\40\x62", "\x62\56\x69\x64\x5f\x6c\x65\x76\145\x6c\75\141\56\154\x65\x76\x65\154\x5f\151\x64", "\x6c\145\146\164"); goto dS_up; IErhe: oNAY4: goto I2PzZ; SwNr2: if (!($smt != null)) { goto oNAY4; } goto UEYL8; EMxRV: chnb7: goto SwNr2; I2PzZ: $this->db->order_by("\141\56\156\x61\x6d\x61\137\153\145\154\x61\163", "\101\123\103"); goto V6ntl; Oeyd3: } public function getDataTableBank($guru = null) { goto VtGw9; r21lR: $this->datatables->from("\x63\142\164\137\x62\141\156\x6b\x5f\x73\157\x61\154\40\x61"); goto GLgdP; OQWOI: $this->datatables->join("\x6d\141\x73\164\145\x72\x5f\x67\165\x72\165\40\x63", "\143\56\x69\144\137\x67\165\x72\x75\x3d\141\56\142\141\x6e\x6b\x5f\147\x75\x72\x75\137\x69\x64", "\154\x65\x66\164"); goto tvBVQ; iUE0w: PAVh0: goto pLAkG; pLAkG: return $this->datatables->generate(); goto Xrm9i; HCoRd: $this->datatables->where("\141\x2e\142\141\x6e\x6b\x5f\x67\x75\x72\x75\x5f\x69\x64", $guru); goto iUE0w; VtGw9: $this->datatables->select("\141\56\151\144\x5f\142\x61\x6e\153\54\40\x61\56\x62\x61\x6e\x6b\x5f\153\157\144\145\54\x20\141\56\142\x61\156\153\137\154\x65\x76\x65\x6c\54\40\x61\56\x74\x61\155\x70\x69\x6c\137\x70\147\54\x20\x61\x2e\164\x61\155\x70\x69\x6c\x5f\x65\x73\x61\151\x2c\40\x61\56\x73\164\x61\x74\165\163\x2c\x20\x62\56\x6e\141\155\141\137\x6d\x61\x70\145\154\54\x20\x63\x2e\156\x61\155\x61\x5f\147\x75\x72\165"); goto r21lR; G6dva: if (!($guru !== null)) { goto PAVh0; } goto HCoRd; tvBVQ: $this->datatables->join("\x6d\141\163\x74\145\x72\x5f\x6a\x75\x72\x75\x73\141\156\x20\144", "\144\56\151\144\137\152\165\162\165\x73\x61\156\x3d\x61\x2e\x62\141\x6e\x6b\x5f\x6a\165\162\165\163\141\x6e\x5f\151\144", "\154\145\146\x74"); goto bw9dG; bw9dG: $this->datatables->join("\x63\x62\x74\137\152\145\x6e\x69\163\40\x65", "\145\56\x69\144\x5f\152\x65\156\x69\x73\75\141\56\142\141\x6e\153\x5f\152\x65\156\x69\163\x5f\x69\x64", "\x6c\145\x66\x74"); goto G6dva; GLgdP: $this->datatables->join("\155\x61\x73\164\145\162\137\155\x61\160\145\154\x20\142", "\x62\56\x69\x64\x5f\155\x61\160\145\x6c\75\x61\56\x62\141\156\x6b\137\155\x61\x70\145\x6c\137\151\x64", "\x6c\145\146\164"); goto OQWOI; Xrm9i: } public function getDataBank($guru = null, $mapel = null, $level = null) { goto lMH_Y; XaMpg: $ret = []; goto woNk1; ib35_: $this->db->where("\141\x2e\x62\141\x6e\x6b\x5f\x67\x75\162\x75\x5f\151\144", $guru); goto MVCXk; SArz_: $this->db->join("\x6d\x61\163\164\x65\x72\x5f\155\x61\x70\145\154\x20\x62", "\x62\56\151\144\x5f\x6d\x61\160\x65\154\x3d\x61\x2e\x62\x61\156\x6b\137\155\x61\x70\x65\x6c\x5f\x69\144", "\154\x65\146\x74"); goto XgQAR; woNk1: foreach ($result as $row) { $ret[$row->id_tp][$row->id_smt][] = $row; hvsOd: } goto yXn2i; t1Ceu: if (!($level !== null)) { goto Nvsas; } goto C_SeB; c1_rm: if (!($mapel !== null)) { goto YKFL1; } goto T8mgM; qeQWp: $result = $this->db->get()->result(); goto XaMpg; RtjMC: if (!($guru !== null)) { goto Eml6Z; } goto ib35_; XgQAR: $this->db->join("\155\141\x73\x74\x65\x72\x5f\147\165\x72\x75\x20\x63", "\143\x2e\151\x64\x5f\x67\x75\162\x75\75\141\x2e\x62\141\156\x6b\137\147\165\162\165\137\151\144", "\x6c\x65\x66\164"); goto RtjMC; qDBNN: $this->db->order_by("\x61\x2e\x62\141\156\153\137\x6c\145\x76\145\x6c", "\101\x53\103"); goto qeQWp; t6gX6: $this->db->from("\x63\142\x74\x5f\142\141\x6e\x6b\137\x73\157\x61\154\x20\x61"); goto SArz_; yXn2i: tflzu: goto QfL8y; FEoDO: YKFL1: goto t1Ceu; MVCXk: Eml6Z: goto c1_rm; HtAEt: Nvsas: goto qDBNN; C_SeB: $this->db->where("\141\56\x62\141\x6e\153\x5f\154\145\x76\x65\154", $level); goto HtAEt; T8mgM: $this->db->where("\141\x2e\142\141\x6e\x6b\x5f\x6d\x61\160\x65\154\137\x69\x64", $mapel); goto FEoDO; QfL8y: return $ret; goto Swh9R; lMH_Y: $this->db->select("\141\x2e\151\144\137\142\141\156\153\54\x20\x61\x2e\x69\144\137\164\160\54\40\141\x2e\x69\x64\137\163\155\x74\x2c\40\x61\x2e\x62\141\156\x6b\137\x6b\157\144\145\54\40\141\56\x62\141\x6e\153\137\x6c\x65\166\145\154\x2c\x20\x61\x2e\x62\141\x6e\x6b\137\x6b\145\154\x61\x73\x2c\40\141\x2e\x64\141\164\x65\54\40\x61\x2e\163\164\x61\x74\165\x73\x2c" . "\x20\141\56\x74\x61\x6d\x70\151\154\137\x70\147\x2c\x20\x61\x2e\164\141\155\x70\x69\154\137\x6b\157\155\x70\154\x65\x6b\x73\x2c\x20\141\56\x74\141\155\160\x69\154\x5f\x6a\157\x64\157\150\x6b\x61\x6e\x2c\x20\141\x2e\x74\141\x6d\x70\151\x6c\x5f\x69\163\151\141\156\x2c\40\x61\x2e\x74\x61\x6d\160\x69\154\137\145\163\x61\x69\x2c\40\141\x2e\x62\141\156\153\x5f\147\165\162\165\137\151\x64\54" . "\40\142\x2e\x6e\x61\x6d\141\x5f\x6d\x61\x70\145\x6c\x2c\40\x63\x2e\x69\x64\x5f\147\x75\x72\x75\54\40\x63\x2e\x6e\141\x6d\141\x5f\x67\165\x72\165\54" . "\x20\50\x53\x45\x4c\105\x43\x54\x20\103\117\125\x4e\124\50\x69\x64\137\163\157\x61\x6c\51\x20\x46\x52\x4f\x4d\40\x63\x62\164\137\x73\x6f\141\x6c\x20\127\x48\x45\122\105\40\143\x62\164\x5f\x73\157\x61\x6c\56\142\x61\156\153\x5f\151\144\x20\x3d\40\x61\56\151\144\137\142\141\156\153\x29\40\x41\x53\40\x74\157\164\x61\154\x5f\x73\x6f\141\x6c\x2c" . "\40\50\123\105\x4c\x45\x43\x54\40\x43\117\125\116\124\x28\x69\144\137\152\x61\x64\167\x61\154\51\x20\x46\x52\x4f\115\40\143\142\x74\137\x6a\141\144\x77\141\154\x20\127\110\105\x52\x45\x20\143\142\x74\x5f\x6a\141\x64\167\141\x6c\56\151\x64\x5f\x62\141\156\x6b\40\x3d\x20\141\x2e\151\144\x5f\x62\x61\156\153\x20\x41\x4e\104\x20\143\x62\164\x5f\152\141\x64\x77\x61\x6c\x2e\163\x74\x61\x74\165\x73\x3d\42\61\x22\51\40\101\x53\40\x64\x69\147\165\156\141\153\141\156"); goto t6gX6; Swh9R: } public function getDataBankById($id) { goto yQrQy; z2CVt: $this->db->join("\x6d\x61\x73\164\x65\162\137\x6d\141\x70\x65\x6c\40\x62", "\x62\x2e\151\x64\x5f\155\x61\160\x65\x6c\x3d\x61\x2e\142\x61\x6e\x6b\x5f\155\141\160\x65\x6c\x5f\151\x64", "\154\145\x66\x74"); goto GShzR; yQrQy: $this->db->select("\x61\56\x2a\x2c\40\x62\x2e\x6e\141\155\x61\137\155\x61\160\145\154\x2c\x20\142\x2e\153\157\x64\145\x2c\x20\143\x2e\x6e\141\155\141\137\147\x75\x72\x75\54\40\144\56\x6e\x61\155\141\x5f\x6a\165\x72\x75\x73\x61\156\54\40\x64\56\x6b\157\144\145\x5f\x6a\165\162\x75\163\x61\156\x2c" . "\40\x28\x53\x45\x4c\x45\x43\124\40\103\117\x55\116\x54\x28\151\x64\x5f\152\x61\x64\x77\x61\x6c\51\40\x46\122\117\115\x20\x63\x62\164\x5f\x6a\141\x64\167\141\x6c\x20\x57\110\x45\122\x45\40\143\x62\164\137\x6a\x61\x64\x77\x61\x6c\x2e\151\x64\137\142\141\156\153\x20\x3d\x20\141\x2e\151\x64\137\142\x61\x6e\153\x20\101\116\x44\40\x63\142\164\137\x6a\141\144\x77\141\x6c\56\163\x74\141\164\x75\x73\75\42\x31\42\51\x20\x41\123\40\144\151\x67\x75\x6e\x61\x6b\141\156"); goto k54ij; PF5ho: $this->db->join("\155\141\x73\164\x65\162\x5f\152\165\x72\165\x73\x61\156\x20\x64", "\x64\x2e\151\x64\x5f\x6a\165\162\165\x73\141\x6e\x3d\141\56\x62\141\156\x6b\137\152\165\162\165\x73\x61\156\137\x69\144", "\x6c\145\x66\164"); goto zUpHu; z4z_u: return $this->db->get()->row(); goto QouCZ; k54ij: $this->db->from("\143\142\x74\x5f\x62\141\156\x6b\x5f\x73\x6f\141\154\x20\141"); goto z2CVt; GShzR: $this->db->join("\x6d\x61\x73\x74\145\162\137\x67\x75\162\x75\40\x63", "\143\56\151\144\137\x67\x75\x72\x75\75\141\56\142\x61\x6e\153\x5f\147\165\162\165\137\151\144", "\154\145\x66\164"); goto PF5ho; zUpHu: $this->db->where("\x61\56\x69\x64\137\142\141\156\x6b", $id); goto z4z_u; QouCZ: } public function getTotalSoal($id_bank, $jenis = null) { goto qYuZ0; OQaOv: if (!($jenis != null)) { goto aUtCT; } goto rl_LK; rl_LK: $this->db->where("\152\145\x6e\x69\163", $jenis); goto aK9eS; aK9eS: aUtCT: goto awWIh; qYuZ0: $this->db->where("\142\x61\156\153\x5f\151\144", $id_bank); goto OQaOv; awWIh: return $this->db->get("\x63\142\x74\x5f\163\157\x61\154")->num_rows(); goto a1uv4; a1uv4: } public function getNomorSoalById($id_soal) { goto GLX9U; GLX9U: $this->db->select("\156\157\155\157\x72\137\x73\x6f\x61\154\54\40\152\145\156\151\x73\x2c\x20\x62\x61\x6e\153\x5f\151\144"); goto lI0Da; lI0Da: $this->db->where("\151\144\x5f\163\x6f\141\x6c", $id_soal); goto jlT39; jlT39: return $this->db->get("\x63\142\x74\x5f\163\x6f\141\154")->row(); goto IwxlI; IwxlI: } public function getFileSoalById($id_soal) { goto P9i0e; oMIyl: $this->db->where("\151\x64\x5f\x73\157\141\x6c", $id_soal); goto hje4a; hje4a: return $this->db->get("\143\x62\164\x5f\x73\157\141\x6c")->row(); goto ZgTTh; P9i0e: $this->db->select("\x66\x69\x6c\145"); goto oMIyl; ZgTTh: } public function getSoalByBank($id_bank) { goto pP2Yj; uqv3E: $ret = []; goto kAnDd; f9pFd: return $ret; goto ozOTf; cDiLp: $this->db->order_by("\x6a\145\156\x69\x73"); goto w8PGd; uFlZp: $this->db->where("\142\x61\x6e\x6b\137\x69\x64", $id_bank); goto cDiLp; clBsh: $result = $this->db->get()->result(); goto uqv3E; kAnDd: foreach ($result as $row) { $ret[$row->jenis][$row->nomor_soal] = $row; vf4Jv: } goto e3f6y; e3f6y: aTGpp: goto f9pFd; pP2Yj: $this->db->select("\151\x64\x5f\163\x6f\141\154\54\x20\142\141\x6e\153\137\151\144\x2c\x20\x6d\141\160\145\154\x5f\151\144\54\x20\x6a\x65\156\x69\163\x2c\x20\x6e\x6f\x6d\157\162\137\163\x6f\x61\x6c\54\40\163\157\141\x6c\x2c\x20\157\x70\163\x69\137\141\x2c\40\x6f\160\x73\151\x5f\x62\x2c\40\157\x70\x73\151\x5f\x63\54\40\157\160\x73\x69\137\144\x2c\40\x6f\x70\x73\151\137\x65\x2c\x20\152\x61\167\141\x62\141\x6e"); goto M34M9; M34M9: $this->db->from("\x63\x62\x74\x5f\163\157\141\x6c"); goto uFlZp; w8PGd: $this->db->order_by("\156\157\x6d\x6f\162\137\x73\x6f\x61\154"); goto clBsh; ozOTf: } public function getAllSoalByBank($id_bank, $jenis = null) { goto uM2O3; tfoAi: $this->db->where("\152\145\x6e\x69\163", $jenis); goto pp2kQ; pp2kQ: WOtuh: goto CUm4r; CUm4r: return $this->db->get("\x63\142\164\137\x73\x6f\x61\154")->result(); goto Q0mHt; RgqzK: $this->db->where("\142\x61\156\x6b\x5f\151\x64", $id_bank); goto BK_yw; BK_yw: if (!($jenis != null)) { goto WOtuh; } goto tfoAi; uM2O3: $this->db->select("\151\x64\x5f\163\x6f\x61\x6c\54\40\142\x61\156\153\137\x69\x64\x2c\40\155\x61\160\145\x6c\137\151\x64\54\40\x6a\x65\x6e\151\x73\54\x20\x6e\x6f\155\157\x72\x5f\163\x6f\x61\x6c\54\x20\x73\157\x61\154\54\x20\157\160\163\x69\x5f\x61\x2c\x20\157\x70\x73\151\x5f\x62\x2c\x20\x6f\x70\163\151\137\x63\54\40\x6f\x70\x73\x69\x5f\144\x2c\x20\x6f\x70\x73\x69\x5f\145\54\40\x6a\141\167\x61\142\141\156\x2c\x20\164\141\155\x70\x69\154\153\141\156"); goto RgqzK; Q0mHt: } public function getSoalByNomor($id_bank, $nomor, $jenis) { goto JQ7X5; DFGB0: $this->db->where("\x6e\157\x6d\x6f\x72\x5f\x73\157\141\x6c", $nomor); goto bKBzF; bKBzF: $this->db->where("\152\145\x6e\151\x73", $jenis); goto REt7r; JQ7X5: $this->db->select("\x2a"); goto ccNpy; REt7r: return $this->db->get("\x63\x62\164\137\x73\x6f\x61\x6c")->row(); goto LYeWS; ccNpy: $this->db->where("\142\x61\x6e\153\x5f\151\144", $id_bank); goto DFGB0; LYeWS: } public function getNomorSoalByBankJenis($id_bank, $jenis) { goto klp17; fi6JB: return $ret; goto hsKwG; TdlP2: foreach ($result as $key => $row) { $ret[$row->nomor_soal] = $row; rxqnG: } goto lNkT_; klp17: $this->db->select("\x69\x64\137\x73\157\x61\154\x2c\x20\152\145\156\151\163\x2c\x20\x6e\157\x6d\x6f\x72\x5f\x73\157\141\154"); goto D2Q09; xBLIh: $ret = []; goto TdlP2; lNkT_: HdkDJ: goto fi6JB; D2Q09: $this->db->where("\142\141\156\x6b\x5f\151\144", $id_bank); goto xHtWf; xHtWf: $this->db->where("\152\x65\156\x69\163", $jenis); goto ddFD4; ddFD4: $result = $this->db->get("\x63\x62\x74\137\x73\x6f\141\x6c")->result(); goto xBLIh; hsKwG: } public function getNomorSoalByBank($id_bank, $jenis = null) { goto V0p4Y; ssQ1Y: PpIBD: goto amn63; V0p4Y: $this->db->select("\151\x64\137\x73\157\x61\x6c\x2c\40\x6a\x65\x6e\x69\163\x2c\40\156\157\155\157\x72\x5f\163\157\141\x6c\x2c\x20\152\141\x77\x61\x62\x61\x6e"); goto b8hM2; kmxfl: if (!($jenis != null)) { goto PpIBD; } goto hrEab; amn63: $result = $this->db->get("\143\x62\x74\x5f\163\x6f\141\x6c")->result(); goto MRPY2; Oi3xU: y7hgh: goto gt1vm; b8hM2: $this->db->where("\x62\141\156\x6b\x5f\x69\x64", $id_bank); goto eU9pF; MRPY2: $ret = []; goto zXofq; hrEab: $this->db->where("\152\x65\x6e\151\163", $jenis); goto ssQ1Y; eU9pF: $this->db->where("\x74\x61\155\x70\151\154\x6b\x61\156", "\61"); goto kmxfl; zXofq: foreach ($result as $key => $row) { $ret[$row->id_soal] = $row; RKx2a: } goto Oi3xU; gt1vm: return $ret; goto h9Y6a; h9Y6a: } public function getNomorSoalByArrIdBank($arr_id_bank, $jenis = null) { goto OozY6; s3OSE: $this->db->where_in("\142\x61\x6e\153\137\x69\144", $arr_id_bank); goto Cysdq; Cysdq: if (!($jenis != null)) { goto eQg3Q; } goto LJaJT; mQ2zb: eQg3Q: goto q0ENG; q0ENG: return $this->db->get("\143\142\164\x5f\x73\157\x61\x6c")->result(); goto a6Hv_; OozY6: $this->db->select("\x69\144\137\x73\x6f\141\x6c\x2c\x20\x6a\145\x6e\x69\x73\x2c\x20\156\x6f\x6d\x6f\x72\x5f\163\x6f\x61\154\54\x20\152\x61\167\141\142\141\x6e"); goto s3OSE; LJaJT: $this->db->where("\x6a\x65\x6e\151\x73", $jenis); goto mQ2zb; a6Hv_: } public function cekSoalAda($id_bank, $jenis) { goto w6P6l; H2kAP: $this->db->where("\142\141\x6e\x6b\x5f\x69\144", $id_bank); goto lE8iC; l9EHg: return $this->db->get("\143\142\164\x5f\x73\x6f\x61\154")->result(); goto O5MIE; lE8iC: $this->db->where("\152\x65\x6e\x69\163", $jenis); goto l9EHg; w6P6l: $this->db->select("\x69\x64\137\x73\x6f\141\154\54\x20\x62\141\156\x6b\137\151\144\x2c\x20\x6a\145\x6e\151\163\54\x20\x6e\157\155\157\162\x5f\x73\x6f\x61\x6c"); goto H2kAP; O5MIE: } public function cekSoalKomplit($id_bank, $jenjang) { goto U28xD; Q02uN: return $this->db->get("\143\142\164\x5f\x73\157\141\x6c")->result(); goto XlrI0; iqzqQ: $this->db->or_where("\157\x70\x73\x69\x5f\145\x20\x4e\117\x54\x20\x4e\x55\114\x4c"); goto QnY7N; U28xD: $this->db->select("\151\144\x5f\163\157\x61\154\54\40\142\x61\156\x6b\137\x69\144\x2c\40\152\x65\156\151\163\x2c\40\156\x6f\x6d\x6f\x72\x5f\x73\157\141\154"); goto qzAFU; uEHOn: if (!($jenjang == "\x33")) { goto prgUi; } goto iqzqQ; qzAFU: $this->db->where("\142\141\x6e\153\x5f\151\144", $id_bank)->where("\x73\157\141\x6c\40\116\x4f\124\x20\116\125\x4c\114")->or_where("\x6f\160\x73\x69\137\x61\x20\x4e\x4f\x54\40\116\x55\114\114")->or_where("\x6f\160\x73\151\137\x62\x20\x4e\x4f\x54\40\116\x55\x4c\114")->or_where("\157\160\x73\x69\x5f\x63\x20\116\x4f\124\40\116\125\x4c\114")->or_where("\x6f\160\163\151\x5f\x64\x20\x4e\117\x54\x20\x4e\x55\114\114")->or_where("\152\141\x77\x61\142\141\156\x20\116\x4f\x54\40\x4e\125\x4c\114"); goto uEHOn; QnY7N: prgUi: goto Q02uN; XlrI0: } public function cekSoalBelumKomplit($jenis, $opsi_ganda) { goto eOh83; KaVpu: $this->db->where("\x6f\x70\x73\151\137\x62\x20\111\x53\x20\x4e\125\114\114")->or_where("\157\x70\x73\x69\x5f\x62\40\x3d\x22\x22"); goto TpkOp; rHars: if (!($opsi_ganda == "\65")) { goto t_5Tg; } goto ZdRpB; PFxjr: $ret = []; goto HOUR7; thVKX: y4ZRY: goto rHars; UTrf0: B3Zwm: goto nWplN; anm7f: $this->db->where("\157\x70\163\151\137\x61\x20\x49\x53\x20\116\125\x4c\114")->or_where("\157\x70\x73\151\137\x61\40\75\x22\x22"); goto l9NsV; TIFmN: $this->db->where("\x6a\145\156\151\163", $jenis); goto XK5DB; HOUR7: $result = $this->db->get()->result(); goto RykRb; HFgzE: $this->db->where("\157\160\163\151\x5f\x65\40\x49\123\x20\x4e\125\114\x4c")->or_where("\157\160\x73\151\x5f\x65\40\x3d\x22\42"); goto Q_KT_; TpkOp: $this->db->where("\157\160\163\x69\x5f\143\40\111\123\40\x4e\x55\x4c\114")->or_where("\157\160\163\151\137\143\x20\x3d\x22\42"); goto k3m0r; Q_KT_: t_5Tg: goto UTrf0; xPfHx: $this->db->where("\x6a\141\x77\141\x62\x61\156\x20\x49\123\x20\x4e\x55\x4c\x4c")->or_where("\x6a\x61\x77\x61\142\x61\156\x20\x3d\x22\x22"); goto PFxjr; fzZm0: $this->db->where("\x6f\160\163\151\137\x61\x20\111\x53\40\116\x55\114\x4c")->or_where("\157\x70\163\x69\137\141\40\75\x22\x22"); goto KaVpu; TPiT1: $this->db->from("\143\142\x74\x5f\x73\157\x61\154"); goto TIFmN; MmO9O: return $ret; goto CkxwN; ZdRpB: $this->db->where("\x6f\x70\163\x69\137\x64\x20\x49\x53\x20\x4e\125\x4c\114")->or_where("\x6f\160\x73\x69\137\144\40\75\x22\x22"); goto HFgzE; nWplN: if (!($jenis == "\62")) { goto j8vcU; } goto anm7f; l9NsV: j8vcU: goto xPfHx; eOh83: $this->db->select("\x69\x64\x5f\x73\157\x61\154\54\40\x62\141\x6e\x6b\137\x69\x64\x2c\40\152\145\156\x69\x73\54\40\156\157\x6d\157\162\137\163\x6f\x61\154\x2c\x20\x6d\141\160\x65\154\x5f\x69\144"); goto TPiT1; XK5DB: $this->db->where("\163\x6f\x61\154\40\x49\x53\40\116\125\x4c\114")->or_where("\163\157\141\x6c\x20\75\42\42"); goto MhX4G; k3m0r: if (!($opsi_ganda == "\x34")) { goto y4ZRY; } goto p39t3; RykRb: foreach ($result as $key => $row) { $ret[$row->bank_id][] = $row; Ujyt1: } goto fUFwa; fUFwa: cAojH: goto MmO9O; p39t3: $this->db->where("\157\x70\163\151\x5f\x64\40\111\123\40\116\x55\114\114")->or_where("\157\160\163\151\137\144\x20\x3d\x22\42"); goto thVKX; MhX4G: if (!($jenis == "\x31")) { goto B3Zwm; } goto fzZm0; CkxwN: } public function getNomorSoalTerbesar($id_bank, $jenis) { goto FvT_l; D47yk: return $this->db->get("\x63\x62\164\137\x73\x6f\141\154")->row(); goto jr8R0; pFsfE: $this->db->where("\142\141\156\x6b\x5f\x69\144", $id_bank)->where("\152\x65\156\151\x73", $jenis); goto VsSqw; FvT_l: $this->db->select("\156\157\x6d\x6f\162\x5f\163\157\141\x6c"); goto pFsfE; VsSqw: $this->db->order_by("\x6e\157\x6d\x6f\162\x5f\x73\x6f\x61\154", "\104\105\123\103"); goto D47yk; jr8R0: } public function dummy($jenjang) { $data = array("\x69\144\x5f\x62\141\x6e\x6b" => '', "\142\141\x6e\153\137\x6a\x65\156\151\163\137\x69\x64" => '', "\x62\x61\156\x6b\x5f\153\157\x64\x65" => '', "\142\141\x6e\x6b\137\155\x61\x70\x65\x6c\137\x69\x64" => '', "\x62\x61\x6e\x6b\137\154\x65\x76\x65\x6c" => '', "\x62\x61\x6e\x6b\137\153\x65\x6c\x61\x73" => serialize([]), "\142\141\x6e\153\x5f\x67\x75\162\165\137\151\144" => '', "\152\x6d\154\137\163\x6f\141\x6c" => "\x30", "\x62\x6f\142\x6f\x74\137\160\x67" => "\60", "\164\141\x6d\160\151\154\137\x70\x67" => "\x30", "\x6f\x70\163\x69" => $jenjang == "\61" ? "\x33" : ($jenjang == "\x32" ? "\x34" : ($jenjang == "\x33" ? "\x35" : '')), "\x6a\x6d\x6c\x5f\x6b\157\x6d\160\154\x65\153\x73" => "\60", "\x74\x61\155\x70\x69\x6c\x5f\x6b\157\x6d\x70\154\x65\153\x73" => "\x30", "\142\157\x62\x6f\164\137\153\157\x6d\160\x6c\145\x6b\163" => "\x30", "\152\x6d\x6c\x5f\152\157\144\x6f\x68\153\141\x6e" => "\x30", "\x74\141\155\160\151\x6c\x5f\x6a\x6f\144\157\150\153\x61\156" => "\60", "\x62\x6f\x62\157\164\137\x6a\157\x64\x6f\150\153\141\x6e" => "\x30", "\x6a\x6d\154\137\151\x73\151\141\156" => "\60", "\164\x61\155\160\x69\154\x5f\x69\x73\151\141\x6e" => "\60", "\142\x6f\x62\x6f\164\x5f\151\x73\x69\x61\156" => "\60", "\x6a\155\x6c\137\x65\163\x61\x69" => "\60", "\x62\157\142\x6f\x74\137\x65\163\141\151" => "\x30", "\x74\141\x6d\160\151\154\137\145\x73\141\x69" => "\x30", "\153\153\x6d" => '', "\163\157\141\154\137\x61\x67\141\155\x61" => "\x2d", "\163\164\141\164\x75\163" => "\x31"); return $data; } public function saveBankSoal($tp, $smt) { goto oSDEm; DgB0O: $data = array("\151\144\x5f\x74\160" => $tp, "\x69\144\137\x73\x6d\x74" => $smt, "\142\x61\x6e\x6b\x5f\153\157\x64\145" => strip_tags($this->input->post("\153\157\144\x65", TRUE)), "\x62\x61\x6e\x6b\137\x6a\145\x6e\x69\163\x5f\151\x64" => strip_tags($this->input->post("\x6a\x65\156\x69\x73", TRUE)), "\x62\x61\x6e\x6b\x5f\155\141\x70\145\154\137\151\144" => strip_tags($this->input->post("\x6d\141\x70\145\x6c", TRUE)), "\x62\141\x6e\x6b\x5f\x6b\x65\154\x61\x73" => $jumlah, "\x62\x61\x6e\x6b\x5f\x6c\145\x76\145\154" => $this->input->post("\154\145\166\x65\154", TRUE), "\x62\x61\156\x6b\137\147\x75\162\x75\137\x69\x64" => strip_tags($this->input->post("\x67\165\162\165", TRUE)), "\152\155\154\x5f\163\157\141\154" => strip_tags($this->input->post("\164\141\155\x70\151\x6c\x5f\160\147", TRUE)), "\x74\x61\x6d\160\151\x6c\137\160\x67" => strip_tags($this->input->post("\164\x61\x6d\x70\x69\x6c\x5f\x70\x67", TRUE)), "\142\157\x62\157\164\x5f\160\147" => strip_tags($this->input->post("\142\x6f\x62\157\x74\x5f\x70\147", TRUE)), "\x6f\x70\x73\x69" => strip_tags($this->input->post("\x6f\160\x73\151", TRUE)), "\x6a\155\x6c\137\x6b\157\x6d\x70\154\x65\x6b\163" => strip_tags($this->input->post("\x74\141\155\x70\x69\154\137\153\157\x6d\160\154\145\153\x73", TRUE)), "\164\x61\x6d\160\151\154\137\x6b\157\155\x70\x6c\145\153\x73" => strip_tags($this->input->post("\164\141\x6d\160\x69\x6c\x5f\x6b\x6f\155\x70\x6c\x65\x6b\x73", TRUE)), "\142\x6f\142\x6f\x74\137\153\157\155\x70\x6c\145\x6b\163" => strip_tags($this->input->post("\142\x6f\x62\157\x74\137\153\157\x6d\x70\154\145\153\163", TRUE)), "\152\x6d\x6c\137\152\157\144\x6f\150\153\x61\156" => strip_tags($this->input->post("\164\141\155\160\151\154\x5f\x6a\157\144\157\x68\153\x61\x6e", TRUE)), "\164\x61\x6d\x70\x69\154\x5f\x6a\x6f\x64\x6f\150\153\x61\x6e" => strip_tags($this->input->post("\164\141\155\160\x69\154\137\152\x6f\x64\157\x68\x6b\x61\156", TRUE)), "\142\x6f\142\x6f\x74\x5f\x6a\x6f\144\157\x68\x6b\141\156" => strip_tags($this->input->post("\x62\x6f\x62\x6f\x74\137\x6a\157\144\157\x68\153\141\156", TRUE)), "\152\x6d\x6c\x5f\151\x73\151\x61\156" => strip_tags($this->input->post("\164\141\155\x70\151\154\x5f\151\x73\x69\141\x6e", TRUE)), "\x74\x61\155\160\151\154\x5f\151\163\151\141\156" => strip_tags($this->input->post("\164\x61\155\x70\x69\x6c\137\x69\x73\151\x61\156", TRUE)), "\x62\x6f\x62\157\x74\137\x69\x73\151\141\x6e" => strip_tags($this->input->post("\x62\x6f\142\x6f\164\x5f\x69\163\151\141\156", TRUE)), "\x6a\x6d\x6c\137\x65\163\141\151" => strip_tags($this->input->post("\x62\x6f\142\x6f\164\137\x65\x73\141\x69", TRUE)), "\142\x6f\x62\x6f\x74\137\x65\163\141\x69" => strip_tags($this->input->post("\x62\x6f\x62\157\164\x5f\x65\163\141\x69", TRUE)), "\164\141\x6d\x70\x69\x6c\137\x65\x73\141\x69" => strip_tags($this->input->post("\x74\141\x6d\160\151\x6c\x5f\145\x73\x61\151", TRUE)), "\163\164\x61\x74\x75\163" => strip_tags($this->input->post("\163\164\141\164\165\x73", TRUE)), "\163\x6f\x61\x6c\x5f\x61\x67\x61\x6d\x61" => strip_tags($this->input->post("\163\157\141\154\x5f\141\147\x61\x6d\x61", TRUE))); goto glDSb; Ff52o: $kelas = []; goto U1pud; zTecW: return $this->db->update("\x63\x62\x74\137\142\141\x6e\153\137\x73\x6f\x61\154", $data); goto c8jYN; f45vW: $rows = count($this->input->post("\x6b\145\154\x61\x73", true)); goto Ff52o; YEGPy: $jumlah = serialize($kelas); goto DgB0O; o85KW: duyvB: goto Zzn3e; glDSb: if (!$id) { goto lGHf1; } goto VkJtm; U1pud: $i = 0; goto o85KW; YsDdh: JXW3F: goto G6pLA; zhqJz: $insert_id = $this->db->insert_id(); goto bXTue; kRRq8: goto duyvB; goto vvVIv; EM_BQ: $kelas[] = ["\153\145\154\x61\x73\x5f\151\144" => $this->input->post("\x6b\x65\154\x61\x73\133" . $i . "\135", true)]; goto oYmsx; VkJtm: $this->db->where("\x69\144\x5f\x62\141\156\x6b", $id); goto zTecW; V1V0J: lGHf1: goto Gheyj; NInwe: $i++; goto kRRq8; Zzn3e: if (!($i <= $rows)) { goto ToKTo; } goto EM_BQ; bXTue: return $insert_id; goto YsDdh; Gheyj: $this->db->insert("\x63\142\x74\137\142\141\156\153\x5f\163\x6f\141\154", $data); goto zhqJz; c8jYN: goto JXW3F; goto V1V0J; oSDEm: $id = $this->input->post("\151\144\x5f\142\141\156\153", true); goto f45vW; oYmsx: f2Eb5: goto NInwe; vvVIv: ToKTo: goto YEGPy; G6pLA: } public function dummyJadwal() { $data = array("\x69\x64\137\x62\x61\156\x6b" => '', "\x69\144\x5f\152\x61\x64\167\x61\154" => '', "\x69\144\x5f\x6a\145\x6e\x69\x73" => '', "\x74\x67\154\x5f\155\x75\x6c\x61\151" => '', "\164\x67\x6c\x5f\x73\x65\154\x65\163\x61\151" => '', "\x64\x75\x72\x61\163\151\x5f\165\152\151\141\x6e" => '', "\x62\x61\156\x6b\137\x6b\x65\x6c\141\163" => serialize([]), "\141\x63\141\x6b\137\163\x6f\141\x6c" => '', "\x61\x63\141\x6b\137\157\160\163\151" => '', "\150\141\163\151\154\137\x74\x61\x6d\160\151\x6c" => '', "\164\x6f\153\145\156" => '', "\163\164\141\x74\165\163" => '', "\x75\x6c\x61\156\x67" => '', "\x6a\x61\x72\x61\x6b" => '', "\162\145\163\145\x74\x5f\x6c\157\x67\x69\x6e" => ''); return $data; } public function getDistinctJenisJadwal($tp, $smt) { goto VMvj2; Zm83o: $result = $this->db->get()->result(); goto XZdLk; XZdLk: return $result; goto u1IVp; PPYbE: $this->db->where("\x69\144\x5f\x73\155\164", $smt); goto Zm83o; VMvj2: $this->db->select("\x69\144\137\152\145\156\151\x73"); goto t0zyb; udO6z: $this->db->where("\x69\144\137\x74\160", $tp); goto PPYbE; t0zyb: $this->db->distinct(); goto Wm8dm; Wm8dm: $this->db->from("\143\142\x74\137\x6a\x61\144\167\141\154"); goto udO6z; u1IVp: } public function getDataJadwal($tp, $smt, $guru = null, $rekap = null) { goto Wo8IY; jBc1_: if (!($guru !== null)) { goto Z3vG0; } goto rDnsv; rDnsv: $this->db->where("\x62\x2e\142\x61\156\x6b\x5f\147\165\x72\165\137\151\144", $guru); goto xJMoK; oDScO: $this->db->join("\x63\x62\x74\137\142\141\x6e\153\x5f\x73\x6f\141\x6c\40\x62", "\142\56\151\x64\x5f\x62\141\x6e\x6b\x3d\x61\56\151\x64\137\142\x61\x6e\153", "\154\x65\x66\164"); goto aYgJl; ctouS: gi8gD: goto q5WFA; q5WFA: $this->db->order_by("\x61\56\164\x67\154\x5f\x6d\165\154\x61\151", "\x44\x45\123\103"); goto DA6Q2; YhFn9: if (!($rekap !== null)) { goto gi8gD; } goto gUJJk; a8jXM: $query = $this->db->get()->result(); goto uvZ1v; aYgJl: $this->db->join("\143\142\164\x5f\x6a\x65\x6e\151\163\x20\x63", "\143\56\151\144\137\152\x65\x6e\151\163\x3d\141\56\151\x64\137\152\145\x6e\x69\163", "\154\x65\x66\164"); goto SlZ0J; DA6Q2: $this->db->order_by("\142\56\x62\x61\x6e\153\137\x6c\145\166\x65\154", "\x41\x53\x43"); goto a8jXM; xJMoK: Z3vG0: goto YhFn9; SlZ0J: $this->db->join("\x6d\141\x73\x74\145\162\x5f\155\x61\160\x65\x6c\x20\144", "\144\x2e\x69\144\137\155\141\160\145\x6c\x3d\x62\56\142\141\156\153\x5f\x6d\x61\x70\x65\154\x5f\151\144", "\x6c\145\x66\164"); goto lh93F; DoWxx: $this->db->join("\x6c\145\166\x65\154\x5f\x6b\145\x6c\x61\163\x20\x67", "\x62\56\x62\x61\156\x6b\x5f\154\x65\x76\145\154\x3d\147\x2e\x69\x64\137\154\x65\166\145\x6c"); goto jBc1_; gUJJk: $this->db->where("\141\56\162\145\153\x61\160", $rekap); goto ctouS; d2opR: $this->db->join("\155\x61\x73\164\x65\x72\x5f\x73\x6d\x74\40\146", "\141\x2e\x69\x64\x5f\163\x6d\x74\75\x66\x2e\x69\x64\x5f\x73\155\164"); goto DoWxx; lh93F: $this->db->join("\155\141\x73\164\145\162\x5f\164\160\40\145", "\141\x2e\151\x64\x5f\x74\160\x3d\x65\x2e\151\144\137\164\x70"); goto d2opR; Wo8IY: $this->db->select("\141\56\x69\144\x5f\x6a\x61\x64\x77\141\x6c\54\x20\141\56\x69\x64\x5f\x74\160\54\x20\x61\56\151\144\137\x73\155\x74\x2c\x20\141\56\x69\x64\x5f\142\141\x6e\153\x2c\40\x61\x2e\x69\144\137\x6a\145\x6e\151\163\x2c\40\x61\56\164\x67\x6c\137\155\x75\154\x61\151\x2c" . "\40\x61\56\x74\x67\154\137\x73\145\x6c\145\163\141\151\54\40\x61\56\163\x74\x61\x74\x75\163\54\40\x61\x2e\x75\x6c\x61\156\x67\x2c\40\x61\56\x72\145\x73\x65\164\137\x6c\157\x67\151\x6e\x2c\x20\x61\56\x72\145\153\x61\160\x2c\40\x61\x2e\x6a\x61\x6d\x5f\153\145\x2c" . "\40\145\56\x69\144\x5f\164\160\x2c\40\145\56\164\141\x68\x75\x6e\54\x20\146\x2e\151\144\137\163\155\164\x2c\x20\146\x2e\156\x61\155\141\x5f\163\155\164\x2c\x20\x67\x2e\154\145\x76\145\x6c\x2c\40\x62\x2e\142\141\156\153\137\153\157\x64\145\54\40\x62\56\142\x61\156\x6b\137\x6c\x65\x76\145\154\54\40\142\56\142\141\x6e\153\137\153\145\154\x61\x73\54" . "\x20\143\56\153\157\x64\x65\137\x6a\x65\x6e\151\x73\54\40\144\56\x6b\x6f\144\145\x2c\x20\x64\56\x6e\x61\155\x61\137\155\x61\x70\x65\x6c\54" . "\40\x62\56\x74\x61\155\x70\151\154\137\160\147\54\x20\x62\56\164\x61\x6d\x70\x69\154\x5f\153\157\x6d\160\154\x65\153\163\54\x20\x62\56\164\x61\155\x70\151\154\x5f\152\x6f\144\157\x68\x6b\x61\x6e\x2c\40\142\56\164\141\x6d\x70\151\x6c\137\x69\163\x69\141\x6e\x2c\40\x62\56\x74\141\155\x70\x69\x6c\137\145\x73\x61\x69\54\40\x62\x2e\142\141\x6e\x6b\137\x67\x75\x72\165\137\151\144\x2c" . "\40\50\x53\x45\x4c\x45\x43\124\40\103\x4f\125\x4e\124\50\151\x64\x5f\163\157\x61\154\51\40\x46\122\x4f\x4d\x20\x63\x62\164\x5f\x73\157\141\x6c\40\127\x48\105\x52\105\40\143\x62\164\137\x73\x6f\141\154\x2e\142\141\x6e\x6b\137\151\144\40\x3d\x20\141\x2e\151\144\137\142\141\156\153\x29\40\x41\123\x20\164\x6f\x74\141\154\137\163\x6f\141\154"); goto MQSMw; MQSMw: $this->db->from("\x63\x62\x74\x5f\x6a\141\144\167\141\x6c\40\141"); goto oDScO; uvZ1v: return $query; goto kbQ3k; kbQ3k: } public function getAllDataJadwal($guru = null, $mapel = null, $level = null) { goto qjrIQ; qVwe5: $ret = []; goto eKjO2; KwBFT: $this->db->order_by("\141\56\x69\144\137\x74\x70", "\104\x45\123\103"); goto lCRxy; uCTsj: return $ret; goto Fd9K8; mlTew: $this->db->join("\143\x62\x74\137\x62\x61\x6e\153\137\x73\x6f\x61\x6c\x20\142", "\x62\56\x69\144\x5f\x62\141\x6e\153\75\x61\56\x69\x64\x5f\142\141\x6e\x6b"); goto CTngZ; LqWCL: $this->db->join("\155\141\163\x74\x65\162\137\155\x61\160\x65\x6c\x20\x64", "\x64\x2e\151\144\x5f\x6d\141\x70\145\x6c\x3d\142\56\142\x61\156\x6b\x5f\155\141\160\145\154\x5f\151\x64", "\x6c\x65\x66\x74"); goto skMR7; qjrIQ: $this->db->select("\x61\56\x69\144\137\x6a\x61\144\x77\x61\x6c\54\40\141\56\164\147\x6c\137\x6d\x75\x6c\x61\151\54\40\141\x2e\x74\147\x6c\x5f\x73\145\154\x65\163\x61\x69\54\x20\x61\x2e\163\164\141\x74\165\x73\54\x20\x61\56\x64\x75\x72\141\x73\151\137\x75\152\151\x61\156\54\x20\141\x2e\x61\x63\141\153\137\x73\x6f\x61\x6c\x2c" . "\40\141\x2e\141\x63\141\153\137\157\x70\163\x69\x2c\40\141\x2e\151\144\x5f\142\141\x6e\x6b\x2c\40\141\56\x69\144\137\152\x65\156\151\x73\x2c\40\141\56\x68\141\163\151\x6c\x5f\164\141\155\x70\151\x6c\54\x20\x61\x2e\x73\164\x61\x74\x75\163\x2c\x20\141\x2e\x75\x6c\141\156\147\x2c\40\141\x2e\162\145\163\145\164\x5f\x6c\x6f\147\151\x6e\54\x20\x61\x2e\x72\145\153\141\x70\54" . "\40\x61\x2e\x6a\141\x6d\137\153\x65\x2c\40\141\56\x74\157\153\x65\156\54\x20\145\56\x74\141\x68\165\156\x2c\x20\x66\56\156\x61\x6d\x61\137\163\x6d\x74\54\x20\x67\56\x6c\145\x76\x65\x6c\54\40\142\56\x62\x61\156\x6b\x5f\x6b\x6f\x64\145\x2c\40\142\x2e\142\x61\x6e\x6b\137\154\145\166\x65\x6c\54\x20\x62\x2e\x62\141\156\153\137\153\145\x6c\141\x73\54\x20\143\x2e\153\x6f\144\x65\x5f\x6a\x65\156\151\x73\54\40\x64\56\x6b\x6f\x64\145\x2c\x20\144\56\156\141\x6d\141\137\x6d\141\x70\145\154\x2c" . "\x20\142\x2e\x74\x61\155\160\151\154\x5f\x70\x67\54\40\142\56\x74\141\155\x70\151\x6c\137\153\x6f\155\160\154\145\153\x73\x2c\x20\142\56\x74\x61\155\x70\x69\154\137\152\x6f\144\x6f\x68\153\141\x6e\54\x20\142\56\x74\141\155\x70\x69\154\137\151\x73\x69\x61\x6e\x2c\x20\142\56\x74\141\x6d\x70\x69\154\x5f\145\x73\141\x69\x2c\x20\142\56\142\x61\x6e\153\137\147\165\162\165\x5f\x69\144\54" . "\x20\x28\x53\105\x4c\105\x43\124\40\103\x4f\x55\116\124\50\151\x64\137\163\x6f\x61\154\x29\40\106\x52\x4f\x4d\x20\x63\x62\164\x5f\163\157\x61\154\40\127\110\105\122\x45\x20\143\142\164\137\x73\x6f\141\x6c\56\x62\x61\x6e\x6b\137\151\144\40\x3d\x20\x61\x2e\x69\144\x5f\x62\141\x6e\x6b\51\x20\101\x53\x20\164\157\x74\x61\154\x5f\x73\157\x61\154"); goto zvZaP; f_GL4: $this->db->where("\142\56\142\x61\x6e\x6b\137\x6c\x65\166\x65\x6c", $level); goto L5SG0; yVYtK: BSlR7: goto sJyAh; lCRxy: $this->db->order_by("\x61\x2e\151\144\137\163\x6d\x74", "\x44\105\123\x43"); goto A2tG9; skMR7: $this->db->join("\155\141\x73\x74\x65\162\137\164\160\x20\145", "\141\x2e\151\x64\x5f\x74\160\x3d\x65\56\151\x64\137\164\x70"); goto DXvU1; L5SG0: PBf4I: goto FL8DJ; KNHN6: $this->db->where("\142\56\x62\x61\156\153\137\155\141\x70\x65\154\x5f\x69\x64", $mapel); goto yVYtK; zvZaP: $this->db->from("\143\142\x74\137\x6a\x61\144\167\x61\154\40\141"); goto mlTew; eKjO2: foreach ($query as $key => $row) { $ret["\74\x62\76" . $row->kode_jenis . "\74\x2f\x62\76\40\40" . $row->tahun . "\40\x73\x6d\164\x20" . $row->nama_smt][$row->level][] = $row; wTqkO: } goto g5Vy9; ljuzW: $this->db->where("\142\56\x62\141\156\x6b\x5f\147\x75\162\165\137\x69\x64", $guru); goto WiwKu; Qwapd: if (!($guru !== null)) { goto CARWI; } goto ljuzW; WiwKu: CARWI: goto M9chN; CTngZ: $this->db->join("\x63\142\164\x5f\152\x65\x6e\151\x73\x20\143", "\143\56\151\x64\137\152\145\156\x69\163\x3d\x61\x2e\151\144\x5f\152\145\156\x69\163", "\x6c\x65\x66\164"); goto LqWCL; xUY8F: $this->db->join("\154\x65\166\145\x6c\137\153\145\x6c\141\163\40\147", "\142\x2e\x62\x61\156\x6b\137\154\145\166\x65\x6c\75\x67\x2e\151\144\137\154\x65\x76\x65\154"); goto Qwapd; g5Vy9: A6NDU: goto uCTsj; DXvU1: $this->db->join("\155\141\163\x74\x65\x72\137\x73\155\164\x20\146", "\x61\56\151\x64\137\163\x6d\164\x3d\x66\56\x69\144\137\x73\155\x74"); goto xUY8F; FL8DJ: $this->db->order_by("\142\x2e\x62\x61\156\153\137\x6c\145\166\x65\154", "\x41\123\103"); goto KwBFT; M9chN: if (!($mapel !== null)) { goto BSlR7; } goto KNHN6; sJyAh: if (!($level !== null)) { goto PBf4I; } goto f_GL4; A2tG9: $query = $this->db->get()->result(); goto qVwe5; Fd9K8: } public function getJadwalTerpakai($id_jadwal = null) { goto qlrkf; JRIEj: if (!($id_jadwal != null)) { goto Gcueg; } goto HJgsv; MKQVM: $result = $this->db->get()->result(); goto waTiW; Tb3Gx: foreach ($result as $key => $row) { $ret[$row->id_jadwal][$row->id_siswa] = $row; nAyP4: } goto YlKpS; HJgsv: $this->db->where("\151\144\x5f\x6a\x61\x64\x77\141\x6c", $id_jadwal); goto WxkY0; YlKpS: w1L3F: goto Qbtxc; waTiW: $ret = []; goto Tb3Gx; qlrkf: $this->db->from("\x63\x62\x74\137\163\157\x61\154\137\163\x69\163\x77\141"); goto JRIEj; WxkY0: Gcueg: goto MKQVM; Qbtxc: return $ret; goto zgnt1; zgnt1: } public function getBankTerpakai($id_bank = null) { goto gxZpj; BB1hU: return $ret; goto mqMy9; Tqkhc: if (!($id_bank != null)) { goto nf8t0; } goto TtGvS; pUJuJ: $result = $this->db->get()->result(); goto PEkgV; TtGvS: $this->db->where("\x69\x64\137\142\141\x6e\153", $id_bank); goto Mb2VK; ql96E: foreach ($result as $key => $row) { $ret[$row->id_bank][$row->id_siswa] = $row; ej1TP: } goto JRvh5; JRvh5: l6Rlu: goto BB1hU; gxZpj: $this->db->from("\143\142\x74\x5f\x73\x6f\141\154\x5f\163\151\x73\x77\x61"); goto Tqkhc; Mb2VK: nf8t0: goto pUJuJ; PEkgV: $ret = []; goto ql96E; mqMy9: } public function getRekapByJadwalKelas($jadwal, $guru = null) { goto rqRTW; XvZIc: $this->db->where("\x69\x64\x5f\x6a\141\x64\x77\x61\x6c", $jadwal); goto nX265; xqw8M: FTv07: goto W0qwv; W0qwv: $result = $this->db->get()->row(); goto Fua6z; aDrR3: $this->db->where("\151\144\137\147\165\162\x75", $guru); goto xqw8M; rqRTW: $this->db->from("\143\142\164\x5f\x72\145\153\x61\x70"); goto XvZIc; Fua6z: return $result; goto o9qxQ; nX265: if (!($guru !== null)) { goto FTv07; } goto aDrR3; o9qxQ: } public function getRekapJadwal($guru = null) { goto g7huH; pekJL: m9xo2: goto LP1By; hibPw: $this->db->where("\151\x64\x5f\147\x75\x72\165", $guru); goto pekJL; wecPc: $this->db->from("\x63\142\x74\x5f\162\145\x6b\x61\160"); goto XAwth; g7huH: $this->db->select("\52"); goto wecPc; TPHw_: return $query->result(); goto lXAyd; XAwth: if (!($guru !== null)) { goto m9xo2; } goto hibPw; KUq5T: $query = $this->db->get(); goto TPHw_; LP1By: $this->db->order_by("\164\x67\x6c\x5f\x6d\x75\154\141\x69", "\x44\105\x53\x43"); goto KUq5T; lXAyd: } public function getAllRekapByJenis($tp, $smt, $jenis, $level, $mapel, $jadwal = null, $guru = null) { goto ZW45I; m8DsK: if (!($guru != null)) { goto i9aT6; } goto EAHYF; XrHiz: $this->db->where("\x6b\157\144\x65\137\x6a\145\156\x69\163", $jenis); goto gabQA; ADngJ: $result = $this->db->get()->result(); goto MFnNI; PfEj3: NUOsf: goto zDSwA; rOnbH: $this->db->where("\163\x6d\x74", $smt); goto XrHiz; gabQA: $this->db->where("\x62\141\x6e\x6b\x5f\x6c\145\166\x65\x6c", $level); goto NHkmK; WOiQ2: i9aT6: goto jUGN4; kjjqg: $this->db->where("\x69\x64\x5f\155\141\x70\x65\154", $mapel); goto PfEj3; ZW45I: $this->db->from("\143\142\x74\137\x72\145\x6b\141\160"); goto bTv6Y; bTv6Y: if (!($mapel != "\x30")) { goto NUOsf; } goto kjjqg; tOGEa: $this->db->where("\151\144\x5f\152\x61\144\167\x61\x6c", $jadwal); goto qYhnu; NHkmK: $this->db->order_by("\x69\144\x5f\155\141\x70\x65\154", "\101\123\103"); goto ADngJ; qYhnu: hHJJR: goto m8DsK; zDSwA: if (!($jadwal != null)) { goto hHJJR; } goto tOGEa; EAHYF: $this->db->where("\x69\x64\137\x67\165\162\x75", $guru); goto WOiQ2; jUGN4: $this->db->where("\164\x70", $tp); goto rOnbH; MFnNI: return $result; goto HirK0; HirK0: } public function getAllNilaiRekapByJenis($tp, $smt, $kode_jenis, $id_kelas, $id_mapel, $id_jadwal = null, $id_guru = null) { goto DZl8e; uIWqx: $this->db->join("\142\165\153\x75\137\151\x6e\144\x75\x6b\40\151", "\151\56\x69\144\137\163\x69\163\x77\141\x3d\x61\x2e\151\144\x5f\163\x69\163\x77\x61\x20\x41\116\x44\40\x3d\x69\56\x73\x74\141\x74\165\163\75\x31"); goto YTNnR; iCruf: zZK5o: goto ZhaMJ; ma330: $this->db->from("\143\x62\164\137\x72\x65\153\x61\160\x5f\x6e\151\154\x61\151\40\x61"); goto XwQlc; xXuno: $result = $this->db->get()->result(); goto glMD3; JeQxK: $this->db->where("\141\x2e\x69\144\x5f\153\145\154\141\x73", $id_kelas); goto e6X0K; lHeEQ: $this->db->where("\141\x2e\151\x64\x5f\152\x61\144\167\141\x6c", $id_jadwal); goto iCruf; YTNnR: if (!($id_mapel != "\x30")) { goto AsBNJ; } goto fIiVi; ZcTGD: $this->db->join("\155\141\x73\164\x65\x72\137\163\x69\x73\x77\x61\40\143", "\143\56\151\144\137\x73\x69\163\167\x61\x3d\x61\x2e\x69\144\137\x73\151\163\167\x61", "\154\145\146\x74"); goto uIWqx; TeIFj: AsBNJ: goto iIMZA; jO8c6: $this->db->where("\141\56\x69\144\137\147\x75\x72\x75", $id_guru); goto Oefnq; XwQlc: $this->db->join("\143\142\164\x5f\x6e\x6f\x6d\157\x72\x5f\x70\x65\163\145\x72\164\x61\40\x62", "\x62\56\151\x64\137\x73\151\163\x77\141\x3d\x61\56\151\144\137\x73\151\x73\167\141\40\x41\x4e\x44\x20\x62\56\151\x64\137\164\160\x3d\141\56\x69\144\137\164\x70", "\x6c\145\x66\x74"); goto ZcTGD; ZhaMJ: if (!($id_guru != null)) { goto vi_uh; } goto jO8c6; q8nru: $this->db->order_by("\x63\x2e\x6e\141\155\x61", "\101\x53\103"); goto xXuno; DZl8e: $this->db->select("\x61\x2e\x2a\54\40\142\x2e\x6e\157\x6d\x6f\162\x5f\160\145\163\x65\162\164\x61\54\x20\x63\56\156\x61\x6d\141"); goto ma330; Oefnq: vi_uh: goto JeQxK; glMD3: return $result; goto baCkO; X52qF: $this->db->where("\x61\56\x6b\157\x64\x65\137\x6a\x65\x6e\x69\x73", $kode_jenis); goto q8nru; e6X0K: $this->db->where("\x61\56\x74\x70", $tp); goto efjMQ; efjMQ: $this->db->where("\x61\x2e\x73\155\x74", $smt); goto X52qF; iIMZA: if (!($id_jadwal != null)) { goto zZK5o; } goto lHeEQ; fIiVi: $this->db->where("\141\x2e\x69\x64\137\x6d\141\160\145\154", $id_mapel); goto TeIFj; baCkO: } public function getAllRekap($guru = null) { goto t1WXE; Mx3H9: $this->db->from("\143\x62\164\137\162\x65\153\141\x70"); goto qFu20; Fc8_f: Whdwc: goto nLylv; dIuIa: $ret = []; goto j5Dsx; sEf1u: nrJjj: goto E0nQ5; j5Dsx: foreach ($result as $key => $row) { $ret[$row->id_jadwal] = $row; XyuxW: } goto sEf1u; nLylv: $result = $this->db->get()->result(); goto dIuIa; PHUpK: $this->db->where("\x69\144\137\x67\x75\162\x75", $guru); goto Fc8_f; qFu20: if (!($guru != null)) { goto Whdwc; } goto PHUpK; t1WXE: $this->db->select("\x69\144\137\162\145\x6b\x61\x70\x2c\x20\x69\144\137\164\160\54\x20\x74\x70\54\40\151\144\x5f\163\155\x74\54\x20\x73\x6d\164\54\40\x69\144\137\152\141\x64\167\x61\x6c\54\x20\151\x64\137\x6a\145\x6e\x69\163\x2c\40\153\157\x64\145\x5f\x6a\x65\x6e\151\163\54\x20\x69\144\x5f\142\141\156\153\54\40\142\x61\x6e\x6b\137\153\145\154\141\163\x2c\40\156\141\155\x61\x5f\153\145\x6c\x61\163\x2c\x20\x62\x61\x6e\x6b\x5f\x6b\x6f\144\x65\x2c\40\x62\141\x6e\x6b\x5f\154\145\166\x65\154\x2c\40\x69\144\137\155\x61\x70\145\154\54\x20\156\141\155\141\137\155\x61\160\x65\x6c\x2c\40\153\x6f\x64\x65\x2c\x20\164\147\x6c\137\155\x75\x6c\x61\151\54\40\164\147\154\137\x73\x65\x6c\145\163\141\x69\54\40\151\x64\137\147\x75\162\165\x2c\40\156\x61\155\141\137\x67\x75\x72\165"); goto Mx3H9; E0nQ5: return $ret; goto tAsWj; tAsWj: } public function getJadwalById($id_jadwal, $sesi = null) { goto InpsU; InpsU: $this->db->select("\141\56\x2a\x2c\40\x62\x2e\157\160\163\151\x2c\40\142\56\142\x61\x6e\x6b\137\153\157\144\145\x2c\x20\x62\56\142\x61\156\x6b\137\x6c\145\x76\x65\154\54\x20\x62\x2e\142\x61\x6e\153\x5f\x6b\x65\x6c\141\163\x2c" . "\40\x62\x2e\x74\x61\155\160\151\154\x5f\160\x67\x2c\x20\142\x2e\164\x61\155\x70\x69\x6c\137\x6b\x6f\155\x70\x6c\x65\x6b\163\x2c\x20\x62\56\x74\x61\155\160\151\154\137\152\x6f\x64\x6f\150\153\141\156\54\40\142\56\x74\x61\x6d\160\151\x6c\137\151\x73\x69\141\x6e\54\40\142\x2e\x74\141\155\160\151\154\x5f\145\x73\x61\x69\54" . "\40\142\56\x62\157\142\157\164\137\x70\147\x2c\x20\142\x2e\142\x6f\142\157\164\137\x6b\157\x6d\160\154\145\153\163\x2c\40\142\x2e\x62\x6f\x62\157\x74\137\x6a\x6f\x64\x6f\150\x6b\x61\156\54\x20\x62\56\142\x6f\142\x6f\x74\137\x69\x73\x69\x61\156\54\40\x62\x2e\142\x6f\142\157\x74\137\x65\163\141\151\x2c" . "\40\142\56\151\x64\x5f\142\x61\x6e\153\54\40\x62\x2e\142\141\x6e\153\x5f\147\165\x72\x75\x5f\x69\144\54\x20\143\x2e\x6b\157\x64\145\137\152\145\156\151\163\54\x20\143\56\x6e\141\x6d\x61\x5f\152\145\156\x69\x73\54" . "\40\144\56\x69\x64\x5f\x6d\141\160\145\154\x2c\40\144\x2e\153\157\x64\145\54\x20\144\x2e\x6e\x61\155\x61\x5f\155\141\x70\145\x6c\x2c\40\x66\56\151\x64\x5f\147\x75\x72\x75\x2c\40\x66\x2e\x6e\141\155\x61\x5f\x67\x75\162\165"); goto S1JMR; sqIMN: $this->db->join("\x63\142\164\137\142\x61\x6e\x6b\137\163\x6f\x61\x6c\40\x62", "\142\x2e\151\144\137\142\x61\x6e\153\75\x61\56\151\144\x5f\x62\141\x6e\153", "\x6c\145\x66\164"); goto ZB103; XZv34: return $query; goto AWFHg; ZB103: $this->db->join("\143\142\x74\137\x6a\x65\156\151\163\40\x63", "\143\x2e\x69\x64\137\x6a\145\156\151\163\x3d\141\x2e\151\144\x5f\x6a\145\x6e\x69\163", "\154\145\146\164"); goto a4gF7; oFADd: $this->db->where("\x61\56\151\144\137\152\141\x64\x77\x61\x6c", $id_jadwal); goto w5gwP; a4gF7: $this->db->join("\x6d\x61\163\164\x65\162\x5f\155\x61\x70\145\x6c\x20\144", "\x64\x2e\x69\144\137\155\x61\x70\145\154\x3d\142\x2e\142\141\156\153\x5f\x6d\x61\160\x65\x6c\x5f\151\x64", "\x6c\145\x66\164"); goto dRYVf; w5gwP: $query = $this->db->get()->row(); goto XZv34; NSOLg: VMRjj: goto GAIBy; dRYVf: if (!($sesi != null)) { goto VMRjj; } goto eoH9R; eoH9R: $this->db->join("\143\142\x74\137\x73\x65\163\151\x20\145", "\x65\56\x69\x64\137\163\145\x73\x69\x3d" . $sesi, "\154\145\x66\164"); goto NSOLg; S1JMR: $this->db->from("\x63\x62\x74\137\x6a\x61\144\x77\141\x6c\40\141"); goto sqIMN; GAIBy: $this->db->join("\155\141\163\x74\145\162\137\147\165\162\165\x20\146", "\146\x2e\151\144\137\x67\x75\x72\165\x3d\x62\x2e\x62\141\156\x6b\x5f\147\165\x72\165\137\x69\144", "\x6c\145\x66\x74"); goto oFADd; AWFHg: } public function getJadwalByIdBank($id_bank) { goto xxyg6; h8tXX: $this->db->where("\141\56\151\144\137\x62\141\x6e\153", $id_bank); goto s8Lc2; xxyg6: $this->db->select("\x61\x2e\x2a\x2c\x20\x62\56\x6f\x70\163\151\54\40\142\x2e\x62\141\x6e\153\137\x6b\x6f\x64\145\x2c\40\142\x2e\142\x61\156\153\137\x6c\145\166\x65\x6c\x2c\40\142\x2e\x62\141\156\x6b\137\153\145\154\x61\163\54" . "\x20\142\56\164\141\x6d\x70\x69\154\137\x70\147\54\40\x62\56\x74\141\x6d\x70\151\154\137\x6b\x6f\155\x70\154\145\153\163\x2c\x20\142\56\x74\x61\155\x70\151\x6c\137\152\157\x64\x6f\x68\x6b\141\x6e\54\40\142\x2e\x74\x61\x6d\x70\151\x6c\137\151\x73\151\141\156\54\x20\x62\56\164\141\x6d\x70\151\x6c\x5f\145\x73\141\x69\x2c" . "\x20\x62\x2e\142\157\142\157\x74\137\160\147\x2c\40\142\56\x62\157\142\x6f\x74\x5f\x6b\157\x6d\x70\x6c\145\153\163\x2c\40\x62\x2e\142\x6f\142\157\x74\x5f\x6a\157\x64\x6f\150\x6b\141\156\x2c\x20\142\56\x62\157\142\x6f\x74\x5f\151\x73\x69\x61\156\54\x20\142\56\x62\157\142\157\164\x5f\145\x73\141\x69\x2c" . "\x20\x62\x2e\151\144\x5f\x62\141\x6e\153\54\x20\x62\x2e\142\141\x6e\153\137\147\x75\x72\x75\x5f\x69\144\54\40\143\x2e\x6b\x6f\144\x65\x5f\x6a\x65\156\x69\163\54\40\x63\56\x6e\x61\x6d\x61\x5f\152\x65\x6e\x69\x73\54" . "\40\x64\x2e\x69\x64\x5f\155\x61\x70\145\x6c\x2c\x20\144\x2e\x6b\x6f\144\145\x2c\40\144\56\x6e\x61\155\x61\137\x6d\x61\160\145\154\54\x20\x66\56\151\144\x5f\147\165\162\165\x2c\x20\146\x2e\x6e\x61\x6d\141\137\147\x75\162\x75"); goto a79hM; JF5bx: $this->db->join("\x6d\x61\163\164\x65\x72\x5f\147\165\162\x75\40\x66", "\146\56\151\144\x5f\147\165\162\x75\75\142\56\x62\141\156\153\137\x67\165\x72\x75\137\x69\144", "\x6c\145\146\x74"); goto h8tXX; s8Lc2: $query = $this->db->get()->row(); goto RZrR3; Q_NYk: $this->db->join("\143\142\164\137\x6a\x65\156\151\x73\x20\x63", "\x63\56\x69\x64\137\x6a\x65\x6e\151\x73\75\x61\x2e\151\144\x5f\x6a\x65\156\151\163", "\x6c\145\146\x74"); goto COgNI; RZrR3: return $query; goto fTjHb; a79hM: $this->db->from("\x63\142\164\137\x6a\141\144\x77\141\x6c\40\141"); goto nb7wS; COgNI: $this->db->join("\x6d\x61\163\164\x65\162\x5f\155\141\160\145\x6c\x20\x64", "\144\56\151\144\137\155\x61\160\145\154\x3d\142\x2e\142\x61\x6e\x6b\x5f\x6d\141\160\145\154\137\151\x64", "\154\x65\146\164"); goto JF5bx; nb7wS: $this->db->join("\x63\142\164\x5f\x62\x61\x6e\153\137\x73\x6f\141\154\40\x62", "\x62\56\x69\x64\137\x62\141\x6e\x6b\75\141\56\x69\x64\x5f\142\141\x6e\153", "\154\145\x66\164"); goto Q_NYk; fTjHb: } public function getAllJadwal($tp, $smt, $id_guru = null) { goto mos85; ewWwh: if (!($id_guru != null)) { goto CTTgh; } goto ckWZR; jd928: return $this->db->get()->result(); goto U3ayj; mos85: $this->db->select("\x61\56\x62\x61\x6e\153\x5f\153\157\144\x65\x2c\x20\141\x2e\142\141\156\153\137\153\x65\x6c\x61\x73\54\40\142\56\151\144\x5f\x6a\x61\144\x77\141\154"); goto KFSYF; tfq8M: $this->db->join("\x63\x62\164\x5f\152\x61\x64\x77\141\x6c\40\142", "\142\56\151\x64\137\142\x61\x6e\153\75\141\x2e\151\x64\137\x62\x61\x6e\153"); goto ewWwh; KFSYF: $this->db->from("\x63\142\164\137\142\x61\x6e\153\x5f\163\x6f\x61\x6c\40\141"); goto tfq8M; MebZ2: $this->db->where("\142\x2e\151\144\x5f\164\160", $tp); goto VPaEj; Px28O: CTTgh: goto MebZ2; VPaEj: $this->db->where("\142\56\151\144\x5f\x73\x6d\164", $smt); goto jd928; ckWZR: $this->db->where("\x61\x2e\x62\x61\x6e\x6b\137\x67\165\162\165\x5f\151\144", $id_guru); goto Px28O; U3ayj: } public function getJadwalByArrId($arr_id_jadwal, $sesi = null) { goto SuMIh; NZ63v: $this->db->join("\143\142\x74\x5f\152\145\x6e\151\x73\40\x63", "\143\x2e\x69\x64\137\x6a\x65\x6e\x69\x73\75\141\56\x69\144\137\x6a\x65\x6e\x69\163", "\154\145\146\164"); goto H1QfS; H1QfS: $this->db->join("\155\x61\x73\x74\x65\x72\137\155\x61\x70\x65\x6c\40\x64", "\144\56\151\144\137\155\x61\160\x65\x6c\75\x62\x2e\142\141\156\153\137\155\x61\x70\x65\x6c\137\151\144", "\x6c\x65\146\164"); goto szywu; WCxaO: $this->db->join("\155\141\x73\164\x65\x72\137\x67\x75\x72\165\40\146", "\x66\56\x69\144\137\147\165\162\165\75\142\56\x62\x61\x6e\x6b\x5f\147\x75\162\165\137\151\144", "\154\x65\146\x74"); goto iC_9t; QmCxP: $this->db->join("\x63\142\164\x5f\x73\x65\163\151\x20\145", "\145\56\151\x64\x5f\163\x65\x73\151\x3d" . $sesi, "\154\145\146\x74"); goto qV4BG; qV4BG: BblLe: goto WCxaO; szywu: if (!($sesi != null)) { goto BblLe; } goto QmCxP; iC_9t: $this->db->where_in("\x61\56\151\x64\137\x6a\141\x64\167\141\154", $arr_id_jadwal); goto pP0Am; tjOMd: return $query; goto KwuGi; SuMIh: $this->db->select("\x61\56\x2a\54\x20\x62\x2e\157\160\x73\151\54\x20\x62\x2e\142\x61\156\153\137\153\x6f\x64\x65\54\40\142\x2e\142\141\x6e\153\x5f\x6c\x65\x76\x65\x6c\x2c\40\x62\x2e\x62\x61\x6e\153\137\153\x65\x6c\141\x73\54" . "\x20\x62\x2e\x74\141\x6d\x70\x69\x6c\x5f\x70\x67\54\40\x62\x2e\x74\x61\155\x70\151\154\x5f\153\x6f\x6d\x70\x6c\145\153\163\54\x20\142\x2e\164\141\155\x70\151\x6c\x5f\x6a\157\144\157\150\153\141\x6e\54\x20\x62\x2e\x74\141\x6d\160\x69\x6c\x5f\x69\163\x69\141\156\x2c\x20\142\x2e\x74\141\x6d\x70\151\x6c\137\x65\x73\141\151\x2c" . "\40\x62\x2e\x62\157\142\157\164\137\x70\147\x2c\x20\x62\x2e\x62\x6f\142\157\x74\137\x6b\157\x6d\160\x6c\145\153\x73\54\x20\x62\x2e\142\x6f\142\x6f\164\x5f\x6a\x6f\144\157\x68\x6b\141\x6e\54\x20\x62\x2e\142\x6f\x62\157\164\137\151\163\x69\141\x6e\54\40\x62\56\x62\157\x62\x6f\x74\x5f\145\x73\141\x69\x2c" . "\x20\142\56\151\x64\x5f\x62\x61\156\x6b\54\40\x62\56\x62\x61\156\x6b\137\147\x75\162\x75\137\x69\144\x2c\40\x63\56\x6b\x6f\x64\145\x5f\x6a\x65\156\151\163\54\40\x63\56\x6e\x61\155\x61\x5f\152\145\156\151\163\x2c" . "\40\x64\x2e\x69\x64\x5f\x6d\x61\x70\x65\x6c\x2c\40\144\56\153\x6f\x64\x65\54\x20\x64\x2e\156\x61\155\x61\137\x6d\141\x70\145\154\54\40\x66\56\x69\x64\x5f\147\165\162\x75\x2c\x20\146\56\x6e\x61\x6d\x61\137\x67\x75\162\165"); goto Y49wQ; S_22a: $this->db->join("\143\x62\x74\x5f\x62\141\156\x6b\137\x73\157\141\154\x20\142", "\x62\x2e\x69\144\x5f\x62\x61\x6e\153\x3d\141\56\151\144\137\142\x61\156\x6b", "\x6c\x65\146\x74"); goto NZ63v; Y49wQ: $this->db->from("\143\x62\164\137\x6a\x61\144\x77\141\x6c\x20\141"); goto S_22a; pP0Am: $query = $this->db->get()->result(); goto tjOMd; KwuGi: } public function cekJadwalBankSoal($id_bank) { goto oqnIo; tyHyA: Kl36T: goto z26u6; z26u6: $this->db->where_in("\151\144\x5f\142\x61\156\x6b", $id_bank); goto oZmQT; NVJHQ: goto hWBGO; goto tyHyA; oZmQT: hWBGO: goto aX2jC; RGsPT: if (is_array($id_bank)) { goto Kl36T; } goto yDHkn; oqnIo: $this->db->select("\151\144\x5f\x62\141\x6e\x6b"); goto YBr1S; YBr1S: $this->db->from("\x63\x62\164\x5f\x6a\x61\x64\x77\x61\154"); goto RGsPT; yDHkn: $this->db->where("\151\144\137\x62\x61\156\x6b", $id_bank); goto NVJHQ; LCe4Q: return $query; goto PGdeA; aX2jC: $query = $this->db->get()->num_rows(); goto LCe4Q; PGdeA: } public function cekJadwalSudahMulai($id_jadwal) { $query = $this->get_where("\x63\142\164\x5f\x64\x75\x72\141\x73\151\137\x73\151\163\167\x61", "\151\144\x5f\x6a\141\x64\x77\141\154", $id_jadwal)->num_rows(); return $query; } public function saveJadwalUjian($id_tp, $id_smt) { goto KrpQo; Du4V_: B_xcL: goto ZrFpf; vM_Mp: $jenis_id = strip_tags($this->input->post("\x6a\x65\x6e\x69\163\137\151\x64", TRUE)); goto Ghkpc; iQypl: $status = $this->input->post("\x73\x74\x61\164\x75\163", TRUE); goto ncHak; ArGcu: gXW3g: goto fPRAm; QlU8S: $check = $this->db->where("\151\144\137\x62\x61\156\x6b", $bank_id)->where("\x69\x64\137\152\x65\x6e\x69\x73", $jenis_id)->get("\143\x62\x74\137\x6a\141\x64\x77\x61\x6c")->row(); goto hav2Y; hav2Y: $data = array("\x69\144\x5f\164\160" => $id_tp, "\151\144\x5f\163\x6d\164" => $id_smt, "\x69\x64\137\x62\141\156\153" => $bank_id, "\151\144\x5f\x6a\145\156\x69\x73" => $jenis_id, "\x74\147\x6c\137\155\x75\154\x61\151" => $mulai, "\164\147\x6c\137\x73\x65\154\145\163\x61\x69" => $selesai, "\x64\165\162\141\163\x69\137\165\152\x69\141\156" => $durasi, "\x6a\141\162\x61\x6b" => $jarak, "\141\143\x61\x6b\137\163\157\x61\x6c" => !$acak_soal ? "\60" : $acak_soal, "\141\143\x61\x6b\x5f\157\x70\x73\151" => !$acak_opsi ? "\x30" : $acak_opsi, "\150\141\x73\x69\x6c\137\164\x61\x6d\x70\151\x6c" => !$hasil_tampil ? "\60" : $hasil_tampil, "\164\157\x6b\x65\156" => !$token ? "\60" : $token, "\x73\164\141\x74\x75\x73" => !$status ? "\60" : $status, "\x72\x65\163\x65\x74\137\154\157\x67\151\156" => !$reset_login ? "\x30" : $reset_login); goto jT1YO; MhSJD: return $this->db->update("\x63\142\164\x5f\152\x61\x64\167\141\154", $data); goto RyPNc; HtBhH: szQH1: goto tJhXF; elk9G: goto B70BF; goto ArGcu; RyPNc: goto wJg5t; goto qmeDu; IBkGO: $acak_opsi = $this->input->post("\141\x63\x61\x6b\x5f\x6f\x70\163\x69", TRUE); goto DC4Wc; yRn98: return false; goto rhe2i; yXmV7: $this->db->insert("\x63\x62\x74\137\152\x61\144\167\x61\x6c", $data); goto IimF2; ZrFpf: return false; goto HtBhH; DC4Wc: $hasil_tampil = $this->input->post("\x68\x61\x73\x69\154\x5f\164\141\x6d\x70\x69\154", TRUE); goto MBmXb; LOpry: $bank_id = strip_tags($this->input->post("\x62\141\x6e\x6b\x5f\x69\x64", TRUE)); goto vM_Mp; U3BuV: $selesai = strip_tags($this->input->post("\164\147\x6c\x5f\x73\x65\x6c\x65\x73\141\x69", TRUE)); goto mXUJJ; MBmXb: $token = $this->input->post("\x74\157\153\x65\x6e", TRUE); goto iQypl; fPRAm: if ($check != null) { goto B_xcL; } goto yXmV7; Ghkpc: $mulai = strip_tags($this->input->post("\164\147\154\137\155\x75\x6c\x61\151", TRUE)); goto U3BuV; MYjNY: if ($check != null && $check->id_jadwal != $id) { goto fpCJr; } goto u05ww; Zib9K: goto szQH1; goto Du4V_; NVByW: return $insert_id; goto Zib9K; KrpQo: $id = $this->input->post("\x69\x64\x5f\152\x61\x64\167\x61\x6c", true); goto bSliW; nTEqE: $jarak = strip_tags($this->input->post("\x6a\141\x72\x61\x6b", TRUE)); goto QlU8S; bSliW: $acak_soal = $this->input->post("\x61\143\141\153\137\163\157\x61\x6c", TRUE); goto IBkGO; u05ww: $this->db->where("\x69\x64\x5f\152\x61\144\167\x61\154", $id); goto MhSJD; rhe2i: wJg5t: goto elk9G; ncHak: $reset_login = $this->input->post("\x72\145\163\x65\x74\137\154\157\x67\x69\156", TRUE); goto LOpry; qmeDu: fpCJr: goto yRn98; tJhXF: B70BF: goto nvqvd; mXUJJ: $durasi = strip_tags($this->input->post("\144\x75\x72\x61\x73\151\x5f\x75\x6a\x69\141\x6e", TRUE)); goto nTEqE; jT1YO: if ($id == '') { goto gXW3g; } goto MYjNY; IimF2: $insert_id = $this->db->insert_id(); goto NVByW; nvqvd: } public function getJadwalTgl($guru = null) { goto l12UU; nBs0b: $this->db->from("\x63\x62\164\137\152\141\144\167\141\154"); goto Jvb2z; wqaX1: $this->db->select("\164\x67\x6c\137\155\165\x6c\141\x69"); goto nBs0b; Jvb2z: $query = $this->db->get(); goto PhtP7; PhtP7: return $query->result(); goto QCTys; l12UU: $this->db->distinct(); goto wqaX1; QCTys: } public function getDataJadwalByTgl($tgl) { goto PmCGt; sz2h8: $query = $this->db->get(); goto Yjlov; PmCGt: $this->db->distinct(); goto YoJLm; YoJLm: $this->db->select("\164\x67\x6c\137\x6d\165\x6c\141\x69\x2c\x20\164\147\x6c\137\163\x65\x6c\x65\x73\141\x69"); goto g7aA3; LGv4U: $this->db->where("\x74\147\154\137\155\165\x6c\x61\x69\40\x3c\75\40\x27{$tgl}\x27\x20\x41\116\104\x20\164\147\x6c\137\x73\145\x6c\145\163\141\151\x20\x3e\75\x20\47{$tgl}\47"); goto sz2h8; g7aA3: $this->db->from("\x63\142\x74\137\152\141\x64\167\141\x6c"); goto LGv4U; Yjlov: return $query->result(); goto Tj3RR; Tj3RR: } public function getDataGuru() { goto Igsw_; AGa1Q: $this->db->join("\x63\142\164\137\160\145\x6e\147\141\x77\141\163\x20\142", "\x62\56\151\144\137\147\x75\x72\165\40\x3d\40\x61\56\151\144\x5f\147\165\x72\x75", "\x6c\145\146\164"); goto uZ2Ob; Igsw_: $this->db->select("\141\56\151\144\x5f\147\x75\x72\165\54\40\x61\56\x6e\x61\x6d\141\x5f\147\x75\x72\165\54\40\142\56\151\x64\137\x70\145\x6e\x67\141\167\x61\x73\x2c\x20\x62\x2e\x69\144\137\152\141\x64\x77\141\x6c"); goto cB0fs; cB0fs: $this->db->from("\x6d\x61\x73\x74\145\x72\137\147\165\x72\165\40\x61"); goto AGa1Q; mdC6k: return $query; goto FOPFI; uZ2Ob: $query = $this->db->get()->result(); goto mdC6k; FOPFI: } public function saveToken($post_token) { goto FzVfW; Llm_W: $auto = $post_token->auto; goto odPRL; CPUa4: return $this->db->update("\x63\x62\164\137\x74\x6f\x6b\145\156", $data); goto WKlqw; D2DA2: $data = array("\164\157\x6b\145\156" => $tkn, "\x61\165\x74\157" => $auto, "\x6a\141\162\x61\x6b" => $jarak, "\165\160\144\141\164\145\x64" => $post_token->updated); goto o9iEa; hcyWM: $this->db->where("\x69\x64\x5f\x74\x6f\x6b\145\156", $id); goto CPUa4; rrb2L: $tkn = $post_token->token; goto Llm_W; FzVfW: $id = isset($post_token->id_token) ? $post_token->id_token : false; goto rrb2L; RXrIl: FfGF0: goto V3Lr_; UlPPJ: return $insert_id; goto RXrIl; odPRL: $jarak = $post_token->jarak; goto D2DA2; roB7T: $insert_id = $this->db->insert_id(); goto UlPPJ; AICCI: iENQU: goto HqL7L; o9iEa: if (!$id) { goto iENQU; } goto hcyWM; HqL7L: $this->db->insert("\x63\142\164\137\x74\x6f\153\x65\x6e", $data); goto roB7T; WKlqw: goto FfGF0; goto AICCI; V3Lr_: } public function updateToken($token, $auto) { goto orNPN; NQ3zt: $this->db->where("\164\x6f\153\145\156", $token); goto lqLuV; orNPN: $this->db->set("\x61\x75\x74\x6f", $auto, FALSE); goto NQ3zt; lqLuV: $this->db->update("\x63\142\x74\137\x74\157\x6b\145\x6e"); goto R82vf; R82vf: $result = $this->db->get("\x63\142\x74\x5f\x74\157\x6b\x65\156")->row(); goto sTubU; sTubU: return $result; goto ji7Ds; ji7Ds: } public function getToken() { $result = $this->db->get("\143\x62\x74\137\164\157\x6b\x65\x6e")->row(); return $result; } public function getJadwalCbtKelas($id_tp, $id_smt) { goto Z4bnp; tLO_Q: $this->db->join("\x63\x62\164\137\142\141\x6e\153\137\163\x6f\141\154\40\142", "\142\56\151\144\x5f\142\141\x6e\x6b\x3d\141\56\x69\144\x5f\x62\x61\x6e\x6b"); goto ZJn6K; Bp1pl: $this->db->from("\143\142\164\137\152\x61\x64\x77\141\x6c\x20\141"); goto tLO_Q; qLaJn: return $this->db->get()->result(); goto o7dBA; ZJn6K: $this->db->where("\x61\56\151\x64\137\x74\x70", $id_tp); goto mUvqx; Z4bnp: $this->db->select("\x61\56\151\144\x5f\152\141\x64\167\141\154\54\40\x62\x2e\x62\141\156\x6b\137\x6b\x65\x6c\x61\x73"); goto Bp1pl; mUvqx: $this->db->where("\x61\56\151\144\x5f\x73\x6d\x74", $id_smt); goto qLaJn; o7dBA: } public function getInfoJadwal($id_bank) { goto qzr8y; Ts_zs: return $this->db->get()->row(); goto U9ICn; dML8J: $this->db->where("\141\56\151\x64\137\142\141\x6e\x6b", $id_bank); goto Ts_zs; i3YfI: $this->db->join("\143\142\x74\x5f\x6a\141\144\167\141\x6c\40\x62", "\141\56\x69\144\x5f\x62\x61\156\153\75\x62\56\x69\x64\137\142\x61\156\x6b"); goto dML8J; QeNTQ: $this->db->from("\x63\142\x74\x5f\x62\141\156\153\137\163\x6f\141\154\x20\x61"); goto i3YfI; qzr8y: $this->db->select("\x61\x2e\x69\x64\x5f\x62\x61\x6e\x6b\54\40\142\56\x61\143\141\153\x5f\163\157\x61\x6c\54\x20\x62\x2e\141\143\x61\153\137\x6f\160\x73\x69\54\40\141\x2e\x6f\x70\163\151\54" . "\40\x61\x2e\164\x61\x6d\160\151\x6c\x5f\x70\147\54\40\x61\56\x74\x61\155\160\151\x6c\137\153\x6f\155\x70\154\145\153\163\54\x20\141\56\x74\x61\155\x70\x69\154\137\152\x6f\x64\x6f\150\153\x61\156\x2c\40\141\56\164\x61\x6d\x70\151\x6c\x5f\x69\x73\x69\x61\156\x2c\40\x61\56\x74\141\x6d\x70\x69\x6c\x5f\x65\x73\141\x69\54" . "\x20\141\x2e\142\x6f\x62\157\164\x5f\160\x67\54\x20\40\x61\56\x62\157\x62\157\164\x5f\x6b\x6f\x6d\x70\154\x65\x6b\163\x2c\x20\40\141\x2e\142\157\142\x6f\x74\137\x6a\157\144\157\150\x6b\x61\156\54\x20\x20\x61\56\x62\x6f\x62\157\x74\x5f\x69\x73\x69\141\x6e\x2c\40\40\141\x2e\142\x6f\142\157\164\137\145\163\141\151"); goto QeNTQ; U9ICn: } public function getAllIdSoal($id_bank) { goto bSMuW; bSMuW: $this->db->select("\151\144\137\x73\157\141\154\54\40\x6a\145\x6e\151\x73\x2c\x20\x6a\x61\167\x61\142\x61\156"); goto emFia; VWnUM: return $ret; goto M583F; emFia: $this->db->from("\x63\x62\164\x5f\163\157\x61\154"); goto zo26P; zo26P: $this->db->where("\x74\x61\155\x70\151\154\x6b\x61\156", "\x31"); goto vIvyF; B1miq: uATxp: goto VWnUM; kHcW3: $ret = []; goto XOlI7; G2oQQ: foreach ($result as $row) { $ret[$row->jenis][] = $row; ytmcy: } goto AQTUT; tI2TJ: $result = $this->db->get()->result(); goto kHcW3; vIvyF: $this->db->where("\x62\x61\x6e\x6b\137\x69\x64", $id_bank); goto tI2TJ; XOlI7: if (!$result) { goto uATxp; } goto G2oQQ; AQTUT: mZiQz: goto B1miq; M583F: } public function getJadwalCbt($id_tp, $id_smt, $level) { goto JX92F; qF1NG: $this->db->join("\143\142\x74\137\x6a\x65\156\151\x73\x20\142", "\142\56\151\x64\137\x6a\x65\156\151\x73\x3d\x61\x2e\151\144\x5f\152\145\156\151\x73"); goto FlWLt; mxWQK: $this->db->join("\x6d\x61\x73\164\145\x72\137\155\141\160\145\154\x20\x64", "\x64\56\151\x64\137\x6d\x61\x70\145\154\x3d\x63\56\142\141\156\x6b\137\155\x61\160\x65\154\137\151\x64"); goto CeRB4; oG9eD: return $retur; goto HpTg_; FlWLt: $this->db->join("\x63\142\164\x5f\x62\x61\x6e\x6b\x5f\x73\157\x61\x6c\40\x63", "\x63\x2e\151\144\x5f\142\x61\x6e\153\x3d\x61\56\x69\144\137\x62\141\156\x6b"); goto mxWQK; NB5Uw: $result = $this->db->get()->result(); goto FG3pQ; JX92F: $this->db->select("\141\x2e\151\144\x5f\152\141\x64\167\x61\154\54\x20\141\x2e\151\x64\x5f\164\160\54\40\141\x2e\151\144\137\x73\x6d\x74\x2c\40\141\56\151\144\137\x62\x61\156\x6b\x2c\x20\141\x2e\151\x64\137\152\145\x6e\x69\163\x2c\x20\x61\56\164\x67\x6c\137\155\x75\x6c\141\151\x2c\40\141\56\164\147\154\x5f\x73\x65\154\145\x73\141\151\x2c" . "\x20\x61\x2e\x64\165\162\141\x73\x69\137\165\152\151\141\x6e\54\x20\x61\x2e\x70\145\156\x67\141\x77\141\163\x2c\x20\x61\x2e\141\143\141\153\x5f\x73\157\141\154\54\40\141\56\x61\143\141\x6b\x5f\x6f\x70\x73\x69\x2c\x20\x61\x2e\150\141\x73\151\x6c\x5f\x74\141\x6d\160\x69\x6c\54\x20\x61\56\164\x6f\153\x65\x6e\54\x20\141\x2e\x73\x74\141\x74\x75\x73\x2c\40\141\x2e\x75\x6c\x61\x6e\147\x2c" . "\40\x61\x2e\162\x65\163\145\164\x5f\154\157\147\x69\156\x2c\x20\141\x2e\162\x65\153\141\x70\x2c\40\141\x2e\152\141\x6d\137\153\145\x2c\40\x61\56\x6a\141\x72\x61\x6b\54" . "\40\x63\x2e\x62\x61\x6e\x6b\x5f\x6b\157\144\x65\x2c\40\x63\x2e\142\x61\156\x6b\x5f\154\145\166\x65\x6c\54\40\143\56\142\141\156\153\137\153\x65\154\141\163\54\x20\x63\x2e\x74\x61\155\160\151\154\x5f\160\147\54\x20\x63\56\x74\141\155\x70\151\x6c\137\153\157\155\x70\x6c\x65\x6b\x73\x2c\x20\143\x2e\x74\x61\x6d\160\x69\x6c\137\152\x6f\x64\157\150\153\141\156\x2c" . "\40\143\x2e\x74\141\155\x70\x69\x6c\x5f\151\163\x69\141\x6e\54\x20\143\56\x74\x61\x6d\x70\151\x6c\x5f\145\x73\x61\151\54\x20\143\56\163\157\141\x6c\137\141\x67\x61\155\141\54\40" . "\x20\143\56\x62\157\142\157\164\137\x70\147\54\40\143\56\142\x6f\x62\x6f\x74\x5f\x6b\157\155\x70\x6c\145\153\x73\54\40\x63\56\x62\x6f\x62\157\x74\x5f\152\x6f\144\157\x68\153\141\x6e\54\x20\x63\56\142\x6f\142\157\164\137\x69\x73\x69\141\156\54\40\143\x2e\142\x6f\x62\157\x74\137\x65\x73\141\x69\54\40\x62\x2e\x6b\157\144\x65\137\152\145\x6e\151\163\54" . "\40\142\56\156\x61\x6d\141\137\x6a\145\156\x69\x73\54\x20\x64\x2e\153\x6f\x64\x65\54\40\x64\x2e\x6e\141\x6d\x61\137\155\141\x70\x65\x6c"); goto WvOd_; IafV3: $this->db->where("\x61\x2e\163\x74\x61\164\165\x73", "\x31"); goto bfY6H; CeRB4: $this->db->where("\x61\56\151\x64\137\164\160", $id_tp); goto IafV3; ptwXJ: y4qwP: goto oG9eD; WvOd_: $this->db->from("\143\x62\164\137\x6a\141\144\x77\x61\154\40\x61"); goto qF1NG; YihpM: $this->db->where("\143\x2e\163\164\x61\x74\x75\163\x5f\x73\157\141\x6c", "\x31"); goto SKPy4; UJkPN: foreach ($result as $row) { $retur[$row->id_jadwal] = $row; XubE1: } goto ptwXJ; sjYui: $this->db->order_by("\141\x2e\x6a\x61\155\137\153\145"); goto NB5Uw; BwVZG: $this->db->where("\x63\56\163\x74\x61\x74\x75\x73", "\x31"); goto YihpM; FG3pQ: $retur = []; goto UJkPN; SKPy4: $this->db->where("\143\56\x62\141\x6e\x6b\x5f\x6c\145\x76\145\154", $level); goto sjYui; bfY6H: $this->db->where("\x61\56\x69\144\x5f\x73\155\x74", $id_smt); goto BwVZG; HpTg_: } public function getJadwalByKelas($id_tp, $id_smt, $kelas) { goto bfdAh; d3aq5: return $retur; goto YZ2id; jIvXy: $this->db->join("\x63\x62\164\x5f\152\145\x6e\x69\x73\x20\x62", "\x62\x2e\x69\144\x5f\x6a\x65\156\151\163\75\141\x2e\151\144\137\x6a\x65\x6e\151\x73"); goto RQMAL; a7oWO: $this->db->where("\141\56\151\x64\137\164\160", $id_tp); goto T33nG; sHyoF: $this->db->where("\143\56\x73\164\x61\164\165\163\137\163\x6f\141\x6c", "\61"); goto SUNZ1; yQ5lB: $this->db->join("\155\x61\163\x74\x65\162\137\155\141\160\145\x6c\x20\144", "\144\56\x69\x64\137\x6d\x61\x70\x65\x6c\75\143\56\142\141\156\x6b\x5f\x6d\141\160\145\154\137\151\x64"); goto a7oWO; IICPX: foreach ($result as $row) { $retur[$row->id_jadwal] = $row; Wopgx: } goto xWf7R; xWf7R: tyoIG: goto d3aq5; Hn_2L: $this->db->where("\x63\x2e\163\164\141\164\x75\x73", "\x31"); goto sHyoF; JJc7z: $this->db->from("\x63\x62\x74\137\x6a\x61\144\x77\x61\x6c\40\141"); goto jIvXy; RQMAL: $this->db->join("\143\x62\164\x5f\142\x61\156\153\x5f\163\157\141\154\40\143", "\143\x2e\151\x64\137\142\141\x6e\x6b\75\141\56\x69\x64\137\142\x61\156\x6b"); goto yQ5lB; Dy5p6: $result = $this->db->get()->result(); goto zw5C1; Hb14u: $this->db->where("\x61\x2e\151\144\137\163\x6d\164", $id_smt); goto Hn_2L; sTpfT: $this->db->order_by("\141\x2e\x6a\x61\155\x5f\153\145"); goto Dy5p6; zw5C1: $retur = []; goto IICPX; SUNZ1: $this->db->like("\x63\x2e\142\x61\156\x6b\137\153\x65\x6c\141\163", $kelas); goto sTpfT; bfdAh: $this->db->select("\x61\x2e\x69\144\x5f\152\x61\144\x77\141\x6c\x2c\40\x61\x2e\151\144\x5f\x74\x70\x2c\x20\141\x2e\151\x64\x5f\163\x6d\x74\x2c\40\141\56\151\144\x5f\142\141\156\x6b\x2c\x20\141\x2e\151\x64\x5f\152\145\156\x69\163\54\40\x61\56\x74\x67\154\137\x6d\x75\x6c\141\151\x2c\40\141\56\x74\x67\x6c\x5f\163\145\x6c\x65\163\141\x69\54" . "\x20\141\56\144\165\162\141\163\151\137\165\152\151\x61\156\x2c\x20\141\x2e\160\145\x6e\147\x61\x77\x61\x73\54\40\x61\x2e\x61\143\x61\x6b\x5f\x73\x6f\x61\x6c\54\40\x61\x2e\x61\x63\x61\x6b\x5f\x6f\x70\x73\151\54\40\x61\x2e\x68\x61\x73\151\x6c\137\x74\x61\x6d\x70\x69\154\x2c\x20\x61\x2e\164\x6f\153\x65\x6e\x2c\x20\141\x2e\163\x74\x61\164\x75\x73\54\x20\x61\x2e\165\x6c\x61\x6e\147\x2c" . "\x20\141\x2e\162\145\163\x65\x74\x5f\x6c\157\x67\151\x6e\x2c\x20\141\x2e\x72\x65\153\x61\x70\x2c\x20\x61\x2e\152\141\155\137\153\145\54\x20\141\x2e\152\141\x72\x61\x6b\x2c" . "\x20\143\56\x62\x61\156\153\137\x6b\157\144\x65\54\40\x63\x2e\142\141\x6e\153\137\x6c\145\x76\145\x6c\x2c\x20\143\56\x62\141\x6e\153\137\153\x65\x6c\141\163\54\x20\143\x2e\x74\141\x6d\160\x69\154\x5f\x70\x67\54\x20\x63\56\164\x61\155\x70\x69\x6c\x5f\x6b\157\x6d\x70\154\x65\153\x73\x2c\40\x63\56\x74\x61\x6d\160\x69\154\x5f\152\157\x64\x6f\x68\x6b\x61\x6e\x2c" . "\40\x63\x2e\x74\x61\x6d\160\x69\154\x5f\x69\x73\151\141\156\54\x20\143\x2e\x74\141\155\x70\x69\154\137\x65\163\141\x69\54\x20\143\56\163\157\x61\154\x5f\141\147\141\155\x61\x2c\x20" . "\40\143\56\x62\157\142\x6f\x74\137\x70\x67\x2c\x20\143\x2e\142\157\142\157\164\137\x6b\x6f\155\160\154\x65\x6b\163\x2c\x20\x63\x2e\142\x6f\142\x6f\x74\x5f\x6a\157\x64\x6f\150\153\x61\x6e\x2c\x20\143\56\x62\157\142\x6f\x74\137\151\x73\x69\141\x6e\x2c\x20\x63\x2e\x62\x6f\142\157\x74\137\x65\163\x61\151\54\40\x62\x2e\153\x6f\144\x65\x5f\x6a\x65\x6e\x69\163\x2c" . "\40\142\56\156\141\x6d\x61\137\152\x65\156\x69\x73\54\x20\x64\x2e\153\157\144\145\x2c\40\x64\x2e\x6e\x61\155\141\x5f\155\x61\x70\x65\x6c"); goto JJc7z; T33nG: $this->db->where("\141\56\x73\x74\x61\164\x75\163", "\x31"); goto Hb14u; YZ2id: } public function getCbt($id_jadwal) { goto OCSRw; Xsc_6: $this->db->where("\x61\x2e\151\x64\x5f\x6a\141\x64\167\x61\x6c", $id_jadwal); goto P94c3; yQ5lo: $this->db->join("\x6d\x61\x73\x74\145\x72\137\164\x70\x20\147", "\147\56\151\x64\137\x74\160\75\141\x2e\x69\144\x5f\x74\160", "\154\145\146\x74"); goto XLJxt; ptzIE: $this->db->join("\155\x61\x73\x74\145\162\x5f\152\165\162\x75\163\x61\x6e\x20\x66", "\146\x2e\151\x64\x5f\152\165\x72\x75\163\141\156\x3d\x63\56\x62\141\x6e\x6b\137\x6a\165\x72\x75\163\x61\156\137\x69\144", "\x6c\145\x66\164"); goto yQ5lo; OCSRw: $this->db->select("\141\56\151\144\x5f\x6a\x61\144\x77\141\x6c\x2c\40\141\56\151\144\137\164\160\54\x20\141\x2e\151\144\x5f\163\x6d\x74\54\40\141\56\x69\144\137\x62\x61\x6e\153\54\40\141\56\151\144\x5f\152\x65\156\151\163\x2c\x20\141\56\x74\x67\x6c\x5f\x6d\165\x6c\x61\151\x2c\x20\141\x2e\164\147\154\137\163\x65\154\x65\x73\141\x69\x2c" . "\x20\141\56\144\165\x72\141\x73\x69\137\165\x6a\x69\x61\156\54\40\141\x2e\x70\x65\x6e\x67\x61\167\x61\x73\x2c\40\x61\56\x61\x63\x61\153\137\x73\x6f\141\154\x2c\40\141\x2e\141\143\141\153\x5f\157\160\x73\151\54\40\x61\56\x68\x61\163\x69\154\x5f\164\141\x6d\160\x69\x6c\54\40\141\x2e\x74\x6f\x6b\x65\x6e\x2c\x20\141\x2e\163\164\141\x74\x75\163\x2c\40\141\x2e\x75\154\141\x6e\147\x2c" . "\40\141\56\x72\x65\x73\145\x74\x5f\154\x6f\x67\151\156\x2c\40\x61\56\162\x65\x6b\141\160\54\x20\141\56\x6a\141\x6d\137\x6b\x65\x2c\x20\141\56\152\141\x72\141\153\x2c" . "\40\x62\56\156\x61\x6d\x61\x5f\x6a\x65\x6e\151\163\54\x20\x62\56\x6b\157\x64\145\x5f\x6a\x65\156\x69\x73\x2c" . "\40\x63\56\142\141\x6e\x6b\x5f\x6b\157\144\x65\x2c\40\x63\56\142\141\156\153\x5f\154\145\166\x65\x6c\54\40\143\x2e\142\141\156\x6b\137\153\x65\x6c\x61\x73\54\x20\x63\56\142\x61\x6e\153\x5f\155\x61\x70\145\154\x5f\x69\x64\54\40\x63\56\x62\141\156\x6b\x5f\152\x75\x72\x75\163\141\x6e\x5f\151\144\x2c" . "\40\143\56\142\141\156\153\x5f\x67\x75\x72\x75\137\x69\144\x2c\x20\x63\56\x62\x61\156\153\x5f\156\141\155\141\x2c\x20\143\x2e\x6a\155\x6c\x5f\x73\157\x61\154\x2c\40\143\x2e\152\155\154\137\x65\163\141\151\54\40\x63\56\164\141\x6d\x70\x69\x6c\137\160\x67\x2c\40\x63\x2e\x74\x61\155\x70\151\x6c\x5f\x65\163\141\x69\54\x20\143\56\x62\157\x62\157\x74\x5f\160\x67\54" . "\x20\x63\x2e\142\x6f\142\157\164\x5f\x65\163\x61\151\x2c\40\143\x2e\x6f\x70\x73\151\x2c\40\143\x2e\144\141\x74\x65\x2c\40\143\x2e\163\164\141\x74\x75\x73\54\x20\143\56\163\157\x61\x6c\x5f\x61\x67\141\155\x61\54\40\143\x2e\151\x64\137\x74\160\x2c\40\143\x2e\x69\144\x5f\163\155\x74\54\x20\x63\x2e\x64\145\x73\x6b\x72\x69\x70\163\151\x2c\40\143\56\x6a\155\154\x5f\153\x6f\x6d\160\x6c\145\153\163\54" . "\x20\x63\56\x74\141\155\160\151\x6c\137\x6b\x6f\155\160\x6c\x65\153\x73\54\40\x63\56\x62\x6f\142\x6f\x74\x5f\x6b\x6f\x6d\160\154\145\153\x73\54\40\x63\x2e\x6a\x6d\x6c\x5f\152\x6f\144\157\150\x6b\x61\156\54\x20\143\x2e\164\x61\155\x70\151\x6c\x5f\x6a\x6f\144\x6f\x68\x6b\141\156\x2c\x20\143\56\x62\157\142\157\164\137\x6a\157\144\x6f\x68\x6b\x61\x6e\x2c\40\x63\56\152\x6d\154\137\x69\163\151\x61\x6e\54" . "\x20\x63\56\x74\x61\x6d\x70\151\x6c\137\151\163\151\x61\x6e\54\x20\143\56\142\157\142\x6f\x74\137\x69\163\x69\x61\156\54\40\143\x2e\163\164\x61\164\x75\x73\137\163\157\141\x6c\x2c" . "\x20\144\x2e\x69\144\x5f\155\141\160\x65\154\54\40\x64\x2e\x6e\x61\x6d\x61\x5f\155\x61\160\145\154\54\x20\144\x2e\x6b\157\x64\145\54" . "\x20\145\x2e\x69\144\x5f\147\x75\162\x75\54\40\145\56\156\141\x6d\141\137\x67\x75\162\x75\x2c" . "\40\x66\x2e\x69\x64\137\152\165\162\165\x73\141\x6e\54\x20\146\x2e\x6e\141\x6d\x61\137\152\165\x72\x75\x73\x61\x6e\x2c\40\x66\56\153\157\x64\x65\137\x6a\165\x72\165\x73\x61\x6e\x2c" . "\x20\147\56\164\x61\150\165\x6e\x2c" . "\40\x68\56\x73\155\x74\x2c\40\150\x2e\x6e\x61\x6d\x61\x5f\x73\x6d\164\54" . "\40\50\x53\105\114\105\x43\124\x20\x43\117\125\116\x54\x28\x69\x64\x5f\163\x6f\x61\x6c\51\x20\x46\122\x4f\115\x20\143\142\164\137\163\x6f\x61\x6c\40\127\110\105\x52\105\x20\x63\142\x74\x5f\x73\x6f\141\x6c\x2e\142\x61\156\x6b\137\151\144\40\x3d\40\141\x2e\x69\x64\137\x62\x61\156\x6b\x29\x20\x41\123\40\x74\157\x74\141\154\x5f\x73\x6f\141\154"); goto lk_3V; FGCGL: $this->db->join("\143\142\x74\x5f\142\x61\156\153\x5f\x73\x6f\x61\x6c\40\x63", "\143\56\151\x64\137\142\x61\156\153\75\x61\x2e\x69\x64\137\142\x61\x6e\x6b", "\x6c\145\x66\164"); goto fQziN; fQziN: $this->db->join("\x6d\x61\163\164\145\162\x5f\155\141\160\x65\154\40\144", "\144\56\151\144\137\155\x61\160\145\x6c\x3d\143\x2e\142\x61\156\153\137\155\x61\x70\145\x6c\x5f\151\x64", "\x6c\x65\146\x74"); goto ebpG3; lk_3V: $this->db->from("\143\x62\164\137\x6a\141\x64\167\141\x6c\x20\x61"); goto IGzx_; XLJxt: $this->db->join("\155\x61\x73\x74\x65\162\x5f\163\x6d\164\40\x68", "\150\x2e\151\x64\137\x73\x6d\164\75\141\56\x69\x64\137\x73\x6d\x74", "\154\145\x66\164"); goto Xsc_6; P94c3: return $this->db->get()->row(); goto e6M9v; IGzx_: $this->db->join("\143\142\164\x5f\x6a\x65\156\151\163\x20\x62", "\x62\56\x69\x64\137\152\145\x6e\x69\163\x3d\141\56\x69\x64\x5f\152\145\x6e\151\163", "\x6c\x65\146\164"); goto FGCGL; ebpG3: $this->db->join("\x6d\x61\x73\164\145\x72\x5f\x67\x75\162\x75\x20\145", "\145\56\151\x64\x5f\147\x75\x72\165\75\x63\56\x62\x61\x6e\153\137\x67\165\162\x75\137\151\x64", "\x6c\x65\146\164"); goto ptzIE; e6M9v: } public function getCbtById($id_jadwal) { goto aS866; aS866: $this->db->select("\x2a"); goto d85kr; kgyvl: return $this->db->get()->row(); goto ptV5m; d85kr: $this->db->from("\143\x62\164\x5f\x6a\141\x64\x77\x61\x6c"); goto q_Vvc; q_Vvc: $this->db->where("\151\x64\137\152\141\144\167\141\x6c", $id_jadwal); goto kgyvl; ptV5m: } public function getIdRuangById($array) { goto DxSwd; xrL8r: $this->db->from("\143\x62\164\137\x72\165\x61\x6e\147"); goto UQHHq; pNp_B: return $ret; goto gyr27; UQHHq: $this->db->where("\x69\x64\137\x72\x75\x61\x6e\x67", $array); goto RFRfy; Ak1Hy: if (!$result) { goto TAM0S; } goto ZrwF5; GZmgn: TAM0S: goto pNp_B; DxSwd: $this->db->select("\x6e\x61\x6d\141\137\x72\x75\x61\x6e\x67"); goto xrL8r; aYTu5: iR1Iz: goto GZmgn; RFRfy: $result = $this->db->get()->result(); goto Ak1Hy; ZrwF5: foreach ($result as $key => $row) { $ret[$row->id_ruang] = $row->kode_ruang; teMTP: } goto aYTu5; gyr27: } public function getNamaRuangById($id) { goto W4r4l; vjFok: $result = $this->db->get()->row(); goto ggO5_; VMr73: So060: goto g78Mh; ggO5_: if ($result) { goto So060; } goto mlOsX; uDO68: $this->db->from("\143\142\164\137\x72\x75\141\x6e\x67"); goto rixsx; W4r4l: $this->db->select("\156\x61\x6d\141\x5f\x72\x75\141\156\x67"); goto uDO68; g78Mh: return $result->nama_ruang; goto A_gf_; A_gf_: ZpVRR: goto wTaUJ; mlOsX: return ''; goto m3L8w; m3L8w: goto ZpVRR; goto VMr73; rixsx: $this->db->where("\x69\144\137\x72\165\x61\156\147", $id); goto vjFok; wTaUJ: } public function getNamaSesiById($id) { goto ZUshN; ZUshN: $this->db->select("\156\141\x6d\141\137\x73\x65\163\x69"); goto Ta3mu; Mjd1o: return $this->db->get()->row()->nama_sesi; goto f7ISP; BTnwm: $this->db->where(["\151\x64\x5f\x73\x65\163\x69" => $id]); goto Mjd1o; Ta3mu: $this->db->from("\143\x62\x74\137\163\x65\163\x69"); goto BTnwm; f7ISP: } public function getNamaKelasById($id) { goto dZdW2; xsgkZ: return $this->db->get()->row()->nama_kelas; goto TnWMd; R5dtZ: $this->db->where(["\151\144\x5f\153\x65\x6c\141\163" => $id]); goto xsgkZ; dZdW2: $this->db->select("\x6e\x61\155\x61\x5f\153\145\x6c\141\x73"); goto gZ2Tc; gZ2Tc: $this->db->from("\x6d\141\163\164\x65\162\137\153\145\x6c\x61\163"); goto R5dtZ; TnWMd: } public function getNamaGuruById($id) { goto Dsqro; UJz_B: return $this->db->get()->row()->nama_guru; goto vr81n; jADQ4: $this->db->from("\x6d\141\x73\164\x65\x72\x5f\x67\x75\162\x75"); goto KLCCm; Dsqro: $this->db->select("\x6e\x61\x6d\141\137\147\165\162\165"); goto jADQ4; KLCCm: $this->db->where("\x69\144\x5f\x67\165\x72\165", $id); goto UJz_B; vr81n: } public function getElapsed($id) { goto eZes_; DAy1E: return $this->db->get()->row(); goto LLNcn; U17S4: $this->db->where("\x69\144\137\x64\165\162\x61\x73\151", $id); goto DAy1E; cNtFe: $this->db->from("\x63\142\164\137\x64\165\162\141\163\151\x5f\x73\x69\x73\x77\x61"); goto U17S4; eZes_: $this->db->select("\151\x64\137\x64\x75\x72\141\x73\x69\x2c\x20\151\x64\x5f\x73\151\x73\167\x61\54\x20\151\x64\x5f\152\141\x64\x77\x61\x6c\x2c\x20\x73\x74\141\164\165\x73\x2c\40\154\141\x6d\141\x5f\x75\152\151\x61\x6e\x2c\40\155\165\x6c\x61\x69\x2c\40\163\145\154\x65\163\x61\151\54\x20\162\x65\x73\x65\x74"); goto cNtFe; LLNcn: } public function getSoalSiswa($id_bank, $id_siswa) { goto q4aFG; Mn_4w: $this->db->from("\143\142\x74\x5f\x73\x6f\x61\x6c\x5f\163\x69\x73\167\x61\x20\x61"); goto y5lGU; c1cjx: return $this->db->get()->result(); goto CzZND; BZbZb: $this->db->order_by("\141\x2e\x6e\x6f\137\163\157\141\154\137\141\x6c\151\141\x73"); goto c1cjx; q4aFG: $this->db->select("\x61\56\x2a\54\40\x62\x2e\152\x65\156\x69\163\x2c\x20\x62\x2e\x6e\157\x6d\x6f\x72\137\163\157\141\x6c\54\40\x62\56\x6a\x61\x77\141\142\141\156"); goto Mn_4w; qxILn: $this->db->order_by("\141\x2e\x6a\145\156\151\163\x5f\163\157\141\x6c"); goto BZbZb; Vwhv3: $this->db->where("\141\56\151\x64\x5f\142\141\x6e\153", $id_bank); goto ekAGo; ekAGo: $this->db->where("\141\56\x69\144\x5f\x73\151\x73\167\x61", $id_siswa); goto qxILn; y5lGU: $this->db->join("\x63\142\x74\137\x73\157\141\x6c\40\142", "\x62\x2e\151\144\x5f\163\157\x61\x6c\75\x61\x2e\151\x64\137\163\x6f\x61\154", "\x6c\145\x66\164"); goto Vwhv3; CzZND: } public function getJumlahSoalSiswa($id_bank, $id_siswa) { goto qKcKr; S7sD9: $result = $this->db->get()->num_rows(); goto JUQV1; JUQV1: return $result; goto l1ll2; ekoZm: $this->db->where("\x69\x64\137\142\x61\156\x6b", $id_bank); goto O3dxA; qKcKr: $this->db->select("\x69\x64\137\163\157\141\x6c\x5f\163\x69\163\167\x61"); goto AiD2P; AiD2P: $this->db->from("\x63\142\164\x5f\163\157\x61\x6c\x5f\x73\151\x73\x77\141"); goto ekoZm; O3dxA: $this->db->where("\x69\144\137\163\x69\163\x77\141", $id_siswa); goto S7sD9; l1ll2: } public function getALLSoalSiswa($id_bank, $id_siswa) { goto wSsxk; lrN5b: $this->db->from("\143\142\x74\137\x73\x6f\x61\154\x5f\x73\151\x73\167\141\x20\x61"); goto KMQsZ; wSsxk: $this->db->select("\141\x2e\151\x64\137\163\x6f\x61\154\x5f\x73\x69\x73\x77\141\54\40\x61\56\151\x64\x5f\142\x61\x6e\x6b\x2c\40\141\x2e\151\x64\137\152\x61\x64\x77\x61\x6c\54\40\x61\56\151\144\x5f\163\157\x61\x6c\x2c\40\141\56\x69\144\x5f\163\x69\x73\x77\x61\x2c\x20\141\x2e\152\145\x6e\x69\163\137\x73\157\141\154\54" . "\40\x61\56\x6e\x6f\137\163\157\141\154\137\x61\154\x69\x61\163\x2c\40\x61\x2e\157\160\163\x69\x5f\141\154\x69\141\x73\137\x61\x2c\x20\x61\x2e\157\160\x73\151\x5f\x61\x6c\151\141\163\137\x62\54\40\141\56\157\x70\x73\151\137\141\154\x69\141\163\x5f\143\54\x20\x61\x2e\157\x70\x73\x69\137\141\154\x69\141\163\x5f\144\54\x20\141\x2e\x6f\160\163\x69\x5f\141\154\151\x61\x73\x5f\145\x2c" . "\40\141\x2e\x6a\141\167\x61\x62\x61\x6e\x5f\141\x6c\x69\x61\163\x2c\40\x61\x2e\152\141\x77\x61\142\x61\x6e\x5f\163\x69\x73\167\x61\x2c\x20\x61\56\x6a\x61\167\x61\142\x61\156\137\x62\145\x6e\141\x72\x2c\40\141\x2e\160\x6f\x69\156\x74\x5f\145\163\x73\x61\151\54\x20\x61\x2e\163\157\141\154\137\145\156\144\54\40\141\56\160\157\x69\x6e\x74\x5f\x73\157\141\x6c\x2c" . "\x20\x62\x2e\x69\144\x5f\x73\157\141\x6c\x2c\40\x62\x2e\156\157\x6d\157\x72\137\x73\x6f\141\x6c\54\40\x62\x2e\x73\x6f\141\x6c\54\x20\142\56\152\141\167\141\x62\141\156\x2c\x20\142\56\157\x70\x73\151\137\141\54\40\142\x2e\x6f\160\163\x69\x5f\142\54\40\x62\x2e\x6f\x70\163\x69\x5f\x63\54\x20\142\56\157\160\163\x69\x5f\144\x2c" . "\x20\x62\x2e\157\160\163\x69\x5f\145\54\40\x62\56\x74\141\155\160\x69\x6c\x6b\141\156"); goto lrN5b; ZVqK5: $this->db->where("\141\x2e\151\x64\137\163\151\x73\x77\x61", $id_siswa); goto t76Ur; KMQsZ: $this->db->join("\x63\142\x74\137\x73\x6f\141\x6c\x20\142", "\142\56\151\144\x5f\x73\x6f\141\154\75\x61\x2e\x69\144\x5f\163\157\141\154"); goto XuAg5; t76Ur: $this->db->order_by("\141\x2e\x6e\157\x5f\163\157\x61\154\137\141\154\151\141\x73"); goto fkap6; XTrxI: return $result; goto JJGbW; fkap6: $result = $this->db->get()->result(); goto XTrxI; XuAg5: $this->db->where("\x61\x2e\x69\x64\x5f\142\x61\156\153", $id_bank); goto ZVqK5; JJGbW: } public function getJumlahJawaban($id_bank, $id_siswa) { goto LpfWJ; cytWe: $this->db->from("\x63\x62\164\x5f\163\157\x61\154\x5f\163\151\163\x77\141"); goto i3Kcu; EoOwT: $result = $this->db->get()->result(); goto mA0P7; mA0P7: return $result; goto QtQst; SGW4t: $this->db->where("\x69\144\x5f\163\151\163\167\x61", $id_siswa); goto EoOwT; LpfWJ: $this->db->select("\152\141\x77\x61\142\141\x6e\137\x73\151\x73\167\x61\54\40\151\x64\x5f\x73\151\x73\167\141\x2c\x20\x69\x64\137\142\x61\x6e\x6b"); goto cytWe; i3Kcu: $this->db->where("\x69\x64\137\x62\141\x6e\x6b", $id_bank); goto SGW4t; QtQst: } public function getSoalSiswaByJadwal($id_jadwal, $id_siswa) { goto rNHo7; l4HKB: $this->db->where("\x61\x2e\151\x64\x5f\x6a\141\x64\167\x61\x6c", $id_jadwal); goto lzxbv; l9Z6j: $this->db->join("\143\x62\164\137\x73\157\x61\x6c\40\142", "\142\x2e\x69\x64\x5f\163\157\x61\x6c\75\x61\56\151\x64\137\163\157\x61\154"); goto l4HKB; QstuD: $this->db->from("\x63\x62\x74\137\x73\157\x61\x6c\137\163\x69\x73\167\x61\40\141"); goto l9Z6j; rNHo7: $this->db->select("\141\x2e\52\54\x20\x62\56\152\x65\156\x69\163\x2c\x20\x62\56\156\x6f\x6d\x6f\x72\x5f\163\157\141\x6c\54\40\142\x2e\x73\x6f\x61\x6c\x2c\40\x62\56\x6a\141\167\x61\142\x61\x6e\x2c\40\142\x2e\157\x70\x73\151\137\141\54\40\142\56\x6f\x70\x73\x69\137\x62\54\x20\142\x2e\x6f\160\x73\151\x5f\143\54\x20\142\x2e\x6f\160\x73\x69\x5f\x64\x2c\x20\142\x2e\157\160\x73\151\137\145"); goto QstuD; lzxbv: $this->db->where("\x61\56\151\144\137\163\151\163\x77\x61", $id_siswa); goto UcYzi; aicRD: $this->db->order_by("\x62\x2e\156\157\x6d\x6f\x72\137\163\157\141\x6c"); goto TrvBk; TrvBk: return $this->db->get()->result(); goto Gtx1I; UcYzi: $this->db->where("\142\x2e\x74\141\155\160\151\154\153\x61\x6e", "\x31"); goto gvKQX; gvKQX: $this->db->order_by("\x61\x2e\x6a\145\156\x69\x73\x5f\163\157\141\x6c"); goto aicRD; Gtx1I: } public function getSoalSiswaByNomor($id_soal_siswa) { goto Cqhvk; gag3w: $this->db->join("\143\142\164\x5f\163\x6f\x61\x6c\x20\142", "\x62\56\x69\144\137\163\x6f\x61\x6c\x3d\141\x2e\x69\144\x5f\163\x6f\x61\154"); goto rASr8; rASr8: $this->db->join("\143\x62\164\x5f\x62\141\156\153\137\x73\x6f\x61\154\x20\x63", "\142\x2e\x69\x64\137\x62\141\156\x6b\75\141\x2e\151\144\x5f\142\x61\156\x6b"); goto KmKNH; Cqhvk: $this->db->select("\141\x2e\x69\144\x5f\163\157\x61\154\137\x73\151\x73\x77\141\x2c\40\x61\56\x69\x64\137\x62\x61\x6e\153\54\40\x61\56\x6f\160\163\151\x5f\x61\x6c\x69\x61\x73\x5f\141\54\x20\x61\56\x6f\x70\163\x69\x5f\x61\154\151\141\163\137\x62\x2c\x20\141\56\157\160\x73\151\x5f\141\154\x69\141\163\x5f\143\54\x20\x61\x2e\x6f\160\163\151\137\141\x6c\x69\x61\163\137\144\x2c" . "\x20\141\x2e\157\160\x73\x69\x5f\141\x6c\151\141\x73\137\145\54\x20\141\56\x6e\157\137\163\157\141\154\x5f\141\154\x69\x61\x73\54\x20\141\x2e\152\141\167\x61\x62\141\156\x5f\141\154\151\x61\x73\x2c\40\x61\56\163\157\141\154\137\145\x6e\144\54\x20\x61\56\152\x61\x77\141\x62\x61\x6e\x5f\163\x69\163\167\x61\x2c" . "\40\x62\x2e\x69\144\x5f\163\157\141\154\54\x20\x62\56\152\145\156\x69\x73\54\x20\x62\56\156\x6f\155\x6f\162\x5f\x73\157\141\154\54\40\x62\x2e\163\x6f\x61\154\x2c\x20\x62\56\152\x61\167\x61\142\x61\x6e\x2c\x20\x62\56\x6f\160\x73\151\137\x61\x2c\40\142\56\x6f\x70\x73\x69\137\142\54\40\142\56\157\160\x73\151\x5f\143\54\x20\142\x2e\157\x70\163\x69\137\x64\54\x20\x62\x2e\157\160\163\151\137\145\x2c\x20\142\56\164\141\155\160\x69\x6c\153\x61\156\54" . "\x20\x63\x2e\x74\141\x6d\x70\151\154\137\160\147\x2c\x20\x63\x2e\x74\x61\155\160\151\154\137\x6b\157\x6d\160\154\x65\153\x73\x2c\40\x63\x2e\x74\x61\x6d\160\151\x6c\x5f\x6a\x6f\144\x6f\x68\x6b\x61\156\54\40\x63\x2e\x74\141\155\160\x69\x6c\137\151\x73\x69\x61\x6e\54\x20\143\x2e\x74\141\155\x70\151\154\137\x65\163\x61\x69\x2c"); goto Nlj_1; Nlj_1: $this->db->from("\143\x62\164\137\x73\157\141\154\137\163\x69\163\x77\141\x20\141"); goto gag3w; NMtNZ: return $this->db->get()->row(); goto m47jW; J16fI: $this->db->order_by("\x61\x2e\156\x6f\137\x73\x6f\141\x6c\137\141\154\x69\141\163"); goto NMtNZ; KmKNH: $this->db->where("\141\56\151\x64\137\163\x6f\141\154\x5f\x73\151\x73\167\141", $id_soal_siswa); goto J16fI; m47jW: } public function getSettingKartu() { goto B2SGY; G_yRg: $this->db->from("\x63\x62\x74\x5f\153\x6f\x70\137\x6b\x61\162\164\x75"); goto pD3a2; B2SGY: $this->db->select("\x2a"); goto G_yRg; pD3a2: return $this->db->get()->row(); goto nJ08Y; nJ08Y: } public function getSettingKopAbsensi() { goto HT2WQ; HT2WQ: $this->db->select("\141\56\x2a\54\40\142\56\x6c\x6f\147\157\137\x6b\x61\x6e\141\x6e\54\x20\x62\56\x6c\x6f\147\x6f\x5f\x6b\151\x72\x69\x2c\40\142\56\153\x65\160\x73\145\153\x2c\40\x62\x2e\164\x61\x6e\144\x61\x5f\x74\141\x6e\147\x61\x6e"); goto h3TBA; h3TBA: $this->db->from("\x63\142\164\137\153\x6f\160\137\x61\142\x73\145\x6e\x73\x69\x20\141"); goto JG16O; JG16O: $this->db->join("\x73\x65\164\164\151\156\147\40\x62", "\x62\56\151\x64\137\x73\x65\x74\x74\x69\156\147\x3d\x31", "\x6c\145\x66\164"); goto pJizy; pJizy: return $this->db->get()->row(); goto DVsgA; DVsgA: } public function getSettingKopBeritaAcara() { goto WA2rm; qN8tH: return $this->db->get()->row(); goto HVLNS; HxSV8: $this->db->from("\143\142\x74\137\x6b\x6f\x70\137\x62\x65\162\151\x74\x61\40\x61"); goto Shm3F; Shm3F: $this->db->join("\163\x65\x74\x74\151\156\147\x20\x64", "\144\x2e\151\x64\x5f\163\145\164\164\x69\x6e\x67\x3d\61", "\154\x65\146\x74"); goto qN8tH; WA2rm: $this->db->select("\x61\56\52\x2c\40\144\x2e\x6c\157\x67\157\137\x6b\x61\156\141\x6e\x2c\x20\144\56\x6c\157\x67\x6f\x5f\153\x69\162\151\54\x20\144\56\x6b\145\x70\163\x65\153\54\40\144\56\156\x69\160\x2c\40\144\x2e\x74\x61\156\144\x61\137\164\141\x6e\x67\141\156\x2c\40\x64\x2e\163\x65\x6b\x6f\x6c\x61\x68"); goto HxSV8; HVLNS: } public function getDurasiSiswa($id) { return $this->db->get_where("\x63\142\x74\137\x64\165\162\x61\163\151\x5f\163\151\163\167\x61", "\151\144\137\x64\x75\162\141\163\x69\x3d" . $id)->row(); } public function getFilterJawabanSiswa($jadwal, $arrIdSiswa) { goto fUWnu; yRtOS: $this->db->where_in("\151\x64\137\x73\151\x73\x77\141", $arrIdSiswa); goto dW2mI; dW2mI: return $this->db->get("\143\x62\164\x5f\163\157\x61\154\x5f\163\151\x73\167\141")->result(); goto hDnvc; fUWnu: $this->db->where("\151\x64\x5f\152\x61\144\x77\141\x6c", $jadwal); goto yRtOS; hDnvc: } public function getFilterDurasiSiswa($jadwal, $arrIdSiswa) { goto ABX2c; FrfjL: foreach ($result as $key => $row) { $ret[$row->id_durasi] = $row; rgfxr: } goto pN8Tw; ABX2c: $this->db->where("\151\x64\x5f\x6a\141\144\167\x61\x6c", $jadwal); goto X0Pew; wUYAs: return $ret; goto yvhL0; X0Pew: $result = $this->db->get_where("\143\x62\x74\137\144\165\x72\x61\x73\151\x5f\163\151\163\x77\141")->result(); goto xc8Gp; xc8Gp: $ret = []; goto FrfjL; pN8Tw: lhudb: goto wUYAs; yvhL0: } public function getJawabanByBank($id_bank, $id_siswa = null) { goto uJxGu; uJxGu: $this->db->select("\x61\56\x2a\54\40\x62\56\156\x6f\155\157\x72\137\163\157\141\154\x2c\x20\142\56\152\141\x77\141\x62\x61\156"); goto Q_CXO; B06A1: o0by2: goto kAIQV; K0ZTc: $this->db->where("\141\56\x69\x64\x5f\x73\x69\x73\167\x61\75", $id_siswa); goto B06A1; agxCl: return $result; goto mR8KF; xSGQu: if (!($id_siswa != null)) { goto o0by2; } goto K0ZTc; Q_CXO: $this->db->from("\x63\142\x74\137\x73\157\x61\154\137\x73\x69\163\167\141\40\141"); goto AXsFw; AXsFw: $this->db->join("\143\142\164\137\x73\x6f\141\x6c\x20\x62", "\142\x2e\151\144\x5f\163\157\x61\x6c\75\x61\56\x69\x64\137\x73\x6f\x61\x6c"); goto xSGQu; gI7z1: $result = $this->db->get()->result(); goto agxCl; kAIQV: $this->db->where("\x61\x2e\x69\x64\137\142\141\156\153\75", $id_bank); goto gI7z1; mR8KF: } public function getJawabanSiswa($id) { goto CGTKE; EbiER: $this->db->where("\x69\x64\137\163\157\141\x6c\x5f\163\x69\x73\x77\141\x3d", $id); goto wDHBd; wDHBd: return $this->db->get()->row(); goto zsD_2; sM4v9: $this->db->from("\143\x62\x74\x5f\x73\x6f\141\x6c\x5f\163\x69\x73\167\x61"); goto EbiER; CGTKE: $this->db->select("\151\144\x5f\163\157\141\x6c\137\163\151\163\x77\x61\54\40\151\x64\x5f\x62\141\x6e\x6b\x2c\40\x69\144\x5f\x6a\141\x64\x77\141\154\54\x20\x69\144\137\x73\157\141\154\x2c\x20\x69\x64\137\x73\x69\x73\x77\141\54\x20\x6a\145\x6e\x69\163\137\x73\157\141\x6c\x2c\40\156\157\x5f\163\157\x61\154\x5f\141\154\x69\141\x73\x2c\40\157\160\163\x69\137\141\x6c\151\141\163\x5f\141\x2c\40\157\x70\163\151\137\141\x6c\151\141\x73\137\142\54\x20\157\x70\163\x69\x5f\141\154\151\x61\x73\137\x63\54\x20\x6f\160\163\151\x5f\141\x6c\151\141\x73\137\144\x2c\x20\x6f\160\x73\x69\x5f\x61\x6c\x69\x61\163\137\145\x2c\40\x6a\x61\x77\141\142\x61\156\x5f\141\154\x69\141\x73\54\40\x6a\x61\x77\x61\x62\141\x6e\137\x73\x69\x73\167\x61\54\40\152\x61\x77\x61\x62\141\156\x5f\142\145\x6e\141\162\54\x20\160\x6f\x69\x6e\164\x5f\163\157\141\x6c"); goto sM4v9; zsD_2: } public function getJawabanSiswaByJadwal($id_jadwal, $id_siswa = null) { goto bU3r9; R0uT3: $this->db->join("\143\142\x74\x5f\x73\x6f\x61\x6c\x20\142", "\x62\56\151\144\x5f\x73\x6f\x61\154\75\x61\56\151\x64\x5f\x73\157\x61\154"); goto LJSU0; bU3r9: $this->db->select("\x61\x2e\52\54\40\x62\x2e\152\x65\156\x69\163\54\x20\x62\x2e\x6e\x6f\x6d\157\162\137\163\x6f\141\154\54\x20\x62\x2e\163\157\141\x6c\54\40\x62\56\x6a\x61\167\x61\142\141\x6e\54\40\142\x2e\157\x70\x73\151\137\x61\x2c\x20\x62\56\x6f\160\163\151\x5f\x62\54\40\x62\56\x6f\x70\x73\151\x5f\143\54\x20\142\56\157\160\163\x69\137\144\54\x20\142\x2e\157\x70\x73\151\x5f\x65\x2c\x20\x62\56\x74\141\155\x70\x69\154\153\141\x6e"); goto YIwHy; QPFds: $this->db->where("\x62\x2e\x74\x61\x6d\x70\x69\154\x6b\141\156", "\x31"); goto s1MrK; Yl2a8: $this->db->order_by("\x62\x2e\156\157\x6d\157\162\137\x73\x6f\x61\154"); goto kwXtK; LJSU0: if (!($id_siswa != null)) { goto GCcPb; } goto pnewi; W1env: eS1tW: goto mg_Wp; OlGcR: fze1C: goto iYW2u; mg_Wp: GCcPb: goto uR9Fm; s1MrK: $this->db->order_by("\141\56\x6a\x65\x6e\151\x73\x5f\x73\157\141\154"); goto Yl2a8; uR9Fm: $this->db->where("\141\56\x69\144\x5f\152\141\144\167\141\154\75", $id_jadwal); goto QPFds; VVBkl: $this->db->where("\141\56\x69\x64\137\x73\151\163\x77\141", $id_siswa); goto CRi_m; YIwHy: $this->db->from("\143\142\164\137\163\x6f\141\154\137\x73\151\163\x77\x61\40\x61"); goto R0uT3; kwXtK: return $this->db->get()->result(); goto yrYUS; CRi_m: goto eS1tW; goto OlGcR; pnewi: if (is_array($id_siswa)) { goto fze1C; } goto VVBkl; iYW2u: $this->db->where_in("\x61\x2e\x69\144\137\x73\x69\x73\x77\141", $id_siswa); goto W1env; yrYUS: } public function getIdSiswaFromJawabanByJadwal($id_jadwal) { goto NnEYH; xlVzA: XqjQn: goto xtz83; L6YWj: foreach ($result as $row) { $retur[$row->id_siswa][] = $row; T0Dv8: } goto xlVzA; NnEYH: $result = $this->db->get_where("\143\x62\x74\137\163\157\x61\154\x5f\163\x69\x73\x77\141", "\x69\x64\x5f\x6a\x61\144\167\141\x6c\x3d" . $id_jadwal)->result(); goto trvSx; trvSx: $retur = []; goto L6YWj; xtz83: return $retur; goto BXhp0; BXhp0: } public function getDurasiSiswaByJadwal($id_jadwal, $id_siswa = null) { goto YMlB2; lk1_N: $this->db->from("\143\142\164\137\144\165\162\141\163\151\137\163\151\163\167\x61"); goto Kia4j; MiuCu: adxfY: goto UhZQU; YMlB2: $this->db->select("\151\144\137\144\165\x72\x61\163\151\54\x20\151\x64\x5f\x73\x69\163\167\141\54\40\x69\x64\137\x6a\141\144\x77\x61\154\54\40\x73\164\x61\164\165\x73\x2c\x20\154\141\155\141\137\x75\x6a\x69\141\x6e\54\x20\x6d\x75\154\141\151\x2c\40\x73\x65\x6c\x65\x73\141\x69\x2c\x20\162\145\x73\x65\164"); goto lk1_N; UhZQU: return $this->db->get()->result(); goto sQXYd; ZULz2: if (!($id_siswa != null)) { goto adxfY; } goto uM6nv; uM6nv: $this->db->where("\x69\x64\137\x73\151\x73\x77\x61\75", $id_siswa); goto MiuCu; Kia4j: $this->db->where("\151\x64\137\x6a\x61\144\167\141\154\x3d", $id_jadwal); goto ZULz2; sQXYd: } public function getIdSiswaFromDurasiByJadwal($id_jadwal) { goto N4wan; LRnXC: WYjiX: goto tGVp3; N4wan: $result = $this->db->get_where("\143\142\164\x5f\x64\x75\x72\x61\163\x69\x5f\163\x69\x73\x77\141", "\151\144\137\152\141\144\x77\x61\154\x3d" . $id_jadwal)->result(); goto rv3ah; rv3ah: $retur = []; goto B7G_W; B7G_W: foreach ($result as $row) { $retur[$row->id_siswa] = $row; ekSie: } goto LRnXC; tGVp3: return $retur; goto R7Gpy; R7Gpy: } public function getLogUjianByJadwal($id_jadwal) { goto rv96k; jkn01: return $this->db->get()->result(); goto zw_y1; rv96k: $this->db->select("\151\144\x5f\154\157\147\54\x20\154\x6f\147\x5f\164\x69\x6d\x65\x2c\40\x69\144\x5f\x73\151\x73\167\141\x2c\40\x69\144\137\152\141\144\167\x61\154\x2c\x20\154\x6f\147\x5f\164\171\160\x65\x2c\40\154\157\x67\x5f\144\x65\163\x63\54\40\x61\x64\144\x72\x65\x73\x73\54\40\x61\147\145\156\x74\x2c\40\x64\145\x76\151\143\145\x2c\40\x72\145\163\x65\x74"); goto Bp2Pj; W1Z04: $this->db->where("\151\x64\x5f\152\141\x64\x77\141\x6c\75", $id_jadwal); goto jkn01; Bp2Pj: $this->db->from("\x6c\157\x67\137\x75\152\151\141\x6e"); goto W1Z04; zw_y1: } public function getIdSiswaFromLogUjianByJadwal($id_jadwal) { goto KXjV3; w2fRP: foreach ($result as $row) { $retur[$row->id_siswa] = $row; P00q1: } goto YHRe5; YHRe5: I3OAm: goto XoD3I; KXjV3: $result = $this->db->get_where("\x6c\157\147\137\165\152\151\x61\x6e", "\x69\144\137\152\x61\144\x77\141\154\75" . $id_jadwal)->result(); goto KyYTP; XoD3I: return $retur; goto iAqNW; KyYTP: $retur = []; goto w2fRP; iAqNW: } public function getNilaiSiswa($arr_jadwal, $id_siswa) { goto uPbjl; Aw41F: wQe8v: goto q0jhV; uPbjl: $this->db->select("\52"); goto iUAS_; q0jhV: return $retur; goto ZhRlO; rax59: foreach ($result as $row) { $retur[$row->id_jadwal] = $row; khHMa: } goto Aw41F; MRA6m: $result = $this->db->get()->result(); goto qIe7i; iUAS_: $this->db->from("\x63\142\x74\x5f\156\x69\154\141\151"); goto O_Q2h; qIe7i: $retur = []; goto rax59; O_Q2h: $this->db->where_in("\151\x64\x5f\x6a\141\x64\167\x61\154", $arr_jadwal); goto timv4; timv4: $this->db->where("\151\144\137\x73\151\163\x77\x61", $id_siswa); goto MRA6m; ZhRlO: } public function getNilaiSiswaByJadwal($id_jadwal, $id_siswa) { goto Ei6MG; Z4AWM: $result = $this->db->get()->row(); goto jBdeP; Ei6MG: $this->db->select("\52"); goto GZJ2N; AOEed: $this->db->where("\x69\144\x5f\163\x69\163\167\141", $id_siswa); goto Z4AWM; GZJ2N: $this->db->from("\x63\x62\x74\x5f\156\x69\154\x61\x69"); goto LWeYs; LWeYs: $this->db->where("\x69\144\x5f\x6a\141\144\x77\141\x6c", $id_jadwal); goto AOEed; jBdeP: return $result; goto HTqXb; HTqXb: } public function getNilaiAllSiswa($arr_jadwal, $arr_id_siswa) { goto NLJmo; NLJmo: $this->db->select("\52"); goto aqXGa; gdj5d: $result = $this->db->get()->result(); goto ThfmU; f7pcQ: foreach ($result as $row) { $retur[$row->id_siswa] = $row; QU_Ic: } goto DfjVA; Gs5q9: $this->db->where_in("\x69\x64\137\x73\x69\x73\167\141", $arr_id_siswa); goto gdj5d; WqY9b: return $retur; goto lvh9L; aqXGa: $this->db->from("\x63\x62\164\x5f\x6e\x69\x6c\141\x69"); goto e8GJ5; DfjVA: f7Iwf: goto WqY9b; e8GJ5: $this->db->where_in("\x69\144\x5f\152\141\x64\x77\x61\154", $arr_jadwal); goto Gs5q9; ThfmU: $retur = []; goto f7pcQ; lvh9L: } public function getAllNilaiSiswa($id_jadwal) { goto Zobe1; Zobe1: $this->db->select("\52"); goto g2UeQ; pn7Da: foreach ($result as $row) { $retur[$row->id_siswa] = $row; VgWks: } goto bIKjQ; g2UeQ: $this->db->from("\x63\142\x74\x5f\x6e\x69\x6c\x61\x69"); goto z31wR; Be5gO: $result = $this->db->get()->result(); goto E95Ku; z31wR: $this->db->where("\151\x64\137\152\x61\144\x77\141\x6c", $id_jadwal); goto Be5gO; bIKjQ: yhhcv: goto sR6kW; E95Ku: $retur = []; goto pn7Da; sR6kW: return $retur; goto Cg0sU; Cg0sU: } public function getTotalKoreksi() { goto zH4Tj; YL40p: ehZZD: goto qI9L2; hm3Y_: $this->db->from("\x63\x62\164\137\156\151\154\x61\x69"); goto YpIYh; sMVl0: foreach ($result as $row) { goto widsq; widsq: if (!($row->id_siswa != null)) { goto RzusT; } goto Km_7n; Km_7n: $retur[$row->id_jadwal][$row->dikoreksi][] = $row->id_siswa; goto QhoTv; gZcmh: w6ivR: goto JvPhm; QhoTv: RzusT: goto gZcmh; JvPhm: } goto YL40p; qI9L2: return $retur; goto ewxFZ; YpIYh: $result = $this->db->get()->result(); goto z11cK; z11cK: $retur = []; goto sMVl0; zH4Tj: $this->db->select("\x69\x64\x5f\x6a\x61\x64\167\x61\x6c\x2c\40\x64\151\x6b\x6f\162\x65\x6b\163\151\54\40\151\144\x5f\x73\x69\163\167\141"); goto hm3Y_; ewxFZ: } public function getNilaiAnalisis($id_jadwal) { return $this->db->get_where("\x63\x62\x74\x5f\x6e\151\x6c\x61\151", "\151\x64\137\x6a\x61\x64\167\141\154\x3d" . $id_jadwal)->result(); } public function getLogUjian($siswa_id, $id_jadwal) { return $this->db->get_where("\x6c\x6f\147\137\165\152\x69\141\156", "\151\144\137\x73\151\x73\x77\x61\75" . $siswa_id . "\x20\101\116\104\x20\x69\144\137\x6a\141\144\167\141\x6c\x3d" . $id_jadwal)->result(); } public function getNomorPeserta($id_siswa) { return $this->db->get_where("\143\x62\x74\137\x6e\x6f\155\x6f\162\137\x70\145\x73\145\162\x74\x61", "\x69\144\137\163\151\163\167\x61\x3d" . $id_siswa)->row(); } public function getAllNomorPeserta() { goto QGr6M; cyXXb: tkkP1: goto BccVn; BccVn: return $ret; goto TUNXS; rr0gw: $result = $this->db->get("\143\142\x74\x5f\156\157\155\157\162\137\160\145\x73\x65\x72\x74\141")->result(); goto fEyul; QGr6M: $this->db->select("\x2a"); goto rr0gw; fEyul: $ret = []; goto TncXt; TncXt: foreach ($result as $row) { $ret[$row->id_siswa] = $row; dYrTy: } goto cyXXb; TUNXS: } public function getDistinctTahun() { goto F6LDC; zNJcQ: rXF5k: goto qss9F; onWLG: $result = $this->db->get("\143\142\x74\137\x72\x65\x6b\141\x70\137\x6e\x69\154\141\151")->result(); goto D0_y8; mZOKx: $this->db->distinct(); goto onWLG; qss9F: return $ret; goto l70YC; mAcdZ: foreach ($result as $row) { $ret[$row->tp] = $row->tp; s1xz_: } goto zNJcQ; F6LDC: $this->db->select("\x74\x70"); goto mZOKx; D0_y8: $ret = []; goto mAcdZ; l70YC: } public function getDistinctSmt() { goto aMvwZ; hMMv2: return $ret; goto dqjzM; PffvO: $ret = []; goto EW98t; WBKQM: $result = $this->db->get("\143\x62\164\137\x72\145\x6b\x61\x70\x5f\156\151\154\141\151")->result(); goto PffvO; n9kl2: zA9e6: goto hMMv2; EW98t: foreach ($result as $row) { $ret[$row->smt] = $row->smt; YDuez: } goto n9kl2; aMvwZ: $this->db->select("\x73\155\164"); goto aqPNQ; aqPNQ: $this->db->distinct(); goto WBKQM; dqjzM: } public function getDistinctJenisUjian() { goto Iqzn8; EV4S7: UtTty: goto X9ZhZ; XJNDv: $this->db->distinct(); goto IXqBg; X9ZhZ: return $ret; goto qS6CS; Iqzn8: $this->db->select("\164\160\x2c\40\x73\155\164\x2c\x20\x6b\157\144\145\x5f\x6a\x65\x6e\151\163"); goto XJNDv; V6Del: foreach ($result as $row) { $ret[$row->tp][$row->smt][$row->kode_jenis] = $row->kode_jenis; bGwII: } goto EV4S7; cZfKq: $ret = []; goto V6Del; IXqBg: $result = $this->db->get("\143\x62\x74\137\162\x65\153\x61\x70\x5f\156\151\x6c\x61\151")->result(); goto cZfKq; qS6CS: } public function getDistinctJenis() { goto OEX1w; aq7V4: $result = $this->db->get("\x63\x62\x74\137\x72\x65\153\141\x70\137\156\x69\154\x61\151")->result(); goto Bc0k0; hOS0I: $this->db->distinct(); goto aq7V4; G_I7N: pbcFs: goto Lg84V; Bc0k0: $ret = []; goto ae9km; Lg84V: return $ret; goto ZhzpN; ae9km: foreach ($result as $row) { $ret[$row->tp][$row->smt][$row->id_jenis] = $row->kode_jenis; Zsdb9: } goto G_I7N; OEX1w: $this->db->select("\151\x64\137\152\x65\156\151\x73\x2c\40\x74\x70\x2c\x20\x73\x6d\x74\x2c\x20\153\x6f\144\145\x5f\x6a\145\156\151\x73"); goto hOS0I; ZhzpN: } public function getDistinctKelas($id_jadwal = null) { goto jVgZ5; DuVGY: foreach ($result as $row) { goto KFwRR; OdvdC: $ret[$row->tp][$row->smt][$row->kode_jenis][$row->id_kelas] = $row->nama_kelas; goto gdAew; KFwRR: if (!($row->id_kelas != '')) { goto PWvDS; } goto OdvdC; gdAew: PWvDS: goto T2tJ1; T2tJ1: IXzHu: goto R3aD5; R3aD5: } goto OF9kq; mn7M5: $ret = []; goto DuVGY; zWMmk: return $ret; goto TYQo5; hW_eN: if (!($id_jadwal != null)) { goto PlS1Q; } goto V2EY7; Uqpxv: $this->db->distinct(); goto IORpR; jVgZ5: $this->db->select("\x61\x2e\164\160\x2c\x20\x61\x2e\x73\x6d\x74\x2c\x20\x61\56\153\157\144\145\137\152\145\x6e\151\163\54\40\141\x2e\151\144\137\x6b\145\154\141\163\x2c\40\142\x2e\156\141\155\141\x5f\x6b\145\x6c\x61\163"); goto Uqpxv; XGJRm: $result = $this->db->get()->result(); goto mn7M5; B7xqL: $this->db->join("\155\141\163\164\145\162\137\x6b\145\x6c\141\163\40\x62", "\142\56\151\x64\x5f\x6b\x65\x6c\141\x73\75\141\56\151\144\137\x6b\145\154\x61\x73"); goto XGJRm; IORpR: $this->db->from("\x63\x62\x74\137\x72\x65\153\x61\x70\x5f\x6e\151\x6c\141\x69\40\141"); goto hW_eN; cUkF4: PlS1Q: goto B7xqL; V2EY7: $this->db->where("\x69\x64\137\152\x61\x64\167\141\x6c", $id_jadwal); goto cUkF4; OF9kq: U4Y7B: goto zWMmk; TYQo5: } }

Function Calls

None

Variables

None

Stats

MD5 ce394fd87347751cfc056727c510e847
Eval Count 0
Decode Time 131 ms