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 Rapor_model extends CI_Model { public function getKikdMapel($id, $id_tp, $id_smt) { $this->db->where("id_kikd", $id)->where("id_tp", $id_tp)->where("id_smt", $id_smt); return $this->db->get("rapor_kikd")->row(); } public function getKikdMapelKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { $this->db->where("id_mapel_kelas", $id_mapel . $id_kelas)->where("id_tp", $id_tp)->where("id_smt", $id_smt); return $this->db->get("rapor_kikd")->result(); } public function getKkm($id) { $this->db->where("id_kkm", $id); return $this->db->get("rapor_kkm")->row(); } public function getArrKkm($ids) { goto Iijaq; ne4m7: if (!$result) { goto Bkbzv; } goto r89Wm; En7Bz: cFJ1E: goto HgOsM; IWUPy: return $ret; goto wQghC; HgOsM: Bkbzv: goto IWUPy; Iijaq: $this->db->where_in("id_kkm", $ids); goto WVRKJ; WVRKJ: $result = $this->db->get("rapor_kkm")->result(); goto jHOWG; r89Wm: foreach ($result as $key => $row) { $ret[$row->id_mapel] = $row; ngen1: } goto En7Bz; jHOWG: $ret = []; goto ne4m7; wQghC: } public function getRaporSetting($id_tp, $id_smt) { $this->db->where("id_tp", $id_tp)->where("id_smt", $id_smt); return $this->db->get("rapor_admin_setting")->row(); } public function getDetailSiswa($id_kelas, $id_tp, $id_smt) { goto CZf9G; CZf9G: $this->db->query("SET SQL_BIG_SELECTS=1"); goto VyQfA; lthHE: $this->db->where("a.id_kelas", $id_kelas); goto amuiz; F3VM4: $this->db->join("master_kelas c", "a.id_kelas=c.id_kelas"); goto lthHE; DY3KI: $this->db->join("master_siswa b", "a.id_siswa=b.id_siswa"); goto F3VM4; amuiz: $this->db->where("a.id_tp", $id_tp); goto IOzKQ; p8lMX: return $this->db->get()->result(); goto WvXJ3; ui3xl: $this->db->order_by("b.nama", "ASC"); goto p8lMX; IOzKQ: $this->db->where("a.id_smt", $id_smt); goto ui3xl; VyQfA: $this->db->select("a.*, b.*, c.*"); goto EHAH3; EHAH3: $this->db->from("kelas_siswa a"); goto DY3KI; WvXJ3: } public function getDetailSiswaById($id_siswa, $id_tp, $id_smt) { goto ptGHn; hLclg: $this->db->join("kelas_siswa b", "a.id_siswa=b.id_siswa"); goto ChZI8; JplvD: $this->db->where("b.id_tp", $id_tp); goto PVerv; ptGHn: $this->db->query("SET SQL_BIG_SELECTS=1"); goto zZQd_; zif1A: return $this->db->get()->row(); goto gkuMH; SuQiP: $this->db->where("a.id_siswa", $id_siswa); goto JplvD; ChZI8: $this->db->join("master_kelas c", "b.id_kelas=c.id_kelas"); goto SuQiP; PVerv: $this->db->where("b.id_smt", $id_smt); goto ClJ51; zZQd_: $this->db->select("a.nama, a.nis, a.nisn, c.nama_kelas"); goto abfQ3; ClJ51: $this->db->order_by("a.nama", "ASC"); goto zif1A; abfQ3: $this->db->from("master_siswa a"); goto hLclg; gkuMH: } public function cekNilaiHarianKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto xMIBU; y7xww: $this->db->where("p_rata_rata !=", "NULL"); goto EAlrJ; hxSQK: $this->db->from("rapor_nilai_harian"); goto SX8vE; iBB8S: $this->db->where("id_tp", $id_tp); goto dZxDC; EAlrJ: return $this->db->get()->num_rows(); goto rbEiS; xMIBU: $this->db->select("p_rata_rata"); goto hxSQK; dZxDC: $this->db->where("id_smt", $id_smt); goto y7xww; SX8vE: $this->db->where("id_mapel", $id_mapel); goto eOK__; eOK__: $this->db->where("id_kelas", $id_kelas); goto iBB8S; rbEiS: } public function getNilaiHarianKelas($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt) { goto qk_kA; b10GT: return $this->db->get()->row(); goto uQIiC; nBq92: $this->db->from("rapor_nilai_harian"); goto zh5jO; zh5jO: $this->db->where("id_nilai_harian", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt); goto b10GT; qk_kA: $this->db->select("*"); goto nBq92; uQIiC: } public function getAllNilaiHarianKelas($id_kelas) { goto uFjJN; XvKK0: return $this->db->get()->result(); goto jkpWf; in1Ft: $this->db->where("id_kelas", $id_kelas); goto XvKK0; FiJei: $this->db->from("rapor_nilai_harian"); goto in1Ft; uFjJN: $this->db->select("*"); goto FiJei; jkpWf: } public function cekNilaiPtsKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto qrTG8; NkdXz: $this->db->where("id_tp", $id_tp); goto y0xV4; rioYG: $this->db->where("id_mapel", $id_mapel); goto FOcXN; DISpE: $this->db->where("predikat !=", "NULL"); goto vx9t7; qrTG8: $this->db->select("predikat"); goto Ag66l; Ag66l: $this->db->from("rapor_nilai_pts"); goto rioYG; y0xV4: $this->db->where("id_smt", $id_smt); goto DISpE; FOcXN: $this->db->where("id_kelas", $id_kelas); goto NkdXz; vx9t7: return $this->db->get()->num_rows(); goto xbqPX; xbqPX: } public function getIdNilaiPts($arr_id) { goto ce_c5; H1gyL: cmewe: goto ES6s7; N38xv: if (!$result) { goto cmewe; } goto SNm9F; SNm9F: foreach ($result as $key => $row) { $ret[$row->id_nilai_pts] = $row; fL9Dp: } goto IMz4v; Y41YQ: $result = $this->db->get()->result(); goto kmfh1; ES6s7: return $ret; goto JpT8I; l6GFr: $this->db->where_in("id_nilai_pts", $arr_id); goto Y41YQ; Kx9cG: $this->db->from("rapor_nilai_pts"); goto l6GFr; IMz4v: u1q0o: goto H1gyL; kmfh1: $ret = []; goto N38xv; ce_c5: $this->db->select("id_nilai_pts"); goto Kx9cG; JpT8I: } public function getNilaiPtsKelas($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt) { goto y4kLM; QqoN7: return $this->db->get()->row(); goto h9gEi; y4kLM: $this->db->select("*"); goto b1_lm; zTqda: $this->db->where("id_nilai_pts", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt); goto QqoN7; b1_lm: $this->db->from("rapor_nilai_pts"); goto zTqda; h9gEi: } public function getAllNilaiPtsKelas($id_kelas) { goto h7Z12; HXaR1: $this->db->from("rapor_nilai_pts"); goto E0hdj; cjIr7: return $this->db->get()->result(); goto ihalC; h7Z12: $this->db->select("*"); goto HXaR1; E0hdj: $this->db->where("id_kelas", $id_kelas); goto cjIr7; ihalC: } public function getEkstraKelas($id_mapel, $id_siswa, $id_tp, $id_smt) { goto vpueb; xMVkh: $this->db->where("id_tp", $id_tp); goto vVDHK; iyJuf: $this->db->where("id_siswa", $id_siswa); goto xMVkh; vpueb: $this->db->select("nilai, predikat, deskripsi"); goto i2Xyv; uT3Ue: $this->db->where("id_ekstra", $id_mapel); goto iyJuf; vVDHK: $this->db->where("id_smt", $id_smt); goto c9jvv; c9jvv: return $this->db->get()->row(); goto auaK6; i2Xyv: $this->db->from("rapor_nilai_ekstra"); goto uT3Ue; auaK6: } public function cekNilaiEkstraKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto HnnaP; qvD8_: $this->db->where("id_smt", $id_smt); goto aZJ61; pfdzr: $this->db->where("id_ekstra", $id_mapel); goto zjO3e; lDovY: $this->db->from("rapor_nilai_ekstra"); goto pfdzr; aZJ61: return $this->db->get()->num_rows(); goto aKXWs; HnnaP: $this->db->select("id_nilai_ekstra"); goto lDovY; zjO3e: $this->db->where("id_kelas", $id_kelas); goto SoOtj; SoOtj: $this->db->where("id_tp", $id_tp); goto qvD8_; aKXWs: } public function getNilaiEkstraKelas($id_ekstra, $id_kelas, $id_siswa, $id_tp, $id_smt) { goto wGYgP; wGYgP: $this->db->select("*"); goto bAd34; AlLIW: $this->db->where("id_nilai_ekstra", $id_ekstra . $id_kelas . $id_siswa . $id_tp . $id_smt); goto Gtb67; Gtb67: return $this->db->get()->row(); goto FcU0i; bAd34: $this->db->from("rapor_nilai_ekstra"); goto AlLIW; FcU0i: } public function getAllNilaiEkstraKelas($id_kelas) { goto R6RYc; mKGp6: $this->db->from("rapor_nilai_ekstra"); goto h3crK; FDzUu: return $this->db->get()->result(); goto aQSqL; R6RYc: $this->db->select("*"); goto mKGp6; h3crK: $this->db->where("id_kelas", $id_kelas); goto FDzUu; aQSqL: } public function cekNilaiAkhirKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto S3Hb0; Hfq8W: return $this->db->get()->num_rows(); goto UsB5l; XF8mv: $this->db->from("rapor_nilai_akhir"); goto DVKtu; DVKtu: $this->db->where("id_mapel", $id_mapel); goto plnXd; Gs2lW: $this->db->where("id_tp", $id_tp); goto Ykg6q; plnXd: $this->db->where("id_kelas", $id_kelas); goto Gs2lW; Ykg6q: $this->db->where("id_smt", $id_smt); goto Hfq8W; S3Hb0: $this->db->select("id_nilai_akhir"); goto XF8mv; UsB5l: } public function getNilaiAkhirKelas($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt) { goto SOo_c; Y2TcP: return $this->db->get()->row(); goto OtSuJ; Hvx34: $this->db->from("rapor_nilai_harian a"); goto M3g9Y; HJmtu: $this->db->select("a.p_rata_rata as nhar, a.p_deskripsi, a.k_rata_rata, a.k_predikat, a.k_deskripsi, b.nilai as npts, c.nilai as npas, c.predikat"); goto Hvx34; SOo_c: $this->db->query("SET SQL_BIG_SELECTS=1"); goto HJmtu; M3g9Y: $this->db->join("rapor_nilai_pts b", "b.id_nilai_pts=a.id_nilai_harian", "left"); goto JjlPY; JjlPY: $this->db->join("rapor_nilai_akhir c", "c.id_nilai_akhir=a.id_nilai_harian", "left"); goto pBDt1; pBDt1: $this->db->where("id_nilai_harian", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt); goto Y2TcP; OtSuJ: } public function getAllNilaiAkhirKelas($id_kelas) { goto t1pK9; VY8J1: $this->db->where("id_kelas", $id_kelas); goto ZLQDl; ZLQDl: return $this->db->get()->result(); goto yUZks; t1pK9: $this->db->select("*"); goto S1cGl; S1cGl: $this->db->from("rapor_nilai_akhir"); goto VY8J1; yUZks: } public function getNilaiAkhirByMapel($id_mapel, $id_kelas, $id_tp, $id_smt) { goto JcbUw; N1bH0: $this->db->where("a.id_smt", $id_smt); goto AUdT1; GrTE0: $this->db->select("a.id_siswa, a.p_rata_rata as nhar, a.p_deskripsi, a.k_rata_rata, a.k_predikat, a.k_deskripsi, b.nilai as npts, c.nilai as npas, c.predikat"); goto HAsSW; JcbUw: $this->db->query("SET SQL_BIG_SELECTS=1"); goto GrTE0; F4SCu: $this->db->join("rapor_nilai_akhir c", "c.id_nilai_akhir=a.id_nilai_harian", "left"); goto FxGmM; qRG3P: $this->db->join("rapor_nilai_pts b", "b.id_nilai_pts=a.id_nilai_harian", "left"); goto F4SCu; FxGmM: $this->db->where("a.id_mapel", $id_mapel); goto LDU92; RsmZI: $this->db->where("a.id_tp", $id_tp); goto N1bH0; LDU92: $this->db->where("a.id_kelas", $id_kelas); goto RsmZI; HAsSW: $this->db->from("rapor_nilai_harian a"); goto qRG3P; AUdT1: return $this->db->get()->result(); goto LtJmD; LtJmD: } public function getDeskripsiSikap($kelas, $id_tp, $id_smt) { $this->db->where("id_kelas", $kelas)->where("id_tp", $id_tp)->where("id_smt", $id_smt); return $this->db->get("rapor_data_sikap")->result(); } public function getAllDeskripsiSikap($kelas) { $this->db->where("id_kelas", $kelas); return $this->db->get("rapor_data_sikap")->result(); } public function getDeskripsiSikapByJenis($kelas, $jenis, $id_tp, $id_smt) { goto gKGfJ; ieeZQ: $this->db->from("rapor_data_sikap"); goto u9yeY; C8rqy: $this->db->where("jenis", $jenis); goto kD_DA; gKGfJ: $this->db->select("*"); goto ieeZQ; kD_DA: $this->db->where("id_tp", $id_tp); goto r5FEY; u9yeY: $this->db->where("id_kelas", $kelas); goto C8rqy; r5FEY: $this->db->where("id_smt", $id_smt); goto QVskA; QVskA: return $this->db->get()->result(); goto cxTCl; cxTCl: } public function getNilaiSikapKelas($id_kelas, $id_siswa, $id_tp, $id_smt, $jenis) { goto TmeHV; TmeHV: $this->db->select("*"); goto MzfQS; MzfQS: $this->db->from("rapor_nilai_sikap"); goto xniZM; RMMx5: return $this->db->get()->row(); goto EBVf0; xniZM: $this->db->where("id_nilai_sikap", $id_kelas . $id_siswa . $id_tp . $id_smt . $jenis); goto RMMx5; EBVf0: } public function getAllNilaiSikapKelas($id_kelas) { goto pCEK2; XPcoV: $this->db->from("rapor_nilai_sikap"); goto QJv48; zpmRB: return $this->db->get()->result(); goto xhZn_; pCEK2: $this->db->select("*"); goto XPcoV; QJv48: $this->db->where("id_kelas", $id_kelas); goto zpmRB; xhZn_: } public function getNilaiSikapByJenis($id_kelas, $jenis, $id_tp, $id_smt) { goto sgcE5; Ff0st: $this->db->from("rapor_nilai_sikap"); goto h5Bpy; JvD2T: $this->db->where("id_tp", $id_tp); goto pP8kE; kea8J: return $this->db->get()->result(); goto JWx6C; h5Bpy: $this->db->where("id_kelas", $id_kelas); goto rwiHQ; rwiHQ: $this->db->where("jenis", $jenis); goto JvD2T; sgcE5: $this->db->select("*"); goto Ff0st; pP8kE: $this->db->where("id_smt", $id_smt); goto kea8J; JWx6C: } public function getNilaiSikapByKelas($id_kelas, $id_tp, $id_smt) { goto hdeet; sxIVV: $this->db->where("id_smt", $id_smt); goto l8JHw; hgrKJ: $this->db->from("rapor_nilai_sikap"); goto ziwqQ; l8JHw: return $this->db->get()->result(); goto w_uIj; ziwqQ: $this->db->where("id_kelas", $id_kelas); goto sOCaU; hdeet: $this->db->select("*"); goto hgrKJ; sOCaU: $this->db->where("id_tp", $id_tp); goto sxIVV; w_uIj: } public function getNilaiSikapBySiswa($id_siswa, $id_tp, $id_smt) { goto XSEcK; XSEcK: $this->db->select("*"); goto UJncL; xCMHd: $this->db->where("id_siswa", $id_siswa); goto sWzMG; UJncL: $this->db->from("rapor_nilai_sikap"); goto xCMHd; sWzMG: $this->db->where("id_tp", $id_tp); goto Pn17F; UM4dr: return $this->db->get()->result(); goto bccIk; Pn17F: $this->db->where("id_smt", $id_smt); goto UM4dr; bccIk: } public function getDeskripsiCatatanByJenis($kelas, $jenis, $id_tp, $id_smt) { $this->db->where("jenis", $jenis)->where("id_kelas", $kelas)->where("id_tp", $id_tp)->where("id_smt", $id_smt); return $this->db->get("rapor_data_catatan")->result(); } public function getCatatanKelas($id_kelas, $id_siswa, $id_tp, $id_smt) { goto JE26_; UIAt0: $this->db->from("rapor_catatan_wali"); goto qJbdD; BZdte: return $this->db->get()->row(); goto Ol61R; qJbdD: $this->db->where("id_catatan_wali", $id_kelas . $id_siswa . $id_tp . $id_smt); goto BZdte; JE26_: $this->db->select("*"); goto UIAt0; Ol61R: } public function getAllCatatanKelas($id_kelas) { goto AzxWs; qTphv: return $this->db->get()->result(); goto R4ibf; qCD3Z: $this->db->where("id_kelas", $id_kelas); goto qTphv; AzxWs: $this->db->select("*"); goto haPk5; haPk5: $this->db->from("rapor_catatan_wali"); goto qCD3Z; R4ibf: } public function getRankingKelas($id_kelas, $id_siswa, $id_tp, $id_smt) { goto T6FaG; vHePV: $this->db->from("rapor_prestasi"); goto YOpEm; GQbGv: return $this->db->get()->row(); goto izg0s; YOpEm: $this->db->where("id_ranking", $id_kelas . $id_siswa . $id_tp . $id_smt); goto GQbGv; T6FaG: $this->db->select("*"); goto vHePV; izg0s: } public function getAllRankingKelas($id_kelas) { goto SB7fo; SB7fo: $this->db->select("*"); goto A90hg; Fx3yz: return $this->db->get()->result(); goto qrcAI; A90hg: $this->db->from("rapor_prestasi"); goto LKGC9; LKGC9: $this->db->where("id_kelas", $id_kelas); goto Fx3yz; qrcAI: } public function getAllDeskripsiFisikKelas() { goto MXgUb; S_5g7: ijPmf: goto QHgbG; sFoS6: foreach ($result as $key => $row) { $ret[$row->id_kelas][$row->id_tp][$row->id_smt] = $row; AV4Ir: } goto S_5g7; QHgbG: X_ckW: goto jfNds; MXgUb: $result = $this->db->get("rapor_data_fisik")->result(); goto Sr0vZ; jfNds: return $ret; goto QLm2M; Sr0vZ: $ret = []; goto EKyG0; EKyG0: if (!$result) { goto X_ckW; } goto sFoS6; QLm2M: } public function getAllRaporFisik() { goto bbRY1; LFF7U: fq2ze: goto Mx8KV; cRxH5: foreach ($result as $key => $row) { $ret[$row->id_siswa][$row->id_tp][$row->id_smt] = $row; rQYUI: } goto LFF7U; r0d7B: if (!$result) { goto jctWD; } goto cRxH5; QbNV_: return $ret; goto iQRUX; mLya3: $ret = []; goto r0d7B; bbRY1: $result = $this->db->get("rapor_fisik")->result(); goto mLya3; Mx8KV: jctWD: goto QbNV_; iQRUX: } public function getDeskripsiFisikKelas($kelas, $id_tp, $id_smt) { $this->db->where("id_fisik", $kelas)->where("id_tp", $id_tp)->where("id_smt", $id_smt); return $this->db->get("rapor_data_fisik")->row(); } public function getFisikKelas($id_kelas, $id_siswa, $id_tp, $id_smt) { goto YBIzp; AORgx: return $this->db->get()->row(); goto DCXRv; YBIzp: $this->db->select("*"); goto GEAz4; GEAz4: $this->db->from("rapor_fisik"); goto knHR4; knHR4: $this->db->where("id_fisik", $id_kelas . $id_siswa . $id_tp . $id_smt); goto AORgx; DCXRv: } public function getAllFisikKelas($id_kelas) { goto hTbND; pMar1: return $this->db->get()->result(); goto xiW9A; pFiZW: $this->db->from("rapor_fisik"); goto R3Tyk; R3Tyk: $this->db->where("id_kelas", $id_kelas); goto pMar1; hTbND: $this->db->select("*"); goto pFiZW; xiW9A: } public function getJmlNilaiMapelHarianSiswa($id_mapel, $id_siswa, $id_tp, $id_smt) { goto SI0Er; u6O4e: $this->db->where("id_mapel", $id_mapel); goto HscDa; Ow6TK: $this->db->where("id_smt", $id_smt); goto sA0RQ; Jx6Wd: $this->db->from("rapor_nilai_harian"); goto u6O4e; SI0Er: $this->db->select("p_rata_rata, k_rata_rata, jml"); goto Jx6Wd; sA0RQ: return $this->db->get()->row(); goto YvQUG; OmYen: $this->db->where("id_tp", $id_tp); goto Ow6TK; HscDa: $this->db->where("id_siswa", $id_siswa); goto OmYen; YvQUG: } public function getNilaiMapelHarianSiswa($id_mapel, $id_siswa, $id_tp, $id_smt) { goto r9d_t; wdGKO: $this->db->where("id_tp", $id_tp); goto EOe72; EOe72: $this->db->where("id_smt", $id_smt); goto zSdS6; r9d_t: $this->db->select("p1,p2,p3,p4,p5,k1,k2,k3,k4,k5"); goto PNC5t; OBBbz: $this->db->where("id_mapel", $id_mapel); goto mwh78; mwh78: $this->db->where("id_siswa", $id_siswa); goto wdGKO; zSdS6: return $this->db->get()->row(); goto kW0Ls; PNC5t: $this->db->from("rapor_nilai_harian"); goto OBBbz; kW0Ls: } public function getArrNilaiMapelHarianSiswa($ids_mapel, $ids_siswa, $id_tp, $id_smt) { goto AzSFG; wE2V9: return $rest; goto OiUvg; hD33G: $this->db->where_in("id_siswa", $ids_siswa); goto UFM0z; NtzE6: $this->db->where_in("id_mapel", $ids_mapel); goto hD33G; LS5Yp: $this->db->where("id_smt", $id_smt); goto k7UbO; ZsZOO: $rest = []; goto X6b0i; k7UbO: $nilais = $this->db->get()->result(); goto ZsZOO; ThJp9: qXbYW: goto wE2V9; t35P4: $this->db->from("rapor_nilai_harian"); goto NtzE6; AzSFG: $this->db->select("p1,p2,p3,p4,p5,k1,k2,k3,k4,k5,id_mapel,id_siswa"); goto t35P4; X6b0i: foreach ($nilais as $nilai) { $rest[$nilai->id_siswa][$nilai->id_mapel] = $nilai; XkMDB: } goto ThJp9; UFM0z: $this->db->where("id_tp", $id_tp); goto LS5Yp; OiUvg: } public function getNilaiMapelPtsSiswa($id_mapel, $id_siswa, $id_tp, $id_smt) { goto B2Vbo; nilHn: return $this->db->get()->row(); goto IaaLD; iHWRp: $this->db->where("id_tp", $id_tp); goto xHm7x; B2Vbo: $this->db->select("nilai"); goto w5rYG; gOrKd: $this->db->where("id_mapel", $id_mapel); goto qwayr; w5rYG: $this->db->from("rapor_nilai_pts"); goto gOrKd; qwayr: $this->db->where("id_siswa", $id_siswa); goto iHWRp; xHm7x: $this->db->where("id_smt", $id_smt); goto nilHn; IaaLD: } public function getArrNilaiMapelPtsSiswa($ids_mapel, $ids_siswa, $id_tp, $id_smt) { goto XoOn2; BMcZe: return $rest; goto fY9HC; oLeZB: $this->db->from("rapor_nilai_pts"); goto ys5os; PkF2h: $rest = []; goto RB5Mw; ys5os: $this->db->where_in("id_mapel", $ids_mapel); goto drOCH; E9wP1: $this->db->where("id_tp", $id_tp); goto M2Igo; XoOn2: $this->db->select("nilai, id_mapel, id_siswa"); goto oLeZB; leTqu: $nilais = $this->db->get()->result(); goto PkF2h; M2Igo: $this->db->where("id_smt", $id_smt); goto leTqu; RB5Mw: foreach ($nilais as $nilai) { $rest[$nilai->id_siswa][$nilai->id_mapel] = $nilai; eQJAU: } goto H2q3V; H2q3V: jGG37: goto BMcZe; drOCH: $this->db->where_in("id_siswa", $ids_siswa); goto E9wP1; fY9HC: } public function getNilaiMapelPasSiswa($id_mapel, $id_siswa, $id_tp, $id_smt) { goto S8N_J; WK3Te: $this->db->where("id_siswa", $id_siswa); goto T9rup; OG2zL: $this->db->from("rapor_nilai_akhir"); goto qKvDF; h0WaO: return $this->db->get()->row(); goto YDEJD; S8N_J: $this->db->select("nilai,akhir"); goto OG2zL; dC7JA: $this->db->where("id_smt", $id_smt); goto h0WaO; qKvDF: $this->db->where("id_mapel", $id_mapel); goto WK3Te; T9rup: $this->db->where("id_tp", $id_tp); goto dC7JA; YDEJD: } public function getNilaiRapor($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt) { goto wUyXf; W_fSG: $this->db->where("a.id_nilai_harian", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt); goto sBZcm; wUyXf: $this->db->select("a.p_rata_rata, a.p_deskripsi, a.k_rata_rata, a.k_predikat, a.k_deskripsi, b.nilai as nilai_pas, b.akhir as nilai, b.predikat"); goto ZyUbb; cnD3x: $this->db->join("rapor_nilai_akhir b", "b.id_nilai_akhir=a.id_nilai_harian", "left"); goto W_fSG; sBZcm: return $this->db->get()->row_array(); goto Tj0Nu; ZyUbb: $this->db->from("rapor_nilai_harian a"); goto cnD3x; Tj0Nu: } public function getNilaiMapelByKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto Vhhr1; d6GYG: $this->db->where("a.id_kelas", $id_kelas); goto SfBWh; j8Wjl: $this->db->from("rapor_nilai_harian a"); goto VXgtB; SfBWh: $this->db->where("a.id_tp", $id_tp); goto h5tet; VXgtB: $this->db->join("rapor_nilai_akhir b", "b.id_nilai_akhir=a.id_nilai_harian", "left"); goto eANpy; Vhhr1: $this->db->select("a.p_rata_rata, a.p_deskripsi, a.k_rata_rata, a.k_predikat, a.k_deskripsi, b.nilai as nilai_pas, b.akhir as nilai, b.predikat"); goto j8Wjl; mD2hW: return $this->db->get()->result(); goto WJm6B; h5tet: $this->db->where("a.id_smt", $id_smt); goto mD2hW; eANpy: $this->db->where("a.id_mapel", $id_mapel); goto d6GYG; WJm6B: } public function getNilaiRaporByKelas($id_kelas, $id_tp, $id_smt) { goto mE7U9; AcYXo: $this->db->where("a.id_kelas", $id_kelas); goto Wr0Fa; W7V7T: $this->db->from("rapor_nilai_harian a"); goto sZqJc; bOkRN: return $this->db->get()->result(); goto mldqY; Wr0Fa: $this->db->where("a.id_tp", $id_tp); goto k5BA_; mE7U9: $this->db->select("a.id_nilai_harian, a.id_siswa, a.id_mapel, a.p_rata_rata, a.p_deskripsi, a.k_rata_rata, a.k_predikat, a.k_deskripsi, b.nilai as nilai_pas, b.akhir as nilai, b.predikat"); goto W7V7T; k5BA_: $this->db->where("a.id_smt", $id_smt); goto bOkRN; sZqJc: $this->db->join("rapor_nilai_akhir b", "b.id_nilai_akhir=a.id_nilai_harian", "left"); goto AcYXo; mldqY: } public function getPrestasiByKelas($id_kelas, $id_tp, $id_smt) { goto I3ReM; ZIpR8: $this->db->where("id_smt", $id_smt); goto NYBYi; EFFy9: return $rest; goto EJigI; NYBYi: $ranks = $this->db->get()->result(); goto Xh8iM; I3ReM: $this->db->select("id_siswa, ranking, deskripsi as rank_deskripsi, p1, p1_desk, p2, p2_desk, p3, p3_desk"); goto KvYTU; aGA9c: $this->db->where("id_tp", $id_tp); goto ZIpR8; KvYTU: $this->db->from("rapor_prestasi"); goto LNG7p; Bx2Do: b8ilj: goto EFFy9; Xh8iM: $rest = []; goto Wwn_S; Wwn_S: foreach ($ranks as $rank) { $rest[$rank->id_siswa] = $rank; rp4Np: } goto Bx2Do; LNG7p: $this->db->where("id_kelas", $id_kelas); goto aGA9c; EJigI: } public function getCatatanWaliByKelas($id_kelas, $id_tp, $id_smt) { goto qM2y2; LEJuQ: $this->db->where("id_tp", $id_tp); goto DH9bR; VV0P3: $this->db->where("id_kelas", $id_kelas); goto LEJuQ; FFTjK: $desks = $this->db->get()->result(); goto JxXYy; JxXYy: $rest = []; goto ceHDe; CdKPn: sM3QQ: goto qLtUp; QJyYx: $this->db->from("rapor_catatan_wali"); goto VV0P3; qLtUp: return $rest; goto ZwucT; DH9bR: $this->db->where("id_smt", $id_smt); goto FFTjK; qM2y2: $this->db->select("id_siswa, nilai, deskripsi as saran"); goto QJyYx; ceHDe: foreach ($desks as $desk) { $rest[$desk->id_siswa] = $desk; vbJXj: } goto CdKPn; ZwucT: } public function getRaporDeskripsi($id_kelas, $id_siswa, $id_tp, $id_smt) { goto an42x; u7kgz: $this->db->join("rapor_catatan_wali c", "c.id_catatan_wali=b.id_ranking", "left"); goto bjUo8; an42x: $this->db->select("b.ranking, b.deskripsi as rank_deskripsi, b.p1, b.p1_desk, b.p2, b.p2_desk, b.p3, b.p3_desk," . " c.nilai, c.deskripsi as saran"); goto fQOlX; fQOlX: $this->db->from("rapor_prestasi b"); goto u7kgz; bjUo8: $this->db->where("b.id_ranking", $id_kelas . $id_siswa . $id_tp . $id_smt); goto LoaCh; LoaCh: return $this->db->get()->row(); goto jY4qM; jY4qM: } public function getDummyDeskripsiSpiritual() { return ["berdoa sebelum dan sesudah melakukan kegiatan", "menjalankan ibadah sesuai dengan agamanya", "memberi salam pada saat awal dan akhir kegiatan", "bersyukur atas nikmat dan karunia Tuhan Yang Maha Esa", "mensyukuri kemampuan manusia dalam mengendalikan diri", "bersyukur ketika berhasil mengerjakan sesuatu", "berserah diri (tawakal) kepada Tuhan setelah berikhtiar atau melakukan usaha", "memelihara hubungan baik dengan sesama umat", "bersyukur sebagai bangsa Indonesia", "menghormati orang lain yang menjalankan ibadah sesuai dengan agamanya"]; } public function getDummyDeskripsiSosial() { return ["jujur", "disiplin", "tanggung jawab", "santun", "percaya diri", "peduli", "toleransi", "gotong royong", "rajin", "tidak mudah menyerah"]; } public function getDummyDeskripsiAbsensi() { return ["Kehadiran cukup baik namun perlu ditingkatkan.", "Usahakan hadir setiap hari.", "Jangan terlalu banyak alpa, diharapkan selalu hadir ke sekolah", "Kehadiranmu sangat jarang sekali"]; } public function getDummyDeskripsiCatatan() { return ["Selalu berusaha untuk mematuhi tata tertib sekolah dan patuh terhadap Guru.", "Selalu berusaha untuk mandiri dan tepat waktu dalam mengerjakan tugas.", "Mempunyai kemampuan dan motivasi yang tinggi untuk menggunakan waktu secara efisien.", "Diharapkan merubah penampilannya menjadi lebih rapi, seperti tentang potong rambut dan cara berpakaian.", "Masih perlu memperbanyak teman bergaul dan teman diskusi, kurangi aktifitas menyendiri.", "Diharapkan dapat meningkatkan komitmennya untuk lebih serius saat mengerjakan tugas dan tidak mudah menyerah."]; } public function getDummyDeskripsiRanking() { return ["Prestasinya sangat baik, perlu dipertahankan.", "Prestasi baik, perlu dipertahankan dan dtingkatkan.", "Prestasi cukup, perlu ditingkatkan belajar dan berdoa.", "Perlu ditingkatkan belajarnya, jangan lupa berdoa.", "Perlu dimaksimalkan belajarnya, usaha keras dan berdoa.", "Perlu usaha keras, maksimalkan belajarnya, lebih giat berdoa dan beribadah."]; } public function getDummyDeskripsiFisik($jenis) { goto rGp07; FICW7: if ($jenis == "3") { goto LnA8g; } goto zUgjW; BiyUx: goto ZmJTA; goto L2cbe; hDkUL: return ["Baik", "Sering berair", "Kurang jelas jika melihat jarak jauh", '']; goto BiyUx; zUgjW: return ["Tubuh sehat dan kuat", "Mudah kecapekan", "Kebersihan badan kurang terjaga", '']; goto DQ6l7; nk2_e: goto ZmJTA; goto hizyu; N5ox6: ZmJTA: goto tvFT4; gkvUT: nOyId: goto w7mib; k8IGk: return ["Baik, nampak putih dan bersih", "Terdapat gigi yang gigis", "Kebersihan gigi kurang terjaga", "Ada gigi yang mau tanggal"]; goto N5ox6; D6lWX: if ($jenis == "2") { goto zkWWk; } goto FICW7; w7mib: return ["Baik", "Kurang peka", "Telinga perlu dibersihkan", '']; goto nk2_e; DQ6l7: goto ZmJTA; goto gkvUT; L2cbe: LnA8g: goto k8IGk; hizyu: zkWWk: goto hDkUL; rGp07: if ($jenis == "1") { goto nOyId; } goto D6lWX; tvFT4: } public function getKenaikanSiswa($id_kelas, $id_tp, $id_smt, $level = null) { goto al0WF; iPCgV: $this->db->where("a.id_smt", $id_smt); goto P_JYN; PsE8S: $this->db->select("a.*, b.nama, b.nis, b.nisn, b.username, c.id_kelas, c.nama_kelas, c.level_id, d.naik"); goto lF4be; B9xqf: cOU98: goto dsg8H; HfuZt: $this->db->where("a.id_tp", $id_tp); goto iPCgV; lF4be: $this->db->from("kelas_siswa a"); goto UAIzW; dsg8H: if (!($id_kelas != null)) { goto QekwF; } goto DaG3U; al0WF: $this->db->query("SET SQL_BIG_SELECTS=1"); goto PsE8S; DaG3U: $this->db->where("a.id_kelas", $id_kelas); goto jPwWX; oVyA4: if (!($level != null)) { goto cOU98; } goto YyLko; UAIzW: $this->db->join("master_siswa b", "a.id_siswa=b.id_siswa", "left"); goto KsEEp; ONqwu: $this->db->join("rapor_naik d", "a.id_siswa=d.id_siswa AND a.id_tp=d.id_tp AND a.id_smt=d.id_smt", "left"); goto oVyA4; YyLko: $this->db->where("c.level_id", $level); goto B9xqf; P_JYN: return $this->db->get()->result(); goto b6EHy; KsEEp: $this->db->join("master_kelas c", "a.id_kelas=c.id_kelas", "left"); goto ONqwu; jPwWX: QekwF: goto HfuZt; b6EHy: } public function getSiswaLulus($id_tp, $id_smt, $level) { goto Qtnv2; LTW8q: return $this->db->get()->result(); goto pEk4f; gxdhu: $this->db->where("a.id_smt", $id_smt); goto LTW8q; aHTWJ: $this->db->join("master_kelas c", "a.id_kelas=c.id_kelas", "left"); goto yV3iI; o8T4p: $this->db->select("b.*, c.nama_kelas as kelas_akhir, d.naik"); goto CAoyj; Qtnv2: $this->db->query("SET SQL_BIG_SELECTS=1"); goto o8T4p; seroX: $this->db->join("master_siswa b", "a.id_siswa=b.id_siswa", "left"); goto aHTWJ; Rc2Tl: $this->db->where("c.level_id", $level); goto dnnmi; CAoyj: $this->db->from("kelas_siswa a"); goto seroX; yV3iI: $this->db->join("rapor_naik d", "a.id_siswa=d.id_siswa AND a.id_tp=d.id_tp AND a.id_smt=d.id_smt", "left"); goto Rc2Tl; dnnmi: $this->db->where("a.id_tp", $id_tp); goto gxdhu; pEk4f: } public function getJumlahLulus($id_tp, $id_smt, $level) { goto TA1sI; HVXi3: $this->db->from("kelas_siswa a"); goto o4bvr; fp3jr: $this->db->select("a.*, b.nama, b.nis, b.nisn, b.username, c.id_kelas, c.nama_kelas, c.level_id, d.naik"); goto HVXi3; o4bvr: $this->db->join("master_kelas c", "a.id_kelas=c.id_kelas", "left"); goto p7kl8; p1gua: $this->db->where("a.id_smt", $id_smt); goto FxlPC; sTUBu: $this->db->where("a.id_tp", $id_tp); goto p1gua; vcA6x: $this->db->where("c.level_id", $level); goto sTUBu; TA1sI: $this->db->query("SET SQL_BIG_SELECTS=1"); goto fp3jr; FxlPC: return $this->db->count_all_results(); goto PUzGN; p7kl8: $this->db->join("rapor_naik d", "a.id_siswa=d.id_siswa AND a.id_tp=d.id_tp AND a.id_smt=d.id_smt", "left"); goto vcA6x; PUzGN: } public function getKenaikanRapor($id_kelas, $id_tp, $id_smt) { goto imJLy; x8C9b: $this->db->join("rapor_naik d", "a.id_siswa=d.id_siswa AND a.id_tp=d.id_tp AND a.id_smt=d.id_smt", "left"); goto ZPAav; qRoXt: $this->db->where("a.id_tp", $id_tp); goto T5XqT; av2bT: $this->db->from("kelas_siswa a"); goto x8C9b; uVfI7: foreach ($ress as $res) { $ret[$res->id_siswa] = $res->naik; WTemU: } goto Ezzv5; ZPAav: $this->db->where("a.id_kelas", $id_kelas); goto qRoXt; TXMiA: return $ret; goto ab8LS; qubQu: $ress = $this->db->get()->result(); goto e6tpK; T5XqT: $this->db->where("a.id_smt", $id_smt); goto qubQu; Ezzv5: OLwj7: goto TXMiA; imJLy: $this->db->select("a.id_kelas, a.id_siswa, d.naik"); goto av2bT; e6tpK: $ret = []; goto uVfI7; ab8LS: } public function getAllRaporSetting() { goto Ol9vh; yKvQk: return $ret; goto AyBUu; Ol9vh: $result = $this->db->get("rapor_admin_setting")->result(); goto GO_4f; ELVcq: YdHra: goto yKvQk; GO_4f: $ret = []; goto qj4ak; qj4ak: if (!$result) { goto YdHra; } goto S4lHW; S4lHW: foreach ($result as $key => $row) { $ret[$row->id_tp][$row->id_smt] = $row; qosRG: } goto YxL_C; YxL_C: eIHR7: goto ELVcq; AyBUu: } public function getAllKkm() { goto N5DJ_; IxDZF: WDETP: goto u30ep; woXJ7: foreach ($result as $res) { $ret[$res->id_tp][$res->id_smt][$res->id_kelas][$res->jenis][$res->id_mapel] = $res; TAwis: } goto IxDZF; Oith_: $ret = []; goto woXJ7; u30ep: return $ret; goto qgJdO; N5DJ_: $result = $this->db->get("rapor_kkm")->result(); goto Oith_; qgJdO: } public function getAllKkmRaporAkhir($kelas, $id_tp, $id_smt) { goto Y_D0x; QVBNu: $result = $this->db->get("rapor_kkm")->result(); goto ylyDZ; ylyDZ: $ret = []; goto DZ0kB; v9Pwv: kqgYq: goto V03vz; DZ0kB: foreach ($result as $res) { $ret[$res->jenis][$res->id_mapel] = $res; QhP3p: } goto v9Pwv; V03vz: return $ret; goto ry43X; Y_D0x: $this->db->where("id_kelas", $kelas)->where("id_tp", $id_tp)->where("id_smt", $id_smt); goto QVBNu; ry43X: } public function getAllNilaiAkhir() { goto qsYAV; ZIXpS: LWgb2: goto alddj; YmI3g: $this->db->select("a.id_tp, a.id_smt, a.id_siswa, a.p_rata_rata as nhar, a.p_deskripsi, a.k_rata_rata," . " a.k_predikat, a.k_deskripsi, b.nilai as npts, c.nilai as npas, c.predikat"); goto EVbW4; T_1lF: foreach ($result as $res) { $ret[$res->id_tp][$res->id_smt][$res->id_siswa] = $res; AmahR: } goto ZIXpS; alddj: return $ret; goto E75Db; oGYPO: $result = $this->db->get()->result(); goto ngzUi; ngzUi: $ret = []; goto T_1lF; seA_Y: $this->db->join("rapor_nilai_pts b", "b.id_nilai_pts=a.id_nilai_harian", "left"); goto JIpaO; JIpaO: $this->db->join("rapor_nilai_akhir c", "c.id_nilai_akhir=a.id_nilai_harian", "left"); goto oGYPO; qsYAV: $this->db->query("SET SQL_BIG_SELECTS=1"); goto YmI3g; EVbW4: $this->db->from("rapor_nilai_harian a"); goto seA_Y; E75Db: } public function getDistinctTahunBukuNilai() { goto fpA0b; oOAXS: $ret = []; goto fb4r1; HvC3T: return $ret; goto XiEzd; fpA0b: $this->db->select("tp"); goto UvCY9; UvCY9: $this->db->distinct(); goto HNVhK; fb4r1: foreach ($result as $row) { $ret[$row->tp] = $row->tp; ZYeqG: } goto FSJD5; FSJD5: HUi0X: goto HvC3T; HNVhK: $result = $this->db->get("buku_nilai")->result(); goto oOAXS; XiEzd: } public function getDistinctSmtBukuNilai() { goto Mfbbw; fgZMz: $this->db->distinct(); goto Uus6w; q500X: R_oHo: goto oN_v8; Uus6w: $result = $this->db->get("buku_nilai")->result(); goto wr5Wm; wr5Wm: $ret = []; goto Hswlz; oN_v8: return $ret; goto S2R_i; Mfbbw: $this->db->select("smt"); goto fgZMz; Hswlz: foreach ($result as $row) { $ret[$row->smt] = $row->smt; VzY82: } goto q500X; S2R_i: } public function getDistinctKelasBukuNilai() { goto Fpf2s; Fpf2s: $this->db->select("kelas"); goto EurJx; zd0Cy: $ret = []; goto qOxJ_; EurJx: $this->db->distinct(); goto F08fZ; hudBO: return $ret; goto WFVyF; qOxJ_: foreach ($result as $row) { $ret[$row->kelas] = $row->kelas; XikMZ: } goto d7syI; d7syI: Lm6Sh: goto hudBO; F08fZ: $result = $this->db->get("buku_nilai")->result(); goto zd0Cy; WFVyF: } public function getFisikBySiswa($id_siswa) { goto RpEL3; cpJ0e: foreach ($result as $key => $row) { $ret[$row->tp] = $row; RV5A8: } goto Mas_3; Mas_3: NUqLu: goto gPT4G; ec32Q: $result = $this->db->get()->result(); goto AV3N7; gPT4G: So4RV: goto kJMpz; HfXSn: $this->db->where("id_siswa", $id_siswa); goto ec32Q; zZtiQ: $this->db->from("buku_nilai"); goto HfXSn; C5B88: if (!$result) { goto So4RV; } goto cpJ0e; AV3N7: $ret = []; goto C5B88; RpEL3: $this->db->select("tp, fisik"); goto zZtiQ; kJMpz: return $ret; goto l2Xb8; l2Xb8: } public function getDataKumpulanRapor($kelas = null, $tp = null, $smt = null) { goto OBUiJ; OAE0d: $this->db->where("a.tp", $tp); goto OjPHO; iXHAl: if (!($smt != null)) { goto fBsc5; } goto DnNPX; rtKbQ: return $ret; goto G8PLt; CQB9D: A4h_k: goto NTGCm; OjPHO: m7xx_: goto iXHAl; ym1fU: TE5a6: goto rtKbQ; Woabg: foreach ($result as $key => $row) { $ret[$row->id_siswa] = $row; rjcUM: } goto r0qrc; qWRne: $this->db->from("buku_nilai a"); goto nx_wy; BEsXH: fBsc5: goto V1bZN; Ccs01: $ret = []; goto lYWo6; SV2LF: if (!($tp != null)) { goto m7xx_; } goto OAE0d; V1bZN: if (!($kelas != null)) { goto A4h_k; } goto spdVv; OBUiJ: $this->db->select("*"); goto qWRne; nx_wy: $this->db->join("master_siswa b", "a.id_siswa=b.id_siswa"); goto SV2LF; spdVv: $this->db->where("a.kelas", $kelas); goto CQB9D; DnNPX: $this->db->where("a.smt", $smt); goto BEsXH; lYWo6: if (!$result) { goto TE5a6; } goto Woabg; NTGCm: $result = $this->db->get()->result(); goto Ccs01; r0qrc: Su_Y4: goto ym1fU; G8PLt: } public function deleteNilaiRapor() { goto LqZ0M; LqZ0M: $this->db->empty_table("rapor_nilai_harian"); goto xvZQ3; Weyg8: $this->db->empty_table("rapor_naik"); goto hjpcA; ust3w: $this->db->empty_table("rapor_nilai_ekstra"); goto gextU; hjpcA: $this->db->empty_table("rapor_nilai_pts"); goto Z3cyR; xvZQ3: $this->db->empty_table("rapor_nilai_akhir"); goto Weyg8; gextU: $this->db->empty_table("rapor_nilai_sikap"); goto nP9Qf; p375r: $this->db->empty_table("rapor_fisik"); goto ust3w; tS3fc: $this->db->empty_table("rapor_catatan_wali"); goto p375r; Z3cyR: $this->db->empty_table("rapor_prestasi"); goto tS3fc; nP9Qf: } public function getAllNilaiRapor($ids_siswa = null) { goto bq_WS; PiuOz: $this->db->join("master_mapel p", "a.id_mapel=p.id_mapel", "left"); goto PJi0C; sZUP9: $this->db->join("master_smt d", "d.id_smt=a.id_smt", "left"); goto f8fTr; Pmp5P: return $result; goto Vhd6N; pd4qW: $this->db->from("rapor_nilai_harian a"); goto FPwNa; FPwNa: $this->db->join("rapor_nilai_akhir b", "b.id_nilai_akhir=a.id_nilai_harian", "left"); goto C4mnv; C4mnv: $this->db->join("master_tp c", "c.id_tp=a.id_tp", "left"); goto sZUP9; p89R9: $this->db->join("rapor_naik f", "a.id_siswa=f.id_siswa AND a.id_tp=f.id_tp AND a.id_smt=f.id_smt", "left"); goto uZXTa; xS9wM: namAA: goto TrsJS; BGFzd: $this->db->join("rapor_prestasi l", "a.id_siswa=l.id_siswa AND a.id_tp=l.id_tp AND a.id_smt=l.id_smt", "left"); goto a3NHn; HcZ0u: $this->db->join("jabatan_guru j", "a.id_kelas=j.id_kelas AND a.id_tp=j.id_tp AND a.id_smt=j.id_smt", "left"); goto bCubE; TrsJS: $result = $this->db->get()->result(); goto Pmp5P; a3NHn: $this->db->join("rapor_catatan_wali m", "a.id_siswa=m.id_siswa AND a.id_tp=m.id_tp AND a.id_smt=m.id_smt", "left"); goto nhSJD; wLrGg: $this->db->join("master_jurusan i", "h.jurusan_id=i.id_jurusan", "left"); goto HcZ0u; nhSJD: $this->db->join("rapor_fisik n", "a.id_siswa=n.id_siswa AND a.id_tp=n.id_tp AND a.id_smt=n.id_smt", "left"); goto PiuOz; bq_WS: $this->db->query("SET SQL_BIG_SELECTS=1"); goto bqh9m; uZXTa: $this->db->join("rapor_nilai_pts g", "g.id_nilai_pts=a.id_nilai_harian", "left"); goto hJUc0; hJUc0: $this->db->join("master_kelas h", "a.id_kelas=h.id_kelas AND a.id_tp=h.id_tp AND a.id_smt=h.id_smt", "left"); goto wLrGg; YFvdH: $this->db->where_in("a.id_siswa", $ids_siswa); goto xS9wM; f8fTr: $this->db->join("master_siswa e", "e.id_siswa=a.id_siswa", "left"); goto p89R9; PJi0C: if (!($ids_siswa != null)) { goto namAA; } goto YFvdH; bqh9m: $this->db->select("a.id_tp, a.id_smt, a.id_mapel, a.id_siswa, a.p_rata_rata, a.p_predikat, a.p_deskripsi," . " a.k_rata_rata, a.k_predikat, a.k_deskripsi," . " b.nilai as nilai_pas, b.akhir as nilai_rapor, b.predikat as rapor_predikat," . " c.*, d.*, e. nama, e.uid, f.naik," . " g.nilai as nilai_pts, g.predikat as pts_predikat," . " h. id_kelas, h.nama_kelas, h.level_id, i.nama_jurusan, k.nama_guru," . " l.ranking, l.deskripsi as rank_deskripsi, l.p1, l.p1_desk, l.p2, l.p2_desk, l.p3, l.p3_desk," . " m.nilai as absen, m.deskripsi as saran, n.kondisi, n.tinggi, n.berat, p.kode as mapel"); goto pd4qW; bCubE: $this->db->join("master_guru k", "j.id_guru=k.id_guru", "left"); goto BGFzd; Vhd6N: } public function getAllEkstra() { goto U0paU; QyBQ5: $this->db->from("kelas_ekstra"); goto igbnv; EH3jR: return $ret; goto oqzw5; jeoTe: $ret = []; goto bEgl4; RPti0: foreach ($result as $key => $row) { $ret[$row->id_tp][$row->id_smt][$row->id_kelas] = unserialize($row->ekstra); om1W5: } goto LCh0T; U0paU: $this->db->select("*"); goto QyBQ5; zwFcF: AaNdg: goto EH3jR; igbnv: $result = $this->db->get()->result(); goto jeoTe; LCh0T: gbg0G: goto zwFcF; bEgl4: if (!$result) { goto AaNdg; } goto RPti0; oqzw5: } public function getAllNilaiEkstra($ids_siswa = null) { goto WLg8F; D2fqe: $this->db->join("master_ekstra b", "a.id_ekstra=b.id_ekstra", "left"); goto tXFwN; cicHQ: return $ret; goto WmUiN; d2Drj: $result = $this->db->get()->result(); goto D4TbZ; ZMWWV: $this->db->where_in("a.id_siswa", $ids_siswa); goto Url_J; szB2M: $this->db->from("rapor_nilai_ekstra a"); goto D2fqe; NdceK: foreach ($result as $res) { $ret[$res->id_tp][$res->id_smt][$res->id_siswa][] = $res; PxtvH: } goto HHzqj; tXFwN: if (!($ids_siswa != null)) { goto zvWoi; } goto ZMWWV; WLg8F: $this->db->select("a.*, b.nama_ekstra, b.kode_ekstra"); goto szB2M; Url_J: zvWoi: goto d2Drj; HHzqj: m104I: goto cicHQ; D4TbZ: $ret = []; goto NdceK; WmUiN: } public function getAllNilaiSikap($ids_siswa = null) { goto Uc8wW; qyYO_: $this->db->where_in("id_siswa", $ids_siswa); goto uSkWd; Ax8ne: if (!($ids_siswa != null)) { goto H2w5d; } goto qyYO_; NTZ50: $ret = []; goto Q18MD; TyFWk: $this->db->from("rapor_nilai_sikap"); goto Ax8ne; Kfh4q: return $ret; goto oxpFE; Q18MD: foreach ($result as $res) { $ret[$res->id_tp][$res->id_smt][$res->id_siswa][$res->jenis] = $res; SKktS: } goto cfcG6; uSkWd: H2w5d: goto IxLNG; Uc8wW: $this->db->select("*"); goto TyFWk; cfcG6: TYFQ9: goto Kfh4q; IxLNG: $result = $this->db->get()->result(); goto NTZ50; oxpFE: } public function getAllFisik($ids_siswa = null) { goto N4OlI; jSAPX: $this->db->where_in("id_siswa", $ids_siswa); goto xV9Bq; pkt_f: foreach ($result as $res) { $ret[$res->id_siswa][$res->id_tp][$res->id_smt] = $res; oi8oK: } goto ZJlDv; kQbBM: $this->db->from("rapor_fisik"); goto uUiqt; jzNwW: $result = $this->db->get()->result(); goto sKxQu; ZehQW: return $ret; goto GgwKP; sKxQu: $ret = []; goto pkt_f; xV9Bq: b3wa7: goto jzNwW; uUiqt: if (!($ids_siswa != null)) { goto b3wa7; } goto jSAPX; ZJlDv: odHjz: goto ZehQW; N4OlI: $this->db->select("id_tp, id_smt, id_siswa, kondisi, tinggi, berat"); goto kQbBM; GgwKP: } function exists($uid, $tp, $smt, $kelas) { goto jWGnm; AKAlW: return false; goto qn7_j; Fob7L: MuyUe: goto jAhtr; Uqcz7: if ($query->num_rows() > 0) { goto CZ8tT; } goto AKAlW; X1K_b: return true; goto Fob7L; tUiRU: CZ8tT: goto X1K_b; pX2Qn: $query = $this->db->get("buku_nilai"); goto Uqcz7; jWGnm: $this->db->where("uid", $uid)->where("tp", $tp)->where("smt", $smt)->where("kelas", $kelas); goto pX2Qn; qn7_j: goto MuyUe; goto tUiRU; jAhtr: } }
?>
Did this file decode correctly?
Original Code
<?php
/* ________________________________________
| GarudaCBT |
| https://github.com/garudacbt/cbt |
|________________________________________|
*/
class Rapor_model extends CI_Model { public function getKikdMapel($id, $id_tp, $id_smt) { $this->db->where("\151\x64\137\153\x69\153\x64", $id)->where("\x69\144\137\x74\x70", $id_tp)->where("\151\x64\x5f\x73\155\164", $id_smt); return $this->db->get("\x72\141\x70\157\162\137\153\x69\153\x64")->row(); } public function getKikdMapelKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { $this->db->where("\x69\x64\x5f\x6d\x61\160\x65\x6c\137\x6b\x65\x6c\x61\163", $id_mapel . $id_kelas)->where("\x69\x64\137\164\x70", $id_tp)->where("\x69\x64\137\x73\x6d\x74", $id_smt); return $this->db->get("\x72\x61\160\x6f\x72\x5f\x6b\151\x6b\144")->result(); } public function getKkm($id) { $this->db->where("\x69\x64\x5f\153\x6b\x6d", $id); return $this->db->get("\x72\x61\160\x6f\162\x5f\153\153\x6d")->row(); } public function getArrKkm($ids) { goto Iijaq; ne4m7: if (!$result) { goto Bkbzv; } goto r89Wm; En7Bz: cFJ1E: goto HgOsM; IWUPy: return $ret; goto wQghC; HgOsM: Bkbzv: goto IWUPy; Iijaq: $this->db->where_in("\151\x64\x5f\x6b\x6b\155", $ids); goto WVRKJ; WVRKJ: $result = $this->db->get("\162\x61\x70\x6f\162\137\153\153\155")->result(); goto jHOWG; r89Wm: foreach ($result as $key => $row) { $ret[$row->id_mapel] = $row; ngen1: } goto En7Bz; jHOWG: $ret = []; goto ne4m7; wQghC: } public function getRaporSetting($id_tp, $id_smt) { $this->db->where("\151\x64\137\164\160", $id_tp)->where("\x69\x64\137\163\155\164", $id_smt); return $this->db->get("\x72\x61\160\157\x72\x5f\141\x64\155\x69\x6e\x5f\163\145\x74\164\x69\156\147")->row(); } public function getDetailSiswa($id_kelas, $id_tp, $id_smt) { goto CZf9G; CZf9G: $this->db->query("\x53\x45\124\40\x53\121\x4c\x5f\102\x49\107\x5f\123\x45\114\105\103\124\123\75\61"); goto VyQfA; lthHE: $this->db->where("\x61\x2e\151\x64\137\153\x65\154\x61\163", $id_kelas); goto amuiz; F3VM4: $this->db->join("\155\141\x73\164\145\162\137\x6b\x65\x6c\x61\x73\x20\143", "\x61\56\x69\144\137\153\145\154\141\163\x3d\x63\56\151\x64\137\153\x65\154\x61\163"); goto lthHE; DY3KI: $this->db->join("\x6d\x61\x73\x74\x65\162\x5f\x73\x69\163\167\141\40\x62", "\x61\x2e\151\144\x5f\163\151\x73\167\x61\75\x62\56\151\144\x5f\163\151\x73\x77\x61"); goto F3VM4; amuiz: $this->db->where("\x61\x2e\x69\x64\x5f\x74\160", $id_tp); goto IOzKQ; p8lMX: return $this->db->get()->result(); goto WvXJ3; ui3xl: $this->db->order_by("\142\x2e\156\x61\x6d\x61", "\101\123\x43"); goto p8lMX; IOzKQ: $this->db->where("\141\56\x69\144\x5f\x73\155\x74", $id_smt); goto ui3xl; VyQfA: $this->db->select("\x61\x2e\52\x2c\40\142\x2e\52\54\40\143\56\52"); goto EHAH3; EHAH3: $this->db->from("\x6b\x65\154\x61\163\137\163\151\x73\167\x61\40\141"); goto DY3KI; WvXJ3: } public function getDetailSiswaById($id_siswa, $id_tp, $id_smt) { goto ptGHn; hLclg: $this->db->join("\153\x65\154\x61\163\x5f\x73\x69\163\x77\141\40\142", "\141\56\151\x64\x5f\163\151\163\167\141\x3d\142\56\151\144\x5f\163\151\163\167\x61"); goto ChZI8; JplvD: $this->db->where("\142\56\151\144\x5f\164\160", $id_tp); goto PVerv; ptGHn: $this->db->query("\123\x45\124\40\123\x51\114\137\102\x49\107\x5f\x53\x45\114\x45\103\124\x53\75\61"); goto zZQd_; zif1A: return $this->db->get()->row(); goto gkuMH; SuQiP: $this->db->where("\141\56\x69\x64\x5f\163\151\x73\167\141", $id_siswa); goto JplvD; ChZI8: $this->db->join("\155\141\163\x74\145\x72\137\153\145\x6c\141\x73\x20\143", "\142\x2e\151\x64\137\x6b\x65\x6c\x61\163\x3d\x63\x2e\151\144\137\153\145\154\x61\x73"); goto SuQiP; PVerv: $this->db->where("\142\x2e\151\x64\x5f\x73\155\164", $id_smt); goto ClJ51; zZQd_: $this->db->select("\141\x2e\156\x61\x6d\141\x2c\x20\x61\56\156\x69\x73\54\x20\141\56\x6e\151\163\156\x2c\40\143\56\156\141\155\x61\137\x6b\x65\x6c\141\x73"); goto abfQ3; ClJ51: $this->db->order_by("\x61\x2e\x6e\141\x6d\141", "\x41\123\103"); goto zif1A; abfQ3: $this->db->from("\x6d\141\163\164\145\162\x5f\x73\x69\x73\167\141\x20\x61"); goto hLclg; gkuMH: } public function cekNilaiHarianKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto xMIBU; y7xww: $this->db->where("\x70\x5f\162\x61\164\x61\137\x72\141\x74\x61\40\41\x3d", "\116\x55\x4c\114"); goto EAlrJ; hxSQK: $this->db->from("\x72\x61\160\x6f\x72\137\x6e\151\154\141\151\137\x68\x61\162\x69\x61\x6e"); goto SX8vE; iBB8S: $this->db->where("\151\144\137\x74\160", $id_tp); goto dZxDC; EAlrJ: return $this->db->get()->num_rows(); goto rbEiS; xMIBU: $this->db->select("\x70\137\162\141\164\x61\x5f\162\141\164\x61"); goto hxSQK; dZxDC: $this->db->where("\151\144\x5f\x73\x6d\164", $id_smt); goto y7xww; SX8vE: $this->db->where("\x69\x64\137\x6d\141\160\145\x6c", $id_mapel); goto eOK__; eOK__: $this->db->where("\x69\x64\137\153\x65\154\x61\163", $id_kelas); goto iBB8S; rbEiS: } public function getNilaiHarianKelas($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt) { goto qk_kA; b10GT: return $this->db->get()->row(); goto uQIiC; nBq92: $this->db->from("\x72\x61\160\x6f\162\x5f\x6e\x69\154\x61\151\x5f\150\x61\x72\151\141\x6e"); goto zh5jO; zh5jO: $this->db->where("\151\144\x5f\156\151\x6c\x61\x69\x5f\x68\x61\x72\151\x61\156", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt); goto b10GT; qk_kA: $this->db->select("\x2a"); goto nBq92; uQIiC: } public function getAllNilaiHarianKelas($id_kelas) { goto uFjJN; XvKK0: return $this->db->get()->result(); goto jkpWf; in1Ft: $this->db->where("\x69\144\x5f\153\145\154\x61\163", $id_kelas); goto XvKK0; FiJei: $this->db->from("\162\x61\160\157\162\137\x6e\151\154\141\151\x5f\x68\x61\x72\x69\141\156"); goto in1Ft; uFjJN: $this->db->select("\52"); goto FiJei; jkpWf: } public function cekNilaiPtsKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto qrTG8; NkdXz: $this->db->where("\151\144\x5f\164\160", $id_tp); goto y0xV4; rioYG: $this->db->where("\x69\144\x5f\x6d\x61\x70\145\154", $id_mapel); goto FOcXN; DISpE: $this->db->where("\160\x72\145\x64\x69\x6b\x61\x74\x20\x21\x3d", "\116\125\x4c\114"); goto vx9t7; qrTG8: $this->db->select("\x70\162\x65\x64\x69\153\x61\x74"); goto Ag66l; Ag66l: $this->db->from("\x72\x61\x70\x6f\162\137\156\151\x6c\141\x69\137\160\x74\163"); goto rioYG; y0xV4: $this->db->where("\x69\144\x5f\x73\x6d\x74", $id_smt); goto DISpE; FOcXN: $this->db->where("\151\144\x5f\x6b\x65\x6c\141\x73", $id_kelas); goto NkdXz; vx9t7: return $this->db->get()->num_rows(); goto xbqPX; xbqPX: } public function getIdNilaiPts($arr_id) { goto ce_c5; H1gyL: cmewe: goto ES6s7; N38xv: if (!$result) { goto cmewe; } goto SNm9F; SNm9F: foreach ($result as $key => $row) { $ret[$row->id_nilai_pts] = $row; fL9Dp: } goto IMz4v; Y41YQ: $result = $this->db->get()->result(); goto kmfh1; ES6s7: return $ret; goto JpT8I; l6GFr: $this->db->where_in("\x69\x64\x5f\x6e\151\154\141\x69\x5f\160\164\163", $arr_id); goto Y41YQ; Kx9cG: $this->db->from("\x72\x61\x70\x6f\162\137\x6e\151\154\141\151\137\160\164\x73"); goto l6GFr; IMz4v: u1q0o: goto H1gyL; kmfh1: $ret = []; goto N38xv; ce_c5: $this->db->select("\151\x64\x5f\156\x69\x6c\141\151\137\160\164\163"); goto Kx9cG; JpT8I: } public function getNilaiPtsKelas($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt) { goto y4kLM; QqoN7: return $this->db->get()->row(); goto h9gEi; y4kLM: $this->db->select("\x2a"); goto b1_lm; zTqda: $this->db->where("\151\x64\137\156\151\154\141\151\x5f\x70\164\x73", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt); goto QqoN7; b1_lm: $this->db->from("\162\x61\160\x6f\x72\x5f\156\x69\154\141\151\x5f\x70\x74\x73"); goto zTqda; h9gEi: } public function getAllNilaiPtsKelas($id_kelas) { goto h7Z12; HXaR1: $this->db->from("\162\141\160\157\162\x5f\x6e\151\x6c\x61\x69\x5f\x70\x74\163"); goto E0hdj; cjIr7: return $this->db->get()->result(); goto ihalC; h7Z12: $this->db->select("\52"); goto HXaR1; E0hdj: $this->db->where("\151\144\x5f\153\x65\154\141\x73", $id_kelas); goto cjIr7; ihalC: } public function getEkstraKelas($id_mapel, $id_siswa, $id_tp, $id_smt) { goto vpueb; xMVkh: $this->db->where("\x69\144\137\x74\x70", $id_tp); goto vVDHK; iyJuf: $this->db->where("\x69\144\137\x73\x69\163\x77\x61", $id_siswa); goto xMVkh; vpueb: $this->db->select("\156\151\x6c\141\x69\54\40\160\x72\x65\144\151\153\141\164\x2c\40\x64\145\x73\x6b\x72\151\160\x73\151"); goto i2Xyv; uT3Ue: $this->db->where("\151\x64\137\145\x6b\x73\164\162\141", $id_mapel); goto iyJuf; vVDHK: $this->db->where("\151\x64\x5f\x73\x6d\x74", $id_smt); goto c9jvv; c9jvv: return $this->db->get()->row(); goto auaK6; i2Xyv: $this->db->from("\x72\x61\160\x6f\162\x5f\156\151\154\141\x69\x5f\x65\153\x73\x74\x72\141"); goto uT3Ue; auaK6: } public function cekNilaiEkstraKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto HnnaP; qvD8_: $this->db->where("\x69\144\137\x73\155\164", $id_smt); goto aZJ61; pfdzr: $this->db->where("\151\x64\x5f\x65\153\163\164\162\x61", $id_mapel); goto zjO3e; lDovY: $this->db->from("\162\141\x70\x6f\x72\x5f\156\x69\154\x61\x69\137\145\153\163\x74\x72\x61"); goto pfdzr; aZJ61: return $this->db->get()->num_rows(); goto aKXWs; HnnaP: $this->db->select("\151\x64\137\156\151\154\x61\x69\137\x65\x6b\x73\x74\162\141"); goto lDovY; zjO3e: $this->db->where("\151\144\x5f\x6b\145\x6c\x61\x73", $id_kelas); goto SoOtj; SoOtj: $this->db->where("\x69\144\x5f\164\160", $id_tp); goto qvD8_; aKXWs: } public function getNilaiEkstraKelas($id_ekstra, $id_kelas, $id_siswa, $id_tp, $id_smt) { goto wGYgP; wGYgP: $this->db->select("\52"); goto bAd34; AlLIW: $this->db->where("\x69\144\x5f\156\x69\154\141\151\x5f\x65\153\x73\x74\x72\141", $id_ekstra . $id_kelas . $id_siswa . $id_tp . $id_smt); goto Gtb67; Gtb67: return $this->db->get()->row(); goto FcU0i; bAd34: $this->db->from("\x72\141\x70\157\x72\x5f\156\x69\x6c\x61\151\x5f\x65\x6b\x73\x74\x72\141"); goto AlLIW; FcU0i: } public function getAllNilaiEkstraKelas($id_kelas) { goto R6RYc; mKGp6: $this->db->from("\162\x61\160\x6f\162\x5f\156\151\154\x61\151\137\145\153\x73\x74\162\141"); goto h3crK; FDzUu: return $this->db->get()->result(); goto aQSqL; R6RYc: $this->db->select("\52"); goto mKGp6; h3crK: $this->db->where("\x69\144\x5f\x6b\145\154\141\163", $id_kelas); goto FDzUu; aQSqL: } public function cekNilaiAkhirKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto S3Hb0; Hfq8W: return $this->db->get()->num_rows(); goto UsB5l; XF8mv: $this->db->from("\x72\x61\160\x6f\162\x5f\156\151\x6c\141\x69\x5f\x61\x6b\x68\x69\x72"); goto DVKtu; DVKtu: $this->db->where("\x69\x64\x5f\x6d\x61\x70\145\154", $id_mapel); goto plnXd; Gs2lW: $this->db->where("\151\x64\x5f\164\x70", $id_tp); goto Ykg6q; plnXd: $this->db->where("\151\x64\137\x6b\145\x6c\141\163", $id_kelas); goto Gs2lW; Ykg6q: $this->db->where("\151\x64\x5f\x73\155\164", $id_smt); goto Hfq8W; S3Hb0: $this->db->select("\x69\x64\137\156\151\x6c\141\x69\x5f\141\x6b\150\x69\162"); goto XF8mv; UsB5l: } public function getNilaiAkhirKelas($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt) { goto SOo_c; Y2TcP: return $this->db->get()->row(); goto OtSuJ; Hvx34: $this->db->from("\162\141\x70\157\162\137\x6e\151\x6c\141\x69\137\x68\141\x72\x69\x61\156\x20\x61"); goto M3g9Y; HJmtu: $this->db->select("\141\56\x70\x5f\162\x61\164\141\x5f\162\141\164\141\40\141\x73\40\x6e\150\141\162\x2c\40\x61\x2e\160\x5f\x64\x65\x73\153\x72\151\160\x73\x69\x2c\40\x61\x2e\x6b\x5f\162\141\x74\141\137\x72\141\164\x61\x2c\40\141\x2e\x6b\137\160\162\145\x64\x69\153\141\164\54\40\x61\x2e\153\x5f\x64\x65\163\153\x72\151\160\x73\151\54\x20\142\56\156\x69\x6c\141\x69\x20\141\x73\x20\x6e\160\164\163\x2c\40\143\x2e\156\x69\154\x61\x69\x20\x61\x73\x20\x6e\160\141\163\54\40\x63\x2e\x70\x72\145\x64\x69\153\x61\164"); goto Hvx34; SOo_c: $this->db->query("\123\x45\124\x20\123\121\x4c\x5f\102\111\107\x5f\123\x45\114\x45\103\x54\x53\75\61"); goto HJmtu; M3g9Y: $this->db->join("\x72\141\160\x6f\x72\x5f\156\151\x6c\141\151\x5f\x70\x74\163\40\x62", "\x62\56\151\144\x5f\x6e\x69\154\x61\151\x5f\160\164\x73\75\x61\56\x69\x64\137\156\x69\154\141\x69\x5f\x68\141\x72\151\x61\x6e", "\154\x65\x66\164"); goto JjlPY; JjlPY: $this->db->join("\x72\141\x70\x6f\x72\x5f\x6e\x69\154\x61\151\137\141\153\150\151\x72\x20\143", "\143\56\x69\144\x5f\156\151\x6c\141\151\x5f\141\153\150\151\x72\x3d\x61\56\x69\x64\x5f\156\151\x6c\x61\x69\137\x68\x61\162\x69\141\x6e", "\x6c\x65\146\164"); goto pBDt1; pBDt1: $this->db->where("\151\x64\x5f\156\x69\x6c\141\x69\x5f\x68\x61\162\151\141\156", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt); goto Y2TcP; OtSuJ: } public function getAllNilaiAkhirKelas($id_kelas) { goto t1pK9; VY8J1: $this->db->where("\x69\x64\x5f\x6b\x65\154\141\x73", $id_kelas); goto ZLQDl; ZLQDl: return $this->db->get()->result(); goto yUZks; t1pK9: $this->db->select("\x2a"); goto S1cGl; S1cGl: $this->db->from("\162\141\x70\157\162\137\156\x69\x6c\141\151\137\x61\x6b\x68\x69\162"); goto VY8J1; yUZks: } public function getNilaiAkhirByMapel($id_mapel, $id_kelas, $id_tp, $id_smt) { goto JcbUw; N1bH0: $this->db->where("\141\56\x69\x64\137\163\x6d\164", $id_smt); goto AUdT1; GrTE0: $this->db->select("\x61\x2e\x69\144\x5f\x73\x69\163\167\x61\54\40\141\x2e\160\137\162\141\x74\x61\x5f\162\x61\x74\x61\x20\x61\x73\x20\156\x68\141\x72\x2c\40\x61\x2e\x70\137\x64\x65\163\153\x72\x69\x70\163\x69\x2c\x20\141\56\153\x5f\162\141\x74\x61\x5f\162\x61\164\141\54\x20\x61\56\x6b\137\x70\x72\145\x64\151\153\141\x74\54\40\x61\x2e\153\137\x64\x65\x73\x6b\x72\151\160\x73\x69\x2c\x20\142\x2e\x6e\x69\154\x61\x69\x20\141\163\x20\x6e\160\164\163\54\x20\143\56\x6e\151\154\141\x69\x20\x61\163\x20\156\x70\141\163\x2c\x20\143\56\x70\x72\x65\144\151\153\141\x74"); goto HAsSW; JcbUw: $this->db->query("\x53\x45\124\x20\123\121\114\x5f\102\x49\x47\137\x53\x45\x4c\105\x43\124\x53\75\x31"); goto GrTE0; F4SCu: $this->db->join("\162\x61\x70\x6f\x72\137\x6e\151\x6c\141\151\x5f\141\153\150\151\x72\40\143", "\x63\56\151\144\137\156\151\154\x61\151\x5f\141\x6b\150\151\x72\75\141\56\x69\144\x5f\x6e\151\154\141\151\137\150\x61\162\x69\x61\x6e", "\154\145\x66\164"); goto FxGmM; qRG3P: $this->db->join("\162\141\x70\157\x72\137\156\x69\x6c\x61\x69\x5f\160\x74\x73\x20\x62", "\x62\56\151\144\x5f\x6e\151\154\141\x69\x5f\x70\164\x73\x3d\141\x2e\x69\144\137\x6e\x69\154\x61\x69\x5f\x68\x61\x72\151\141\x6e", "\x6c\x65\x66\164"); goto F4SCu; FxGmM: $this->db->where("\x61\x2e\151\144\x5f\x6d\x61\x70\145\x6c", $id_mapel); goto LDU92; RsmZI: $this->db->where("\x61\56\x69\x64\137\164\160", $id_tp); goto N1bH0; LDU92: $this->db->where("\141\x2e\151\144\x5f\153\x65\154\x61\163", $id_kelas); goto RsmZI; HAsSW: $this->db->from("\162\x61\160\x6f\x72\x5f\x6e\151\154\x61\151\137\150\x61\162\x69\x61\x6e\40\x61"); goto qRG3P; AUdT1: return $this->db->get()->result(); goto LtJmD; LtJmD: } public function getDeskripsiSikap($kelas, $id_tp, $id_smt) { $this->db->where("\x69\144\137\x6b\x65\154\141\x73", $kelas)->where("\x69\x64\137\164\x70", $id_tp)->where("\151\144\x5f\163\x6d\164", $id_smt); return $this->db->get("\162\141\x70\x6f\x72\137\x64\x61\164\x61\137\x73\x69\153\141\160")->result(); } public function getAllDeskripsiSikap($kelas) { $this->db->where("\x69\x64\x5f\x6b\x65\x6c\141\163", $kelas); return $this->db->get("\162\x61\x70\157\162\x5f\x64\141\x74\141\x5f\x73\x69\x6b\x61\x70")->result(); } public function getDeskripsiSikapByJenis($kelas, $jenis, $id_tp, $id_smt) { goto gKGfJ; ieeZQ: $this->db->from("\x72\x61\x70\157\162\137\144\141\164\x61\137\x73\x69\153\141\160"); goto u9yeY; C8rqy: $this->db->where("\152\x65\x6e\x69\x73", $jenis); goto kD_DA; gKGfJ: $this->db->select("\52"); goto ieeZQ; kD_DA: $this->db->where("\151\144\137\164\160", $id_tp); goto r5FEY; u9yeY: $this->db->where("\x69\x64\137\x6b\145\x6c\141\x73", $kelas); goto C8rqy; r5FEY: $this->db->where("\x69\144\x5f\163\x6d\164", $id_smt); goto QVskA; QVskA: return $this->db->get()->result(); goto cxTCl; cxTCl: } public function getNilaiSikapKelas($id_kelas, $id_siswa, $id_tp, $id_smt, $jenis) { goto TmeHV; TmeHV: $this->db->select("\x2a"); goto MzfQS; MzfQS: $this->db->from("\x72\141\x70\x6f\x72\137\156\x69\x6c\x61\x69\137\163\151\153\x61\160"); goto xniZM; RMMx5: return $this->db->get()->row(); goto EBVf0; xniZM: $this->db->where("\x69\144\137\156\x69\154\141\x69\x5f\163\151\x6b\141\160", $id_kelas . $id_siswa . $id_tp . $id_smt . $jenis); goto RMMx5; EBVf0: } public function getAllNilaiSikapKelas($id_kelas) { goto pCEK2; XPcoV: $this->db->from("\x72\x61\x70\x6f\x72\137\156\x69\x6c\x61\151\137\x73\x69\153\141\160"); goto QJv48; zpmRB: return $this->db->get()->result(); goto xhZn_; pCEK2: $this->db->select("\x2a"); goto XPcoV; QJv48: $this->db->where("\151\144\137\x6b\145\154\x61\x73", $id_kelas); goto zpmRB; xhZn_: } public function getNilaiSikapByJenis($id_kelas, $jenis, $id_tp, $id_smt) { goto sgcE5; Ff0st: $this->db->from("\162\x61\x70\x6f\x72\137\x6e\151\x6c\141\151\137\163\151\x6b\x61\160"); goto h5Bpy; JvD2T: $this->db->where("\x69\x64\x5f\x74\x70", $id_tp); goto pP8kE; kea8J: return $this->db->get()->result(); goto JWx6C; h5Bpy: $this->db->where("\x69\x64\x5f\x6b\145\x6c\x61\163", $id_kelas); goto rwiHQ; rwiHQ: $this->db->where("\x6a\145\x6e\151\163", $jenis); goto JvD2T; sgcE5: $this->db->select("\52"); goto Ff0st; pP8kE: $this->db->where("\151\x64\137\x73\155\164", $id_smt); goto kea8J; JWx6C: } public function getNilaiSikapByKelas($id_kelas, $id_tp, $id_smt) { goto hdeet; sxIVV: $this->db->where("\x69\x64\137\x73\155\x74", $id_smt); goto l8JHw; hgrKJ: $this->db->from("\162\141\160\157\162\x5f\x6e\151\x6c\x61\x69\137\x73\151\153\x61\x70"); goto ziwqQ; l8JHw: return $this->db->get()->result(); goto w_uIj; ziwqQ: $this->db->where("\x69\x64\137\x6b\x65\x6c\141\163", $id_kelas); goto sOCaU; hdeet: $this->db->select("\x2a"); goto hgrKJ; sOCaU: $this->db->where("\151\144\137\164\160", $id_tp); goto sxIVV; w_uIj: } public function getNilaiSikapBySiswa($id_siswa, $id_tp, $id_smt) { goto XSEcK; XSEcK: $this->db->select("\52"); goto UJncL; xCMHd: $this->db->where("\x69\x64\x5f\x73\151\163\167\x61", $id_siswa); goto sWzMG; UJncL: $this->db->from("\x72\x61\160\x6f\x72\137\156\x69\x6c\x61\x69\137\163\151\x6b\x61\x70"); goto xCMHd; sWzMG: $this->db->where("\151\144\137\164\160", $id_tp); goto Pn17F; UM4dr: return $this->db->get()->result(); goto bccIk; Pn17F: $this->db->where("\x69\x64\137\x73\x6d\164", $id_smt); goto UM4dr; bccIk: } public function getDeskripsiCatatanByJenis($kelas, $jenis, $id_tp, $id_smt) { $this->db->where("\152\x65\156\151\x73", $jenis)->where("\151\144\x5f\153\x65\154\141\163", $kelas)->where("\151\x64\x5f\164\160", $id_tp)->where("\151\144\x5f\163\x6d\164", $id_smt); return $this->db->get("\162\x61\x70\157\x72\x5f\144\141\164\141\137\x63\x61\164\x61\x74\x61\x6e")->result(); } public function getCatatanKelas($id_kelas, $id_siswa, $id_tp, $id_smt) { goto JE26_; UIAt0: $this->db->from("\x72\x61\160\157\162\x5f\143\x61\x74\x61\x74\141\156\137\x77\141\x6c\x69"); goto qJbdD; BZdte: return $this->db->get()->row(); goto Ol61R; qJbdD: $this->db->where("\151\x64\137\143\x61\x74\141\x74\x61\156\137\167\x61\154\151", $id_kelas . $id_siswa . $id_tp . $id_smt); goto BZdte; JE26_: $this->db->select("\52"); goto UIAt0; Ol61R: } public function getAllCatatanKelas($id_kelas) { goto AzxWs; qTphv: return $this->db->get()->result(); goto R4ibf; qCD3Z: $this->db->where("\151\x64\x5f\x6b\x65\x6c\x61\163", $id_kelas); goto qTphv; AzxWs: $this->db->select("\x2a"); goto haPk5; haPk5: $this->db->from("\x72\141\160\157\x72\137\143\141\164\x61\x74\141\x6e\137\167\x61\154\x69"); goto qCD3Z; R4ibf: } public function getRankingKelas($id_kelas, $id_siswa, $id_tp, $id_smt) { goto T6FaG; vHePV: $this->db->from("\162\x61\160\157\162\137\160\x72\145\x73\x74\x61\x73\151"); goto YOpEm; GQbGv: return $this->db->get()->row(); goto izg0s; YOpEm: $this->db->where("\x69\144\137\162\x61\156\x6b\151\x6e\x67", $id_kelas . $id_siswa . $id_tp . $id_smt); goto GQbGv; T6FaG: $this->db->select("\x2a"); goto vHePV; izg0s: } public function getAllRankingKelas($id_kelas) { goto SB7fo; SB7fo: $this->db->select("\x2a"); goto A90hg; Fx3yz: return $this->db->get()->result(); goto qrcAI; A90hg: $this->db->from("\x72\x61\x70\x6f\x72\x5f\x70\x72\x65\163\164\x61\x73\x69"); goto LKGC9; LKGC9: $this->db->where("\151\144\137\153\145\154\141\163", $id_kelas); goto Fx3yz; qrcAI: } public function getAllDeskripsiFisikKelas() { goto MXgUb; S_5g7: ijPmf: goto QHgbG; sFoS6: foreach ($result as $key => $row) { $ret[$row->id_kelas][$row->id_tp][$row->id_smt] = $row; AV4Ir: } goto S_5g7; QHgbG: X_ckW: goto jfNds; MXgUb: $result = $this->db->get("\x72\141\x70\x6f\x72\x5f\x64\x61\x74\141\x5f\x66\151\x73\151\153")->result(); goto Sr0vZ; jfNds: return $ret; goto QLm2M; Sr0vZ: $ret = []; goto EKyG0; EKyG0: if (!$result) { goto X_ckW; } goto sFoS6; QLm2M: } public function getAllRaporFisik() { goto bbRY1; LFF7U: fq2ze: goto Mx8KV; cRxH5: foreach ($result as $key => $row) { $ret[$row->id_siswa][$row->id_tp][$row->id_smt] = $row; rQYUI: } goto LFF7U; r0d7B: if (!$result) { goto jctWD; } goto cRxH5; QbNV_: return $ret; goto iQRUX; mLya3: $ret = []; goto r0d7B; bbRY1: $result = $this->db->get("\x72\x61\x70\157\x72\x5f\x66\151\x73\151\153")->result(); goto mLya3; Mx8KV: jctWD: goto QbNV_; iQRUX: } public function getDeskripsiFisikKelas($kelas, $id_tp, $id_smt) { $this->db->where("\151\x64\137\146\151\x73\151\x6b", $kelas)->where("\151\x64\x5f\x74\x70", $id_tp)->where("\x69\144\137\x73\x6d\164", $id_smt); return $this->db->get("\x72\x61\160\157\x72\x5f\x64\141\x74\x61\137\x66\x69\x73\x69\153")->row(); } public function getFisikKelas($id_kelas, $id_siswa, $id_tp, $id_smt) { goto YBIzp; AORgx: return $this->db->get()->row(); goto DCXRv; YBIzp: $this->db->select("\x2a"); goto GEAz4; GEAz4: $this->db->from("\162\x61\160\x6f\162\137\x66\151\163\151\153"); goto knHR4; knHR4: $this->db->where("\x69\144\137\146\151\x73\x69\153", $id_kelas . $id_siswa . $id_tp . $id_smt); goto AORgx; DCXRv: } public function getAllFisikKelas($id_kelas) { goto hTbND; pMar1: return $this->db->get()->result(); goto xiW9A; pFiZW: $this->db->from("\162\x61\x70\157\x72\137\146\151\163\151\153"); goto R3Tyk; R3Tyk: $this->db->where("\151\x64\x5f\x6b\x65\154\141\163", $id_kelas); goto pMar1; hTbND: $this->db->select("\x2a"); goto pFiZW; xiW9A: } public function getJmlNilaiMapelHarianSiswa($id_mapel, $id_siswa, $id_tp, $id_smt) { goto SI0Er; u6O4e: $this->db->where("\x69\x64\x5f\155\x61\x70\x65\154", $id_mapel); goto HscDa; Ow6TK: $this->db->where("\151\144\x5f\x73\x6d\x74", $id_smt); goto sA0RQ; Jx6Wd: $this->db->from("\x72\141\x70\157\x72\137\x6e\x69\154\x61\151\137\x68\x61\x72\x69\x61\x6e"); goto u6O4e; SI0Er: $this->db->select("\x70\x5f\162\x61\x74\141\137\162\141\x74\x61\x2c\x20\x6b\137\162\141\164\x61\x5f\162\141\164\141\54\40\152\x6d\x6c"); goto Jx6Wd; sA0RQ: return $this->db->get()->row(); goto YvQUG; OmYen: $this->db->where("\151\x64\137\164\160", $id_tp); goto Ow6TK; HscDa: $this->db->where("\x69\x64\137\x73\151\x73\167\x61", $id_siswa); goto OmYen; YvQUG: } public function getNilaiMapelHarianSiswa($id_mapel, $id_siswa, $id_tp, $id_smt) { goto r9d_t; wdGKO: $this->db->where("\x69\144\137\164\x70", $id_tp); goto EOe72; EOe72: $this->db->where("\x69\144\x5f\163\x6d\164", $id_smt); goto zSdS6; r9d_t: $this->db->select("\x70\61\x2c\x70\x32\x2c\160\x33\54\160\64\54\160\x35\54\x6b\61\54\x6b\x32\54\x6b\63\54\153\x34\x2c\x6b\x35"); goto PNC5t; OBBbz: $this->db->where("\151\144\137\x6d\141\160\145\x6c", $id_mapel); goto mwh78; mwh78: $this->db->where("\151\x64\x5f\x73\151\163\x77\141", $id_siswa); goto wdGKO; zSdS6: return $this->db->get()->row(); goto kW0Ls; PNC5t: $this->db->from("\162\141\x70\x6f\x72\137\156\x69\154\x61\x69\137\x68\141\x72\x69\141\156"); goto OBBbz; kW0Ls: } public function getArrNilaiMapelHarianSiswa($ids_mapel, $ids_siswa, $id_tp, $id_smt) { goto AzSFG; wE2V9: return $rest; goto OiUvg; hD33G: $this->db->where_in("\x69\144\x5f\163\x69\163\167\141", $ids_siswa); goto UFM0z; NtzE6: $this->db->where_in("\x69\x64\137\x6d\x61\160\x65\154", $ids_mapel); goto hD33G; LS5Yp: $this->db->where("\x69\144\137\163\155\x74", $id_smt); goto k7UbO; ZsZOO: $rest = []; goto X6b0i; k7UbO: $nilais = $this->db->get()->result(); goto ZsZOO; ThJp9: qXbYW: goto wE2V9; t35P4: $this->db->from("\162\x61\160\157\162\x5f\156\151\x6c\x61\x69\x5f\150\x61\162\x69\141\156"); goto NtzE6; AzSFG: $this->db->select("\x70\x31\54\160\x32\54\160\63\x2c\x70\64\x2c\160\65\54\x6b\61\54\153\x32\x2c\153\63\x2c\153\x34\x2c\153\x35\x2c\151\144\137\155\x61\160\145\154\x2c\151\144\137\x73\x69\x73\x77\141"); goto t35P4; X6b0i: foreach ($nilais as $nilai) { $rest[$nilai->id_siswa][$nilai->id_mapel] = $nilai; XkMDB: } goto ThJp9; UFM0z: $this->db->where("\x69\x64\x5f\164\x70", $id_tp); goto LS5Yp; OiUvg: } public function getNilaiMapelPtsSiswa($id_mapel, $id_siswa, $id_tp, $id_smt) { goto B2Vbo; nilHn: return $this->db->get()->row(); goto IaaLD; iHWRp: $this->db->where("\151\144\137\x74\x70", $id_tp); goto xHm7x; B2Vbo: $this->db->select("\156\x69\x6c\141\x69"); goto w5rYG; gOrKd: $this->db->where("\x69\144\x5f\155\141\x70\145\154", $id_mapel); goto qwayr; w5rYG: $this->db->from("\x72\141\x70\157\x72\x5f\x6e\x69\x6c\x61\151\x5f\160\164\163"); goto gOrKd; qwayr: $this->db->where("\x69\144\137\x73\151\163\167\x61", $id_siswa); goto iHWRp; xHm7x: $this->db->where("\x69\144\137\163\155\x74", $id_smt); goto nilHn; IaaLD: } public function getArrNilaiMapelPtsSiswa($ids_mapel, $ids_siswa, $id_tp, $id_smt) { goto XoOn2; BMcZe: return $rest; goto fY9HC; oLeZB: $this->db->from("\162\x61\x70\x6f\x72\137\x6e\151\x6c\141\151\x5f\x70\x74\x73"); goto ys5os; PkF2h: $rest = []; goto RB5Mw; ys5os: $this->db->where_in("\151\144\137\155\x61\x70\145\154", $ids_mapel); goto drOCH; E9wP1: $this->db->where("\x69\144\137\164\160", $id_tp); goto M2Igo; XoOn2: $this->db->select("\x6e\x69\x6c\x61\x69\x2c\x20\x69\x64\x5f\155\141\160\145\x6c\x2c\40\x69\144\137\163\151\x73\x77\141"); goto oLeZB; leTqu: $nilais = $this->db->get()->result(); goto PkF2h; M2Igo: $this->db->where("\x69\x64\137\x73\155\164", $id_smt); goto leTqu; RB5Mw: foreach ($nilais as $nilai) { $rest[$nilai->id_siswa][$nilai->id_mapel] = $nilai; eQJAU: } goto H2q3V; H2q3V: jGG37: goto BMcZe; drOCH: $this->db->where_in("\x69\144\137\x73\x69\x73\x77\141", $ids_siswa); goto E9wP1; fY9HC: } public function getNilaiMapelPasSiswa($id_mapel, $id_siswa, $id_tp, $id_smt) { goto S8N_J; WK3Te: $this->db->where("\x69\144\x5f\163\x69\163\x77\x61", $id_siswa); goto T9rup; OG2zL: $this->db->from("\x72\x61\160\157\x72\x5f\156\x69\154\x61\151\x5f\141\x6b\150\x69\x72"); goto qKvDF; h0WaO: return $this->db->get()->row(); goto YDEJD; S8N_J: $this->db->select("\x6e\151\x6c\x61\x69\x2c\x61\x6b\x68\151\162"); goto OG2zL; dC7JA: $this->db->where("\151\144\x5f\x73\x6d\x74", $id_smt); goto h0WaO; qKvDF: $this->db->where("\151\x64\137\155\x61\x70\x65\x6c", $id_mapel); goto WK3Te; T9rup: $this->db->where("\151\x64\137\164\x70", $id_tp); goto dC7JA; YDEJD: } public function getNilaiRapor($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt) { goto wUyXf; W_fSG: $this->db->where("\141\56\x69\144\137\156\151\x6c\x61\x69\137\150\x61\x72\x69\x61\156", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt); goto sBZcm; wUyXf: $this->db->select("\x61\x2e\x70\x5f\162\x61\164\141\x5f\x72\141\x74\141\54\x20\x61\56\x70\x5f\x64\x65\x73\x6b\162\151\160\163\x69\x2c\40\x61\56\x6b\x5f\x72\x61\164\141\x5f\162\141\164\x61\x2c\40\x61\56\153\137\x70\162\145\x64\151\x6b\141\x74\x2c\40\x61\56\153\x5f\144\x65\163\x6b\162\151\160\x73\x69\54\40\142\x2e\x6e\x69\154\x61\151\x20\x61\163\x20\x6e\x69\x6c\x61\151\137\160\141\x73\54\x20\142\56\141\x6b\150\151\162\x20\141\x73\x20\x6e\x69\154\x61\x69\x2c\40\x62\56\x70\162\145\144\151\153\x61\x74"); goto ZyUbb; cnD3x: $this->db->join("\162\x61\160\x6f\162\137\x6e\151\x6c\x61\151\x5f\x61\x6b\x68\151\x72\x20\x62", "\142\x2e\151\x64\137\x6e\151\154\141\151\x5f\x61\x6b\x68\151\162\75\141\x2e\151\x64\x5f\x6e\x69\x6c\141\x69\137\150\x61\162\x69\141\x6e", "\x6c\x65\x66\x74"); goto W_fSG; sBZcm: return $this->db->get()->row_array(); goto Tj0Nu; ZyUbb: $this->db->from("\x72\x61\160\x6f\x72\x5f\156\151\154\141\151\137\150\x61\162\151\141\x6e\40\141"); goto cnD3x; Tj0Nu: } public function getNilaiMapelByKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto Vhhr1; d6GYG: $this->db->where("\141\x2e\151\x64\x5f\x6b\145\154\x61\x73", $id_kelas); goto SfBWh; j8Wjl: $this->db->from("\x72\x61\160\x6f\x72\137\x6e\151\154\141\x69\137\150\141\162\x69\x61\156\x20\x61"); goto VXgtB; SfBWh: $this->db->where("\x61\x2e\151\x64\137\164\x70", $id_tp); goto h5tet; VXgtB: $this->db->join("\162\x61\x70\157\x72\x5f\x6e\151\x6c\x61\x69\x5f\x61\x6b\x68\x69\x72\x20\142", "\142\56\x69\x64\x5f\x6e\x69\x6c\x61\x69\137\141\x6b\150\x69\162\x3d\141\x2e\x69\x64\x5f\156\151\154\x61\x69\137\150\141\x72\151\x61\156", "\x6c\145\146\164"); goto eANpy; Vhhr1: $this->db->select("\x61\56\x70\137\162\x61\164\x61\137\162\141\x74\x61\x2c\40\x61\x2e\160\137\144\145\x73\x6b\162\x69\x70\163\x69\54\40\x61\x2e\153\137\162\141\164\x61\137\162\x61\164\x61\54\x20\x61\x2e\153\137\160\x72\145\x64\151\153\x61\x74\54\x20\x61\x2e\x6b\x5f\144\145\x73\x6b\x72\151\x70\x73\151\54\x20\142\56\156\151\x6c\x61\151\40\x61\163\40\156\151\154\141\x69\x5f\x70\x61\x73\x2c\x20\x62\56\x61\x6b\150\151\x72\40\141\163\x20\156\151\x6c\x61\151\x2c\40\x62\x2e\160\x72\x65\144\x69\153\x61\164"); goto j8Wjl; mD2hW: return $this->db->get()->result(); goto WJm6B; h5tet: $this->db->where("\141\x2e\151\144\137\163\155\164", $id_smt); goto mD2hW; eANpy: $this->db->where("\141\56\151\144\137\x6d\141\x70\145\154", $id_mapel); goto d6GYG; WJm6B: } public function getNilaiRaporByKelas($id_kelas, $id_tp, $id_smt) { goto mE7U9; AcYXo: $this->db->where("\141\x2e\151\144\137\x6b\145\x6c\141\163", $id_kelas); goto Wr0Fa; W7V7T: $this->db->from("\162\141\160\157\x72\137\x6e\x69\x6c\x61\151\137\150\141\162\151\141\x6e\x20\x61"); goto sZqJc; bOkRN: return $this->db->get()->result(); goto mldqY; Wr0Fa: $this->db->where("\141\56\x69\144\x5f\164\x70", $id_tp); goto k5BA_; mE7U9: $this->db->select("\x61\56\x69\144\137\x6e\x69\x6c\141\x69\137\x68\141\162\151\x61\x6e\x2c\x20\141\x2e\x69\144\137\163\151\x73\x77\x61\54\40\x61\56\151\144\x5f\155\x61\x70\145\154\x2c\40\x61\56\x70\x5f\x72\x61\164\141\x5f\x72\141\x74\141\x2c\40\x61\56\160\x5f\x64\x65\x73\153\162\151\x70\163\151\x2c\x20\x61\56\153\x5f\x72\x61\164\x61\137\162\x61\164\x61\54\x20\x61\56\x6b\137\x70\x72\145\x64\151\153\141\x74\54\x20\141\x2e\153\x5f\x64\145\x73\153\x72\151\160\163\x69\x2c\40\x62\x2e\x6e\151\154\x61\x69\40\x61\x73\40\156\x69\154\141\x69\137\160\x61\163\x2c\x20\x62\x2e\141\153\150\151\x72\40\141\163\40\x6e\x69\154\141\x69\x2c\40\142\56\160\x72\x65\144\x69\153\141\x74"); goto W7V7T; k5BA_: $this->db->where("\x61\56\x69\x64\x5f\x73\x6d\164", $id_smt); goto bOkRN; sZqJc: $this->db->join("\x72\x61\x70\x6f\x72\137\x6e\151\x6c\141\x69\137\x61\x6b\150\151\x72\40\x62", "\142\x2e\151\x64\137\x6e\151\x6c\x61\x69\137\141\x6b\x68\151\162\75\141\56\151\x64\137\x6e\x69\154\141\x69\137\150\x61\x72\x69\141\x6e", "\154\x65\146\x74"); goto AcYXo; mldqY: } public function getPrestasiByKelas($id_kelas, $id_tp, $id_smt) { goto I3ReM; ZIpR8: $this->db->where("\x69\144\x5f\x73\155\164", $id_smt); goto NYBYi; EFFy9: return $rest; goto EJigI; NYBYi: $ranks = $this->db->get()->result(); goto Xh8iM; I3ReM: $this->db->select("\x69\x64\x5f\163\x69\x73\x77\141\54\x20\162\x61\156\153\151\x6e\147\x2c\40\x64\x65\x73\153\162\151\x70\x73\x69\x20\x61\163\40\x72\x61\x6e\153\x5f\144\145\x73\153\x72\x69\160\x73\x69\x2c\40\160\x31\x2c\x20\160\61\x5f\x64\x65\x73\153\54\40\160\62\54\40\160\62\137\144\x65\x73\153\x2c\x20\x70\x33\54\x20\160\63\137\144\145\163\x6b"); goto KvYTU; aGA9c: $this->db->where("\151\144\137\x74\160", $id_tp); goto ZIpR8; KvYTU: $this->db->from("\x72\x61\x70\157\x72\137\x70\x72\x65\x73\x74\141\163\x69"); goto LNG7p; Bx2Do: b8ilj: goto EFFy9; Xh8iM: $rest = []; goto Wwn_S; Wwn_S: foreach ($ranks as $rank) { $rest[$rank->id_siswa] = $rank; rp4Np: } goto Bx2Do; LNG7p: $this->db->where("\151\144\x5f\x6b\x65\x6c\141\163", $id_kelas); goto aGA9c; EJigI: } public function getCatatanWaliByKelas($id_kelas, $id_tp, $id_smt) { goto qM2y2; LEJuQ: $this->db->where("\x69\144\x5f\164\x70", $id_tp); goto DH9bR; VV0P3: $this->db->where("\151\x64\137\153\145\x6c\x61\x73", $id_kelas); goto LEJuQ; FFTjK: $desks = $this->db->get()->result(); goto JxXYy; JxXYy: $rest = []; goto ceHDe; CdKPn: sM3QQ: goto qLtUp; QJyYx: $this->db->from("\162\x61\x70\157\x72\137\x63\141\x74\x61\164\x61\x6e\137\x77\x61\x6c\x69"); goto VV0P3; qLtUp: return $rest; goto ZwucT; DH9bR: $this->db->where("\x69\144\137\x73\155\164", $id_smt); goto FFTjK; qM2y2: $this->db->select("\151\x64\137\163\x69\x73\167\141\x2c\x20\156\x69\x6c\141\151\54\x20\x64\145\163\x6b\162\151\160\x73\x69\40\x61\163\40\163\x61\162\141\x6e"); goto QJyYx; ceHDe: foreach ($desks as $desk) { $rest[$desk->id_siswa] = $desk; vbJXj: } goto CdKPn; ZwucT: } public function getRaporDeskripsi($id_kelas, $id_siswa, $id_tp, $id_smt) { goto an42x; u7kgz: $this->db->join("\162\x61\160\157\162\x5f\x63\x61\x74\x61\164\x61\156\137\167\141\154\151\40\143", "\143\x2e\151\144\137\x63\141\x74\x61\164\141\x6e\137\x77\141\154\151\75\x62\56\x69\x64\137\x72\141\156\x6b\151\156\147", "\154\145\146\164"); goto bjUo8; an42x: $this->db->select("\142\x2e\162\x61\156\x6b\151\156\x67\x2c\40\x62\x2e\144\145\163\153\162\x69\160\163\151\x20\141\163\x20\162\141\x6e\x6b\137\144\145\163\153\162\151\160\163\151\x2c\40\x62\56\160\x31\x2c\40\142\56\x70\x31\137\144\x65\163\x6b\x2c\40\142\x2e\160\62\x2c\40\x62\56\160\62\137\144\145\163\x6b\54\x20\x62\56\x70\x33\54\40\x62\56\160\63\x5f\x64\x65\163\153\54" . "\x20\x63\56\x6e\x69\x6c\x61\151\x2c\x20\143\56\144\145\163\x6b\162\151\x70\163\x69\x20\x61\163\40\163\x61\x72\141\x6e"); goto fQOlX; fQOlX: $this->db->from("\x72\141\160\x6f\x72\137\160\x72\145\163\x74\141\x73\x69\40\142"); goto u7kgz; bjUo8: $this->db->where("\142\56\x69\x64\137\162\141\x6e\x6b\x69\156\147", $id_kelas . $id_siswa . $id_tp . $id_smt); goto LoaCh; LoaCh: return $this->db->get()->row(); goto jY4qM; jY4qM: } public function getDummyDeskripsiSpiritual() { return ["\142\145\162\x64\x6f\x61\x20\163\145\142\145\154\165\155\x20\144\x61\x6e\x20\163\x65\x73\165\x64\x61\x68\40\x6d\x65\154\141\153\x75\x6b\x61\156\40\153\x65\x67\151\141\x74\x61\156", "\x6d\x65\x6e\152\x61\154\x61\156\153\x61\x6e\40\x69\x62\x61\144\141\150\40\163\145\x73\165\141\151\x20\144\x65\x6e\x67\x61\x6e\x20\x61\147\141\155\x61\x6e\171\x61", "\x6d\x65\x6d\142\145\x72\x69\40\163\141\154\x61\155\x20\x70\141\144\141\x20\163\141\x61\x74\x20\x61\x77\x61\154\40\x64\141\x6e\40\141\x6b\x68\x69\162\40\153\145\147\151\141\x74\x61\x6e", "\x62\x65\162\x73\x79\x75\x6b\x75\162\40\141\x74\141\x73\40\156\x69\x6b\155\x61\164\x20\x64\141\156\x20\153\x61\x72\x75\156\x69\x61\x20\124\x75\x68\141\x6e\40\x59\x61\156\x67\x20\115\141\150\141\x20\105\163\x61", "\x6d\x65\x6e\163\x79\165\x6b\x75\162\151\x20\153\x65\x6d\141\155\x70\x75\x61\156\40\x6d\x61\x6e\x75\x73\151\141\x20\x64\x61\x6c\x61\x6d\40\155\x65\x6e\x67\145\x6e\x64\141\154\x69\x6b\x61\x6e\40\144\151\162\x69", "\142\x65\x72\163\x79\x75\x6b\x75\x72\40\x6b\x65\164\x69\153\x61\40\142\145\162\x68\141\163\151\x6c\x20\x6d\x65\156\x67\145\162\x6a\x61\x6b\141\x6e\40\163\x65\163\x75\x61\x74\165", "\x62\145\162\163\145\x72\x61\x68\40\x64\151\162\151\x20\x28\x74\141\x77\141\x6b\x61\x6c\51\x20\153\x65\x70\141\144\x61\x20\124\x75\150\x61\156\40\163\145\164\145\x6c\x61\x68\40\142\x65\162\151\153\x68\164\151\x61\162\x20\x61\x74\141\165\x20\155\x65\x6c\x61\x6b\165\x6b\141\x6e\40\165\x73\x61\150\x61", "\x6d\145\155\145\154\x69\x68\x61\162\141\x20\x68\165\142\165\156\147\x61\x6e\40\142\x61\x69\x6b\x20\144\145\x6e\x67\x61\156\x20\163\145\163\141\x6d\141\x20\x75\x6d\x61\164", "\x62\x65\162\163\x79\165\x6b\165\162\40\x73\145\142\141\147\141\x69\x20\x62\x61\156\147\163\x61\40\111\x6e\144\157\x6e\x65\163\x69\141", "\x6d\x65\156\x67\x68\157\x72\155\141\x74\151\x20\157\162\141\x6e\147\x20\154\141\x69\x6e\x20\x79\x61\156\147\x20\155\x65\156\152\x61\x6c\x61\156\x6b\x61\x6e\40\x69\142\x61\x64\141\150\40\163\x65\x73\165\x61\151\40\x64\145\156\147\141\x6e\40\x61\x67\141\155\141\156\x79\141"]; } public function getDummyDeskripsiSosial() { return ["\152\x75\152\x75\x72", "\x64\151\163\151\160\x6c\x69\156", "\164\x61\x6e\147\147\x75\156\147\x20\152\x61\167\141\x62", "\x73\x61\x6e\x74\165\156", "\160\145\162\x63\x61\171\141\40\x64\x69\162\151", "\160\x65\144\165\154\151", "\164\x6f\154\145\x72\x61\x6e\163\x69", "\147\x6f\164\x6f\x6e\x67\40\162\x6f\x79\x6f\x6e\x67", "\x72\141\152\x69\x6e", "\x74\x69\144\141\153\40\x6d\165\x64\141\x68\40\155\145\x6e\171\145\x72\x61\x68"]; } public function getDummyDeskripsiAbsensi() { return ["\113\x65\150\141\144\151\162\x61\x6e\x20\x63\x75\153\165\x70\40\x62\141\151\153\x20\x6e\x61\155\165\156\40\x70\145\x72\x6c\x75\x20\x64\151\164\151\156\147\153\141\x74\153\141\156\56", "\125\163\141\x68\141\x6b\x61\x6e\40\150\x61\144\151\x72\x20\163\145\164\x69\141\160\40\x68\x61\x72\x69\x2e", "\112\141\156\147\x61\156\x20\x74\x65\162\x6c\x61\154\165\40\x62\141\x6e\x79\x61\153\40\x61\154\x70\141\54\40\x64\x69\x68\141\x72\x61\160\153\141\156\40\163\x65\154\x61\x6c\x75\40\150\141\x64\151\162\x20\153\145\x20\x73\145\153\x6f\x6c\x61\150", "\x4b\x65\150\141\144\151\162\x61\156\x6d\x75\40\x73\141\156\x67\141\164\40\152\141\x72\141\156\x67\x20\x73\145\153\141\154\151"]; } public function getDummyDeskripsiCatatan() { return ["\123\x65\x6c\x61\154\x75\x20\x62\145\x72\x75\163\141\x68\141\x20\x75\x6e\164\x75\153\40\155\x65\155\x61\164\165\x68\x69\x20\x74\141\164\x61\40\x74\145\x72\x74\x69\142\x20\163\x65\x6b\x6f\154\x61\150\x20\x64\x61\x6e\x20\x70\141\x74\165\x68\40\164\145\162\x68\x61\144\x61\160\40\x47\x75\x72\x75\x2e", "\123\x65\154\141\x6c\x75\40\x62\x65\x72\165\x73\141\150\x61\40\165\156\x74\x75\x6b\40\x6d\141\156\144\151\x72\x69\x20\x64\141\156\x20\164\x65\160\141\164\x20\x77\x61\x6b\164\165\40\x64\141\x6c\x61\x6d\x20\155\145\156\147\x65\162\x6a\x61\153\141\156\x20\164\x75\147\141\163\x2e", "\x4d\145\x6d\x70\165\x6e\171\x61\151\40\x6b\x65\x6d\141\x6d\x70\x75\141\156\40\x64\141\156\x20\x6d\x6f\x74\151\x76\x61\163\x69\x20\x79\141\x6e\147\x20\164\151\156\147\x67\151\x20\165\x6e\x74\x75\x6b\40\x6d\x65\x6e\x67\x67\x75\x6e\141\x6b\141\x6e\x20\x77\141\x6b\164\165\40\x73\145\143\141\x72\x61\40\x65\146\x69\x73\151\x65\x6e\x2e", "\x44\x69\150\x61\162\x61\x70\153\x61\x6e\x20\x6d\145\x72\x75\x62\x61\x68\40\160\x65\x6e\x61\155\x70\x69\154\x61\x6e\156\171\x61\40\x6d\x65\x6e\152\141\144\151\40\154\145\x62\151\150\x20\x72\141\160\151\x2c\40\x73\x65\x70\x65\x72\x74\x69\x20\164\145\156\164\141\156\147\x20\x70\x6f\164\x6f\x6e\x67\x20\162\141\x6d\x62\x75\x74\x20\x64\x61\x6e\x20\143\x61\162\141\40\142\145\x72\160\x61\153\141\151\141\x6e\x2e", "\115\x61\x73\151\150\40\x70\145\x72\154\x75\x20\x6d\x65\x6d\x70\x65\162\x62\x61\x6e\x79\x61\x6b\40\x74\x65\155\x61\156\40\x62\x65\162\147\141\165\154\x20\x64\141\156\x20\x74\x65\155\x61\156\x20\x64\x69\x73\153\165\163\151\x2c\x20\153\165\x72\141\x6e\147\x69\40\141\x6b\164\x69\x66\x69\x74\x61\x73\40\155\x65\x6e\x79\x65\156\144\x69\x72\151\56", "\104\151\x68\141\x72\x61\x70\153\141\x6e\x20\144\141\x70\141\x74\x20\155\x65\156\x69\x6e\x67\x6b\x61\164\x6b\141\156\40\153\157\155\151\x74\x6d\x65\x6e\x6e\171\141\40\165\156\x74\x75\x6b\x20\x6c\145\142\151\x68\x20\163\145\x72\151\x75\x73\x20\x73\141\x61\164\x20\x6d\145\x6e\147\145\162\x6a\x61\153\141\x6e\x20\x74\x75\x67\141\x73\x20\144\141\x6e\40\164\151\144\x61\x6b\40\155\165\144\x61\150\40\155\145\x6e\171\x65\162\x61\x68\x2e"]; } public function getDummyDeskripsiRanking() { return ["\120\x72\x65\163\x74\141\163\x69\156\x79\141\40\163\141\156\147\x61\164\40\142\x61\151\x6b\x2c\40\x70\145\x72\154\x75\x20\144\x69\x70\x65\x72\x74\x61\150\x61\156\x6b\x61\x6e\56", "\120\162\x65\163\x74\141\163\151\x20\142\x61\151\153\54\x20\160\x65\x72\154\x75\40\x64\151\160\x65\x72\x74\141\x68\x61\x6e\153\141\156\x20\144\x61\x6e\40\144\164\x69\x6e\147\153\141\164\153\x61\156\56", "\120\162\x65\x73\164\141\x73\151\x20\x63\165\153\165\x70\54\40\160\145\x72\x6c\x75\40\x64\151\164\x69\x6e\x67\x6b\x61\164\x6b\141\x6e\x20\x62\x65\154\x61\x6a\141\x72\x20\x64\141\156\40\142\145\x72\144\157\141\56", "\x50\x65\x72\x6c\165\40\x64\x69\164\x69\x6e\x67\x6b\141\x74\x6b\x61\156\40\x62\145\x6c\141\152\141\162\156\171\141\54\x20\152\x61\156\147\141\x6e\40\x6c\165\x70\141\x20\142\145\162\144\x6f\141\x2e", "\120\145\x72\x6c\165\x20\144\151\155\x61\153\163\x69\x6d\141\154\x6b\x61\x6e\x20\x62\145\154\141\152\141\162\x6e\171\x61\54\40\x75\x73\141\x68\141\x20\153\145\x72\141\x73\x20\x64\x61\156\x20\x62\145\x72\x64\157\x61\x2e", "\120\x65\162\154\165\x20\165\x73\141\150\x61\x20\x6b\x65\162\141\163\x2c\40\155\x61\153\163\x69\155\141\154\153\x61\156\40\x62\145\x6c\141\x6a\141\162\x6e\x79\x61\x2c\x20\x6c\145\142\x69\150\40\147\x69\x61\x74\40\142\145\162\x64\157\141\40\x64\141\156\40\x62\x65\162\x69\142\x61\x64\x61\x68\56"]; } public function getDummyDeskripsiFisik($jenis) { goto rGp07; FICW7: if ($jenis == "\x33") { goto LnA8g; } goto zUgjW; BiyUx: goto ZmJTA; goto L2cbe; hDkUL: return ["\102\141\x69\153", "\x53\145\x72\x69\x6e\147\x20\142\x65\x72\x61\x69\x72", "\x4b\165\162\x61\156\x67\x20\x6a\145\154\141\x73\x20\x6a\x69\x6b\x61\40\x6d\145\x6c\x69\150\141\164\40\x6a\x61\162\141\x6b\x20\152\x61\165\150", '']; goto BiyUx; zUgjW: return ["\124\165\142\165\x68\40\163\145\150\x61\164\40\144\141\x6e\40\153\x75\141\164", "\115\x75\x64\x61\150\x20\x6b\145\143\x61\160\x65\x6b\x61\x6e", "\113\145\142\x65\x72\x73\x69\x68\x61\x6e\x20\x62\x61\x64\x61\156\40\153\x75\162\x61\x6e\147\40\x74\x65\162\x6a\x61\x67\x61", '']; goto DQ6l7; nk2_e: goto ZmJTA; goto hizyu; N5ox6: ZmJTA: goto tvFT4; gkvUT: nOyId: goto w7mib; k8IGk: return ["\x42\x61\151\x6b\54\40\x6e\x61\x6d\160\141\x6b\40\160\165\x74\x69\150\40\x64\x61\x6e\40\x62\x65\x72\163\151\150", "\124\145\162\x64\141\x70\x61\x74\x20\x67\151\147\151\x20\171\x61\156\x67\x20\147\x69\x67\x69\163", "\x4b\145\x62\x65\x72\163\151\150\141\156\40\147\151\x67\x69\40\153\165\x72\x61\156\x67\40\164\145\x72\x6a\141\x67\x61", "\101\144\x61\x20\147\x69\x67\151\x20\171\141\156\147\x20\155\x61\x75\x20\164\141\156\x67\147\x61\154"]; goto N5ox6; D6lWX: if ($jenis == "\x32") { goto zkWWk; } goto FICW7; w7mib: return ["\x42\141\x69\x6b", "\x4b\x75\162\141\156\x67\40\160\145\x6b\141", "\x54\x65\x6c\151\156\x67\x61\x20\160\145\162\154\x75\40\x64\151\x62\x65\162\163\x69\x68\x6b\141\156", '']; goto nk2_e; DQ6l7: goto ZmJTA; goto gkvUT; L2cbe: LnA8g: goto k8IGk; hizyu: zkWWk: goto hDkUL; rGp07: if ($jenis == "\x31") { goto nOyId; } goto D6lWX; tvFT4: } public function getKenaikanSiswa($id_kelas, $id_tp, $id_smt, $level = null) { goto al0WF; iPCgV: $this->db->where("\141\x2e\151\144\137\x73\155\x74", $id_smt); goto P_JYN; PsE8S: $this->db->select("\141\56\52\x2c\x20\142\x2e\x6e\141\155\x61\54\x20\142\56\x6e\x69\x73\x2c\40\142\56\156\x69\x73\156\x2c\40\142\56\x75\x73\145\162\156\x61\x6d\145\x2c\40\143\56\x69\144\x5f\153\145\154\x61\163\x2c\x20\x63\56\156\x61\x6d\141\x5f\153\x65\154\141\x73\x2c\40\x63\x2e\x6c\x65\166\145\x6c\x5f\151\x64\54\x20\144\x2e\156\141\x69\x6b"); goto lF4be; B9xqf: cOU98: goto dsg8H; HfuZt: $this->db->where("\141\x2e\151\x64\x5f\x74\160", $id_tp); goto iPCgV; lF4be: $this->db->from("\x6b\x65\154\141\x73\137\163\151\163\167\x61\x20\141"); goto UAIzW; dsg8H: if (!($id_kelas != null)) { goto QekwF; } goto DaG3U; al0WF: $this->db->query("\123\105\x54\40\x53\121\114\x5f\102\x49\x47\137\x53\x45\x4c\x45\103\124\123\x3d\x31"); goto PsE8S; DaG3U: $this->db->where("\141\x2e\x69\144\x5f\x6b\145\154\141\x73", $id_kelas); goto jPwWX; oVyA4: if (!($level != null)) { goto cOU98; } goto YyLko; UAIzW: $this->db->join("\155\141\163\x74\x65\162\137\x73\151\163\x77\141\40\x62", "\141\x2e\151\x64\x5f\163\151\163\167\141\x3d\x62\x2e\151\144\x5f\x73\x69\x73\x77\x61", "\154\145\x66\x74"); goto KsEEp; ONqwu: $this->db->join("\x72\x61\x70\x6f\x72\x5f\x6e\141\x69\x6b\x20\144", "\x61\56\151\144\137\x73\151\163\x77\141\75\144\56\x69\144\x5f\163\x69\x73\x77\x61\40\101\116\104\x20\141\56\x69\x64\137\x74\160\75\144\56\151\144\x5f\164\160\x20\x41\116\x44\x20\x61\x2e\151\x64\137\163\x6d\x74\75\x64\56\x69\x64\x5f\x73\155\164", "\x6c\145\146\164"); goto oVyA4; YyLko: $this->db->where("\x63\x2e\x6c\x65\166\145\154\137\151\x64", $level); goto B9xqf; P_JYN: return $this->db->get()->result(); goto b6EHy; KsEEp: $this->db->join("\x6d\141\163\164\x65\162\137\153\145\154\141\x73\x20\x63", "\141\56\x69\x64\137\153\x65\x6c\141\x73\x3d\x63\x2e\151\x64\x5f\x6b\145\154\x61\163", "\x6c\145\x66\164"); goto ONqwu; jPwWX: QekwF: goto HfuZt; b6EHy: } public function getSiswaLulus($id_tp, $id_smt, $level) { goto Qtnv2; LTW8q: return $this->db->get()->result(); goto pEk4f; gxdhu: $this->db->where("\x61\56\151\144\x5f\163\x6d\x74", $id_smt); goto LTW8q; aHTWJ: $this->db->join("\x6d\x61\163\x74\x65\162\137\153\x65\154\x61\163\40\143", "\x61\56\151\144\137\153\145\x6c\x61\163\x3d\x63\x2e\151\144\137\x6b\145\x6c\141\x73", "\154\145\146\x74"); goto yV3iI; o8T4p: $this->db->select("\x62\56\52\x2c\x20\x63\56\x6e\x61\155\x61\137\153\x65\154\x61\163\x20\141\x73\40\153\x65\154\x61\x73\x5f\141\x6b\150\x69\162\x2c\x20\x64\x2e\156\x61\151\153"); goto CAoyj; Qtnv2: $this->db->query("\123\105\124\x20\123\121\114\137\102\111\107\137\x53\105\x4c\105\103\124\123\75\61"); goto o8T4p; seroX: $this->db->join("\x6d\141\x73\164\145\162\137\x73\151\x73\x77\141\x20\142", "\x61\56\x69\144\137\163\151\163\167\141\75\142\56\151\x64\137\x73\151\x73\x77\x61", "\x6c\145\x66\164"); goto aHTWJ; Rc2Tl: $this->db->where("\143\56\154\x65\x76\x65\x6c\137\151\144", $level); goto dnnmi; CAoyj: $this->db->from("\153\145\x6c\141\163\x5f\163\151\x73\167\141\x20\141"); goto seroX; yV3iI: $this->db->join("\x72\141\x70\x6f\162\137\156\141\x69\153\x20\x64", "\x61\56\x69\x64\137\x73\x69\163\167\x61\x3d\x64\x2e\x69\x64\137\163\151\163\167\x61\x20\101\116\x44\40\x61\x2e\x69\144\x5f\164\160\75\x64\56\x69\x64\x5f\164\x70\x20\x41\116\104\x20\141\56\151\x64\x5f\x73\x6d\164\75\x64\x2e\x69\x64\137\163\155\x74", "\x6c\x65\146\164"); goto Rc2Tl; dnnmi: $this->db->where("\141\x2e\x69\144\x5f\164\x70", $id_tp); goto gxdhu; pEk4f: } public function getJumlahLulus($id_tp, $id_smt, $level) { goto TA1sI; HVXi3: $this->db->from("\x6b\145\154\x61\x73\137\163\x69\x73\167\141\40\x61"); goto o4bvr; fp3jr: $this->db->select("\141\x2e\52\x2c\x20\x62\56\x6e\x61\x6d\141\54\x20\x62\x2e\x6e\x69\x73\x2c\40\x62\x2e\x6e\x69\x73\156\x2c\40\142\56\x75\163\145\162\156\141\155\x65\54\40\143\56\x69\144\x5f\x6b\x65\x6c\x61\x73\54\40\x63\x2e\156\x61\155\x61\x5f\x6b\145\154\141\163\54\x20\x63\x2e\154\145\x76\145\x6c\137\x69\x64\x2c\40\x64\56\156\141\151\153"); goto HVXi3; o4bvr: $this->db->join("\x6d\x61\163\164\x65\x72\x5f\153\x65\154\141\163\40\x63", "\141\56\151\x64\x5f\x6b\x65\x6c\x61\163\x3d\143\56\x69\144\137\x6b\x65\x6c\x61\163", "\x6c\145\146\x74"); goto p7kl8; p1gua: $this->db->where("\x61\x2e\151\x64\137\163\x6d\x74", $id_smt); goto FxlPC; sTUBu: $this->db->where("\x61\x2e\151\x64\137\x74\x70", $id_tp); goto p1gua; vcA6x: $this->db->where("\x63\56\154\145\166\x65\154\137\151\144", $level); goto sTUBu; TA1sI: $this->db->query("\123\x45\124\x20\123\121\114\x5f\x42\x49\107\x5f\x53\105\114\105\103\x54\123\75\x31"); goto fp3jr; FxlPC: return $this->db->count_all_results(); goto PUzGN; p7kl8: $this->db->join("\x72\141\160\x6f\162\x5f\x6e\x61\151\x6b\x20\144", "\141\x2e\151\x64\137\163\x69\163\x77\141\75\x64\56\151\144\x5f\x73\x69\x73\167\141\x20\101\116\x44\40\141\x2e\x69\144\137\164\x70\x3d\144\x2e\x69\x64\137\164\x70\x20\101\x4e\x44\x20\141\x2e\x69\x64\x5f\163\155\164\75\144\x2e\x69\144\137\x73\155\x74", "\x6c\x65\146\164"); goto vcA6x; PUzGN: } public function getKenaikanRapor($id_kelas, $id_tp, $id_smt) { goto imJLy; x8C9b: $this->db->join("\162\x61\x70\157\162\137\156\141\x69\x6b\x20\144", "\141\x2e\151\144\x5f\163\x69\163\x77\141\75\144\56\151\144\137\163\151\163\167\x61\40\x41\116\104\40\x61\56\151\x64\x5f\164\x70\x3d\144\56\151\144\x5f\x74\160\x20\x41\116\x44\x20\x61\56\x69\144\x5f\163\x6d\164\75\x64\56\x69\144\x5f\x73\155\x74", "\154\145\x66\x74"); goto ZPAav; qRoXt: $this->db->where("\x61\x2e\151\x64\x5f\164\x70", $id_tp); goto T5XqT; av2bT: $this->db->from("\x6b\x65\x6c\x61\x73\x5f\163\151\x73\x77\x61\x20\x61"); goto x8C9b; uVfI7: foreach ($ress as $res) { $ret[$res->id_siswa] = $res->naik; WTemU: } goto Ezzv5; ZPAav: $this->db->where("\141\x2e\151\144\x5f\153\x65\154\x61\163", $id_kelas); goto qRoXt; TXMiA: return $ret; goto ab8LS; qubQu: $ress = $this->db->get()->result(); goto e6tpK; T5XqT: $this->db->where("\141\x2e\x69\x64\137\163\x6d\164", $id_smt); goto qubQu; Ezzv5: OLwj7: goto TXMiA; imJLy: $this->db->select("\x61\x2e\x69\144\x5f\153\145\x6c\x61\x73\x2c\40\x61\56\151\x64\137\163\151\163\x77\141\x2c\x20\x64\x2e\156\141\151\x6b"); goto av2bT; e6tpK: $ret = []; goto uVfI7; ab8LS: } public function getAllRaporSetting() { goto Ol9vh; yKvQk: return $ret; goto AyBUu; Ol9vh: $result = $this->db->get("\162\141\160\x6f\x72\137\x61\x64\x6d\x69\156\137\163\145\x74\164\x69\156\x67")->result(); goto GO_4f; ELVcq: YdHra: goto yKvQk; GO_4f: $ret = []; goto qj4ak; qj4ak: if (!$result) { goto YdHra; } goto S4lHW; S4lHW: foreach ($result as $key => $row) { $ret[$row->id_tp][$row->id_smt] = $row; qosRG: } goto YxL_C; YxL_C: eIHR7: goto ELVcq; AyBUu: } public function getAllKkm() { goto N5DJ_; IxDZF: WDETP: goto u30ep; woXJ7: foreach ($result as $res) { $ret[$res->id_tp][$res->id_smt][$res->id_kelas][$res->jenis][$res->id_mapel] = $res; TAwis: } goto IxDZF; Oith_: $ret = []; goto woXJ7; u30ep: return $ret; goto qgJdO; N5DJ_: $result = $this->db->get("\x72\141\x70\157\x72\137\153\153\155")->result(); goto Oith_; qgJdO: } public function getAllKkmRaporAkhir($kelas, $id_tp, $id_smt) { goto Y_D0x; QVBNu: $result = $this->db->get("\162\141\160\157\162\137\153\153\155")->result(); goto ylyDZ; ylyDZ: $ret = []; goto DZ0kB; v9Pwv: kqgYq: goto V03vz; DZ0kB: foreach ($result as $res) { $ret[$res->jenis][$res->id_mapel] = $res; QhP3p: } goto v9Pwv; V03vz: return $ret; goto ry43X; Y_D0x: $this->db->where("\151\144\137\x6b\x65\154\141\163", $kelas)->where("\x69\144\x5f\x74\x70", $id_tp)->where("\151\x64\x5f\163\155\164", $id_smt); goto QVBNu; ry43X: } public function getAllNilaiAkhir() { goto qsYAV; ZIXpS: LWgb2: goto alddj; YmI3g: $this->db->select("\141\56\x69\x64\x5f\x74\160\x2c\40\x61\x2e\x69\144\137\163\x6d\x74\54\40\x61\56\151\x64\x5f\x73\151\163\x77\x61\x2c\40\141\x2e\x70\x5f\x72\x61\164\x61\x5f\x72\141\164\141\x20\x61\163\x20\156\x68\141\x72\54\40\141\x2e\160\137\144\x65\163\x6b\162\x69\160\163\x69\54\x20\141\x2e\153\137\x72\141\x74\x61\137\x72\x61\164\x61\x2c" . "\40\x61\56\153\137\160\x72\145\144\x69\153\141\164\54\40\141\56\153\137\x64\145\x73\x6b\162\151\160\x73\x69\x2c\x20\142\56\x6e\151\154\141\151\x20\x61\x73\x20\156\x70\164\x73\x2c\x20\x63\x2e\x6e\x69\154\x61\151\x20\141\163\40\156\x70\141\163\54\x20\x63\x2e\x70\x72\x65\144\151\x6b\141\x74"); goto EVbW4; T_1lF: foreach ($result as $res) { $ret[$res->id_tp][$res->id_smt][$res->id_siswa] = $res; AmahR: } goto ZIXpS; alddj: return $ret; goto E75Db; oGYPO: $result = $this->db->get()->result(); goto ngzUi; ngzUi: $ret = []; goto T_1lF; seA_Y: $this->db->join("\162\x61\160\x6f\162\137\x6e\151\x6c\x61\151\137\x70\164\163\40\142", "\142\x2e\x69\x64\x5f\x6e\x69\x6c\x61\151\x5f\x70\164\163\75\141\56\x69\x64\137\156\151\154\141\x69\137\x68\141\162\151\x61\156", "\154\x65\x66\x74"); goto JIpaO; JIpaO: $this->db->join("\x72\x61\160\157\162\x5f\x6e\x69\154\x61\x69\x5f\141\153\x68\151\162\x20\143", "\143\56\151\x64\x5f\156\151\x6c\x61\151\x5f\x61\153\150\x69\x72\75\x61\56\x69\144\x5f\156\151\154\x61\151\x5f\150\141\x72\151\x61\156", "\x6c\x65\x66\x74"); goto oGYPO; qsYAV: $this->db->query("\123\x45\x54\40\x53\121\x4c\x5f\102\111\107\x5f\x53\x45\114\105\103\x54\x53\x3d\61"); goto YmI3g; EVbW4: $this->db->from("\162\141\x70\157\x72\137\156\151\154\x61\x69\137\150\x61\162\151\x61\156\40\x61"); goto seA_Y; E75Db: } public function getDistinctTahunBukuNilai() { goto fpA0b; oOAXS: $ret = []; goto fb4r1; HvC3T: return $ret; goto XiEzd; fpA0b: $this->db->select("\x74\160"); goto UvCY9; UvCY9: $this->db->distinct(); goto HNVhK; fb4r1: foreach ($result as $row) { $ret[$row->tp] = $row->tp; ZYeqG: } goto FSJD5; FSJD5: HUi0X: goto HvC3T; HNVhK: $result = $this->db->get("\142\165\x6b\165\137\156\151\x6c\141\151")->result(); goto oOAXS; XiEzd: } public function getDistinctSmtBukuNilai() { goto Mfbbw; fgZMz: $this->db->distinct(); goto Uus6w; q500X: R_oHo: goto oN_v8; Uus6w: $result = $this->db->get("\142\165\x6b\165\137\156\x69\154\x61\x69")->result(); goto wr5Wm; wr5Wm: $ret = []; goto Hswlz; oN_v8: return $ret; goto S2R_i; Mfbbw: $this->db->select("\163\x6d\x74"); goto fgZMz; Hswlz: foreach ($result as $row) { $ret[$row->smt] = $row->smt; VzY82: } goto q500X; S2R_i: } public function getDistinctKelasBukuNilai() { goto Fpf2s; Fpf2s: $this->db->select("\153\x65\154\141\163"); goto EurJx; zd0Cy: $ret = []; goto qOxJ_; EurJx: $this->db->distinct(); goto F08fZ; hudBO: return $ret; goto WFVyF; qOxJ_: foreach ($result as $row) { $ret[$row->kelas] = $row->kelas; XikMZ: } goto d7syI; d7syI: Lm6Sh: goto hudBO; F08fZ: $result = $this->db->get("\142\165\153\x75\x5f\x6e\x69\x6c\141\x69")->result(); goto zd0Cy; WFVyF: } public function getFisikBySiswa($id_siswa) { goto RpEL3; cpJ0e: foreach ($result as $key => $row) { $ret[$row->tp] = $row; RV5A8: } goto Mas_3; Mas_3: NUqLu: goto gPT4G; ec32Q: $result = $this->db->get()->result(); goto AV3N7; gPT4G: So4RV: goto kJMpz; HfXSn: $this->db->where("\151\144\x5f\x73\151\163\167\x61", $id_siswa); goto ec32Q; zZtiQ: $this->db->from("\142\165\x6b\x75\x5f\156\151\x6c\x61\151"); goto HfXSn; C5B88: if (!$result) { goto So4RV; } goto cpJ0e; AV3N7: $ret = []; goto C5B88; RpEL3: $this->db->select("\164\160\x2c\x20\x66\x69\x73\151\153"); goto zZtiQ; kJMpz: return $ret; goto l2Xb8; l2Xb8: } public function getDataKumpulanRapor($kelas = null, $tp = null, $smt = null) { goto OBUiJ; OAE0d: $this->db->where("\x61\x2e\164\x70", $tp); goto OjPHO; iXHAl: if (!($smt != null)) { goto fBsc5; } goto DnNPX; rtKbQ: return $ret; goto G8PLt; CQB9D: A4h_k: goto NTGCm; OjPHO: m7xx_: goto iXHAl; ym1fU: TE5a6: goto rtKbQ; Woabg: foreach ($result as $key => $row) { $ret[$row->id_siswa] = $row; rjcUM: } goto r0qrc; qWRne: $this->db->from("\x62\165\x6b\165\137\156\151\154\141\x69\40\141"); goto nx_wy; BEsXH: fBsc5: goto V1bZN; Ccs01: $ret = []; goto lYWo6; SV2LF: if (!($tp != null)) { goto m7xx_; } goto OAE0d; V1bZN: if (!($kelas != null)) { goto A4h_k; } goto spdVv; OBUiJ: $this->db->select("\x2a"); goto qWRne; nx_wy: $this->db->join("\155\x61\163\164\x65\x72\x5f\163\151\163\167\141\x20\142", "\x61\x2e\151\x64\x5f\163\151\163\167\x61\x3d\142\56\151\x64\x5f\x73\151\163\x77\141"); goto SV2LF; spdVv: $this->db->where("\141\56\153\x65\x6c\141\163", $kelas); goto CQB9D; DnNPX: $this->db->where("\141\56\163\155\164", $smt); goto BEsXH; lYWo6: if (!$result) { goto TE5a6; } goto Woabg; NTGCm: $result = $this->db->get()->result(); goto Ccs01; r0qrc: Su_Y4: goto ym1fU; G8PLt: } public function deleteNilaiRapor() { goto LqZ0M; LqZ0M: $this->db->empty_table("\162\x61\x70\157\x72\x5f\x6e\151\154\141\x69\x5f\x68\141\x72\x69\x61\156"); goto xvZQ3; Weyg8: $this->db->empty_table("\162\141\160\157\x72\137\x6e\x61\x69\153"); goto hjpcA; ust3w: $this->db->empty_table("\x72\x61\x70\x6f\162\x5f\x6e\x69\154\141\x69\x5f\x65\x6b\x73\164\162\141"); goto gextU; hjpcA: $this->db->empty_table("\x72\141\x70\x6f\162\x5f\x6e\x69\x6c\141\151\x5f\160\164\163"); goto Z3cyR; xvZQ3: $this->db->empty_table("\162\x61\160\157\x72\137\x6e\151\154\141\x69\137\141\x6b\150\x69\x72"); goto Weyg8; gextU: $this->db->empty_table("\x72\x61\x70\157\x72\x5f\156\151\154\x61\151\137\x73\x69\153\141\x70"); goto nP9Qf; p375r: $this->db->empty_table("\162\141\x70\x6f\x72\x5f\x66\151\163\x69\x6b"); goto ust3w; tS3fc: $this->db->empty_table("\x72\141\x70\157\x72\x5f\143\x61\164\141\164\141\x6e\137\167\141\x6c\151"); goto p375r; Z3cyR: $this->db->empty_table("\162\141\160\157\162\x5f\x70\162\145\x73\164\141\x73\x69"); goto tS3fc; nP9Qf: } public function getAllNilaiRapor($ids_siswa = null) { goto bq_WS; PiuOz: $this->db->join("\155\x61\x73\x74\x65\162\x5f\x6d\141\160\145\x6c\40\160", "\x61\x2e\151\x64\137\155\141\x70\x65\154\x3d\x70\56\151\x64\x5f\x6d\141\160\145\x6c", "\154\145\x66\164"); goto PJi0C; sZUP9: $this->db->join("\155\141\x73\x74\145\162\x5f\x73\155\x74\x20\144", "\144\56\x69\x64\x5f\x73\155\x74\x3d\141\x2e\x69\x64\x5f\x73\155\164", "\x6c\x65\146\164"); goto f8fTr; Pmp5P: return $result; goto Vhd6N; pd4qW: $this->db->from("\x72\141\x70\157\162\x5f\x6e\151\154\x61\151\137\150\x61\162\151\141\156\x20\141"); goto FPwNa; FPwNa: $this->db->join("\x72\x61\x70\157\162\x5f\x6e\151\154\141\x69\137\x61\x6b\x68\x69\162\x20\x62", "\142\x2e\151\144\x5f\x6e\x69\x6c\141\x69\137\141\x6b\x68\x69\162\75\141\56\151\x64\137\156\151\154\x61\151\x5f\150\x61\162\151\x61\156", "\154\x65\x66\x74"); goto C4mnv; C4mnv: $this->db->join("\x6d\141\163\x74\145\x72\x5f\x74\160\40\143", "\143\x2e\151\144\x5f\164\160\75\x61\56\151\144\x5f\x74\160", "\154\x65\146\x74"); goto sZUP9; p89R9: $this->db->join("\162\x61\160\157\x72\x5f\x6e\141\x69\x6b\40\x66", "\x61\x2e\x69\x64\x5f\x73\x69\x73\x77\x61\x3d\x66\56\151\144\137\x73\x69\163\x77\x61\40\x41\x4e\104\x20\141\x2e\x69\144\x5f\x74\160\x3d\x66\56\151\144\137\x74\160\40\x41\x4e\x44\40\141\x2e\151\144\x5f\x73\x6d\164\x3d\146\x2e\151\144\137\x73\x6d\164", "\154\x65\x66\164"); goto uZXTa; xS9wM: namAA: goto TrsJS; BGFzd: $this->db->join("\x72\141\x70\x6f\x72\137\160\x72\145\x73\x74\x61\163\151\x20\x6c", "\141\x2e\151\x64\x5f\x73\151\x73\x77\141\75\x6c\56\x69\144\137\x73\151\x73\x77\141\x20\101\x4e\x44\40\141\56\x69\144\x5f\x74\160\75\x6c\56\151\144\137\164\x70\40\101\116\x44\x20\141\x2e\151\x64\x5f\x73\155\x74\x3d\154\x2e\151\144\x5f\x73\155\164", "\x6c\145\x66\164"); goto a3NHn; HcZ0u: $this->db->join("\x6a\x61\142\141\x74\x61\x6e\x5f\147\x75\162\165\x20\152", "\x61\x2e\151\144\x5f\153\x65\x6c\x61\163\x3d\x6a\x2e\x69\x64\x5f\153\x65\x6c\141\163\40\x41\x4e\x44\40\x61\x2e\x69\144\x5f\x74\160\x3d\x6a\56\x69\144\137\x74\160\x20\x41\x4e\104\40\x61\x2e\x69\144\137\x73\155\164\x3d\152\56\151\x64\x5f\x73\155\164", "\x6c\145\146\x74"); goto bCubE; TrsJS: $result = $this->db->get()->result(); goto Pmp5P; a3NHn: $this->db->join("\162\141\160\157\x72\137\143\x61\164\141\x74\x61\156\x5f\x77\141\154\x69\x20\155", "\x61\56\x69\144\137\163\151\x73\167\141\75\x6d\x2e\x69\x64\137\163\x69\x73\x77\x61\40\x41\116\104\40\141\x2e\151\x64\x5f\x74\x70\75\x6d\56\x69\x64\137\x74\160\x20\101\116\x44\40\x61\56\151\144\137\x73\155\164\75\x6d\x2e\151\x64\137\163\x6d\x74", "\154\x65\x66\164"); goto nhSJD; wLrGg: $this->db->join("\x6d\141\163\164\x65\x72\x5f\152\x75\x72\x75\163\x61\x6e\x20\x69", "\x68\x2e\x6a\165\x72\x75\x73\x61\x6e\137\151\144\x3d\151\56\x69\144\x5f\x6a\165\162\165\163\x61\x6e", "\x6c\145\x66\164"); goto HcZ0u; nhSJD: $this->db->join("\x72\141\x70\157\162\x5f\x66\x69\163\x69\153\x20\156", "\141\x2e\151\x64\x5f\163\151\x73\167\x61\75\156\x2e\x69\144\x5f\x73\151\x73\x77\x61\40\101\116\104\40\x61\56\151\144\x5f\164\x70\x3d\x6e\56\x69\x64\x5f\x74\160\40\x41\x4e\x44\x20\x61\x2e\151\x64\x5f\163\155\x74\75\x6e\x2e\x69\x64\x5f\x73\x6d\164", "\x6c\x65\x66\164"); goto PiuOz; bq_WS: $this->db->query("\123\105\x54\x20\123\x51\x4c\137\102\111\107\x5f\123\x45\114\105\103\124\123\x3d\61"); goto bqh9m; uZXTa: $this->db->join("\x72\141\x70\157\x72\x5f\156\151\x6c\141\x69\x5f\160\164\x73\40\147", "\147\x2e\151\144\137\x6e\x69\x6c\141\151\137\160\164\x73\75\141\56\x69\144\137\156\151\154\141\151\x5f\x68\x61\162\x69\x61\x6e", "\154\x65\x66\164"); goto hJUc0; hJUc0: $this->db->join("\155\141\163\164\x65\x72\137\153\145\154\141\x73\40\x68", "\x61\x2e\151\144\x5f\153\x65\154\x61\x73\75\150\56\151\144\x5f\153\x65\154\x61\x73\x20\101\x4e\x44\x20\141\x2e\151\144\137\164\160\75\x68\x2e\x69\x64\x5f\164\160\40\x41\x4e\x44\40\141\x2e\x69\x64\137\163\x6d\164\x3d\x68\56\151\144\137\163\155\164", "\154\x65\146\x74"); goto wLrGg; YFvdH: $this->db->where_in("\x61\x2e\151\x64\x5f\x73\151\163\x77\x61", $ids_siswa); goto xS9wM; f8fTr: $this->db->join("\x6d\x61\163\164\145\162\137\x73\151\x73\x77\x61\40\x65", "\x65\x2e\x69\144\x5f\x73\151\x73\167\141\x3d\x61\x2e\x69\x64\137\x73\151\163\167\141", "\x6c\x65\146\164"); goto p89R9; PJi0C: if (!($ids_siswa != null)) { goto namAA; } goto YFvdH; bqh9m: $this->db->select("\x61\56\151\144\137\164\x70\54\40\141\56\x69\144\x5f\163\x6d\164\54\40\x61\56\x69\x64\137\155\x61\x70\x65\154\x2c\x20\141\x2e\151\144\x5f\x73\x69\x73\167\x61\x2c\40\141\56\x70\137\162\141\164\141\x5f\162\x61\164\x61\x2c\40\141\56\160\x5f\x70\162\145\x64\151\x6b\x61\x74\54\x20\141\x2e\x70\137\x64\145\163\x6b\162\x69\x70\x73\x69\54" . "\40\x61\56\x6b\137\162\141\x74\141\137\162\x61\x74\x61\x2c\x20\x61\x2e\153\x5f\x70\x72\145\x64\x69\x6b\x61\164\x2c\x20\141\x2e\x6b\x5f\x64\145\163\x6b\x72\x69\160\x73\151\x2c" . "\40\x62\x2e\x6e\x69\x6c\141\x69\x20\141\163\40\x6e\151\x6c\141\151\137\x70\141\x73\54\x20\x62\56\141\x6b\150\151\162\x20\x61\x73\40\x6e\151\x6c\141\x69\137\162\x61\x70\x6f\162\54\x20\x62\56\160\162\x65\x64\151\x6b\141\164\40\141\x73\40\162\141\x70\x6f\x72\x5f\160\x72\145\x64\151\x6b\141\164\x2c" . "\40\143\56\52\54\x20\x64\56\x2a\54\40\145\x2e\x20\156\141\155\141\x2c\40\145\56\x75\151\144\x2c\x20\146\56\156\141\151\153\54" . "\x20\147\x2e\x6e\x69\x6c\141\151\x20\141\163\40\156\x69\154\141\x69\137\x70\x74\x73\x2c\x20\x67\56\x70\x72\145\x64\x69\153\x61\x74\40\141\163\x20\160\x74\x73\x5f\160\162\x65\x64\151\x6b\x61\164\x2c" . "\40\150\x2e\x20\151\x64\137\153\145\x6c\x61\163\54\40\150\x2e\x6e\141\x6d\x61\x5f\x6b\x65\x6c\141\x73\x2c\40\150\56\x6c\x65\x76\145\154\x5f\x69\x64\x2c\40\x69\56\156\x61\155\x61\137\x6a\165\x72\165\163\141\156\x2c\40\x6b\56\156\x61\155\x61\x5f\x67\x75\162\165\x2c" . "\x20\x6c\56\x72\141\x6e\x6b\x69\156\147\x2c\x20\154\56\x64\145\x73\x6b\x72\x69\x70\163\x69\40\141\x73\x20\x72\141\156\x6b\x5f\144\x65\x73\153\162\151\160\163\151\54\40\x6c\x2e\160\61\x2c\x20\154\x2e\160\x31\137\x64\145\163\x6b\54\x20\154\56\x70\62\54\40\154\56\160\62\137\x64\145\163\153\54\x20\x6c\56\x70\x33\54\x20\154\56\x70\63\137\x64\x65\163\x6b\54" . "\x20\x6d\56\x6e\x69\x6c\x61\151\x20\141\x73\40\141\x62\163\145\156\54\x20\x6d\x2e\144\x65\x73\153\162\151\160\x73\x69\40\x61\x73\x20\163\141\x72\x61\156\x2c\x20\156\x2e\153\157\156\144\x69\163\151\54\40\x6e\56\164\x69\156\147\147\x69\54\40\x6e\x2e\142\x65\162\x61\x74\x2c\x20\x70\x2e\153\157\144\145\x20\141\163\40\155\141\160\x65\154"); goto pd4qW; bCubE: $this->db->join("\x6d\x61\x73\x74\145\x72\137\x67\165\162\165\x20\x6b", "\x6a\x2e\x69\144\x5f\147\x75\x72\x75\75\x6b\56\x69\x64\x5f\x67\165\162\165", "\x6c\x65\x66\164"); goto BGFzd; Vhd6N: } public function getAllEkstra() { goto U0paU; QyBQ5: $this->db->from("\x6b\145\x6c\x61\163\137\145\x6b\163\x74\x72\x61"); goto igbnv; EH3jR: return $ret; goto oqzw5; jeoTe: $ret = []; goto bEgl4; RPti0: foreach ($result as $key => $row) { $ret[$row->id_tp][$row->id_smt][$row->id_kelas] = unserialize($row->ekstra); om1W5: } goto LCh0T; U0paU: $this->db->select("\52"); goto QyBQ5; zwFcF: AaNdg: goto EH3jR; igbnv: $result = $this->db->get()->result(); goto jeoTe; LCh0T: gbg0G: goto zwFcF; bEgl4: if (!$result) { goto AaNdg; } goto RPti0; oqzw5: } public function getAllNilaiEkstra($ids_siswa = null) { goto WLg8F; D2fqe: $this->db->join("\x6d\141\x73\164\145\x72\x5f\x65\153\163\x74\x72\x61\40\142", "\141\x2e\151\x64\137\145\153\x73\164\162\141\x3d\x62\x2e\x69\x64\137\145\153\163\x74\x72\x61", "\154\x65\146\164"); goto tXFwN; cicHQ: return $ret; goto WmUiN; d2Drj: $result = $this->db->get()->result(); goto D4TbZ; ZMWWV: $this->db->where_in("\x61\56\x69\144\x5f\163\x69\x73\167\141", $ids_siswa); goto Url_J; szB2M: $this->db->from("\162\x61\x70\x6f\162\137\x6e\151\154\x61\151\137\x65\x6b\x73\x74\x72\x61\40\x61"); goto D2fqe; NdceK: foreach ($result as $res) { $ret[$res->id_tp][$res->id_smt][$res->id_siswa][] = $res; PxtvH: } goto HHzqj; tXFwN: if (!($ids_siswa != null)) { goto zvWoi; } goto ZMWWV; WLg8F: $this->db->select("\x61\x2e\52\x2c\40\142\x2e\x6e\x61\155\x61\137\x65\x6b\163\164\162\x61\x2c\x20\142\56\x6b\157\x64\145\137\x65\153\163\x74\162\x61"); goto szB2M; Url_J: zvWoi: goto d2Drj; HHzqj: m104I: goto cicHQ; D4TbZ: $ret = []; goto NdceK; WmUiN: } public function getAllNilaiSikap($ids_siswa = null) { goto Uc8wW; qyYO_: $this->db->where_in("\x69\x64\x5f\x73\151\163\167\x61", $ids_siswa); goto uSkWd; Ax8ne: if (!($ids_siswa != null)) { goto H2w5d; } goto qyYO_; NTZ50: $ret = []; goto Q18MD; TyFWk: $this->db->from("\162\x61\160\157\162\137\156\x69\x6c\x61\151\x5f\163\151\x6b\141\160"); goto Ax8ne; Kfh4q: return $ret; goto oxpFE; Q18MD: foreach ($result as $res) { $ret[$res->id_tp][$res->id_smt][$res->id_siswa][$res->jenis] = $res; SKktS: } goto cfcG6; uSkWd: H2w5d: goto IxLNG; Uc8wW: $this->db->select("\x2a"); goto TyFWk; cfcG6: TYFQ9: goto Kfh4q; IxLNG: $result = $this->db->get()->result(); goto NTZ50; oxpFE: } public function getAllFisik($ids_siswa = null) { goto N4OlI; jSAPX: $this->db->where_in("\151\144\137\163\151\163\x77\141", $ids_siswa); goto xV9Bq; pkt_f: foreach ($result as $res) { $ret[$res->id_siswa][$res->id_tp][$res->id_smt] = $res; oi8oK: } goto ZJlDv; kQbBM: $this->db->from("\162\141\160\157\x72\137\x66\x69\163\x69\153"); goto uUiqt; jzNwW: $result = $this->db->get()->result(); goto sKxQu; ZehQW: return $ret; goto GgwKP; sKxQu: $ret = []; goto pkt_f; xV9Bq: b3wa7: goto jzNwW; uUiqt: if (!($ids_siswa != null)) { goto b3wa7; } goto jSAPX; ZJlDv: odHjz: goto ZehQW; N4OlI: $this->db->select("\151\x64\137\x74\x70\x2c\x20\x69\x64\137\x73\x6d\164\54\x20\151\144\x5f\x73\151\x73\x77\141\x2c\40\x6b\x6f\x6e\x64\151\x73\x69\54\x20\x74\151\156\147\x67\151\54\40\142\x65\x72\141\x74"); goto kQbBM; GgwKP: } function exists($uid, $tp, $smt, $kelas) { goto jWGnm; AKAlW: return false; goto qn7_j; Fob7L: MuyUe: goto jAhtr; Uqcz7: if ($query->num_rows() > 0) { goto CZ8tT; } goto AKAlW; X1K_b: return true; goto Fob7L; tUiRU: CZ8tT: goto X1K_b; pX2Qn: $query = $this->db->get("\142\165\x6b\x75\x5f\x6e\x69\x6c\x61\151"); goto Uqcz7; jWGnm: $this->db->where("\165\151\144", $uid)->where("\x74\x70", $tp)->where("\163\155\x74", $smt)->where("\153\145\x6c\141\163", $kelas); goto pX2Qn; qn7_j: goto MuyUe; goto tUiRU; jAhtr: } }
Function Calls
None |
Stats
MD5 | 96c05422ac834530be141b7253df6187 |
Eval Count | 0 |
Decode Time | 97 ms |