Decoded Output
Download<? defined("BASEPATH") or exit("No direct script access allowed"); class Dashboard_model extends CI_Model { public function getSetting() { return $this->db->get("setting")->row(); } public function getRunningText() { return $this->db->get("running_text")->result(); } public function total($table, $where = null) { goto YKIC8; kySj6: R0pBW: goto RNbKR; I1BAa: $this->db->where($where); goto kySj6; YKIC8: if (!($where != null)) { goto R0pBW; } goto I1BAa; RNbKR: $query = $this->db->get($table)->num_rows(); goto lbx2e; lbx2e: return $query; goto nImkz; nImkz: } public function hapus($table, $data, $pk) { $this->db->where_in($pk, $data); return $this->db->delete($table); } public function getProfileAdmin($id_user) { goto sED2w; sED2w: $this->db->select("b.*"); goto blAmj; beNgX: $this->db->join("users_profile b", "a.id=b.id_user", "left"); goto tXZeV; tXZeV: $this->db->where("a.id", $id_user); goto Rrjk8; Rrjk8: $query = $this->db->get()->row(); goto NaX8d; blAmj: $this->db->from("users a"); goto beNgX; NaX8d: return $query; goto rP9Ls; rP9Ls: } public function totalWaliKelas($id_tp, $id_smt) { goto wf71V; doq84: $query = $this->db->get("jabatan_guru")->num_rows(); goto PrNRr; PrNRr: return $query; goto SnUUp; VxP_u: $this->db->where("id_tp", $id_tp); goto b4NXz; b4NXz: $this->db->where("id_smt", $id_smt); goto doq84; wf71V: $this->db->where("id_jabatan", "4"); goto VxP_u; SnUUp: } public function totalSiswaKelas($id_kelas, $id_tp, $id_smt) { goto HWSYB; gyfwi: $this->db->from("kelas_siswa a"); goto QZNDO; z2qU1: $this->db->where("a.id_kelas", $id_kelas); goto iNIIs; PK589: return $query; goto SUZv4; HWSYB: $this->db->select("a.id_siswa"); goto gyfwi; iNIIs: $query = $this->db->get()->num_rows(); goto PK589; QZNDO: $this->db->where("a.id_tp", $id_tp); goto Ki0uS; Ki0uS: $this->db->where("a.id_smt", $id_smt); goto z2qU1; SUZv4: } public function totalPengawas() { goto bI_IB; sOGUf: $query = $this->db->get("cbt_pengawas")->num_rows(); goto wmLqq; p0dQM: $this->db->where("id_jadwal !=", "a:0:{}"); goto sOGUf; wmLqq: return $query; goto e5L8n; bI_IB: $this->db->select("*"); goto p0dQM; e5L8n: } public function totalJadwal() { goto sfzK4; VLRhI: $query = $this->db->get("cbt_jadwal")->num_rows(); goto Jil3d; Jil3d: return $query; goto wLuSC; sfzK4: $this->db->select("*"); goto VLRhI; wLuSC: } public function getDataTahun() { goto Tbwfr; sJkpu: return $this->datatables->generate(); goto GH6H3; Tbwfr: $this->datatables->select("id_tp, tahun, active"); goto l6gfk; l6gfk: $this->datatables->from("master_tp"); goto sJkpu; GH6H3: } public function getTahun() { goto XYCoj; K4rpK: return $result; goto ZAi1O; XYCoj: $this->db->order_by("tahun", "ASC"); goto lIjeJ; lIjeJ: $result = $this->db->get("master_tp")->result(); goto K4rpK; ZAi1O: } public function getTahunById($id) { $result = $this->db->get_where("master_tp", "id_tp=" . $id)->row(); return $result; } public function getTahunByTahun($tahun) { $result = $this->db->get_where("master_tp", "tahun=" . """ . $tahun . """)->row(); return $result; } public function getTahunActive() { goto QzA8O; wtbm3: $result = $this->db->get()->row(); goto RH9VZ; QzA8O: $this->db->select("id_tp, tahun"); goto ieisn; ScfBN: $this->db->where("active", 1); goto wtbm3; RH9VZ: return $result; goto H4MS5; ieisn: $this->db->from("master_tp"); goto ScfBN; H4MS5: } public function getSemester() { goto OEp2L; tv_A_: return $result; goto yV54F; OEp2L: $this->db->order_by("smt", "ASC"); goto Sd5EN; Sd5EN: $result = $this->db->get("master_smt")->result(); goto tv_A_; yV54F: } public function getSemesterById($id) { $result = $this->db->get_where("master_smt", "id_smt=" . $id)->row(); return $result; } public function getSemesterByNama($nama_smt) { $result = $this->db->get_where("master_smt", "nama_smt=" . """ . $nama_smt . """)->row(); return $result; } public function getSemesterActive() { goto KvRUP; J40I2: $result = $this->db->get()->row(); goto x2d9L; KvRUP: $this->db->select("id_smt, nama_smt, smt"); goto PE1kA; x2d9L: return $result; goto JgOI6; PE1kA: $this->db->from("master_smt"); goto XDZTG; XDZTG: $this->db->where("active", 1); goto J40I2; JgOI6: } public function getDataGuruByUserId($id_user, $id_tp, $id_smt) { goto fzsAf; qEMpd: $this->db->join("level_kelas g", "f.level_id=g.id_level", "left"); goto IWJlW; fzsAf: $this->db->query("SET SQL_BIG_SELECTS=1"); goto hjbYL; I1Ghf: $this->db->from("master_guru a"); goto NaX_Y; w90J7: $this->db->join("level_guru e", "b.id_jabatan=e.id_level", "left"); goto xWNVB; hjbYL: $this->db->select("a.id_guru, a.nama_guru, a.nip, a.id_user, a.foto, b.id_jabatan, b.id_kelas as wali_kelas, f.level_id, g.level"); goto I1Ghf; q2uOx: return $query; goto WaNj3; xWNVB: $this->db->join("master_kelas f", "a.id_guru=f.guru_id AND f.id_tp=" . $id_tp . " AND f.id_smt=" . $id_smt, "left"); goto qEMpd; AHViS: $query = $this->db->get()->row(); goto q2uOx; IWJlW: $this->db->where("a.id_user", $id_user); goto AHViS; NaX_Y: $this->db->join("jabatan_guru b", "a.id_guru=b.id_guru AND b.id_tp=" . $id_tp . " AND b.id_smt=" . $id_smt, "left"); goto w90J7; WaNj3: } public function getDataGuruById($id_guru, $id_tp, $id_smt) { goto GC_8N; gbFOo: $this->db->join("level_kelas g", "f.level_id=g.id_level", "left"); goto xsXsv; T3jn5: $this->db->join("jabatan_guru b", "a.id_guru=b.id_guru AND b.id_tp=" . $id_tp . " AND b.id_smt=" . $id_smt, "left"); goto gQboH; GI1GS: $this->db->join("master_kelas f", "a.id_guru=f.guru_id AND f.id_tp=" . $id_tp . " AND f.id_smt=" . $id_smt, "left"); goto gbFOo; GC_8N: $this->db->query("SET SQL_BIG_SELECTS=1"); goto wv_vM; We0RY: $this->db->from("master_guru a"); goto T3jn5; wv_vM: $this->db->select("a.id_guru, a.nama_guru, a.nip, a.id_user, a.foto, b.id_jabatan, b.id_kelas as wali_kelas, f.level_id, g.level"); goto We0RY; xsXsv: $this->db->where("a.id_guru", $id_guru); goto nj4OZ; lVFwP: return $query; goto LTTWV; nj4OZ: $query = $this->db->get()->row(); goto lVFwP; gQboH: $this->db->join("level_guru e", "b.id_jabatan=e.id_level", "left"); goto GI1GS; LTTWV: } public function getListGuruByUserId($id_tp, $id_smt) { goto xlMKk; r1GcP: $this->db->join("master_kelas f", "a.id_guru=f.guru_id AND f.id_tp=" . $id_tp . " AND f.id_smt=" . $id_smt, "left"); goto HyDrr; r_1Bb: $this->db->join("jabatan_guru b", "a.id_guru=b.id_guru AND b.id_tp=" . $id_tp . " AND b.id_smt=" . $id_smt, "left"); goto uCVht; CewGk: $rest = []; goto H8e7i; xlMKk: $this->db->query("SET SQL_BIG_SELECTS=1"); goto coEQM; Tyu34: mpCwN: goto TLybj; IV0FS: $query = $this->db->get()->result(); goto CewGk; TLybj: return $rest; goto BeLVr; uCVht: $this->db->join("level_guru e", "b.id_jabatan=e.id_level", "left"); goto r1GcP; H8e7i: foreach ($query as $guru) { $rest[$guru->id_guru] = $guru; WJ9hD: } goto Tyu34; zK0Yq: $this->db->from("master_guru a"); goto r_1Bb; HyDrr: $this->db->join("level_kelas g", "f.level_id=g.id_level", "left"); goto IV0FS; coEQM: $this->db->select("a.id_guru, a.nama_guru, a.id_user, a.foto, b.id_jabatan, b.id_kelas as wali_kelas, f.level_id, g.level"); goto zK0Yq; BeLVr: } public function getDetailGuruByUserId($id_user, $id_tp, $id_smt) { goto UPvsw; haj81: $this->db->join("master_kelas f", "a.id_guru=f.guru_id AND f.id_tp=" . $id_tp . " AND f.id_smt=" . $id_smt, "left"); goto EmZVC; EmZVC: $this->db->where("a.id_user", $id_user); goto UHnAB; m5X8z: return $query; goto GgUXR; g59BK: $this->db->from("master_guru a"); goto bV6l5; UHnAB: $query = $this->db->get()->row(); goto m5X8z; dGEi8: $this->db->join("level_guru e", "b.id_jabatan=e.id_level", "left"); goto haj81; bV6l5: $this->db->join("jabatan_guru b", "a.id_guru=b.id_guru AND b.id_tp=" . $id_tp . " AND b.id_smt=" . $id_smt, "left"); goto dGEi8; meqv1: $this->db->select("*"); goto g59BK; UPvsw: $this->db->query("SET SQL_BIG_SELECTS=1"); goto meqv1; GgUXR: } public function getKelasByMapel($id_mapel = null) { goto oFcZr; oFcZr: $this->db->query("SET SQL_BIG_SELECTS=1"); goto t1j5g; jNhpj: $query = $this->db->get()->row(); goto jj7Fg; WnPra: $this->db->from("master_kelas"); goto DK829; t1j5g: $this->db->select("*"); goto WnPra; UArC8: $this->db->join("level_guru d", "a.level_id=d.id_level", "left"); goto jNhpj; jj7Fg: return $query; goto xyy_5; DK829: $this->db->join("master_mapel b", "a.mapel_id=b.id_mapel", "left"); goto UArC8; xyy_5: } public function get_where($table, $pk, $id, $join = null, $order = null) { goto lxSIB; lxSIB: $this->db->select("*"); goto CwhXG; HXyYC: if (!($join !== null)) { goto shD_J; } goto QaVXC; lzJbO: if (!($order !== null)) { goto r90MT; } goto ILykn; QaVXC: foreach ($join as $table => $field) { $this->db->join($table, $field); eJ3Nn: } goto twseT; g1DdN: return $query; goto oTduB; Aw5wP: shD_J: goto lzJbO; tFpLS: iFkrd: goto Y3O0x; twseT: FbeEL: goto Aw5wP; kbOHx: $this->db->where($pk, $id); goto HXyYC; CwhXG: $this->db->from($table); goto kbOHx; ILykn: foreach ($order as $field => $sort) { $this->db->order_by($field, $sort); mj4A6: } goto tFpLS; Y3O0x: r90MT: goto IIDxx; IIDxx: $query = $this->db->get(); goto g1DdN; oTduB: } public function create($table, $data) { $insert = $this->db->insert($table, $data); return $insert; } public function update($table, $data, $pk, $id = null, $batch = false) { goto Ybe5z; s2moX: lvr6y: goto vhN7v; vx4zf: goto b1IYS; goto s2moX; Ybe5z: if ($batch === false) { goto lvr6y; } goto TMLvK; TMLvK: $insert = $this->db->update_batch($table, $data, $pk); goto vx4zf; vhN7v: $insert = $this->db->update($table, $data, array($pk => $id)); goto ob1EY; CLX82: return $insert; goto d39yS; ob1EY: b1IYS: goto CLX82; d39yS: } public function getDataSiswa($username, $id_tp, $id_smt) { goto wUZh5; v8GEa: return $query; goto P7iTN; VoPVd: $this->db->select("*"); goto UPItb; qvYh8: $query = $this->db->get()->row(); goto v8GEa; eQgWQ: $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 IHTlN; KvJ04: $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 eQgWQ; QrLQi: $this->db->where("username", $username); goto qvYh8; UPItb: $this->db->from("master_siswa a"); goto KvJ04; IHTlN: $this->db->join("cbt_sesi_siswa d", "a.id_siswa=d.siswa_id", "left"); goto QrLQi; wUZh5: $this->db->query("SET SQL_BIG_SELECTS=1"); goto VoPVd; P7iTN: } public function loadPengumuman($id_for) { goto maO_T; lDOxw: $this->db->where("kepada", $id_for); goto M4vHM; M4vHM: $query = $this->db->get()->result(); goto X6fcF; xtVfX: $this->db->join("master_guru b", "a.dari=b.id_guru", "left"); goto lDOxw; X6fcF: return $query; goto f0O2G; maO_T: $this->db->select("a.*, b.nama_guru, b.foto"); goto T8El_; T8El_: $this->db->from("pengumuman a"); goto xtVfX; f0O2G: } public function loadJadwalHariIni($id_tp, $id_smt, $id_kelas = null, $id_hari = null) { goto kvYcy; MoVV3: return $query; goto g7yj1; z_9bI: X1Wbf: goto n2xUx; tP48Q: $this->db->where("a.id_hari", $id_hari); goto gC_v5; kvYcy: $this->db->select("*"); goto mPxK1; mPxK1: $this->db->from("kelas_jadwal_mapel a"); goto zx0gm; NWqBJ: $query = $this->db->get()->result(); goto MoVV3; gC_v5: XoTkO: goto NWqBJ; D8o1K: $this->db->where("a.id_kelas", $id_kelas); goto z_9bI; tZ3Zo: if (!($id_kelas != null)) { goto X1Wbf; } goto D8o1K; zx0gm: $this->db->join("master_mapel b", "b.id_mapel=a.id_mapel", "left"); goto bf1VE; n2xUx: if (!($id_hari != null)) { goto XoTkO; } goto tP48Q; lpmXS: $this->db->where("a.id_smt", $id_smt); goto tZ3Zo; bf1VE: $this->db->where("a.id_tp", $id_tp); goto lpmXS; g7yj1: } public function getJadwalKbm($id_tp, $id_smt, $id_kelas = null) { goto ONv9b; xYToY: $this->db->from("kelas_jadwal_kbm"); goto L196T; AVhRd: goto k8E1s; goto jJaSc; bnn9O: if ($id_kelas != null) { goto RnmEQ; } goto hX_bV; HY9Kw: k8E1s: goto YUea_; XTffa: $query = $this->db->get()->row(); goto HY9Kw; L196T: $this->db->where("id_tp", $id_tp); goto K2WVT; ONv9b: $this->db->select("*"); goto xYToY; Vsh5V: $this->db->where("id_kelas", $id_kelas); goto XTffa; jJaSc: RnmEQ: goto Vsh5V; hX_bV: $query = $this->db->get()->result(); goto AVhRd; YUea_: return $query; goto rrfdj; K2WVT: $this->db->where("id_smt", $id_smt); goto bnn9O; rrfdj: } } ?>
Did this file decode correctly?
How would you describe this file?
Thank you for your feedback! This will help us detect malicious PHP files more accurately in the future.
Function Calls
None
Variables
None
Stats
| MD5 | 832ec2b5972457b6 |
|---|---|
| Eval Count | 0 |
| Decode Time | 91 ms |
Original Code
defined("\x42\101\123\x45\x50\x41\124\x48") or exit("\116\x6f\x20\x64\151\162\145\143\x74\40\163\143\x72\151\x70\x74\x20\x61\x63\143\x65\x73\x73\x20\x61\x6c\154\x6f\x77\145\144"); class Dashboard_model extends CI_Model { public function getSetting() { return $this->db->get("\x73\145\x74\164\x69\x6e\147")->row(); } public function getRunningText() { return $this->db->get("\162\165\156\156\151\x6e\x67\x5f\164\145\170\164")->result(); } public function total($table, $where = null) { goto YKIC8; kySj6: R0pBW: goto RNbKR; I1BAa: $this->db->where($where); goto kySj6; YKIC8: if (!($where != null)) { goto R0pBW; } goto I1BAa; RNbKR: $query = $this->db->get($table)->num_rows(); goto lbx2e; lbx2e: return $query; goto nImkz; nImkz: } public function hapus($table, $data, $pk) { $this->db->where_in($pk, $data); return $this->db->delete($table); } public function getProfileAdmin($id_user) { goto sED2w; sED2w: $this->db->select("\142\56\52"); goto blAmj; beNgX: $this->db->join("\x75\x73\x65\x72\163\x5f\x70\162\157\146\x69\154\x65\x20\142", "\x61\56\151\x64\75\x62\x2e\x69\x64\x5f\165\x73\x65\162", "\x6c\145\146\x74"); goto tXZeV; tXZeV: $this->db->where("\141\56\x69\144", $id_user); goto Rrjk8; Rrjk8: $query = $this->db->get()->row(); goto NaX8d; blAmj: $this->db->from("\x75\163\145\162\163\x20\141"); goto beNgX; NaX8d: return $query; goto rP9Ls; rP9Ls: } public function totalWaliKelas($id_tp, $id_smt) { goto wf71V; doq84: $query = $this->db->get("\152\x61\x62\141\164\x61\x6e\x5f\x67\x75\162\x75")->num_rows(); goto PrNRr; PrNRr: return $query; goto SnUUp; VxP_u: $this->db->where("\151\x64\137\x74\x70", $id_tp); goto b4NXz; b4NXz: $this->db->where("\x69\x64\137\x73\155\x74", $id_smt); goto doq84; wf71V: $this->db->where("\151\144\137\152\141\142\141\x74\141\156", "\x34"); goto VxP_u; SnUUp: } public function totalSiswaKelas($id_kelas, $id_tp, $id_smt) { goto HWSYB; gyfwi: $this->db->from("\153\145\154\x61\x73\137\163\x69\x73\167\x61\40\141"); goto QZNDO; z2qU1: $this->db->where("\141\56\151\144\x5f\x6b\x65\x6c\141\x73", $id_kelas); goto iNIIs; PK589: return $query; goto SUZv4; HWSYB: $this->db->select("\x61\56\151\144\x5f\163\x69\163\167\x61"); goto gyfwi; iNIIs: $query = $this->db->get()->num_rows(); goto PK589; QZNDO: $this->db->where("\141\56\x69\x64\x5f\x74\160", $id_tp); goto Ki0uS; Ki0uS: $this->db->where("\141\56\151\144\137\x73\155\x74", $id_smt); goto z2qU1; SUZv4: } public function totalPengawas() { goto bI_IB; sOGUf: $query = $this->db->get("\x63\142\164\x5f\160\145\x6e\147\x61\x77\x61\163")->num_rows(); goto wmLqq; p0dQM: $this->db->where("\151\x64\x5f\x6a\141\144\167\x61\154\40\41\x3d", "\141\x3a\60\x3a\x7b\175"); goto sOGUf; wmLqq: return $query; goto e5L8n; bI_IB: $this->db->select("\x2a"); goto p0dQM; e5L8n: } public function totalJadwal() { goto sfzK4; VLRhI: $query = $this->db->get("\x63\142\164\137\152\x61\x64\x77\141\154")->num_rows(); goto Jil3d; Jil3d: return $query; goto wLuSC; sfzK4: $this->db->select("\x2a"); goto VLRhI; wLuSC: } public function getDataTahun() { goto Tbwfr; sJkpu: return $this->datatables->generate(); goto GH6H3; Tbwfr: $this->datatables->select("\151\144\137\164\x70\x2c\x20\164\x61\150\165\x6e\x2c\x20\x61\143\x74\x69\166\x65"); goto l6gfk; l6gfk: $this->datatables->from("\155\x61\163\164\x65\x72\x5f\x74\x70"); goto sJkpu; GH6H3: } public function getTahun() { goto XYCoj; K4rpK: return $result; goto ZAi1O; XYCoj: $this->db->order_by("\164\141\x68\x75\156", "\x41\x53\103"); goto lIjeJ; lIjeJ: $result = $this->db->get("\155\141\x73\164\x65\162\137\164\x70")->result(); goto K4rpK; ZAi1O: } public function getTahunById($id) { $result = $this->db->get_where("\155\x61\x73\x74\x65\x72\137\164\x70", "\x69\x64\137\x74\160\x3d" . $id)->row(); return $result; } public function getTahunByTahun($tahun) { $result = $this->db->get_where("\155\x61\x73\164\145\162\137\x74\160", "\164\x61\x68\165\156\x3d" . "\42" . $tahun . "\x22")->row(); return $result; } public function getTahunActive() { goto QzA8O; wtbm3: $result = $this->db->get()->row(); goto RH9VZ; QzA8O: $this->db->select("\151\x64\x5f\x74\x70\x2c\x20\164\141\x68\165\x6e"); goto ieisn; ScfBN: $this->db->where("\x61\x63\x74\151\x76\x65", 1); goto wtbm3; RH9VZ: return $result; goto H4MS5; ieisn: $this->db->from("\155\141\x73\x74\x65\x72\137\164\160"); goto ScfBN; H4MS5: } public function getSemester() { goto OEp2L; tv_A_: return $result; goto yV54F; OEp2L: $this->db->order_by("\163\155\164", "\x41\123\103"); goto Sd5EN; Sd5EN: $result = $this->db->get("\x6d\141\163\x74\x65\162\x5f\x73\155\x74")->result(); goto tv_A_; yV54F: } public function getSemesterById($id) { $result = $this->db->get_where("\x6d\x61\x73\164\x65\x72\137\163\x6d\x74", "\151\x64\137\163\x6d\164\75" . $id)->row(); return $result; } public function getSemesterByNama($nama_smt) { $result = $this->db->get_where("\155\x61\x73\164\x65\x72\137\x73\x6d\164", "\x6e\x61\x6d\x61\137\x73\155\164\x3d" . "\x22" . $nama_smt . "\42")->row(); return $result; } public function getSemesterActive() { goto KvRUP; J40I2: $result = $this->db->get()->row(); goto x2d9L; KvRUP: $this->db->select("\x69\144\137\x73\x6d\164\54\40\156\x61\x6d\x61\x5f\x73\x6d\164\54\40\163\x6d\164"); goto PE1kA; x2d9L: return $result; goto JgOI6; PE1kA: $this->db->from("\x6d\x61\x73\x74\x65\x72\137\x73\x6d\164"); goto XDZTG; XDZTG: $this->db->where("\x61\x63\164\x69\166\x65", 1); goto J40I2; JgOI6: } public function getDataGuruByUserId($id_user, $id_tp, $id_smt) { goto fzsAf; qEMpd: $this->db->join("\x6c\145\166\x65\x6c\137\x6b\145\x6c\x61\163\40\147", "\146\x2e\154\145\x76\x65\154\x5f\151\x64\x3d\147\56\x69\x64\137\154\145\x76\x65\x6c", "\x6c\x65\146\x74"); goto IWJlW; fzsAf: $this->db->query("\x53\x45\124\40\123\x51\x4c\137\102\111\x47\137\123\x45\x4c\105\103\124\x53\x3d\x31"); goto hjbYL; I1Ghf: $this->db->from("\155\x61\163\164\145\x72\137\x67\165\x72\165\x20\x61"); goto NaX_Y; w90J7: $this->db->join("\154\x65\x76\x65\154\x5f\x67\x75\162\165\40\x65", "\142\56\x69\144\137\x6a\141\142\141\164\141\x6e\75\145\x2e\x69\144\x5f\x6c\145\x76\x65\154", "\x6c\x65\x66\x74"); goto xWNVB; hjbYL: $this->db->select("\x61\56\x69\x64\137\x67\x75\x72\165\x2c\40\x61\x2e\156\141\155\x61\137\x67\165\x72\165\54\x20\141\x2e\156\151\x70\54\x20\x61\56\151\x64\x5f\x75\163\145\x72\x2c\40\x61\56\x66\157\164\x6f\54\40\x62\x2e\151\144\137\x6a\141\x62\x61\164\x61\x6e\54\x20\x62\56\x69\x64\x5f\153\x65\154\x61\x73\x20\141\x73\x20\x77\141\x6c\151\x5f\x6b\145\154\x61\163\54\40\146\x2e\154\x65\166\x65\x6c\137\151\144\x2c\40\x67\x2e\154\x65\166\x65\x6c"); goto I1Ghf; q2uOx: return $query; goto WaNj3; xWNVB: $this->db->join("\155\141\163\164\145\162\137\153\x65\x6c\141\x73\x20\x66", "\x61\56\x69\144\137\x67\165\x72\x75\x3d\146\56\147\x75\162\165\137\151\144\x20\x41\116\104\x20\146\56\x69\144\x5f\x74\x70\75" . $id_tp . "\x20\x41\x4e\104\40\146\x2e\151\x64\x5f\163\155\x74\75" . $id_smt, "\x6c\x65\x66\164"); goto qEMpd; AHViS: $query = $this->db->get()->row(); goto q2uOx; IWJlW: $this->db->where("\141\x2e\151\144\x5f\165\163\x65\x72", $id_user); goto AHViS; NaX_Y: $this->db->join("\152\x61\x62\141\x74\x61\156\x5f\147\165\162\x75\x20\142", "\141\x2e\151\144\x5f\x67\165\162\165\x3d\142\x2e\151\144\137\x67\x75\x72\x75\x20\x41\116\104\40\x62\56\151\144\137\x74\160\75" . $id_tp . "\x20\101\116\x44\40\142\x2e\x69\144\137\163\x6d\164\75" . $id_smt, "\x6c\145\146\164"); goto w90J7; WaNj3: } public function getDataGuruById($id_guru, $id_tp, $id_smt) { goto GC_8N; gbFOo: $this->db->join("\154\x65\x76\145\154\x5f\153\x65\154\141\x73\x20\147", "\x66\56\154\145\x76\145\x6c\137\151\144\75\147\56\151\144\137\154\145\166\145\x6c", "\x6c\x65\x66\x74"); goto xsXsv; T3jn5: $this->db->join("\152\x61\x62\141\164\141\x6e\137\147\x75\x72\x75\40\x62", "\141\x2e\x69\x64\137\147\165\162\165\75\142\x2e\151\144\x5f\147\165\x72\165\40\101\x4e\104\40\x62\x2e\151\144\x5f\x74\x70\x3d" . $id_tp . "\40\101\x4e\x44\40\x62\56\x69\144\x5f\x73\155\x74\75" . $id_smt, "\x6c\x65\146\164"); goto gQboH; GI1GS: $this->db->join("\x6d\141\163\x74\x65\x72\x5f\153\145\154\x61\163\x20\146", "\x61\56\151\144\x5f\147\x75\x72\x75\75\146\x2e\x67\165\162\x75\137\x69\144\40\x41\x4e\104\40\x66\56\151\x64\x5f\164\160\75" . $id_tp . "\40\x41\x4e\104\40\x66\x2e\x69\x64\137\163\x6d\x74\x3d" . $id_smt, "\x6c\145\146\164"); goto gbFOo; GC_8N: $this->db->query("\x53\x45\124\40\123\121\x4c\x5f\x42\x49\107\137\x53\105\x4c\x45\x43\x54\123\75\x31"); goto wv_vM; We0RY: $this->db->from("\155\x61\x73\164\145\x72\137\x67\165\x72\x75\40\141"); goto T3jn5; wv_vM: $this->db->select("\141\56\x69\x64\137\147\x75\162\x75\x2c\x20\x61\56\x6e\x61\155\x61\x5f\x67\165\162\165\x2c\40\x61\x2e\x6e\x69\x70\x2c\x20\x61\x2e\151\x64\x5f\x75\x73\145\x72\x2c\x20\141\x2e\x66\x6f\164\157\x2c\40\142\x2e\x69\x64\x5f\152\141\x62\x61\x74\x61\x6e\x2c\x20\142\56\x69\x64\137\x6b\145\x6c\x61\163\40\x61\163\x20\167\x61\154\x69\x5f\x6b\145\x6c\x61\163\54\40\x66\56\154\145\x76\145\x6c\137\151\144\x2c\40\147\56\x6c\x65\166\145\x6c"); goto We0RY; xsXsv: $this->db->where("\141\x2e\x69\144\x5f\x67\165\x72\165", $id_guru); goto nj4OZ; lVFwP: return $query; goto LTTWV; nj4OZ: $query = $this->db->get()->row(); goto lVFwP; gQboH: $this->db->join("\x6c\x65\x76\x65\x6c\137\147\165\162\x75\x20\x65", "\142\x2e\x69\x64\x5f\x6a\141\x62\x61\x74\141\156\x3d\x65\x2e\x69\x64\137\x6c\x65\x76\x65\154", "\154\145\x66\164"); goto GI1GS; LTTWV: } public function getListGuruByUserId($id_tp, $id_smt) { goto xlMKk; r1GcP: $this->db->join("\x6d\x61\163\x74\x65\162\137\153\x65\x6c\x61\x73\x20\146", "\141\56\151\x64\x5f\x67\x75\x72\165\x3d\146\56\147\x75\x72\165\x5f\151\144\40\101\116\104\x20\146\56\x69\x64\137\164\x70\75" . $id_tp . "\x20\101\x4e\x44\40\x66\56\151\144\137\x73\x6d\164\x3d" . $id_smt, "\154\145\146\164"); goto HyDrr; r_1Bb: $this->db->join("\152\x61\x62\141\x74\x61\x6e\137\147\165\x72\165\40\x62", "\x61\x2e\151\x64\137\x67\x75\x72\165\x3d\142\x2e\x69\144\137\147\x75\x72\x75\40\x41\116\x44\x20\142\56\x69\x64\x5f\x74\x70\x3d" . $id_tp . "\x20\x41\x4e\x44\x20\x62\x2e\x69\x64\x5f\x73\x6d\x74\75" . $id_smt, "\x6c\145\146\164"); goto uCVht; CewGk: $rest = []; goto H8e7i; xlMKk: $this->db->query("\123\105\124\40\x53\121\114\137\x42\x49\x47\137\x53\x45\x4c\105\103\124\123\x3d\x31"); goto coEQM; Tyu34: mpCwN: goto TLybj; IV0FS: $query = $this->db->get()->result(); goto CewGk; TLybj: return $rest; goto BeLVr; uCVht: $this->db->join("\x6c\x65\x76\x65\x6c\x5f\x67\x75\x72\x75\40\145", "\142\x2e\151\144\x5f\152\141\x62\x61\164\x61\156\75\145\56\151\x64\137\154\x65\x76\x65\x6c", "\x6c\x65\x66\164"); goto r1GcP; H8e7i: foreach ($query as $guru) { $rest[$guru->id_guru] = $guru; WJ9hD: } goto Tyu34; zK0Yq: $this->db->from("\x6d\x61\163\164\x65\x72\137\147\x75\162\x75\40\x61"); goto r_1Bb; HyDrr: $this->db->join("\x6c\x65\x76\x65\154\137\153\x65\x6c\141\163\x20\x67", "\x66\x2e\x6c\145\x76\x65\154\137\151\144\x3d\x67\56\151\x64\x5f\x6c\x65\166\x65\154", "\154\145\x66\164"); goto IV0FS; coEQM: $this->db->select("\x61\56\x69\144\x5f\147\x75\x72\x75\54\x20\141\x2e\156\141\155\x61\137\x67\165\x72\165\x2c\40\141\56\151\144\137\165\x73\x65\162\x2c\40\141\56\x66\x6f\164\157\54\x20\x62\x2e\x69\x64\137\152\x61\142\x61\164\x61\x6e\54\40\x62\x2e\x69\x64\x5f\x6b\145\x6c\141\x73\x20\x61\163\40\167\x61\x6c\x69\137\x6b\x65\x6c\141\163\x2c\x20\x66\56\x6c\145\x76\x65\x6c\x5f\151\x64\54\40\x67\56\x6c\145\x76\145\154"); goto zK0Yq; BeLVr: } public function getDetailGuruByUserId($id_user, $id_tp, $id_smt) { goto UPvsw; haj81: $this->db->join("\x6d\x61\163\164\x65\162\x5f\x6b\145\154\x61\x73\x20\x66", "\141\x2e\x69\x64\x5f\147\165\162\x75\x3d\146\x2e\x67\x75\162\x75\137\151\144\x20\101\x4e\x44\40\146\x2e\x69\144\137\x74\x70\75" . $id_tp . "\x20\101\116\x44\40\146\x2e\151\144\x5f\163\x6d\x74\x3d" . $id_smt, "\154\145\x66\x74"); goto EmZVC; EmZVC: $this->db->where("\141\56\151\144\137\x75\163\x65\162", $id_user); goto UHnAB; m5X8z: return $query; goto GgUXR; g59BK: $this->db->from("\x6d\x61\x73\x74\x65\162\x5f\x67\x75\162\165\x20\141"); goto bV6l5; UHnAB: $query = $this->db->get()->row(); goto m5X8z; dGEi8: $this->db->join("\154\145\x76\145\154\x5f\147\165\162\165\x20\145", "\142\x2e\151\144\137\152\x61\x62\141\164\x61\x6e\x3d\x65\56\x69\144\x5f\154\x65\x76\145\x6c", "\x6c\x65\146\164"); goto haj81; bV6l5: $this->db->join("\x6a\x61\x62\x61\164\x61\x6e\137\147\x75\x72\165\40\x62", "\x61\x2e\151\x64\x5f\x67\165\x72\165\75\142\56\x69\144\x5f\x67\x75\162\165\x20\101\116\104\x20\142\56\x69\x64\137\x74\160\x3d" . $id_tp . "\x20\x41\x4e\x44\40\x62\x2e\151\x64\137\x73\x6d\x74\75" . $id_smt, "\154\145\146\x74"); goto dGEi8; meqv1: $this->db->select("\52"); goto g59BK; UPvsw: $this->db->query("\x53\105\x54\x20\123\x51\114\137\x42\111\107\137\123\105\114\x45\103\124\123\75\x31"); goto meqv1; GgUXR: } public function getKelasByMapel($id_mapel = null) { goto oFcZr; oFcZr: $this->db->query("\123\x45\x54\x20\x53\121\114\137\x42\x49\107\x5f\x53\x45\x4c\x45\x43\x54\x53\x3d\x31"); goto t1j5g; jNhpj: $query = $this->db->get()->row(); goto jj7Fg; WnPra: $this->db->from("\155\x61\x73\x74\145\162\x5f\x6b\145\x6c\x61\x73"); goto DK829; t1j5g: $this->db->select("\52"); goto WnPra; UArC8: $this->db->join("\154\x65\x76\x65\154\x5f\147\x75\x72\165\40\x64", "\x61\x2e\154\145\x76\x65\x6c\137\151\x64\x3d\x64\56\x69\x64\137\x6c\x65\166\x65\154", "\x6c\145\146\164"); goto jNhpj; jj7Fg: return $query; goto xyy_5; DK829: $this->db->join("\155\141\x73\x74\x65\x72\137\x6d\141\x70\x65\x6c\40\142", "\x61\56\x6d\141\x70\145\154\x5f\151\x64\x3d\x62\x2e\x69\144\x5f\x6d\141\x70\145\x6c", "\x6c\145\x66\164"); goto UArC8; xyy_5: } public function get_where($table, $pk, $id, $join = null, $order = null) { goto lxSIB; lxSIB: $this->db->select("\x2a"); goto CwhXG; HXyYC: if (!($join !== null)) { goto shD_J; } goto QaVXC; lzJbO: if (!($order !== null)) { goto r90MT; } goto ILykn; QaVXC: foreach ($join as $table => $field) { $this->db->join($table, $field); eJ3Nn: } goto twseT; g1DdN: return $query; goto oTduB; Aw5wP: shD_J: goto lzJbO; tFpLS: iFkrd: goto Y3O0x; twseT: FbeEL: goto Aw5wP; kbOHx: $this->db->where($pk, $id); goto HXyYC; CwhXG: $this->db->from($table); goto kbOHx; ILykn: foreach ($order as $field => $sort) { $this->db->order_by($field, $sort); mj4A6: } goto tFpLS; Y3O0x: r90MT: goto IIDxx; IIDxx: $query = $this->db->get(); goto g1DdN; oTduB: } public function create($table, $data) { $insert = $this->db->insert($table, $data); return $insert; } public function update($table, $data, $pk, $id = null, $batch = false) { goto Ybe5z; s2moX: lvr6y: goto vhN7v; vx4zf: goto b1IYS; goto s2moX; Ybe5z: if ($batch === false) { goto lvr6y; } goto TMLvK; TMLvK: $insert = $this->db->update_batch($table, $data, $pk); goto vx4zf; vhN7v: $insert = $this->db->update($table, $data, array($pk => $id)); goto ob1EY; CLX82: return $insert; goto d39yS; ob1EY: b1IYS: goto CLX82; d39yS: } public function getDataSiswa($username, $id_tp, $id_smt) { goto wUZh5; v8GEa: return $query; goto P7iTN; VoPVd: $this->db->select("\x2a"); goto UPItb; qvYh8: $query = $this->db->get()->row(); goto v8GEa; eQgWQ: $this->db->join("\155\x61\163\x74\x65\162\x5f\153\145\154\141\163\x20\x63", "\x62\x2e\x69\x64\137\x6b\x65\154\x61\x73\75\143\x2e\151\x64\x5f\153\x65\154\141\x73\x20\101\116\x44\x20\143\x2e\151\144\x5f\x74\160\x3d" . $id_tp . "\40\x41\x4e\104\40\143\x2e\151\144\x5f\x73\155\x74\75" . $id_smt, "\154\145\x66\x74"); goto IHTlN; KvJ04: $this->db->join("\153\145\x6c\x61\x73\137\163\x69\163\x77\x61\x20\142", "\x61\x2e\151\144\137\x73\151\163\x77\x61\75\x62\56\151\144\x5f\x73\x69\163\167\x61\40\101\x4e\x44\x20\142\56\151\144\137\x74\160\x3d" . $id_tp . "\40\x41\x4e\104\x20\142\x2e\x69\144\x5f\x73\155\x74\75" . $id_smt, "\154\145\x66\x74"); goto eQgWQ; QrLQi: $this->db->where("\165\x73\145\x72\156\141\155\145", $username); goto qvYh8; UPItb: $this->db->from("\x6d\141\163\x74\x65\x72\x5f\163\151\163\167\x61\40\141"); goto KvJ04; IHTlN: $this->db->join("\143\142\x74\x5f\x73\145\163\x69\x5f\163\151\163\167\x61\40\144", "\x61\x2e\151\x64\137\x73\x69\163\x77\x61\x3d\144\56\x73\151\x73\x77\x61\x5f\151\144", "\x6c\145\x66\x74"); goto QrLQi; wUZh5: $this->db->query("\123\105\x54\40\x53\x51\114\137\x42\x49\107\x5f\123\x45\114\x45\x43\x54\x53\x3d\x31"); goto VoPVd; P7iTN: } public function loadPengumuman($id_for) { goto maO_T; lDOxw: $this->db->where("\153\x65\x70\141\144\141", $id_for); goto M4vHM; M4vHM: $query = $this->db->get()->result(); goto X6fcF; xtVfX: $this->db->join("\x6d\x61\163\x74\x65\x72\137\147\x75\x72\x75\x20\142", "\x61\x2e\x64\x61\x72\x69\75\142\x2e\151\x64\137\147\165\x72\165", "\x6c\x65\146\x74"); goto lDOxw; X6fcF: return $query; goto f0O2G; maO_T: $this->db->select("\141\56\x2a\x2c\40\x62\56\156\x61\155\x61\x5f\147\165\x72\165\54\40\142\x2e\x66\157\x74\x6f"); goto T8El_; T8El_: $this->db->from("\x70\145\x6e\x67\x75\155\x75\155\141\x6e\x20\x61"); goto xtVfX; f0O2G: } public function loadJadwalHariIni($id_tp, $id_smt, $id_kelas = null, $id_hari = null) { goto kvYcy; MoVV3: return $query; goto g7yj1; z_9bI: X1Wbf: goto n2xUx; tP48Q: $this->db->where("\x61\56\151\x64\137\x68\x61\162\151", $id_hari); goto gC_v5; kvYcy: $this->db->select("\x2a"); goto mPxK1; mPxK1: $this->db->from("\153\145\154\141\x73\x5f\x6a\x61\x64\167\x61\x6c\137\155\141\x70\x65\154\x20\141"); goto zx0gm; NWqBJ: $query = $this->db->get()->result(); goto MoVV3; gC_v5: XoTkO: goto NWqBJ; D8o1K: $this->db->where("\x61\56\x69\x64\x5f\153\x65\154\x61\x73", $id_kelas); goto z_9bI; tZ3Zo: if (!($id_kelas != null)) { goto X1Wbf; } goto D8o1K; zx0gm: $this->db->join("\x6d\141\x73\164\x65\x72\x5f\155\x61\x70\145\x6c\x20\x62", "\142\x2e\151\x64\x5f\155\141\x70\x65\154\75\141\x2e\x69\144\137\155\141\x70\x65\154", "\154\145\x66\164"); goto bf1VE; n2xUx: if (!($id_hari != null)) { goto XoTkO; } goto tP48Q; lpmXS: $this->db->where("\x61\x2e\151\x64\x5f\x73\155\164", $id_smt); goto tZ3Zo; bf1VE: $this->db->where("\141\56\x69\144\137\x74\x70", $id_tp); goto lpmXS; g7yj1: } public function getJadwalKbm($id_tp, $id_smt, $id_kelas = null) { goto ONv9b; xYToY: $this->db->from("\153\145\154\141\x73\x5f\x6a\141\x64\167\141\154\x5f\x6b\x62\x6d"); goto L196T; AVhRd: goto k8E1s; goto jJaSc; bnn9O: if ($id_kelas != null) { goto RnmEQ; } goto hX_bV; HY9Kw: k8E1s: goto YUea_; XTffa: $query = $this->db->get()->row(); goto HY9Kw; L196T: $this->db->where("\x69\144\137\x74\160", $id_tp); goto K2WVT; ONv9b: $this->db->select("\x2a"); goto xYToY; Vsh5V: $this->db->where("\151\x64\137\x6b\145\x6c\x61\163", $id_kelas); goto XTffa; jJaSc: RnmEQ: goto Vsh5V; hX_bV: $query = $this->db->get()->result(); goto AVhRd; YUea_: return $query; goto rrfdj; K2WVT: $this->db->where("\x69\144\137\163\155\x74", $id_smt); goto bnn9O; rrfdj: } }