Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /* ________________________________________ | GarudaCBT ..
Decoded Output download
<?php
/* ________________________________________
| GarudaCBT |
| https://github.com/garudacbt/cbt |
|________________________________________|
*/
class Cbt_model extends CI_Model { public function get_where($table, $pk, $id, $join = null, $order = null) { goto va13b; AYvfU: if (!($order !== null)) { goto seTLV; } goto LBfzO; va13b: $this->db->select("*"); goto klg0y; LBfzO: foreach ($order as $field => $sort) { $this->db->order_by($field, $sort); iAqbh: } goto EXoSr; klg0y: $this->db->from($table); goto USmXj; EXoSr: WUixy: goto ycmS0; EBrom: foreach ($join as $table => $field) { $this->db->join($table, $field); Mke25: } goto mNl_0; BgNOP: $query = $this->db->get(); goto ifsGe; ycmS0: seTLV: goto BgNOP; USmXj: $this->db->where($pk, $id); goto jSUJS; ifsGe: return $query; goto O7SUB; tCycW: Rwry0: goto AYvfU; mNl_0: srfX1: goto tCycW; jSUJS: if (!($join !== null)) { goto Rwry0; } goto EBrom; O7SUB: } public function saveLog($id_siswa, $id_jadwal, $type, $desc) { goto dyC8K; YbC6t: n0zsA: goto WfrtW; nJ0Vk: if ($this->agent->is_mobile()) { goto fETX4; } goto URps3; VS7i_: $agent = $this->agent->browser() . " " . $this->agent->version(); goto Vy8H1; dyC8K: if ($this->agent->is_browser()) { goto m07Di; } goto nJ0Vk; vTDv_: return "error"; goto ginrK; ZRYHN: goto n0zsA; goto PboVX; ZGxJb: $agent = $this->agent->mobile(); goto YbC6t; WfrtW: if ($agent == "unknown") { goto xZ9M2; } goto wZPZw; Xczci: return $this->insertLog($id_siswa, $id_jadwal, $type, $desc, $agent, $os, $ip); goto TCyyP; PboVX: m07Di: goto VS7i_; PIDWx: fETX4: goto ZGxJb; URps3: $agent = "unknown"; goto ZRYHN; ginrK: rzOH3: goto nwDk3; TCyyP: goto rzOH3; goto FZlDo; awVku: $ip = $this->input->ip_address(); goto Xczci; wZPZw: $os = $this->agent->platform(); goto awVku; Vy8H1: goto n0zsA; goto PIDWx; FZlDo: xZ9M2: goto vTDv_; nwDk3: } private function insertLog($id_siswa, $id_jadwal, $type, $desc, $agent, $os, $ip) { goto y6QFC; y6QFC: $log = $this->db->where("id_log", $id_siswa . "0" . $id_jadwal . $type)->get("log_ujian")->row(); goto Fi1SY; Mhc73: mTZaD: goto J3uqt; Fi1SY: if ($log != null) { goto mTZaD; } goto Vt4YL; aS3gv: goto qZU89; goto Mhc73; J3uqt: $this->db->set("log_type", $type); goto vIE8j; WKu1q: qZU89: goto tCfPQ; QHqyy: $insert = $this->db->update("log_ujian"); goto WKu1q; tCfPQ: return $insert; goto JEbHm; Vt4YL: $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 Um6Qn; Um6Qn: $insert = $this->db->insert("log_ujian", $data); goto aS3gv; vIE8j: $this->db->set("log_desc", $desc); goto J0LBG; J0LBG: $this->db->where("id_log", $id_siswa . "0" . $id_jadwal . $type); goto QHqyy; JEbHm: } public function getDataSiswa($username, $id_tp, $id_smt) { goto KuhZh; KuhZh: $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 JVe7m; XKT17: $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 tGTm7; o1sKL: $this->db->where("username", $username); goto rl_dK; tGTm7: $this->db->join("cbt_sesi_siswa d", "a.id_siswa=d.siswa_id", "left"); goto o1sKL; tn3Du: return $query; goto uGgHT; uIpJY: $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 XKT17; rl_dK: $query = $this->db->get()->row(); goto tn3Du; JVe7m: $this->db->from("master_siswa a"); goto uIpJY; uGgHT: } public function getDataSiswaById($id_tp, $id_smt, $idSiswa) { goto w89wF; dtPaz: $this->db->join("cbt_sesi e", "e.id_sesi=c.sesi_id", "left"); goto Q0nVK; CIJ6M: return $this->db->get()->row(); goto o29W6; vFj7E: $this->db->join("cbt_sesi j", "j.id_sesi=h.id_sesi", "left"); goto gqxRQ; RAcG2: $this->db->join("master_siswa b", "b.id_siswa=a.id_siswa", "left"); goto GHTmo; GHTmo: $this->db->join("cbt_sesi_siswa c", "c.siswa_id=a.id_siswa", "left"); goto xRBdL; A5URR: $this->db->join("cbt_ruang i", "i.id_ruang=h.id_ruang", "left"); goto vFj7E; w89wF: $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 egGlj; egGlj: $this->db->from("kelas_siswa a"); goto RAcG2; aBeHL: $this->db->join("cbt_nomor_peserta g", "g.id_siswa=a.id_siswa AND g.id_tp=" . $id_tp, "left"); goto zgcf1; gqxRQ: $this->db->where("a.id_tp", $id_tp); goto HAEr3; zgcf1: $this->db->join("cbt_kelas_ruang h", "h.id_kelas=a.id_kelas", "left"); goto A5URR; xRBdL: $this->db->join("cbt_ruang d", "d.id_ruang=c.ruang_id", "left"); goto dtPaz; HAEr3: $this->db->where("a.id_smt", $id_smt); goto Eyd0U; Eyd0U: $this->db->where("a.id_siswa", $idSiswa); goto CIJ6M; Q0nVK: $this->db->join("master_kelas f", "f.id_kelas=a.id_kelas", "left"); goto aBeHL; o29W6: } public function getWaktuSesiById($id_sesi) { goto UV39I; qXvDu: $result = $this->db->get("cbt_sesi")->row(); goto wSR9o; UV39I: $this->db->select("*"); goto JRAim; wSR9o: return $result; goto t6g60; JRAim: $this->db->where("id_sesi", $id_sesi); goto qXvDu; t6g60: } public function getAllRuang() { goto ktBCB; jE20B: return $ret; goto uwzKi; GDjbi: $result = $this->db->get("cbt_ruang")->result(); goto H3hLs; MFXas: foreach ($result as $key => $row) { $ret[$row->id_ruang] = $row->kode_ruang; SfUo9: } goto o21OP; H3hLs: $ret = []; goto IFDFN; o21OP: hliI6: goto iId4I; IFDFN: if (!$result) { goto uJj25; } goto MFXas; ktBCB: $this->db->select("id_ruang, nama_ruang, kode_ruang"); goto GDjbi; iId4I: uJj25: goto jE20B; uwzKi: } public function getKelasByLevel($level, $arrKelas) { goto rnk4A; jlKF5: $this->db->where("level_id", $level); goto dIBne; rnk4A: $this->db->select("id_kelas, kode_kelas"); goto jlKF5; ksjs7: return $result; goto m2Rxi; dIBne: $this->db->where_in("id_kelas", $arrKelas); goto mW9sj; mW9sj: $result = $this->db->get("master_kelas")->result(); goto ksjs7; m2Rxi: } public function getAllJurusan() { goto rCKLk; YzczN: VT_Jr: goto F6XDz; rCKLk: $result = $this->db->get("master_jurusan")->result(); goto uF34L; F6XDz: Sgm3R: goto BePWp; BePWp: return $ret; goto wLWMP; uF34L: if (!$result) { goto Sgm3R; } goto v91lf; v91lf: foreach ($result as $key => $row) { $ret[$row->id_jurusan] = $row->kode_jurusan; AG6DE: } goto YzczN; wLWMP: } public function getPengawas($id_pengawas) { goto prjJf; prjJf: $this->db->select("id_pengawas, id_jadwal, id_tp, id_smt, id_ruang, id_sesi, id_guru"); goto u70sR; HZhxB: $this->db->where("id_pengawas", $id_pengawas); goto Ck19L; Ck19L: return $this->db->get()->row(); goto YPfQH; u70sR: $this->db->from("cbt_pengawas"); goto HZhxB; YPfQH: } public function getPengawasByGuru($tp, $smt, $id_guru) { goto ZzZCu; mc3JZ: $this->db->where("a.id_tp", $tp); goto DMoCf; ZzZCu: $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 Kj1mX; jy7w3: $this->db->join("cbt_jadwal b", "b.id_jadwal=a.id_jadwal"); goto j1vMU; DMoCf: $this->db->where("a.id_smt", $smt); goto xmy0U; drz9H: return $this->db->get()->result(); goto WkBng; xmy0U: $this->db->like("a.id_guru", $id_guru); goto jy7w3; Kj1mX: $this->db->from("cbt_pengawas a"); goto mc3JZ; j1vMU: $this->db->join("cbt_bank_soal c", "b.id_bank=c.id_bank"); goto drz9H; WkBng: } public function getPengawasByJadwal($tp, $smt, $id_jadwal, $sesi = null, $ruang = null) { goto V0Li_; pGfhP: $result = $this->db->get()->result(); goto L5uFD; ZP32T: $this->db->where("id_ruang", $ruang); goto bpyGH; Kl8pE: $this->db->where("id_smt", $smt); goto ebwJN; xYagt: $this->db->from("cbt_pengawas"); goto fBzZ4; YN05u: if (!($sesi != null)) { goto vXkSv; } goto N_29u; ebwJN: $this->db->where("id_jadwal", $id_jadwal); goto YN05u; L5uFD: return $result; goto YyYvM; ueU4I: vXkSv: goto GxdwN; fBzZ4: $this->db->where("id_tp", $tp); goto Kl8pE; bpyGH: hNHGT: goto pGfhP; GxdwN: if (!($ruang != null)) { goto hNHGT; } goto ZP32T; V0Li_: $this->db->select("id_pengawas, id_guru"); goto xYagt; N_29u: $this->db->where("id_sesi", $sesi); goto ueU4I; YyYvM: } public function getAllPengawas($tp, $smt, $ruang = null, $sesi = null) { goto dRn5c; QJ4vY: bQa1q: goto kBkl5; WleoN: $this->db->from("cbt_pengawas"); goto rjmxc; PB2fY: fVNrE: goto IXX4f; IXX4f: if (!($sesi != null)) { goto znncv; } goto cYPXQ; q71Lw: $this->db->where("id_smt", $smt); goto p1rVF; rjmxc: $this->db->where("id_tp", $tp); goto q71Lw; VKVD4: return $ret; goto tzgGy; BnhuC: znncv: goto syITq; iWkHR: if (!$result) { goto s0QyI; } goto exbSE; p1rVF: if (!($ruang != null)) { goto fVNrE; } goto K0pMW; PVurR: $ret = []; goto iWkHR; K0pMW: $this->db->where("id_ruang", $ruang); goto PB2fY; cYPXQ: $this->db->where("id_sesi", $sesi); goto BnhuC; dRn5c: $this->db->select("id_pengawas, id_jadwal, id_ruang, id_sesi, id_guru"); goto WleoN; exbSE: foreach ($result as $key => $row) { $ret[$row->id_jadwal][$row->id_ruang][$row->id_sesi] = $row; zn9LO: } goto QJ4vY; kBkl5: s0QyI: goto VKVD4; syITq: $result = $this->db->get()->result(); goto PVurR; tzgGy: } public function getDistinctRuang($tp, $smt, $arrKelas) { goto wzoYX; mqRgJ: $result = $this->db->get()->result(); goto MrDUr; GVVJL: $this->db->order_by("c.nama_sesi", "ASC"); goto mqRgJ; gPUlm: HIqNT: goto UFBQc; wzoYX: $this->db->distinct("a.ruang_id"); goto WPpjX; Aj63t: foreach ($result as $key => $row) { $ret[$row->ruang_id][$row->sesi_id] = $row; W7DCE: } goto Sx3bm; QqlBJ: $this->db->join("cbt_sesi c", "c.id_sesi=a.sesi_id"); goto FYtUJ; bzphq: KaR2N: goto pOO5G; ABHa1: $this->db->where_in("kelas_id", $arrKelas); goto gPUlm; FYtUJ: if (!(count($arrKelas) > 0)) { goto HIqNT; } goto ABHa1; UFBQc: $this->db->order_by("b.nama_ruang", "ASC"); goto GVVJL; kHBK0: $this->db->join("cbt_ruang b", "b.id_ruang=a.ruang_id"); goto QqlBJ; ZSbss: if (!$result) { goto KaR2N; } goto Aj63t; MrDUr: $ret = []; goto ZSbss; Sx3bm: qxxjT: goto bzphq; WPpjX: $this->db->select("a.ruang_id, a.sesi_id, b.kode_ruang, b.nama_ruang, c.kode_sesi, c.nama_sesi"); goto exKHh; exKHh: $this->db->from("cbt_sesi_siswa a"); goto kHBK0; pOO5G: return $ret; goto CdkQS; CdkQS: } public function getKelasUjian($kelas_id) { goto Vxa9E; ITuo6: $result = $this->db->get()->result(); goto kH8JI; Vxa9E: $this->db->select("kelas_id, ruang_id, sesi_id"); goto BDFG3; kH8JI: $ret = []; goto Aubwa; IOm6o: n0TBh: goto oc__d; oc__d: hBu2k: goto EckTe; Kw2sq: $this->db->where("kelas_id", $kelas_id); goto ITuo6; Aubwa: if (!$result) { goto hBu2k; } goto oGnVJ; oGnVJ: foreach ($result as $key => $row) { $ret[$row->ruang_id][$row->sesi_id][] = $row->kelas_id; c3hmR: } goto IOm6o; EckTe: return $ret; goto iE6Rv; BDFG3: $this->db->from("cbt_sesi_siswa"); goto Kw2sq; iE6Rv: } public function getDistinctKelasLevel($tp, $smt, $arrLevel) { goto xQwLC; gIdvq: $this->db->distinct(); goto sQ0wx; nfA_Q: $result = $this->db->get()->result(); goto TqTQn; sQ0wx: $this->db->from("master_kelas"); goto r7tWU; r7tWU: $this->db->where("id_tp", $tp); goto Rpwnk; xQwLC: $this->db->select("id_kelas, level_id"); goto gIdvq; TqTQn: return $result; goto ldDmR; Rpwnk: $this->db->where("id_smt", $smt); goto mLdCB; mLdCB: $this->db->where_in("level_id", $arrLevel); goto nfA_Q; ldDmR: } public function getAllJenisUjian() { goto FfwcW; KB7lb: $ret[''] = "Jenis Penilaian :"; goto CuHOr; FfwcW: $this->db->select("id_jenis, nama_jenis, kode_jenis"); goto StbTT; Gx6EE: FzY3d: goto b0xlV; StbTT: $result = $this->db->get("cbt_jenis")->result(); goto KB7lb; b0xlV: return $ret; goto qOlZQ; tkZjn: vyvEA: goto Gx6EE; cUwP7: foreach ($result as $key => $row) { $ret[$row->id_jenis] = $row->kode_jenis; cX1zq: } goto tkZjn; CuHOr: if (!$result) { goto FzY3d; } goto cUwP7; qOlZQ: } public function getAllJenisUjianByArrJenis($arrJenis) { goto z27Gu; m2Jij: return $ret; goto zuy7w; UeM7x: foreach ($result as $key => $row) { $ret[$row->id_jenis] = $row->kode_jenis; CSYQZ: } goto x7kv9; z27Gu: $this->db->where_in("id_jenis", $arrJenis); goto quOGH; quOGH: $result = $this->db->get("cbt_jenis")->result(); goto ujbvf; x7kv9: XUKU7: goto gi18D; gi18D: KVlmM: goto m2Jij; ujbvf: $ret[''] = "Jenis Penilaian :"; goto uXbZf; uXbZf: if (!$result) { goto KVlmM; } goto UeM7x; zuy7w: } public function getPengawasHariIni($tgl) { goto WDn3E; MkD7x: return $this->db->get()->result(); goto UHuRA; IQtnH: $this->db->where("a.tgl_mulai <= '{$tgl}' AND a.tgl_selesai >= '{$tgl}'"); goto QjCTo; FfZHL: $this->db->where("status", "1"); goto MkD7x; WDn3E: $this->db->from("cbt_jadwal a"); goto IQtnH; QjCTo: $this->db->join("cbt_pengawas b", "b.id_jadwal=a.id_jadwal"); goto FfZHL; UHuRA: } public function getJadwalGuru($tp, $smt, $guru) { goto yK4IQ; Xa5sl: $this->db->from("cbt_jadwal a"); goto WoEjL; aJKKx: $this->db->where("a.id_smt", $smt); goto HokyP; gqB0E: $this->db->where("a.id_tp", $tp); goto aJKKx; HokyP: return $this->db->get()->result(); goto p4M2S; WoEjL: $this->db->join("cbt_bank_soal b", "b.id_bank=a.id_bank AND b.bank_guru_id=" . $guru); goto gqB0E; yK4IQ: $this->db->select("a.id_jadwal, a.tgl_mulai, b.bank_kode, b.bank_kelas"); goto Xa5sl; p4M2S: } public function getJadwalKelas($tp, $smt) { goto Urfx7; H7qt9: $this->db->where("a.id_smt", $smt); goto blZ3x; Urfx7: $this->db->select("a.id_jadwal, a.tgl_mulai, b.bank_kode, b.bank_kelas"); goto Tq_jD; G5pwQ: $this->db->join("cbt_bank_soal b", "b.id_bank=a.id_bank"); goto TF6ZF; TF6ZF: $this->db->where("a.id_tp", $tp); goto H7qt9; Tq_jD: $this->db->from("cbt_jadwal a"); goto G5pwQ; blZ3x: return $this->db->get()->result(); goto uDwug; uDwug: } public function getJadwalByJenis($jenis, $level, $dari, $sampai) { goto E8Gmo; HwzDT: nTvCs: goto nU6uW; vL3CZ: $this->db->join("cbt_bank_soal c", "c.id_bank=a.id_bank"); goto Zy3ln; r2C7K: $this->db->order_by("a.jam_ke", "ASC"); goto hgXFe; truR_: DniPi: goto IZ34C; nU6uW: $this->db->order_by("a.tgl_mulai", "ASC"); goto r2C7K; d_ULb: $this->db->where("a.id_jenis", $jenis); goto HgKXB; Zy3ln: $this->db->join("master_mapel d", "d.id_mapel=c.bank_mapel_id"); goto d_ULb; IZ34C: if (!($dari != null)) { goto w7uN9; } goto MVK7r; F8LvI: $this->db->join("cbt_jenis b", "b.id_jenis=a.id_jenis"); goto vL3CZ; toL6s: w7uN9: goto BT81h; oriRr: $this->db->where("c.bank_level", $level); goto truR_; HgKXB: if (!($level != "0")) { goto DniPi; } goto oriRr; E8Gmo: $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 ZpcUX; ZpcUX: $this->db->from("cbt_jadwal a"); goto F8LvI; BT81h: if (!($sampai != null)) { goto nTvCs; } goto KioQP; hgXFe: $result = $this->db->get()->result(); goto KS92z; MVK7r: $this->db->where("a.tgl_mulai >=", $dari); goto toL6s; KS92z: return $result; goto IelnP; KioQP: $this->db->where("a.tgl_mulai <=", $sampai); goto HwzDT; IelnP: } public function getAllJadwalByJenis($jenis, $tp, $smt) { goto sQzRg; zyQa7: $result = $this->db->get()->result(); goto OhhxU; Zt44E: $this->db->join("cbt_jenis b", "b.id_jenis=a.id_jenis"); goto eeC3e; e1pG1: $this->db->order_by("a.tgl_mulai", "ASC"); goto d1Nmi; I5Fm_: eb6NH: goto si1G2; sQzRg: $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 pi7zI; si1G2: $this->db->where("a.id_tp", $tp); goto gZXtI; UkDAU: r1IP7: goto PUWeM; uC_Jr: $this->db->join("master_mapel d", "d.id_mapel=c.bank_mapel_id"); goto iq2v2; Vtu2t: if (!$result) { goto r1IP7; } goto anA4T; cIIQa: $this->db->order_by("c.bank_level", "ASC"); goto zyQa7; OhhxU: $ret = []; goto Vtu2t; eeC3e: $this->db->join("cbt_bank_soal c", "c.id_bank=a.id_bank"); goto uC_Jr; Ym3Mk: $this->db->where("a.id_jenis", $jenis); goto I5Fm_; anA4T: foreach ($result as $key => $row) { $ret[$row->tgl_mulai][$row->id_mapel][] = $row; vrIHO: } goto SrwNt; SrwNt: Auqj4: goto UkDAU; d1Nmi: $this->db->order_by("a.jam_ke", "ASC"); goto cIIQa; pi7zI: $this->db->from("cbt_jadwal a"); goto Zt44E; PUWeM: return $ret; goto bQaoB; gZXtI: $this->db->where("a.id_smt", $smt); goto e1pG1; iq2v2: if (!($jenis != null)) { goto eb6NH; } goto Ym3Mk; bQaoB: } public function getAllBankSoal($guru = null) { goto HgeGx; qPFjw: return $ret; goto x5mY1; vsuZb: $this->db->where("bank_guru_id", $guru); goto Z8QZS; Z8QZS: r_wGH: goto s65al; O1rLV: foreach ($result as $key => $row) { $ret[$row->id_bank] = $row->bank_kode; cAq02: } goto A8oLV; kEmr2: $ret["0"] = "Pilih Bank Soal :"; goto hCelK; s65al: $result = $this->db->get("cbt_bank_soal")->result(); goto kEmr2; WCNs5: SQ5Rj: goto qPFjw; A8oLV: GCPAx: goto WCNs5; oeg1y: if (!($guru !== null)) { goto r_wGH; } goto vsuZb; HgeGx: $this->db->select("id_bank, bank_kode"); goto oeg1y; hCelK: if (!$result) { goto SQ5Rj; } goto O1rLV; x5mY1: } public function getAllBankSoalByTp($id_tp, $id_smt, $guru = null) { goto i3Ank; tbT2S: $result = $this->db->get("cbt_bank_soal")->result(); goto bAIs1; i3Ank: $this->db->select("id_bank, bank_kode, bank_mapel_id, tampil_pg, tampil_kompleks, tampil_jodohkan, tampil_isian, tampil_esai"); goto VoHNF; yFooh: foreach ($result as $key => $row) { $ret[$row->id_bank] = $row; og8uu: } goto wrzL5; bAIs1: $ret = []; goto dW1jb; wrzL5: kFmjt: goto GXi4S; k3eHO: $this->db->where("status", "1"); goto xKry9; WgoLv: A5w4y: goto tbT2S; goK21: return $ret; goto TauQL; GXi4S: KCZGl: goto goK21; dW1jb: if (!$result) { goto KCZGl; } goto yFooh; xmTBk: if (!($guru !== null)) { goto A5w4y; } goto VB3Bc; VoHNF: $this->db->where("id_tp", $id_tp); goto Wqftj; xKry9: $this->db->where("status_soal", "1"); goto xmTBk; VB3Bc: $this->db->where("bank_guru_id", $guru); goto WgoLv; Wqftj: $this->db->where("id_smt", $id_smt); goto k3eHO; TauQL: } public function getAllBankSoalByMapel($id_tp, $id_smt, $mapel) { goto X8uia; nZ7mP: DVmQD: goto vz3xf; iSDUE: $this->db->where("bank_mapel_id", $mapel); goto ooLhc; ooLhc: $this->db->where("status", "1"); goto lx9oR; tz9po: $ret = []; goto XcBD8; Li9cJ: $this->db->where("id_tp", $id_tp); goto nn0at; vz3xf: g22Z9: goto TwLg1; kTnjn: $this->db->from("cbt_bank_soal"); goto Li9cJ; EzP6V: foreach ($result as $key => $row) { $ret[$row->id_bank] = $row; kqvMr: } goto nZ7mP; XcBD8: if (!$result) { goto g22Z9; } goto EzP6V; lx9oR: $result = $this->db->get()->result(); goto tz9po; TwLg1: return $ret; goto YSXHS; nn0at: $this->db->where("id_smt", $id_smt); goto iSDUE; X8uia: $this->db->select("id_bank, bank_kode, bank_mapel_id, tampil_pg, tampil_kompleks, tampil_jodohkan, tampil_isian, tampil_esai, status"); goto kTnjn; YSXHS: } public function getJumlahJenisSoal($id_bank) { goto RIjfn; jCMGP: if (!$result) { goto rk5ta; } goto yFVco; JhjZU: $ret = []; goto jCMGP; i2l1I: ekHQg: goto NOcap; NOcap: rk5ta: goto yWRI5; yFVco: foreach ($result as $row) { $ret[$row->jenis][] = $row; JHh01: } goto i2l1I; RIjfn: $this->db->select("id_soal, jenis"); goto Xc3WT; vAb9s: $this->db->where("bank_id", $id_bank); goto oJEN5; hdZX_: $result = $this->db->get()->result(); goto JhjZU; Xc3WT: $this->db->from("cbt_soal"); goto vAb9s; oJEN5: $this->db->where("tampilkan", "1"); goto hdZX_; yWRI5: return $ret; goto WmiWB; WmiWB: } public function getJenis() { goto jWZuv; zgaIu: $this->datatables->from("cbt_jenis"); goto bAVS3; bAVS3: return $this->datatables->generate(); goto JRNSj; jWZuv: $this->datatables->select("*"); goto zgaIu; JRNSj: } public function getJenisById($id) { goto BmoPG; Qw0fB: $this->db->from("cbt_jenis"); goto wV0ns; vvRXe: return $this->db->get()->row(); goto es5YJ; wV0ns: $this->db->where(["id_jenis" => $id]); goto vvRXe; BmoPG: $this->db->select("id_jenis, nama_jenis, kode_jenis"); goto Qw0fB; es5YJ: } function updateJenis() { goto M7UGf; DJUy5: $name = $this->input->post("nama_jenis", true); goto nlHtK; M7UGf: $id = $this->input->post("id_jenis"); goto DJUy5; Qy6UD: $this->db->set("kode_jenis", $kode); goto ftFxe; vPNac: $this->db->set("nama_jenis", $name); goto Qy6UD; rDfts: return $this->db->update("cbt_jenis"); goto MVQpQ; nlHtK: $kode = $this->input->post("kode_jenis", true); goto vPNac; ftFxe: $this->db->where("id_jenis", $id); goto rDfts; MVQpQ: } public function getRuang() { goto OL23H; OL23H: $this->datatables->select("*, (SELECT COUNT(id_sesi) FROM cbt_sesi) AS jum_sesi"); goto UIkoO; UIkoO: $this->datatables->from("cbt_ruang"); goto j4eSs; j4eSs: return $this->datatables->generate(); goto ZdjZC; ZdjZC: } public function getRuangById($id) { goto TUJz0; aBKEo: $this->db->from("cbt_ruang"); goto lAusB; nd85O: return $this->db->get()->row(); goto DTmpR; lAusB: $this->db->where(["id_ruang" => $id]); goto nd85O; TUJz0: $this->db->select("id_ruang, nama_ruang, kode_ruang"); goto aBKEo; DTmpR: } public function getRuangSesi($tp, $smt) { goto Bj3sy; pV9ef: $ret = []; goto NdJ9M; fIAOD: $result = $this->db->get()->result(); goto pV9ef; OJqfB: $this->db->order_by("c.nama_sesi", "ASC"); goto fIAOD; ja18V: $this->db->order_by("b.nama_ruang", "ASC"); goto OJqfB; ggimA: $this->db->join("master_kelas d", "d.id_kelas=a.kelas_id"); goto ja18V; tgomv: UFGeJ: goto eXJ3I; NdJ9M: if (!$result) { goto YQzWU; } goto z4YO5; a7UCL: $this->db->join("cbt_ruang b", "b.id_ruang=a.ruang_id"); goto GNYSQ; GNYSQ: $this->db->join("cbt_sesi c", "c.id_sesi=a.sesi_id"); goto ggimA; zCEpO: return $ret; goto J2BY9; z4YO5: foreach ($result as $row) { $ret[$row->sesi_id][$row->ruang_id][$row->kelas_id] = $row->nama_kelas; nSZnB: } goto tgomv; Bj3sy: $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 xlgle; eXJ3I: YQzWU: goto zCEpO; xlgle: $this->db->from("cbt_sesi_siswa a"); goto a7UCL; J2BY9: } function updateRuang() { goto D7HHh; Np5z_: $this->db->set("nama_ruang", $name); goto yoCYE; yoCYE: $this->db->set("kode_ruang", $kode); goto nH39D; V6n41: $name = $this->input->post("nama_ruang", true); goto xbA2f; oTfYG: return $this->db->update("cbt_ruang"); goto Ejm8e; D7HHh: $id = $this->input->post("id_ruang"); goto V6n41; nH39D: $this->db->where("id_ruang", $id); goto oTfYG; xbA2f: $kode = $this->input->post("kode_ruang", true); goto Np5z_; Ejm8e: } public function getSesi() { goto bwS0I; irC3C: return $this->datatables->generate(); goto XrLyZ; yOs8s: $this->datatables->from("cbt_sesi c"); goto irC3C; bwS0I: $this->datatables->select("*"); goto yOs8s; XrLyZ: } public function getAllKodeSesi() { goto Drd0T; BOllS: return $ret; goto pgCWc; NgXsq: XxrVp: goto BOllS; odV35: $this->db->from("cbt_sesi"); goto ys9te; p2Qpf: f5d_G: goto NgXsq; wBjI4: if (!$result) { goto XxrVp; } goto xmzh0; ys9te: $result = $this->db->get()->result(); goto gsh5G; gsh5G: $ret = []; goto wBjI4; Drd0T: $this->db->select("id_sesi, nama_sesi, kode_sesi, waktu_mulai, waktu_akhir"); goto odV35; xmzh0: foreach ($result as $row) { $ret[$row->kode_sesi] = $row; YEkJ5: } goto p2Qpf; pgCWc: } public function getSesiById($id) { goto YiVoo; TkICg: $this->db->where(["id_sesi" => $id]); goto Q2gN0; Q2gN0: return $this->db->get()->row(); goto UBuZJ; YiVoo: $this->db->select("id_sesi, nama_sesi, kode_sesi, waktu_mulai, waktu_akhir"); goto l23i9; l23i9: $this->db->from("cbt_sesi"); goto TkICg; UBuZJ: } public function getSesiBySiswa($siswa_id) { goto rcWzK; Yj2_6: $query = $this->db->get("siswa_sesi")->result(); goto Dht3_; Dht3_: return $query; goto xNW1N; rcWzK: $this->db->where("siswa_id", $siswa_id); goto Yj2_6; xNW1N: } function updateSesi() { goto k1El6; Sou1B: return $this->db->update("cbt_sesi"); goto DdMp1; WNo_m: $this->db->set("waktu_mulai", $mulai); goto ZV5x5; LbDvu: $this->db->set("nama_sesi", $name); goto wvkuX; wvkuX: $this->db->set("kode_sesi", $kode); goto WNo_m; dLbEK: $kode = $this->input->post("kode_sesi", true); goto EFi1N; oPm2C: $this->db->set("aktif", 1); goto ASU2_; T08mL: $akhir = $this->input->post("waktu_akhir", true); goto LbDvu; EFi1N: $mulai = $this->input->post("waktu_mulai", true); goto T08mL; HSkV2: $name = $this->input->post("nama_sesi", true); goto dLbEK; ZV5x5: $this->db->set("waktu_akhir", $akhir); goto oPm2C; k1El6: $id = $this->input->post("id_sesi"); goto HSkV2; ASU2_: $this->db->where("id_sesi", $id); goto Sou1B; DdMp1: } public function getSiswaCbtInfo($id_siswa, $id_tp, $id_smt) { goto PAZrj; d5l3n: $this->db->where("a.id_siswa", $id_siswa); goto Kexn0; TCS2U: $this->db->join("cbt_ruang rk", "b.ruang_id=rk.id_ruang", "left"); goto yT0Hu; K8zG2: $this->db->join("cbt_sesi_siswa b", "a.id_siswa=b.siswa_id", "left"); goto TCS2U; fov2F: return $this->db->get()->row(); goto Eykyp; yT0Hu: $this->db->join("cbt_sesi sk", "b.sesi_id=sk.id_sesi", "left"); goto d5l3n; Kexn0: $this->db->where("a.id_tp", $id_tp); goto oggq5; PAZrj: $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 VuRyS; oggq5: $this->db->where("a.id_smt", $id_smt); goto fov2F; VuRyS: $this->db->from("kelas_siswa a"); goto K8zG2; Eykyp: } public function getRuangSesiSiswa($id_kelas, $id_tp, $id_smt) { goto eI4kU; RRY2l: $this->db->join("master_kelas c", "a.id_kelas=c.id_kelas", "left"); goto Oz4sH; eI4kU: $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 GmPtH; GmPtH: $this->db->from("kelas_siswa a"); goto m6t_t; m48fF: $this->db->where("a.id_smt", $id_smt); goto OryxD; m6t_t: $this->db->join("master_siswa b", "a.id_siswa=b.id_siswa", "left"); goto RRY2l; pajxC: return $this->db->get()->result(); goto X2wTE; v7Jpy: $this->db->join("cbt_sesi sk", "e.sesi_id=sk.id_sesi", "left"); goto Tl6za; Oz4sH: $this->db->join("cbt_sesi_siswa e", "a.id_siswa=e.siswa_id", "left"); goto BjoDB; vyGcX: $this->db->where("a.id_tp", $id_tp); goto m48fF; OryxD: $this->db->order_by("b.nama", "ASC"); goto pajxC; Qk3hz: $this->db->where("a.id_kelas", $id_kelas); goto vyGcX; Tl6za: $this->db->join("buku_induk i", "i.id_siswa=a.id_siswa AND =i.status=1"); goto Qk3hz; BjoDB: $this->db->join("cbt_ruang rk", "e.ruang_id=rk.id_ruang", "left"); goto v7Jpy; X2wTE: } public function getSiswaByKelas($id_tp, $id_smt, $id_kelas) { goto pulVd; wPyCL: $this->db->where("a.id_smt", $id_smt); goto y0GnP; Xg17a: $this->db->join("master_siswa b", "b.id_siswa=a.id_siswa", "left"); goto EOqkr; vfIix: $this->db->join("cbt_ruang d", "d.id_ruang=c.ruang_id", "left"); goto zImKz; lOqUs: $this->db->where("a.id_tp", $id_tp); goto wPyCL; y0GnP: $this->db->where("a.id_siswa is NOT NULL", NULL, FALSE); goto TjK6C; OhBzf: nTcTS: goto IkJJ2; gBuxC: $this->db->join("cbt_nomor_peserta g", "g.id_siswa=a.id_siswa AND g.id_tp=" . $id_tp, "left"); goto B5f1r; SVYCW: $this->db->from("kelas_siswa a"); goto Xg17a; pulVd: $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 SVYCW; N_9WP: $this->db->join("master_kelas f", "f.id_kelas=a.id_kelas", "left"); goto gBuxC; SEPZG: $this->db->where("g.id_siswa is NOT NULL", NULL, FALSE); goto dBUOc; D_bNi: $this->db->where("c.siswa_id is NOT NULL", NULL, FALSE); goto agA8R; TLxdS: goto nTcTS; goto Dtcqq; TjK6C: $this->db->where("b.id_siswa is NOT NULL", NULL, FALSE); goto D_bNi; Dtcqq: GIWR4: goto XqnX_; agA8R: $this->db->where("f.siswa_id is NOT NULL", NULL, FALSE); goto SEPZG; zImKz: $this->db->join("cbt_sesi e", "e.id_sesi=c.sesi_id", "left"); goto N_9WP; u9a3b: return $this->db->get()->result(); goto JeJIg; XqnX_: $this->db->where_in("a.id_kelas", $id_kelas); goto OhBzf; B5f1r: $this->db->join("buku_induk i", "i.id_siswa=a.id_siswa AND =i.status=1"); goto lOqUs; rrpQ2: $this->db->where("a.id_kelas", $id_kelas); goto TLxdS; IkJJ2: $this->db->order_by("b.nama", "ASC"); goto u9a3b; EOqkr: $this->db->join("cbt_sesi_siswa c", "c.siswa_id=a.id_siswa", "left"); goto vfIix; dBUOc: if (is_array($id_kelas)) { goto GIWR4; } goto rrpQ2; JeJIg: } public function getSiswaById($id_tp, $id_smt, $idSiswa) { goto Hw0Nl; XoPuG: $this->db->join("master_siswa b", "b.id_siswa=a.id_siswa", "left"); goto taADv; xdSlZ: $this->db->join("cbt_kelas_ruang h", "h.id_kelas=a.id_kelas", "left"); goto Kh9DZ; Kh9DZ: $this->db->join("cbt_ruang i", "i.id_ruang=h.id_ruang", "left"); goto OGPpR; yDTIV: $this->db->join("master_kelas f", "f.id_kelas=a.id_kelas", "left"); goto PpPp9; T9uRe: $this->db->join("cbt_ruang d", "d.id_ruang=c.ruang_id", "left"); goto LPy1q; JbvUa: $this->db->where("a.id_siswa", $idSiswa); goto W6Us2; PpPp9: $this->db->join("cbt_nomor_peserta g", "g.id_siswa=a.id_siswa AND g.id_tp=" . $id_tp, "left"); goto xdSlZ; W6Us2: return $this->db->get()->row(); goto qQG6U; Hw0Nl: $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 dLpm1; taADv: $this->db->join("cbt_sesi_siswa c", "c.siswa_id=a.id_siswa", "left"); goto T9uRe; OGPpR: $this->db->join("cbt_sesi j", "j.id_sesi=h.id_sesi", "left"); goto TCLI4; TCLI4: $this->db->where("a.id_tp", $id_tp); goto iLvu3; iLvu3: $this->db->where("a.id_smt", $id_smt); goto JbvUa; dLpm1: $this->db->from("kelas_siswa a"); goto XoPuG; LPy1q: $this->db->join("cbt_sesi e", "e.id_sesi=c.sesi_id", "left"); goto yDTIV; qQG6U: } public function getAllPesertaByRuang($id_tp, $id_smt) { goto uG442; zxZct: $this->db->join("master_siswa b", "b.id_siswa=a.siswa_id", "left"); goto g02ST; uG442: $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 fnDDI; HoDPB: $this->db->join("cbt_sesi e", "e.id_sesi=a.sesi_id", "left"); goto G8h7b; G8h7b: $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 ch38T; ch38T: $this->db->join("master_kelas f", "f.id_kelas=c.id_kelas"); goto z2ypv; Vj5uW: $result = $this->db->get()->result(); goto eQWaQ; mwX5a: return $ret; goto P3xkP; eQWaQ: $ret = []; goto yURt0; J5mOA: $this->db->order_by("f.level_id"); goto g2ldv; WqiEW: $this->db->join("cbt_nomor_peserta g", "g.id_siswa=a.siswa_id AND g.id_tp=" . $id_tp, "left"); goto HoDPB; yURt0: foreach ($result as $row) { $ret[$row->kode_ruang][$row->kode_sesi][] = $row; eDjEg: } goto ploFu; ploFu: CJhXo: goto mwX5a; z2ypv: $this->db->join("buku_induk i", "i.id_siswa=b.id_siswa AND =i.status=1"); goto FLA_0; fnDDI: $this->db->from("cbt_sesi_siswa a"); goto zxZct; UX06E: $this->db->order_by("e.kode_sesi"); goto J5mOA; g2ldv: $this->db->order_by("f.kode_kelas"); goto qw8mZ; qw8mZ: $this->db->order_by("b.nama"); goto Vj5uW; g02ST: $this->db->join("cbt_ruang d", "d.id_ruang=a.ruang_id", "left"); goto WqiEW; FLA_0: $this->db->order_by("d.kode_ruang"); goto UX06E; P3xkP: } public function getAllPesertaByKelas($id_tp, $id_smt) { goto X7ZX5; ULQdu: return $ret; goto rvflU; VelAK: $this->db->order_by("b.nama"); goto iMEQh; MFJ2X: $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 S8kdq; Mfh94: $this->db->join("master_siswa b", "b.id_siswa=a.siswa_id", "left"); goto SWbDJ; mLLGQ: $this->db->order_by("f.level_id"); goto AOs5n; X7ZX5: $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 m4CRe; MDplp: $this->db->join("buku_induk i", "i.id_siswa=b.id_siswa AND =i.status=1"); goto mLLGQ; Sga7o: foreach ($result as $row) { $ret[$row->kode_kelas][] = $row; PLy1N: } goto QWrgE; OSUA1: $ret = []; goto Sga7o; iMEQh: $result = $this->db->get()->result(); goto OSUA1; KYzIR: $this->db->join("cbt_nomor_peserta g", "g.id_siswa=a.siswa_id AND g.id_tp=" . $id_tp, "left"); goto u9VsZ; S8kdq: $this->db->join("master_kelas f", "f.id_kelas=c.id_kelas"); goto MDplp; m4CRe: $this->db->from("cbt_sesi_siswa a"); goto Mfh94; QWrgE: QIDsg: goto ULQdu; SWbDJ: $this->db->join("cbt_ruang d", "d.id_ruang=a.ruang_id", "left"); goto KYzIR; AOs5n: $this->db->order_by("f.kode_kelas"); goto VelAK; u9VsZ: $this->db->join("cbt_sesi e", "e.id_sesi=a.sesi_id", "left"); goto MFJ2X; rvflU: } public function getSiswaByRuang($id_tp, $id_smt, $id_ruang, $sesi, $level = null) { goto BAliP; vPQeK: $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 V_bH4; enSDk: $this->db->join("buku_induk i", "i.id_siswa=b.id_siswa AND =i.status=1"); goto DBUFf; zrDIU: goto Fnsw2; goto dFKvw; Mx32k: $this->db->join("master_kelas f", "f.id_kelas=c.id_kelas"); goto JogDd; BAliP: $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 kVMC4; JogDd: Fnsw2: goto enSDk; J24Ee: $this->db->join("master_kelas f", "f.id_kelas=c.id_kelas" . " AND f.level_id=" . $level . ''); goto zrDIU; mUUrw: $this->db->join("cbt_nomor_peserta g", "g.id_siswa=a.siswa_id AND g.id_tp=" . $id_tp, "left"); goto DJhmr; DBUFf: $this->db->where("a.ruang_id", $id_ruang); goto ZBzDd; kVMC4: $this->db->from("cbt_sesi_siswa a"); goto zc23q; ZBzDd: $this->db->where("a.sesi_id", $sesi); goto DNo2Z; zc23q: $this->db->join("master_siswa b", "b.id_siswa=a.siswa_id", "left"); goto F2tXn; DJhmr: $this->db->join("cbt_sesi e", "e.id_sesi=a.sesi_id", "left"); goto vPQeK; F2tXn: $this->db->join("cbt_ruang d", "d.id_ruang=a.ruang_id", "left"); goto mUUrw; dFKvw: v1ARl: goto Mx32k; DNo2Z: $this->db->order_by("b.nama"); goto buJm8; V_bH4: if ($level === null) { goto v1ARl; } goto J24Ee; buJm8: return $this->db->get()->result(); goto aUcVj; aUcVj: } public function getRuangSiswaByKelas($id_tp, $id_smt, $kelas, $sesi) { goto L6m_R; xGP2C: $this->db->from("cbt_sesi_siswa a"); goto odm_T; ESoyL: return $this->db->get()->result(); goto XQT6v; L6m_R: $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 xGP2C; nAvfI: if (!($sesi != null)) { goto PVcSh; } goto YZT5n; etgOo: PVcSh: goto V1zM7; xQRDM: $this->db->join("cbt_nomor_peserta g", "g.id_siswa=a.siswa_id AND g.id_tp=" . $id_tp, "left"); goto ytZwl; ytZwl: $this->db->join("cbt_sesi e", "e.id_sesi=a.sesi_id", "left"); goto g7wvK; odm_T: $this->db->join("master_siswa b", "b.id_siswa=a.siswa_id", "left"); goto IDDnG; ndIiE: $this->db->join("buku_induk i", "i.id_siswa=b.id_siswa AND =i.status=1"); goto aYc7I; aYc7I: $this->db->where_in("a.kelas_id", $kelas); goto nAvfI; IDDnG: $this->db->join("cbt_ruang d", "d.id_ruang=a.ruang_id", "left"); goto xQRDM; V1zM7: $this->db->order_by("b.nama"); goto ESoyL; YZT5n: $this->db->where("a.sesi_id", $sesi); goto etgOo; QNMml: $this->db->join("master_kelas f", "f.id_kelas=c.id_kelas"); goto ndIiE; g7wvK: $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 QNMml; XQT6v: } public function getSiswaByKelasArray($id_tp, $id_smt, $arr_kelas) { goto v5cko; ig802: $this->db->where("a.id_tp", $id_tp); goto jb0QA; bgQok: $this->db->order_by("b.nama", "ASC"); goto LlXSa; NMD_9: $this->db->order_by("f.kode_kelas", "ASC"); goto bgQok; qbRVc: $this->db->join("buku_induk i", "i.id_siswa=a.id_siswa AND =i.status=1"); goto PiSjQ; LlXSa: return $this->db->get()->result(); goto GL0OV; v5cko: $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 rW2r7; mJ7bJ: $this->db->join("level_kelas l", "l.id_level=f.level_id"); goto WLWN1; WLWN1: $this->db->join("cbt_nomor_peserta g", "g.id_siswa=a.id_siswa AND g.id_tp=" . $id_tp, "left"); goto qbRVc; PiSjQ: if (in_array("Semua", $arr_kelas)) { goto qQR6B; } goto Ap_Zn; o0taS: qQR6B: goto ig802; Z4N2e: $this->db->join("master_siswa b", "b.id_siswa=a.id_siswa"); goto wARrA; wARrA: $this->db->join("master_kelas f", "f.id_kelas=a.id_kelas"); goto mJ7bJ; tkYYt: $this->db->order_by("l.level", "ASC"); goto NMD_9; Ap_Zn: $this->db->where_in("a.id_kelas", $arr_kelas); goto o0taS; jb0QA: $this->db->where("a.id_smt", $id_smt); goto tkYYt; rW2r7: $this->db->from("kelas_siswa a"); goto Z4N2e; GL0OV: } public function getKelasList($tp, $smt) { goto X152x; Ipd1j: $this->db->join("master_jurusan c", "c.id_jurusan=a.jurusan_id", "left"); goto D4fDp; qSWfA: $this->db->join("cbt_kelas_ruang b", "a.id_kelas=b.id_kelas", "left"); goto Ipd1j; K9iO4: $this->db->order_by("a.level_id", "ASC"); goto fRekm; G4l2M: $this->db->from("master_kelas a"); goto qSWfA; X152x: $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 G4l2M; RF3vE: $this->db->where("a.id_smt", $smt); goto K9iO4; D4fDp: $this->db->join("level_kelas d", "d.id_level=a.level_id", "left"); goto GCAjx; kSGFa: $query = $this->db->get(); goto cpF2V; GCAjx: $this->db->where("a.id_tp", $tp); goto RF3vE; cpF2V: return $query->result(); goto jVVTC; fRekm: $this->db->order_by("a.nama_kelas", "ASC"); goto kSGFa; jVVTC: } public function getKelas($tp = null, $smt = null) { goto YqlK9; RUizU: if (!($smt != null)) { goto cPnzW; } goto PcUYl; JnJy2: wUvFo: goto RUizU; vPI42: $this->db->from("master_kelas a"); goto mqA24; YqlK9: $this->db->select("a.id_kelas, a.nama_kelas, a.kode_kelas, b.level"); goto vPI42; O6IG2: $this->db->where("a.id_tp", $tp); goto JnJy2; HWsyW: cPnzW: goto lZVJi; mqA24: $this->db->join("level_kelas b", "b.id_level=a.level_id", "left"); goto bTahr; PcUYl: $this->db->where("a.id_smt", $smt); goto HWsyW; bTahr: if (!($tp != null)) { goto wUvFo; } goto O6IG2; lZVJi: $this->db->order_by("a.nama_kelas", "ASC"); goto Jnqhd; Jnqhd: return $this->db->get()->result(); goto REC4z; REC4z: } public function getDataTableBank($guru = null) { goto Wcb1H; Wcb1H: $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 AH7Iq; pwZwF: $this->datatables->join("master_jurusan d", "d.id_jurusan=a.bank_jurusan_id", "left"); goto iRyQw; Gr3j_: $this->datatables->join("master_guru c", "c.id_guru=a.bank_guru_id", "left"); goto pwZwF; vGkOh: $this->datatables->where("a.bank_guru_id", $guru); goto wP5t7; Rz0qG: if (!($guru !== null)) { goto BnyDH; } goto vGkOh; CuHO4: $this->datatables->join("master_mapel b", "b.id_mapel=a.bank_mapel_id", "left"); goto Gr3j_; wP5t7: BnyDH: goto YyGTO; AH7Iq: $this->datatables->from("cbt_bank_soal a"); goto CuHO4; iRyQw: $this->datatables->join("cbt_jenis e", "e.id_jenis=a.bank_jenis_id", "left"); goto Rz0qG; YyGTO: return $this->datatables->generate(); goto s6Hfa; s6Hfa: } public function getDataBank($guru = null, $mapel = null, $level = null) { goto ZmVIF; Mh1gw: KbPEQ: goto Ey3vb; I3YOQ: if (!($level !== null)) { goto KbPEQ; } goto Ph40I; Nfw0I: $this->db->join("master_mapel b", "b.id_mapel=a.bank_mapel_id", "left"); goto QJwGY; rSSeO: foreach ($result as $row) { $ret[$row->id_tp][$row->id_smt][] = $row; Qku5v: } goto UYo31; KTpJR: $this->db->where("a.bank_mapel_id", $mapel); goto K18mI; K18mI: tRuKm: goto I3YOQ; t67_b: if (!($guru !== null)) { goto sWcK3; } goto BB9FG; Okdg1: $result = $this->db->get()->result(); goto MPZZL; NMgRp: $this->db->from("cbt_bank_soal a"); goto Nfw0I; giTR1: return $ret; goto ZgWZK; mJrjE: if (!($mapel !== null)) { goto tRuKm; } goto KTpJR; QJwGY: $this->db->join("master_guru c", "c.id_guru=a.bank_guru_id", "left"); goto t67_b; BB9FG: $this->db->where("a.bank_guru_id", $guru); goto RCx3L; Ey3vb: $this->db->order_by("a.bank_level", "ASC"); goto Okdg1; Ph40I: $this->db->where("a.bank_level", $level); goto Mh1gw; MPZZL: $ret = []; goto rSSeO; ZmVIF: $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 NMgRp; RCx3L: sWcK3: goto mJrjE; UYo31: LpS21: goto giTR1; ZgWZK: } public function getDataBankById($id) { goto lGmIO; lGmIO: $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 bviMJ; LDID_: $this->db->join("master_guru c", "c.id_guru=a.bank_guru_id", "left"); goto bFvd2; bviMJ: $this->db->from("cbt_bank_soal a"); goto AfWng; jsvxL: $this->db->where("a.id_bank", $id); goto YZ9jR; bFvd2: $this->db->join("master_jurusan d", "d.id_jurusan=a.bank_jurusan_id", "left"); goto jsvxL; AfWng: $this->db->join("master_mapel b", "b.id_mapel=a.bank_mapel_id", "left"); goto LDID_; YZ9jR: return $this->db->get()->row(); goto QSiIT; QSiIT: } public function getTotalSoal($id_bank, $jenis = null) { goto Jv92N; BlnEt: $this->db->where("jenis", $jenis); goto xyyHV; M1lsM: if (!($jenis != null)) { goto hOOlB; } goto BlnEt; xyyHV: hOOlB: goto yw1U0; Jv92N: $this->db->where("bank_id", $id_bank); goto M1lsM; yw1U0: return $this->db->get("cbt_soal")->num_rows(); goto tkzNI; tkzNI: } public function getNomorSoalById($id_soal) { goto HfKZy; HfKZy: $this->db->select("nomor_soal, jenis, bank_id"); goto QLiJ5; QLiJ5: $this->db->where("id_soal", $id_soal); goto QPUg3; QPUg3: return $this->db->get("cbt_soal")->row(); goto reKeH; reKeH: } public function getFileSoalById($id_soal) { goto drHhq; drHhq: $this->db->select("file"); goto pC1yZ; TorEY: return $this->db->get("cbt_soal")->row(); goto tlvhI; pC1yZ: $this->db->where("id_soal", $id_soal); goto TorEY; tlvhI: } public function getSoalByBank($id_bank) { goto z1nzB; z1nzB: $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 J9pYh; Rk2c9: $result = $this->db->get()->result(); goto li3vv; QI7wo: $this->db->order_by("jenis"); goto ploOQ; ploOQ: $this->db->order_by("nomor_soal"); goto Rk2c9; yvOgc: $this->db->where("bank_id", $id_bank); goto QI7wo; li3vv: $ret = []; goto BfhKF; qHMgf: grYyT: goto yFjrp; BfhKF: foreach ($result as $row) { $ret[$row->jenis][$row->nomor_soal] = $row; EV8Fk: } goto qHMgf; J9pYh: $this->db->from("cbt_soal"); goto yvOgc; yFjrp: return $ret; goto TpEDs; TpEDs: } public function getAllSoalByBank($id_bank, $jenis = null) { goto umsQB; vjByz: return $this->db->get("cbt_soal")->result(); goto FzV__; M4YHc: uQxTf: goto vjByz; umsQB: $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 eQ0mV; eQ0mV: $this->db->where("bank_id", $id_bank); goto t3QnS; IGax6: $this->db->where("jenis", $jenis); goto M4YHc; t3QnS: if (!($jenis != null)) { goto uQxTf; } goto IGax6; FzV__: } public function getSoalByNomor($id_bank, $nomor, $jenis) { goto l41VP; ZC_ew: $this->db->where("bank_id", $id_bank); goto MtIzk; sCKfq: return $this->db->get("cbt_soal")->row(); goto mXZKq; MtIzk: $this->db->where("nomor_soal", $nomor); goto XlimM; l41VP: $this->db->select("*"); goto ZC_ew; XlimM: $this->db->where("jenis", $jenis); goto sCKfq; mXZKq: } public function getNomorSoalByBankJenis($id_bank, $jenis) { goto r3ynE; r3ynE: $this->db->select("id_soal, jenis, nomor_soal"); goto cF5pC; b_j6n: $this->db->where("jenis", $jenis); goto Jo9PN; Jo9PN: $result = $this->db->get("cbt_soal")->result(); goto znKyD; pyVGx: foreach ($result as $key => $row) { $ret[$row->nomor_soal] = $row; X4t2k: } goto U43OL; cF5pC: $this->db->where("bank_id", $id_bank); goto b_j6n; vU0ZX: return $ret; goto bntVa; znKyD: $ret = []; goto pyVGx; U43OL: w4ZhS: goto vU0ZX; bntVa: } public function getNomorSoalByBank($id_bank, $jenis = null) { goto XhNbd; hPUsx: $result = $this->db->get("cbt_soal")->result(); goto xmvK7; KE33P: return $ret; goto WzzVm; IkoE0: $this->db->where("bank_id", $id_bank); goto bQuHK; XhNbd: $this->db->select("id_soal, jenis, nomor_soal, jawaban"); goto IkoE0; JfYIP: if (!($jenis != null)) { goto puhZm; } goto YPmtv; bQuHK: $this->db->where("tampilkan", "1"); goto JfYIP; wonCc: puhZm: goto hPUsx; xmvK7: $ret = []; goto SZ7iR; SZ7iR: foreach ($result as $key => $row) { $ret[$row->id_soal] = $row; OiXhF: } goto lJuQq; YPmtv: $this->db->where("jenis", $jenis); goto wonCc; lJuQq: Zho1O: goto KE33P; WzzVm: } public function getNomorSoalByArrIdBank($arr_id_bank, $jenis = null) { goto sl12F; m_DDo: $this->db->where("jenis", $jenis); goto oAjS6; oAjS6: z8D0T: goto RdjGo; MZ6Vk: $this->db->where_in("bank_id", $arr_id_bank); goto LVheS; sl12F: $this->db->select("id_soal, jenis, nomor_soal, jawaban"); goto MZ6Vk; LVheS: if (!($jenis != null)) { goto z8D0T; } goto m_DDo; RdjGo: return $this->db->get("cbt_soal")->result(); goto EkTN9; EkTN9: } public function cekSoalAda($id_bank, $jenis) { goto IS3hr; bWeT3: return $this->db->get("cbt_soal")->result(); goto c01_w; Lv7bp: $this->db->where("bank_id", $id_bank); goto bHUHy; IS3hr: $this->db->select("id_soal, bank_id, jenis, nomor_soal"); goto Lv7bp; bHUHy: $this->db->where("jenis", $jenis); goto bWeT3; c01_w: } public function cekSoalKomplit($id_bank, $jenjang) { goto Hrijq; IozDW: p6JyO: goto fcE6j; aamHy: $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 c5hqq; fcE6j: return $this->db->get("cbt_soal")->result(); goto G3s5v; c5hqq: if (!($jenjang == "3")) { goto p6JyO; } goto NFHXC; Hrijq: $this->db->select("id_soal, bank_id, jenis, nomor_soal"); goto aamHy; NFHXC: $this->db->or_where("opsi_e NOT NULL"); goto IozDW; G3s5v: } public function cekSoalBelumKomplit($jenis, $opsi_ganda) { goto YvWro; L3uzi: return $ret; goto jr3UW; Hor9i: $this->db->where("opsi_b IS NULL")->or_where("opsi_b ="""); goto sGc_s; KGx_p: if (!($jenis == "2")) { goto w65r5; } goto fzawo; YXNoY: w65r5: goto hnBSl; ozjt9: $this->db->where("opsi_d IS NULL")->or_where("opsi_d ="""); goto noQlB; pW7K7: $result = $this->db->get()->result(); goto m51yq; hnBSl: $this->db->where("jawaban IS NULL")->or_where("jawaban ="""); goto ldQAH; sGc_s: $this->db->where("opsi_c IS NULL")->or_where("opsi_c ="""); goto nmktc; p6pz1: ixGfz: goto KGx_p; iayMF: if (!($jenis == "1")) { goto ixGfz; } goto PtXAn; nubHr: if (!($opsi_ganda == "5")) { goto vUuGc; } goto DAh1a; nix4u: $this->db->where("opsi_e IS NULL")->or_where("opsi_e ="""); goto xk1N_; eNz8y: $this->db->where("soal IS NULL")->or_where("soal ="""); goto iayMF; YvWro: $this->db->select("id_soal, bank_id, jenis, nomor_soal, mapel_id"); goto yTano; DAh1a: $this->db->where("opsi_d IS NULL")->or_where("opsi_d ="""); goto nix4u; jxiRy: OACs3: goto L3uzi; noQlB: cK8fz: goto nubHr; nmktc: if (!($opsi_ganda == "4")) { goto cK8fz; } goto ozjt9; PtXAn: $this->db->where("opsi_a IS NULL")->or_where("opsi_a ="""); goto Hor9i; xk1N_: vUuGc: goto p6pz1; m51yq: foreach ($result as $key => $row) { $ret[$row->bank_id][] = $row; Ld5Dt: } goto jxiRy; fGynt: $this->db->where("jenis", $jenis); goto eNz8y; ldQAH: $ret = []; goto pW7K7; yTano: $this->db->from("cbt_soal"); goto fGynt; fzawo: $this->db->where("opsi_a IS NULL")->or_where("opsi_a ="""); goto YXNoY; jr3UW: } public function getNomorSoalTerbesar($id_bank, $jenis) { goto TTsZT; lPsVv: $this->db->order_by("nomor_soal", "DESC"); goto sfDz5; sfDz5: return $this->db->get("cbt_soal")->row(); goto Qi5xw; lBEfv: $this->db->where("bank_id", $id_bank)->where("jenis", $jenis); goto lPsVv; TTsZT: $this->db->select("nomor_soal"); goto lBEfv; Qi5xw: } 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 QkiSG; WX_Jq: k5VMu: goto RgPS9; U3AB3: $this->db->where("id_bank", $id); goto oZJh_; mhmyz: goto gaZcm; goto WX_Jq; QkiSG: $id = $this->input->post("id_bank", true); goto T5uXj; RgPS9: $this->db->insert("cbt_bank_soal", $data); goto zRoAc; LdcIo: $kelas = []; goto g1860; xF2vT: HrU0s: goto RjHzw; K2Ie3: if (!($i <= $rows)) { goto HrU0s; } goto n8Cgl; tfv_L: goto EzELi; goto xF2vT; LNjFo: pn5gQ: goto Z3DL7; sJfMM: return $insert_id; goto BnR6u; Z3DL7: $i++; goto tfv_L; BnR6u: gaZcm: goto L2MjP; RjHzw: $jumlah = serialize($kelas); goto yeqbp; zRoAc: $insert_id = $this->db->insert_id(); goto sJfMM; yeqbp: $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 grkZd; g1860: $i = 0; goto AnZyO; n8Cgl: $kelas[] = ["kelas_id" => $this->input->post("kelas[" . $i . "]", true)]; goto LNjFo; grkZd: if (!$id) { goto k5VMu; } goto U3AB3; T5uXj: $rows = count($this->input->post("kelas", true)); goto LdcIo; AnZyO: EzELi: goto K2Ie3; oZJh_: return $this->db->update("cbt_bank_soal", $data); goto mhmyz; L2MjP: } 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 SH2Pl; UGB6a: $this->db->from("cbt_jadwal"); goto NLWRy; iMGCP: return $result; goto lhdky; NLWRy: $this->db->where("id_tp", $tp); goto lDpoY; tAyIg: $this->db->distinct(); goto UGB6a; lDpoY: $this->db->where("id_smt", $smt); goto FwTRi; FwTRi: $result = $this->db->get()->result(); goto iMGCP; SH2Pl: $this->db->select("id_jenis"); goto tAyIg; lhdky: } public function getDataJadwal($tp, $smt, $guru = null, $rekap = null) { goto P5vSf; zBn3I: $this->db->join("cbt_jenis c", "c.id_jenis=a.id_jenis", "left"); goto fyLP0; Zclxh: M3QCD: goto yeX58; ytm3P: $this->db->join("master_smt f", "a.id_smt=f.id_smt"); goto Zcsd2; doEsI: $this->db->join("master_tp e", "a.id_tp=e.id_tp"); goto ytm3P; FsheL: $this->db->order_by("a.tgl_mulai", "DESC"); goto RoVp5; zuivk: return $query; goto LxWrL; DmA4P: $this->db->where("b.bank_guru_id", $guru); goto Zclxh; UZWaV: $this->db->from("cbt_jadwal a"); goto dsZc4; tEsBf: $query = $this->db->get()->result(); goto zuivk; Y0zcS: if (!($guru !== null)) { goto M3QCD; } goto DmA4P; Zcsd2: $this->db->join("level_kelas g", "b.bank_level=g.id_level"); goto Y0zcS; ODXa4: $this->db->where("a.rekap", $rekap); goto UdaY8; fyLP0: $this->db->join("master_mapel d", "d.id_mapel=b.bank_mapel_id", "left"); goto doEsI; RoVp5: $this->db->order_by("b.bank_level", "ASC"); goto tEsBf; dsZc4: $this->db->join("cbt_bank_soal b", "b.id_bank=a.id_bank", "left"); goto zBn3I; UdaY8: P7AGt: goto FsheL; P5vSf: $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 UZWaV; yeX58: if (!($rekap !== null)) { goto P7AGt; } goto ODXa4; LxWrL: } public function getAllDataJadwal($guru = null, $mapel = null, $level = null) { goto MhQBE; yMCMl: if (!($level !== null)) { goto uUIvx; } goto Si7FV; YR3sg: if (!($mapel !== null)) { goto d35dk; } goto fhAB_; KXF77: $this->db->join("cbt_bank_soal b", "b.id_bank=a.id_bank"); goto cE_Ad; nullf: $this->db->order_by("b.bank_level", "ASC"); goto j9iUl; RkKLc: $ret = []; goto Ff7Ja; MhQBE: $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 bZFK0; TtrhH: $this->db->join("level_kelas g", "b.bank_level=g.id_level"); goto P4F1Y; Ff7Ja: foreach ($query as $key => $row) { $ret["<b>" . $row->kode_jenis . "</b> " . $row->tahun . " smt " . $row->nama_smt][$row->level][] = $row; rbM6L: } goto WLSSg; YUtBi: $this->db->order_by("a.id_smt", "DESC"); goto UqkGf; uIKvO: uUIvx: goto nullf; EFlOd: mZT8g: goto YR3sg; j9iUl: $this->db->order_by("a.id_tp", "DESC"); goto YUtBi; bZFK0: $this->db->from("cbt_jadwal a"); goto KXF77; o62Xe: $this->db->join("master_tp e", "a.id_tp=e.id_tp"); goto ZfYeg; t2MDe: $this->db->where("b.bank_guru_id", $guru); goto EFlOd; WLSSg: pCXYd: goto bONVj; Si7FV: $this->db->where("b.bank_level", $level); goto uIKvO; cE_Ad: $this->db->join("cbt_jenis c", "c.id_jenis=a.id_jenis", "left"); goto IjSW1; ZfYeg: $this->db->join("master_smt f", "a.id_smt=f.id_smt"); goto TtrhH; IjSW1: $this->db->join("master_mapel d", "d.id_mapel=b.bank_mapel_id", "left"); goto o62Xe; mBr1P: d35dk: goto yMCMl; bONVj: return $ret; goto KhUSG; UqkGf: $query = $this->db->get()->result(); goto RkKLc; P4F1Y: if (!($guru !== null)) { goto mZT8g; } goto t2MDe; fhAB_: $this->db->where("b.bank_mapel_id", $mapel); goto mBr1P; KhUSG: } public function getJadwalTerpakai($id_jadwal = null) { goto BW26Z; KDdRw: foreach ($result as $key => $row) { $ret[$row->id_jadwal][$row->id_siswa] = $row; W2weS: } goto iPr4A; X3Qhn: $this->db->where("id_jadwal", $id_jadwal); goto FBLWJ; FBLWJ: fzwFV: goto sx7tl; sx7tl: $result = $this->db->get()->result(); goto k304D; WLbWO: $this->db->from("cbt_soal_siswa"); goto gADNY; vX6yT: return $ret; goto fm8ws; iPr4A: fl81J: goto vX6yT; BW26Z: $this->db->select("id_bank,id_jadwal,id_siswa"); goto WLbWO; k304D: $ret = []; goto KDdRw; gADNY: if (!($id_jadwal != null)) { goto fzwFV; } goto X3Qhn; fm8ws: } public function getBankTerpakai($id_banks = null) { goto OrPqs; kglcH: return $ret; goto TM5RK; NF0s3: r7S8C: goto kglcH; l270Y: $this->db->where_in("id_bank", $id_banks); goto O2SLI; Mcd53: if (!($id_banks != null)) { goto rJgdZ; } goto l270Y; OrPqs: $this->db->select("id_bank,id_soal,id_siswa"); goto oVZfo; x1jAv: $result = $this->db->get()->result(); goto uAvhH; c6xBS: foreach ($result as $key => $row) { $ret[$row->id_bank][$row->id_siswa] = $row; ZfTPf: } goto NF0s3; uAvhH: $ret = []; goto c6xBS; O2SLI: rJgdZ: goto x1jAv; oVZfo: $this->db->from("cbt_soal_siswa"); goto Mcd53; TM5RK: } public function getCountBankTerpakai($id_bank = null) { goto rHIix; XrQqY: IxZIV: goto Zz1TK; cQgVL: return $result; goto Sp0fQ; e7Gju: if (!($id_bank != null)) { goto IxZIV; } goto eZEsr; Zz1TK: $this->db->group_by("id_bank"); goto LNVjk; eZEsr: $this->db->where("id_bank", $id_bank); goto XrQqY; LNVjk: $result = $this->db->get()->result(); goto cQgVL; BlMnR: $this->db->from("cbt_soal_siswa"); goto e7Gju; rHIix: $this->db->select("id_bank,COUNT(id_siswa) as siswa"); goto BlMnR; Sp0fQ: } public function getRekapByJadwalKelas($jadwal, $guru = null) { goto oPBsJ; fiOxG: $result = $this->db->get()->row(); goto ZvOSj; lBsm3: $this->db->where("id_jadwal", $jadwal); goto Bu3ZR; ZvOSj: return $result; goto HE3JS; oPBsJ: $this->db->from("cbt_rekap"); goto lBsm3; IRaRU: $this->db->where("id_guru", $guru); goto v9c6d; v9c6d: Ty0QS: goto fiOxG; Bu3ZR: if (!($guru !== null)) { goto Ty0QS; } goto IRaRU; HE3JS: } public function getRekapJadwal($guru = null) { goto w4WVT; B2Z8P: if (!($guru !== null)) { goto RwEmP; } goto kFA_H; iruBC: $query = $this->db->get(); goto YXJM0; VOWxR: $this->db->from("cbt_rekap"); goto B2Z8P; jgpSr: $this->db->order_by("tgl_mulai", "DESC"); goto iruBC; w4WVT: $this->db->select("*"); goto VOWxR; kFA_H: $this->db->where("id_guru", $guru); goto yaHoK; YXJM0: return $query->result(); goto nCeh0; yaHoK: RwEmP: goto jgpSr; nCeh0: } public function getAllRekapByJenis($tp, $smt, $jenis, $level, $mapel, $jadwal = null, $guru = null) { goto Usuly; xjLag: esDvU: goto yyguO; AV55j: $this->db->where("id_jadwal", $jadwal); goto YWx1y; ZRbRp: akxYy: goto myizA; glme1: $this->db->where("id_mapel", $mapel); goto xjLag; h_0iM: return $result; goto Nr_3F; rWbiP: $this->db->where("kode_jenis", $jenis); goto huiva; dE0Fs: if (!($mapel != "0")) { goto esDvU; } goto glme1; YWx1y: ljmGJ: goto nvsp6; yyguO: if (!($jadwal != null)) { goto ljmGJ; } goto AV55j; lex5F: $this->db->where("id_guru", $guru); goto ZRbRp; Usuly: $this->db->from("cbt_rekap"); goto dE0Fs; huiva: $this->db->where("bank_level", $level); goto lBf6C; lBf6C: $this->db->order_by("id_mapel", "ASC"); goto tDWUG; w7LMw: $this->db->where("smt", $smt); goto rWbiP; myizA: $this->db->where("tp", $tp); goto w7LMw; tDWUG: $result = $this->db->get()->result(); goto h_0iM; nvsp6: if (!($guru != null)) { goto akxYy; } goto lex5F; Nr_3F: } public function getAllNilaiRekapByJenis($tp, $smt, $kode_jenis, $id_kelas, $id_mapel, $id_jadwal = null, $id_guru = null) { goto ocXIL; ZY8gH: $this->db->where("a.kode_jenis", $kode_jenis); goto ThOF6; rN83b: $this->db->where("a.id_kelas", $id_kelas); goto QOqtW; VVS85: $this->db->where("a.smt", $smt); goto ZY8gH; oFvk3: return $result; goto S3hIB; GWgkS: $result = $this->db->get()->result(); goto oFvk3; qMbr7: $this->db->join("buku_induk i", "i.id_siswa=a.id_siswa AND =i.status=1"); goto Ae57u; A8dj3: if (!($id_guru != null)) { goto dv5aO; } goto sK7mZ; Ae57u: if (!($id_mapel != "0")) { goto W0L9t; } goto bsvXA; izrX1: if (!($id_jadwal != null)) { goto RV4cr; } goto rgg1X; kzMBX: $this->db->join("master_siswa c", "c.id_siswa=a.id_siswa", "left"); goto qMbr7; bsvXA: $this->db->where("a.id_mapel", $id_mapel); goto XUu4H; HBioG: $this->db->join("cbt_nomor_peserta b", "b.id_siswa=a.id_siswa AND b.id_tp=a.id_tp", "left"); goto kzMBX; rgg1X: $this->db->where("a.id_jadwal", $id_jadwal); goto Ze7e9; QOqtW: $this->db->where("a.tp", $tp); goto VVS85; Ze7e9: RV4cr: goto A8dj3; ocXIL: $this->db->select("a.*, b.nomor_peserta, c.nama"); goto P3CJw; XUu4H: W0L9t: goto izrX1; yVaZQ: dv5aO: goto rN83b; P3CJw: $this->db->from("cbt_rekap_nilai a"); goto HBioG; sK7mZ: $this->db->where("a.id_guru", $id_guru); goto yVaZQ; ThOF6: $this->db->order_by("c.nama", "ASC"); goto GWgkS; S3hIB: } public function getAllRekap($guru = null) { goto iUnI4; Wrsgz: $this->db->where("id_guru", $guru); goto MD2kD; ojRw1: $ret = []; goto ZqNvD; aYz_m: v0YjZ: goto Pgf9z; iUnI4: $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 Lcf1D; Pgf9z: return $ret; goto fB6Z8; SoXv0: if (!($guru != null)) { goto exMV5; } goto Wrsgz; Lcf1D: $this->db->from("cbt_rekap"); goto SoXv0; MD2kD: exMV5: goto zqG3U; zqG3U: $result = $this->db->get()->result(); goto ojRw1; ZqNvD: foreach ($result as $key => $row) { $ret[$row->id_jadwal] = $row; AKb_l: } goto aYz_m; fB6Z8: } public function getJadwalById($id_jadwal, $sesi = null) { goto f361o; f361o: $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 W7pmh; bSfrp: $query = $this->db->get()->row(); goto gAiNm; W7pmh: $this->db->from("cbt_jadwal a"); goto uWRaW; fkqf4: $this->db->where("a.id_jadwal", $id_jadwal); goto bSfrp; rTv3k: if (!($sesi != null)) { goto r2yw8; } goto SZLjf; gAiNm: return $query; goto fkuFz; uWRaW: $this->db->join("cbt_bank_soal b", "b.id_bank=a.id_bank", "left"); goto MGUI1; SZLjf: $this->db->join("cbt_sesi e", "e.id_sesi=" . $sesi, "left"); goto acefJ; q4z3k: $this->db->join("master_mapel d", "d.id_mapel=b.bank_mapel_id", "left"); goto rTv3k; hdK5f: $this->db->join("master_guru f", "f.id_guru=b.bank_guru_id", "left"); goto fkqf4; MGUI1: $this->db->join("cbt_jenis c", "c.id_jenis=a.id_jenis", "left"); goto q4z3k; acefJ: r2yw8: goto hdK5f; fkuFz: } public function getJadwalByIdBank($id_bank) { goto kfnBw; kfnBw: $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 KED9Z; id28A: return $query; goto ULJcH; iX1EY: $this->db->join("master_guru f", "f.id_guru=b.bank_guru_id", "left"); goto h4MxC; joOIk: $this->db->join("master_mapel d", "d.id_mapel=b.bank_mapel_id", "left"); goto iX1EY; xZ_ID: $query = $this->db->get()->row(); goto id28A; kSYZx: $this->db->join("cbt_jenis c", "c.id_jenis=a.id_jenis", "left"); goto joOIk; KED9Z: $this->db->from("cbt_jadwal a"); goto QcaOL; QcaOL: $this->db->join("cbt_bank_soal b", "b.id_bank=a.id_bank", "left"); goto kSYZx; h4MxC: $this->db->where("a.id_bank", $id_bank); goto xZ_ID; ULJcH: } public function getAllJadwal($tp, $smt, $id_guru = null) { goto LmsY6; Gl9qU: return $this->db->get()->result(); goto evv3v; xVsIn: ed5SO: goto Rj9Rm; y0JoY: $this->db->from("cbt_bank_soal a"); goto xg3GR; xg3GR: $this->db->join("cbt_jadwal b", "b.id_bank=a.id_bank"); goto RUNYR; RUNYR: if (!($id_guru != null)) { goto ed5SO; } goto PQJoc; LmsY6: $this->db->select("a.bank_kode, a.bank_kelas, b.id_jadwal"); goto y0JoY; PQJoc: $this->db->where("a.bank_guru_id", $id_guru); goto xVsIn; sZrzO: $this->db->where("b.id_smt", $smt); goto Gl9qU; Rj9Rm: $this->db->where("b.id_tp", $tp); goto sZrzO; evv3v: } public function getJadwalByArrId($arr_id_jadwal, $sesi = null) { goto U7bk8; lUoPh: $this->db->join("master_mapel d", "d.id_mapel=b.bank_mapel_id", "left"); goto hwODQ; WGVAy: $this->db->join("master_guru f", "f.id_guru=b.bank_guru_id", "left"); goto d7vDH; GEiMN: $this->db->from("cbt_jadwal a"); goto qKHMq; PgJX7: return $query; goto T36BV; hwODQ: if (!($sesi != null)) { goto WZSjK; } goto HuhHS; G69Zq: WZSjK: goto WGVAy; HuhHS: $this->db->join("cbt_sesi e", "e.id_sesi=" . $sesi, "left"); goto G69Zq; nTSrr: $this->db->join("cbt_jenis c", "c.id_jenis=a.id_jenis", "left"); goto lUoPh; qKHMq: $this->db->join("cbt_bank_soal b", "b.id_bank=a.id_bank", "left"); goto nTSrr; d7vDH: $this->db->where_in("a.id_jadwal", $arr_id_jadwal); goto UClw0; UClw0: $query = $this->db->get()->result(); goto PgJX7; U7bk8: $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 GEiMN; T36BV: } public function cekJadwalBankSoal($id_bank) { goto KoWU_; DrdmM: $this->db->where_in("id_bank", $id_bank); goto QTbhQ; KoWU_: $this->db->select("id_bank"); goto LcBsO; QTbhQ: aB2O2: goto idUfq; idUfq: $query = $this->db->get()->num_rows(); goto WEdR8; wBFbf: $this->db->where("id_bank", $id_bank); goto R7jGh; O7uvE: V3asX: goto DrdmM; R7jGh: goto aB2O2; goto O7uvE; eAV0O: if (is_array($id_bank)) { goto V3asX; } goto wBFbf; LcBsO: $this->db->from("cbt_jadwal"); goto eAV0O; WEdR8: return $query; goto PxulN; PxulN: } 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 dEkuW; ZA_XU: if ($check != null) { goto UVyds; } goto vZfUN; lpA69: cK_j3: goto WGGGu; lsjR_: $bank_id = strip_tags($this->input->post("bank_id", TRUE)); goto gvRSC; uc9VG: $check = $this->db->where("id_bank", $bank_id)->where("id_jenis", $jenis_id)->get("cbt_jadwal")->row(); goto C5sFw; WGGGu: return false; goto ObFL7; p04AR: $reset_login = $this->input->post("reset_login", TRUE); goto lsjR_; VduBD: goto NRj2M; goto lpA69; vZfUN: $this->db->insert("cbt_jadwal", $data); goto iEAdk; lzYJx: return $insert_id; goto bk25r; C5sFw: $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 NLUyW; oQEsh: U1ylQ: goto O7sJi; O7sJi: OI8e6: goto Uw89m; dEkuW: $id = $this->input->post("id_jadwal", true); goto e7YqL; ObFL7: NRj2M: goto czFff; NLUyW: if ($id == '') { goto ynJ0Y; } goto uoMxU; e7YqL: $acak_soal = $this->input->post("acak_soal", TRUE); goto ROAtd; CMm1Q: return false; goto oQEsh; henro: $jarak = strip_tags($this->input->post("jarak", TRUE)); goto uc9VG; Wm8jQ: $status = $this->input->post("status", TRUE); goto p04AR; UcAU4: $hasil_tampil = $this->input->post("hasil_tampil", TRUE); goto JyZj0; NJa2X: UVyds: goto CMm1Q; emJt3: $durasi = strip_tags($this->input->post("durasi_ujian", TRUE)); goto henro; ROAtd: $acak_opsi = $this->input->post("acak_opsi", TRUE); goto UcAU4; JyZj0: $token = $this->input->post("token", TRUE); goto Wm8jQ; MwVsD: return $this->db->update("cbt_jadwal", $data); goto VduBD; FhtDN: $selesai = strip_tags($this->input->post("tgl_selesai", TRUE)); goto emJt3; uoMxU: if ($check != null && $check->id_jadwal != $id) { goto cK_j3; } goto twPIV; iEAdk: $insert_id = $this->db->insert_id(); goto lzYJx; bk25r: goto U1ylQ; goto NJa2X; fSeCe: ynJ0Y: goto ZA_XU; czFff: goto OI8e6; goto fSeCe; b0hA7: $mulai = strip_tags($this->input->post("tgl_mulai", TRUE)); goto FhtDN; twPIV: $this->db->where("id_jadwal", $id); goto MwVsD; gvRSC: $jenis_id = strip_tags($this->input->post("jenis_id", TRUE)); goto b0hA7; Uw89m: } public function getJadwalTgl($guru = null) { goto eFw5U; eFw5U: $this->db->distinct(); goto MchVI; LoiWC: $this->db->from("cbt_jadwal"); goto y8uyE; y8uyE: $query = $this->db->get(); goto bl7rM; bl7rM: return $query->result(); goto eZ5aW; MchVI: $this->db->select("tgl_mulai"); goto LoiWC; eZ5aW: } public function getDataJadwalByTgl($tgl) { goto Vcxd_; wb72o: $this->db->where("tgl_mulai <= '{$tgl}' AND tgl_selesai >= '{$tgl}'"); goto avAXN; Yt3Ce: return $query->result(); goto lKoct; q3xhU: $this->db->from("cbt_jadwal"); goto wb72o; sjyA9: $this->db->select("tgl_mulai, tgl_selesai"); goto q3xhU; Vcxd_: $this->db->distinct(); goto sjyA9; avAXN: $query = $this->db->get(); goto Yt3Ce; lKoct: } public function getDataGuru() { goto oTAiw; EqyVq: $this->db->from("master_guru a"); goto ySe6X; psF37: $query = $this->db->get()->result(); goto S9Vjq; ySe6X: $this->db->join("cbt_pengawas b", "b.id_guru = a.id_guru", "left"); goto psF37; oTAiw: $this->db->select("a.id_guru, a.nama_guru, b.id_pengawas, b.id_jadwal"); goto EqyVq; S9Vjq: return $query; goto bkXQU; bkXQU: } public function saveToken($post_token) { goto ujaWi; pO_YH: if (!$id) { goto zxkT0; } goto YZJoD; vhqId: return $this->db->update("cbt_token", $data); goto uSFME; fydOQ: bXJ1k: goto al8bk; N9CLJ: zxkT0: goto eqjUY; YZJoD: $this->db->where("id_token", $id); goto vhqId; L3JXY: $jarak = $post_token->jarak; goto mp_Xp; U3lZ1: return $insert_id; goto fydOQ; eqjUY: $this->db->insert("cbt_token", $data); goto WPy4E; uSFME: goto bXJ1k; goto N9CLJ; ujaWi: $id = isset($post_token->id_token) ? $post_token->id_token : false; goto Fr48N; qeTw3: $auto = $post_token->auto; goto L3JXY; mp_Xp: $data = array("token" => $tkn, "auto" => $auto, "jarak" => $jarak, "updated" => $post_token->updated); goto pO_YH; Fr48N: $tkn = $post_token->token; goto qeTw3; WPy4E: $insert_id = $this->db->insert_id(); goto U3lZ1; al8bk: } public function updateToken($token, $auto) { goto R4De3; cKV1D: return $result; goto qpSfF; zG_ti: $this->db->where("token", $token); goto Q3AMK; R4De3: $this->db->set("auto", $auto, FALSE); goto zG_ti; I234u: $result = $this->db->get("cbt_token")->row(); goto cKV1D; Q3AMK: $this->db->update("cbt_token"); goto I234u; qpSfF: } public function getToken() { $result = $this->db->get("cbt_token")->row(); return $result; } public function getJadwalCbtKelas($id_tp, $id_smt) { goto vOwPZ; sfeby: return $this->db->get()->result(); goto bnk3T; WQgjF: $this->db->join("cbt_bank_soal b", "b.id_bank=a.id_bank"); goto D0768; PT1uE: $this->db->where("a.id_smt", $id_smt); goto sfeby; D0768: $this->db->where("a.id_tp", $id_tp); goto PT1uE; Jjs0D: $this->db->from("cbt_jadwal a"); goto WQgjF; vOwPZ: $this->db->select("a.id_jadwal, b.bank_kelas"); goto Jjs0D; bnk3T: } public function getInfoJadwal($id_bank) { goto cRcEL; evqRU: $this->db->where("a.id_bank", $id_bank); goto T87_I; RmcVR: $this->db->join("cbt_jadwal b", "a.id_bank=b.id_bank"); goto evqRU; glgdp: $this->db->from("cbt_bank_soal a"); goto RmcVR; T87_I: return $this->db->get()->row(); goto D_kF3; cRcEL: $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 glgdp; D_kF3: } public function getAllIdSoal($id_bank) { goto kvG6M; jqJ7m: foreach ($result as $row) { $ret[$row->jenis][] = $row; aU_4V: } goto vipZQ; vipZQ: JD6tB: goto CdHQP; CdHQP: Q8QAh: goto D6Jo6; EgKTw: $this->db->where("tampilkan", "1"); goto WUM_a; kvG6M: $this->db->select("id_soal, jenis, jawaban"); goto cNslZ; WUM_a: $this->db->where("bank_id", $id_bank); goto E1zEL; uaVqv: if (!$result) { goto Q8QAh; } goto jqJ7m; E1zEL: $result = $this->db->get()->result(); goto AolUT; AolUT: $ret = []; goto uaVqv; D6Jo6: return $ret; goto oRy5R; cNslZ: $this->db->from("cbt_soal"); goto EgKTw; oRy5R: } public function getJadwalCbt($id_tp, $id_smt, $level) { goto mYYhw; lRMl6: return $retur; goto kg6su; tyfOh: $this->db->join("cbt_bank_soal c", "c.id_bank=a.id_bank"); goto xK2PH; ayFBH: $this->db->where("c.status", "1"); goto OmoLs; mYYhw: $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 Na6aI; pu5rT: $retur = []; goto o40HU; Io5Jl: $this->db->order_by("a.jam_ke"); goto voElv; soBSZ: $this->db->where("a.id_smt", $id_smt); goto ayFBH; qJAd5: $this->db->where("a.id_tp", $id_tp); goto iZyiB; ad_zU: jUSr5: goto lRMl6; o40HU: foreach ($result as $row) { $retur[$row->id_jadwal] = $row; dmjNs: } goto ad_zU; Dyfxa: $this->db->join("cbt_jenis b", "b.id_jenis=a.id_jenis"); goto tyfOh; xK2PH: $this->db->join("master_mapel d", "d.id_mapel=c.bank_mapel_id"); goto qJAd5; voElv: $result = $this->db->get()->result(); goto pu5rT; J4Q1U: $this->db->where("c.bank_level", $level); goto Io5Jl; OmoLs: $this->db->where("c.status_soal", "1"); goto J4Q1U; Na6aI: $this->db->from("cbt_jadwal a"); goto Dyfxa; iZyiB: $this->db->where("a.status", "1"); goto soBSZ; kg6su: } public function getJadwalByKelas($id_tp, $id_smt, $kelas) { goto oHZvD; yPCrr: $result = $this->db->get()->result(); goto uPCXs; uPCXs: $retur = []; goto PVc8t; PNcB0: $this->db->where("c.status", "1"); goto u4ngt; jBJMs: $this->db->where("a.status", "1"); goto z_XuL; uiRH5: qlgrO: goto xQBJP; wHacU: $this->db->order_by("a.jam_ke"); goto yPCrr; LirRd: $this->db->like("c.bank_kelas", $kelas); goto wHacU; dniJd: $this->db->where("a.id_tp", $id_tp); goto jBJMs; z_XuL: $this->db->where("a.id_smt", $id_smt); goto PNcB0; u4ngt: $this->db->where("c.status_soal", "1"); goto LirRd; XeW7u: $this->db->join("cbt_jenis b", "b.id_jenis=a.id_jenis"); goto AokVS; DhcOb: $this->db->from("cbt_jadwal a"); goto XeW7u; xQBJP: return $retur; goto JqDDj; GJ0C6: $this->db->join("master_mapel d", "d.id_mapel=c.bank_mapel_id"); goto dniJd; oHZvD: $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 DhcOb; PVc8t: foreach ($result as $row) { $retur[$row->id_jadwal] = $row; SVuWX: } goto uiRH5; AokVS: $this->db->join("cbt_bank_soal c", "c.id_bank=a.id_bank"); goto GJ0C6; JqDDj: } public function getCbt($id_jadwal) { goto MC6iH; MC6iH: $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 s8kYJ; JGb1L: $this->db->join("master_smt h", "h.id_smt=a.id_smt", "left"); goto cDFUz; GooY_: $this->db->join("master_tp g", "g.id_tp=a.id_tp", "left"); goto JGb1L; kojTi: $this->db->join("master_jurusan f", "f.id_jurusan=c.bank_jurusan_id", "left"); goto GooY_; s8kYJ: $this->db->from("cbt_jadwal a"); goto uM8gp; kOlNb: $this->db->join("master_guru e", "e.id_guru=c.bank_guru_id", "left"); goto kojTi; uM8gp: $this->db->join("cbt_jenis b", "b.id_jenis=a.id_jenis", "left"); goto Xi1uf; cDFUz: $this->db->where("a.id_jadwal", $id_jadwal); goto Muo7e; RU0hW: $this->db->join("master_mapel d", "d.id_mapel=c.bank_mapel_id", "left"); goto kOlNb; Muo7e: return $this->db->get()->row(); goto yADHC; Xi1uf: $this->db->join("cbt_bank_soal c", "c.id_bank=a.id_bank", "left"); goto RU0hW; yADHC: } public function getCbtById($id_jadwal) { goto iJGWc; DQa9u: return $this->db->get()->row(); goto yMDQx; iJGWc: $this->db->select("*"); goto ASNRI; ASNRI: $this->db->from("cbt_jadwal"); goto um1a4; um1a4: $this->db->where("id_jadwal", $id_jadwal); goto DQa9u; yMDQx: } public function getIdRuangById($array) { goto eJSEI; wsGFw: $this->db->from("cbt_ruang"); goto OKsVR; oO1iz: Yeg9M: goto zBKsK; DZDTa: if (!$result) { goto Yeg9M; } goto uhpaX; uhpaX: foreach ($result as $key => $row) { $ret[$row->id_ruang] = $row->kode_ruang; Kas74: } goto YZwJU; OKsVR: $this->db->where("id_ruang", $array); goto PPtyD; zBKsK: return $ret; goto BORrp; eJSEI: $this->db->select("nama_ruang"); goto wsGFw; YZwJU: GfiGe: goto oO1iz; PPtyD: $result = $this->db->get()->result(); goto DZDTa; BORrp: } public function getNamaRuangById($id) { goto YW6U3; tsEw5: $result = $this->db->get()->row(); goto RizRq; WFbKi: DWPt9: goto scHn2; HBdhF: $this->db->where("id_ruang", $id); goto tsEw5; Ug1ER: return ''; goto C4QaA; BYk__: $this->db->from("cbt_ruang"); goto HBdhF; scHn2: return $result->nama_ruang; goto Gwuwy; YW6U3: $this->db->select("nama_ruang"); goto BYk__; C4QaA: goto DrxpA; goto WFbKi; Gwuwy: DrxpA: goto v0y4o; RizRq: if ($result) { goto DWPt9; } goto Ug1ER; v0y4o: } public function getNamaSesiById($id) { goto MP_0M; BtNZr: $this->db->where(["id_sesi" => $id]); goto a5Kln; Q811e: $this->db->from("cbt_sesi"); goto BtNZr; a5Kln: return $this->db->get()->row()->nama_sesi; goto u0oC7; MP_0M: $this->db->select("nama_sesi"); goto Q811e; u0oC7: } public function getNamaKelasById($id) { goto WTjs7; gephQ: $this->db->where(["id_kelas" => $id]); goto Sn5Am; Sn5Am: return $this->db->get()->row()->nama_kelas; goto k24sz; IcCcG: $this->db->from("master_kelas"); goto gephQ; WTjs7: $this->db->select("nama_kelas"); goto IcCcG; k24sz: } public function getNamaGuruById($id) { goto Uaz5i; ZqLOc: $this->db->from("master_guru"); goto L6Dqc; L6Dqc: $this->db->where("id_guru", $id); goto LINXl; LINXl: return $this->db->get()->row()->nama_guru; goto JlXHr; Uaz5i: $this->db->select("nama_guru"); goto ZqLOc; JlXHr: } public function getElapsed($id) { goto Jv53x; TRP2N: $this->db->from("cbt_durasi_siswa"); goto MOv81; MOv81: $this->db->where("id_durasi", $id); goto sCNvB; sCNvB: return $this->db->get()->row(); goto DBFE9; Jv53x: $this->db->select("id_durasi, id_siswa, id_jadwal, status, lama_ujian, mulai, selesai, reset"); goto TRP2N; DBFE9: } public function getSoalSiswa($id_bank, $id_siswa) { goto pEevS; xnguH: $this->db->order_by("a.no_soal_alias"); goto atVVm; pEevS: $this->db->select("a.*, b.jenis, b.nomor_soal, b.jawaban"); goto R7y2V; atVVm: return $this->db->get()->result(); goto RhxR1; nF3ST: $this->db->join("cbt_soal b", "b.id_soal=a.id_soal", "left"); goto FYHjv; eWLDE: $this->db->where("a.id_siswa", $id_siswa); goto o5xjI; R7y2V: $this->db->from("cbt_soal_siswa a"); goto nF3ST; o5xjI: $this->db->order_by("a.jenis_soal"); goto xnguH; FYHjv: $this->db->where("a.id_bank", $id_bank); goto eWLDE; RhxR1: } public function getJumlahSoalSiswa($id_bank, $id_siswa) { goto UIsLS; kdgHS: $this->db->from("cbt_soal_siswa"); goto H3lWi; ajmXA: $result = $this->db->get()->num_rows(); goto gzoBO; UIsLS: $this->db->select("id_soal_siswa"); goto kdgHS; H3lWi: $this->db->where("id_bank", $id_bank); goto P6B22; P6B22: $this->db->where("id_siswa", $id_siswa); goto ajmXA; gzoBO: return $result; goto P4knd; P4knd: } public function getALLSoalSiswa($id_bank, $id_siswa) { goto IimyP; tFsJN: $this->db->from("cbt_soal_siswa a"); goto PjWnz; PjWnz: $this->db->join("cbt_soal b", "b.id_soal=a.id_soal"); goto wCDrh; IimyP: $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 tFsJN; k8gVH: $result = $this->db->get()->result(); goto RCflc; TueMU: $this->db->order_by("a.no_soal_alias"); goto k8gVH; RCflc: return $result; goto xmuS0; vaAMr: $this->db->where("a.id_siswa", $id_siswa); goto TueMU; wCDrh: $this->db->where("a.id_bank", $id_bank); goto vaAMr; xmuS0: } public function getJumlahJawaban($id_bank, $id_siswa) { goto pgC0G; s7MKG: $this->db->where("id_bank", $id_bank); goto oIu0w; pgC0G: $this->db->select("jawaban_siswa, id_siswa, id_bank"); goto HTkWp; HTkWp: $this->db->from("cbt_soal_siswa"); goto s7MKG; oIu0w: $this->db->where("id_siswa", $id_siswa); goto j4UgR; MmVT3: return $result; goto DKc8t; j4UgR: $result = $this->db->get()->result(); goto MmVT3; DKc8t: } public function getSoalSiswaByJadwal($id_jadwal, $id_siswa) { goto MN99V; nEpO6: $this->db->where("b.tampilkan", "1"); goto iicXm; DcDGw: $this->db->from("cbt_soal_siswa a"); goto EdvI7; iicXm: $this->db->order_by("a.jenis_soal"); goto pSoYk; pSoYk: $this->db->order_by("b.nomor_soal"); goto fhTTy; Aqlb5: $this->db->where("a.id_jadwal", $id_jadwal); goto bcSpR; bcSpR: $this->db->where("a.id_siswa", $id_siswa); goto nEpO6; fhTTy: return $this->db->get()->result(); goto pmsHE; EdvI7: $this->db->join("cbt_soal b", "b.id_soal=a.id_soal"); goto Aqlb5; MN99V: $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 DcDGw; pmsHE: } public function getSoalSiswaByNomor($id_soal_siswa) { goto dAzfp; sVzVz: return $this->db->get()->row(); goto BHP9U; XGJiE: $this->db->join("cbt_bank_soal c", "b.id_bank=a.id_bank"); goto uIcam; PBB3b: $this->db->from("cbt_soal_siswa a"); goto oHSi5; vpC7c: $this->db->order_by("a.no_soal_alias"); goto sVzVz; uIcam: $this->db->where("a.id_soal_siswa", $id_soal_siswa); goto vpC7c; oHSi5: $this->db->join("cbt_soal b", "b.id_soal=a.id_soal"); goto XGJiE; dAzfp: $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 PBB3b; BHP9U: } public function getSettingKartu() { goto zAxzF; rQnkT: return $this->db->get()->row(); goto Pv4XK; ovqXX: $this->db->from("cbt_kop_kartu"); goto rQnkT; zAxzF: $this->db->select("*"); goto ovqXX; Pv4XK: } public function getSettingKopAbsensi() { goto lGe5Q; lGe5Q: $this->db->select("a.*, b.logo_kanan, b.logo_kiri, b.kepsek, b.tanda_tangan"); goto ZDGWf; EYrA1: return $this->db->get()->row(); goto rxC8S; ZDGWf: $this->db->from("cbt_kop_absensi a"); goto PDH5H; PDH5H: $this->db->join("setting b", "b.id_setting=1", "left"); goto EYrA1; rxC8S: } public function getSettingKopBeritaAcara() { goto t151V; Fs7vr: return $this->db->get()->row(); goto mRzKU; L8yS6: $this->db->from("cbt_kop_berita a"); goto XHmSE; XHmSE: $this->db->join("setting d", "d.id_setting=1", "left"); goto Fs7vr; t151V: $this->db->select("a.*, d.logo_kanan, d.logo_kiri, d.kepsek, d.nip, d.tanda_tangan, d.sekolah"); goto L8yS6; mRzKU: } public function getDurasiSiswa($id) { return $this->db->get_where("cbt_durasi_siswa", "id_durasi=" . $id)->row(); } public function getFilterJawabanSiswa($jadwal, $arrIdSiswa) { goto PLUw9; PLUw9: $this->db->where("id_jadwal", $jadwal); goto HJtVZ; HJtVZ: $this->db->where_in("id_siswa", $arrIdSiswa); goto X_mVH; X_mVH: return $this->db->get("cbt_soal_siswa")->result(); goto ZZYP5; ZZYP5: } public function getFilterDurasiSiswa($jadwal, $arrIdSiswa) { goto y5771; oEBLF: return $ret; goto pdybJ; P5bWy: DagQG: goto oEBLF; y5771: $this->db->where("id_jadwal", $jadwal); goto dZJro; dZJro: $result = $this->db->get_where("cbt_durasi_siswa")->result(); goto a9rZ0; LgVBm: foreach ($result as $key => $row) { $ret[$row->id_durasi] = $row; gp8W1: } goto P5bWy; a9rZ0: $ret = []; goto LgVBm; pdybJ: } public function getJawabanByBank($id_bank, $id_siswa = null) { goto o5D4A; JkNKd: $this->db->where("a.id_siswa=", $id_siswa); goto lO7es; ooWU0: $this->db->where("a.id_bank=", $id_bank); goto CXefa; CXefa: $result = $this->db->get()->result(); goto bPBbD; o5D4A: $this->db->select("a.*, b.nomor_soal, b.jawaban"); goto PF20X; lO7es: AWt6W: goto ooWU0; YSjKH: if (!($id_siswa != null)) { goto AWt6W; } goto JkNKd; PF20X: $this->db->from("cbt_soal_siswa a"); goto Pd7Wp; bPBbD: return $result; goto s4YWp; Pd7Wp: $this->db->join("cbt_soal b", "b.id_soal=a.id_soal"); goto YSjKH; s4YWp: } public function getJawabanSiswa($id) { goto YnpNW; YnpNW: $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 kDdqu; kDdqu: $this->db->from("cbt_soal_siswa"); goto JQBU7; JQBU7: $this->db->where("id_soal_siswa=", $id); goto p9Q6r; p9Q6r: return $this->db->get()->row(); goto gSWGT; gSWGT: } public function getJawabanSiswaByJadwal($id_jadwal, $id_siswa = null) { goto GEMOW; yhTQv: NJp0e: goto o_zNB; Go442: $this->db->order_by("a.jenis_soal"); goto XUdlT; X75DI: $this->db->from("cbt_soal_siswa a"); goto CYg7e; XUdlT: $this->db->order_by("b.nomor_soal"); goto jBvSx; jBvSx: return $this->db->get()->result(); goto da3IC; p4WQv: IZ9YP: goto i2xZD; Heyvm: $this->db->where("a.id_siswa", $id_siswa); goto ja2BC; i2xZD: $this->db->where_in("a.id_siswa", $id_siswa); goto yhTQv; CYg7e: $this->db->join("cbt_soal b", "b.id_soal=a.id_soal"); goto GwGZs; Dglhj: if (is_array($id_siswa)) { goto IZ9YP; } goto Heyvm; ja2BC: goto NJp0e; goto p4WQv; o_zNB: Iuuo6: goto kkTy6; S8KiI: $this->db->where("b.tampilkan", "1"); goto Go442; GEMOW: $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 X75DI; kkTy6: $this->db->where("a.id_jadwal=", $id_jadwal); goto S8KiI; GwGZs: if (!($id_siswa != null)) { goto Iuuo6; } goto Dglhj; da3IC: } public function getIdSiswaFromJawabanByJadwal($id_jadwal) { goto kYZLQ; LuPga: $retur = []; goto H2Qar; zPl5r: return $retur; goto eOeb6; H2Qar: foreach ($result as $row) { $retur[$row->id_siswa][] = $row; pF0TU: } goto gYsBW; kYZLQ: $result = $this->db->get_where("cbt_soal_siswa", "id_jadwal=" . $id_jadwal)->result(); goto LuPga; gYsBW: NZHFM: goto zPl5r; eOeb6: } public function getDurasiSiswaByJadwal($id_jadwal, $id_siswa = null) { goto fFoqN; T0mxk: $this->db->where("id_siswa=", $id_siswa); goto RvPKd; Aoe72: $this->db->from("cbt_durasi_siswa"); goto ARIue; RvPKd: Eu5z7: goto EodL5; fFoqN: $this->db->select("id_durasi, id_siswa, id_jadwal, status, lama_ujian, mulai, selesai, reset"); goto Aoe72; KErm5: if (!($id_siswa != null)) { goto Eu5z7; } goto T0mxk; ARIue: $this->db->where("id_jadwal=", $id_jadwal); goto KErm5; EodL5: return $this->db->get()->result(); goto Gurx3; Gurx3: } public function getIdSiswaFromDurasiByJadwal($id_jadwal) { goto wRAeA; YhTob: oh2pt: goto DZrT_; gmZNo: $retur = []; goto cqP2k; cqP2k: foreach ($result as $row) { $retur[$row->id_siswa] = $row; fQfJh: } goto YhTob; wRAeA: $result = $this->db->get_where("cbt_durasi_siswa", "id_jadwal=" . $id_jadwal)->result(); goto gmZNo; DZrT_: return $retur; goto hcLqL; hcLqL: } public function getLogUjianByJadwal($id_jadwal) { goto lJ_Mh; lJ_Mh: $this->db->select("id_log, log_time, id_siswa, id_jadwal, log_type, log_desc, address, agent, device, reset"); goto DFymZ; DFymZ: $this->db->from("log_ujian"); goto nI4aC; nI4aC: $this->db->where("id_jadwal=", $id_jadwal); goto NMtUa; NMtUa: return $this->db->get()->result(); goto boMpt; boMpt: } public function getIdSiswaFromLogUjianByJadwal($id_jadwal) { goto XRwbU; XRwbU: $result = $this->db->get_where("log_ujian", "id_jadwal=" . $id_jadwal)->result(); goto ezIAP; kS_Oq: return $retur; goto qxUQe; tHcuh: yYLGe: goto kS_Oq; BfKoy: foreach ($result as $row) { $retur[$row->id_siswa] = $row; MuNQr: } goto tHcuh; ezIAP: $retur = []; goto BfKoy; qxUQe: } public function getNilaiSiswa($arr_jadwal, $id_siswa) { goto zazcc; GVwum: $this->db->where("id_siswa", $id_siswa); goto G8INN; zazcc: $this->db->select("*"); goto lLnNg; lLnNg: $this->db->from("cbt_nilai"); goto c3omI; d16oA: foreach ($result as $row) { $retur[$row->id_jadwal] = $row; xcIwV: } goto G6GF8; G6GF8: bWe7l: goto Lt9uB; Lt9uB: return $retur; goto Z75z6; c3omI: $this->db->where_in("id_jadwal", $arr_jadwal); goto GVwum; z2NGi: $retur = []; goto d16oA; G8INN: $result = $this->db->get()->result(); goto z2NGi; Z75z6: } public function getNilaiSiswaByJadwal($id_jadwal, $id_siswa) { goto wGHok; XP_N0: $this->db->where("id_siswa", $id_siswa); goto gIhRL; gIhRL: $result = $this->db->get()->row(); goto FBLm4; wGHok: $this->db->select("*"); goto DNVjM; WZvg_: $this->db->where("id_jadwal", $id_jadwal); goto XP_N0; FBLm4: return $result; goto xr4Xp; DNVjM: $this->db->from("cbt_nilai"); goto WZvg_; xr4Xp: } public function getNilaiAllSiswa($arr_jadwal, $arr_id_siswa) { goto bLfXM; PCGer: foreach ($result as $row) { $retur[$row->id_siswa] = $row; t8RFv: } goto DA7vW; b3cq5: $retur = []; goto PCGer; bLfXM: $this->db->select("*"); goto kVd2T; kVd2T: $this->db->from("cbt_nilai"); goto OvmXZ; OvmXZ: $this->db->where_in("id_jadwal", $arr_jadwal); goto n3du2; DA7vW: TbX1N: goto I0qox; n3du2: $this->db->where_in("id_siswa", $arr_id_siswa); goto t8hCq; I0qox: return $retur; goto IC3Ev; t8hCq: $result = $this->db->get()->result(); goto b3cq5; IC3Ev: } public function getAllNilaiSiswa($id_jadwal) { goto eM0X_; cWwel: return $retur; goto X4DSI; aOXSR: $result = $this->db->get()->result(); goto i2Av4; T6nXT: foreach ($result as $row) { $retur[$row->id_siswa] = $row; yh_Yv: } goto hKWrN; eM0X_: $this->db->select("*"); goto smVji; pQS97: $this->db->where("id_jadwal", $id_jadwal); goto aOXSR; smVji: $this->db->from("cbt_nilai"); goto pQS97; i2Av4: $retur = []; goto T6nXT; hKWrN: rT2L5: goto cWwel; X4DSI: } public function getTotalKoreksi() { goto qpsgr; qpsgr: $this->db->select("id_jadwal, dikoreksi, id_siswa"); goto d3YGv; ShAun: $result = $this->db->get()->result(); goto kOQH9; QuMP2: return $retur; goto V7ARj; d3YGv: $this->db->from("cbt_nilai"); goto ShAun; kOQH9: $retur = []; goto sSo9Q; sSo9Q: foreach ($result as $row) { goto qSPLL; t5ObT: $retur[$row->id_jadwal][$row->dikoreksi][] = $row->id_siswa; goto CT_EZ; qSPLL: if (!($row->id_siswa != null)) { goto yl7Kj; } goto t5ObT; CT_EZ: yl7Kj: goto KmfIc; KmfIc: E5eCF: goto KXcLf; KXcLf: } goto x3YJ_; x3YJ_: sE3od: goto QuMP2; V7ARj: } 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 XKQ77; HVRKl: $result = $this->db->get("cbt_nomor_peserta")->result(); goto yIUbf; gPHJA: foreach ($result as $row) { $ret[$row->id_siswa] = $row; S7sx0: } goto TYum2; jCUsz: return $ret; goto y7I69; TYum2: xa_jt: goto jCUsz; yIUbf: $ret = []; goto gPHJA; XKQ77: $this->db->select("*"); goto HVRKl; y7I69: } public function getDistinctTahun() { goto nxyMV; K1D1F: $this->db->distinct(); goto CCE51; pPGE6: $ret = []; goto S9hKJ; CCE51: $result = $this->db->get("cbt_rekap_nilai")->result(); goto pPGE6; zVjSr: bOVLH: goto jblXo; nxyMV: $this->db->select("tp"); goto K1D1F; S9hKJ: foreach ($result as $row) { $ret[$row->tp] = $row->tp; MF6Li: } goto zVjSr; jblXo: return $ret; goto F9vk4; F9vk4: } public function getDistinctSmt() { goto QjmtQ; jfrJV: return $ret; goto mcbie; QjmtQ: $this->db->select("smt"); goto GDTdB; Oiqp1: $result = $this->db->get("cbt_rekap_nilai")->result(); goto kizhE; GDTdB: $this->db->distinct(); goto Oiqp1; kizhE: $ret = []; goto B2sm1; y0Msr: aruqd: goto jfrJV; B2sm1: foreach ($result as $row) { $ret[$row->smt] = $row->smt; jBkuO: } goto y0Msr; mcbie: } public function getDistinctJenisUjian() { goto RLaW4; RLaW4: $this->db->select("tp, smt, kode_jenis"); goto whpyH; chLjd: TxgsF: goto QK3b5; ho0vp: foreach ($result as $row) { $ret[$row->tp][$row->smt][$row->kode_jenis] = $row->kode_jenis; m88su: } goto chLjd; QK3b5: return $ret; goto WYdWH; AsKRj: $ret = []; goto ho0vp; whpyH: $this->db->distinct(); goto i1lxt; i1lxt: $result = $this->db->get("cbt_rekap_nilai")->result(); goto AsKRj; WYdWH: } public function getDistinctJenis() { goto USXqS; USXqS: $this->db->select("id_jenis, tp, smt, kode_jenis"); goto EwTEz; Fe93b: $result = $this->db->get("cbt_rekap_nilai")->result(); goto Ql_CU; EwTEz: $this->db->distinct(); goto Fe93b; Ql_CU: $ret = []; goto faxz7; sILAf: return $ret; goto qSOby; faxz7: foreach ($result as $row) { $ret[$row->tp][$row->smt][$row->id_jenis] = $row->kode_jenis; j8F94: } goto IsHCG; IsHCG: DFt9f: goto sILAf; qSOby: } public function getDistinctKelas($id_jadwal = null) { goto RLeJF; wRXe5: $this->db->where("id_jadwal", $id_jadwal); goto o2can; D1kOh: foreach ($result as $row) { goto TJGzq; GzyiV: $ret[$row->tp][$row->smt][$row->kode_jenis][$row->id_kelas] = $row->nama_kelas; goto k6fW_; PsjGG: GmOSK: goto EbA6i; k6fW_: gReWI: goto PsjGG; TJGzq: if (!($row->id_kelas != '')) { goto gReWI; } goto GzyiV; EbA6i: } goto OHXFh; XLzw_: $this->db->join("master_kelas b", "b.id_kelas=a.id_kelas"); goto XcVL0; yGbTa: $this->db->from("cbt_rekap_nilai a"); goto aQL4O; aQL4O: if (!($id_jadwal != null)) { goto LxBSW; } goto wRXe5; kRHb4: return $ret; goto tsyEQ; o2can: LxBSW: goto XLzw_; RLeJF: $this->db->select("a.tp, a.smt, a.kode_jenis, a.id_kelas, b.nama_kelas"); goto UGGXv; OHXFh: ekYSn: goto kRHb4; UGGXv: $this->db->distinct(); goto yGbTa; HwLaZ: $ret = []; goto D1kOh; XcVL0: $result = $this->db->get()->result(); goto HwLaZ; tsyEQ: } }
?>
Did this file decode correctly?
Original Code
<?php
/* ________________________________________
| GarudaCBT |
| https://github.com/garudacbt/cbt |
|________________________________________|
*/
class Cbt_model extends CI_Model { public function get_where($table, $pk, $id, $join = null, $order = null) { goto va13b; AYvfU: if (!($order !== null)) { goto seTLV; } goto LBfzO; va13b: $this->db->select("\52"); goto klg0y; LBfzO: foreach ($order as $field => $sort) { $this->db->order_by($field, $sort); iAqbh: } goto EXoSr; klg0y: $this->db->from($table); goto USmXj; EXoSr: WUixy: goto ycmS0; EBrom: foreach ($join as $table => $field) { $this->db->join($table, $field); Mke25: } goto mNl_0; BgNOP: $query = $this->db->get(); goto ifsGe; ycmS0: seTLV: goto BgNOP; USmXj: $this->db->where($pk, $id); goto jSUJS; ifsGe: return $query; goto O7SUB; tCycW: Rwry0: goto AYvfU; mNl_0: srfX1: goto tCycW; jSUJS: if (!($join !== null)) { goto Rwry0; } goto EBrom; O7SUB: } public function saveLog($id_siswa, $id_jadwal, $type, $desc) { goto dyC8K; YbC6t: n0zsA: goto WfrtW; nJ0Vk: if ($this->agent->is_mobile()) { goto fETX4; } goto URps3; VS7i_: $agent = $this->agent->browser() . "\x20" . $this->agent->version(); goto Vy8H1; dyC8K: if ($this->agent->is_browser()) { goto m07Di; } goto nJ0Vk; vTDv_: return "\x65\x72\x72\x6f\162"; goto ginrK; ZRYHN: goto n0zsA; goto PboVX; ZGxJb: $agent = $this->agent->mobile(); goto YbC6t; WfrtW: if ($agent == "\165\x6e\x6b\156\x6f\x77\156") { goto xZ9M2; } goto wZPZw; Xczci: return $this->insertLog($id_siswa, $id_jadwal, $type, $desc, $agent, $os, $ip); goto TCyyP; PboVX: m07Di: goto VS7i_; PIDWx: fETX4: goto ZGxJb; URps3: $agent = "\165\x6e\153\156\157\x77\156"; goto ZRYHN; ginrK: rzOH3: goto nwDk3; TCyyP: goto rzOH3; goto FZlDo; awVku: $ip = $this->input->ip_address(); goto Xczci; wZPZw: $os = $this->agent->platform(); goto awVku; Vy8H1: goto n0zsA; goto PIDWx; FZlDo: xZ9M2: goto vTDv_; nwDk3: } private function insertLog($id_siswa, $id_jadwal, $type, $desc, $agent, $os, $ip) { goto y6QFC; y6QFC: $log = $this->db->where("\151\x64\x5f\154\157\147", $id_siswa . "\60" . $id_jadwal . $type)->get("\154\x6f\147\x5f\165\152\151\141\156")->row(); goto Fi1SY; Mhc73: mTZaD: goto J3uqt; Fi1SY: if ($log != null) { goto mTZaD; } goto Vt4YL; aS3gv: goto qZU89; goto Mhc73; J3uqt: $this->db->set("\x6c\x6f\147\x5f\164\x79\160\145", $type); goto vIE8j; WKu1q: qZU89: goto tCfPQ; QHqyy: $insert = $this->db->update("\x6c\157\x67\137\165\152\x69\141\x6e"); goto WKu1q; tCfPQ: return $insert; goto JEbHm; Vt4YL: $data = array("\x69\144\x5f\x6c\157\x67" => $id_siswa . "\60" . $id_jadwal . $type, "\x69\x64\137\x73\151\163\167\x61" => $id_siswa, "\x69\x64\137\x6a\x61\x64\167\x61\154" => $id_jadwal, "\x6c\x6f\147\x5f\x74\171\x70\145" => $type, "\x6c\x6f\147\137\x64\x65\163\x63" => $desc, "\x61\x64\x64\x72\x65\x73\163" => $ip, "\x61\147\145\156\164" => $agent, "\144\145\166\151\143\x65" => $os); goto Um6Qn; Um6Qn: $insert = $this->db->insert("\x6c\x6f\147\137\165\x6a\x69\x61\156", $data); goto aS3gv; vIE8j: $this->db->set("\x6c\x6f\147\137\144\x65\163\x63", $desc); goto J0LBG; J0LBG: $this->db->where("\151\144\x5f\154\157\x67", $id_siswa . "\60" . $id_jadwal . $type); goto QHqyy; JEbHm: } public function getDataSiswa($username, $id_tp, $id_smt) { goto KuhZh; KuhZh: $this->db->select("\x61\x2e\151\x64\x5f\x73\151\x73\167\x61\54\x20\x61\56\156\151\x73\156\54\40\x61\x2e\156\x69\x73\54\x20\x61\56\x6e\x61\x6d\x61\54\x20\141\56\x6a\145\x6e\x69\x73\137\x6b\x65\154\141\x6d\151\156\x2c\x20\141\56\165\163\x65\x72\156\141\x6d\x65\54\40\x61\56\x70\x61\163\x73\x77\x6f\162\x64\x2c\40\x61\x2e\141\x67\141\155\x61\54\x20\141\x2e\146\157\164\x6f\x2c" . "\x20\142\56\151\x64\137\x6b\145\x6c\141\x73\137\x73\x69\163\167\141\54\40\x62\x2e\x69\144\137\x74\x70\54\x20\x62\56\151\144\x5f\163\x6d\164\x2c\40\142\x2e\151\144\x5f\x73\151\163\167\141\54\x20\142\x2e\151\x64\137\153\x65\x6c\141\x73\54" . "\x20\143\x2e\156\141\x6d\x61\x5f\x6b\145\154\x61\163\54\40\x63\x2e\x6b\157\144\145\137\153\145\x6c\x61\x73\x2c\40\143\56\154\x65\x76\x65\154\137\x69\x64\x2c\40" . "\x20\144\x2e\x6b\x65\154\x61\163\x5f\151\x64\x2c\x20\144\56\x72\x75\141\x6e\x67\x5f\151\144\x2c\40\144\56\163\x65\x73\151\x5f\151\x64"); goto JVe7m; XKT17: $this->db->join("\x6d\141\163\x74\145\x72\x5f\x6b\145\x6c\x61\x73\x20\143", "\142\56\x69\144\x5f\153\x65\154\x61\163\x3d\143\56\151\x64\137\x6b\145\154\x61\x73\x20\x41\x4e\x44\40\x63\56\151\144\x5f\164\x70\75" . $id_tp . "\40\101\116\x44\x20\x63\x2e\151\144\137\x73\155\x74\x3d" . $id_smt, "\x6c\145\146\x74"); goto tGTm7; o1sKL: $this->db->where("\x75\x73\x65\x72\156\x61\155\x65", $username); goto rl_dK; tGTm7: $this->db->join("\x63\142\164\x5f\x73\x65\163\151\137\163\x69\x73\167\x61\x20\x64", "\x61\x2e\x69\x64\137\163\x69\163\167\141\x3d\x64\x2e\x73\151\x73\167\x61\137\151\x64", "\x6c\145\146\x74"); goto o1sKL; tn3Du: return $query; goto uGgHT; uIpJY: $this->db->join("\153\x65\154\141\163\x5f\163\x69\163\x77\141\40\x62", "\141\x2e\151\144\x5f\x73\x69\163\167\141\x3d\x62\56\151\144\137\x73\x69\x73\167\x61\x20\101\x4e\x44\40\x62\x2e\151\144\137\164\160\x3d" . $id_tp . "\x20\101\x4e\x44\40\x62\x2e\151\x64\x5f\x73\155\164\75" . $id_smt, "\x6c\145\146\164"); goto XKT17; rl_dK: $query = $this->db->get()->row(); goto tn3Du; JVe7m: $this->db->from("\x6d\141\163\x74\x65\x72\x5f\163\x69\x73\167\141\x20\x61"); goto uIpJY; uGgHT: } public function getDataSiswaById($id_tp, $id_smt, $idSiswa) { goto w89wF; dtPaz: $this->db->join("\x63\142\164\137\x73\x65\x73\151\40\145", "\x65\56\151\144\137\163\x65\163\x69\75\143\56\x73\145\163\x69\x5f\x69\144", "\x6c\145\x66\x74"); goto Q0nVK; CIJ6M: return $this->db->get()->row(); goto o29W6; vFj7E: $this->db->join("\x63\x62\164\x5f\163\x65\163\151\x20\152", "\152\x2e\x69\144\x5f\x73\145\163\x69\x3d\150\x2e\x69\x64\137\x73\x65\163\x69", "\154\x65\146\x74"); goto gqxRQ; RAcG2: $this->db->join("\x6d\x61\163\164\145\162\137\x73\151\163\167\x61\x20\x62", "\x62\x2e\x69\144\x5f\x73\x69\163\x77\141\75\141\56\x69\x64\137\163\x69\163\x77\x61", "\154\x65\x66\x74"); goto GHTmo; GHTmo: $this->db->join("\x63\x62\x74\137\163\145\x73\151\137\163\x69\x73\167\x61\x20\143", "\143\x2e\x73\151\163\167\141\x5f\151\x64\75\141\x2e\151\x64\x5f\163\151\163\167\141", "\154\x65\x66\x74"); goto xRBdL; A5URR: $this->db->join("\143\142\x74\137\x72\165\x61\x6e\147\x20\151", "\151\x2e\151\x64\x5f\162\165\x61\x6e\147\75\x68\x2e\x69\x64\137\x72\x75\141\156\147", "\154\145\x66\x74"); goto vFj7E; w89wF: $this->db->select("\142\56\151\144\137\163\x69\x73\167\141\54\x20\142\x2e\156\x61\x6d\141\x2c\40\x62\x2e\152\x65\156\151\163\137\x6b\x65\154\x61\x6d\x69\x6e\x2c\40\x62\56\156\151\163\54\40\142\x2e\x6e\x69\x73\x6e\54\40\x62\56\x75\x73\x65\x72\156\x61\x6d\145\x2c\40\142\56\x70\x61\x73\163\167\157\x72\144\54" . "\40\x62\x2e\x66\157\x74\157\54\40\143\56\x73\x65\x73\151\x5f\x69\x64\54\40\x64\56\x6b\x6f\144\x65\x5f\x72\x75\x61\156\x67\x2c\x20\x65\56\x6b\x6f\x64\145\137\163\145\x73\151\x2c\40\146\56\156\x61\155\x61\x5f\x6b\x65\154\141\x73\x2c\40\147\x2e\156\x6f\155\x6f\x72\x5f\160\145\163\x65\162\x74\x61\54" . "\x20\x68\x2e\163\145\x74\x5f\x73\151\163\167\x61\x2c\x20\x69\x2e\x6b\157\144\x65\x5f\162\165\x61\156\147\40\x61\163\40\162\x75\x61\156\147\x5f\153\145\x6c\141\163\54\x20\152\56\153\x6f\144\x65\137\x73\145\x73\151\x20\x61\x73\x20\x73\x65\163\151\x5f\x6b\x65\154\141\x73"); goto egGlj; egGlj: $this->db->from("\153\x65\154\x61\163\x5f\x73\151\x73\x77\141\40\x61"); goto RAcG2; aBeHL: $this->db->join("\x63\142\x74\x5f\x6e\x6f\155\157\x72\x5f\160\145\x73\145\162\164\x61\40\x67", "\147\56\151\x64\x5f\x73\151\x73\167\x61\x3d\141\56\151\x64\x5f\163\151\x73\167\x61\40\101\116\104\40\147\56\x69\144\137\x74\160\x3d" . $id_tp, "\x6c\x65\146\x74"); goto zgcf1; gqxRQ: $this->db->where("\x61\x2e\x69\x64\137\164\x70", $id_tp); goto HAEr3; zgcf1: $this->db->join("\x63\142\164\x5f\x6b\145\x6c\x61\163\137\162\x75\141\x6e\147\40\150", "\150\56\151\x64\x5f\153\x65\x6c\x61\x73\x3d\x61\x2e\151\144\137\x6b\x65\154\x61\x73", "\x6c\x65\146\x74"); goto A5URR; xRBdL: $this->db->join("\x63\142\164\137\162\x75\x61\156\x67\40\x64", "\144\x2e\151\x64\x5f\162\165\141\156\x67\x3d\x63\56\162\165\141\156\x67\x5f\x69\144", "\x6c\145\146\x74"); goto dtPaz; HAEr3: $this->db->where("\141\x2e\x69\144\137\163\x6d\x74", $id_smt); goto Eyd0U; Eyd0U: $this->db->where("\141\56\x69\144\x5f\163\x69\163\167\x61", $idSiswa); goto CIJ6M; Q0nVK: $this->db->join("\x6d\141\x73\x74\145\x72\137\x6b\x65\154\x61\x73\x20\146", "\146\x2e\x69\x64\137\x6b\145\154\x61\x73\75\x61\56\x69\x64\137\153\x65\x6c\141\163", "\x6c\x65\x66\164"); goto aBeHL; o29W6: } public function getWaktuSesiById($id_sesi) { goto UV39I; qXvDu: $result = $this->db->get("\x63\x62\164\x5f\163\x65\x73\151")->row(); goto wSR9o; UV39I: $this->db->select("\52"); goto JRAim; wSR9o: return $result; goto t6g60; JRAim: $this->db->where("\151\x64\137\163\x65\163\151", $id_sesi); goto qXvDu; t6g60: } public function getAllRuang() { goto ktBCB; jE20B: return $ret; goto uwzKi; GDjbi: $result = $this->db->get("\x63\142\164\137\x72\x75\x61\156\x67")->result(); goto H3hLs; MFXas: foreach ($result as $key => $row) { $ret[$row->id_ruang] = $row->kode_ruang; SfUo9: } goto o21OP; H3hLs: $ret = []; goto IFDFN; o21OP: hliI6: goto iId4I; IFDFN: if (!$result) { goto uJj25; } goto MFXas; ktBCB: $this->db->select("\151\x64\137\x72\165\141\x6e\x67\x2c\x20\x6e\x61\155\x61\x5f\162\x75\141\156\x67\54\40\x6b\x6f\144\145\x5f\x72\x75\x61\x6e\147"); goto GDjbi; iId4I: uJj25: goto jE20B; uwzKi: } public function getKelasByLevel($level, $arrKelas) { goto rnk4A; jlKF5: $this->db->where("\154\x65\x76\145\x6c\x5f\151\x64", $level); goto dIBne; rnk4A: $this->db->select("\151\x64\137\153\x65\x6c\x61\x73\54\40\x6b\157\144\x65\137\x6b\x65\x6c\x61\163"); goto jlKF5; ksjs7: return $result; goto m2Rxi; dIBne: $this->db->where_in("\x69\x64\137\153\x65\154\x61\x73", $arrKelas); goto mW9sj; mW9sj: $result = $this->db->get("\155\x61\163\164\145\162\x5f\153\145\154\x61\163")->result(); goto ksjs7; m2Rxi: } public function getAllJurusan() { goto rCKLk; YzczN: VT_Jr: goto F6XDz; rCKLk: $result = $this->db->get("\x6d\x61\163\x74\145\x72\137\x6a\165\x72\x75\163\x61\x6e")->result(); goto uF34L; F6XDz: Sgm3R: goto BePWp; BePWp: return $ret; goto wLWMP; uF34L: if (!$result) { goto Sgm3R; } goto v91lf; v91lf: foreach ($result as $key => $row) { $ret[$row->id_jurusan] = $row->kode_jurusan; AG6DE: } goto YzczN; wLWMP: } public function getPengawas($id_pengawas) { goto prjJf; prjJf: $this->db->select("\151\144\x5f\x70\145\x6e\147\141\x77\141\163\x2c\x20\151\x64\x5f\x6a\141\144\167\x61\x6c\x2c\40\151\x64\x5f\x74\x70\54\40\151\144\x5f\163\x6d\164\54\40\151\x64\137\x72\x75\141\156\147\x2c\x20\x69\x64\x5f\163\x65\x73\x69\54\x20\x69\144\137\x67\165\162\x75"); goto u70sR; HZhxB: $this->db->where("\151\144\x5f\160\145\x6e\147\141\167\141\163", $id_pengawas); goto Ck19L; Ck19L: return $this->db->get()->row(); goto YPfQH; u70sR: $this->db->from("\x63\x62\164\137\x70\x65\x6e\x67\141\167\x61\x73"); goto HZhxB; YPfQH: } public function getPengawasByGuru($tp, $smt, $id_guru) { goto ZzZCu; mc3JZ: $this->db->where("\x61\56\x69\x64\x5f\164\x70", $tp); goto DMoCf; ZzZCu: $this->db->select("\x61\56\x69\x64\137\x70\145\156\147\141\x77\141\x73\x2c\x20\x61\x2e\x69\x64\137\x6a\141\x64\167\x61\x6c\x2c\40\x61\56\151\144\137\164\160\54\40\141\56\x69\144\137\x73\155\164\x2c\x20\141\56\151\x64\137\x72\165\141\156\147\54\x20\141\x2e\151\144\137\163\x65\x73\x69\54\x20\141\56\x69\x64\x5f\147\165\x72\165\x2c" . "\x20\142\x2e\x69\144\137\x6a\141\x64\x77\141\154\54\x20\142\56\164\x67\154\137\x6d\x75\x6c\141\151\x2c\x20\142\56\164\x67\x6c\137\x73\x65\x6c\145\163\x61\151\x2c\x20\143\56\x62\x61\x6e\x6b\x5f\153\x6f\144\x65"); goto Kj1mX; jy7w3: $this->db->join("\x63\142\164\137\x6a\x61\x64\x77\x61\154\40\142", "\142\56\151\x64\137\152\141\x64\167\141\x6c\75\141\x2e\x69\144\x5f\x6a\x61\144\x77\141\154"); goto j1vMU; DMoCf: $this->db->where("\x61\x2e\151\x64\137\163\155\164", $smt); goto xmy0U; drz9H: return $this->db->get()->result(); goto WkBng; xmy0U: $this->db->like("\x61\x2e\x69\x64\137\147\x75\162\x75", $id_guru); goto jy7w3; Kj1mX: $this->db->from("\x63\142\x74\137\160\x65\156\147\141\x77\x61\163\40\141"); goto mc3JZ; j1vMU: $this->db->join("\143\x62\x74\x5f\142\x61\156\153\137\163\157\141\154\40\143", "\142\56\151\x64\x5f\x62\x61\156\x6b\75\x63\x2e\151\144\x5f\x62\x61\156\153"); goto drz9H; WkBng: } public function getPengawasByJadwal($tp, $smt, $id_jadwal, $sesi = null, $ruang = null) { goto V0Li_; pGfhP: $result = $this->db->get()->result(); goto L5uFD; ZP32T: $this->db->where("\151\x64\137\x72\x75\x61\156\x67", $ruang); goto bpyGH; Kl8pE: $this->db->where("\x69\144\137\163\155\164", $smt); goto ebwJN; xYagt: $this->db->from("\x63\x62\164\x5f\160\x65\156\147\x61\x77\141\163"); goto fBzZ4; YN05u: if (!($sesi != null)) { goto vXkSv; } goto N_29u; ebwJN: $this->db->where("\x69\x64\137\x6a\x61\144\167\x61\x6c", $id_jadwal); goto YN05u; L5uFD: return $result; goto YyYvM; ueU4I: vXkSv: goto GxdwN; fBzZ4: $this->db->where("\151\144\137\x74\x70", $tp); goto Kl8pE; bpyGH: hNHGT: goto pGfhP; GxdwN: if (!($ruang != null)) { goto hNHGT; } goto ZP32T; V0Li_: $this->db->select("\151\x64\x5f\x70\145\x6e\147\141\167\x61\x73\x2c\40\151\144\137\147\x75\162\x75"); goto xYagt; N_29u: $this->db->where("\151\144\137\163\x65\x73\x69", $sesi); goto ueU4I; YyYvM: } public function getAllPengawas($tp, $smt, $ruang = null, $sesi = null) { goto dRn5c; QJ4vY: bQa1q: goto kBkl5; WleoN: $this->db->from("\143\x62\164\x5f\x70\x65\156\147\x61\x77\x61\x73"); goto rjmxc; PB2fY: fVNrE: goto IXX4f; IXX4f: if (!($sesi != null)) { goto znncv; } goto cYPXQ; q71Lw: $this->db->where("\151\144\137\163\x6d\164", $smt); goto p1rVF; rjmxc: $this->db->where("\151\144\x5f\x74\x70", $tp); goto q71Lw; VKVD4: return $ret; goto tzgGy; BnhuC: znncv: goto syITq; iWkHR: if (!$result) { goto s0QyI; } goto exbSE; p1rVF: if (!($ruang != null)) { goto fVNrE; } goto K0pMW; PVurR: $ret = []; goto iWkHR; K0pMW: $this->db->where("\x69\144\137\162\x75\x61\156\147", $ruang); goto PB2fY; cYPXQ: $this->db->where("\151\x64\x5f\163\145\163\x69", $sesi); goto BnhuC; dRn5c: $this->db->select("\151\144\x5f\x70\145\156\x67\x61\x77\141\x73\54\x20\x69\144\137\x6a\141\x64\167\x61\x6c\x2c\40\x69\144\137\x72\x75\x61\x6e\x67\54\40\x69\144\x5f\163\145\x73\x69\54\x20\151\144\137\147\165\x72\165"); goto WleoN; exbSE: foreach ($result as $key => $row) { $ret[$row->id_jadwal][$row->id_ruang][$row->id_sesi] = $row; zn9LO: } goto QJ4vY; kBkl5: s0QyI: goto VKVD4; syITq: $result = $this->db->get()->result(); goto PVurR; tzgGy: } public function getDistinctRuang($tp, $smt, $arrKelas) { goto wzoYX; mqRgJ: $result = $this->db->get()->result(); goto MrDUr; GVVJL: $this->db->order_by("\143\56\156\141\155\141\137\163\145\x73\151", "\101\x53\103"); goto mqRgJ; gPUlm: HIqNT: goto UFBQc; wzoYX: $this->db->distinct("\x61\56\x72\165\x61\x6e\147\x5f\151\x64"); goto WPpjX; Aj63t: foreach ($result as $key => $row) { $ret[$row->ruang_id][$row->sesi_id] = $row; W7DCE: } goto Sx3bm; QqlBJ: $this->db->join("\x63\x62\x74\x5f\x73\x65\x73\151\40\x63", "\x63\56\x69\x64\137\x73\145\163\151\x3d\141\x2e\163\x65\x73\151\x5f\151\x64"); goto FYtUJ; bzphq: KaR2N: goto pOO5G; ABHa1: $this->db->where_in("\153\145\154\141\x73\137\151\144", $arrKelas); goto gPUlm; FYtUJ: if (!(count($arrKelas) > 0)) { goto HIqNT; } goto ABHa1; UFBQc: $this->db->order_by("\x62\56\156\x61\x6d\141\x5f\162\165\141\156\147", "\101\123\103"); goto GVVJL; kHBK0: $this->db->join("\143\142\x74\x5f\x72\x75\x61\156\x67\x20\x62", "\142\x2e\x69\x64\137\x72\x75\x61\156\147\75\141\x2e\162\x75\x61\x6e\147\137\151\144"); goto QqlBJ; ZSbss: if (!$result) { goto KaR2N; } goto Aj63t; MrDUr: $ret = []; goto ZSbss; Sx3bm: qxxjT: goto bzphq; WPpjX: $this->db->select("\x61\x2e\162\165\x61\x6e\147\x5f\x69\x64\54\x20\x61\x2e\x73\145\x73\151\137\x69\144\x2c\x20\142\x2e\153\x6f\144\145\x5f\x72\165\141\156\147\x2c\40\x62\56\x6e\x61\x6d\141\137\162\x75\x61\156\147\54\40\143\x2e\153\157\x64\145\137\163\145\163\151\54\x20\143\x2e\156\x61\x6d\141\137\x73\x65\163\151"); goto exKHh; exKHh: $this->db->from("\143\x62\x74\x5f\x73\145\x73\x69\137\x73\151\163\x77\141\40\141"); goto kHBK0; pOO5G: return $ret; goto CdkQS; CdkQS: } public function getKelasUjian($kelas_id) { goto Vxa9E; ITuo6: $result = $this->db->get()->result(); goto kH8JI; Vxa9E: $this->db->select("\153\x65\154\x61\x73\x5f\151\144\x2c\40\162\x75\141\156\x67\x5f\x69\144\x2c\40\163\145\163\x69\x5f\x69\144"); goto BDFG3; kH8JI: $ret = []; goto Aubwa; IOm6o: n0TBh: goto oc__d; oc__d: hBu2k: goto EckTe; Kw2sq: $this->db->where("\x6b\145\154\141\163\137\x69\144", $kelas_id); goto ITuo6; Aubwa: if (!$result) { goto hBu2k; } goto oGnVJ; oGnVJ: foreach ($result as $key => $row) { $ret[$row->ruang_id][$row->sesi_id][] = $row->kelas_id; c3hmR: } goto IOm6o; EckTe: return $ret; goto iE6Rv; BDFG3: $this->db->from("\143\x62\164\x5f\x73\145\x73\x69\137\x73\151\163\x77\141"); goto Kw2sq; iE6Rv: } public function getDistinctKelasLevel($tp, $smt, $arrLevel) { goto xQwLC; gIdvq: $this->db->distinct(); goto sQ0wx; nfA_Q: $result = $this->db->get()->result(); goto TqTQn; sQ0wx: $this->db->from("\x6d\141\163\164\x65\162\137\x6b\145\x6c\x61\x73"); goto r7tWU; r7tWU: $this->db->where("\151\x64\x5f\164\160", $tp); goto Rpwnk; xQwLC: $this->db->select("\x69\144\x5f\153\x65\x6c\141\163\x2c\x20\x6c\145\166\145\154\x5f\x69\144"); goto gIdvq; TqTQn: return $result; goto ldDmR; Rpwnk: $this->db->where("\151\144\x5f\x73\155\164", $smt); goto mLdCB; mLdCB: $this->db->where_in("\154\145\166\145\x6c\x5f\151\x64", $arrLevel); goto nfA_Q; ldDmR: } public function getAllJenisUjian() { goto FfwcW; KB7lb: $ret[''] = "\x4a\145\156\151\x73\40\120\x65\x6e\x69\x6c\141\x69\141\x6e\x20\x3a"; goto CuHOr; FfwcW: $this->db->select("\151\x64\x5f\152\x65\156\x69\163\54\x20\156\x61\155\x61\x5f\x6a\145\156\x69\163\54\40\153\x6f\144\x65\137\x6a\x65\156\151\163"); goto StbTT; Gx6EE: FzY3d: goto b0xlV; StbTT: $result = $this->db->get("\143\x62\164\x5f\152\145\x6e\151\163")->result(); goto KB7lb; b0xlV: return $ret; goto qOlZQ; tkZjn: vyvEA: goto Gx6EE; cUwP7: foreach ($result as $key => $row) { $ret[$row->id_jenis] = $row->kode_jenis; cX1zq: } goto tkZjn; CuHOr: if (!$result) { goto FzY3d; } goto cUwP7; qOlZQ: } public function getAllJenisUjianByArrJenis($arrJenis) { goto z27Gu; m2Jij: return $ret; goto zuy7w; UeM7x: foreach ($result as $key => $row) { $ret[$row->id_jenis] = $row->kode_jenis; CSYQZ: } goto x7kv9; z27Gu: $this->db->where_in("\x69\144\x5f\x6a\x65\x6e\151\x73", $arrJenis); goto quOGH; quOGH: $result = $this->db->get("\x63\142\x74\x5f\152\x65\x6e\x69\163")->result(); goto ujbvf; x7kv9: XUKU7: goto gi18D; gi18D: KVlmM: goto m2Jij; ujbvf: $ret[''] = "\x4a\x65\x6e\x69\163\x20\120\145\156\151\154\141\151\141\x6e\x20\x3a"; goto uXbZf; uXbZf: if (!$result) { goto KVlmM; } goto UeM7x; zuy7w: } public function getPengawasHariIni($tgl) { goto WDn3E; MkD7x: return $this->db->get()->result(); goto UHuRA; IQtnH: $this->db->where("\x61\56\164\147\x6c\137\x6d\165\x6c\x61\x69\x20\74\75\x20\x27{$tgl}\x27\40\101\116\x44\x20\141\56\164\x67\x6c\x5f\163\145\154\145\163\x61\x69\x20\x3e\x3d\40\x27{$tgl}\47"); goto QjCTo; FfZHL: $this->db->where("\x73\164\141\164\165\x73", "\x31"); goto MkD7x; WDn3E: $this->db->from("\143\x62\x74\x5f\x6a\x61\144\167\141\x6c\40\141"); goto IQtnH; QjCTo: $this->db->join("\x63\142\x74\137\160\x65\156\147\x61\x77\x61\x73\40\x62", "\142\56\151\x64\x5f\x6a\141\144\167\141\x6c\x3d\141\x2e\x69\x64\x5f\x6a\141\144\167\141\154"); goto FfZHL; UHuRA: } public function getJadwalGuru($tp, $smt, $guru) { goto yK4IQ; Xa5sl: $this->db->from("\143\x62\x74\137\152\141\144\167\x61\154\40\x61"); goto WoEjL; aJKKx: $this->db->where("\x61\x2e\x69\144\137\x73\155\164", $smt); goto HokyP; gqB0E: $this->db->where("\141\x2e\x69\144\x5f\164\x70", $tp); goto aJKKx; HokyP: return $this->db->get()->result(); goto p4M2S; WoEjL: $this->db->join("\143\x62\164\x5f\x62\x61\x6e\x6b\137\x73\x6f\141\x6c\40\x62", "\142\56\151\x64\137\142\x61\156\153\x3d\x61\x2e\x69\x64\137\142\141\156\153\40\101\x4e\104\40\142\56\142\x61\x6e\153\137\147\165\x72\x75\x5f\x69\144\x3d" . $guru); goto gqB0E; yK4IQ: $this->db->select("\141\x2e\151\x64\x5f\152\141\144\167\141\x6c\54\x20\141\56\x74\x67\x6c\137\x6d\165\154\141\x69\x2c\x20\142\x2e\x62\x61\156\x6b\137\x6b\x6f\x64\145\x2c\40\142\56\142\141\156\x6b\x5f\x6b\x65\154\141\163"); goto Xa5sl; p4M2S: } public function getJadwalKelas($tp, $smt) { goto Urfx7; H7qt9: $this->db->where("\x61\x2e\x69\144\137\x73\155\164", $smt); goto blZ3x; Urfx7: $this->db->select("\x61\x2e\151\x64\137\x6a\141\x64\x77\x61\x6c\x2c\x20\141\56\x74\x67\154\x5f\x6d\165\154\x61\151\54\40\142\x2e\142\x61\156\153\137\153\x6f\144\145\x2c\x20\x62\x2e\x62\x61\156\153\137\x6b\145\x6c\141\x73"); goto Tq_jD; G5pwQ: $this->db->join("\x63\142\164\x5f\142\x61\156\x6b\x5f\x73\x6f\141\154\x20\x62", "\142\x2e\151\144\137\x62\x61\156\153\x3d\141\x2e\x69\144\x5f\142\141\156\x6b"); goto TF6ZF; TF6ZF: $this->db->where("\141\56\151\144\137\164\160", $tp); goto H7qt9; Tq_jD: $this->db->from("\x63\x62\x74\x5f\152\141\x64\x77\x61\x6c\x20\141"); goto G5pwQ; blZ3x: return $this->db->get()->result(); goto uDwug; uDwug: } public function getJadwalByJenis($jenis, $level, $dari, $sampai) { goto E8Gmo; HwzDT: nTvCs: goto nU6uW; vL3CZ: $this->db->join("\143\142\164\137\142\141\x6e\153\x5f\163\157\x61\x6c\x20\143", "\143\x2e\x69\x64\x5f\142\141\156\153\75\x61\56\151\144\x5f\x62\141\156\153"); goto Zy3ln; r2C7K: $this->db->order_by("\141\x2e\x6a\141\x6d\x5f\x6b\x65", "\101\123\x43"); goto hgXFe; truR_: DniPi: goto IZ34C; nU6uW: $this->db->order_by("\x61\x2e\x74\147\154\137\155\165\154\x61\151", "\101\123\103"); goto r2C7K; d_ULb: $this->db->where("\x61\56\x69\144\137\x6a\145\156\151\163", $jenis); goto HgKXB; Zy3ln: $this->db->join("\x6d\141\163\x74\x65\162\x5f\x6d\x61\160\x65\154\x20\x64", "\x64\x2e\x69\144\137\155\141\160\145\x6c\75\x63\56\142\x61\x6e\x6b\x5f\x6d\x61\x70\x65\x6c\x5f\x69\x64"); goto d_ULb; IZ34C: if (!($dari != null)) { goto w7uN9; } goto MVK7r; F8LvI: $this->db->join("\x63\142\x74\x5f\152\145\x6e\x69\x73\x20\142", "\142\x2e\151\144\x5f\x6a\145\x6e\x69\163\x3d\141\56\x69\144\137\152\x65\156\x69\x73"); goto vL3CZ; toL6s: w7uN9: goto BT81h; oriRr: $this->db->where("\143\56\142\141\156\x6b\137\154\x65\x76\145\x6c", $level); goto truR_; HgKXB: if (!($level != "\x30")) { goto DniPi; } goto oriRr; E8Gmo: $this->db->select("\141\56\151\144\137\x6a\x61\x64\167\x61\x6c\54\x20\141\x2e\151\x64\137\x62\141\x6e\153\x2c\40\141\x2e\x69\x64\137\x6a\145\156\x69\x73\54\40\141\x2e\x74\147\154\x5f\155\x75\154\141\151\54\x20\x61\x2e\x74\147\154\x5f\163\x65\x6c\145\x73\141\151\54\40\141\56\152\141\x6d\137\x6b\x65\54" . "\x20\x63\x2e\x62\x61\156\153\x5f\153\x6f\144\145\54\40\143\x2e\142\x61\156\153\x5f\154\x65\x76\145\x6c\x2c\x20\x63\x2e\142\x61\x6e\153\137\x6b\x65\154\x61\163\x2c\40\142\x2e\153\x6f\x64\145\137\152\145\x6e\x69\x73\x2c\40\x62\x2e\x6e\141\x6d\x61\137\x6a\x65\x6e\151\163\54\x20\x64\x2e\x6b\157\144\x65\x2c\x20\144\56\x6e\x61\x6d\x61\x5f\x6d\141\x70\145\x6c"); goto ZpcUX; ZpcUX: $this->db->from("\143\142\x74\137\x6a\141\144\x77\141\x6c\40\141"); goto F8LvI; BT81h: if (!($sampai != null)) { goto nTvCs; } goto KioQP; hgXFe: $result = $this->db->get()->result(); goto KS92z; MVK7r: $this->db->where("\141\56\164\x67\x6c\x5f\x6d\165\154\141\151\40\x3e\75", $dari); goto toL6s; KS92z: return $result; goto IelnP; KioQP: $this->db->where("\x61\x2e\x74\147\x6c\x5f\155\x75\x6c\141\151\40\74\75", $sampai); goto HwzDT; IelnP: } public function getAllJadwalByJenis($jenis, $tp, $smt) { goto sQzRg; zyQa7: $result = $this->db->get()->result(); goto OhhxU; Zt44E: $this->db->join("\143\x62\164\x5f\x6a\x65\x6e\x69\x73\40\142", "\x62\x2e\151\x64\x5f\x6a\145\156\x69\163\x3d\141\56\x69\x64\x5f\152\145\156\x69\163"); goto eeC3e; e1pG1: $this->db->order_by("\141\x2e\x74\147\154\137\155\x75\x6c\x61\x69", "\101\x53\x43"); goto d1Nmi; I5Fm_: eb6NH: goto si1G2; sQzRg: $this->db->select("\x61\x2e\151\144\137\x6a\141\144\167\141\x6c\x2c\x20\x61\56\x69\144\137\152\x65\156\x69\x73\54\40\141\56\x74\147\x6c\137\x6d\165\x6c\141\151\x2c\40" . "\x63\x2e\x62\141\x6e\153\137\153\x6f\x64\145\x2c\40\143\56\x62\141\156\x6b\x5f\x6c\145\166\145\x6c\x2c\40\143\56\x62\141\x6e\153\137\x6b\x65\154\x61\x73\x2c\40\142\56\153\157\x64\x65\137\x6a\145\156\x69\163\x2c\x20\142\56\x6e\141\x6d\141\x5f\152\145\x6e\151\x73\54\40\144\x2e\151\x64\x5f\155\141\160\145\154\54\x20\144\x2e\x6b\157\144\145\x2c\x20\x64\56\x6e\x61\x6d\141\137\155\x61\x70\x65\x6c"); goto pi7zI; si1G2: $this->db->where("\x61\56\x69\144\x5f\164\160", $tp); goto gZXtI; UkDAU: r1IP7: goto PUWeM; uC_Jr: $this->db->join("\155\x61\x73\164\x65\x72\137\155\141\x70\x65\154\x20\144", "\144\56\x69\144\x5f\x6d\x61\x70\145\154\x3d\x63\x2e\142\x61\x6e\x6b\137\x6d\x61\x70\x65\154\137\x69\144"); goto iq2v2; Vtu2t: if (!$result) { goto r1IP7; } goto anA4T; cIIQa: $this->db->order_by("\x63\x2e\x62\x61\x6e\x6b\x5f\154\x65\x76\x65\154", "\101\x53\x43"); goto zyQa7; OhhxU: $ret = []; goto Vtu2t; eeC3e: $this->db->join("\x63\142\164\137\142\x61\156\153\137\163\x6f\141\x6c\40\x63", "\x63\56\x69\144\x5f\142\x61\x6e\153\x3d\141\56\x69\144\137\x62\x61\x6e\x6b"); goto uC_Jr; Ym3Mk: $this->db->where("\x61\x2e\151\x64\137\x6a\145\156\x69\x73", $jenis); goto I5Fm_; anA4T: foreach ($result as $key => $row) { $ret[$row->tgl_mulai][$row->id_mapel][] = $row; vrIHO: } goto SrwNt; SrwNt: Auqj4: goto UkDAU; d1Nmi: $this->db->order_by("\x61\x2e\152\141\x6d\137\153\145", "\x41\x53\103"); goto cIIQa; pi7zI: $this->db->from("\143\142\x74\137\x6a\141\144\x77\141\x6c\40\141"); goto Zt44E; PUWeM: return $ret; goto bQaoB; gZXtI: $this->db->where("\141\x2e\151\144\x5f\x73\155\164", $smt); goto e1pG1; iq2v2: if (!($jenis != null)) { goto eb6NH; } goto Ym3Mk; bQaoB: } public function getAllBankSoal($guru = null) { goto HgeGx; qPFjw: return $ret; goto x5mY1; vsuZb: $this->db->where("\142\141\156\x6b\x5f\x67\165\162\165\137\151\144", $guru); goto Z8QZS; Z8QZS: r_wGH: goto s65al; O1rLV: foreach ($result as $key => $row) { $ret[$row->id_bank] = $row->bank_kode; cAq02: } goto A8oLV; kEmr2: $ret["\60"] = "\120\151\154\151\150\40\x42\141\x6e\x6b\x20\123\x6f\x61\154\x20\72"; goto hCelK; s65al: $result = $this->db->get("\143\142\164\x5f\x62\x61\x6e\153\x5f\x73\157\x61\154")->result(); goto kEmr2; WCNs5: SQ5Rj: goto qPFjw; A8oLV: GCPAx: goto WCNs5; oeg1y: if (!($guru !== null)) { goto r_wGH; } goto vsuZb; HgeGx: $this->db->select("\151\144\137\x62\141\156\153\54\x20\x62\141\156\x6b\x5f\153\157\x64\145"); goto oeg1y; hCelK: if (!$result) { goto SQ5Rj; } goto O1rLV; x5mY1: } public function getAllBankSoalByTp($id_tp, $id_smt, $guru = null) { goto i3Ank; tbT2S: $result = $this->db->get("\x63\142\164\137\x62\x61\x6e\153\137\x73\x6f\x61\x6c")->result(); goto bAIs1; i3Ank: $this->db->select("\x69\x64\x5f\x62\x61\x6e\x6b\54\x20\x62\x61\x6e\153\x5f\x6b\x6f\144\x65\54\40\142\141\x6e\153\x5f\x6d\141\160\x65\154\137\151\x64\x2c\x20\x74\141\x6d\x70\x69\154\137\x70\x67\x2c\40\164\141\155\x70\x69\154\137\x6b\157\155\x70\x6c\145\x6b\x73\54\x20\164\141\x6d\160\151\154\137\x6a\x6f\144\157\x68\x6b\x61\156\54\x20\164\x61\155\x70\151\154\137\x69\x73\x69\141\156\54\x20\164\141\155\160\x69\x6c\137\x65\x73\141\x69"); goto VoHNF; yFooh: foreach ($result as $key => $row) { $ret[$row->id_bank] = $row; og8uu: } goto wrzL5; bAIs1: $ret = []; goto dW1jb; wrzL5: kFmjt: goto GXi4S; k3eHO: $this->db->where("\x73\x74\x61\164\165\163", "\61"); goto xKry9; WgoLv: A5w4y: goto tbT2S; goK21: return $ret; goto TauQL; GXi4S: KCZGl: goto goK21; dW1jb: if (!$result) { goto KCZGl; } goto yFooh; xmTBk: if (!($guru !== null)) { goto A5w4y; } goto VB3Bc; VoHNF: $this->db->where("\x69\x64\x5f\x74\x70", $id_tp); goto Wqftj; xKry9: $this->db->where("\x73\x74\141\x74\165\163\x5f\163\x6f\141\154", "\x31"); goto xmTBk; VB3Bc: $this->db->where("\x62\x61\156\x6b\x5f\147\x75\162\x75\137\x69\144", $guru); goto WgoLv; Wqftj: $this->db->where("\151\x64\137\x73\155\164", $id_smt); goto k3eHO; TauQL: } public function getAllBankSoalByMapel($id_tp, $id_smt, $mapel) { goto X8uia; nZ7mP: DVmQD: goto vz3xf; iSDUE: $this->db->where("\142\x61\x6e\x6b\x5f\155\141\x70\x65\154\x5f\151\x64", $mapel); goto ooLhc; ooLhc: $this->db->where("\x73\164\141\164\165\163", "\61"); goto lx9oR; tz9po: $ret = []; goto XcBD8; Li9cJ: $this->db->where("\151\144\137\x74\160", $id_tp); goto nn0at; vz3xf: g22Z9: goto TwLg1; kTnjn: $this->db->from("\143\x62\164\137\142\x61\x6e\153\137\x73\157\141\154"); goto Li9cJ; EzP6V: foreach ($result as $key => $row) { $ret[$row->id_bank] = $row; kqvMr: } goto nZ7mP; XcBD8: if (!$result) { goto g22Z9; } goto EzP6V; lx9oR: $result = $this->db->get()->result(); goto tz9po; TwLg1: return $ret; goto YSXHS; nn0at: $this->db->where("\x69\x64\137\x73\155\164", $id_smt); goto iSDUE; X8uia: $this->db->select("\x69\x64\x5f\x62\141\156\153\x2c\x20\x62\141\x6e\x6b\x5f\x6b\x6f\144\145\x2c\x20\x62\x61\x6e\153\x5f\x6d\x61\160\145\x6c\x5f\x69\144\54\40\x74\141\155\x70\x69\x6c\137\160\147\54\40\164\141\x6d\160\151\154\x5f\x6b\x6f\x6d\x70\x6c\145\x6b\163\54\40\164\x61\155\160\151\154\137\152\x6f\x64\157\150\x6b\x61\x6e\x2c\40\164\x61\x6d\160\x69\x6c\137\151\163\x69\x61\156\54\x20\x74\x61\155\x70\151\x6c\x5f\x65\163\x61\x69\x2c\x20\x73\164\x61\x74\x75\x73"); goto kTnjn; YSXHS: } public function getJumlahJenisSoal($id_bank) { goto RIjfn; jCMGP: if (!$result) { goto rk5ta; } goto yFVco; JhjZU: $ret = []; goto jCMGP; i2l1I: ekHQg: goto NOcap; NOcap: rk5ta: goto yWRI5; yFVco: foreach ($result as $row) { $ret[$row->jenis][] = $row; JHh01: } goto i2l1I; RIjfn: $this->db->select("\x69\x64\x5f\163\157\x61\154\x2c\40\152\145\156\x69\x73"); goto Xc3WT; vAb9s: $this->db->where("\142\141\156\153\137\151\x64", $id_bank); goto oJEN5; hdZX_: $result = $this->db->get()->result(); goto JhjZU; Xc3WT: $this->db->from("\x63\142\164\137\163\157\141\x6c"); goto vAb9s; oJEN5: $this->db->where("\x74\x61\x6d\160\151\154\x6b\x61\156", "\x31"); goto hdZX_; yWRI5: return $ret; goto WmiWB; WmiWB: } public function getJenis() { goto jWZuv; zgaIu: $this->datatables->from("\143\142\x74\x5f\152\145\156\151\163"); goto bAVS3; bAVS3: return $this->datatables->generate(); goto JRNSj; jWZuv: $this->datatables->select("\x2a"); goto zgaIu; JRNSj: } public function getJenisById($id) { goto BmoPG; Qw0fB: $this->db->from("\x63\x62\164\137\152\x65\156\x69\163"); goto wV0ns; vvRXe: return $this->db->get()->row(); goto es5YJ; wV0ns: $this->db->where(["\151\x64\137\152\x65\x6e\151\163" => $id]); goto vvRXe; BmoPG: $this->db->select("\151\x64\x5f\x6a\145\156\x69\163\x2c\x20\156\x61\155\141\x5f\152\145\156\151\x73\54\x20\153\x6f\x64\x65\x5f\152\145\x6e\x69\163"); goto Qw0fB; es5YJ: } function updateJenis() { goto M7UGf; DJUy5: $name = $this->input->post("\156\141\155\x61\x5f\x6a\x65\156\151\x73", true); goto nlHtK; M7UGf: $id = $this->input->post("\x69\144\x5f\152\145\156\151\x73"); goto DJUy5; Qy6UD: $this->db->set("\153\x6f\x64\x65\x5f\152\x65\156\151\x73", $kode); goto ftFxe; vPNac: $this->db->set("\156\141\155\141\x5f\152\x65\156\151\x73", $name); goto Qy6UD; rDfts: return $this->db->update("\143\142\164\x5f\152\x65\x6e\x69\x73"); goto MVQpQ; nlHtK: $kode = $this->input->post("\x6b\157\144\x65\137\152\145\x6e\151\163", true); goto vPNac; ftFxe: $this->db->where("\151\144\137\x6a\145\x6e\151\163", $id); goto rDfts; MVQpQ: } public function getRuang() { goto OL23H; OL23H: $this->datatables->select("\52\x2c\x20\x28\x53\x45\x4c\105\103\124\x20\x43\x4f\x55\116\124\x28\x69\144\x5f\x73\145\x73\151\x29\x20\106\122\x4f\115\x20\143\142\x74\x5f\163\x65\x73\x69\x29\40\101\x53\x20\152\165\x6d\x5f\x73\145\163\151"); goto UIkoO; UIkoO: $this->datatables->from("\143\x62\x74\137\x72\x75\x61\156\147"); goto j4eSs; j4eSs: return $this->datatables->generate(); goto ZdjZC; ZdjZC: } public function getRuangById($id) { goto TUJz0; aBKEo: $this->db->from("\143\142\x74\x5f\162\x75\141\156\147"); goto lAusB; nd85O: return $this->db->get()->row(); goto DTmpR; lAusB: $this->db->where(["\x69\x64\x5f\162\x75\x61\156\147" => $id]); goto nd85O; TUJz0: $this->db->select("\151\x64\x5f\x72\x75\141\156\x67\54\40\x6e\x61\x6d\x61\137\162\x75\141\x6e\x67\x2c\x20\153\x6f\144\145\x5f\x72\165\x61\x6e\147"); goto aBKEo; DTmpR: } public function getRuangSesi($tp, $smt) { goto Bj3sy; pV9ef: $ret = []; goto NdJ9M; fIAOD: $result = $this->db->get()->result(); goto pV9ef; OJqfB: $this->db->order_by("\x63\56\156\141\x6d\x61\137\163\145\x73\151", "\101\123\x43"); goto fIAOD; ja18V: $this->db->order_by("\x62\x2e\156\141\x6d\141\137\162\165\141\x6e\x67", "\101\123\103"); goto OJqfB; ggimA: $this->db->join("\155\x61\163\x74\145\x72\137\153\x65\x6c\141\163\40\144", "\144\56\x69\144\137\153\x65\x6c\141\x73\x3d\141\56\153\x65\x6c\141\x73\x5f\x69\144"); goto ja18V; tgomv: UFGeJ: goto eXJ3I; NdJ9M: if (!$result) { goto YQzWU; } goto z4YO5; a7UCL: $this->db->join("\x63\142\x74\137\162\165\x61\156\147\40\142", "\142\x2e\x69\144\137\x72\165\141\x6e\147\75\141\56\162\165\141\156\x67\137\x69\x64"); goto GNYSQ; GNYSQ: $this->db->join("\143\142\164\x5f\163\x65\x73\x69\40\x63", "\x63\x2e\151\144\x5f\x73\145\163\151\x3d\141\x2e\163\145\163\151\137\x69\144"); goto ggimA; zCEpO: return $ret; goto J2BY9; z4YO5: foreach ($result as $row) { $ret[$row->sesi_id][$row->ruang_id][$row->kelas_id] = $row->nama_kelas; nSZnB: } goto tgomv; Bj3sy: $this->db->select("\141\56\163\x69\163\x77\141\137\x69\x64\x2c\40\x61\56\163\145\x73\x69\137\151\144\x2c\40\x61\x2e\162\165\x61\156\x67\137\x69\144\54\x20\141\x2e\153\x65\x6c\141\163\137\151\144\54\x20" . "\142\56\156\x61\155\141\137\162\165\x61\156\x67\54\x20\142\56\153\x6f\x64\145\x5f\x72\x75\x61\156\147\54\40\143\56\156\x61\x6d\x61\137\163\x65\163\x69\54\40\143\56\x6b\157\144\x65\137\163\145\163\x69\54\40\x64\56\x6e\x61\155\141\x5f\153\x65\154\141\163"); goto xlgle; eXJ3I: YQzWU: goto zCEpO; xlgle: $this->db->from("\143\x62\x74\x5f\x73\145\163\151\x5f\x73\151\163\x77\141\40\141"); goto a7UCL; J2BY9: } function updateRuang() { goto D7HHh; Np5z_: $this->db->set("\x6e\141\x6d\141\137\162\x75\141\156\147", $name); goto yoCYE; yoCYE: $this->db->set("\153\157\x64\145\137\162\165\x61\x6e\147", $kode); goto nH39D; V6n41: $name = $this->input->post("\156\x61\x6d\x61\137\x72\165\141\x6e\x67", true); goto xbA2f; oTfYG: return $this->db->update("\x63\142\x74\x5f\x72\x75\141\156\x67"); goto Ejm8e; D7HHh: $id = $this->input->post("\151\144\x5f\162\x75\x61\x6e\x67"); goto V6n41; nH39D: $this->db->where("\x69\x64\137\x72\x75\x61\x6e\x67", $id); goto oTfYG; xbA2f: $kode = $this->input->post("\x6b\x6f\144\145\137\x72\165\x61\x6e\x67", true); goto Np5z_; Ejm8e: } public function getSesi() { goto bwS0I; irC3C: return $this->datatables->generate(); goto XrLyZ; yOs8s: $this->datatables->from("\x63\x62\x74\137\163\145\163\151\40\143"); goto irC3C; bwS0I: $this->datatables->select("\52"); goto yOs8s; XrLyZ: } public function getAllKodeSesi() { goto Drd0T; BOllS: return $ret; goto pgCWc; NgXsq: XxrVp: goto BOllS; odV35: $this->db->from("\x63\142\x74\137\x73\x65\163\151"); goto ys9te; p2Qpf: f5d_G: goto NgXsq; wBjI4: if (!$result) { goto XxrVp; } goto xmzh0; ys9te: $result = $this->db->get()->result(); goto gsh5G; gsh5G: $ret = []; goto wBjI4; Drd0T: $this->db->select("\151\x64\x5f\163\x65\163\151\x2c\x20\156\141\155\x61\x5f\x73\x65\163\x69\x2c\x20\x6b\x6f\144\x65\137\163\x65\163\151\x2c\x20\167\x61\153\x74\x75\137\155\x75\x6c\x61\x69\54\40\x77\x61\x6b\x74\x75\137\x61\153\150\151\162"); goto odV35; xmzh0: foreach ($result as $row) { $ret[$row->kode_sesi] = $row; YEkJ5: } goto p2Qpf; pgCWc: } public function getSesiById($id) { goto YiVoo; TkICg: $this->db->where(["\x69\x64\137\163\145\163\x69" => $id]); goto Q2gN0; Q2gN0: return $this->db->get()->row(); goto UBuZJ; YiVoo: $this->db->select("\151\144\137\x73\145\x73\151\x2c\40\x6e\141\155\141\137\163\145\x73\151\x2c\x20\x6b\x6f\144\x65\137\x73\x65\x73\x69\54\40\167\141\153\164\165\137\x6d\x75\x6c\141\151\x2c\x20\167\x61\x6b\x74\x75\137\141\x6b\x68\x69\x72"); goto l23i9; l23i9: $this->db->from("\x63\142\164\137\163\145\x73\x69"); goto TkICg; UBuZJ: } public function getSesiBySiswa($siswa_id) { goto rcWzK; Yj2_6: $query = $this->db->get("\x73\x69\163\x77\141\137\x73\145\x73\151")->result(); goto Dht3_; Dht3_: return $query; goto xNW1N; rcWzK: $this->db->where("\x73\151\163\167\141\x5f\x69\144", $siswa_id); goto Yj2_6; xNW1N: } function updateSesi() { goto k1El6; Sou1B: return $this->db->update("\x63\x62\164\x5f\x73\x65\163\151"); goto DdMp1; WNo_m: $this->db->set("\167\x61\x6b\164\165\x5f\155\165\154\141\151", $mulai); goto ZV5x5; LbDvu: $this->db->set("\x6e\x61\x6d\x61\137\x73\145\163\x69", $name); goto wvkuX; wvkuX: $this->db->set("\x6b\x6f\144\145\x5f\163\x65\x73\151", $kode); goto WNo_m; dLbEK: $kode = $this->input->post("\x6b\x6f\144\145\x5f\163\145\163\x69", true); goto EFi1N; oPm2C: $this->db->set("\141\153\x74\x69\146", 1); goto ASU2_; T08mL: $akhir = $this->input->post("\x77\x61\x6b\164\165\137\x61\153\150\x69\162", true); goto LbDvu; EFi1N: $mulai = $this->input->post("\x77\141\153\164\x75\x5f\155\x75\154\x61\x69", true); goto T08mL; HSkV2: $name = $this->input->post("\156\141\155\141\137\163\x65\163\151", true); goto dLbEK; ZV5x5: $this->db->set("\x77\x61\153\164\165\137\141\153\150\151\x72", $akhir); goto oPm2C; k1El6: $id = $this->input->post("\151\x64\x5f\x73\x65\x73\x69"); goto HSkV2; ASU2_: $this->db->where("\x69\x64\137\x73\145\x73\x69", $id); goto Sou1B; DdMp1: } public function getSiswaCbtInfo($id_siswa, $id_tp, $id_smt) { goto PAZrj; d5l3n: $this->db->where("\141\x2e\151\144\x5f\163\151\163\x77\141", $id_siswa); goto Kexn0; TCS2U: $this->db->join("\x63\142\x74\x5f\162\165\x61\156\147\x20\x72\x6b", "\142\x2e\x72\165\x61\x6e\x67\137\x69\144\75\x72\153\x2e\x69\144\x5f\x72\165\141\x6e\147", "\x6c\x65\x66\164"); goto yT0Hu; K8zG2: $this->db->join("\x63\142\164\x5f\163\145\x73\151\x5f\x73\x69\x73\x77\x61\40\x62", "\x61\56\x69\x64\x5f\x73\151\163\x77\141\x3d\x62\x2e\163\x69\163\x77\x61\x5f\x69\144", "\154\145\146\164"); goto TCS2U; fov2F: return $this->db->get()->row(); goto Eykyp; yT0Hu: $this->db->join("\x63\142\x74\137\163\145\x73\151\40\163\x6b", "\142\56\163\x65\163\151\x5f\x69\144\x3d\x73\153\x2e\151\144\x5f\x73\145\x73\151", "\x6c\145\146\164"); goto d5l3n; Kexn0: $this->db->where("\141\x2e\151\144\x5f\x74\160", $id_tp); goto oggq5; PAZrj: $this->db->select("\141\x2e\151\144\137\153\145\154\141\x73\137\163\x69\163\167\x61\54\x20\141\x2e\151\x64\x5f\164\160\x2c\x20\141\56\151\144\x5f\163\x6d\164\54\x20\x61\56\151\144\137\x73\151\163\167\x61\54\x20\x61\x2e\151\144\x5f\153\145\x6c\141\163\x2c" . "\40\x62\56\163\x69\x73\x77\141\x5f\151\x64\x2c\40\x62\x2e\x6b\145\154\x61\x73\x5f\x69\x64\54\40\x62\56\x72\x75\x61\x6e\x67\x5f\x69\x64\54\40\x62\56\x73\x65\x73\x69\137\x69\144\54" . "\40\x72\x6b\x2e\x69\x64\x5f\x72\165\141\x6e\x67\54\x20\x72\x6b\x2e\x6e\141\x6d\x61\x5f\x72\x75\x61\156\x67\x2c\40\x72\x6b\x2e\x6b\x6f\144\x65\x5f\x72\x75\141\156\x67\x2c" . "\40\163\x6b\x2e\x69\144\137\163\x65\x73\151\x2c\x20\163\153\56\x6e\x61\155\x61\x5f\x73\x65\x73\x69\54\40\x73\153\x2e\153\x6f\144\x65\137\x73\145\163\x69\x2c\x20\163\x6b\x2e\x77\141\x6b\164\x75\137\155\x75\x6c\x61\151\54\x20\x73\x6b\56\167\x61\153\164\165\137\x61\153\x68\x69\162"); goto VuRyS; oggq5: $this->db->where("\x61\x2e\151\x64\137\x73\155\164", $id_smt); goto fov2F; VuRyS: $this->db->from("\153\x65\x6c\x61\x73\137\x73\151\x73\x77\x61\x20\141"); goto K8zG2; Eykyp: } public function getRuangSesiSiswa($id_kelas, $id_tp, $id_smt) { goto eI4kU; RRY2l: $this->db->join("\155\x61\x73\x74\x65\162\x5f\x6b\145\x6c\x61\163\x20\143", "\141\x2e\x69\144\x5f\x6b\145\154\141\x73\75\143\56\x69\144\x5f\x6b\145\154\x61\163", "\x6c\x65\146\x74"); goto Oz4sH; eI4kU: $this->db->select("\x61\56\151\x64\x5f\163\x69\163\x77\x61\54\x20\x61\56\151\x64\137\x6b\x65\x6c\x61\x73\x2c" . "\x20\x62\56\156\141\155\x61\54\x20\142\56\156\151\163\x2c\x20\142\56\165\x73\145\x72\156\x61\155\145\54" . "\x20\x63\x2e\156\141\155\141\137\153\145\x6c\141\163\54\x20\x63\56\x6b\157\144\x65\137\x6b\x65\x6c\x61\163\x2c" . "\40\145\x2e\x73\145\163\x69\137\x69\144\x2c\x20\145\56\x72\x75\x61\156\147\137\151\144\54" . "\x20\x72\x6b\56\151\144\x5f\x72\x75\x61\x6e\x67\54\40\x72\x6b\56\x6b\157\x64\x65\137\162\165\141\156\147\54" . "\x20\x73\x6b\56\x69\x64\x5f\x73\145\163\x69\x2c\40\x73\153\x2e\153\x6f\144\145\137\163\145\163\151"); goto GmPtH; GmPtH: $this->db->from("\x6b\x65\154\x61\x73\x5f\163\151\163\167\x61\40\x61"); goto m6t_t; m48fF: $this->db->where("\x61\x2e\151\144\x5f\x73\x6d\164", $id_smt); goto OryxD; m6t_t: $this->db->join("\155\x61\163\x74\x65\162\137\x73\x69\163\x77\x61\x20\x62", "\x61\56\x69\144\x5f\x73\151\163\x77\x61\x3d\142\56\151\144\137\x73\151\163\167\141", "\154\145\146\x74"); goto RRY2l; pajxC: return $this->db->get()->result(); goto X2wTE; v7Jpy: $this->db->join("\143\142\164\137\x73\145\x73\x69\40\x73\153", "\145\x2e\x73\145\x73\x69\137\151\144\75\163\153\56\151\144\137\x73\x65\x73\x69", "\x6c\x65\x66\164"); goto Tl6za; Oz4sH: $this->db->join("\x63\142\x74\x5f\x73\145\x73\x69\137\163\x69\163\167\141\x20\145", "\x61\56\x69\144\x5f\x73\151\x73\167\141\75\x65\x2e\x73\x69\x73\167\141\x5f\151\x64", "\154\145\146\164"); goto BjoDB; vyGcX: $this->db->where("\x61\56\x69\x64\x5f\x74\160", $id_tp); goto m48fF; OryxD: $this->db->order_by("\x62\x2e\x6e\x61\155\x61", "\x41\123\x43"); goto pajxC; Qk3hz: $this->db->where("\141\56\x69\144\137\153\145\x6c\141\x73", $id_kelas); goto vyGcX; Tl6za: $this->db->join("\x62\165\153\x75\137\151\x6e\x64\165\153\x20\x69", "\x69\56\x69\144\x5f\163\x69\x73\167\141\x3d\141\x2e\151\144\x5f\x73\x69\163\x77\x61\x20\x41\116\104\x20\75\x69\56\163\x74\141\164\x75\163\75\x31"); goto Qk3hz; BjoDB: $this->db->join("\x63\142\x74\137\x72\x75\x61\x6e\x67\x20\162\x6b", "\145\x2e\x72\x75\x61\x6e\x67\x5f\x69\x64\75\162\x6b\x2e\151\x64\x5f\x72\x75\x61\156\x67", "\154\x65\x66\x74"); goto v7Jpy; X2wTE: } public function getSiswaByKelas($id_tp, $id_smt, $id_kelas) { goto pulVd; wPyCL: $this->db->where("\141\56\151\x64\x5f\163\x6d\164", $id_smt); goto y0GnP; Xg17a: $this->db->join("\155\141\163\x74\145\162\137\x73\151\x73\167\141\x20\142", "\x62\56\151\144\x5f\x73\x69\163\167\x61\x3d\141\x2e\151\144\x5f\x73\151\163\167\x61", "\x6c\145\146\x74"); goto EOqkr; vfIix: $this->db->join("\143\142\x74\x5f\162\165\x61\x6e\147\40\x64", "\144\56\x69\144\137\162\x75\141\156\x67\x3d\143\x2e\x72\165\141\156\147\x5f\x69\x64", "\x6c\145\146\164"); goto zImKz; lOqUs: $this->db->where("\x61\x2e\151\144\137\164\x70", $id_tp); goto wPyCL; y0GnP: $this->db->where("\x61\x2e\151\144\137\163\x69\163\167\x61\x20\151\x73\x20\116\117\124\x20\116\x55\114\x4c", NULL, FALSE); goto TjK6C; OhBzf: nTcTS: goto IkJJ2; gBuxC: $this->db->join("\x63\142\x74\x5f\x6e\157\x6d\157\x72\137\160\145\163\x65\x72\164\141\40\x67", "\147\56\x69\x64\137\x73\151\163\x77\141\75\x61\x2e\x69\x64\x5f\x73\151\163\167\141\40\101\x4e\104\x20\x67\x2e\x69\144\137\164\160\75" . $id_tp, "\x6c\x65\x66\x74"); goto B5f1r; SVYCW: $this->db->from("\153\145\x6c\x61\163\x5f\x73\151\163\167\x61\x20\141"); goto Xg17a; pulVd: $this->db->select("\142\x2e\x69\x64\x5f\163\x69\x73\x77\x61\x2c\40\142\x2e\156\141\x6d\141\x2c\40\x62\x2e\156\x69\163\54\40\x62\x2e\x6e\151\163\x6e\x2c\40\142\56\x75\x73\145\x72\x6e\x61\155\145\x2c\40\142\x2e\160\x61\x73\x73\167\157\x72\144\54" . "\x20\142\x2e\146\157\x74\x6f\54\40\144\56\153\x6f\x64\145\x5f\x72\165\x61\156\x67\54\x20\145\x2e\153\x6f\x64\145\x5f\x73\145\x73\x69\x2c\40\x66\56\156\x61\x6d\141\x5f\x6b\x65\x6c\x61\163\54\x20\x66\x2e\153\157\x64\145\137\x6b\145\x6c\141\x73\54\x20\x67\56\156\157\155\x6f\x72\x5f\160\145\x73\x65\x72\x74\x61"); goto SVYCW; N_9WP: $this->db->join("\155\141\163\x74\x65\x72\x5f\153\145\154\x61\x73\40\146", "\146\x2e\151\x64\x5f\153\x65\154\141\163\75\x61\x2e\151\144\x5f\153\x65\x6c\141\x73", "\x6c\145\146\x74"); goto gBuxC; SEPZG: $this->db->where("\147\56\151\144\x5f\x73\151\x73\167\141\40\151\163\40\116\117\124\x20\x4e\125\x4c\114", NULL, FALSE); goto dBUOc; D_bNi: $this->db->where("\143\56\x73\x69\163\167\141\x5f\151\x64\40\x69\x73\40\116\x4f\124\x20\116\x55\114\114", NULL, FALSE); goto agA8R; TLxdS: goto nTcTS; goto Dtcqq; TjK6C: $this->db->where("\142\56\x69\144\137\x73\x69\163\167\141\x20\151\x73\40\x4e\x4f\x54\40\x4e\x55\x4c\x4c", NULL, FALSE); goto D_bNi; Dtcqq: GIWR4: goto XqnX_; agA8R: $this->db->where("\x66\x2e\163\x69\x73\167\x61\137\x69\x64\40\x69\x73\40\x4e\117\x54\40\116\125\114\x4c", NULL, FALSE); goto SEPZG; zImKz: $this->db->join("\143\x62\164\137\163\145\163\x69\40\145", "\x65\x2e\151\144\x5f\163\145\x73\151\x3d\143\56\163\x65\163\151\x5f\x69\x64", "\x6c\x65\x66\x74"); goto N_9WP; u9a3b: return $this->db->get()->result(); goto JeJIg; XqnX_: $this->db->where_in("\x61\56\151\144\x5f\x6b\x65\x6c\141\x73", $id_kelas); goto OhBzf; B5f1r: $this->db->join("\x62\165\153\x75\137\151\156\144\165\x6b\40\x69", "\x69\x2e\x69\x64\x5f\x73\151\x73\x77\141\75\141\56\151\x64\x5f\163\151\x73\x77\x61\x20\x41\116\x44\x20\x3d\151\x2e\163\x74\x61\164\x75\163\x3d\61"); goto lOqUs; rrpQ2: $this->db->where("\141\x2e\151\144\x5f\153\145\x6c\x61\x73", $id_kelas); goto TLxdS; IkJJ2: $this->db->order_by("\x62\56\156\141\x6d\x61", "\x41\123\103"); goto u9a3b; EOqkr: $this->db->join("\143\142\164\137\163\145\x73\x69\x5f\163\x69\163\167\x61\40\143", "\x63\56\163\151\x73\x77\141\137\151\144\75\x61\x2e\x69\144\x5f\163\x69\x73\167\x61", "\154\x65\x66\164"); goto vfIix; dBUOc: if (is_array($id_kelas)) { goto GIWR4; } goto rrpQ2; JeJIg: } public function getSiswaById($id_tp, $id_smt, $idSiswa) { goto Hw0Nl; XoPuG: $this->db->join("\x6d\141\x73\164\145\162\137\163\x69\163\167\x61\40\142", "\x62\x2e\151\144\x5f\163\x69\163\167\141\x3d\141\56\x69\144\137\163\151\163\x77\141", "\x6c\x65\146\164"); goto taADv; xdSlZ: $this->db->join("\x63\142\x74\137\x6b\145\x6c\141\163\137\162\165\141\x6e\147\40\x68", "\x68\56\x69\144\x5f\153\145\154\141\163\75\141\x2e\151\x64\x5f\153\145\x6c\141\x73", "\x6c\145\x66\164"); goto Kh9DZ; Kh9DZ: $this->db->join("\x63\x62\164\x5f\x72\x75\141\156\x67\x20\x69", "\151\x2e\x69\x64\x5f\x72\x75\141\x6e\147\75\150\56\151\144\x5f\162\x75\x61\156\147", "\154\x65\x66\x74"); goto OGPpR; yDTIV: $this->db->join("\155\141\163\164\x65\162\x5f\x6b\145\x6c\141\x73\40\146", "\x66\x2e\151\144\x5f\x6b\x65\154\141\x73\x3d\141\x2e\151\x64\x5f\x6b\x65\154\x61\x73", "\154\x65\146\164"); goto PpPp9; T9uRe: $this->db->join("\x63\142\x74\137\x72\x75\141\156\147\x20\144", "\x64\56\151\x64\137\x72\165\x61\156\x67\75\x63\x2e\x72\165\141\x6e\147\137\151\x64", "\x6c\x65\x66\x74"); goto LPy1q; JbvUa: $this->db->where("\x61\x2e\151\144\137\163\x69\163\x77\141", $idSiswa); goto W6Us2; PpPp9: $this->db->join("\143\142\164\x5f\156\157\x6d\x6f\x72\x5f\x70\x65\163\145\162\164\141\x20\x67", "\x67\x2e\x69\x64\137\x73\x69\163\x77\x61\x3d\141\56\151\144\137\163\151\163\167\141\40\101\116\104\40\147\56\151\144\x5f\164\160\75" . $id_tp, "\x6c\x65\x66\164"); goto xdSlZ; W6Us2: return $this->db->get()->row(); goto qQG6U; Hw0Nl: $this->db->select("\142\56\x69\144\137\163\151\163\167\x61\x2c\40\x62\56\x6e\x61\155\141\54\x20\142\56\156\x69\x73\x2c\x20\x62\56\x6e\151\163\156\54\40\x62\56\x75\163\145\x72\156\x61\x6d\x65\x2c\40\142\x2e\x70\x61\x73\163\167\x6f\162\x64\54" . "\40\142\56\146\157\x74\x6f\54\x20\144\56\153\x6f\144\x65\x5f\x72\165\x61\x6e\147\x2c\x20\145\x2e\x6b\157\x64\145\x5f\x73\145\x73\151\x2c\x20\146\x2e\156\141\x6d\141\137\153\x65\154\x61\x73\54\x20\146\x2e\x6b\x6f\144\x65\x5f\153\145\x6c\141\x73\54\x20\147\x2e\156\157\x6d\157\162\x5f\160\145\163\x65\x72\x74\141\54" . "\40\150\56\x73\x65\164\x5f\x73\x69\163\167\141\54\x20\151\56\153\157\x64\145\x5f\x72\x75\x61\156\x67\40\141\x73\40\x72\165\x61\x6e\x67\137\x6b\145\154\141\163\54\x20\152\56\153\157\x64\x65\137\163\x65\163\151\x20\141\x73\x20\x73\145\163\x69\137\153\x65\154\141\x73"); goto dLpm1; taADv: $this->db->join("\x63\x62\164\x5f\x73\x65\163\x69\x5f\163\151\x73\167\x61\40\x63", "\x63\x2e\x73\151\x73\167\x61\x5f\151\144\x3d\x61\56\x69\144\x5f\163\151\163\x77\x61", "\154\145\146\164"); goto T9uRe; OGPpR: $this->db->join("\143\x62\x74\x5f\163\145\163\151\40\152", "\152\x2e\x69\144\x5f\163\x65\163\x69\75\x68\56\x69\x64\137\x73\x65\x73\x69", "\x6c\145\146\x74"); goto TCLI4; TCLI4: $this->db->where("\x61\56\x69\x64\137\164\160", $id_tp); goto iLvu3; iLvu3: $this->db->where("\x61\x2e\x69\x64\x5f\163\x6d\x74", $id_smt); goto JbvUa; dLpm1: $this->db->from("\153\x65\x6c\x61\x73\x5f\x73\151\x73\167\x61\x20\141"); goto XoPuG; LPy1q: $this->db->join("\143\x62\x74\137\163\145\x73\151\x20\x65", "\x65\56\151\x64\137\163\x65\163\151\x3d\x63\x2e\x73\145\163\151\x5f\x69\x64", "\x6c\145\x66\x74"); goto yDTIV; qQG6U: } public function getAllPesertaByRuang($id_tp, $id_smt) { goto uG442; zxZct: $this->db->join("\155\x61\x73\164\145\x72\137\x73\151\163\167\141\x20\142", "\142\56\x69\x64\x5f\x73\151\163\167\141\x3d\x61\56\163\x69\163\167\x61\137\x69\144", "\154\145\146\164"); goto g02ST; uG442: $this->db->select("\x62\56\151\144\137\x73\151\x73\167\x61\54\x20\x62\x2e\x6e\141\x6d\x61\x2c\40\142\x2e\x6e\151\x73\x2c\x20\x62\56\156\151\163\156\x2c\x20\x62\x2e\x75\x73\x65\x72\156\x61\155\x65\54\x20\x62\56\160\141\x73\x73\167\157\x72\x64\54\x20\x62\56\146\x6f\164\x6f\54\x20\x66\x2e\154\145\166\145\154\137\151\144\54" . "\x20\x66\56\x6e\141\x6d\x61\x5f\153\x65\154\x61\x73\54\40\x66\x2e\x6b\157\x64\145\137\153\x65\154\x61\163\x2c" . "\40\144\56\156\141\155\141\137\162\x75\141\x6e\x67\54\x20\x64\56\153\x6f\144\x65\x5f\162\x75\x61\156\147\54" . "\40\145\x2e\153\x6f\x64\x65\x5f\x73\x65\163\x69\x2c\x20\x65\x2e\x6e\x61\155\x61\137\163\x65\163\151\x2c" . "\x20\147\56\x6e\x6f\155\157\162\137\x70\x65\163\x65\162\164\x61"); goto fnDDI; HoDPB: $this->db->join("\x63\x62\x74\137\163\x65\163\151\x20\x65", "\145\x2e\151\x64\137\163\x65\163\x69\75\141\x2e\x73\145\x73\x69\x5f\x69\144", "\154\145\x66\x74"); goto G8h7b; G8h7b: $this->db->join("\x6b\145\154\141\163\137\163\151\x73\x77\141\40\x63", "\143\56\x69\x64\x5f\x73\151\x73\167\141\75\142\56\x69\x64\137\163\151\163\x77\141\x20\x41\116\x44\x20\143\x2e\151\144\137\164\160\x3d" . $id_tp . "\x20\x41\x4e\x44\40\x63\x2e\151\x64\x5f\163\x6d\164\75" . $id_smt . ''); goto ch38T; ch38T: $this->db->join("\x6d\141\163\x74\145\162\137\x6b\145\154\141\x73\40\x66", "\146\x2e\x69\x64\137\153\145\154\x61\163\x3d\x63\56\x69\144\137\153\145\154\x61\x73"); goto z2ypv; Vj5uW: $result = $this->db->get()->result(); goto eQWaQ; mwX5a: return $ret; goto P3xkP; eQWaQ: $ret = []; goto yURt0; J5mOA: $this->db->order_by("\146\56\154\145\166\145\x6c\x5f\151\144"); goto g2ldv; WqiEW: $this->db->join("\143\x62\164\x5f\x6e\x6f\x6d\157\x72\137\160\x65\163\x65\x72\x74\x61\x20\147", "\x67\56\x69\x64\137\163\151\x73\167\141\75\141\56\x73\151\x73\167\141\137\151\x64\x20\101\x4e\x44\40\x67\56\151\x64\137\x74\x70\x3d" . $id_tp, "\x6c\145\146\164"); goto HoDPB; yURt0: foreach ($result as $row) { $ret[$row->kode_ruang][$row->kode_sesi][] = $row; eDjEg: } goto ploFu; ploFu: CJhXo: goto mwX5a; z2ypv: $this->db->join("\142\x75\x6b\x75\137\x69\x6e\x64\165\x6b\40\x69", "\x69\x2e\151\x64\x5f\163\151\x73\167\x61\75\x62\56\151\x64\x5f\x73\151\163\x77\x61\40\101\x4e\104\40\x3d\x69\56\163\164\x61\x74\165\163\75\61"); goto FLA_0; fnDDI: $this->db->from("\143\x62\x74\137\163\145\163\x69\x5f\163\x69\x73\167\x61\40\141"); goto zxZct; UX06E: $this->db->order_by("\145\56\153\x6f\144\145\x5f\x73\x65\163\x69"); goto J5mOA; g2ldv: $this->db->order_by("\x66\56\x6b\x6f\x64\145\137\153\x65\x6c\x61\163"); goto qw8mZ; qw8mZ: $this->db->order_by("\x62\x2e\x6e\141\155\x61"); goto Vj5uW; g02ST: $this->db->join("\143\x62\x74\137\x72\165\x61\x6e\147\x20\144", "\144\56\151\x64\137\x72\165\x61\x6e\x67\75\141\56\x72\165\141\156\x67\137\151\144", "\154\145\x66\164"); goto WqiEW; FLA_0: $this->db->order_by("\x64\56\153\157\144\x65\137\162\x75\x61\x6e\147"); goto UX06E; P3xkP: } public function getAllPesertaByKelas($id_tp, $id_smt) { goto X7ZX5; ULQdu: return $ret; goto rvflU; VelAK: $this->db->order_by("\x62\x2e\x6e\x61\155\141"); goto iMEQh; MFJ2X: $this->db->join("\x6b\x65\x6c\141\x73\x5f\x73\151\163\x77\x61\x20\x63", "\x63\x2e\x69\x64\137\x73\x69\163\167\x61\75\142\x2e\151\144\137\163\151\x73\x77\141\x20\x41\x4e\x44\40\x63\x2e\x69\x64\137\x74\x70\x3d" . $id_tp . "\40\x41\116\x44\40\143\56\151\x64\x5f\x73\155\x74\x3d" . $id_smt . ''); goto S8kdq; Mfh94: $this->db->join("\x6d\141\x73\164\x65\x72\x5f\163\151\x73\x77\x61\40\142", "\x62\x2e\x69\144\137\x73\x69\163\x77\x61\x3d\141\x2e\163\x69\163\167\141\x5f\x69\144", "\154\x65\146\x74"); goto SWbDJ; mLLGQ: $this->db->order_by("\x66\x2e\154\x65\x76\x65\154\x5f\151\x64"); goto AOs5n; X7ZX5: $this->db->select("\142\x2e\151\x64\137\163\151\x73\167\141\54\40\142\56\x6e\141\155\x61\54\40\142\x2e\x6e\x69\x73\x2c\x20\x62\x2e\156\x69\x73\x6e\54\40\142\56\165\163\145\x72\x6e\141\x6d\x65\x2c\40\x62\56\x70\x61\163\163\x77\x6f\162\x64\54\x20\142\56\x66\157\x74\x6f\54" . "\x20\x66\56\156\141\x6d\x61\x5f\x6b\145\x6c\x61\x73\x2c\40\x66\56\153\157\x64\x65\137\153\x65\154\141\163\x2c" . "\40\144\56\x6e\141\155\x61\137\162\x75\x61\156\x67\x2c\40\x64\x2e\x6b\x6f\144\x65\x5f\x72\165\x61\156\147\54" . "\x20\x65\x2e\153\157\144\145\137\x73\145\163\151\x2c\x20\145\x2e\156\x61\155\x61\137\163\x65\163\151\54" . "\40\147\x2e\x6e\157\x6d\x6f\162\x5f\x70\x65\163\x65\162\164\141"); goto m4CRe; MDplp: $this->db->join("\142\x75\x6b\165\x5f\x69\x6e\x64\165\153\x20\151", "\151\56\151\144\x5f\163\151\x73\167\x61\x3d\142\x2e\151\144\x5f\x73\x69\163\167\141\40\x41\116\104\40\75\x69\x2e\x73\164\x61\x74\165\163\x3d\61"); goto mLLGQ; Sga7o: foreach ($result as $row) { $ret[$row->kode_kelas][] = $row; PLy1N: } goto QWrgE; OSUA1: $ret = []; goto Sga7o; iMEQh: $result = $this->db->get()->result(); goto OSUA1; KYzIR: $this->db->join("\x63\142\x74\137\x6e\x6f\x6d\157\x72\x5f\x70\x65\x73\145\162\164\141\40\x67", "\x67\56\x69\x64\x5f\163\151\x73\167\141\x3d\141\56\x73\151\163\x77\141\x5f\x69\144\x20\x41\116\104\x20\147\56\151\x64\137\164\x70\75" . $id_tp, "\x6c\x65\146\x74"); goto u9VsZ; S8kdq: $this->db->join("\x6d\141\x73\164\x65\x72\137\x6b\x65\154\x61\x73\40\x66", "\146\x2e\151\x64\137\153\145\x6c\141\163\75\x63\x2e\x69\x64\137\153\145\154\141\x73"); goto MDplp; m4CRe: $this->db->from("\x63\x62\x74\x5f\x73\x65\x73\x69\x5f\x73\x69\x73\167\141\x20\141"); goto Mfh94; QWrgE: QIDsg: goto ULQdu; SWbDJ: $this->db->join("\x63\x62\164\137\x72\165\141\x6e\147\x20\144", "\x64\x2e\151\x64\x5f\162\165\x61\x6e\x67\x3d\x61\x2e\162\165\141\156\x67\137\x69\144", "\154\145\146\x74"); goto KYzIR; AOs5n: $this->db->order_by("\146\x2e\x6b\157\144\x65\x5f\x6b\145\x6c\141\163"); goto VelAK; u9VsZ: $this->db->join("\x63\142\164\x5f\x73\x65\x73\151\x20\x65", "\145\x2e\151\144\137\x73\x65\x73\x69\x3d\141\x2e\x73\145\163\x69\x5f\x69\144", "\x6c\x65\x66\x74"); goto MFJ2X; rvflU: } public function getSiswaByRuang($id_tp, $id_smt, $id_ruang, $sesi, $level = null) { goto BAliP; vPQeK: $this->db->join("\153\x65\154\141\163\x5f\x73\151\163\167\x61\40\143", "\143\56\x69\144\x5f\x73\151\163\167\141\75\142\x2e\151\x64\x5f\163\151\163\x77\141\40\x41\116\104\40\x63\x2e\x69\144\137\x74\160\x3d" . $id_tp . "\40\x41\x4e\104\x20\143\56\x69\144\x5f\163\x6d\164\x3d" . $id_smt . ''); goto V_bH4; enSDk: $this->db->join("\x62\x75\x6b\x75\137\151\x6e\x64\165\153\x20\x69", "\x69\56\151\x64\137\163\151\x73\x77\141\x3d\x62\56\151\144\x5f\x73\x69\163\167\141\40\x41\x4e\x44\40\x3d\x69\56\163\164\141\x74\x75\x73\x3d\x31"); goto DBUFf; zrDIU: goto Fnsw2; goto dFKvw; Mx32k: $this->db->join("\155\x61\x73\x74\145\162\137\x6b\x65\x6c\141\x73\x20\x66", "\146\56\x69\144\137\153\145\x6c\141\163\x3d\x63\x2e\x69\x64\137\153\145\154\x61\x73"); goto JogDd; BAliP: $this->db->select("\x61\x2e\x72\165\x61\156\147\x5f\x69\144\x2c\x20\x61\56\163\x65\x73\x69\137\x69\x64\54\40\142\56\151\x64\137\163\151\163\167\x61\x2c\40\142\x2e\x6e\x61\x6d\141\x2c\x20\142\x2e\156\151\x73\54\40\142\x2e\156\x69\163\x6e\54\40\142\x2e\x75\x73\145\162\156\x61\x6d\x65\54\40\x62\56\x70\x61\163\x73\x77\157\162\x64\54\x20\142\x2e\146\x6f\164\x6f\x2c" . "\40\x66\56\x69\144\x5f\x6b\145\x6c\x61\163\54\40\x66\x2e\x6e\x61\155\141\137\x6b\x65\154\x61\x73\x2c\40\146\x2e\x6b\x6f\144\x65\x5f\x6b\x65\154\x61\163\x2c" . "\x20\x64\56\x6e\141\155\141\137\162\x75\x61\x6e\147\54\40\144\56\x6b\x6f\x64\x65\x5f\162\x75\141\156\147\54" . "\40\145\x2e\153\157\144\145\x5f\x73\145\163\x69\x2c\40\x65\56\x6e\141\155\x61\x5f\x73\x65\x73\151\x2c" . "\x20\147\56\156\x6f\x6d\157\162\137\160\145\163\x65\x72\x74\141"); goto kVMC4; JogDd: Fnsw2: goto enSDk; J24Ee: $this->db->join("\155\x61\163\164\x65\x72\x5f\x6b\x65\x6c\x61\163\40\146", "\x66\x2e\x69\144\x5f\153\x65\x6c\x61\x73\x3d\x63\56\151\x64\137\153\145\154\x61\x73" . "\40\101\x4e\x44\x20\146\56\x6c\145\x76\145\x6c\137\151\144\x3d" . $level . ''); goto zrDIU; mUUrw: $this->db->join("\x63\142\x74\x5f\x6e\157\155\x6f\x72\137\160\145\163\145\x72\x74\141\40\147", "\147\56\x69\x64\137\163\151\163\x77\x61\75\141\56\163\x69\163\x77\141\x5f\151\144\x20\101\116\104\x20\x67\x2e\151\x64\137\164\160\x3d" . $id_tp, "\154\x65\146\x74"); goto DJhmr; DBUFf: $this->db->where("\141\56\x72\165\x61\x6e\147\137\x69\x64", $id_ruang); goto ZBzDd; kVMC4: $this->db->from("\x63\x62\164\137\163\145\163\x69\x5f\163\x69\163\x77\141\x20\141"); goto zc23q; ZBzDd: $this->db->where("\141\x2e\163\x65\163\151\x5f\x69\x64", $sesi); goto DNo2Z; zc23q: $this->db->join("\x6d\x61\163\164\145\162\137\x73\151\x73\x77\141\x20\x62", "\x62\56\151\144\137\163\x69\163\x77\141\75\x61\x2e\x73\x69\x73\x77\141\x5f\x69\144", "\x6c\145\146\164"); goto F2tXn; DJhmr: $this->db->join("\143\142\164\137\x73\x65\x73\151\x20\x65", "\145\x2e\x69\x64\137\163\x65\x73\151\75\x61\56\x73\145\163\x69\x5f\x69\144", "\x6c\145\146\164"); goto vPQeK; F2tXn: $this->db->join("\143\142\164\x5f\x72\165\x61\156\147\x20\144", "\x64\56\x69\144\137\x72\x75\141\156\x67\75\x61\x2e\162\x75\141\156\147\137\x69\144", "\x6c\145\x66\164"); goto mUUrw; dFKvw: v1ARl: goto Mx32k; DNo2Z: $this->db->order_by("\142\x2e\x6e\141\155\141"); goto buJm8; V_bH4: if ($level === null) { goto v1ARl; } goto J24Ee; buJm8: return $this->db->get()->result(); goto aUcVj; aUcVj: } public function getRuangSiswaByKelas($id_tp, $id_smt, $kelas, $sesi) { goto L6m_R; xGP2C: $this->db->from("\x63\142\x74\x5f\x73\145\163\151\137\x73\x69\x73\167\141\x20\x61"); goto odm_T; ESoyL: return $this->db->get()->result(); goto XQT6v; L6m_R: $this->db->select("\142\x2e\151\144\x5f\x73\151\x73\167\141\x2c\x20\x62\x2e\x6e\x61\155\x61\54\40\142\x2e\x6e\x69\x73\54\x20\x62\56\156\x69\x73\x6e\x2c\40\x62\x2e\165\x73\x65\162\156\141\155\x65\54\x20\142\x2e\x70\141\163\163\167\157\x72\x64\54\40\x62\x2e\146\x6f\164\157\54" . "\x20\146\56\x6e\141\x6d\141\x5f\153\x65\x6c\141\163\x2c\x20\x66\x2e\153\157\x64\145\137\x6b\145\154\x61\x73\x2c" . "\x20\x64\56\156\141\x6d\141\x5f\162\x75\141\x6e\147\54\x20\144\56\153\157\x64\145\137\162\x75\141\x6e\147\x2c" . "\x20\x65\56\153\x6f\144\145\137\x73\145\x73\151\x2c\x20\145\56\x6e\x61\155\x61\137\163\x65\163\x69\x2c" . "\40\x67\56\156\x6f\155\157\x72\x5f\160\x65\x73\145\x72\x74\x61"); goto xGP2C; nAvfI: if (!($sesi != null)) { goto PVcSh; } goto YZT5n; etgOo: PVcSh: goto V1zM7; xQRDM: $this->db->join("\143\142\164\137\x6e\157\x6d\x6f\162\137\x70\145\163\x65\162\164\x61\40\x67", "\147\56\151\x64\137\163\151\x73\x77\x61\x3d\x61\x2e\163\x69\x73\x77\141\x5f\151\x64\40\x41\x4e\x44\x20\147\x2e\151\144\137\x74\x70\75" . $id_tp, "\x6c\145\x66\x74"); goto ytZwl; ytZwl: $this->db->join("\143\142\164\x5f\163\145\x73\x69\x20\x65", "\x65\56\151\x64\137\163\145\x73\151\75\x61\x2e\163\145\163\151\x5f\x69\144", "\154\145\146\x74"); goto g7wvK; odm_T: $this->db->join("\x6d\141\x73\x74\x65\x72\x5f\x73\x69\x73\167\x61\x20\142", "\142\x2e\x69\x64\137\x73\151\163\167\x61\75\141\56\163\151\163\167\141\x5f\x69\x64", "\154\145\x66\x74"); goto IDDnG; ndIiE: $this->db->join("\x62\x75\153\165\137\x69\x6e\x64\x75\x6b\x20\x69", "\151\x2e\x69\144\x5f\163\151\163\167\141\x3d\x62\56\151\x64\137\x73\151\163\x77\141\40\101\x4e\x44\40\75\151\x2e\x73\x74\x61\x74\x75\163\x3d\61"); goto aYc7I; aYc7I: $this->db->where_in("\141\x2e\153\145\x6c\x61\x73\x5f\x69\144", $kelas); goto nAvfI; IDDnG: $this->db->join("\143\142\x74\137\x72\x75\141\156\x67\40\x64", "\144\56\x69\x64\x5f\162\x75\141\x6e\147\x3d\141\56\162\x75\x61\156\x67\137\151\144", "\x6c\145\146\164"); goto xQRDM; V1zM7: $this->db->order_by("\142\x2e\x6e\141\155\x61"); goto ESoyL; YZT5n: $this->db->where("\x61\x2e\x73\145\163\x69\137\151\144", $sesi); goto etgOo; QNMml: $this->db->join("\155\141\x73\164\x65\x72\137\x6b\x65\x6c\141\163\x20\x66", "\146\56\151\x64\137\153\x65\x6c\x61\x73\75\x63\56\151\144\137\153\x65\x6c\141\x73"); goto ndIiE; g7wvK: $this->db->join("\153\x65\x6c\141\163\137\163\151\x73\x77\141\40\143", "\x63\56\x69\x64\x5f\163\x69\163\x77\141\75\142\56\x69\144\137\163\x69\163\167\141\40\x41\x4e\104\40\143\56\x69\144\137\x74\160\x3d" . $id_tp . "\40\101\116\104\x20\143\x2e\151\x64\x5f\x73\155\164\x3d" . $id_smt . ''); goto QNMml; XQT6v: } public function getSiswaByKelasArray($id_tp, $id_smt, $arr_kelas) { goto v5cko; ig802: $this->db->where("\x61\56\151\144\x5f\164\x70", $id_tp); goto jb0QA; bgQok: $this->db->order_by("\142\56\156\141\x6d\x61", "\101\123\103"); goto LlXSa; NMD_9: $this->db->order_by("\146\56\x6b\157\144\x65\137\153\145\x6c\x61\x73", "\101\x53\103"); goto bgQok; qbRVc: $this->db->join("\142\165\153\165\x5f\151\x6e\144\x75\153\40\x69", "\x69\x2e\151\x64\x5f\x73\x69\x73\x77\141\x3d\x61\56\151\144\137\x73\151\x73\167\x61\x20\101\x4e\104\40\75\151\56\163\164\x61\164\165\x73\75\x31"); goto PiSjQ; LlXSa: return $this->db->get()->result(); goto GL0OV; v5cko: $this->db->select("\141\x2e\151\x64\x5f\x73\x69\x73\x77\x61\x2c\x20\141\56\x69\x64\137\153\x65\154\x61\163\x2c" . "\40\x62\x2e\156\x61\x6d\x61\54\x20\142\x2e\156\151\x73\54\40\x62\56\156\151\x73\156\54\x20\142\56\165\163\145\162\x6e\141\155\145\x2c\x20\142\56\160\141\x73\x73\167\157\162\144\x2c" . "\x20\x66\56\x6e\141\155\x61\137\153\145\154\x61\163\54\40\x66\56\x6b\x6f\x64\145\137\x6b\x65\154\141\x73\x2c\40\x6c\56\x6c\x65\x76\x65\x6c\54\40\147\x2e\156\x6f\x6d\157\162\137\160\145\163\145\162\x74\x61"); goto rW2r7; mJ7bJ: $this->db->join("\x6c\145\x76\x65\x6c\137\153\x65\x6c\x61\x73\40\154", "\x6c\x2e\x69\x64\x5f\x6c\145\166\145\154\75\146\56\x6c\x65\166\145\154\137\151\x64"); goto WLWN1; WLWN1: $this->db->join("\x63\x62\164\x5f\156\157\x6d\x6f\162\137\160\145\x73\145\x72\x74\141\40\147", "\147\56\151\x64\137\163\151\x73\x77\141\75\141\x2e\151\144\x5f\163\151\x73\167\x61\x20\x41\x4e\x44\40\147\x2e\151\144\x5f\164\160\x3d" . $id_tp, "\154\x65\146\x74"); goto qbRVc; PiSjQ: if (in_array("\123\145\x6d\165\141", $arr_kelas)) { goto qQR6B; } goto Ap_Zn; o0taS: qQR6B: goto ig802; Z4N2e: $this->db->join("\155\141\x73\164\x65\162\137\x73\x69\163\x77\x61\40\142", "\x62\56\151\x64\x5f\163\x69\163\167\x61\x3d\141\56\x69\144\x5f\163\x69\x73\x77\141"); goto wARrA; wARrA: $this->db->join("\x6d\141\x73\x74\145\162\x5f\153\145\154\x61\x73\40\x66", "\146\x2e\x69\x64\x5f\153\x65\154\141\x73\x3d\x61\56\x69\144\137\153\145\154\x61\163"); goto mJ7bJ; tkYYt: $this->db->order_by("\x6c\x2e\x6c\x65\x76\x65\154", "\101\x53\103"); goto NMD_9; Ap_Zn: $this->db->where_in("\141\x2e\x69\x64\x5f\153\145\154\141\163", $arr_kelas); goto o0taS; jb0QA: $this->db->where("\x61\56\x69\144\x5f\163\x6d\x74", $id_smt); goto tkYYt; rW2r7: $this->db->from("\x6b\x65\154\141\163\x5f\x73\151\x73\x77\141\40\141"); goto Z4N2e; GL0OV: } public function getKelasList($tp, $smt) { goto X152x; Ipd1j: $this->db->join("\155\x61\163\164\145\x72\137\x6a\165\162\x75\x73\x61\x6e\x20\143", "\x63\x2e\151\x64\137\x6a\x75\x72\165\163\x61\156\x3d\141\56\152\165\x72\x75\163\x61\x6e\x5f\x69\x64", "\x6c\145\x66\164"); goto D4fDp; qSWfA: $this->db->join("\143\142\x74\137\153\x65\154\141\163\137\x72\165\x61\156\x67\40\142", "\x61\56\151\144\x5f\153\x65\x6c\141\x73\75\142\x2e\151\144\137\153\145\x6c\x61\163", "\154\145\146\x74"); goto Ipd1j; K9iO4: $this->db->order_by("\x61\56\154\145\x76\145\154\137\151\144", "\101\123\x43"); goto fRekm; G4l2M: $this->db->from("\155\x61\163\164\145\x72\x5f\153\145\x6c\141\163\x20\141"); goto qSWfA; X152x: $this->db->select("\x61\56\x69\144\137\x6b\x65\x6c\141\x73\54\40\141\x2e\x6e\141\155\141\x5f\153\145\154\141\163\54\x20\141\x2e\153\157\144\x65\x5f\153\145\154\141\163\x2c\40\x63\56\x6e\x61\x6d\141\x5f\152\165\x72\x75\163\x61\x6e\54\40\x62\x2e\151\x64\137\162\165\x61\156\x67\54\x20\x62\56\151\144\137\x73\x65\163\151\54\40\x62\56\x73\x65\164\x5f\163\x69\x73\x77\x61"); goto G4l2M; RF3vE: $this->db->where("\x61\x2e\151\144\137\163\x6d\x74", $smt); goto K9iO4; D4fDp: $this->db->join("\154\x65\x76\145\x6c\137\x6b\145\x6c\141\x73\40\x64", "\x64\56\151\x64\x5f\x6c\x65\166\145\154\75\x61\x2e\154\x65\166\x65\x6c\x5f\151\x64", "\x6c\145\146\164"); goto GCAjx; kSGFa: $query = $this->db->get(); goto cpF2V; GCAjx: $this->db->where("\x61\56\x69\144\137\164\x70", $tp); goto RF3vE; cpF2V: return $query->result(); goto jVVTC; fRekm: $this->db->order_by("\141\x2e\156\141\155\x61\137\153\x65\154\x61\163", "\x41\x53\x43"); goto kSGFa; jVVTC: } public function getKelas($tp = null, $smt = null) { goto YqlK9; RUizU: if (!($smt != null)) { goto cPnzW; } goto PcUYl; JnJy2: wUvFo: goto RUizU; vPI42: $this->db->from("\155\141\x73\164\145\x72\137\x6b\x65\x6c\141\163\40\141"); goto mqA24; YqlK9: $this->db->select("\x61\56\151\144\x5f\x6b\145\154\141\163\54\40\x61\x2e\x6e\x61\x6d\141\137\153\145\x6c\x61\x73\x2c\x20\141\56\153\x6f\x64\145\x5f\x6b\x65\154\141\163\54\x20\142\56\x6c\145\x76\x65\x6c"); goto vPI42; O6IG2: $this->db->where("\141\x2e\x69\x64\x5f\164\x70", $tp); goto JnJy2; HWsyW: cPnzW: goto lZVJi; mqA24: $this->db->join("\154\145\166\x65\154\x5f\153\x65\154\x61\163\40\x62", "\x62\56\151\144\x5f\x6c\x65\166\145\154\x3d\x61\56\154\x65\x76\x65\x6c\137\x69\144", "\154\145\x66\x74"); goto bTahr; PcUYl: $this->db->where("\x61\x2e\151\144\x5f\163\x6d\164", $smt); goto HWsyW; bTahr: if (!($tp != null)) { goto wUvFo; } goto O6IG2; lZVJi: $this->db->order_by("\x61\x2e\x6e\x61\x6d\141\137\x6b\x65\x6c\x61\x73", "\101\123\x43"); goto Jnqhd; Jnqhd: return $this->db->get()->result(); goto REC4z; REC4z: } public function getDataTableBank($guru = null) { goto Wcb1H; Wcb1H: $this->datatables->select("\x61\x2e\151\x64\x5f\x62\x61\x6e\x6b\54\x20\141\x2e\142\x61\156\x6b\137\x6b\x6f\x64\145\x2c\x20\141\56\x62\x61\156\x6b\x5f\x6c\145\166\145\154\x2c\40\141\x2e\164\141\x6d\160\151\154\137\160\x67\54\x20\141\56\164\x61\155\160\x69\154\x5f\x65\x73\141\151\54\x20\141\56\163\164\141\x74\x75\163\54\40\x62\56\156\141\155\141\x5f\155\141\x70\x65\154\54\40\143\56\156\141\155\141\x5f\147\x75\x72\x75"); goto AH7Iq; pwZwF: $this->datatables->join("\x6d\141\x73\x74\x65\162\x5f\x6a\x75\x72\165\163\x61\x6e\40\144", "\x64\x2e\151\144\x5f\152\x75\x72\x75\x73\x61\x6e\x3d\x61\x2e\x62\x61\156\x6b\x5f\x6a\165\162\x75\163\141\x6e\137\x69\x64", "\154\145\x66\164"); goto iRyQw; Gr3j_: $this->datatables->join("\155\x61\x73\164\x65\x72\x5f\147\x75\x72\x75\x20\143", "\143\56\x69\144\x5f\147\165\162\165\x3d\141\56\x62\x61\156\x6b\137\147\x75\162\x75\x5f\151\x64", "\x6c\145\146\164"); goto pwZwF; vGkOh: $this->datatables->where("\x61\56\x62\141\156\x6b\x5f\x67\165\162\x75\x5f\151\x64", $guru); goto wP5t7; Rz0qG: if (!($guru !== null)) { goto BnyDH; } goto vGkOh; CuHO4: $this->datatables->join("\x6d\x61\163\x74\x65\x72\x5f\155\x61\x70\145\154\40\142", "\142\x2e\x69\x64\137\155\x61\160\x65\x6c\x3d\x61\56\142\x61\x6e\x6b\x5f\155\141\160\x65\154\x5f\x69\144", "\x6c\x65\x66\x74"); goto Gr3j_; wP5t7: BnyDH: goto YyGTO; AH7Iq: $this->datatables->from("\x63\x62\x74\x5f\x62\x61\x6e\153\x5f\x73\157\141\x6c\x20\x61"); goto CuHO4; iRyQw: $this->datatables->join("\143\142\x74\137\152\145\x6e\151\163\x20\x65", "\145\x2e\151\144\137\x6a\145\x6e\151\163\x3d\x61\56\x62\141\x6e\x6b\137\x6a\x65\156\151\163\x5f\151\144", "\x6c\x65\146\x74"); goto Rz0qG; YyGTO: return $this->datatables->generate(); goto s6Hfa; s6Hfa: } public function getDataBank($guru = null, $mapel = null, $level = null) { goto ZmVIF; Mh1gw: KbPEQ: goto Ey3vb; I3YOQ: if (!($level !== null)) { goto KbPEQ; } goto Ph40I; Nfw0I: $this->db->join("\155\x61\163\164\145\x72\137\x6d\x61\160\145\154\40\x62", "\x62\56\x69\144\137\155\x61\x70\145\x6c\x3d\141\x2e\142\141\156\x6b\137\x6d\x61\x70\x65\x6c\137\x69\144", "\x6c\x65\x66\164"); goto QJwGY; rSSeO: foreach ($result as $row) { $ret[$row->id_tp][$row->id_smt][] = $row; Qku5v: } goto UYo31; KTpJR: $this->db->where("\x61\56\x62\141\x6e\x6b\137\155\141\160\x65\x6c\137\151\144", $mapel); goto K18mI; K18mI: tRuKm: goto I3YOQ; t67_b: if (!($guru !== null)) { goto sWcK3; } goto BB9FG; Okdg1: $result = $this->db->get()->result(); goto MPZZL; NMgRp: $this->db->from("\x63\142\x74\137\142\x61\x6e\x6b\137\x73\157\141\154\x20\x61"); goto Nfw0I; giTR1: return $ret; goto ZgWZK; mJrjE: if (!($mapel !== null)) { goto tRuKm; } goto KTpJR; QJwGY: $this->db->join("\155\x61\163\164\145\162\137\x67\165\x72\x75\x20\143", "\143\56\151\144\x5f\x67\165\162\165\75\x61\x2e\x62\141\x6e\153\137\147\x75\162\165\137\151\144", "\154\x65\146\164"); goto t67_b; BB9FG: $this->db->where("\141\56\x62\x61\156\x6b\x5f\147\165\162\165\x5f\151\x64", $guru); goto RCx3L; Ey3vb: $this->db->order_by("\x61\x2e\142\141\156\153\x5f\154\145\x76\145\154", "\x41\x53\103"); goto Okdg1; Ph40I: $this->db->where("\x61\56\142\x61\x6e\153\137\x6c\x65\166\x65\x6c", $level); goto Mh1gw; MPZZL: $ret = []; goto rSSeO; ZmVIF: $this->db->select("\x61\x2e\x69\x64\x5f\142\x61\x6e\x6b\x2c\x20\141\x2e\x69\144\x5f\164\160\54\40\141\x2e\x69\x64\137\163\155\x74\54\40\x61\56\142\x61\156\x6b\137\x6b\157\x64\145\x2c\x20\141\56\142\x61\x6e\153\x5f\154\145\x76\145\x6c\54\40\x61\x2e\x62\x61\156\153\x5f\x6b\145\x6c\x61\x73\54\40\141\56\144\x61\x74\x65\54\40\141\56\163\164\x61\x74\165\x73\54" . "\40\x61\56\164\x61\x6d\160\x69\154\x5f\160\x67\x2c\x20\x61\x2e\x74\x61\155\160\151\154\137\153\x6f\155\160\154\x65\153\x73\54\x20\141\x2e\x74\x61\x6d\x70\151\x6c\x5f\152\x6f\144\x6f\150\153\141\x6e\x2c\40\141\x2e\164\x61\x6d\160\151\x6c\137\151\x73\151\x61\x6e\x2c\40\x61\56\164\x61\x6d\x70\x69\x6c\137\145\163\141\151\x2c\40\141\56\x62\x61\x6e\x6b\137\147\165\x72\165\137\151\144\54" . "\40\142\x2e\156\141\155\x61\137\x6d\141\x70\145\154\x2c\x20\x63\x2e\x69\x64\137\147\165\x72\165\54\40\143\x2e\156\x61\155\x61\x5f\x67\165\162\165\x2c" . "\x20\x28\x53\x45\114\105\103\x54\40\103\x4f\125\116\124\50\x69\x64\x5f\x73\x6f\x61\154\x29\x20\x46\122\x4f\x4d\40\x63\142\164\x5f\163\157\x61\154\40\x57\x48\x45\122\105\x20\143\142\164\137\x73\157\x61\x6c\56\x62\x61\156\x6b\x5f\151\144\x20\75\x20\141\56\151\x64\137\142\141\x6e\x6b\x29\x20\101\123\x20\164\157\x74\141\x6c\137\x73\157\x61\x6c\54" . "\x20\50\x53\x45\114\x45\103\124\x20\103\x4f\125\x4e\124\x28\151\144\x5f\x6a\141\x64\x77\x61\x6c\51\40\x46\x52\117\115\x20\143\x62\164\137\152\141\144\x77\x61\154\x20\127\110\x45\x52\105\x20\x63\x62\164\x5f\x6a\x61\144\167\141\154\56\151\x64\137\x62\141\156\153\x20\x3d\x20\x61\56\x69\x64\137\142\141\x6e\153\40\x41\116\x44\x20\x63\x62\164\137\152\x61\x64\167\141\x6c\x2e\x73\164\141\164\x75\x73\x3d\x22\61\42\51\x20\101\x53\40\144\151\147\x75\156\141\x6b\141\x6e"); goto NMgRp; RCx3L: sWcK3: goto mJrjE; UYo31: LpS21: goto giTR1; ZgWZK: } public function getDataBankById($id) { goto lGmIO; lGmIO: $this->db->select("\141\x2e\52\54\40\x62\x2e\x6e\x61\155\141\x5f\x6d\141\x70\x65\154\54\40\142\56\x6b\157\144\x65\x2c\40\x63\56\x6e\x61\x6d\141\137\x67\165\x72\x75\x2c\x20\x64\x2e\156\141\x6d\x61\x5f\152\165\x72\x75\x73\141\x6e\54\40\144\56\x6b\x6f\x64\x65\x5f\x6a\x75\162\x75\x73\x61\x6e\54" . "\40\x28\123\x45\x4c\x45\103\124\40\103\117\x55\116\x54\50\151\x64\137\152\x61\144\x77\x61\154\x29\x20\x46\122\117\x4d\40\x63\142\164\137\152\x61\x64\167\141\x6c\x20\x57\x48\x45\x52\105\x20\x63\142\164\x5f\x6a\141\x64\x77\x61\154\56\x69\144\137\142\x61\156\153\40\75\x20\141\56\151\144\137\142\x61\x6e\153\40\101\x4e\104\40\143\x62\x74\x5f\x6a\x61\144\167\x61\154\x2e\x73\x74\x61\164\165\x73\x3d\x22\x31\42\51\x20\101\x53\x20\144\151\147\x75\x6e\x61\x6b\x61\156"); goto bviMJ; LDID_: $this->db->join("\x6d\141\x73\x74\145\162\137\147\x75\x72\x75\40\143", "\x63\56\x69\144\137\147\x75\x72\165\75\141\x2e\x62\x61\156\153\137\147\165\162\x75\x5f\x69\x64", "\154\x65\146\164"); goto bFvd2; bviMJ: $this->db->from("\143\x62\164\137\x62\141\156\x6b\137\163\x6f\141\x6c\40\x61"); goto AfWng; jsvxL: $this->db->where("\141\56\x69\x64\x5f\x62\x61\x6e\x6b", $id); goto YZ9jR; bFvd2: $this->db->join("\155\141\x73\164\145\x72\x5f\152\165\162\x75\x73\141\156\40\x64", "\144\56\151\x64\x5f\152\x75\x72\165\x73\141\156\75\141\56\142\x61\156\x6b\x5f\152\x75\x72\165\163\x61\156\x5f\151\144", "\154\x65\x66\164"); goto jsvxL; AfWng: $this->db->join("\155\x61\x73\164\145\x72\137\155\x61\160\145\154\40\x62", "\142\56\x69\144\137\x6d\x61\160\x65\154\x3d\x61\x2e\x62\x61\x6e\153\137\x6d\141\160\145\x6c\137\x69\144", "\x6c\145\x66\x74"); goto LDID_; YZ9jR: return $this->db->get()->row(); goto QSiIT; QSiIT: } public function getTotalSoal($id_bank, $jenis = null) { goto Jv92N; BlnEt: $this->db->where("\x6a\145\156\x69\x73", $jenis); goto xyyHV; M1lsM: if (!($jenis != null)) { goto hOOlB; } goto BlnEt; xyyHV: hOOlB: goto yw1U0; Jv92N: $this->db->where("\142\141\x6e\x6b\137\151\x64", $id_bank); goto M1lsM; yw1U0: return $this->db->get("\x63\142\164\x5f\x73\x6f\141\154")->num_rows(); goto tkzNI; tkzNI: } public function getNomorSoalById($id_soal) { goto HfKZy; HfKZy: $this->db->select("\156\x6f\155\x6f\162\137\163\x6f\x61\154\x2c\x20\152\145\156\x69\163\54\x20\x62\x61\156\153\x5f\151\x64"); goto QLiJ5; QLiJ5: $this->db->where("\x69\x64\137\163\157\x61\154", $id_soal); goto QPUg3; QPUg3: return $this->db->get("\143\x62\x74\137\x73\157\x61\154")->row(); goto reKeH; reKeH: } public function getFileSoalById($id_soal) { goto drHhq; drHhq: $this->db->select("\146\x69\154\145"); goto pC1yZ; TorEY: return $this->db->get("\143\x62\164\137\x73\157\x61\x6c")->row(); goto tlvhI; pC1yZ: $this->db->where("\x69\x64\x5f\163\157\141\154", $id_soal); goto TorEY; tlvhI: } public function getSoalByBank($id_bank) { goto z1nzB; z1nzB: $this->db->select("\x69\x64\137\x73\157\x61\154\x2c\x20\142\x61\x6e\x6b\137\151\144\x2c\x20\155\141\160\145\x6c\137\151\144\54\x20\152\145\x6e\x69\x73\54\x20\156\x6f\155\x6f\x72\x5f\163\157\x61\154\x2c\40\163\157\141\154\x2c\40\157\x70\x73\151\x5f\141\54\40\x6f\x70\163\151\137\142\x2c\40\157\160\x73\x69\137\x63\54\x20\157\160\x73\151\x5f\x64\54\x20\x6f\160\163\x69\137\x65\54\40\152\141\x77\x61\x62\x61\156"); goto J9pYh; Rk2c9: $result = $this->db->get()->result(); goto li3vv; QI7wo: $this->db->order_by("\152\145\x6e\151\163"); goto ploOQ; ploOQ: $this->db->order_by("\x6e\157\x6d\x6f\162\137\163\x6f\x61\154"); goto Rk2c9; yvOgc: $this->db->where("\x62\141\x6e\153\x5f\151\x64", $id_bank); goto QI7wo; li3vv: $ret = []; goto BfhKF; qHMgf: grYyT: goto yFjrp; BfhKF: foreach ($result as $row) { $ret[$row->jenis][$row->nomor_soal] = $row; EV8Fk: } goto qHMgf; J9pYh: $this->db->from("\143\x62\164\137\163\x6f\x61\154"); goto yvOgc; yFjrp: return $ret; goto TpEDs; TpEDs: } public function getAllSoalByBank($id_bank, $jenis = null) { goto umsQB; vjByz: return $this->db->get("\143\142\164\137\163\x6f\141\x6c")->result(); goto FzV__; M4YHc: uQxTf: goto vjByz; umsQB: $this->db->select("\151\x64\x5f\x73\157\x61\x6c\x2c\40\x62\x61\x6e\x6b\x5f\151\144\x2c\40\155\x61\160\145\154\137\x69\144\x2c\x20\152\145\156\151\163\54\40\x6e\x6f\155\157\x72\x5f\x73\x6f\141\154\54\x20\163\157\x61\154\x2c\40\x6f\x70\x73\151\137\141\54\40\x6f\160\x73\151\x5f\142\54\40\157\x70\163\x69\x5f\x63\54\40\157\x70\x73\x69\x5f\144\54\40\157\x70\163\x69\x5f\x65\x2c\40\x6a\x61\x77\x61\x62\141\156\x2c\40\x74\x61\x6d\x70\151\154\x6b\x61\156"); goto eQ0mV; eQ0mV: $this->db->where("\x62\x61\x6e\x6b\137\x69\144", $id_bank); goto t3QnS; IGax6: $this->db->where("\152\145\156\151\x73", $jenis); goto M4YHc; t3QnS: if (!($jenis != null)) { goto uQxTf; } goto IGax6; FzV__: } public function getSoalByNomor($id_bank, $nomor, $jenis) { goto l41VP; ZC_ew: $this->db->where("\142\141\156\x6b\137\x69\x64", $id_bank); goto MtIzk; sCKfq: return $this->db->get("\x63\x62\x74\137\x73\x6f\141\154")->row(); goto mXZKq; MtIzk: $this->db->where("\156\x6f\x6d\157\x72\137\163\157\141\x6c", $nomor); goto XlimM; l41VP: $this->db->select("\x2a"); goto ZC_ew; XlimM: $this->db->where("\x6a\145\156\x69\x73", $jenis); goto sCKfq; mXZKq: } public function getNomorSoalByBankJenis($id_bank, $jenis) { goto r3ynE; r3ynE: $this->db->select("\151\x64\x5f\163\157\x61\154\54\x20\x6a\145\156\151\x73\54\x20\156\x6f\155\x6f\x72\137\163\157\x61\x6c"); goto cF5pC; b_j6n: $this->db->where("\152\145\x6e\151\x73", $jenis); goto Jo9PN; Jo9PN: $result = $this->db->get("\x63\142\164\137\x73\x6f\141\154")->result(); goto znKyD; pyVGx: foreach ($result as $key => $row) { $ret[$row->nomor_soal] = $row; X4t2k: } goto U43OL; cF5pC: $this->db->where("\142\141\156\153\137\151\x64", $id_bank); goto b_j6n; vU0ZX: return $ret; goto bntVa; znKyD: $ret = []; goto pyVGx; U43OL: w4ZhS: goto vU0ZX; bntVa: } public function getNomorSoalByBank($id_bank, $jenis = null) { goto XhNbd; hPUsx: $result = $this->db->get("\143\x62\164\x5f\x73\157\141\154")->result(); goto xmvK7; KE33P: return $ret; goto WzzVm; IkoE0: $this->db->where("\142\141\156\153\x5f\x69\144", $id_bank); goto bQuHK; XhNbd: $this->db->select("\151\144\x5f\163\157\x61\x6c\x2c\40\x6a\x65\x6e\x69\163\x2c\x20\x6e\x6f\155\157\x72\x5f\163\157\x61\x6c\x2c\x20\x6a\141\167\x61\142\x61\x6e"); goto IkoE0; JfYIP: if (!($jenis != null)) { goto puhZm; } goto YPmtv; bQuHK: $this->db->where("\164\141\x6d\160\x69\x6c\153\141\x6e", "\x31"); goto JfYIP; wonCc: puhZm: goto hPUsx; xmvK7: $ret = []; goto SZ7iR; SZ7iR: foreach ($result as $key => $row) { $ret[$row->id_soal] = $row; OiXhF: } goto lJuQq; YPmtv: $this->db->where("\x6a\x65\156\x69\163", $jenis); goto wonCc; lJuQq: Zho1O: goto KE33P; WzzVm: } public function getNomorSoalByArrIdBank($arr_id_bank, $jenis = null) { goto sl12F; m_DDo: $this->db->where("\x6a\145\156\151\x73", $jenis); goto oAjS6; oAjS6: z8D0T: goto RdjGo; MZ6Vk: $this->db->where_in("\x62\141\156\x6b\137\151\x64", $arr_id_bank); goto LVheS; sl12F: $this->db->select("\x69\x64\137\x73\x6f\141\154\x2c\x20\x6a\x65\156\151\163\x2c\x20\x6e\x6f\155\157\162\x5f\x73\x6f\141\x6c\x2c\x20\x6a\x61\167\x61\142\141\156"); goto MZ6Vk; LVheS: if (!($jenis != null)) { goto z8D0T; } goto m_DDo; RdjGo: return $this->db->get("\143\142\x74\137\x73\157\141\x6c")->result(); goto EkTN9; EkTN9: } public function cekSoalAda($id_bank, $jenis) { goto IS3hr; bWeT3: return $this->db->get("\x63\x62\x74\x5f\x73\157\141\x6c")->result(); goto c01_w; Lv7bp: $this->db->where("\142\141\x6e\x6b\137\151\x64", $id_bank); goto bHUHy; IS3hr: $this->db->select("\x69\144\x5f\163\x6f\141\154\x2c\x20\142\141\x6e\x6b\137\151\x64\54\40\152\145\156\151\163\x2c\x20\x6e\157\x6d\157\162\x5f\x73\x6f\141\x6c"); goto Lv7bp; bHUHy: $this->db->where("\x6a\x65\x6e\x69\x73", $jenis); goto bWeT3; c01_w: } public function cekSoalKomplit($id_bank, $jenjang) { goto Hrijq; IozDW: p6JyO: goto fcE6j; aamHy: $this->db->where("\142\141\x6e\153\x5f\151\x64", $id_bank)->where("\163\x6f\141\x6c\x20\x4e\117\124\40\x4e\125\x4c\114")->or_where("\157\160\x73\x69\137\141\x20\x4e\x4f\x54\x20\x4e\x55\114\114")->or_where("\157\x70\163\151\x5f\x62\40\x4e\117\x54\x20\x4e\125\x4c\x4c")->or_where("\x6f\160\x73\151\137\143\40\x4e\x4f\x54\x20\116\125\x4c\x4c")->or_where("\157\x70\163\151\x5f\x64\40\116\117\124\40\x4e\x55\x4c\x4c")->or_where("\x6a\x61\167\x61\x62\141\x6e\40\x4e\117\124\x20\116\125\x4c\114"); goto c5hqq; fcE6j: return $this->db->get("\143\142\x74\x5f\x73\x6f\141\x6c")->result(); goto G3s5v; c5hqq: if (!($jenjang == "\x33")) { goto p6JyO; } goto NFHXC; Hrijq: $this->db->select("\151\x64\137\163\157\x61\x6c\54\x20\142\141\x6e\x6b\x5f\x69\x64\54\x20\x6a\145\x6e\151\x73\54\40\156\x6f\x6d\157\x72\x5f\163\x6f\141\x6c"); goto aamHy; NFHXC: $this->db->or_where("\157\160\163\x69\137\145\40\x4e\117\124\40\116\x55\x4c\x4c"); goto IozDW; G3s5v: } public function cekSoalBelumKomplit($jenis, $opsi_ganda) { goto YvWro; L3uzi: return $ret; goto jr3UW; Hor9i: $this->db->where("\x6f\160\x73\x69\137\142\40\x49\123\x20\x4e\125\114\x4c")->or_where("\157\x70\x73\151\x5f\142\x20\x3d\x22\x22"); goto sGc_s; KGx_p: if (!($jenis == "\x32")) { goto w65r5; } goto fzawo; YXNoY: w65r5: goto hnBSl; ozjt9: $this->db->where("\x6f\160\x73\151\x5f\144\x20\111\x53\40\x4e\x55\114\114")->or_where("\157\x70\163\x69\x5f\x64\x20\75\x22\x22"); goto noQlB; pW7K7: $result = $this->db->get()->result(); goto m51yq; hnBSl: $this->db->where("\152\141\167\141\x62\x61\x6e\x20\111\123\x20\116\125\114\114")->or_where("\x6a\x61\x77\x61\x62\x61\x6e\x20\75\42\x22"); goto ldQAH; sGc_s: $this->db->where("\x6f\x70\163\x69\x5f\143\x20\111\x53\40\x4e\x55\114\114")->or_where("\x6f\x70\163\x69\137\143\40\x3d\42\x22"); goto nmktc; p6pz1: ixGfz: goto KGx_p; iayMF: if (!($jenis == "\x31")) { goto ixGfz; } goto PtXAn; nubHr: if (!($opsi_ganda == "\x35")) { goto vUuGc; } goto DAh1a; nix4u: $this->db->where("\x6f\x70\x73\x69\x5f\145\x20\111\123\x20\x4e\x55\x4c\x4c")->or_where("\157\x70\x73\151\x5f\x65\40\x3d\x22\42"); goto xk1N_; eNz8y: $this->db->where("\x73\x6f\141\154\x20\111\123\x20\116\125\114\114")->or_where("\163\x6f\141\154\x20\75\x22\x22"); goto iayMF; YvWro: $this->db->select("\151\144\x5f\x73\157\x61\x6c\x2c\x20\x62\x61\156\153\x5f\151\144\x2c\x20\x6a\145\x6e\151\x73\54\x20\156\x6f\x6d\157\x72\137\x73\x6f\141\x6c\x2c\40\155\x61\x70\145\154\137\x69\144"); goto yTano; DAh1a: $this->db->where("\157\160\163\151\137\x64\x20\111\123\40\116\125\114\114")->or_where("\157\x70\163\x69\137\x64\x20\75\42\x22"); goto nix4u; jxiRy: OACs3: goto L3uzi; noQlB: cK8fz: goto nubHr; nmktc: if (!($opsi_ganda == "\64")) { goto cK8fz; } goto ozjt9; PtXAn: $this->db->where("\x6f\x70\163\151\x5f\141\40\x49\x53\40\116\x55\x4c\114")->or_where("\157\x70\163\151\137\141\x20\x3d\42\x22"); goto Hor9i; xk1N_: vUuGc: goto p6pz1; m51yq: foreach ($result as $key => $row) { $ret[$row->bank_id][] = $row; Ld5Dt: } goto jxiRy; fGynt: $this->db->where("\x6a\x65\156\151\x73", $jenis); goto eNz8y; ldQAH: $ret = []; goto pW7K7; yTano: $this->db->from("\143\x62\164\x5f\x73\157\141\x6c"); goto fGynt; fzawo: $this->db->where("\x6f\160\x73\x69\x5f\141\x20\x49\x53\x20\x4e\x55\114\114")->or_where("\157\160\163\151\x5f\x61\x20\x3d\42\42"); goto YXNoY; jr3UW: } public function getNomorSoalTerbesar($id_bank, $jenis) { goto TTsZT; lPsVv: $this->db->order_by("\x6e\x6f\155\157\162\x5f\163\157\141\154", "\104\x45\123\x43"); goto sfDz5; sfDz5: return $this->db->get("\x63\x62\164\x5f\x73\x6f\141\154")->row(); goto Qi5xw; lBEfv: $this->db->where("\x62\x61\156\x6b\x5f\x69\x64", $id_bank)->where("\152\x65\156\151\x73", $jenis); goto lPsVv; TTsZT: $this->db->select("\156\x6f\155\157\162\x5f\163\x6f\141\x6c"); goto lBEfv; Qi5xw: } public function dummy($jenjang) { $data = array("\x69\144\137\142\x61\156\153" => '', "\x62\141\x6e\153\x5f\152\145\x6e\151\x73\137\x69\144" => '', "\x62\x61\x6e\x6b\137\153\x6f\144\145" => '', "\142\x61\x6e\153\x5f\x6d\141\160\x65\154\x5f\151\x64" => '', "\142\141\156\153\x5f\x6c\x65\166\x65\154" => '', "\x62\141\156\153\137\x6b\x65\x6c\141\x73" => serialize([]), "\142\141\156\x6b\137\x67\x75\x72\165\137\x69\x64" => '', "\152\x6d\x6c\x5f\x73\157\141\154" => "\60", "\x62\157\142\x6f\x74\x5f\x70\x67" => "\60", "\164\x61\155\x70\x69\154\x5f\160\147" => "\x30", "\157\160\x73\151" => $jenjang == "\61" ? "\x33" : ($jenjang == "\62" ? "\x34" : ($jenjang == "\63" ? "\65" : '')), "\x6a\x6d\154\x5f\x6b\x6f\x6d\x70\154\145\x6b\163" => "\60", "\164\141\155\160\151\154\x5f\x6b\x6f\155\160\154\145\x6b\x73" => "\x30", "\x62\157\x62\157\164\137\153\x6f\155\160\154\x65\153\163" => "\60", "\152\155\154\137\152\157\x64\x6f\x68\153\x61\x6e" => "\x30", "\164\x61\x6d\160\151\154\x5f\x6a\x6f\144\157\x68\153\141\156" => "\60", "\142\x6f\x62\157\x74\137\152\x6f\144\x6f\150\153\x61\156" => "\x30", "\x6a\x6d\x6c\137\151\x73\x69\x61\156" => "\60", "\164\x61\x6d\x70\x69\154\137\x69\x73\151\141\x6e" => "\x30", "\x62\x6f\x62\x6f\x74\137\x69\x73\x69\141\x6e" => "\60", "\x6a\155\154\137\x65\x73\x61\x69" => "\60", "\142\x6f\x62\x6f\164\x5f\x65\163\141\x69" => "\x30", "\164\141\x6d\x70\x69\x6c\137\x65\163\141\x69" => "\60", "\x6b\x6b\x6d" => '', "\x73\x6f\141\154\x5f\141\x67\141\x6d\x61" => "\55", "\163\x74\141\164\165\x73" => "\61"); return $data; } public function saveBankSoal($tp, $smt) { goto QkiSG; WX_Jq: k5VMu: goto RgPS9; U3AB3: $this->db->where("\x69\x64\x5f\142\x61\x6e\153", $id); goto oZJh_; mhmyz: goto gaZcm; goto WX_Jq; QkiSG: $id = $this->input->post("\151\144\137\x62\141\156\x6b", true); goto T5uXj; RgPS9: $this->db->insert("\x63\142\x74\x5f\142\x61\x6e\153\137\x73\x6f\141\x6c", $data); goto zRoAc; LdcIo: $kelas = []; goto g1860; xF2vT: HrU0s: goto RjHzw; K2Ie3: if (!($i <= $rows)) { goto HrU0s; } goto n8Cgl; tfv_L: goto EzELi; goto xF2vT; LNjFo: pn5gQ: goto Z3DL7; sJfMM: return $insert_id; goto BnR6u; Z3DL7: $i++; goto tfv_L; BnR6u: gaZcm: goto L2MjP; RjHzw: $jumlah = serialize($kelas); goto yeqbp; zRoAc: $insert_id = $this->db->insert_id(); goto sJfMM; yeqbp: $data = array("\x69\x64\137\164\x70" => $tp, "\x69\x64\x5f\163\x6d\164" => $smt, "\142\x61\x6e\153\137\153\x6f\x64\x65" => strip_tags($this->input->post("\153\157\x64\145", TRUE)), "\x62\x61\x6e\x6b\137\x6a\x65\x6e\x69\163\x5f\x69\x64" => strip_tags($this->input->post("\152\x65\x6e\x69\163", TRUE)), "\x62\141\x6e\x6b\137\x6d\141\160\x65\x6c\137\151\x64" => strip_tags($this->input->post("\155\141\160\145\x6c", TRUE)), "\142\141\x6e\153\x5f\x6b\x65\x6c\x61\x73" => $jumlah, "\x62\141\156\x6b\x5f\x6c\x65\166\145\154" => $this->input->post("\x6c\x65\x76\145\x6c", TRUE), "\142\141\x6e\153\x5f\x67\165\x72\x75\x5f\x69\144" => strip_tags($this->input->post("\x67\165\162\x75", TRUE)), "\152\x6d\x6c\137\163\x6f\141\154" => strip_tags($this->input->post("\x74\141\x6d\160\151\x6c\137\160\x67", TRUE)), "\164\x61\x6d\160\151\154\x5f\160\147" => strip_tags($this->input->post("\164\141\x6d\160\x69\x6c\137\x70\x67", TRUE)), "\x62\157\x62\157\x74\x5f\x70\147" => strip_tags($this->input->post("\142\x6f\142\157\x74\137\x70\x67", TRUE)), "\x6f\x70\163\x69" => strip_tags($this->input->post("\x6f\160\x73\x69", TRUE)), "\152\155\x6c\137\x6b\x6f\155\160\x6c\x65\153\x73" => strip_tags($this->input->post("\x74\x61\x6d\x70\151\x6c\137\153\157\155\160\x6c\145\x6b\163", TRUE)), "\164\x61\x6d\160\151\154\x5f\x6b\157\x6d\x70\154\145\153\x73" => strip_tags($this->input->post("\164\x61\155\160\x69\154\137\153\157\155\160\154\145\153\163", TRUE)), "\x62\x6f\142\x6f\164\x5f\x6b\x6f\155\x70\154\145\x6b\163" => strip_tags($this->input->post("\142\x6f\x62\x6f\164\x5f\153\157\x6d\160\x6c\x65\153\x73", TRUE)), "\152\155\x6c\x5f\x6a\x6f\144\x6f\x68\153\141\x6e" => strip_tags($this->input->post("\x74\141\x6d\x70\151\154\x5f\x6a\157\144\x6f\x68\153\x61\156", TRUE)), "\164\141\x6d\x70\151\x6c\137\152\x6f\x64\157\150\153\141\x6e" => strip_tags($this->input->post("\164\141\x6d\x70\x69\x6c\x5f\x6a\157\144\157\x68\153\x61\x6e", TRUE)), "\142\x6f\x62\157\164\137\152\157\x64\x6f\150\153\141\x6e" => strip_tags($this->input->post("\x62\x6f\x62\157\164\137\x6a\157\144\x6f\150\x6b\141\156", TRUE)), "\152\155\x6c\137\151\x73\x69\x61\x6e" => strip_tags($this->input->post("\164\x61\x6d\x70\151\154\x5f\151\x73\151\x61\x6e", TRUE)), "\164\x61\x6d\160\x69\154\x5f\x69\163\x69\x61\x6e" => strip_tags($this->input->post("\164\x61\155\160\151\x6c\137\x69\x73\151\141\156", TRUE)), "\x62\x6f\142\x6f\164\x5f\x69\x73\x69\141\x6e" => strip_tags($this->input->post("\x62\x6f\x62\157\164\x5f\151\163\151\141\x6e", TRUE)), "\152\x6d\x6c\x5f\145\x73\141\151" => strip_tags($this->input->post("\142\x6f\142\x6f\x74\137\x65\x73\141\151", TRUE)), "\142\x6f\x62\x6f\x74\x5f\x65\163\x61\x69" => strip_tags($this->input->post("\142\x6f\x62\157\x74\x5f\145\x73\141\x69", TRUE)), "\164\x61\x6d\160\151\154\137\145\x73\141\x69" => strip_tags($this->input->post("\x74\x61\155\160\x69\x6c\x5f\145\x73\141\x69", TRUE)), "\x73\164\141\164\165\163" => strip_tags($this->input->post("\163\164\x61\164\x75\163", TRUE)), "\x73\157\141\x6c\137\x61\x67\x61\x6d\141" => strip_tags($this->input->post("\163\x6f\x61\x6c\137\141\147\141\x6d\x61", TRUE))); goto grkZd; g1860: $i = 0; goto AnZyO; n8Cgl: $kelas[] = ["\x6b\x65\154\x61\163\137\151\144" => $this->input->post("\153\145\154\141\163\x5b" . $i . "\135", true)]; goto LNjFo; grkZd: if (!$id) { goto k5VMu; } goto U3AB3; T5uXj: $rows = count($this->input->post("\x6b\x65\154\x61\163", true)); goto LdcIo; AnZyO: EzELi: goto K2Ie3; oZJh_: return $this->db->update("\x63\142\164\137\142\x61\x6e\x6b\137\x73\157\x61\154", $data); goto mhmyz; L2MjP: } public function dummyJadwal() { $data = array("\151\x64\137\142\141\156\x6b" => '', "\151\144\x5f\152\x61\x64\167\141\154" => '', "\x69\144\x5f\152\x65\x6e\151\x73" => '', "\164\x67\x6c\137\155\x75\154\x61\151" => '', "\x74\147\x6c\137\x73\145\154\x65\163\141\x69" => '', "\x64\165\x72\x61\163\151\x5f\165\152\151\x61\156" => '', "\x62\141\x6e\x6b\x5f\153\145\154\x61\163" => serialize([]), "\141\x63\x61\x6b\x5f\163\x6f\x61\x6c" => '', "\141\143\x61\x6b\137\157\x70\x73\x69" => '', "\x68\141\x73\151\154\x5f\x74\141\155\x70\151\154" => '', "\x74\157\x6b\x65\x6e" => '', "\x73\164\x61\164\165\163" => '', "\165\x6c\141\156\147" => '', "\x6a\x61\x72\x61\153" => '', "\162\x65\163\x65\164\137\154\157\x67\151\156" => ''); return $data; } public function getDistinctJenisJadwal($tp, $smt) { goto SH2Pl; UGB6a: $this->db->from("\143\x62\x74\x5f\x6a\x61\x64\x77\141\x6c"); goto NLWRy; iMGCP: return $result; goto lhdky; NLWRy: $this->db->where("\151\x64\x5f\164\160", $tp); goto lDpoY; tAyIg: $this->db->distinct(); goto UGB6a; lDpoY: $this->db->where("\151\x64\x5f\163\155\164", $smt); goto FwTRi; FwTRi: $result = $this->db->get()->result(); goto iMGCP; SH2Pl: $this->db->select("\151\x64\x5f\152\145\x6e\151\x73"); goto tAyIg; lhdky: } public function getDataJadwal($tp, $smt, $guru = null, $rekap = null) { goto P5vSf; zBn3I: $this->db->join("\x63\142\164\137\x6a\x65\x6e\x69\x73\x20\143", "\143\x2e\x69\x64\137\152\x65\x6e\151\163\75\141\56\x69\x64\137\x6a\x65\156\151\x73", "\154\145\x66\x74"); goto fyLP0; Zclxh: M3QCD: goto yeX58; ytm3P: $this->db->join("\155\x61\163\164\x65\x72\x5f\x73\155\x74\x20\146", "\141\56\x69\x64\137\163\x6d\164\75\146\x2e\x69\144\x5f\x73\155\164"); goto Zcsd2; doEsI: $this->db->join("\155\x61\163\164\x65\162\x5f\x74\x70\x20\145", "\x61\56\x69\x64\x5f\164\x70\x3d\145\x2e\x69\144\x5f\164\x70"); goto ytm3P; FsheL: $this->db->order_by("\x61\x2e\164\147\154\x5f\x6d\165\x6c\141\x69", "\104\x45\x53\x43"); goto RoVp5; zuivk: return $query; goto LxWrL; DmA4P: $this->db->where("\x62\x2e\142\141\x6e\153\137\x67\x75\x72\165\137\x69\144", $guru); goto Zclxh; UZWaV: $this->db->from("\x63\x62\164\137\152\x61\x64\167\x61\x6c\x20\141"); goto dsZc4; tEsBf: $query = $this->db->get()->result(); goto zuivk; Y0zcS: if (!($guru !== null)) { goto M3QCD; } goto DmA4P; Zcsd2: $this->db->join("\x6c\145\x76\x65\x6c\137\x6b\x65\154\x61\163\40\x67", "\142\x2e\142\x61\156\153\137\154\145\166\x65\154\x3d\x67\x2e\151\144\x5f\154\145\x76\x65\154"); goto Y0zcS; ODXa4: $this->db->where("\x61\56\162\x65\153\x61\x70", $rekap); goto UdaY8; fyLP0: $this->db->join("\155\x61\x73\x74\145\162\137\155\x61\160\x65\x6c\40\x64", "\x64\56\151\x64\x5f\x6d\x61\160\145\154\x3d\142\56\142\141\156\x6b\137\155\141\x70\x65\154\x5f\151\144", "\154\x65\x66\164"); goto doEsI; RoVp5: $this->db->order_by("\142\x2e\142\x61\x6e\153\137\154\x65\166\145\x6c", "\x41\123\103"); goto tEsBf; dsZc4: $this->db->join("\x63\142\x74\137\142\x61\156\153\137\163\157\141\x6c\x20\x62", "\x62\x2e\151\x64\x5f\x62\141\156\x6b\x3d\141\56\151\x64\137\x62\x61\x6e\153", "\x6c\145\146\164"); goto zBn3I; UdaY8: P7AGt: goto FsheL; P5vSf: $this->db->select("\141\x2e\151\144\x5f\152\141\x64\x77\141\x6c\x2c\40\x61\x2e\x69\x64\x5f\x74\x70\54\40\141\x2e\x69\x64\x5f\x73\x6d\x74\x2c\40\x61\56\x69\144\137\x62\x61\156\x6b\x2c\x20\141\x2e\x69\144\x5f\x6a\x65\156\151\x73\x2c\x20\141\x2e\164\147\x6c\137\x6d\x75\x6c\141\151\54" . "\x20\x61\x2e\164\x67\x6c\x5f\163\145\154\x65\163\x61\151\54\x20\x61\x2e\x73\x74\x61\164\165\163\x2c\40\141\56\165\154\x61\156\147\54\40\x61\x2e\162\x65\x73\x65\x74\137\154\x6f\147\x69\156\x2c\x20\141\56\162\145\153\141\160\54\40\141\x2e\x6a\x61\x6d\x5f\153\145\54" . "\x20\x65\x2e\151\144\137\164\160\54\x20\145\x2e\x74\x61\x68\x75\x6e\x2c\40\146\x2e\151\x64\137\x73\155\x74\x2c\x20\146\56\x6e\141\155\x61\137\x73\x6d\x74\x2c\40\147\56\x6c\145\166\x65\x6c\54\40\x62\x2e\142\141\x6e\x6b\x5f\153\157\x64\145\x2c\40\142\56\x62\x61\156\153\137\154\145\166\145\x6c\x2c\40\142\x2e\x62\x61\x6e\x6b\x5f\x6b\145\x6c\x61\163\54" . "\40\143\56\x6b\157\x64\x65\x5f\152\145\x6e\x69\163\x2c\x20\x64\56\x6b\x6f\144\145\54\x20\x64\x2e\156\x61\155\141\137\155\141\x70\145\x6c\x2c" . "\40\x62\56\164\141\155\160\x69\154\x5f\160\147\x2c\40\142\x2e\164\141\155\160\151\154\137\x6b\x6f\155\160\x6c\x65\x6b\x73\x2c\40\x62\56\x74\141\155\160\151\x6c\137\152\157\144\x6f\x68\153\141\x6e\x2c\x20\x62\x2e\164\x61\155\160\x69\154\x5f\x69\163\151\x61\x6e\x2c\x20\x62\56\164\x61\x6d\160\151\x6c\x5f\x65\163\x61\151\x2c\40\142\56\142\141\156\153\x5f\147\x75\x72\165\137\x69\x64\54" . "\x20\50\x53\x45\x4c\105\103\x54\40\x43\x4f\x55\116\124\x28\x69\x64\137\x73\157\x61\x6c\x29\40\x46\122\117\x4d\x20\x63\x62\164\x5f\x73\x6f\141\x6c\x20\x57\x48\105\x52\x45\x20\x63\x62\164\137\x73\x6f\x61\x6c\x2e\x62\141\156\153\137\x69\x64\40\x3d\40\x61\x2e\x69\x64\x5f\142\141\156\x6b\51\40\101\x53\40\164\x6f\x74\141\154\x5f\x73\x6f\x61\x6c"); goto UZWaV; yeX58: if (!($rekap !== null)) { goto P7AGt; } goto ODXa4; LxWrL: } public function getAllDataJadwal($guru = null, $mapel = null, $level = null) { goto MhQBE; yMCMl: if (!($level !== null)) { goto uUIvx; } goto Si7FV; YR3sg: if (!($mapel !== null)) { goto d35dk; } goto fhAB_; KXF77: $this->db->join("\143\142\164\137\x62\x61\x6e\153\x5f\163\x6f\141\x6c\x20\x62", "\142\56\151\144\137\x62\x61\x6e\153\x3d\141\x2e\x69\144\137\x62\x61\156\153"); goto cE_Ad; nullf: $this->db->order_by("\142\x2e\142\x61\x6e\153\137\x6c\145\x76\x65\x6c", "\x41\123\x43"); goto j9iUl; RkKLc: $ret = []; goto Ff7Ja; MhQBE: $this->db->select("\x61\x2e\151\x64\x5f\152\x61\x64\167\141\x6c\54\40\141\56\x74\x67\154\137\x6d\165\154\141\x69\x2c\40\141\56\x74\147\x6c\x5f\x73\x65\x6c\x65\163\141\151\54\x20\x61\56\x73\x74\141\164\165\163\54\40\x61\x2e\x64\165\162\x61\x73\151\137\165\152\151\x61\156\x2c\x20\141\x2e\141\143\x61\153\x5f\163\157\141\x6c\x2c" . "\x20\141\x2e\141\x63\141\153\x5f\x6f\160\x73\x69\x2c\x20\x61\56\x69\x64\137\142\x61\156\153\x2c\40\141\56\x69\144\x5f\x6a\x65\156\x69\x73\x2c\x20\141\56\150\x61\163\x69\154\137\x74\141\x6d\160\x69\154\54\40\141\56\x73\164\141\x74\x75\x73\x2c\40\x61\x2e\165\x6c\x61\x6e\147\54\40\x61\x2e\x72\x65\163\x65\164\x5f\154\x6f\x67\151\x6e\x2c\40\x61\56\x72\x65\x6b\141\x70\54" . "\x20\141\56\152\x61\155\137\153\x65\x2c\x20\141\x2e\164\x6f\153\145\x6e\54\x20\145\x2e\x74\141\150\165\156\54\40\x66\56\156\141\x6d\x61\137\x73\155\x74\54\x20\x67\x2e\154\145\166\x65\154\54\40\x62\56\x62\141\x6e\153\137\x6b\x6f\x64\x65\x2c\40\142\56\142\x61\156\x6b\x5f\x6c\145\x76\145\154\54\x20\x62\56\142\141\x6e\x6b\137\153\145\154\x61\x73\54\40\143\56\153\x6f\144\x65\137\x6a\145\x6e\x69\x73\x2c\x20\x64\56\x6b\157\144\x65\x2c\40\144\x2e\x6e\x61\x6d\x61\x5f\155\x61\160\145\x6c\x2c" . "\x20\x62\56\x74\141\x6d\160\x69\x6c\137\160\x67\x2c\x20\142\x2e\164\x61\x6d\160\x69\154\137\x6b\157\155\x70\154\x65\153\x73\54\40\x62\56\164\141\155\x70\151\x6c\x5f\x6a\157\144\157\150\153\141\x6e\54\x20\x62\x2e\164\x61\x6d\160\x69\154\137\x69\163\x69\x61\156\x2c\40\142\x2e\164\x61\155\x70\151\x6c\137\145\163\x61\151\54\40\x62\56\142\141\x6e\x6b\x5f\x67\x75\162\x75\x5f\x69\144\x2c" . "\40\x28\123\x45\x4c\105\x43\x54\x20\x43\117\125\x4e\x54\50\x69\x64\x5f\163\x6f\141\154\x29\40\106\x52\x4f\115\x20\x63\x62\x74\x5f\x73\157\x61\154\40\x57\x48\105\x52\x45\x20\x63\142\x74\x5f\x73\157\141\154\x2e\142\x61\x6e\x6b\137\x69\x64\40\75\40\x61\x2e\x69\x64\137\142\141\x6e\x6b\51\x20\x41\x53\40\164\x6f\x74\141\x6c\x5f\163\x6f\x61\x6c"); goto bZFK0; TtrhH: $this->db->join("\x6c\x65\x76\145\x6c\137\153\145\x6c\141\x73\40\x67", "\x62\x2e\142\141\x6e\153\x5f\x6c\145\x76\145\x6c\x3d\147\56\151\x64\137\154\145\x76\145\x6c"); goto P4F1Y; Ff7Ja: foreach ($query as $key => $row) { $ret["\74\x62\76" . $row->kode_jenis . "\74\x2f\142\76\x20\40" . $row->tahun . "\x20\163\x6d\x74\x20" . $row->nama_smt][$row->level][] = $row; rbM6L: } goto WLSSg; YUtBi: $this->db->order_by("\x61\x2e\x69\144\x5f\163\x6d\164", "\104\x45\123\x43"); goto UqkGf; uIKvO: uUIvx: goto nullf; EFlOd: mZT8g: goto YR3sg; j9iUl: $this->db->order_by("\x61\56\x69\144\x5f\x74\160", "\104\x45\123\103"); goto YUtBi; bZFK0: $this->db->from("\x63\x62\164\137\152\141\x64\167\141\x6c\x20\x61"); goto KXF77; o62Xe: $this->db->join("\155\x61\163\x74\145\x72\137\x74\x70\40\145", "\x61\56\x69\x64\x5f\x74\x70\75\145\56\151\144\137\164\x70"); goto ZfYeg; t2MDe: $this->db->where("\x62\x2e\142\141\156\x6b\x5f\147\x75\162\x75\x5f\x69\x64", $guru); goto EFlOd; WLSSg: pCXYd: goto bONVj; Si7FV: $this->db->where("\142\56\x62\141\156\x6b\137\154\145\x76\145\x6c", $level); goto uIKvO; cE_Ad: $this->db->join("\143\x62\x74\x5f\x6a\145\156\151\163\40\x63", "\x63\x2e\x69\x64\137\152\145\x6e\151\163\75\x61\x2e\151\144\x5f\x6a\x65\156\151\x73", "\x6c\145\x66\x74"); goto IjSW1; ZfYeg: $this->db->join("\155\x61\163\x74\145\162\137\163\155\x74\40\x66", "\141\56\151\x64\x5f\163\155\x74\x3d\146\x2e\151\144\137\x73\x6d\x74"); goto TtrhH; IjSW1: $this->db->join("\155\141\163\x74\x65\x72\137\x6d\141\160\145\154\x20\x64", "\144\x2e\151\x64\x5f\155\141\160\145\154\75\142\x2e\x62\141\x6e\153\137\x6d\141\160\145\154\x5f\x69\x64", "\x6c\x65\x66\x74"); goto o62Xe; mBr1P: d35dk: goto yMCMl; bONVj: return $ret; goto KhUSG; UqkGf: $query = $this->db->get()->result(); goto RkKLc; P4F1Y: if (!($guru !== null)) { goto mZT8g; } goto t2MDe; fhAB_: $this->db->where("\142\x2e\142\x61\x6e\x6b\x5f\x6d\x61\x70\x65\154\x5f\151\x64", $mapel); goto mBr1P; KhUSG: } public function getJadwalTerpakai($id_jadwal = null) { goto BW26Z; KDdRw: foreach ($result as $key => $row) { $ret[$row->id_jadwal][$row->id_siswa] = $row; W2weS: } goto iPr4A; X3Qhn: $this->db->where("\151\x64\x5f\152\141\144\167\x61\154", $id_jadwal); goto FBLWJ; FBLWJ: fzwFV: goto sx7tl; sx7tl: $result = $this->db->get()->result(); goto k304D; WLbWO: $this->db->from("\x63\x62\164\137\x73\x6f\141\154\137\x73\151\163\167\141"); goto gADNY; vX6yT: return $ret; goto fm8ws; iPr4A: fl81J: goto vX6yT; BW26Z: $this->db->select("\151\144\x5f\142\x61\156\x6b\54\151\x64\137\152\141\x64\167\x61\x6c\x2c\151\x64\137\163\151\163\x77\141"); goto WLbWO; k304D: $ret = []; goto KDdRw; gADNY: if (!($id_jadwal != null)) { goto fzwFV; } goto X3Qhn; fm8ws: } public function getBankTerpakai($id_banks = null) { goto OrPqs; kglcH: return $ret; goto TM5RK; NF0s3: r7S8C: goto kglcH; l270Y: $this->db->where_in("\x69\x64\137\142\141\x6e\153", $id_banks); goto O2SLI; Mcd53: if (!($id_banks != null)) { goto rJgdZ; } goto l270Y; OrPqs: $this->db->select("\151\144\x5f\x62\141\156\153\x2c\x69\144\x5f\163\x6f\141\154\54\151\144\x5f\163\x69\x73\167\x61"); goto oVZfo; x1jAv: $result = $this->db->get()->result(); goto uAvhH; c6xBS: foreach ($result as $key => $row) { $ret[$row->id_bank][$row->id_siswa] = $row; ZfTPf: } goto NF0s3; uAvhH: $ret = []; goto c6xBS; O2SLI: rJgdZ: goto x1jAv; oVZfo: $this->db->from("\143\x62\164\137\x73\x6f\x61\154\137\x73\151\163\x77\141"); goto Mcd53; TM5RK: } public function getCountBankTerpakai($id_bank = null) { goto rHIix; XrQqY: IxZIV: goto Zz1TK; cQgVL: return $result; goto Sp0fQ; e7Gju: if (!($id_bank != null)) { goto IxZIV; } goto eZEsr; Zz1TK: $this->db->group_by("\x69\x64\x5f\142\141\x6e\153"); goto LNVjk; eZEsr: $this->db->where("\151\x64\137\x62\141\156\153", $id_bank); goto XrQqY; LNVjk: $result = $this->db->get()->result(); goto cQgVL; BlMnR: $this->db->from("\x63\142\164\137\163\157\x61\154\x5f\x73\151\163\x77\x61"); goto e7Gju; rHIix: $this->db->select("\x69\144\x5f\x62\141\156\153\54\103\117\x55\x4e\x54\50\151\x64\x5f\x73\151\163\167\x61\x29\x20\141\x73\x20\x73\151\x73\x77\x61"); goto BlMnR; Sp0fQ: } public function getRekapByJadwalKelas($jadwal, $guru = null) { goto oPBsJ; fiOxG: $result = $this->db->get()->row(); goto ZvOSj; lBsm3: $this->db->where("\x69\144\137\152\141\144\x77\x61\x6c", $jadwal); goto Bu3ZR; ZvOSj: return $result; goto HE3JS; oPBsJ: $this->db->from("\x63\x62\164\x5f\162\145\x6b\x61\x70"); goto lBsm3; IRaRU: $this->db->where("\151\x64\x5f\147\165\x72\165", $guru); goto v9c6d; v9c6d: Ty0QS: goto fiOxG; Bu3ZR: if (!($guru !== null)) { goto Ty0QS; } goto IRaRU; HE3JS: } public function getRekapJadwal($guru = null) { goto w4WVT; B2Z8P: if (!($guru !== null)) { goto RwEmP; } goto kFA_H; iruBC: $query = $this->db->get(); goto YXJM0; VOWxR: $this->db->from("\x63\142\164\137\x72\145\x6b\141\x70"); goto B2Z8P; jgpSr: $this->db->order_by("\164\147\x6c\137\x6d\165\x6c\141\151", "\104\x45\x53\103"); goto iruBC; w4WVT: $this->db->select("\52"); goto VOWxR; kFA_H: $this->db->where("\151\144\x5f\x67\165\162\165", $guru); goto yaHoK; YXJM0: return $query->result(); goto nCeh0; yaHoK: RwEmP: goto jgpSr; nCeh0: } public function getAllRekapByJenis($tp, $smt, $jenis, $level, $mapel, $jadwal = null, $guru = null) { goto Usuly; xjLag: esDvU: goto yyguO; AV55j: $this->db->where("\151\x64\x5f\152\x61\144\x77\141\154", $jadwal); goto YWx1y; ZRbRp: akxYy: goto myizA; glme1: $this->db->where("\151\x64\x5f\155\x61\x70\x65\154", $mapel); goto xjLag; h_0iM: return $result; goto Nr_3F; rWbiP: $this->db->where("\153\x6f\144\x65\137\152\x65\156\x69\x73", $jenis); goto huiva; dE0Fs: if (!($mapel != "\60")) { goto esDvU; } goto glme1; YWx1y: ljmGJ: goto nvsp6; yyguO: if (!($jadwal != null)) { goto ljmGJ; } goto AV55j; lex5F: $this->db->where("\x69\x64\x5f\147\x75\162\165", $guru); goto ZRbRp; Usuly: $this->db->from("\x63\142\x74\137\162\145\x6b\141\160"); goto dE0Fs; huiva: $this->db->where("\142\141\x6e\153\x5f\x6c\145\x76\x65\154", $level); goto lBf6C; lBf6C: $this->db->order_by("\x69\x64\137\x6d\141\160\x65\154", "\101\123\103"); goto tDWUG; w7LMw: $this->db->where("\x73\155\164", $smt); goto rWbiP; myizA: $this->db->where("\164\160", $tp); goto w7LMw; tDWUG: $result = $this->db->get()->result(); goto h_0iM; nvsp6: if (!($guru != null)) { goto akxYy; } goto lex5F; Nr_3F: } public function getAllNilaiRekapByJenis($tp, $smt, $kode_jenis, $id_kelas, $id_mapel, $id_jadwal = null, $id_guru = null) { goto ocXIL; ZY8gH: $this->db->where("\x61\x2e\153\157\x64\145\x5f\152\145\x6e\151\163", $kode_jenis); goto ThOF6; rN83b: $this->db->where("\141\56\x69\x64\137\x6b\x65\x6c\x61\x73", $id_kelas); goto QOqtW; VVS85: $this->db->where("\141\x2e\x73\x6d\x74", $smt); goto ZY8gH; oFvk3: return $result; goto S3hIB; GWgkS: $result = $this->db->get()->result(); goto oFvk3; qMbr7: $this->db->join("\142\x75\153\x75\137\x69\x6e\x64\x75\x6b\x20\151", "\x69\56\151\x64\137\x73\x69\x73\167\x61\75\x61\x2e\151\144\137\163\151\163\167\141\x20\101\x4e\104\40\75\151\56\x73\x74\141\164\x75\163\x3d\61"); goto Ae57u; A8dj3: if (!($id_guru != null)) { goto dv5aO; } goto sK7mZ; Ae57u: if (!($id_mapel != "\60")) { goto W0L9t; } goto bsvXA; izrX1: if (!($id_jadwal != null)) { goto RV4cr; } goto rgg1X; kzMBX: $this->db->join("\x6d\x61\163\x74\145\162\137\163\151\x73\167\141\x20\x63", "\143\56\151\144\x5f\x73\x69\163\x77\141\x3d\141\x2e\151\x64\137\163\x69\163\167\141", "\x6c\145\146\164"); goto qMbr7; bsvXA: $this->db->where("\x61\x2e\x69\144\137\x6d\x61\160\x65\154", $id_mapel); goto XUu4H; HBioG: $this->db->join("\x63\142\164\x5f\x6e\x6f\x6d\x6f\162\137\x70\145\163\145\x72\164\141\40\x62", "\142\x2e\x69\144\x5f\x73\151\x73\167\x61\75\x61\x2e\151\x64\137\x73\x69\163\x77\141\x20\101\x4e\x44\x20\x62\x2e\151\x64\x5f\164\x70\x3d\x61\56\x69\x64\x5f\164\x70", "\x6c\145\x66\x74"); goto kzMBX; rgg1X: $this->db->where("\141\56\151\144\x5f\152\x61\x64\x77\141\154", $id_jadwal); goto Ze7e9; QOqtW: $this->db->where("\141\x2e\x74\x70", $tp); goto VVS85; Ze7e9: RV4cr: goto A8dj3; ocXIL: $this->db->select("\141\x2e\x2a\x2c\40\142\x2e\156\x6f\x6d\x6f\162\137\160\x65\163\145\x72\164\x61\54\x20\x63\56\x6e\141\155\141"); goto P3CJw; XUu4H: W0L9t: goto izrX1; yVaZQ: dv5aO: goto rN83b; P3CJw: $this->db->from("\x63\142\x74\x5f\x72\145\x6b\141\160\137\x6e\x69\x6c\141\151\x20\141"); goto HBioG; sK7mZ: $this->db->where("\141\x2e\x69\144\x5f\147\165\x72\165", $id_guru); goto yVaZQ; ThOF6: $this->db->order_by("\143\56\x6e\141\x6d\x61", "\101\x53\103"); goto GWgkS; S3hIB: } public function getAllRekap($guru = null) { goto iUnI4; Wrsgz: $this->db->where("\x69\144\x5f\x67\x75\162\165", $guru); goto MD2kD; ojRw1: $ret = []; goto ZqNvD; aYz_m: v0YjZ: goto Pgf9z; iUnI4: $this->db->select("\x69\x64\137\x72\x65\153\141\160\54\x20\151\x64\137\x74\160\54\40\164\x70\54\x20\151\144\137\x73\x6d\164\x2c\40\163\x6d\x74\54\40\151\x64\x5f\152\x61\144\x77\x61\154\54\x20\x69\x64\x5f\152\145\x6e\151\163\x2c\40\x6b\x6f\144\x65\137\152\x65\x6e\151\x73\54\40\151\144\137\142\x61\156\153\54\x20\x62\141\156\153\137\153\x65\154\141\163\x2c\x20\156\x61\155\x61\137\153\x65\154\141\163\x2c\x20\142\x61\156\153\x5f\x6b\157\144\145\54\x20\x62\141\156\x6b\x5f\x6c\x65\166\x65\x6c\x2c\x20\151\144\x5f\x6d\141\x70\145\x6c\54\x20\x6e\x61\x6d\x61\x5f\155\x61\x70\145\154\x2c\40\153\x6f\x64\x65\54\x20\x74\x67\154\x5f\x6d\x75\x6c\141\151\54\x20\x74\147\154\x5f\x73\x65\154\x65\163\x61\x69\x2c\40\151\144\137\x67\x75\x72\165\x2c\40\156\141\x6d\141\x5f\x67\x75\162\165"); goto Lcf1D; Pgf9z: return $ret; goto fB6Z8; SoXv0: if (!($guru != null)) { goto exMV5; } goto Wrsgz; Lcf1D: $this->db->from("\x63\142\164\137\x72\x65\x6b\x61\x70"); goto SoXv0; MD2kD: exMV5: goto zqG3U; zqG3U: $result = $this->db->get()->result(); goto ojRw1; ZqNvD: foreach ($result as $key => $row) { $ret[$row->id_jadwal] = $row; AKb_l: } goto aYz_m; fB6Z8: } public function getJadwalById($id_jadwal, $sesi = null) { goto f361o; f361o: $this->db->select("\x61\x2e\52\54\40\142\56\157\160\163\151\x2c\40\x62\x2e\x62\x61\156\153\137\x6b\157\x64\x65\x2c\x20\x62\56\x62\x61\156\x6b\x5f\x6c\145\166\x65\154\54\x20\x62\56\x62\141\156\x6b\137\x6b\145\x6c\141\x73\54" . "\40\x62\56\164\x61\155\160\151\154\x5f\160\x67\54\x20\x62\x2e\x74\x61\155\160\x69\154\x5f\x6b\x6f\155\x70\154\x65\x6b\x73\54\40\142\56\164\141\x6d\160\x69\x6c\x5f\x6a\x6f\x64\157\150\153\141\156\x2c\40\142\x2e\164\x61\155\160\x69\154\x5f\x69\163\x69\x61\156\x2c\40\142\x2e\x74\x61\x6d\160\151\x6c\137\x65\x73\141\151\x2c" . "\40\142\56\142\157\x62\157\164\137\x70\147\54\40\x62\x2e\142\x6f\142\157\x74\137\153\157\x6d\x70\x6c\x65\x6b\x73\x2c\x20\x62\x2e\x62\157\x62\x6f\x74\137\x6a\x6f\x64\x6f\150\153\x61\156\x2c\x20\142\x2e\142\x6f\142\x6f\164\137\x69\163\151\x61\156\54\40\x62\56\x62\157\x62\157\x74\x5f\145\163\x61\x69\54" . "\x20\142\56\151\144\x5f\x62\141\x6e\153\x2c\40\142\x2e\x62\x61\156\153\137\147\x75\x72\165\137\151\x64\54\x20\143\56\153\x6f\144\x65\137\152\x65\156\151\x73\54\x20\143\x2e\156\141\155\141\x5f\x6a\145\x6e\151\163\x2c" . "\x20\144\x2e\x69\x64\x5f\x6d\x61\x70\x65\154\x2c\x20\x64\56\153\x6f\144\x65\x2c\40\x64\56\x6e\141\155\x61\x5f\155\x61\160\x65\x6c\54\40\146\x2e\151\x64\x5f\x67\165\x72\x75\54\x20\x66\56\x6e\141\x6d\x61\x5f\x67\x75\162\x75"); goto W7pmh; bSfrp: $query = $this->db->get()->row(); goto gAiNm; W7pmh: $this->db->from("\143\x62\164\x5f\x6a\141\144\x77\x61\154\x20\141"); goto uWRaW; fkqf4: $this->db->where("\x61\x2e\151\144\137\x6a\x61\144\167\x61\x6c", $id_jadwal); goto bSfrp; rTv3k: if (!($sesi != null)) { goto r2yw8; } goto SZLjf; gAiNm: return $query; goto fkuFz; uWRaW: $this->db->join("\x63\x62\164\137\142\141\x6e\153\137\x73\157\x61\x6c\40\x62", "\142\56\151\x64\137\x62\x61\156\153\x3d\141\56\x69\144\x5f\142\x61\x6e\x6b", "\x6c\x65\146\x74"); goto MGUI1; SZLjf: $this->db->join("\143\x62\164\137\163\x65\x73\x69\x20\145", "\x65\x2e\151\144\137\163\145\163\151\x3d" . $sesi, "\x6c\x65\146\164"); goto acefJ; q4z3k: $this->db->join("\155\141\163\164\x65\x72\x5f\x6d\141\x70\145\154\x20\x64", "\144\56\151\144\x5f\155\141\160\145\x6c\x3d\x62\x2e\142\x61\x6e\153\137\x6d\141\160\145\x6c\137\151\x64", "\x6c\145\x66\x74"); goto rTv3k; hdK5f: $this->db->join("\x6d\141\163\x74\x65\x72\137\147\165\162\165\40\x66", "\146\56\x69\144\x5f\x67\165\x72\165\x3d\142\56\142\x61\x6e\153\137\147\x75\162\x75\x5f\151\x64", "\x6c\145\146\x74"); goto fkqf4; MGUI1: $this->db->join("\143\142\x74\137\152\145\x6e\x69\x73\40\x63", "\x63\56\x69\x64\x5f\152\145\156\151\x73\75\141\x2e\151\144\x5f\x6a\x65\156\151\x73", "\x6c\145\x66\164"); goto q4z3k; acefJ: r2yw8: goto hdK5f; fkuFz: } public function getJadwalByIdBank($id_bank) { goto kfnBw; kfnBw: $this->db->select("\141\x2e\x2a\x2c\40\142\56\x6f\x70\163\x69\x2c\x20\142\x2e\142\141\x6e\x6b\x5f\x6b\157\144\x65\54\x20\x62\56\142\141\x6e\153\x5f\x6c\x65\166\x65\x6c\54\40\142\56\x62\x61\156\x6b\x5f\153\145\x6c\141\x73\x2c" . "\40\x62\56\164\x61\155\160\151\154\x5f\160\x67\54\40\x62\x2e\x74\141\155\x70\x69\x6c\137\x6b\157\155\160\154\x65\153\x73\x2c\x20\142\56\x74\141\x6d\x70\151\x6c\x5f\152\x6f\144\x6f\x68\x6b\x61\x6e\x2c\40\142\x2e\164\x61\x6d\160\x69\154\137\x69\x73\x69\x61\156\54\x20\x62\56\x74\141\x6d\160\151\154\137\145\163\x61\x69\54" . "\40\x62\56\x62\x6f\x62\157\x74\137\x70\147\54\40\x62\56\x62\x6f\142\x6f\164\137\153\x6f\x6d\160\154\145\x6b\x73\54\x20\x62\x2e\142\157\142\157\164\x5f\x6a\x6f\144\x6f\150\x6b\x61\x6e\x2c\40\142\x2e\142\157\x62\x6f\164\137\151\163\x69\141\x6e\x2c\40\142\56\x62\x6f\142\x6f\164\x5f\x65\x73\141\x69\x2c" . "\x20\142\56\151\x64\x5f\x62\x61\156\x6b\x2c\x20\x62\x2e\x62\141\156\x6b\x5f\x67\x75\162\165\137\x69\x64\54\x20\x63\x2e\x6b\157\144\145\x5f\152\x65\x6e\151\x73\x2c\40\143\56\x6e\141\x6d\x61\x5f\x6a\145\x6e\x69\x73\54" . "\40\144\x2e\151\144\x5f\x6d\141\160\145\x6c\54\x20\x64\x2e\153\157\x64\145\54\40\144\56\x6e\x61\x6d\x61\137\x6d\141\160\145\x6c\x2c\x20\x66\56\151\144\137\147\x75\x72\165\x2c\40\146\x2e\x6e\x61\x6d\x61\x5f\x67\x75\162\165"); goto KED9Z; id28A: return $query; goto ULJcH; iX1EY: $this->db->join("\x6d\x61\163\164\x65\x72\137\147\x75\162\x75\40\x66", "\146\x2e\151\x64\137\147\x75\x72\x75\x3d\x62\x2e\142\x61\x6e\153\137\147\x75\162\165\137\151\144", "\x6c\x65\x66\x74"); goto h4MxC; joOIk: $this->db->join("\155\141\163\164\x65\162\137\x6d\141\x70\x65\x6c\x20\x64", "\144\56\x69\x64\137\155\x61\160\145\x6c\x3d\142\56\142\141\156\x6b\137\155\141\x70\145\154\x5f\151\144", "\x6c\145\x66\164"); goto iX1EY; xZ_ID: $query = $this->db->get()->row(); goto id28A; kSYZx: $this->db->join("\143\x62\x74\x5f\152\145\x6e\151\163\40\143", "\x63\56\151\x64\137\152\x65\x6e\x69\163\75\141\x2e\151\144\x5f\x6a\145\156\151\163", "\154\x65\146\x74"); goto joOIk; KED9Z: $this->db->from("\x63\142\x74\x5f\x6a\x61\144\x77\141\154\x20\x61"); goto QcaOL; QcaOL: $this->db->join("\x63\142\164\x5f\142\141\x6e\153\x5f\163\x6f\x61\x6c\40\x62", "\142\x2e\x69\144\x5f\142\141\x6e\x6b\75\x61\56\151\x64\x5f\x62\141\x6e\x6b", "\x6c\x65\146\x74"); goto kSYZx; h4MxC: $this->db->where("\141\56\151\x64\137\142\x61\156\153", $id_bank); goto xZ_ID; ULJcH: } public function getAllJadwal($tp, $smt, $id_guru = null) { goto LmsY6; Gl9qU: return $this->db->get()->result(); goto evv3v; xVsIn: ed5SO: goto Rj9Rm; y0JoY: $this->db->from("\x63\x62\x74\137\x62\141\x6e\153\x5f\163\157\x61\x6c\x20\x61"); goto xg3GR; xg3GR: $this->db->join("\143\x62\164\x5f\152\x61\144\x77\x61\154\40\x62", "\142\x2e\x69\x64\x5f\x62\141\156\x6b\75\141\x2e\x69\x64\137\142\141\x6e\153"); goto RUNYR; RUNYR: if (!($id_guru != null)) { goto ed5SO; } goto PQJoc; LmsY6: $this->db->select("\141\x2e\x62\x61\156\153\x5f\153\157\144\145\x2c\40\141\x2e\x62\141\x6e\x6b\x5f\x6b\145\154\x61\x73\x2c\x20\142\56\151\x64\x5f\x6a\x61\x64\x77\141\x6c"); goto y0JoY; PQJoc: $this->db->where("\x61\56\x62\x61\156\x6b\x5f\147\165\162\165\137\x69\144", $id_guru); goto xVsIn; sZrzO: $this->db->where("\142\56\151\144\137\x73\x6d\x74", $smt); goto Gl9qU; Rj9Rm: $this->db->where("\x62\56\x69\x64\x5f\x74\x70", $tp); goto sZrzO; evv3v: } public function getJadwalByArrId($arr_id_jadwal, $sesi = null) { goto U7bk8; lUoPh: $this->db->join("\x6d\x61\x73\x74\145\162\137\x6d\141\160\145\154\40\144", "\144\x2e\151\x64\137\155\x61\160\x65\154\x3d\x62\56\x62\141\x6e\153\137\155\x61\x70\x65\154\137\151\x64", "\x6c\145\146\x74"); goto hwODQ; WGVAy: $this->db->join("\x6d\141\163\x74\x65\x72\137\x67\x75\162\165\40\x66", "\x66\56\x69\144\137\147\x75\x72\165\75\142\56\x62\141\x6e\153\x5f\147\165\x72\x75\137\151\x64", "\x6c\x65\x66\x74"); goto d7vDH; GEiMN: $this->db->from("\x63\x62\164\137\152\141\x64\167\141\154\40\141"); goto qKHMq; PgJX7: return $query; goto T36BV; hwODQ: if (!($sesi != null)) { goto WZSjK; } goto HuhHS; G69Zq: WZSjK: goto WGVAy; HuhHS: $this->db->join("\x63\142\164\x5f\163\x65\x73\x69\x20\x65", "\x65\x2e\151\x64\137\x73\x65\x73\151\75" . $sesi, "\154\x65\146\x74"); goto G69Zq; nTSrr: $this->db->join("\143\x62\164\x5f\152\x65\156\x69\163\x20\x63", "\x63\x2e\151\x64\x5f\152\x65\156\x69\163\75\141\56\x69\144\137\152\x65\x6e\151\163", "\x6c\x65\x66\x74"); goto lUoPh; qKHMq: $this->db->join("\143\x62\x74\x5f\x62\x61\x6e\x6b\x5f\163\x6f\141\x6c\x20\x62", "\142\x2e\x69\144\x5f\142\x61\156\153\75\141\x2e\151\x64\x5f\x62\141\x6e\153", "\x6c\x65\x66\x74"); goto nTSrr; d7vDH: $this->db->where_in("\141\x2e\151\x64\x5f\x6a\141\x64\167\x61\154", $arr_id_jadwal); goto UClw0; UClw0: $query = $this->db->get()->result(); goto PgJX7; U7bk8: $this->db->select("\141\56\x2a\54\x20\x62\x2e\x6f\160\x73\x69\x2c\x20\142\56\142\x61\156\x6b\137\153\x6f\144\145\x2c\40\x62\56\142\141\156\x6b\137\154\x65\x76\145\154\54\x20\142\x2e\142\141\156\x6b\x5f\153\145\154\141\x73\54" . "\x20\x62\x2e\164\141\155\160\151\154\137\160\147\x2c\40\x62\x2e\x74\141\x6d\160\x69\154\x5f\153\157\155\x70\154\145\x6b\163\x2c\x20\x62\56\x74\x61\155\x70\x69\154\137\152\x6f\144\x6f\x68\x6b\x61\x6e\x2c\x20\x62\56\x74\x61\x6d\160\151\154\x5f\151\x73\151\x61\x6e\x2c\x20\142\56\164\x61\155\160\151\x6c\137\145\x73\141\151\x2c" . "\x20\x62\x2e\142\x6f\x62\x6f\164\x5f\160\147\x2c\x20\142\56\142\157\142\157\164\137\153\x6f\155\160\x6c\145\x6b\163\x2c\40\x62\56\x62\x6f\142\x6f\x74\x5f\x6a\x6f\144\x6f\x68\x6b\x61\156\54\x20\142\x2e\x62\157\142\x6f\x74\137\151\x73\x69\141\x6e\54\x20\x62\56\x62\157\x62\157\164\137\x65\x73\x61\151\x2c" . "\40\x62\56\x69\x64\137\x62\x61\156\153\54\x20\x62\x2e\x62\141\156\153\137\x67\165\x72\x75\x5f\x69\x64\x2c\40\x63\x2e\153\x6f\144\145\137\152\x65\x6e\151\163\54\x20\143\56\x6e\x61\155\x61\x5f\152\145\x6e\x69\163\x2c" . "\40\144\x2e\151\144\x5f\155\x61\x70\x65\x6c\54\x20\144\56\153\157\x64\x65\54\40\144\56\156\x61\155\141\137\x6d\x61\x70\145\154\x2c\x20\146\56\x69\144\137\x67\x75\x72\x75\54\40\146\x2e\156\141\155\141\x5f\147\x75\162\x75"); goto GEiMN; T36BV: } public function cekJadwalBankSoal($id_bank) { goto KoWU_; DrdmM: $this->db->where_in("\x69\x64\x5f\142\141\x6e\x6b", $id_bank); goto QTbhQ; KoWU_: $this->db->select("\151\x64\137\142\x61\x6e\x6b"); goto LcBsO; QTbhQ: aB2O2: goto idUfq; idUfq: $query = $this->db->get()->num_rows(); goto WEdR8; wBFbf: $this->db->where("\151\x64\137\142\x61\156\x6b", $id_bank); goto R7jGh; O7uvE: V3asX: goto DrdmM; R7jGh: goto aB2O2; goto O7uvE; eAV0O: if (is_array($id_bank)) { goto V3asX; } goto wBFbf; LcBsO: $this->db->from("\143\x62\164\x5f\152\141\144\167\141\154"); goto eAV0O; WEdR8: return $query; goto PxulN; PxulN: } public function cekJadwalSudahMulai($id_jadwal) { $query = $this->get_where("\143\x62\x74\137\144\x75\162\141\x73\151\x5f\x73\151\163\x77\141", "\x69\x64\137\152\141\144\x77\141\154", $id_jadwal)->num_rows(); return $query; } public function saveJadwalUjian($id_tp, $id_smt) { goto dEkuW; ZA_XU: if ($check != null) { goto UVyds; } goto vZfUN; lpA69: cK_j3: goto WGGGu; lsjR_: $bank_id = strip_tags($this->input->post("\x62\141\x6e\153\x5f\151\x64", TRUE)); goto gvRSC; uc9VG: $check = $this->db->where("\151\144\x5f\142\141\x6e\153", $bank_id)->where("\151\x64\137\x6a\145\x6e\x69\x73", $jenis_id)->get("\143\x62\164\x5f\x6a\141\144\167\141\x6c")->row(); goto C5sFw; WGGGu: return false; goto ObFL7; p04AR: $reset_login = $this->input->post("\162\145\x73\145\164\137\154\157\147\x69\156", TRUE); goto lsjR_; VduBD: goto NRj2M; goto lpA69; vZfUN: $this->db->insert("\x63\x62\164\137\x6a\141\144\167\x61\x6c", $data); goto iEAdk; lzYJx: return $insert_id; goto bk25r; C5sFw: $data = array("\x69\144\x5f\164\x70" => $id_tp, "\151\x64\x5f\163\155\164" => $id_smt, "\151\x64\137\x62\141\x6e\x6b" => $bank_id, "\151\144\137\x6a\145\x6e\151\x73" => $jenis_id, "\x74\x67\x6c\x5f\155\165\154\x61\x69" => $mulai, "\164\x67\154\137\163\145\x6c\x65\x73\x61\x69" => $selesai, "\144\165\162\x61\163\x69\x5f\x75\152\151\x61\156" => $durasi, "\152\141\x72\141\153" => $jarak, "\x61\143\141\x6b\x5f\163\157\x61\154" => !$acak_soal ? "\60" : $acak_soal, "\141\143\x61\153\137\x6f\160\x73\x69" => !$acak_opsi ? "\60" : $acak_opsi, "\x68\141\x73\x69\x6c\x5f\164\141\155\x70\151\154" => !$hasil_tampil ? "\x30" : $hasil_tampil, "\x74\x6f\x6b\x65\x6e" => !$token ? "\60" : $token, "\163\164\141\x74\165\x73" => !$status ? "\60" : $status, "\x72\x65\x73\145\164\x5f\154\157\x67\x69\x6e" => !$reset_login ? "\x30" : $reset_login); goto NLUyW; oQEsh: U1ylQ: goto O7sJi; O7sJi: OI8e6: goto Uw89m; dEkuW: $id = $this->input->post("\x69\144\x5f\152\x61\144\x77\141\x6c", true); goto e7YqL; ObFL7: NRj2M: goto czFff; NLUyW: if ($id == '') { goto ynJ0Y; } goto uoMxU; e7YqL: $acak_soal = $this->input->post("\141\143\x61\153\x5f\x73\x6f\x61\x6c", TRUE); goto ROAtd; CMm1Q: return false; goto oQEsh; henro: $jarak = strip_tags($this->input->post("\152\x61\x72\141\153", TRUE)); goto uc9VG; Wm8jQ: $status = $this->input->post("\x73\x74\141\164\165\x73", TRUE); goto p04AR; UcAU4: $hasil_tampil = $this->input->post("\x68\x61\163\x69\x6c\137\x74\x61\x6d\x70\x69\154", TRUE); goto JyZj0; NJa2X: UVyds: goto CMm1Q; emJt3: $durasi = strip_tags($this->input->post("\144\x75\x72\x61\x73\x69\137\x75\x6a\151\x61\x6e", TRUE)); goto henro; ROAtd: $acak_opsi = $this->input->post("\x61\143\x61\x6b\137\157\160\163\x69", TRUE); goto UcAU4; JyZj0: $token = $this->input->post("\x74\x6f\153\145\156", TRUE); goto Wm8jQ; MwVsD: return $this->db->update("\x63\x62\x74\137\x6a\141\x64\x77\141\154", $data); goto VduBD; FhtDN: $selesai = strip_tags($this->input->post("\x74\147\x6c\137\x73\145\154\145\x73\141\x69", TRUE)); goto emJt3; uoMxU: if ($check != null && $check->id_jadwal != $id) { goto cK_j3; } goto twPIV; iEAdk: $insert_id = $this->db->insert_id(); goto lzYJx; bk25r: goto U1ylQ; goto NJa2X; fSeCe: ynJ0Y: goto ZA_XU; czFff: goto OI8e6; goto fSeCe; b0hA7: $mulai = strip_tags($this->input->post("\x74\147\154\x5f\x6d\x75\x6c\141\x69", TRUE)); goto FhtDN; twPIV: $this->db->where("\151\x64\x5f\x6a\141\144\167\141\x6c", $id); goto MwVsD; gvRSC: $jenis_id = strip_tags($this->input->post("\x6a\145\x6e\x69\163\137\151\x64", TRUE)); goto b0hA7; Uw89m: } public function getJadwalTgl($guru = null) { goto eFw5U; eFw5U: $this->db->distinct(); goto MchVI; LoiWC: $this->db->from("\143\142\164\x5f\x6a\141\x64\x77\x61\154"); goto y8uyE; y8uyE: $query = $this->db->get(); goto bl7rM; bl7rM: return $query->result(); goto eZ5aW; MchVI: $this->db->select("\164\147\154\x5f\x6d\x75\154\141\x69"); goto LoiWC; eZ5aW: } public function getDataJadwalByTgl($tgl) { goto Vcxd_; wb72o: $this->db->where("\x74\x67\154\137\155\165\x6c\x61\x69\40\74\x3d\40\47{$tgl}\x27\x20\101\x4e\x44\x20\x74\x67\x6c\137\x73\x65\154\145\x73\141\x69\40\x3e\x3d\40\47{$tgl}\47"); goto avAXN; Yt3Ce: return $query->result(); goto lKoct; q3xhU: $this->db->from("\x63\x62\164\137\x6a\x61\x64\167\141\154"); goto wb72o; sjyA9: $this->db->select("\164\x67\x6c\x5f\155\x75\154\141\151\x2c\x20\x74\147\x6c\137\x73\x65\x6c\145\x73\141\151"); goto q3xhU; Vcxd_: $this->db->distinct(); goto sjyA9; avAXN: $query = $this->db->get(); goto Yt3Ce; lKoct: } public function getDataGuru() { goto oTAiw; EqyVq: $this->db->from("\155\x61\x73\x74\x65\x72\137\x67\x75\x72\165\x20\x61"); goto ySe6X; psF37: $query = $this->db->get()->result(); goto S9Vjq; ySe6X: $this->db->join("\x63\142\164\x5f\x70\x65\x6e\147\141\x77\x61\163\x20\x62", "\x62\x2e\151\144\137\147\x75\x72\165\40\75\40\x61\56\x69\144\137\x67\x75\162\x75", "\x6c\145\146\x74"); goto psF37; oTAiw: $this->db->select("\x61\56\151\144\137\147\165\x72\165\54\x20\141\56\156\x61\x6d\141\x5f\147\x75\162\165\54\x20\x62\x2e\x69\144\137\x70\x65\156\147\141\167\x61\163\54\x20\142\x2e\151\144\x5f\152\141\x64\167\x61\x6c"); goto EqyVq; S9Vjq: return $query; goto bkXQU; bkXQU: } public function saveToken($post_token) { goto ujaWi; pO_YH: if (!$id) { goto zxkT0; } goto YZJoD; vhqId: return $this->db->update("\x63\142\x74\137\164\x6f\x6b\x65\156", $data); goto uSFME; fydOQ: bXJ1k: goto al8bk; N9CLJ: zxkT0: goto eqjUY; YZJoD: $this->db->where("\151\x64\137\x74\x6f\153\x65\156", $id); goto vhqId; L3JXY: $jarak = $post_token->jarak; goto mp_Xp; U3lZ1: return $insert_id; goto fydOQ; eqjUY: $this->db->insert("\x63\x62\164\x5f\164\x6f\x6b\145\156", $data); goto WPy4E; uSFME: goto bXJ1k; goto N9CLJ; ujaWi: $id = isset($post_token->id_token) ? $post_token->id_token : false; goto Fr48N; qeTw3: $auto = $post_token->auto; goto L3JXY; mp_Xp: $data = array("\x74\x6f\153\145\156" => $tkn, "\141\165\x74\x6f" => $auto, "\x6a\141\x72\x61\153" => $jarak, "\165\x70\144\141\x74\145\144" => $post_token->updated); goto pO_YH; Fr48N: $tkn = $post_token->token; goto qeTw3; WPy4E: $insert_id = $this->db->insert_id(); goto U3lZ1; al8bk: } public function updateToken($token, $auto) { goto R4De3; cKV1D: return $result; goto qpSfF; zG_ti: $this->db->where("\164\157\x6b\145\156", $token); goto Q3AMK; R4De3: $this->db->set("\141\x75\x74\157", $auto, FALSE); goto zG_ti; I234u: $result = $this->db->get("\x63\x62\x74\137\164\157\x6b\145\156")->row(); goto cKV1D; Q3AMK: $this->db->update("\143\x62\164\137\164\x6f\x6b\x65\x6e"); goto I234u; qpSfF: } public function getToken() { $result = $this->db->get("\x63\142\164\137\164\x6f\153\x65\x6e")->row(); return $result; } public function getJadwalCbtKelas($id_tp, $id_smt) { goto vOwPZ; sfeby: return $this->db->get()->result(); goto bnk3T; WQgjF: $this->db->join("\143\142\x74\x5f\x62\141\156\x6b\x5f\163\157\141\154\x20\x62", "\142\56\x69\144\137\x62\x61\156\x6b\x3d\141\x2e\151\144\x5f\142\x61\156\153"); goto D0768; PT1uE: $this->db->where("\141\56\151\144\137\163\155\164", $id_smt); goto sfeby; D0768: $this->db->where("\141\x2e\151\x64\137\164\160", $id_tp); goto PT1uE; Jjs0D: $this->db->from("\x63\142\x74\137\152\141\x64\167\141\154\x20\141"); goto WQgjF; vOwPZ: $this->db->select("\141\56\x69\x64\x5f\x6a\x61\x64\167\141\x6c\54\x20\x62\x2e\142\x61\x6e\x6b\x5f\x6b\145\x6c\x61\x73"); goto Jjs0D; bnk3T: } public function getInfoJadwal($id_bank) { goto cRcEL; evqRU: $this->db->where("\141\56\x69\x64\x5f\142\141\156\x6b", $id_bank); goto T87_I; RmcVR: $this->db->join("\143\142\164\x5f\x6a\x61\x64\x77\x61\x6c\x20\x62", "\x61\x2e\151\x64\137\x62\141\x6e\x6b\x3d\142\x2e\151\144\x5f\x62\x61\x6e\153"); goto evqRU; glgdp: $this->db->from("\143\x62\x74\137\x62\141\x6e\x6b\x5f\x73\157\141\154\x20\x61"); goto RmcVR; T87_I: return $this->db->get()->row(); goto D_kF3; cRcEL: $this->db->select("\141\x2e\x69\x64\137\x62\141\x6e\x6b\54\40\x62\x2e\x61\143\x61\153\137\x73\157\x61\x6c\54\x20\142\x2e\141\143\x61\153\x5f\x6f\x70\x73\151\54\40\x61\56\157\x70\163\x69\54" . "\40\141\56\164\x61\155\x70\151\154\137\x70\147\x2c\40\141\x2e\164\141\x6d\x70\x69\x6c\x5f\153\157\x6d\160\x6c\x65\x6b\x73\x2c\40\x61\x2e\164\141\155\160\x69\x6c\137\x6a\x6f\144\157\x68\x6b\x61\156\x2c\40\141\x2e\x74\x61\155\160\151\x6c\x5f\151\163\x69\141\x6e\x2c\x20\141\x2e\164\x61\155\x70\x69\154\137\145\163\x61\151\x2c" . "\x20\x61\x2e\x62\x6f\142\157\164\137\160\147\x2c\x20\40\141\x2e\x62\157\142\x6f\x74\x5f\x6b\x6f\155\160\154\x65\x6b\163\54\40\40\141\56\x62\x6f\142\x6f\x74\x5f\152\157\x64\157\150\x6b\x61\x6e\x2c\x20\40\x61\x2e\x62\157\x62\x6f\164\137\x69\x73\x69\x61\x6e\54\x20\x20\x61\x2e\x62\x6f\x62\157\x74\x5f\145\x73\x61\151"); goto glgdp; D_kF3: } public function getAllIdSoal($id_bank) { goto kvG6M; jqJ7m: foreach ($result as $row) { $ret[$row->jenis][] = $row; aU_4V: } goto vipZQ; vipZQ: JD6tB: goto CdHQP; CdHQP: Q8QAh: goto D6Jo6; EgKTw: $this->db->where("\164\141\155\x70\x69\x6c\153\141\x6e", "\61"); goto WUM_a; kvG6M: $this->db->select("\x69\x64\x5f\x73\x6f\141\x6c\x2c\x20\x6a\145\156\151\x73\54\x20\152\x61\x77\x61\x62\141\156"); goto cNslZ; WUM_a: $this->db->where("\142\x61\156\153\x5f\x69\x64", $id_bank); goto E1zEL; uaVqv: if (!$result) { goto Q8QAh; } goto jqJ7m; E1zEL: $result = $this->db->get()->result(); goto AolUT; AolUT: $ret = []; goto uaVqv; D6Jo6: return $ret; goto oRy5R; cNslZ: $this->db->from("\143\142\x74\x5f\x73\157\141\154"); goto EgKTw; oRy5R: } public function getJadwalCbt($id_tp, $id_smt, $level) { goto mYYhw; lRMl6: return $retur; goto kg6su; tyfOh: $this->db->join("\143\x62\x74\137\x62\x61\156\x6b\137\163\157\x61\154\40\143", "\143\56\151\144\x5f\142\141\x6e\x6b\x3d\x61\56\151\144\137\x62\x61\x6e\153"); goto xK2PH; ayFBH: $this->db->where("\143\x2e\163\x74\141\x74\x75\x73", "\x31"); goto OmoLs; mYYhw: $this->db->select("\x61\56\x69\144\137\x6a\x61\144\167\141\x6c\x2c\x20\x61\x2e\151\x64\137\164\160\54\x20\141\x2e\151\x64\x5f\163\155\164\x2c\40\141\x2e\151\144\137\142\141\x6e\153\x2c\x20\141\56\151\144\137\152\x65\156\151\x73\x2c\x20\141\56\164\x67\154\137\155\165\154\141\x69\x2c\x20\x61\56\x74\x67\x6c\137\163\x65\154\x65\x73\x61\x69\54" . "\40\141\56\144\x75\x72\x61\x73\x69\137\x75\x6a\x69\141\x6e\x2c\40\141\56\x70\x65\x6e\x67\141\x77\x61\x73\x2c\40\x61\56\x61\143\141\x6b\x5f\163\157\x61\154\54\x20\141\x2e\x61\x63\141\153\x5f\x6f\x70\x73\x69\54\x20\x61\x2e\150\x61\x73\151\154\x5f\164\x61\155\160\151\x6c\x2c\x20\141\56\x74\x6f\x6b\x65\x6e\54\x20\x61\x2e\x73\x74\141\x74\x75\x73\x2c\40\141\56\x75\154\141\x6e\147\54" . "\x20\x61\56\162\x65\x73\x65\x74\x5f\x6c\x6f\147\x69\156\x2c\x20\x61\56\x72\x65\x6b\x61\160\54\40\x61\x2e\152\x61\x6d\x5f\x6b\145\x2c\40\x61\56\152\141\x72\x61\x6b\x2c" . "\40\143\x2e\142\x61\x6e\153\137\x6b\x6f\x64\x65\x2c\40\143\56\x62\x61\x6e\153\137\154\145\x76\145\x6c\54\x20\x63\x2e\x62\x61\x6e\x6b\137\x6b\145\154\x61\163\54\x20\x63\x2e\x74\141\155\160\151\154\x5f\x70\147\x2c\40\x63\x2e\164\x61\x6d\x70\x69\154\x5f\153\x6f\155\x70\154\145\x6b\x73\54\x20\143\56\x74\141\x6d\160\x69\154\x5f\152\157\144\x6f\x68\x6b\x61\x6e\x2c" . "\40\143\x2e\x74\141\155\x70\x69\x6c\x5f\151\163\151\141\156\x2c\40\x63\x2e\164\x61\x6d\x70\x69\x6c\137\145\x73\141\x69\x2c\x20\x63\56\163\x6f\141\154\x5f\141\147\x61\x6d\141\x2c\x20" . "\x20\143\x2e\142\157\142\x6f\x74\x5f\160\147\x2c\x20\143\x2e\142\x6f\142\157\x74\x5f\153\x6f\155\160\154\145\153\x73\54\40\x63\56\x62\157\x62\157\164\x5f\152\x6f\144\157\150\153\x61\156\x2c\40\x63\x2e\x62\x6f\x62\157\164\137\151\x73\151\x61\x6e\54\x20\143\56\x62\157\142\x6f\x74\137\145\163\x61\x69\54\40\x62\56\153\x6f\x64\145\x5f\x6a\145\x6e\x69\x73\x2c" . "\40\142\56\x6e\x61\155\141\x5f\152\x65\156\151\163\54\x20\144\x2e\153\x6f\x64\x65\x2c\40\144\x2e\156\x61\x6d\141\x5f\155\x61\x70\x65\x6c"); goto Na6aI; pu5rT: $retur = []; goto o40HU; Io5Jl: $this->db->order_by("\x61\56\152\x61\x6d\x5f\x6b\x65"); goto voElv; soBSZ: $this->db->where("\x61\56\x69\144\x5f\x73\155\x74", $id_smt); goto ayFBH; qJAd5: $this->db->where("\141\x2e\x69\144\137\x74\160", $id_tp); goto iZyiB; ad_zU: jUSr5: goto lRMl6; o40HU: foreach ($result as $row) { $retur[$row->id_jadwal] = $row; dmjNs: } goto ad_zU; Dyfxa: $this->db->join("\x63\x62\x74\137\152\145\156\151\x73\40\142", "\x62\56\x69\144\x5f\152\x65\x6e\151\163\75\x61\56\151\x64\x5f\x6a\x65\156\151\163"); goto tyfOh; xK2PH: $this->db->join("\x6d\x61\163\164\x65\x72\x5f\x6d\141\160\x65\x6c\40\144", "\x64\56\151\x64\x5f\155\x61\160\145\154\75\143\56\x62\141\x6e\153\137\155\x61\x70\145\x6c\x5f\x69\144"); goto qJAd5; voElv: $result = $this->db->get()->result(); goto pu5rT; J4Q1U: $this->db->where("\143\x2e\142\x61\156\x6b\137\154\x65\166\x65\x6c", $level); goto Io5Jl; OmoLs: $this->db->where("\x63\x2e\163\164\141\164\x75\163\137\163\x6f\x61\x6c", "\x31"); goto J4Q1U; Na6aI: $this->db->from("\x63\142\x74\x5f\152\x61\x64\167\x61\x6c\40\141"); goto Dyfxa; iZyiB: $this->db->where("\x61\56\x73\164\141\x74\165\163", "\x31"); goto soBSZ; kg6su: } public function getJadwalByKelas($id_tp, $id_smt, $kelas) { goto oHZvD; yPCrr: $result = $this->db->get()->result(); goto uPCXs; uPCXs: $retur = []; goto PVc8t; PNcB0: $this->db->where("\143\56\x73\164\141\164\165\163", "\x31"); goto u4ngt; jBJMs: $this->db->where("\141\56\x73\164\x61\164\165\x73", "\61"); goto z_XuL; uiRH5: qlgrO: goto xQBJP; wHacU: $this->db->order_by("\x61\56\x6a\141\155\x5f\153\x65"); goto yPCrr; LirRd: $this->db->like("\x63\x2e\x62\141\156\153\x5f\x6b\x65\154\141\163", $kelas); goto wHacU; dniJd: $this->db->where("\141\x2e\151\x64\x5f\164\x70", $id_tp); goto jBJMs; z_XuL: $this->db->where("\141\56\x69\x64\x5f\x73\155\164", $id_smt); goto PNcB0; u4ngt: $this->db->where("\x63\56\163\x74\141\x74\165\163\x5f\x73\x6f\x61\154", "\x31"); goto LirRd; XeW7u: $this->db->join("\143\142\164\x5f\x6a\145\156\151\163\40\x62", "\142\x2e\151\x64\137\x6a\145\x6e\151\x73\x3d\x61\56\151\x64\137\x6a\x65\x6e\151\163"); goto AokVS; DhcOb: $this->db->from("\x63\x62\x74\x5f\x6a\x61\144\167\141\154\40\x61"); goto XeW7u; xQBJP: return $retur; goto JqDDj; GJ0C6: $this->db->join("\x6d\141\x73\164\145\x72\137\x6d\x61\x70\145\x6c\x20\144", "\144\56\151\x64\137\155\x61\160\145\154\75\143\x2e\x62\x61\x6e\x6b\137\155\141\160\145\x6c\137\x69\144"); goto dniJd; oHZvD: $this->db->select("\x61\56\151\144\x5f\152\141\x64\x77\x61\x6c\x2c\40\x61\x2e\x69\x64\x5f\x74\160\x2c\x20\141\x2e\x69\144\137\x73\155\164\54\40\141\56\x69\144\137\x62\141\x6e\153\54\40\141\56\151\144\137\152\145\156\x69\x73\54\x20\x61\x2e\164\x67\x6c\x5f\x6d\165\154\141\151\54\x20\141\56\164\x67\154\x5f\x73\x65\x6c\x65\x73\141\x69\54" . "\40\x61\56\x64\x75\162\141\163\x69\x5f\165\152\151\141\x6e\x2c\x20\141\x2e\160\x65\x6e\147\141\167\141\163\54\x20\x61\56\x61\x63\141\x6b\x5f\x73\x6f\x61\x6c\54\40\141\56\x61\x63\x61\x6b\x5f\x6f\160\163\x69\54\x20\141\56\x68\x61\163\x69\154\x5f\164\141\155\x70\x69\x6c\x2c\40\141\x2e\x74\x6f\153\145\x6e\54\x20\141\56\163\164\141\x74\165\163\54\40\x61\56\165\154\141\156\147\x2c" . "\40\141\x2e\162\x65\163\x65\164\137\154\157\x67\x69\156\x2c\40\x61\x2e\x72\145\153\x61\x70\x2c\x20\141\56\152\x61\x6d\137\x6b\145\x2c\x20\141\56\x6a\x61\x72\141\x6b\x2c" . "\40\143\x2e\142\x61\x6e\x6b\137\x6b\x6f\x64\145\54\40\143\56\x62\141\156\153\137\x6c\x65\x76\145\x6c\54\40\x63\56\142\141\x6e\153\137\x6b\x65\x6c\141\163\54\x20\x63\x2e\164\141\155\160\x69\x6c\137\160\147\x2c\40\x63\56\x74\x61\x6d\160\151\154\137\x6b\x6f\x6d\x70\x6c\x65\153\163\x2c\40\143\56\164\x61\x6d\x70\151\154\137\x6a\157\144\157\150\153\141\156\x2c" . "\x20\x63\56\164\x61\155\x70\151\x6c\137\151\163\151\x61\x6e\54\40\x63\x2e\164\x61\x6d\x70\x69\154\137\x65\163\141\x69\54\40\143\x2e\x73\x6f\x61\x6c\x5f\x61\x67\x61\x6d\x61\x2c\40" . "\x20\x63\x2e\x62\x6f\142\157\x74\x5f\x70\x67\54\40\x63\x2e\x62\157\x62\x6f\164\137\x6b\157\x6d\x70\x6c\145\x6b\x73\x2c\x20\x63\x2e\142\x6f\x62\157\164\x5f\x6a\x6f\144\x6f\150\153\x61\156\x2c\40\x63\x2e\142\157\x62\157\x74\137\151\x73\x69\x61\156\x2c\40\x63\56\x62\157\142\157\164\137\145\163\141\x69\x2c\x20\142\x2e\x6b\x6f\x64\145\x5f\x6a\x65\156\151\x73\54" . "\40\x62\x2e\x6e\x61\x6d\141\137\x6a\x65\x6e\x69\x73\54\40\x64\x2e\153\x6f\144\145\54\40\144\56\x6e\141\x6d\x61\137\x6d\x61\x70\145\x6c"); goto DhcOb; PVc8t: foreach ($result as $row) { $retur[$row->id_jadwal] = $row; SVuWX: } goto uiRH5; AokVS: $this->db->join("\143\142\x74\137\142\x61\156\153\x5f\163\157\141\x6c\40\x63", "\143\x2e\x69\144\x5f\142\141\156\153\x3d\x61\x2e\151\x64\137\x62\x61\x6e\x6b"); goto GJ0C6; JqDDj: } public function getCbt($id_jadwal) { goto MC6iH; MC6iH: $this->db->select("\x61\56\151\x64\x5f\x6a\141\x64\x77\x61\154\x2c\x20\x61\x2e\x69\x64\x5f\x74\160\54\40\x61\56\151\x64\137\163\155\x74\x2c\x20\x61\x2e\151\x64\137\142\141\156\x6b\x2c\40\x61\x2e\151\144\x5f\152\145\x6e\151\163\54\40\x61\x2e\x74\x67\x6c\x5f\x6d\x75\x6c\x61\151\x2c\x20\x61\56\164\x67\154\x5f\163\145\154\145\x73\141\x69\x2c" . "\x20\x61\56\x64\x75\162\141\163\x69\x5f\x75\x6a\x69\x61\x6e\54\x20\x61\x2e\x70\x65\x6e\x67\141\x77\x61\163\54\40\x61\x2e\141\x63\141\153\x5f\x73\157\141\154\54\40\x61\x2e\x61\143\141\x6b\137\157\x70\163\151\x2c\x20\141\56\150\141\x73\151\154\x5f\164\141\x6d\x70\151\154\x2c\x20\141\56\x74\157\153\x65\x6e\x2c\40\141\56\x73\x74\141\164\165\x73\x2c\x20\x61\56\165\154\141\x6e\147\54" . "\40\141\x2e\162\x65\x73\x65\164\137\154\x6f\147\x69\156\54\x20\x61\56\x72\145\x6b\141\x70\54\40\x61\56\x6a\141\x6d\137\153\145\x2c\40\141\x2e\x6a\141\162\141\153\x2c" . "\x20\x62\56\x6e\x61\155\x61\137\x6a\145\x6e\151\x73\54\40\x62\56\x6b\x6f\x64\145\x5f\152\x65\156\x69\x73\x2c" . "\40\x63\56\142\x61\x6e\x6b\137\153\157\x64\x65\x2c\40\x63\56\142\x61\156\153\x5f\154\x65\x76\145\154\54\x20\143\56\142\x61\156\153\137\x6b\145\x6c\141\163\x2c\x20\x63\x2e\142\141\x6e\153\x5f\x6d\141\x70\145\x6c\137\151\x64\54\x20\x63\56\142\141\x6e\x6b\137\152\x75\162\x75\x73\141\156\137\151\x64\54" . "\40\143\56\142\x61\x6e\x6b\137\x67\x75\162\165\137\x69\x64\x2c\40\x63\56\x62\x61\156\153\137\156\x61\155\141\54\x20\x63\x2e\152\x6d\x6c\x5f\163\157\141\x6c\54\x20\x63\x2e\x6a\x6d\154\x5f\145\163\141\x69\x2c\x20\143\56\x74\141\x6d\x70\x69\154\137\160\147\54\x20\143\56\x74\141\155\x70\x69\x6c\x5f\145\163\141\x69\x2c\40\143\56\x62\x6f\x62\x6f\164\x5f\x70\x67\54" . "\40\143\56\142\157\142\x6f\164\x5f\145\x73\x61\151\54\x20\x63\56\x6f\x70\163\151\x2c\40\143\x2e\144\141\164\145\54\40\143\56\163\x74\141\164\x75\163\x2c\x20\x63\x2e\163\157\x61\154\137\141\147\141\155\141\54\40\x63\x2e\151\144\137\x74\160\54\x20\143\x2e\x69\x64\x5f\163\155\x74\x2c\x20\143\56\144\x65\x73\x6b\162\151\x70\x73\151\x2c\x20\x63\x2e\x6a\155\154\137\153\157\155\x70\154\x65\x6b\x73\x2c" . "\x20\143\56\x74\x61\155\160\x69\154\x5f\x6b\x6f\155\x70\154\145\x6b\x73\54\40\143\x2e\x62\157\142\x6f\x74\x5f\x6b\157\x6d\160\154\145\x6b\x73\x2c\40\x63\56\x6a\155\154\x5f\152\x6f\x64\157\x68\x6b\141\x6e\x2c\40\143\56\x74\x61\x6d\x70\x69\154\x5f\x6a\x6f\x64\157\150\x6b\141\156\54\40\x63\56\142\x6f\x62\x6f\164\x5f\152\x6f\x64\157\x68\153\141\x6e\x2c\40\143\56\x6a\x6d\154\x5f\151\163\151\x61\x6e\54" . "\x20\x63\x2e\164\x61\x6d\160\x69\x6c\137\x69\163\151\x61\156\54\x20\143\56\142\x6f\142\157\x74\137\151\x73\x69\141\156\x2c\40\143\56\x73\164\141\164\165\163\137\163\157\x61\154\x2c" . "\x20\x64\56\x69\144\137\x6d\141\x70\x65\154\x2c\40\x64\x2e\x6e\141\155\141\x5f\x6d\141\x70\x65\154\x2c\x20\144\56\153\x6f\144\145\54" . "\x20\145\x2e\151\x64\137\147\165\x72\165\54\40\x65\56\x6e\x61\x6d\141\x5f\147\x75\x72\x75\54" . "\x20\146\56\151\x64\137\x6a\165\x72\x75\163\x61\156\x2c\40\x66\56\156\141\155\141\137\x6a\165\x72\165\163\141\156\54\x20\x66\56\x6b\157\144\145\137\x6a\165\x72\x75\x73\x61\156\x2c" . "\x20\x67\56\164\141\150\x75\156\54" . "\x20\150\56\163\x6d\164\54\40\150\x2e\x6e\x61\155\141\x5f\163\x6d\164\x2c" . "\40\50\123\105\114\x45\x43\x54\40\103\x4f\125\x4e\124\x28\151\x64\x5f\163\x6f\x61\x6c\51\x20\106\x52\117\x4d\x20\x63\x62\164\x5f\x73\157\141\154\x20\x57\110\105\122\x45\x20\x63\142\x74\x5f\x73\x6f\x61\154\56\x62\141\x6e\x6b\x5f\151\x64\40\x3d\40\141\x2e\151\144\x5f\x62\141\x6e\x6b\51\x20\x41\123\x20\164\157\x74\x61\x6c\x5f\163\157\x61\154"); goto s8kYJ; JGb1L: $this->db->join("\x6d\141\163\164\145\162\x5f\163\x6d\x74\40\x68", "\150\x2e\x69\144\x5f\x73\155\164\x3d\x61\x2e\151\x64\x5f\x73\x6d\x74", "\x6c\145\x66\164"); goto cDFUz; GooY_: $this->db->join("\155\x61\163\x74\x65\x72\x5f\164\160\40\x67", "\147\56\x69\x64\137\x74\x70\x3d\141\x2e\x69\144\x5f\x74\160", "\154\x65\146\164"); goto JGb1L; kojTi: $this->db->join("\x6d\x61\x73\x74\145\x72\137\152\x75\x72\165\163\x61\x6e\40\146", "\146\x2e\151\x64\137\x6a\x75\162\165\x73\141\156\x3d\143\x2e\x62\x61\156\153\137\x6a\165\x72\165\x73\x61\x6e\137\151\x64", "\x6c\145\x66\x74"); goto GooY_; s8kYJ: $this->db->from("\143\142\x74\x5f\x6a\141\144\167\141\x6c\x20\x61"); goto uM8gp; kOlNb: $this->db->join("\155\x61\x73\164\145\162\x5f\x67\x75\x72\165\x20\145", "\145\x2e\x69\x64\137\147\165\x72\165\x3d\143\56\142\141\156\153\137\x67\x75\x72\165\137\151\x64", "\x6c\145\x66\x74"); goto kojTi; uM8gp: $this->db->join("\143\142\164\137\x6a\145\x6e\x69\163\x20\142", "\x62\56\x69\x64\137\152\145\156\151\163\75\x61\56\151\x64\137\x6a\x65\156\x69\x73", "\154\145\x66\x74"); goto Xi1uf; cDFUz: $this->db->where("\x61\x2e\x69\x64\137\152\141\144\x77\x61\x6c", $id_jadwal); goto Muo7e; RU0hW: $this->db->join("\155\x61\x73\164\145\162\x5f\155\141\160\145\x6c\40\144", "\144\x2e\151\x64\x5f\155\x61\x70\145\154\75\x63\x2e\x62\x61\156\x6b\137\155\141\160\x65\154\137\x69\144", "\x6c\x65\x66\x74"); goto kOlNb; Muo7e: return $this->db->get()->row(); goto yADHC; Xi1uf: $this->db->join("\143\142\164\x5f\x62\x61\x6e\153\137\163\x6f\x61\154\40\143", "\x63\56\151\x64\137\x62\141\x6e\x6b\x3d\141\56\151\x64\x5f\142\141\156\153", "\x6c\145\x66\164"); goto RU0hW; yADHC: } public function getCbtById($id_jadwal) { goto iJGWc; DQa9u: return $this->db->get()->row(); goto yMDQx; iJGWc: $this->db->select("\x2a"); goto ASNRI; ASNRI: $this->db->from("\x63\142\164\x5f\152\141\x64\167\141\154"); goto um1a4; um1a4: $this->db->where("\151\x64\137\152\x61\x64\x77\x61\x6c", $id_jadwal); goto DQa9u; yMDQx: } public function getIdRuangById($array) { goto eJSEI; wsGFw: $this->db->from("\x63\142\x74\137\162\165\141\x6e\x67"); goto OKsVR; oO1iz: Yeg9M: goto zBKsK; DZDTa: if (!$result) { goto Yeg9M; } goto uhpaX; uhpaX: foreach ($result as $key => $row) { $ret[$row->id_ruang] = $row->kode_ruang; Kas74: } goto YZwJU; OKsVR: $this->db->where("\x69\x64\x5f\162\x75\x61\156\x67", $array); goto PPtyD; zBKsK: return $ret; goto BORrp; eJSEI: $this->db->select("\x6e\x61\155\x61\x5f\162\x75\x61\x6e\x67"); goto wsGFw; YZwJU: GfiGe: goto oO1iz; PPtyD: $result = $this->db->get()->result(); goto DZDTa; BORrp: } public function getNamaRuangById($id) { goto YW6U3; tsEw5: $result = $this->db->get()->row(); goto RizRq; WFbKi: DWPt9: goto scHn2; HBdhF: $this->db->where("\151\144\x5f\x72\165\141\x6e\147", $id); goto tsEw5; Ug1ER: return ''; goto C4QaA; BYk__: $this->db->from("\143\x62\x74\137\x72\x75\141\x6e\x67"); goto HBdhF; scHn2: return $result->nama_ruang; goto Gwuwy; YW6U3: $this->db->select("\x6e\141\155\x61\137\162\x75\141\x6e\x67"); goto BYk__; C4QaA: goto DrxpA; goto WFbKi; Gwuwy: DrxpA: goto v0y4o; RizRq: if ($result) { goto DWPt9; } goto Ug1ER; v0y4o: } public function getNamaSesiById($id) { goto MP_0M; BtNZr: $this->db->where(["\x69\144\x5f\163\x65\163\x69" => $id]); goto a5Kln; Q811e: $this->db->from("\x63\x62\x74\x5f\163\x65\163\x69"); goto BtNZr; a5Kln: return $this->db->get()->row()->nama_sesi; goto u0oC7; MP_0M: $this->db->select("\156\141\155\x61\137\x73\145\163\x69"); goto Q811e; u0oC7: } public function getNamaKelasById($id) { goto WTjs7; gephQ: $this->db->where(["\x69\144\137\x6b\x65\154\x61\x73" => $id]); goto Sn5Am; Sn5Am: return $this->db->get()->row()->nama_kelas; goto k24sz; IcCcG: $this->db->from("\155\x61\163\x74\145\x72\137\x6b\x65\x6c\x61\163"); goto gephQ; WTjs7: $this->db->select("\156\x61\155\141\x5f\x6b\145\154\x61\x73"); goto IcCcG; k24sz: } public function getNamaGuruById($id) { goto Uaz5i; ZqLOc: $this->db->from("\155\x61\163\x74\145\x72\x5f\x67\165\x72\x75"); goto L6Dqc; L6Dqc: $this->db->where("\151\x64\137\147\165\162\x75", $id); goto LINXl; LINXl: return $this->db->get()->row()->nama_guru; goto JlXHr; Uaz5i: $this->db->select("\156\x61\x6d\141\x5f\x67\165\162\x75"); goto ZqLOc; JlXHr: } public function getElapsed($id) { goto Jv53x; TRP2N: $this->db->from("\143\142\x74\137\x64\x75\162\x61\x73\x69\137\x73\x69\x73\167\x61"); goto MOv81; MOv81: $this->db->where("\x69\144\x5f\x64\165\162\141\x73\x69", $id); goto sCNvB; sCNvB: return $this->db->get()->row(); goto DBFE9; Jv53x: $this->db->select("\151\x64\x5f\x64\x75\x72\141\x73\x69\x2c\40\151\x64\x5f\x73\151\x73\x77\x61\x2c\x20\x69\x64\x5f\152\x61\x64\167\141\x6c\x2c\40\x73\164\141\164\165\x73\54\40\x6c\141\x6d\x61\x5f\x75\x6a\x69\141\156\54\40\x6d\165\x6c\141\x69\x2c\40\163\x65\154\145\x73\x61\x69\x2c\x20\162\x65\x73\x65\164"); goto TRP2N; DBFE9: } public function getSoalSiswa($id_bank, $id_siswa) { goto pEevS; xnguH: $this->db->order_by("\x61\56\x6e\157\137\x73\157\141\x6c\137\141\x6c\151\141\x73"); goto atVVm; pEevS: $this->db->select("\x61\x2e\52\x2c\x20\x62\x2e\152\x65\156\x69\x73\x2c\40\x62\x2e\156\157\155\x6f\x72\x5f\163\x6f\x61\154\x2c\40\x62\x2e\x6a\x61\x77\x61\142\x61\x6e"); goto R7y2V; atVVm: return $this->db->get()->result(); goto RhxR1; nF3ST: $this->db->join("\x63\x62\x74\x5f\163\157\x61\x6c\40\142", "\x62\56\151\x64\137\163\157\x61\154\75\x61\56\151\x64\x5f\x73\x6f\x61\x6c", "\154\x65\x66\164"); goto FYHjv; eWLDE: $this->db->where("\x61\56\x69\x64\137\x73\x69\x73\167\x61", $id_siswa); goto o5xjI; R7y2V: $this->db->from("\143\142\x74\137\x73\x6f\141\154\137\163\151\x73\x77\141\40\x61"); goto nF3ST; o5xjI: $this->db->order_by("\141\56\x6a\x65\156\151\x73\x5f\163\x6f\141\x6c"); goto xnguH; FYHjv: $this->db->where("\x61\56\151\x64\137\x62\141\x6e\153", $id_bank); goto eWLDE; RhxR1: } public function getJumlahSoalSiswa($id_bank, $id_siswa) { goto UIsLS; kdgHS: $this->db->from("\x63\142\x74\x5f\x73\x6f\141\x6c\137\x73\151\163\167\141"); goto H3lWi; ajmXA: $result = $this->db->get()->num_rows(); goto gzoBO; UIsLS: $this->db->select("\x69\144\x5f\x73\x6f\x61\154\137\x73\151\x73\167\x61"); goto kdgHS; H3lWi: $this->db->where("\x69\144\137\x62\141\156\153", $id_bank); goto P6B22; P6B22: $this->db->where("\x69\x64\137\x73\151\x73\167\141", $id_siswa); goto ajmXA; gzoBO: return $result; goto P4knd; P4knd: } public function getALLSoalSiswa($id_bank, $id_siswa) { goto IimyP; tFsJN: $this->db->from("\x63\x62\164\137\163\157\x61\x6c\137\x73\x69\x73\x77\141\x20\141"); goto PjWnz; PjWnz: $this->db->join("\x63\x62\164\x5f\163\x6f\141\x6c\x20\x62", "\142\x2e\151\x64\137\x73\x6f\x61\x6c\x3d\141\x2e\151\144\x5f\x73\157\141\154"); goto wCDrh; IimyP: $this->db->select("\141\56\x69\144\137\163\x6f\141\x6c\137\163\x69\163\x77\x61\x2c\x20\x61\56\151\x64\137\x62\x61\156\x6b\54\40\141\x2e\151\x64\137\x6a\141\x64\167\x61\x6c\54\x20\x61\x2e\x69\x64\137\163\x6f\x61\x6c\54\40\141\x2e\x69\x64\137\x73\151\163\167\x61\54\40\x61\x2e\152\145\x6e\x69\x73\137\x73\x6f\x61\x6c\54" . "\x20\x61\x2e\x6e\x6f\137\163\157\x61\154\x5f\141\x6c\151\141\x73\54\40\x61\56\157\x70\x73\x69\x5f\141\154\151\x61\x73\x5f\141\x2c\x20\141\x2e\157\160\163\x69\x5f\141\x6c\151\x61\163\137\x62\54\x20\141\56\157\x70\163\x69\x5f\x61\154\151\141\163\x5f\x63\x2c\x20\141\x2e\157\x70\163\x69\x5f\141\x6c\x69\x61\x73\137\144\x2c\40\141\56\157\x70\x73\x69\x5f\141\x6c\x69\141\x73\x5f\x65\x2c" . "\40\x61\x2e\x6a\x61\167\141\x62\141\x6e\137\141\x6c\151\141\x73\x2c\40\141\x2e\152\141\x77\141\142\x61\x6e\137\163\151\163\x77\141\x2c\40\141\x2e\x6a\141\167\141\142\141\x6e\137\x62\145\x6e\x61\162\x2c\x20\141\x2e\x70\157\151\x6e\164\x5f\x65\163\x73\x61\x69\x2c\40\141\x2e\163\x6f\x61\x6c\137\x65\156\144\54\40\x61\56\x70\x6f\151\156\164\137\163\x6f\x61\154\x2c" . "\x20\x62\x2e\151\144\137\163\157\141\154\54\40\x62\56\156\157\155\x6f\162\x5f\x73\x6f\141\x6c\54\40\142\x2e\x73\x6f\x61\x6c\x2c\40\x62\x2e\152\141\x77\141\x62\141\x6e\54\x20\x62\x2e\157\160\x73\x69\137\x61\54\40\142\56\x6f\160\163\x69\x5f\x62\x2c\x20\142\x2e\157\160\x73\x69\x5f\143\x2c\40\x62\56\x6f\160\163\151\137\x64\54" . "\40\142\56\157\160\x73\x69\137\x65\54\x20\x62\x2e\164\141\155\x70\x69\154\153\x61\x6e"); goto tFsJN; k8gVH: $result = $this->db->get()->result(); goto RCflc; TueMU: $this->db->order_by("\141\56\x6e\x6f\x5f\163\157\x61\154\x5f\x61\154\151\141\163"); goto k8gVH; RCflc: return $result; goto xmuS0; vaAMr: $this->db->where("\141\56\x69\x64\x5f\x73\x69\163\167\141", $id_siswa); goto TueMU; wCDrh: $this->db->where("\141\x2e\x69\144\137\142\x61\x6e\153", $id_bank); goto vaAMr; xmuS0: } public function getJumlahJawaban($id_bank, $id_siswa) { goto pgC0G; s7MKG: $this->db->where("\151\144\137\142\141\156\x6b", $id_bank); goto oIu0w; pgC0G: $this->db->select("\152\141\167\x61\142\x61\156\x5f\x73\151\163\x77\x61\x2c\x20\151\x64\137\x73\151\163\x77\141\54\x20\x69\144\x5f\142\x61\x6e\x6b"); goto HTkWp; HTkWp: $this->db->from("\143\142\164\137\163\157\141\154\x5f\x73\151\x73\x77\141"); goto s7MKG; oIu0w: $this->db->where("\x69\x64\137\x73\151\x73\167\x61", $id_siswa); goto j4UgR; MmVT3: return $result; goto DKc8t; j4UgR: $result = $this->db->get()->result(); goto MmVT3; DKc8t: } public function getSoalSiswaByJadwal($id_jadwal, $id_siswa) { goto MN99V; nEpO6: $this->db->where("\142\x2e\164\x61\155\160\x69\x6c\153\141\156", "\x31"); goto iicXm; DcDGw: $this->db->from("\143\x62\x74\x5f\x73\x6f\141\154\x5f\163\151\x73\x77\x61\x20\x61"); goto EdvI7; iicXm: $this->db->order_by("\x61\x2e\152\x65\x6e\x69\x73\x5f\163\157\x61\154"); goto pSoYk; pSoYk: $this->db->order_by("\x62\x2e\x6e\x6f\155\x6f\x72\137\x73\157\x61\154"); goto fhTTy; Aqlb5: $this->db->where("\141\56\151\144\137\x6a\x61\144\x77\x61\154", $id_jadwal); goto bcSpR; bcSpR: $this->db->where("\x61\56\x69\144\137\x73\x69\163\167\141", $id_siswa); goto nEpO6; fhTTy: return $this->db->get()->result(); goto pmsHE; EdvI7: $this->db->join("\x63\142\x74\137\163\x6f\141\x6c\40\x62", "\142\x2e\151\144\137\x73\x6f\x61\x6c\75\141\56\x69\x64\x5f\x73\x6f\x61\154"); goto Aqlb5; MN99V: $this->db->select("\141\x2e\x2a\54\40\x62\56\152\x65\156\x69\x73\54\x20\142\56\x6e\157\155\x6f\162\x5f\x73\x6f\141\x6c\54\x20\142\x2e\163\157\x61\154\x2c\x20\142\x2e\x6a\x61\x77\141\142\141\156\54\40\x62\x2e\157\x70\x73\x69\137\x61\x2c\x20\x62\x2e\x6f\x70\x73\x69\x5f\142\54\x20\x62\56\x6f\x70\163\x69\x5f\143\54\x20\142\x2e\157\160\163\151\x5f\x64\x2c\40\142\56\x6f\160\x73\x69\137\x65"); goto DcDGw; pmsHE: } public function getSoalSiswaByNomor($id_soal_siswa) { goto dAzfp; sVzVz: return $this->db->get()->row(); goto BHP9U; XGJiE: $this->db->join("\x63\142\164\137\142\141\x6e\x6b\x5f\163\157\141\154\40\x63", "\x62\x2e\x69\144\137\x62\141\x6e\153\x3d\x61\56\x69\144\137\x62\141\x6e\x6b"); goto uIcam; PBB3b: $this->db->from("\143\x62\164\x5f\x73\157\141\x6c\137\163\x69\x73\x77\x61\x20\x61"); goto oHSi5; vpC7c: $this->db->order_by("\x61\x2e\x6e\157\x5f\x73\157\141\x6c\x5f\141\x6c\151\141\163"); goto sVzVz; uIcam: $this->db->where("\141\56\x69\x64\137\x73\157\x61\154\137\x73\151\x73\167\x61", $id_soal_siswa); goto vpC7c; oHSi5: $this->db->join("\x63\142\164\137\163\157\x61\x6c\40\142", "\142\56\x69\x64\137\163\157\141\154\75\141\56\x69\144\x5f\163\x6f\x61\x6c"); goto XGJiE; dAzfp: $this->db->select("\141\x2e\x69\x64\137\x73\157\141\154\x5f\x73\151\163\x77\x61\54\40\141\x2e\151\144\137\142\141\156\153\54\40\141\56\157\160\163\151\137\x61\x6c\x69\x61\x73\137\x61\x2c\x20\x61\56\157\160\x73\x69\137\141\154\151\141\163\137\x62\x2c\40\x61\x2e\x6f\x70\163\151\137\x61\154\x69\141\x73\137\143\54\40\x61\56\157\x70\163\151\x5f\141\x6c\151\141\x73\137\x64\x2c" . "\40\141\56\x6f\160\x73\x69\137\x61\154\151\x61\163\137\145\54\x20\x61\56\156\157\x5f\x73\157\141\x6c\137\x61\154\151\141\x73\54\x20\141\56\x6a\x61\167\x61\x62\x61\156\x5f\141\154\151\141\163\x2c\x20\x61\x2e\x73\157\x61\x6c\137\x65\156\144\x2c\40\x61\x2e\x6a\x61\167\141\x62\x61\x6e\137\x73\x69\163\167\141\x2c" . "\x20\142\x2e\151\x64\137\x73\157\x61\154\x2c\40\x62\x2e\152\x65\x6e\x69\x73\54\x20\x62\56\156\157\x6d\157\162\137\x73\x6f\x61\154\54\x20\142\56\163\157\x61\154\54\40\x62\x2e\x6a\141\x77\x61\142\141\156\x2c\x20\142\56\157\x70\x73\151\x5f\141\54\x20\x62\x2e\x6f\160\x73\151\x5f\x62\x2c\40\142\56\x6f\160\163\151\137\143\54\40\x62\56\157\160\x73\151\137\x64\x2c\40\142\x2e\157\x70\x73\x69\137\145\54\x20\142\x2e\164\141\155\160\151\x6c\153\x61\156\x2c" . "\40\143\56\x74\141\x6d\160\x69\154\137\160\147\x2c\x20\143\x2e\x74\141\155\x70\151\x6c\x5f\x6b\x6f\155\x70\154\x65\153\x73\54\x20\x63\x2e\x74\x61\x6d\160\151\154\x5f\152\157\x64\157\150\153\x61\156\54\x20\x63\x2e\x74\x61\155\160\151\154\x5f\151\163\151\x61\156\54\x20\x63\x2e\164\x61\155\x70\151\154\x5f\x65\x73\141\151\54"); goto PBB3b; BHP9U: } public function getSettingKartu() { goto zAxzF; rQnkT: return $this->db->get()->row(); goto Pv4XK; ovqXX: $this->db->from("\x63\142\x74\137\153\157\160\137\x6b\x61\162\164\165"); goto rQnkT; zAxzF: $this->db->select("\x2a"); goto ovqXX; Pv4XK: } public function getSettingKopAbsensi() { goto lGe5Q; lGe5Q: $this->db->select("\141\56\x2a\54\40\x62\x2e\x6c\x6f\x67\x6f\x5f\153\x61\x6e\x61\x6e\x2c\40\142\56\154\157\147\x6f\137\153\151\x72\x69\54\40\142\56\153\145\x70\x73\145\x6b\x2c\x20\x62\56\x74\x61\156\x64\x61\137\x74\141\156\x67\141\x6e"); goto ZDGWf; EYrA1: return $this->db->get()->row(); goto rxC8S; ZDGWf: $this->db->from("\143\142\x74\x5f\153\157\x70\137\141\142\163\x65\x6e\163\x69\x20\x61"); goto PDH5H; PDH5H: $this->db->join("\163\x65\x74\x74\151\x6e\x67\40\142", "\x62\56\151\144\x5f\163\145\x74\164\151\x6e\x67\75\61", "\x6c\145\x66\x74"); goto EYrA1; rxC8S: } public function getSettingKopBeritaAcara() { goto t151V; Fs7vr: return $this->db->get()->row(); goto mRzKU; L8yS6: $this->db->from("\x63\142\164\x5f\x6b\157\x70\137\x62\x65\x72\151\x74\141\40\x61"); goto XHmSE; XHmSE: $this->db->join("\163\145\164\x74\151\x6e\x67\40\x64", "\144\56\x69\x64\x5f\x73\x65\164\x74\x69\x6e\147\x3d\x31", "\154\x65\x66\164"); goto Fs7vr; t151V: $this->db->select("\x61\x2e\x2a\x2c\40\x64\56\x6c\x6f\x67\x6f\137\153\141\x6e\x61\x6e\x2c\40\144\x2e\x6c\x6f\147\157\x5f\x6b\151\x72\151\x2c\x20\x64\56\153\145\160\x73\x65\153\54\x20\144\56\x6e\151\x70\54\x20\144\x2e\164\141\156\x64\141\x5f\164\x61\x6e\x67\x61\156\54\x20\x64\56\x73\145\153\157\x6c\x61\150"); goto L8yS6; mRzKU: } public function getDurasiSiswa($id) { return $this->db->get_where("\x63\142\x74\x5f\144\x75\x72\141\x73\151\x5f\x73\x69\x73\167\141", "\x69\x64\137\144\165\x72\x61\163\x69\75" . $id)->row(); } public function getFilterJawabanSiswa($jadwal, $arrIdSiswa) { goto PLUw9; PLUw9: $this->db->where("\151\x64\x5f\x6a\x61\144\167\141\154", $jadwal); goto HJtVZ; HJtVZ: $this->db->where_in("\151\144\x5f\163\x69\x73\x77\x61", $arrIdSiswa); goto X_mVH; X_mVH: return $this->db->get("\143\142\164\137\163\x6f\x61\x6c\x5f\x73\x69\x73\x77\x61")->result(); goto ZZYP5; ZZYP5: } public function getFilterDurasiSiswa($jadwal, $arrIdSiswa) { goto y5771; oEBLF: return $ret; goto pdybJ; P5bWy: DagQG: goto oEBLF; y5771: $this->db->where("\151\x64\x5f\152\x61\x64\x77\x61\154", $jadwal); goto dZJro; dZJro: $result = $this->db->get_where("\x63\142\x74\x5f\144\165\x72\x61\163\x69\137\163\x69\x73\x77\141")->result(); goto a9rZ0; LgVBm: foreach ($result as $key => $row) { $ret[$row->id_durasi] = $row; gp8W1: } goto P5bWy; a9rZ0: $ret = []; goto LgVBm; pdybJ: } public function getJawabanByBank($id_bank, $id_siswa = null) { goto o5D4A; JkNKd: $this->db->where("\141\x2e\151\144\x5f\x73\x69\163\x77\141\x3d", $id_siswa); goto lO7es; ooWU0: $this->db->where("\x61\x2e\151\x64\137\x62\141\x6e\x6b\x3d", $id_bank); goto CXefa; CXefa: $result = $this->db->get()->result(); goto bPBbD; o5D4A: $this->db->select("\141\x2e\52\x2c\x20\142\x2e\156\x6f\x6d\157\x72\x5f\x73\x6f\x61\154\x2c\x20\142\x2e\x6a\x61\x77\141\142\141\156"); goto PF20X; lO7es: AWt6W: goto ooWU0; YSjKH: if (!($id_siswa != null)) { goto AWt6W; } goto JkNKd; PF20X: $this->db->from("\x63\142\x74\137\163\x6f\141\x6c\137\x73\x69\163\167\x61\x20\141"); goto Pd7Wp; bPBbD: return $result; goto s4YWp; Pd7Wp: $this->db->join("\x63\142\164\137\163\157\141\x6c\40\x62", "\x62\x2e\151\144\x5f\x73\x6f\x61\154\x3d\x61\x2e\151\144\137\163\x6f\x61\154"); goto YSjKH; s4YWp: } public function getJawabanSiswa($id) { goto YnpNW; YnpNW: $this->db->select("\x69\x64\137\163\157\141\x6c\137\x73\x69\x73\167\x61\54\x20\151\x64\137\142\141\156\x6b\54\x20\x69\x64\137\x6a\x61\x64\x77\141\154\x2c\40\x69\x64\137\x73\157\141\154\54\x20\151\x64\137\x73\x69\163\x77\141\x2c\x20\152\145\x6e\x69\163\x5f\163\157\x61\x6c\54\40\156\157\137\x73\x6f\141\154\137\x61\x6c\x69\x61\x73\x2c\40\157\x70\x73\151\137\141\154\151\141\x73\x5f\141\x2c\40\x6f\160\163\151\x5f\141\154\151\x61\163\x5f\142\54\40\157\160\163\151\x5f\x61\x6c\x69\x61\163\137\143\54\40\x6f\160\163\151\137\141\154\151\x61\x73\137\x64\x2c\40\x6f\x70\x73\x69\x5f\x61\x6c\x69\141\x73\x5f\x65\54\40\152\x61\167\141\x62\141\156\x5f\x61\x6c\151\141\163\54\40\x6a\141\x77\141\142\x61\x6e\137\x73\x69\x73\167\x61\54\40\152\141\x77\x61\x62\141\156\137\142\145\156\141\162\x2c\40\x70\x6f\151\156\x74\137\x73\157\141\154"); goto kDdqu; kDdqu: $this->db->from("\x63\x62\x74\137\x73\157\x61\x6c\137\x73\x69\163\167\x61"); goto JQBU7; JQBU7: $this->db->where("\151\144\137\163\157\x61\154\137\163\x69\163\x77\x61\75", $id); goto p9Q6r; p9Q6r: return $this->db->get()->row(); goto gSWGT; gSWGT: } public function getJawabanSiswaByJadwal($id_jadwal, $id_siswa = null) { goto GEMOW; yhTQv: NJp0e: goto o_zNB; Go442: $this->db->order_by("\141\56\152\145\156\151\x73\x5f\x73\157\x61\154"); goto XUdlT; X75DI: $this->db->from("\x63\x62\x74\137\x73\x6f\141\154\x5f\x73\x69\163\x77\141\40\141"); goto CYg7e; XUdlT: $this->db->order_by("\x62\56\156\157\x6d\x6f\x72\x5f\163\157\141\154"); goto jBvSx; jBvSx: return $this->db->get()->result(); goto da3IC; p4WQv: IZ9YP: goto i2xZD; Heyvm: $this->db->where("\x61\56\151\x64\137\x73\x69\163\x77\141", $id_siswa); goto ja2BC; i2xZD: $this->db->where_in("\x61\x2e\151\x64\x5f\x73\x69\163\x77\x61", $id_siswa); goto yhTQv; CYg7e: $this->db->join("\x63\x62\x74\x5f\x73\157\141\x6c\40\x62", "\142\x2e\x69\x64\137\x73\x6f\141\x6c\75\141\x2e\151\x64\137\163\157\141\154"); goto GwGZs; Dglhj: if (is_array($id_siswa)) { goto IZ9YP; } goto Heyvm; ja2BC: goto NJp0e; goto p4WQv; o_zNB: Iuuo6: goto kkTy6; S8KiI: $this->db->where("\142\56\x74\141\155\x70\151\x6c\x6b\x61\156", "\x31"); goto Go442; GEMOW: $this->db->select("\x61\x2e\52\54\40\x62\x2e\x6a\x65\x6e\x69\x73\54\x20\x62\x2e\x6e\x6f\x6d\157\162\137\163\157\141\154\54\x20\142\56\163\x6f\141\154\x2c\x20\142\x2e\x6a\x61\x77\141\x62\141\x6e\54\x20\142\x2e\x6f\160\x73\x69\137\x61\54\x20\x62\56\x6f\x70\x73\151\137\142\54\x20\142\x2e\157\160\x73\x69\x5f\x63\x2c\40\142\x2e\157\160\x73\x69\137\x64\54\40\142\x2e\x6f\160\x73\151\x5f\145\x2c\x20\142\x2e\x74\x61\155\x70\x69\x6c\153\x61\156"); goto X75DI; kkTy6: $this->db->where("\x61\56\151\144\x5f\x6a\x61\144\x77\141\154\x3d", $id_jadwal); goto S8KiI; GwGZs: if (!($id_siswa != null)) { goto Iuuo6; } goto Dglhj; da3IC: } public function getIdSiswaFromJawabanByJadwal($id_jadwal) { goto kYZLQ; LuPga: $retur = []; goto H2Qar; zPl5r: return $retur; goto eOeb6; H2Qar: foreach ($result as $row) { $retur[$row->id_siswa][] = $row; pF0TU: } goto gYsBW; kYZLQ: $result = $this->db->get_where("\143\142\x74\137\163\157\x61\154\137\x73\x69\163\167\x61", "\151\x64\137\x6a\x61\x64\167\x61\x6c\x3d" . $id_jadwal)->result(); goto LuPga; gYsBW: NZHFM: goto zPl5r; eOeb6: } public function getDurasiSiswaByJadwal($id_jadwal, $id_siswa = null) { goto fFoqN; T0mxk: $this->db->where("\151\144\137\x73\x69\163\167\141\x3d", $id_siswa); goto RvPKd; Aoe72: $this->db->from("\x63\142\164\x5f\x64\165\162\141\163\x69\137\163\x69\163\167\141"); goto ARIue; RvPKd: Eu5z7: goto EodL5; fFoqN: $this->db->select("\x69\144\137\144\x75\162\x61\x73\151\x2c\x20\x69\x64\137\x73\x69\163\x77\x61\x2c\x20\x69\144\x5f\152\141\144\167\141\x6c\x2c\40\163\x74\x61\164\x75\x73\54\40\x6c\x61\x6d\141\137\165\x6a\151\141\156\54\40\155\x75\154\x61\x69\54\40\163\145\x6c\145\x73\141\151\54\40\162\x65\163\x65\x74"); goto Aoe72; KErm5: if (!($id_siswa != null)) { goto Eu5z7; } goto T0mxk; ARIue: $this->db->where("\x69\144\x5f\x6a\141\x64\x77\141\x6c\75", $id_jadwal); goto KErm5; EodL5: return $this->db->get()->result(); goto Gurx3; Gurx3: } public function getIdSiswaFromDurasiByJadwal($id_jadwal) { goto wRAeA; YhTob: oh2pt: goto DZrT_; gmZNo: $retur = []; goto cqP2k; cqP2k: foreach ($result as $row) { $retur[$row->id_siswa] = $row; fQfJh: } goto YhTob; wRAeA: $result = $this->db->get_where("\x63\142\164\137\144\x75\x72\141\x73\x69\137\x73\x69\x73\167\141", "\x69\144\137\x6a\141\x64\x77\141\154\x3d" . $id_jadwal)->result(); goto gmZNo; DZrT_: return $retur; goto hcLqL; hcLqL: } public function getLogUjianByJadwal($id_jadwal) { goto lJ_Mh; lJ_Mh: $this->db->select("\151\x64\x5f\154\x6f\147\54\x20\154\x6f\147\x5f\164\151\x6d\145\54\x20\151\144\137\163\151\x73\x77\x61\x2c\x20\151\x64\x5f\x6a\x61\144\x77\141\154\54\x20\x6c\x6f\x67\x5f\164\171\160\x65\x2c\40\x6c\x6f\x67\137\144\145\163\x63\x2c\x20\x61\144\144\162\x65\163\163\x2c\40\x61\x67\145\x6e\164\54\40\x64\145\x76\151\143\x65\54\40\162\x65\163\x65\164"); goto DFymZ; DFymZ: $this->db->from("\154\x6f\x67\x5f\165\x6a\151\x61\x6e"); goto nI4aC; nI4aC: $this->db->where("\151\144\x5f\152\141\144\167\x61\x6c\75", $id_jadwal); goto NMtUa; NMtUa: return $this->db->get()->result(); goto boMpt; boMpt: } public function getIdSiswaFromLogUjianByJadwal($id_jadwal) { goto XRwbU; XRwbU: $result = $this->db->get_where("\154\x6f\147\x5f\x75\x6a\151\x61\156", "\x69\x64\x5f\x6a\141\x64\167\141\x6c\x3d" . $id_jadwal)->result(); goto ezIAP; kS_Oq: return $retur; goto qxUQe; tHcuh: yYLGe: goto kS_Oq; BfKoy: foreach ($result as $row) { $retur[$row->id_siswa] = $row; MuNQr: } goto tHcuh; ezIAP: $retur = []; goto BfKoy; qxUQe: } public function getNilaiSiswa($arr_jadwal, $id_siswa) { goto zazcc; GVwum: $this->db->where("\x69\x64\x5f\x73\x69\x73\167\x61", $id_siswa); goto G8INN; zazcc: $this->db->select("\52"); goto lLnNg; lLnNg: $this->db->from("\x63\x62\164\137\x6e\x69\154\x61\151"); goto c3omI; d16oA: foreach ($result as $row) { $retur[$row->id_jadwal] = $row; xcIwV: } goto G6GF8; G6GF8: bWe7l: goto Lt9uB; Lt9uB: return $retur; goto Z75z6; c3omI: $this->db->where_in("\151\x64\x5f\x6a\141\x64\x77\x61\x6c", $arr_jadwal); goto GVwum; z2NGi: $retur = []; goto d16oA; G8INN: $result = $this->db->get()->result(); goto z2NGi; Z75z6: } public function getNilaiSiswaByJadwal($id_jadwal, $id_siswa) { goto wGHok; XP_N0: $this->db->where("\151\x64\137\163\x69\163\167\141", $id_siswa); goto gIhRL; gIhRL: $result = $this->db->get()->row(); goto FBLm4; wGHok: $this->db->select("\52"); goto DNVjM; WZvg_: $this->db->where("\x69\144\137\152\141\144\x77\x61\154", $id_jadwal); goto XP_N0; FBLm4: return $result; goto xr4Xp; DNVjM: $this->db->from("\143\x62\x74\x5f\x6e\x69\x6c\x61\x69"); goto WZvg_; xr4Xp: } public function getNilaiAllSiswa($arr_jadwal, $arr_id_siswa) { goto bLfXM; PCGer: foreach ($result as $row) { $retur[$row->id_siswa] = $row; t8RFv: } goto DA7vW; b3cq5: $retur = []; goto PCGer; bLfXM: $this->db->select("\x2a"); goto kVd2T; kVd2T: $this->db->from("\143\142\164\137\x6e\x69\154\x61\151"); goto OvmXZ; OvmXZ: $this->db->where_in("\x69\144\x5f\152\141\144\x77\x61\x6c", $arr_jadwal); goto n3du2; DA7vW: TbX1N: goto I0qox; n3du2: $this->db->where_in("\x69\x64\x5f\x73\151\163\167\x61", $arr_id_siswa); goto t8hCq; I0qox: return $retur; goto IC3Ev; t8hCq: $result = $this->db->get()->result(); goto b3cq5; IC3Ev: } public function getAllNilaiSiswa($id_jadwal) { goto eM0X_; cWwel: return $retur; goto X4DSI; aOXSR: $result = $this->db->get()->result(); goto i2Av4; T6nXT: foreach ($result as $row) { $retur[$row->id_siswa] = $row; yh_Yv: } goto hKWrN; eM0X_: $this->db->select("\x2a"); goto smVji; pQS97: $this->db->where("\151\x64\137\152\141\x64\x77\141\x6c", $id_jadwal); goto aOXSR; smVji: $this->db->from("\x63\x62\164\x5f\156\151\154\x61\151"); goto pQS97; i2Av4: $retur = []; goto T6nXT; hKWrN: rT2L5: goto cWwel; X4DSI: } public function getTotalKoreksi() { goto qpsgr; qpsgr: $this->db->select("\x69\144\137\152\141\x64\x77\x61\x6c\x2c\x20\144\x69\153\157\x72\x65\x6b\x73\151\x2c\x20\x69\x64\x5f\x73\151\163\167\x61"); goto d3YGv; ShAun: $result = $this->db->get()->result(); goto kOQH9; QuMP2: return $retur; goto V7ARj; d3YGv: $this->db->from("\x63\x62\164\x5f\x6e\151\154\x61\x69"); goto ShAun; kOQH9: $retur = []; goto sSo9Q; sSo9Q: foreach ($result as $row) { goto qSPLL; t5ObT: $retur[$row->id_jadwal][$row->dikoreksi][] = $row->id_siswa; goto CT_EZ; qSPLL: if (!($row->id_siswa != null)) { goto yl7Kj; } goto t5ObT; CT_EZ: yl7Kj: goto KmfIc; KmfIc: E5eCF: goto KXcLf; KXcLf: } goto x3YJ_; x3YJ_: sE3od: goto QuMP2; V7ARj: } public function getNilaiAnalisis($id_jadwal) { return $this->db->get_where("\143\x62\164\x5f\156\x69\x6c\141\x69", "\151\x64\x5f\x6a\141\144\x77\141\x6c\x3d" . $id_jadwal)->result(); } public function getLogUjian($siswa_id, $id_jadwal) { return $this->db->get_where("\154\x6f\147\137\x75\152\x69\x61\x6e", "\x69\x64\x5f\163\x69\x73\167\x61\75" . $siswa_id . "\x20\101\x4e\104\x20\151\x64\x5f\152\x61\144\x77\141\154\75" . $id_jadwal)->result(); } public function getNomorPeserta($id_siswa) { return $this->db->get_where("\143\x62\x74\x5f\156\157\x6d\x6f\x72\137\160\x65\x73\145\162\164\141", "\151\144\137\163\x69\x73\x77\x61\75" . $id_siswa)->row(); } public function getAllNomorPeserta() { goto XKQ77; HVRKl: $result = $this->db->get("\x63\142\164\137\156\x6f\x6d\x6f\x72\137\x70\145\x73\145\x72\x74\x61")->result(); goto yIUbf; gPHJA: foreach ($result as $row) { $ret[$row->id_siswa] = $row; S7sx0: } goto TYum2; jCUsz: return $ret; goto y7I69; TYum2: xa_jt: goto jCUsz; yIUbf: $ret = []; goto gPHJA; XKQ77: $this->db->select("\52"); goto HVRKl; y7I69: } public function getDistinctTahun() { goto nxyMV; K1D1F: $this->db->distinct(); goto CCE51; pPGE6: $ret = []; goto S9hKJ; CCE51: $result = $this->db->get("\x63\142\164\x5f\162\x65\x6b\141\160\137\156\151\x6c\141\x69")->result(); goto pPGE6; zVjSr: bOVLH: goto jblXo; nxyMV: $this->db->select("\164\160"); goto K1D1F; S9hKJ: foreach ($result as $row) { $ret[$row->tp] = $row->tp; MF6Li: } goto zVjSr; jblXo: return $ret; goto F9vk4; F9vk4: } public function getDistinctSmt() { goto QjmtQ; jfrJV: return $ret; goto mcbie; QjmtQ: $this->db->select("\x73\155\x74"); goto GDTdB; Oiqp1: $result = $this->db->get("\143\142\x74\137\162\x65\153\x61\160\x5f\156\x69\x6c\141\151")->result(); goto kizhE; GDTdB: $this->db->distinct(); goto Oiqp1; kizhE: $ret = []; goto B2sm1; y0Msr: aruqd: goto jfrJV; B2sm1: foreach ($result as $row) { $ret[$row->smt] = $row->smt; jBkuO: } goto y0Msr; mcbie: } public function getDistinctJenisUjian() { goto RLaW4; RLaW4: $this->db->select("\164\160\x2c\x20\163\x6d\164\x2c\x20\153\x6f\144\x65\137\x6a\x65\x6e\151\163"); goto whpyH; chLjd: TxgsF: goto QK3b5; ho0vp: foreach ($result as $row) { $ret[$row->tp][$row->smt][$row->kode_jenis] = $row->kode_jenis; m88su: } goto chLjd; QK3b5: return $ret; goto WYdWH; AsKRj: $ret = []; goto ho0vp; whpyH: $this->db->distinct(); goto i1lxt; i1lxt: $result = $this->db->get("\143\x62\x74\x5f\x72\x65\x6b\x61\x70\x5f\156\x69\154\141\151")->result(); goto AsKRj; WYdWH: } public function getDistinctJenis() { goto USXqS; USXqS: $this->db->select("\151\144\x5f\152\145\x6e\x69\x73\x2c\x20\x74\x70\54\40\163\155\164\x2c\x20\x6b\x6f\144\x65\x5f\x6a\x65\x6e\151\163"); goto EwTEz; Fe93b: $result = $this->db->get("\143\142\164\x5f\162\145\153\141\x70\137\x6e\x69\154\x61\151")->result(); goto Ql_CU; EwTEz: $this->db->distinct(); goto Fe93b; Ql_CU: $ret = []; goto faxz7; sILAf: return $ret; goto qSOby; faxz7: foreach ($result as $row) { $ret[$row->tp][$row->smt][$row->id_jenis] = $row->kode_jenis; j8F94: } goto IsHCG; IsHCG: DFt9f: goto sILAf; qSOby: } public function getDistinctKelas($id_jadwal = null) { goto RLeJF; wRXe5: $this->db->where("\x69\x64\x5f\152\141\144\167\141\x6c", $id_jadwal); goto o2can; D1kOh: foreach ($result as $row) { goto TJGzq; GzyiV: $ret[$row->tp][$row->smt][$row->kode_jenis][$row->id_kelas] = $row->nama_kelas; goto k6fW_; PsjGG: GmOSK: goto EbA6i; k6fW_: gReWI: goto PsjGG; TJGzq: if (!($row->id_kelas != '')) { goto gReWI; } goto GzyiV; EbA6i: } goto OHXFh; XLzw_: $this->db->join("\x6d\x61\x73\x74\x65\162\137\x6b\x65\x6c\x61\x73\40\x62", "\142\x2e\x69\144\137\x6b\x65\154\141\163\75\141\x2e\x69\x64\x5f\153\145\x6c\x61\x73"); goto XcVL0; yGbTa: $this->db->from("\143\x62\164\137\x72\x65\x6b\141\x70\x5f\x6e\x69\154\x61\x69\x20\x61"); goto aQL4O; aQL4O: if (!($id_jadwal != null)) { goto LxBSW; } goto wRXe5; kRHb4: return $ret; goto tsyEQ; o2can: LxBSW: goto XLzw_; RLeJF: $this->db->select("\x61\x2e\164\x70\x2c\40\141\x2e\163\155\164\x2c\40\141\x2e\153\157\144\x65\x5f\x6a\x65\x6e\151\163\x2c\40\x61\x2e\151\144\x5f\153\145\x6c\141\x73\x2c\x20\x62\x2e\156\141\155\141\x5f\153\145\x6c\x61\163"); goto UGGXv; OHXFh: ekYSn: goto kRHb4; UGGXv: $this->db->distinct(); goto yGbTa; HwLaZ: $ret = []; goto D1kOh; XcVL0: $result = $this->db->get()->result(); goto HwLaZ; tsyEQ: } }
Function Calls
None |
Stats
MD5 | f44a9351a0038dafc27b501c265ef23e |
Eval Count | 0 |
Decode Time | 143 ms |