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 JzKon; JzKon: $this->db->where_in("id_kkm", $ids); goto Vj8G4; zc7tY: YoA7M: goto b4WYq; b4WYq: gzt5v: goto drGdY; I42MG: foreach ($result as $key => $row) { $ret[$row->id_mapel] = $row; cqKs7: } goto zc7tY; drGdY: return $ret; goto QSWMN; Vj8G4: $result = $this->db->get("rapor_kkm")->result(); goto wPBx4; wPBx4: $ret = []; goto w2Pfz; w2Pfz: if (!$result) { goto gzt5v; } goto I42MG; QSWMN: } 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 wEevE; CC6dM: $this->db->order_by("b.nama", "ASC"); goto znFs5; w96UX: $this->db->join("master_kelas c", "a.id_kelas=c.id_kelas"); goto ydeXS; ftgbC: $this->db->join("master_siswa b", "a.id_siswa=b.id_siswa"); goto w96UX; j0J1X: $this->db->from("kelas_siswa a"); goto ftgbC; ydeXS: $this->db->where("a.id_kelas", $id_kelas); goto Ot8I1; X10cE: $this->db->where("a.id_smt", $id_smt); goto CC6dM; wEevE: $this->db->query("SET SQL_BIG_SELECTS=1"); goto EsgH4; EsgH4: $this->db->select("a.*, b.*, c.*"); goto j0J1X; Ot8I1: $this->db->where("a.id_tp", $id_tp); goto X10cE; znFs5: return $this->db->get()->result(); goto ZUPJN; ZUPJN: } public function getDetailSiswaById($id_siswa, $id_tp, $id_smt) { goto ZJ5jN; pqYWk: $this->db->where("b.id_smt", $id_smt); goto BP4YJ; BP4YJ: $this->db->order_by("a.nama", "ASC"); goto AqCHF; Dt_gA: $this->db->join("master_kelas c", "b.id_kelas=c.id_kelas"); goto SnGtb; xU3SP: $this->db->join("kelas_siswa b", "a.id_siswa=b.id_siswa"); goto Dt_gA; hcgYC: $this->db->select("a.nama, a.nis, a.nisn, c.nama_kelas"); goto A0EfQ; SnGtb: $this->db->where("a.id_siswa", $id_siswa); goto CeYVJ; CeYVJ: $this->db->where("b.id_tp", $id_tp); goto pqYWk; ZJ5jN: $this->db->query("SET SQL_BIG_SELECTS=1"); goto hcgYC; AqCHF: return $this->db->get()->row(); goto RHkR1; A0EfQ: $this->db->from("master_siswa a"); goto xU3SP; RHkR1: } public function cekNilaiHarianKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto rWjCs; vrVNO: $this->db->from("rapor_nilai_harian"); goto ERZ7K; Dj81M: return $this->db->get()->num_rows(); goto MCvgA; sh7j0: $this->db->where("id_tp", $id_tp); goto D4IsN; rWjCs: $this->db->select("p_rata_rata"); goto vrVNO; D4IsN: $this->db->where("id_smt", $id_smt); goto d4xqp; ERZ7K: $this->db->where("id_mapel", $id_mapel); goto b71yR; d4xqp: $this->db->where("p_rata_rata !=", "NULL"); goto Dj81M; b71yR: $this->db->where("id_kelas", $id_kelas); goto sh7j0; MCvgA: } public function getNilaiHarianKelas($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt) { goto f6YVW; f6YVW: $this->db->select("*"); goto lBLF8; sdkF3: return $this->db->get()->row(); goto rdjDG; lBLF8: $this->db->from("rapor_nilai_harian"); goto xU_Fa; xU_Fa: $this->db->where("id_nilai_harian", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt); goto sdkF3; rdjDG: } public function getAllNilaiHarianKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto AOGch; kTBIA: $this->db->from("rapor_nilai_harian"); goto VH7pB; AOGch: $this->db->select("*"); goto kTBIA; VH7pB: $this->db->where("id_mapel", $id_mapel); goto hd9gv; C0JI7: $result = $this->db->get()->result(); goto Uypee; F_2oW: VcKh3: goto PwUiZ; GCrNr: $this->db->where("id_tp", $id_tp); goto yUqxI; Q5TQz: foreach ($result as $row) { $ret[$row->id_siswa] = $row; iA06z: } goto F_2oW; PwUiZ: B7C3o: goto zEOem; yUqxI: $this->db->where("id_smt", $id_smt); goto C0JI7; Uypee: $ret = []; goto YgYmE; hd9gv: $this->db->where("id_kelas", $id_kelas); goto GCrNr; zEOem: return $ret; goto i1Wdf; YgYmE: if (!$result) { goto B7C3o; } goto Q5TQz; i1Wdf: } public function cekNilaiPtsKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto x1fWM; rZo76: $this->db->where("id_smt", $id_smt); goto XqoUc; BeZVr: return $this->db->get()->num_rows(); goto AjFPf; j91VY: $this->db->where("id_kelas", $id_kelas); goto D78ls; D78ls: $this->db->where("id_tp", $id_tp); goto rZo76; Nz5OH: $this->db->where("id_mapel", $id_mapel); goto j91VY; x1fWM: $this->db->select("predikat"); goto Zrxhj; XqoUc: $this->db->where("predikat !=", "NULL"); goto BeZVr; Zrxhj: $this->db->from("rapor_nilai_pts"); goto Nz5OH; AjFPf: } public function getIdNilaiPts($arr_id) { goto Cfmpq; j46DO: $this->db->where_in("id_nilai_pts", $arr_id); goto eEADk; fXRfs: $this->db->from("rapor_nilai_pts"); goto j46DO; ofyE4: return $ret; goto IwwGr; Ncr12: if (!$result) { goto xgbbK; } goto XQ_1W; ntx3t: $ret = []; goto Ncr12; pRGnh: p7JjN: goto RSQrv; XQ_1W: foreach ($result as $key => $row) { $ret[$row->id_nilai_pts] = $row; V4MFo: } goto pRGnh; RSQrv: xgbbK: goto ofyE4; Cfmpq: $this->db->select("id_nilai_pts"); goto fXRfs; eEADk: $result = $this->db->get()->result(); goto ntx3t; IwwGr: } public function getNilaiPtsKelas($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt) { goto YdrYv; b4jP3: return $this->db->get()->row(); goto s9j9J; k0NP_: $this->db->where("id_nilai_pts", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt); goto b4jP3; p7CyJ: $this->db->from("rapor_nilai_pts"); goto k0NP_; YdrYv: $this->db->select("*"); goto p7CyJ; s9j9J: } public function getAllNilaiPtsKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto bzu8K; H4NbL: PQ4Ff: goto KOGYx; J9Va0: $this->db->where("id_mapel", $id_mapel); goto gro2z; Imc0i: $this->db->where("id_tp", $id_tp); goto PGOyo; bzu8K: $this->db->select("*"); goto EcZl7; EcZl7: $this->db->from("rapor_nilai_pts"); goto J9Va0; jnz39: foreach ($result as $row) { $ret[$row->id_siswa] = $row; lfHup: } goto XMfGm; aUFh3: $result = $this->db->get()->result(); goto T4rlo; XMfGm: v4GQy: goto H4NbL; PGOyo: $this->db->where("id_smt", $id_smt); goto aUFh3; YoOj_: if (!$result) { goto PQ4Ff; } goto jnz39; gro2z: $this->db->where("id_kelas", $id_kelas); goto Imc0i; T4rlo: $ret = []; goto YoOj_; KOGYx: return $ret; goto Ndpjg; Ndpjg: } public function getEkstraKelas($id_mapel, $id_siswa, $id_tp, $id_smt) { goto TulwZ; iDZPY: $this->db->where("id_smt", $id_smt); goto NW2t2; MzLMz: $this->db->where("id_ekstra", $id_mapel); goto Bp6zm; TulwZ: $this->db->select("nilai, predikat, deskripsi"); goto VO_31; VO_31: $this->db->from("rapor_nilai_ekstra"); goto MzLMz; NW2t2: return $this->db->get()->row(); goto kbD43; Bp6zm: $this->db->where("id_siswa", $id_siswa); goto jWSr2; jWSr2: $this->db->where("id_tp", $id_tp); goto iDZPY; kbD43: } public function cekNilaiEkstraKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto G19np; imVJs: $this->db->where("id_kelas", $id_kelas); goto jNfCs; NVApa: $this->db->where("id_ekstra", $id_mapel); goto imVJs; G19np: $this->db->select("id_nilai_ekstra"); goto eKZpK; eKZpK: $this->db->from("rapor_nilai_ekstra"); goto NVApa; jNfCs: $this->db->where("id_tp", $id_tp); goto mWC48; cFWxD: return $this->db->get()->num_rows(); goto hkTAO; mWC48: $this->db->where("id_smt", $id_smt); goto cFWxD; hkTAO: } public function getNilaiEkstraKelas($id_ekstra, $id_kelas, $id_siswa, $id_tp, $id_smt) { goto GjR6F; GjR6F: $this->db->select("*"); goto sCTmY; sCTmY: $this->db->from("rapor_nilai_ekstra"); goto Am00Z; Am00Z: $this->db->where("id_nilai_ekstra", $id_ekstra . $id_kelas . $id_siswa . $id_tp . $id_smt); goto uOV33; uOV33: return $this->db->get()->row(); goto ZcQuw; ZcQuw: } public function getAllNilaiEkstraKelas($id_ekstra, $id_kelas, $id_tp, $id_smt) { goto PTYpc; U5bH2: $result = $this->db->get()->result(); goto sRPjx; E3p1G: $this->db->where("id_tp", $id_tp); goto UmcMx; NKmHN: if (!$result) { goto JP0hW; } goto MQSCi; Kpf84: JP0hW: goto aqCNF; MQSCi: foreach ($result as $row) { $ret[$row->id_siswa] = $row; oAbNP: } goto sI6Sd; UmcMx: $this->db->where("id_smt", $id_smt); goto U5bH2; sRPjx: $ret = []; goto NKmHN; OTRUn: $this->db->where("id_ekstra", $id_ekstra); goto bbYNP; sI6Sd: D35VQ: goto Kpf84; aqCNF: return $ret; goto NvXHE; F0xJU: $this->db->from("rapor_nilai_ekstra"); goto OTRUn; PTYpc: $this->db->select("*"); goto F0xJU; bbYNP: $this->db->where("id_kelas", $id_kelas); goto E3p1G; NvXHE: } public function cekNilaiAkhirKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto Dilo7; Dilo7: $this->db->select("id_nilai_akhir"); goto gF7kW; IpuzQ: $this->db->where("id_kelas", $id_kelas); goto VxYq8; Xlnbr: $this->db->where("id_mapel", $id_mapel); goto IpuzQ; gF7kW: $this->db->from("rapor_nilai_akhir"); goto Xlnbr; zS1gq: return $this->db->get()->num_rows(); goto yn5Jm; VxYq8: $this->db->where("id_tp", $id_tp); goto xwW7f; xwW7f: $this->db->where("id_smt", $id_smt); goto zS1gq; yn5Jm: } public function getNilaiAkhirKelas($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt) { goto sxhSV; ZCOn8: $this->db->where("a.id_nilai_harian", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt); goto FCOXA; SuH30: $this->db->from("rapor_nilai_harian a"); goto s2ZrI; s2ZrI: $this->db->join("rapor_nilai_pts b", "b.id_nilai_pts=a.id_nilai_harian", "left"); goto yVwUD; XzKwD: $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 SuH30; FCOXA: return $this->db->get()->row(); goto OxoZU; yVwUD: $this->db->join("rapor_nilai_akhir c", "c.id_nilai_akhir=a.id_nilai_harian", "left"); goto ZCOn8; sxhSV: $this->db->query("SET SQL_BIG_SELECTS=1"); goto XzKwD; OxoZU: } public function getAllNilaiAkhirKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto Dnuph; eSvUN: FFrW0: goto V_yCo; qfO9N: $this->db->where("a.id_tp", $id_tp); goto yLE8O; y0vhC: $this->db->from("rapor_nilai_harian a"); goto bug9G; V_yCo: uJFXK: goto uuv6S; bug9G: $this->db->join("rapor_nilai_pts b", "b.id_nilai_pts=a.id_nilai_harian", "left"); goto GlJZh; rPAbh: $this->db->where("a.id_mapel", $id_mapel); goto AmvBE; Dnuph: $this->db->query("SET SQL_BIG_SELECTS=1"); goto MDI1D; MDI1D: $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 y0vhC; AmvBE: $this->db->where("a.id_kelas", $id_kelas); goto qfO9N; tW5Kq: if (!$result) { goto uJFXK; } goto BZ_4S; GlJZh: $this->db->join("rapor_nilai_akhir c", "c.id_nilai_akhir=a.id_nilai_harian", "left"); goto rPAbh; yLE8O: $this->db->where("a.id_smt", $id_smt); goto WzT6X; uuv6S: return $ret; goto k6oVw; F532O: $ret = []; goto tW5Kq; BZ_4S: foreach ($result as $row) { $ret[$row->id_siswa] = $row; fv4AE: } goto eSvUN; WzT6X: $result = $this->db->get()->result(); goto F532O; k6oVw: } public function getNilaiAkhirByMapel($id_mapel, $id_kelas, $id_tp, $id_smt) { goto cyVBV; cyVBV: $this->db->query("SET SQL_BIG_SELECTS=1"); goto eaQ7W; sjxQ6: $this->db->join("rapor_nilai_pts b", "b.id_nilai_pts=a.id_nilai_harian", "left"); goto Rn44e; qvcXA: $this->db->where("a.id_tp", $id_tp); goto CqAIO; Rn44e: $this->db->join("rapor_nilai_akhir c", "c.id_nilai_akhir=a.id_nilai_harian", "left"); goto rDFw0; CqAIO: $this->db->where("a.id_smt", $id_smt); goto z9Dyr; eaQ7W: $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 pzgx4; mlO2g: $this->db->where("a.id_kelas", $id_kelas); goto qvcXA; pzgx4: $this->db->from("rapor_nilai_harian a"); goto sjxQ6; rDFw0: $this->db->where("a.id_mapel", $id_mapel); goto mlO2g; z9Dyr: return $this->db->get()->result(); goto Gt1fk; Gt1fk: } 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 hhqBk; lTZ13: $this->db->where("id_tp", $id_tp); goto NRt0i; NRt0i: $this->db->where("id_smt", $id_smt); goto VFw86; hhqBk: $this->db->select("*"); goto NCXUK; C0Sbr: $this->db->where("jenis", $jenis); goto lTZ13; VFw86: return $this->db->get()->result(); goto fJwYJ; vbj7B: $this->db->where("id_kelas", $kelas); goto C0Sbr; NCXUK: $this->db->from("rapor_data_sikap"); goto vbj7B; fJwYJ: } public function getNilaiSikapKelas($id_kelas, $id_siswa, $id_tp, $id_smt, $jenis) { goto wTjip; SMo8i: $this->db->where("id_nilai_sikap", $id_kelas . $id_siswa . $id_tp . $id_smt . $jenis); goto L7luA; L7luA: return $this->db->get()->row(); goto f2K0H; BqyBY: $this->db->from("rapor_nilai_sikap"); goto SMo8i; wTjip: $this->db->select("*"); goto BqyBY; f2K0H: } public function getAllNilaiSikapKelas($id_kelas) { goto i1GPf; T5niC: $this->db->from("rapor_nilai_sikap"); goto iAzWt; tPzJx: return $this->db->get()->result(); goto WDd3N; i1GPf: $this->db->select("*"); goto T5niC; iAzWt: $this->db->where("id_kelas", $id_kelas); goto tPzJx; WDd3N: } public function getNilaiSikapByJenis($id_kelas, $jenis, $id_tp, $id_smt) { goto IzQLb; p8EFg: $this->db->from("rapor_nilai_sikap"); goto N20Ez; hs9hh: $this->db->where("id_smt", $id_smt); goto sqEHf; bAXZt: $this->db->where("id_tp", $id_tp); goto hs9hh; sqEHf: return $this->db->get()->result(); goto HUQOx; N20Ez: $this->db->where("id_kelas", $id_kelas); goto i6G7g; IzQLb: $this->db->select("*"); goto p8EFg; i6G7g: $this->db->where("jenis", $jenis); goto bAXZt; HUQOx: } public function getNilaiSikapByKelas($id_kelas, $id_tp, $id_smt) { goto N8VoJ; N8VoJ: $this->db->select("*"); goto z0Hr8; CETQH: $this->db->where("id_tp", $id_tp); goto TR315; z0Hr8: $this->db->from("rapor_nilai_sikap"); goto AaHNb; Vbezw: return $this->db->get()->result(); goto qAR1E; AaHNb: $this->db->where("id_kelas", $id_kelas); goto CETQH; TR315: $this->db->where("id_smt", $id_smt); goto Vbezw; qAR1E: } public function getNilaiSikapBySiswa($id_siswa, $id_tp, $id_smt) { goto pGbHz; pGbHz: $this->db->select("*"); goto gS1GG; kFQgf: $this->db->where("id_tp", $id_tp); goto hjrKc; hjrKc: $this->db->where("id_smt", $id_smt); goto oKN3B; oKN3B: return $this->db->get()->result(); goto ogUZU; Ie0sm: $this->db->where("id_siswa", $id_siswa); goto kFQgf; gS1GG: $this->db->from("rapor_nilai_sikap"); goto Ie0sm; ogUZU: } 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 ZG_AY; fQJtk: $this->db->where("id_catatan_wali", $id_kelas . $id_siswa . $id_tp . $id_smt); goto QTU_N; Sd3Qi: $this->db->from("rapor_catatan_wali"); goto fQJtk; ZG_AY: $this->db->select("*"); goto Sd3Qi; QTU_N: return $this->db->get()->row(); goto thWoF; thWoF: } public function getAllCatatanKelas($id_kelas) { goto Mf2LH; Mf2LH: $this->db->select("*"); goto EJSFX; YYBmR: $this->db->where("id_kelas", $id_kelas); goto r1oKr; r1oKr: return $this->db->get()->result(); goto kW_nk; EJSFX: $this->db->from("rapor_catatan_wali"); goto YYBmR; kW_nk: } public function getRankingKelas($id_kelas, $id_siswa, $id_tp, $id_smt) { goto lR5ms; GM_ob: return $this->db->get()->row(); goto fXibK; O5X2s: $this->db->from("rapor_prestasi"); goto CBYKi; CBYKi: $this->db->where("id_ranking", $id_kelas . $id_siswa . $id_tp . $id_smt); goto GM_ob; lR5ms: $this->db->select("*"); goto O5X2s; fXibK: } public function getAllRankingKelas($id_kelas) { goto oOQl6; B4ZsC: $this->db->from("rapor_prestasi"); goto uHWfJ; kR1sH: return $this->db->get()->result(); goto Ldh35; oOQl6: $this->db->select("*"); goto B4ZsC; uHWfJ: $this->db->where("id_kelas", $id_kelas); goto kR1sH; Ldh35: } public function getAllDeskripsiFisikKelas() { goto m41zh; j0zh3: if (!$result) { goto XFtNQ; } goto jyQHc; eqQf8: $ret = []; goto j0zh3; ImoIo: H0va1: goto L7h7E; KlxmQ: return $ret; goto vzxo4; jyQHc: foreach ($result as $key => $row) { $ret[$row->id_kelas][$row->id_tp][$row->id_smt] = $row; a_XSk: } goto ImoIo; m41zh: $result = $this->db->get("rapor_data_fisik")->result(); goto eqQf8; L7h7E: XFtNQ: goto KlxmQ; vzxo4: } public function getAllRaporFisik() { goto nxlmb; joldC: return $ret; goto J1CDZ; De0mx: foreach ($result as $key => $row) { $ret[$row->id_siswa][$row->id_tp][$row->id_smt] = $row; gTdMi: } goto w84xY; w84xY: n7l05: goto r9m8n; Vjr91: if (!$result) { goto k32_W; } goto De0mx; nxlmb: $result = $this->db->get("rapor_fisik")->result(); goto hpmUR; r9m8n: k32_W: goto joldC; hpmUR: $ret = []; goto Vjr91; J1CDZ: } 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 SgFjS; SgFjS: $this->db->select("*"); goto TZDq1; TZDq1: $this->db->from("rapor_fisik"); goto nOx47; nOx47: $this->db->where("id_fisik", $id_kelas . $id_siswa . $id_tp . $id_smt); goto ibkfS; ibkfS: return $this->db->get()->row(); goto PDZAm; PDZAm: } public function getAllFisikKelas($id_kelas) { goto Xtdov; pa8OG: $this->db->where("id_kelas", $id_kelas); goto Fg8zh; Agg_Q: $this->db->from("rapor_fisik"); goto pa8OG; Fg8zh: return $this->db->get()->result(); goto RiqlC; Xtdov: $this->db->select("*"); goto Agg_Q; RiqlC: } public function getJmlNilaiMapelHarianSiswa($id_mapel, $id_siswa, $id_tp, $id_smt) { goto BiXab; BiXab: $this->db->select("p_rata_rata, k_rata_rata, jml"); goto LVjD3; iC2R0: $this->db->where("id_siswa", $id_siswa); goto kT29C; EbsbY: $this->db->where("id_smt", $id_smt); goto O3nyZ; LVjD3: $this->db->from("rapor_nilai_harian"); goto aPGXx; O3nyZ: return $this->db->get()->row(); goto eT1Y_; aPGXx: $this->db->where("id_mapel", $id_mapel); goto iC2R0; kT29C: $this->db->where("id_tp", $id_tp); goto EbsbY; eT1Y_: } public function getNilaiMapelHarianSiswa($id_mapel, $id_siswa, $id_tp, $id_smt) { goto tPtiU; tPtiU: $this->db->select("p1,p2,p3,p4,p5,k1,k2,k3,k4,k5"); goto BHGmY; uaiTP: $this->db->where("id_siswa", $id_siswa); goto Q0HA7; BHGmY: $this->db->from("rapor_nilai_harian"); goto Z4u8G; VGmkq: $this->db->where("id_smt", $id_smt); goto inZDu; inZDu: return $this->db->get()->row(); goto e9ez4; Q0HA7: $this->db->where("id_tp", $id_tp); goto VGmkq; Z4u8G: $this->db->where("id_mapel", $id_mapel); goto uaiTP; e9ez4: } public function getArrNilaiMapelHarianSiswa($ids_mapel, $ids_siswa, $id_tp, $id_smt) { goto UVNto; w43z3: OUfdG: goto ykqDW; x5WKe: $this->db->where("id_tp", $id_tp); goto HJAzy; uKQxw: foreach ($nilais as $nilai) { $rest[$nilai->id_siswa][$nilai->id_mapel] = $nilai; khxKb: } goto w43z3; LlWzP: $this->db->where_in("id_siswa", $ids_siswa); goto x5WKe; UVNto: $this->db->select("p1,p2,p3,p4,p5,k1,k2,k3,k4,k5,id_mapel,id_siswa"); goto lPEKT; AFaKi: $rest = []; goto uKQxw; lPEKT: $this->db->from("rapor_nilai_harian"); goto naUL0; HJAzy: $this->db->where("id_smt", $id_smt); goto t5cuO; ykqDW: return $rest; goto hNibF; t5cuO: $nilais = $this->db->get()->result(); goto AFaKi; naUL0: $this->db->where_in("id_mapel", $ids_mapel); goto LlWzP; hNibF: } public function getNilaiMapelPtsSiswa($id_mapel, $id_siswa, $id_tp, $id_smt) { goto pVpZw; pVpZw: $this->db->select("nilai"); goto gdRGA; DzwZ5: $this->db->where("id_siswa", $id_siswa); goto YadfH; gdRGA: $this->db->from("rapor_nilai_pts"); goto WNOed; avS6B: $this->db->where("id_smt", $id_smt); goto p4JnH; WNOed: $this->db->where("id_mapel", $id_mapel); goto DzwZ5; p4JnH: return $this->db->get()->row(); goto k08Gs; YadfH: $this->db->where("id_tp", $id_tp); goto avS6B; k08Gs: } public function getArrNilaiMapelPtsSiswa($ids_mapel, $ids_siswa, $id_tp, $id_smt) { goto M8uM3; wTuUS: $this->db->where_in("id_mapel", $ids_mapel); goto WUT1S; yE3wB: m2xAv: goto A4_LJ; WUT1S: $this->db->where_in("id_siswa", $ids_siswa); goto RGKFR; HqXzl: $this->db->where("id_smt", $id_smt); goto Vlfkk; Vlfkk: $nilais = $this->db->get()->result(); goto epCl5; RGKFR: $this->db->where("id_tp", $id_tp); goto HqXzl; epCl5: $rest = []; goto DexSb; bjr8U: $this->db->from("rapor_nilai_pts"); goto wTuUS; M8uM3: $this->db->select("nilai, id_mapel, id_siswa"); goto bjr8U; A4_LJ: return $rest; goto g0CL0; DexSb: foreach ($nilais as $nilai) { $rest[$nilai->id_siswa][$nilai->id_mapel] = $nilai; Vt7sJ: } goto yE3wB; g0CL0: } public function getNilaiMapelPasSiswa($id_mapel, $id_siswa, $id_tp, $id_smt) { goto G4f_Y; fcDRp: $this->db->where("id_mapel", $id_mapel); goto vVi0i; x1GdC: return $this->db->get()->row(); goto rvtXN; wWSGq: $this->db->where("id_smt", $id_smt); goto x1GdC; G4f_Y: $this->db->select("nilai,akhir"); goto hnkZp; XbYmT: $this->db->where("id_tp", $id_tp); goto wWSGq; hnkZp: $this->db->from("rapor_nilai_akhir"); goto fcDRp; vVi0i: $this->db->where("id_siswa", $id_siswa); goto XbYmT; rvtXN: } public function getNilaiRapor($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt) { goto gIWOn; iVba5: $this->db->where("a.id_nilai_harian", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt); goto iRC39; Vg1qq: $this->db->join("rapor_nilai_akhir b", "b.id_nilai_akhir=a.id_nilai_harian", "left"); goto iVba5; BE0Oe: $this->db->from("rapor_nilai_harian a"); goto Vg1qq; gIWOn: $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 BE0Oe; iRC39: return $this->db->get()->row_array(); goto m3A9U; m3A9U: } public function getNilaiMapelByKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto mGJjk; tNt8V: $this->db->from("rapor_nilai_harian a"); goto kteP1; mLyGW: $this->db->where("a.id_mapel", $id_mapel); goto lciO1; lciO1: $this->db->where("a.id_kelas", $id_kelas); goto KoOb9; kteP1: $this->db->join("rapor_nilai_akhir b", "b.id_nilai_akhir=a.id_nilai_harian", "left"); goto mLyGW; RRM_g: return $this->db->get()->result(); goto Z8YK2; G1uWY: $this->db->where("a.id_smt", $id_smt); goto RRM_g; mGJjk: $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 tNt8V; KoOb9: $this->db->where("a.id_tp", $id_tp); goto G1uWY; Z8YK2: } public function getNilaiRaporByKelas($id_kelas, $id_tp, $id_smt) { goto Ik0G_; gmAR2: $this->db->where("a.id_smt", $id_smt); goto q2hBL; lRSlB: $this->db->where("a.id_kelas", $id_kelas); goto jE_ih; q2hBL: return $this->db->get()->result(); goto UAAGI; Ik0G_: $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 ZIqLR; ZIqLR: $this->db->from("rapor_nilai_harian a"); goto io_jT; io_jT: $this->db->join("rapor_nilai_akhir b", "b.id_nilai_akhir=a.id_nilai_harian", "left"); goto lRSlB; jE_ih: $this->db->where("a.id_tp", $id_tp); goto gmAR2; UAAGI: } public function getPrestasiByKelas($id_kelas, $id_tp, $id_smt) { goto NFdjB; NFdjB: $this->db->select("id_siswa, ranking, deskripsi as rank_deskripsi, p1, p1_desk, p2, p2_desk, p3, p3_desk"); goto D8kIS; d8hWa: $this->db->where("id_smt", $id_smt); goto Ed29X; Sdx7j: AJ2nR: goto LSSgK; cDbGQ: foreach ($ranks as $rank) { $rest[$rank->id_siswa] = $rank; YF7aM: } goto Sdx7j; vSzjV: $this->db->where("id_tp", $id_tp); goto d8hWa; Ed29X: $ranks = $this->db->get()->result(); goto MGA3c; MGA3c: $rest = []; goto cDbGQ; LSSgK: return $rest; goto XpdlH; D8kIS: $this->db->from("rapor_prestasi"); goto CtbpF; CtbpF: $this->db->where("id_kelas", $id_kelas); goto vSzjV; XpdlH: } public function getCatatanWaliByKelas($id_kelas, $id_tp, $id_smt) { goto Q0mMR; MCPKs: $this->db->from("rapor_catatan_wali"); goto BLbju; sbLgf: return $rest; goto x1WBa; ppGM1: $this->db->where("id_tp", $id_tp); goto X9IVO; BLbju: $this->db->where("id_kelas", $id_kelas); goto ppGM1; q7iYk: NlYv_: goto sbLgf; cGmTs: $rest = []; goto IuFdN; go_gR: $desks = $this->db->get()->result(); goto cGmTs; X9IVO: $this->db->where("id_smt", $id_smt); goto go_gR; Q0mMR: $this->db->select("id_siswa, nilai, deskripsi as saran"); goto MCPKs; IuFdN: foreach ($desks as $desk) { $rest[$desk->id_siswa] = $desk; lPUXX: } goto q7iYk; x1WBa: } public function getRaporDeskripsi($id_kelas, $id_siswa, $id_tp, $id_smt) { goto z7XDq; z7XDq: $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 B57Io; B57Io: $this->db->from("rapor_prestasi b"); goto O7mf8; hHIh_: $this->db->where("b.id_ranking", $id_kelas . $id_siswa . $id_tp . $id_smt); goto Kn2hT; Kn2hT: return $this->db->get()->row(); goto fNR9d; O7mf8: $this->db->join("rapor_catatan_wali c", "c.id_catatan_wali=b.id_ranking", "left"); goto hHIh_; fNR9d: } 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 YLSJu; lN0g0: IECSA: goto uC8QY; Mnb9n: return ["Baik, nampak putih dan bersih", "Terdapat gigi yang gigis", "Kebersihan gigi kurang terjaga", "Ada gigi yang mau tanggal"]; goto W9VhV; mSQQa: return ["Tubuh sehat dan kuat", "Mudah kecapekan", "Kebersihan badan kurang terjaga", '']; goto Difid; Y5Nba: goto haKPG; goto Ce1PG; qxuGP: goto haKPG; goto lN0g0; Jdz7D: if ($jenis == "2") { goto IECSA; } goto MCgL_; uC8QY: return ["Baik", "Sering berair", "Kurang jelas jika melihat jarak jauh", '']; goto Y5Nba; MCgL_: if ($jenis == "3") { goto xINHV; } goto mSQQa; m9qwF: LrW25: goto FItOv; FItOv: return ["Baik", "Kurang peka", "Telinga perlu dibersihkan", '']; goto qxuGP; W9VhV: haKPG: goto hhzEx; Ce1PG: xINHV: goto Mnb9n; YLSJu: if ($jenis == "1") { goto LrW25; } goto Jdz7D; Difid: goto haKPG; goto m9qwF; hhzEx: } public function getKenaikanSiswa($id_kelas, $id_tp, $id_smt, $level = null) { goto ISVo_; CH9sw: l4pM1: goto QekZ0; ISVo_: $this->db->query("SET SQL_BIG_SELECTS=1"); goto dotJl; fxBxr: if (!($id_kelas != null)) { goto l4pM1; } goto q9FPM; fzsqT: $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 mPxxO; QekZ0: $this->db->where("a.id_tp", $id_tp); goto VzaQq; dotJl: $this->db->select("a.*, b.nama, b.nis, b.nisn, b.username, c.id_kelas, c.nama_kelas, c.level_id, d.naik"); goto YaCaQ; u5hWz: $this->db->where("c.level_id", $level); goto uYHxa; mykK9: return $this->db->get()->result(); goto nOKIN; YaCaQ: $this->db->from("kelas_siswa a"); goto o17Sw; q9FPM: $this->db->where("a.id_kelas", $id_kelas); goto CH9sw; mPxxO: if (!($level != null)) { goto nl6P3; } goto u5hWz; VzaQq: $this->db->where("a.id_smt", $id_smt); goto mykK9; uYHxa: nl6P3: goto fxBxr; irr0u: $this->db->join("master_kelas c", "a.id_kelas=c.id_kelas", "left"); goto fzsqT; o17Sw: $this->db->join("master_siswa b", "a.id_siswa=b.id_siswa", "left"); goto irr0u; nOKIN: } public function getSiswaLulus($id_tp, $id_smt, $level) { goto J6DXy; J6DXy: $this->db->query("SET SQL_BIG_SELECTS=1"); goto W0ilp; V0Cux: $this->db->from("kelas_siswa a"); goto WcSn7; ZGbYH: $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 cirWt; W0ilp: $this->db->select("b.*, c.nama_kelas as kelas_akhir, d.naik"); goto V0Cux; crBaF: $this->db->where("a.id_smt", $id_smt); goto gtQce; cirWt: $this->db->where("c.level_id", $level); goto pAPZv; rMFh3: $this->db->join("master_kelas c", "a.id_kelas=c.id_kelas", "left"); goto ZGbYH; pAPZv: $this->db->where("a.id_tp", $id_tp); goto crBaF; WcSn7: $this->db->join("master_siswa b", "a.id_siswa=b.id_siswa", "left"); goto rMFh3; gtQce: return $this->db->get()->result(); goto WirSQ; WirSQ: } public function getJumlahLulus($id_tp, $id_smt, $level) { goto He7wu; B83Si: $this->db->where("a.id_tp", $id_tp); goto W9qwo; uZKAQ: $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 uJVuD; y4o5T: return $this->db->count_all_results(); goto uTnX7; W9qwo: $this->db->where("a.id_smt", $id_smt); goto y4o5T; qd76C: $this->db->select("a.*, b.nama, b.nis, b.nisn, b.username, c.id_kelas, c.nama_kelas, c.level_id, d.naik"); goto ChxzL; uJVuD: $this->db->where("c.level_id", $level); goto B83Si; ChxzL: $this->db->from("kelas_siswa a"); goto KJ3Zq; KJ3Zq: $this->db->join("master_kelas c", "a.id_kelas=c.id_kelas", "left"); goto uZKAQ; He7wu: $this->db->query("SET SQL_BIG_SELECTS=1"); goto qd76C; uTnX7: } public function getKenaikanRapor($id_kelas, $id_tp, $id_smt) { goto ff7tU; kPGvs: $this->db->where("a.id_kelas", $id_kelas); goto DKbb7; PrDeQ: return $ret; goto YccqJ; DisnZ: RWmT9: goto PrDeQ; ff7tU: $this->db->select("a.id_kelas, a.id_siswa, d.naik"); goto UJ0Ds; UJ0Ds: $this->db->from("kelas_siswa a"); goto qmeKA; f34Bq: $ret = []; goto bvl_g; u4GVr: $this->db->where("a.id_smt", $id_smt); goto GRFBC; DKbb7: $this->db->where("a.id_tp", $id_tp); goto u4GVr; bvl_g: foreach ($ress as $res) { $ret[$res->id_siswa] = $res->naik; s0O78: } goto DisnZ; GRFBC: $ress = $this->db->get()->result(); goto f34Bq; qmeKA: $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 kPGvs; YccqJ: } public function getAllRaporSetting() { goto wAuyD; l2jY_: dnbHG: goto ALsX0; k1eny: $ret = []; goto P8Tav; oh53F: return $ret; goto Zrrle; IvuVV: foreach ($result as $key => $row) { $ret[$row->id_tp][$row->id_smt] = $row; kEDz2: } goto l2jY_; P8Tav: if (!$result) { goto yx4P4; } goto IvuVV; wAuyD: $result = $this->db->get("rapor_admin_setting")->result(); goto k1eny; ALsX0: yx4P4: goto oh53F; Zrrle: } public function getAllKkm() { goto P_blH; tHkCE: $ret = []; goto FCW8k; pW7xD: return $ret; goto chS1R; P_blH: $result = $this->db->get("rapor_kkm")->result(); goto tHkCE; lCkJU: RNtVs: goto pW7xD; FCW8k: foreach ($result as $res) { $ret[$res->id_tp][$res->id_smt][$res->id_kelas][$res->jenis][$res->id_mapel] = $res; Lzxpu: } goto lCkJU; chS1R: } public function getAllKkmRaporAkhir($kelas, $id_tp, $id_smt) { goto QQ85N; Op10l: $ret = []; goto TseSc; QQ85N: $this->db->where("id_kelas", $kelas)->where("id_tp", $id_tp)->where("id_smt", $id_smt); goto uoCXa; WgqXI: UMTr5: goto t_Xr6; uoCXa: $result = $this->db->get("rapor_kkm")->result(); goto Op10l; TseSc: foreach ($result as $res) { $ret[$res->jenis][$res->id_mapel] = $res; xLXn5: } goto WgqXI; t_Xr6: return $ret; goto YA7M9; YA7M9: } public function getAllNilaiAkhir() { goto q1iH0; ISv7K: $this->db->from("rapor_nilai_harian a"); goto SjfG4; MjOZg: foreach ($result as $res) { $ret[$res->id_tp][$res->id_smt][$res->id_siswa] = $res; ziC7l: } goto hrXkn; SjfG4: $this->db->join("rapor_nilai_pts b", "b.id_nilai_pts=a.id_nilai_harian", "left"); goto Nseqc; KAU5s: $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 ISv7K; OLj4M: $ret = []; goto MjOZg; hrXkn: MpuXM: goto fs2DI; fs2DI: return $ret; goto XU4NQ; Nseqc: $this->db->join("rapor_nilai_akhir c", "c.id_nilai_akhir=a.id_nilai_harian", "left"); goto KC3Fx; q1iH0: $this->db->query("SET SQL_BIG_SELECTS=1"); goto KAU5s; KC3Fx: $result = $this->db->get()->result(); goto OLj4M; XU4NQ: } public function getDistinctTahunBukuNilai() { goto S7kvu; YIevM: foreach ($result as $row) { $ret[$row->tp] = $row->tp; YxC03: } goto pGuE7; VMDqW: $result = $this->db->get("buku_nilai")->result(); goto XK4TI; XK4TI: $ret = []; goto YIevM; Xj1Df: $this->db->distinct(); goto VMDqW; pGuE7: kYMVo: goto fxfA0; fxfA0: return $ret; goto cbbJk; S7kvu: $this->db->select("tp"); goto Xj1Df; cbbJk: } public function getDistinctSmtBukuNilai() { goto PSmFc; PSmFc: $this->db->select("smt"); goto JvL7w; wFLDM: return $ret; goto JOQX3; enk65: F23We: goto wFLDM; Ith2e: foreach ($result as $row) { $ret[$row->smt] = $row->smt; ZiRYX: } goto enk65; JvL7w: $this->db->distinct(); goto YYGNA; YYGNA: $result = $this->db->get("buku_nilai")->result(); goto mgOav; mgOav: $ret = []; goto Ith2e; JOQX3: } public function getDistinctKelasBukuNilai() { goto edG8v; H6lmj: foreach ($result as $row) { $ret[$row->kelas] = $row->kelas; ySREx: } goto Rya9E; QToox: $result = $this->db->get("buku_nilai")->result(); goto oYmFK; sL65g: $this->db->distinct(); goto QToox; oirKG: return $ret; goto Fx6k2; Rya9E: uWQhZ: goto oirKG; oYmFK: $ret = []; goto H6lmj; edG8v: $this->db->select("kelas"); goto sL65g; Fx6k2: } public function getFisikBySiswa($id_siswa) { goto SW5m0; uvoE4: $this->db->where("id_siswa", $id_siswa); goto NIp13; sdW8k: nYTPn: goto fRIx0; tWIeg: if (!$result) { goto nYTPn; } goto EbIFZ; fRIx0: return $ret; goto Ig647; EbIFZ: foreach ($result as $key => $row) { $ret[$row->tp] = $row; SXeO0: } goto iIefP; PLY9f: $this->db->from("buku_nilai"); goto uvoE4; iIefP: bkPdM: goto sdW8k; SW5m0: $this->db->select("tp, fisik"); goto PLY9f; NIp13: $result = $this->db->get()->result(); goto NjPee; NjPee: $ret = []; goto tWIeg; Ig647: } public function getDataKumpulanRapor($kelas = null, $tp = null, $smt = null) { goto YlcSm; s3zkv: m_9t1: goto uGjWh; d4QhT: $this->db->from("buku_nilai a"); goto Ipp1i; YlcSm: $this->db->select("*"); goto d4QhT; Qrik2: $this->db->where("a.kelas", $kelas); goto pPDN9; PMiSL: if (!($kelas != null)) { goto RcTE5; } goto Qrik2; N3wGk: $ret = []; goto C6qD0; vp9PR: eXkRO: goto EFWGz; j4By_: $this->db->where("a.smt", $smt); goto PaJX2; uloKn: if (!($tp != null)) { goto eXkRO; } goto XkB3P; uGjWh: return $ret; goto fVbXK; EFWGz: if (!($smt != null)) { goto jdzE8; } goto j4By_; XkB3P: $this->db->where("a.tp", $tp); goto vp9PR; Ipp1i: $this->db->join("master_siswa b", "a.id_siswa=b.id_siswa"); goto uloKn; PaJX2: jdzE8: goto PMiSL; KCBf9: foreach ($result as $key => $row) { $ret[$row->id_siswa] = $row; gKHbA: } goto Wrdl0; Wrdl0: Ttda2: goto s3zkv; lNgyY: $result = $this->db->get()->result(); goto N3wGk; pPDN9: RcTE5: goto lNgyY; C6qD0: if (!$result) { goto m_9t1; } goto KCBf9; fVbXK: } public function deleteNilaiRapor() { goto v5t4B; eRdNt: $this->db->empty_table("rapor_prestasi"); goto YXXsD; v5t4B: $this->db->empty_table("rapor_nilai_harian"); goto cmnhd; zPGoF: $this->db->empty_table("rapor_nilai_pts"); goto eRdNt; YXXsD: $this->db->empty_table("rapor_catatan_wali"); goto Zf1Lg; Zf1Lg: $this->db->empty_table("rapor_fisik"); goto omnBz; omnBz: $this->db->empty_table("rapor_nilai_ekstra"); goto u6D6q; cmnhd: $this->db->empty_table("rapor_nilai_akhir"); goto jXBhF; u6D6q: $this->db->empty_table("rapor_nilai_sikap"); goto Yn801; jXBhF: $this->db->empty_table("rapor_naik"); goto zPGoF; Yn801: } public function getAllNilaiRapor($ids_siswa = null) { goto p1AHP; hQKTV: if (!($ids_siswa != null)) { goto lWCJd; } goto n929M; aca32: $this->db->join("master_mapel p", "a.id_mapel=p.id_mapel", "left"); goto hQKTV; n929M: $this->db->where_in("a.id_siswa", $ids_siswa); goto ROSMt; ROSMt: lWCJd: goto rG2UH; lmGuw: $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 aca32; b8YB1: $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 Zgd2O; xXA2n: $this->db->join("rapor_nilai_pts g", "g.id_nilai_pts=a.id_nilai_harian", "left"); goto xLAM9; kksl9: $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 P_7ju; p1AHP: $this->db->query("SET SQL_BIG_SELECTS=1"); goto kksl9; rG2UH: return $this->db->get()->result(); goto vmaQA; xLAM9: $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 Bu0S7; Bu0S7: $this->db->join("master_jurusan i", "h.jurusan_id=i.id_jurusan", "left"); goto tugVx; tugVx: $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 sJfZT; BUdxb: $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 xXA2n; BC3vn: $this->db->join("master_tp c", "c.id_tp=a.id_tp", "left"); goto q2Agn; q2Agn: $this->db->join("master_smt d", "d.id_smt=a.id_smt", "left"); goto nAxWu; sJfZT: $this->db->join("master_guru k", "j.id_guru=k.id_guru", "left"); goto b8YB1; nAxWu: $this->db->join("master_siswa e", "e.id_siswa=a.id_siswa", "left"); goto BUdxb; Zgd2O: $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 lmGuw; GdxaS: $this->db->join("rapor_nilai_akhir b", "b.id_nilai_akhir=a.id_nilai_harian", "left"); goto BC3vn; P_7ju: $this->db->from("rapor_nilai_harian a"); goto GdxaS; vmaQA: } public function getAllEkstra() { goto id4ZY; BV6y4: return $ret; goto IE57L; h27WI: Q9f9M: goto Nt34h; ZKoit: $ret = []; goto s03wz; ANNcX: foreach ($result as $key => $row) { $ret[$row->id_tp][$row->id_smt][$row->id_kelas] = unserialize($row->ekstra ?? ''); zF8bF: } goto h27WI; s03wz: if (!$result) { goto q5HzF; } goto ANNcX; id4ZY: $this->db->select("*"); goto pVyqJ; Nt34h: q5HzF: goto BV6y4; TxDMN: $result = $this->db->get()->result(); goto ZKoit; pVyqJ: $this->db->from("kelas_ekstra"); goto TxDMN; IE57L: } public function getAllNilaiEkstra($ids_siswa = null) { goto VJzJg; y9_SS: $result = $this->db->get()->result(); goto d6Ig_; d6Ig_: $ret = []; goto JshOg; VJzJg: $this->db->select("a.*, b.nama_ekstra, b.kode_ekstra"); goto BarhJ; MR7BT: $this->db->where_in("a.id_siswa", $ids_siswa); goto MNiDJ; xta7r: return $ret; goto W5veq; LceNj: $this->db->join("master_ekstra b", "a.id_ekstra=b.id_ekstra", "left"); goto ReNJP; BarhJ: $this->db->from("rapor_nilai_ekstra a"); goto LceNj; MNiDJ: ATc3s: goto y9_SS; ReNJP: if (!($ids_siswa != null)) { goto ATc3s; } goto MR7BT; QOzpg: AMtW3: goto xta7r; JshOg: foreach ($result as $res) { $ret[$res->id_tp][$res->id_smt][$res->id_siswa][] = $res; jcR6C: } goto QOzpg; W5veq: } public function getAllNilaiSikap($ids_siswa = null) { goto TPEj2; Si2Ka: $this->db->from("rapor_nilai_sikap"); goto mwgnl; sY0nV: XLfsf: goto c2QJ5; mwgnl: if (!($ids_siswa != null)) { goto E6E7y; } goto W_7ui; c2QJ5: return $ret; goto A_d7X; Iwhsw: foreach ($result as $res) { $ret[$res->id_tp][$res->id_smt][$res->id_siswa][$res->jenis] = $res; EfQfx: } goto sY0nV; G4SNA: $ret = []; goto Iwhsw; m7jtm: E6E7y: goto xcGTJ; xcGTJ: $result = $this->db->get()->result(); goto G4SNA; W_7ui: $this->db->where_in("id_siswa", $ids_siswa); goto m7jtm; TPEj2: $this->db->select("*"); goto Si2Ka; A_d7X: } public function getAllFisik($ids_siswa = null) { goto VJ71O; olBrP: yUr8H: goto Wz5Fv; SJnAl: foreach ($result as $res) { $ret[$res->id_siswa][$res->id_tp][$res->id_smt] = $res; gEI0_: } goto yZr0i; b0TqY: $this->db->where_in("id_siswa", $ids_siswa); goto olBrP; yZr0i: h952E: goto um2wo; um2wo: return $ret; goto n8Crk; Wz5Fv: $result = $this->db->get()->result(); goto LpQGh; K6zXz: $this->db->from("rapor_fisik"); goto sgi_k; VJ71O: $this->db->select("id_tp, id_smt, id_siswa, kondisi, tinggi, berat"); goto K6zXz; LpQGh: $ret = []; goto SJnAl; sgi_k: if (!($ids_siswa != null)) { goto yUr8H; } goto b0TqY; n8Crk: } function exists($uid, $tp, $smt, $kelas) { goto I_Mt8; NQMRc: $query = $this->db->get("buku_nilai"); goto jlcxf; tMv6_: return true; goto canAX; FJFEs: return false; goto Wdj0Q; I_Mt8: $this->db->where("uid", $uid)->where("tp", $tp)->where("smt", $smt)->where("kelas", $kelas); goto NQMRc; canAX: bKJnu: goto Wfudk; M8ASk: A_aLQ: goto tMv6_; jlcxf: if ($query->num_rows() > 0) { goto A_aLQ; } goto FJFEs; Wdj0Q: goto bKJnu; goto M8ASk; Wfudk: } }
?>
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\144\x5f\x6b\x69\153\x64", $id)->where("\x69\144\137\x74\160", $id_tp)->where("\151\x64\137\163\x6d\164", $id_smt); return $this->db->get("\x72\x61\160\x6f\x72\x5f\x6b\151\153\x64")->row(); } public function getKikdMapelKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { $this->db->where("\151\144\137\x6d\x61\160\x65\154\137\x6b\x65\154\141\x73", $id_mapel . $id_kelas)->where("\151\x64\137\x74\x70", $id_tp)->where("\151\x64\x5f\163\x6d\164", $id_smt); return $this->db->get("\x72\141\160\157\x72\x5f\153\151\x6b\144")->result(); } public function getKkm($id) { $this->db->where("\151\144\x5f\153\153\x6d", $id); return $this->db->get("\162\x61\x70\157\162\x5f\153\153\x6d")->row(); } public function getArrKkm($ids) { goto JzKon; JzKon: $this->db->where_in("\x69\144\137\153\153\x6d", $ids); goto Vj8G4; zc7tY: YoA7M: goto b4WYq; b4WYq: gzt5v: goto drGdY; I42MG: foreach ($result as $key => $row) { $ret[$row->id_mapel] = $row; cqKs7: } goto zc7tY; drGdY: return $ret; goto QSWMN; Vj8G4: $result = $this->db->get("\162\x61\x70\157\x72\x5f\x6b\x6b\155")->result(); goto wPBx4; wPBx4: $ret = []; goto w2Pfz; w2Pfz: if (!$result) { goto gzt5v; } goto I42MG; QSWMN: } public function getRaporSetting($id_tp, $id_smt) { $this->db->where("\151\x64\x5f\164\x70", $id_tp)->where("\x69\144\137\x73\155\x74", $id_smt); return $this->db->get("\x72\x61\x70\157\162\x5f\x61\x64\155\x69\156\x5f\163\x65\x74\x74\x69\156\x67")->row(); } public function getDetailSiswa($id_kelas, $id_tp, $id_smt) { goto wEevE; CC6dM: $this->db->order_by("\142\x2e\156\141\x6d\141", "\101\x53\x43"); goto znFs5; w96UX: $this->db->join("\x6d\x61\x73\x74\x65\x72\137\x6b\145\x6c\x61\163\40\143", "\x61\56\151\144\x5f\x6b\145\x6c\141\163\75\143\56\x69\x64\137\153\145\x6c\x61\163"); goto ydeXS; ftgbC: $this->db->join("\155\141\x73\164\x65\x72\x5f\163\x69\163\167\x61\40\142", "\141\x2e\151\144\x5f\163\151\x73\167\x61\x3d\x62\x2e\151\144\x5f\x73\x69\163\167\x61"); goto w96UX; j0J1X: $this->db->from("\153\x65\154\141\x73\x5f\x73\x69\x73\167\141\40\141"); goto ftgbC; ydeXS: $this->db->where("\x61\x2e\x69\x64\x5f\x6b\x65\x6c\141\163", $id_kelas); goto Ot8I1; X10cE: $this->db->where("\x61\56\x69\x64\x5f\x73\155\x74", $id_smt); goto CC6dM; wEevE: $this->db->query("\123\x45\x54\40\123\x51\x4c\x5f\102\111\107\x5f\x53\105\114\x45\x43\x54\x53\x3d\61"); goto EsgH4; EsgH4: $this->db->select("\141\56\52\x2c\x20\x62\56\52\x2c\40\143\56\x2a"); goto j0J1X; Ot8I1: $this->db->where("\x61\x2e\x69\144\137\164\160", $id_tp); goto X10cE; znFs5: return $this->db->get()->result(); goto ZUPJN; ZUPJN: } public function getDetailSiswaById($id_siswa, $id_tp, $id_smt) { goto ZJ5jN; pqYWk: $this->db->where("\142\56\x69\x64\137\163\155\164", $id_smt); goto BP4YJ; BP4YJ: $this->db->order_by("\x61\56\x6e\x61\155\141", "\101\x53\103"); goto AqCHF; Dt_gA: $this->db->join("\155\x61\x73\x74\x65\x72\x5f\153\145\x6c\x61\x73\x20\x63", "\x62\56\x69\144\137\153\145\154\x61\x73\75\x63\x2e\x69\x64\x5f\153\145\154\x61\163"); goto SnGtb; xU3SP: $this->db->join("\153\145\154\141\163\137\x73\x69\163\x77\x61\x20\x62", "\x61\56\x69\144\137\163\x69\163\167\x61\x3d\x62\56\x69\x64\137\163\x69\x73\167\141"); goto Dt_gA; hcgYC: $this->db->select("\x61\x2e\156\141\x6d\141\x2c\x20\141\56\x6e\x69\x73\x2c\40\x61\x2e\x6e\x69\x73\x6e\54\x20\x63\x2e\156\x61\155\x61\137\153\145\x6c\141\x73"); goto A0EfQ; SnGtb: $this->db->where("\141\56\151\144\137\x73\x69\x73\167\141", $id_siswa); goto CeYVJ; CeYVJ: $this->db->where("\142\x2e\x69\144\x5f\x74\160", $id_tp); goto pqYWk; ZJ5jN: $this->db->query("\x53\105\x54\x20\x53\121\x4c\137\102\x49\x47\x5f\123\x45\114\x45\103\x54\x53\x3d\x31"); goto hcgYC; AqCHF: return $this->db->get()->row(); goto RHkR1; A0EfQ: $this->db->from("\x6d\141\x73\x74\145\x72\137\x73\151\x73\167\x61\x20\141"); goto xU3SP; RHkR1: } public function cekNilaiHarianKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto rWjCs; vrVNO: $this->db->from("\162\x61\x70\x6f\162\x5f\156\151\154\141\x69\x5f\x68\141\x72\x69\x61\156"); goto ERZ7K; Dj81M: return $this->db->get()->num_rows(); goto MCvgA; sh7j0: $this->db->where("\x69\144\137\x74\x70", $id_tp); goto D4IsN; rWjCs: $this->db->select("\x70\137\162\141\x74\x61\137\x72\141\164\141"); goto vrVNO; D4IsN: $this->db->where("\x69\144\137\x73\x6d\x74", $id_smt); goto d4xqp; ERZ7K: $this->db->where("\x69\x64\x5f\155\141\160\x65\x6c", $id_mapel); goto b71yR; d4xqp: $this->db->where("\160\x5f\162\x61\164\141\137\162\x61\x74\x61\40\x21\x3d", "\x4e\x55\114\114"); goto Dj81M; b71yR: $this->db->where("\x69\x64\x5f\x6b\145\x6c\141\x73", $id_kelas); goto sh7j0; MCvgA: } public function getNilaiHarianKelas($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt) { goto f6YVW; f6YVW: $this->db->select("\x2a"); goto lBLF8; sdkF3: return $this->db->get()->row(); goto rdjDG; lBLF8: $this->db->from("\162\x61\160\x6f\x72\x5f\x6e\x69\154\x61\151\137\x68\141\162\151\x61\156"); goto xU_Fa; xU_Fa: $this->db->where("\x69\144\137\156\151\154\x61\x69\x5f\x68\x61\162\151\x61\156", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt); goto sdkF3; rdjDG: } public function getAllNilaiHarianKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto AOGch; kTBIA: $this->db->from("\x72\141\160\x6f\x72\137\x6e\x69\x6c\x61\151\x5f\x68\x61\x72\151\x61\x6e"); goto VH7pB; AOGch: $this->db->select("\52"); goto kTBIA; VH7pB: $this->db->where("\151\144\137\155\141\x70\145\154", $id_mapel); goto hd9gv; C0JI7: $result = $this->db->get()->result(); goto Uypee; F_2oW: VcKh3: goto PwUiZ; GCrNr: $this->db->where("\x69\144\137\x74\160", $id_tp); goto yUqxI; Q5TQz: foreach ($result as $row) { $ret[$row->id_siswa] = $row; iA06z: } goto F_2oW; PwUiZ: B7C3o: goto zEOem; yUqxI: $this->db->where("\x69\144\x5f\163\x6d\x74", $id_smt); goto C0JI7; Uypee: $ret = []; goto YgYmE; hd9gv: $this->db->where("\x69\x64\137\x6b\145\x6c\141\163", $id_kelas); goto GCrNr; zEOem: return $ret; goto i1Wdf; YgYmE: if (!$result) { goto B7C3o; } goto Q5TQz; i1Wdf: } public function cekNilaiPtsKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto x1fWM; rZo76: $this->db->where("\151\144\137\x73\x6d\x74", $id_smt); goto XqoUc; BeZVr: return $this->db->get()->num_rows(); goto AjFPf; j91VY: $this->db->where("\x69\144\x5f\x6b\145\154\x61\163", $id_kelas); goto D78ls; D78ls: $this->db->where("\151\x64\x5f\x74\160", $id_tp); goto rZo76; Nz5OH: $this->db->where("\x69\x64\x5f\x6d\x61\160\145\x6c", $id_mapel); goto j91VY; x1fWM: $this->db->select("\160\162\x65\144\151\x6b\141\x74"); goto Zrxhj; XqoUc: $this->db->where("\160\162\x65\x64\x69\x6b\x61\x74\40\41\75", "\x4e\125\x4c\114"); goto BeZVr; Zrxhj: $this->db->from("\x72\141\x70\157\x72\x5f\x6e\x69\154\x61\x69\x5f\160\x74\x73"); goto Nz5OH; AjFPf: } public function getIdNilaiPts($arr_id) { goto Cfmpq; j46DO: $this->db->where_in("\151\144\x5f\156\151\154\x61\151\x5f\x70\164\x73", $arr_id); goto eEADk; fXRfs: $this->db->from("\x72\x61\160\157\x72\137\x6e\151\154\141\151\x5f\160\164\x73"); goto j46DO; ofyE4: return $ret; goto IwwGr; Ncr12: if (!$result) { goto xgbbK; } goto XQ_1W; ntx3t: $ret = []; goto Ncr12; pRGnh: p7JjN: goto RSQrv; XQ_1W: foreach ($result as $key => $row) { $ret[$row->id_nilai_pts] = $row; V4MFo: } goto pRGnh; RSQrv: xgbbK: goto ofyE4; Cfmpq: $this->db->select("\151\x64\137\156\x69\154\x61\151\137\x70\x74\x73"); goto fXRfs; eEADk: $result = $this->db->get()->result(); goto ntx3t; IwwGr: } public function getNilaiPtsKelas($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt) { goto YdrYv; b4jP3: return $this->db->get()->row(); goto s9j9J; k0NP_: $this->db->where("\x69\x64\x5f\x6e\x69\x6c\x61\151\x5f\x70\164\x73", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt); goto b4jP3; p7CyJ: $this->db->from("\162\141\160\157\162\x5f\x6e\x69\x6c\141\x69\x5f\x70\164\x73"); goto k0NP_; YdrYv: $this->db->select("\52"); goto p7CyJ; s9j9J: } public function getAllNilaiPtsKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto bzu8K; H4NbL: PQ4Ff: goto KOGYx; J9Va0: $this->db->where("\x69\144\137\155\x61\x70\145\x6c", $id_mapel); goto gro2z; Imc0i: $this->db->where("\x69\144\x5f\x74\160", $id_tp); goto PGOyo; bzu8K: $this->db->select("\x2a"); goto EcZl7; EcZl7: $this->db->from("\x72\141\160\x6f\162\x5f\x6e\151\154\x61\151\137\160\164\x73"); goto J9Va0; jnz39: foreach ($result as $row) { $ret[$row->id_siswa] = $row; lfHup: } goto XMfGm; aUFh3: $result = $this->db->get()->result(); goto T4rlo; XMfGm: v4GQy: goto H4NbL; PGOyo: $this->db->where("\x69\144\x5f\163\155\164", $id_smt); goto aUFh3; YoOj_: if (!$result) { goto PQ4Ff; } goto jnz39; gro2z: $this->db->where("\151\144\137\153\145\154\141\163", $id_kelas); goto Imc0i; T4rlo: $ret = []; goto YoOj_; KOGYx: return $ret; goto Ndpjg; Ndpjg: } public function getEkstraKelas($id_mapel, $id_siswa, $id_tp, $id_smt) { goto TulwZ; iDZPY: $this->db->where("\x69\x64\x5f\x73\x6d\164", $id_smt); goto NW2t2; MzLMz: $this->db->where("\151\144\x5f\x65\x6b\x73\164\162\141", $id_mapel); goto Bp6zm; TulwZ: $this->db->select("\156\151\154\x61\x69\54\40\160\162\x65\x64\x69\x6b\x61\x74\54\x20\x64\x65\x73\153\x72\151\x70\x73\151"); goto VO_31; VO_31: $this->db->from("\162\141\160\157\162\137\x6e\x69\x6c\x61\151\137\145\153\x73\x74\162\x61"); goto MzLMz; NW2t2: return $this->db->get()->row(); goto kbD43; Bp6zm: $this->db->where("\x69\x64\x5f\x73\151\163\167\141", $id_siswa); goto jWSr2; jWSr2: $this->db->where("\x69\x64\x5f\x74\x70", $id_tp); goto iDZPY; kbD43: } public function cekNilaiEkstraKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto G19np; imVJs: $this->db->where("\x69\144\x5f\153\x65\154\141\x73", $id_kelas); goto jNfCs; NVApa: $this->db->where("\151\x64\x5f\x65\x6b\163\x74\x72\x61", $id_mapel); goto imVJs; G19np: $this->db->select("\x69\x64\137\x6e\151\x6c\x61\x69\137\x65\153\x73\164\x72\x61"); goto eKZpK; eKZpK: $this->db->from("\162\x61\160\157\x72\x5f\156\x69\154\x61\151\x5f\145\153\163\x74\x72\x61"); goto NVApa; jNfCs: $this->db->where("\x69\x64\137\164\x70", $id_tp); goto mWC48; cFWxD: return $this->db->get()->num_rows(); goto hkTAO; mWC48: $this->db->where("\151\144\137\x73\x6d\164", $id_smt); goto cFWxD; hkTAO: } public function getNilaiEkstraKelas($id_ekstra, $id_kelas, $id_siswa, $id_tp, $id_smt) { goto GjR6F; GjR6F: $this->db->select("\52"); goto sCTmY; sCTmY: $this->db->from("\x72\x61\160\157\162\137\x6e\x69\x6c\141\x69\x5f\x65\x6b\163\164\x72\141"); goto Am00Z; Am00Z: $this->db->where("\x69\144\x5f\x6e\x69\x6c\141\151\x5f\145\153\x73\164\162\x61", $id_ekstra . $id_kelas . $id_siswa . $id_tp . $id_smt); goto uOV33; uOV33: return $this->db->get()->row(); goto ZcQuw; ZcQuw: } public function getAllNilaiEkstraKelas($id_ekstra, $id_kelas, $id_tp, $id_smt) { goto PTYpc; U5bH2: $result = $this->db->get()->result(); goto sRPjx; E3p1G: $this->db->where("\x69\144\x5f\x74\160", $id_tp); goto UmcMx; NKmHN: if (!$result) { goto JP0hW; } goto MQSCi; Kpf84: JP0hW: goto aqCNF; MQSCi: foreach ($result as $row) { $ret[$row->id_siswa] = $row; oAbNP: } goto sI6Sd; UmcMx: $this->db->where("\x69\144\x5f\163\x6d\x74", $id_smt); goto U5bH2; sRPjx: $ret = []; goto NKmHN; OTRUn: $this->db->where("\x69\x64\137\145\153\163\164\162\141", $id_ekstra); goto bbYNP; sI6Sd: D35VQ: goto Kpf84; aqCNF: return $ret; goto NvXHE; F0xJU: $this->db->from("\162\x61\x70\x6f\162\x5f\x6e\151\x6c\x61\x69\137\x65\153\x73\x74\x72\x61"); goto OTRUn; PTYpc: $this->db->select("\52"); goto F0xJU; bbYNP: $this->db->where("\151\144\x5f\153\145\154\141\x73", $id_kelas); goto E3p1G; NvXHE: } public function cekNilaiAkhirKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto Dilo7; Dilo7: $this->db->select("\x69\x64\137\x6e\151\154\141\151\x5f\141\153\x68\151\x72"); goto gF7kW; IpuzQ: $this->db->where("\151\x64\x5f\x6b\145\154\x61\163", $id_kelas); goto VxYq8; Xlnbr: $this->db->where("\x69\x64\x5f\155\x61\x70\x65\x6c", $id_mapel); goto IpuzQ; gF7kW: $this->db->from("\x72\141\160\157\162\137\156\151\x6c\141\x69\x5f\141\x6b\150\x69\162"); goto Xlnbr; zS1gq: return $this->db->get()->num_rows(); goto yn5Jm; VxYq8: $this->db->where("\151\x64\x5f\x74\x70", $id_tp); goto xwW7f; xwW7f: $this->db->where("\151\144\x5f\x73\155\164", $id_smt); goto zS1gq; yn5Jm: } public function getNilaiAkhirKelas($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt) { goto sxhSV; ZCOn8: $this->db->where("\141\56\x69\x64\x5f\156\x69\154\x61\x69\x5f\150\141\162\x69\x61\x6e", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt); goto FCOXA; SuH30: $this->db->from("\x72\x61\x70\157\x72\137\x6e\x69\154\141\151\x5f\x68\x61\162\x69\141\x6e\40\x61"); goto s2ZrI; s2ZrI: $this->db->join("\162\141\x70\x6f\162\137\156\151\154\x61\x69\x5f\160\164\163\40\142", "\142\x2e\x69\144\137\x6e\x69\154\x61\x69\137\x70\164\163\x3d\141\x2e\x69\x64\137\x6e\151\x6c\141\x69\137\x68\141\x72\x69\141\x6e", "\x6c\x65\146\x74"); goto yVwUD; XzKwD: $this->db->select("\x61\56\x70\137\x72\141\x74\141\137\162\x61\x74\x61\x20\x61\x73\x20\156\150\141\162\x2c\x20\x61\x2e\x70\137\144\145\163\153\x72\x69\x70\x73\151\54\x20\141\x2e\153\137\x72\141\x74\141\x5f\162\x61\x74\141\54\40\x61\56\153\x5f\160\x72\x65\144\x69\153\x61\164\54\40\x61\56\x6b\x5f\x64\145\x73\153\162\x69\160\163\151\x2c\x20\142\56\x6e\x69\154\x61\151\40\141\x73\40\156\x70\x74\163\x2c\x20\x63\56\156\x69\154\141\x69\x20\x61\x73\40\x6e\x70\x61\x73\54\40\143\56\x70\162\145\x64\x69\x6b\x61\x74"); goto SuH30; FCOXA: return $this->db->get()->row(); goto OxoZU; yVwUD: $this->db->join("\x72\x61\x70\x6f\162\137\x6e\x69\154\141\151\137\141\x6b\x68\x69\162\40\143", "\143\56\151\x64\137\x6e\151\154\x61\151\137\x61\x6b\150\x69\x72\75\141\x2e\x69\144\x5f\156\x69\154\x61\151\137\x68\141\162\151\141\156", "\x6c\x65\x66\164"); goto ZCOn8; sxhSV: $this->db->query("\123\105\x54\x20\x53\121\114\x5f\x42\x49\107\137\x53\x45\x4c\x45\103\124\123\x3d\61"); goto XzKwD; OxoZU: } public function getAllNilaiAkhirKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto Dnuph; eSvUN: FFrW0: goto V_yCo; qfO9N: $this->db->where("\141\x2e\x69\144\x5f\x74\x70", $id_tp); goto yLE8O; y0vhC: $this->db->from("\x72\141\160\x6f\162\x5f\156\x69\154\x61\x69\x5f\x68\141\x72\x69\x61\156\x20\x61"); goto bug9G; V_yCo: uJFXK: goto uuv6S; bug9G: $this->db->join("\162\141\160\x6f\162\x5f\x6e\151\154\x61\151\x5f\160\x74\163\40\142", "\142\x2e\x69\x64\137\x6e\x69\154\x61\x69\x5f\x70\x74\163\x3d\x61\x2e\x69\x64\137\x6e\151\154\141\x69\137\x68\x61\162\151\141\156", "\154\x65\146\x74"); goto GlJZh; rPAbh: $this->db->where("\141\x2e\x69\x64\x5f\155\x61\160\145\154", $id_mapel); goto AmvBE; Dnuph: $this->db->query("\123\x45\124\40\123\121\x4c\137\102\111\x47\137\x53\x45\114\x45\x43\x54\123\75\61"); goto MDI1D; MDI1D: $this->db->select("\141\x2e\x69\x64\x5f\163\x69\163\167\x61\54\40\141\56\160\137\162\x61\x74\x61\x5f\162\x61\x74\x61\x20\x61\x73\x20\156\x68\x61\x72\x2c\x20\141\56\160\137\x64\x65\x73\x6b\x72\x69\160\163\x69\54\x20\141\56\153\137\x72\x61\x74\141\137\x72\x61\x74\x61\54\x20\x61\x2e\x6b\x5f\x70\162\x65\x64\x69\153\x61\164\54\40\x61\x2e\153\137\x64\x65\x73\x6b\162\x69\x70\x73\151\54\x20\142\56\156\151\x6c\x61\x69\x20\141\x73\40\x6e\x70\x74\x73\x2c\x20\x63\56\x6e\151\x6c\x61\151\40\141\163\x20\156\x70\141\163\54\x20\143\x2e\x70\x72\145\144\151\x6b\141\164"); goto y0vhC; AmvBE: $this->db->where("\141\56\151\144\x5f\153\145\x6c\141\x73", $id_kelas); goto qfO9N; tW5Kq: if (!$result) { goto uJFXK; } goto BZ_4S; GlJZh: $this->db->join("\162\x61\x70\157\x72\137\x6e\151\x6c\141\x69\137\x61\x6b\150\151\162\40\x63", "\143\x2e\151\x64\x5f\156\151\154\x61\x69\x5f\x61\153\150\151\x72\75\x61\56\151\x64\137\156\x69\x6c\x61\151\x5f\x68\x61\162\x69\x61\156", "\154\x65\146\164"); goto rPAbh; yLE8O: $this->db->where("\x61\x2e\151\x64\137\163\155\x74", $id_smt); goto WzT6X; uuv6S: return $ret; goto k6oVw; F532O: $ret = []; goto tW5Kq; BZ_4S: foreach ($result as $row) { $ret[$row->id_siswa] = $row; fv4AE: } goto eSvUN; WzT6X: $result = $this->db->get()->result(); goto F532O; k6oVw: } public function getNilaiAkhirByMapel($id_mapel, $id_kelas, $id_tp, $id_smt) { goto cyVBV; cyVBV: $this->db->query("\x53\x45\x54\x20\x53\121\114\x5f\x42\x49\107\137\x53\105\x4c\105\x43\124\123\75\x31"); goto eaQ7W; sjxQ6: $this->db->join("\x72\x61\160\x6f\x72\137\156\151\x6c\141\151\x5f\160\164\163\x20\x62", "\x62\56\x69\144\137\156\x69\154\141\x69\137\160\164\163\75\141\56\151\144\x5f\x6e\x69\154\141\151\137\x68\x61\x72\x69\141\x6e", "\154\145\146\164"); goto Rn44e; qvcXA: $this->db->where("\x61\x2e\151\x64\137\x74\160", $id_tp); goto CqAIO; Rn44e: $this->db->join("\x72\141\160\x6f\x72\x5f\x6e\x69\154\x61\151\137\x61\x6b\x68\151\x72\x20\x63", "\x63\x2e\x69\144\137\156\x69\x6c\141\x69\137\x61\x6b\150\x69\162\x3d\x61\x2e\x69\x64\137\x6e\151\x6c\141\x69\137\150\x61\x72\151\x61\156", "\x6c\145\x66\x74"); goto rDFw0; CqAIO: $this->db->where("\x61\x2e\151\x64\137\163\155\x74", $id_smt); goto z9Dyr; eaQ7W: $this->db->select("\141\x2e\x69\144\x5f\x73\x69\163\167\141\54\x20\x61\56\160\x5f\162\141\x74\141\x5f\162\x61\x74\141\40\141\x73\x20\x6e\150\x61\x72\54\x20\141\x2e\x70\137\144\x65\163\x6b\162\151\160\x73\x69\x2c\x20\141\x2e\x6b\137\x72\x61\x74\141\x5f\162\x61\164\141\x2c\40\141\56\x6b\137\x70\162\145\x64\x69\x6b\x61\x74\54\x20\x61\x2e\153\x5f\144\x65\163\153\162\151\x70\x73\151\x2c\40\x62\56\156\151\x6c\141\x69\x20\141\x73\x20\x6e\x70\x74\x73\54\x20\x63\56\156\x69\154\141\151\x20\141\x73\x20\156\160\141\163\54\x20\143\56\x70\x72\x65\144\151\x6b\x61\164"); goto pzgx4; mlO2g: $this->db->where("\x61\56\x69\144\137\x6b\x65\x6c\x61\x73", $id_kelas); goto qvcXA; pzgx4: $this->db->from("\x72\141\160\157\x72\x5f\156\x69\x6c\x61\151\137\150\141\x72\x69\141\x6e\x20\x61"); goto sjxQ6; rDFw0: $this->db->where("\141\x2e\x69\144\x5f\155\x61\160\x65\154", $id_mapel); goto mlO2g; z9Dyr: return $this->db->get()->result(); goto Gt1fk; Gt1fk: } public function getDeskripsiSikap($kelas, $id_tp, $id_smt) { $this->db->where("\151\x64\137\153\145\154\141\x73", $kelas)->where("\x69\144\x5f\x74\160", $id_tp)->where("\151\x64\x5f\x73\x6d\x74", $id_smt); return $this->db->get("\x72\141\x70\x6f\162\x5f\x64\141\164\141\137\x73\151\153\141\x70")->result(); } public function getAllDeskripsiSikap($kelas) { $this->db->where("\151\144\x5f\153\145\154\x61\x73", $kelas); return $this->db->get("\162\141\x70\x6f\x72\x5f\144\x61\x74\141\x5f\x73\151\x6b\x61\160")->result(); } public function getDeskripsiSikapByJenis($kelas, $jenis, $id_tp, $id_smt) { goto hhqBk; lTZ13: $this->db->where("\x69\144\137\164\160", $id_tp); goto NRt0i; NRt0i: $this->db->where("\x69\x64\137\163\x6d\164", $id_smt); goto VFw86; hhqBk: $this->db->select("\x2a"); goto NCXUK; C0Sbr: $this->db->where("\x6a\x65\156\x69\163", $jenis); goto lTZ13; VFw86: return $this->db->get()->result(); goto fJwYJ; vbj7B: $this->db->where("\151\x64\137\153\145\154\x61\163", $kelas); goto C0Sbr; NCXUK: $this->db->from("\x72\141\160\x6f\x72\137\144\141\x74\141\137\163\151\x6b\141\x70"); goto vbj7B; fJwYJ: } public function getNilaiSikapKelas($id_kelas, $id_siswa, $id_tp, $id_smt, $jenis) { goto wTjip; SMo8i: $this->db->where("\151\x64\x5f\156\151\154\141\x69\x5f\163\x69\153\141\x70", $id_kelas . $id_siswa . $id_tp . $id_smt . $jenis); goto L7luA; L7luA: return $this->db->get()->row(); goto f2K0H; BqyBY: $this->db->from("\x72\x61\x70\x6f\162\x5f\156\151\x6c\x61\x69\x5f\163\151\153\x61\160"); goto SMo8i; wTjip: $this->db->select("\x2a"); goto BqyBY; f2K0H: } public function getAllNilaiSikapKelas($id_kelas) { goto i1GPf; T5niC: $this->db->from("\162\x61\160\157\162\137\156\151\x6c\x61\x69\137\163\151\x6b\141\x70"); goto iAzWt; tPzJx: return $this->db->get()->result(); goto WDd3N; i1GPf: $this->db->select("\52"); goto T5niC; iAzWt: $this->db->where("\151\x64\137\153\x65\x6c\141\x73", $id_kelas); goto tPzJx; WDd3N: } public function getNilaiSikapByJenis($id_kelas, $jenis, $id_tp, $id_smt) { goto IzQLb; p8EFg: $this->db->from("\x72\141\160\157\162\x5f\x6e\x69\x6c\x61\x69\137\163\x69\x6b\141\160"); goto N20Ez; hs9hh: $this->db->where("\x69\x64\137\163\x6d\164", $id_smt); goto sqEHf; bAXZt: $this->db->where("\x69\144\x5f\164\x70", $id_tp); goto hs9hh; sqEHf: return $this->db->get()->result(); goto HUQOx; N20Ez: $this->db->where("\x69\144\x5f\153\x65\154\x61\x73", $id_kelas); goto i6G7g; IzQLb: $this->db->select("\x2a"); goto p8EFg; i6G7g: $this->db->where("\152\145\x6e\x69\163", $jenis); goto bAXZt; HUQOx: } public function getNilaiSikapByKelas($id_kelas, $id_tp, $id_smt) { goto N8VoJ; N8VoJ: $this->db->select("\x2a"); goto z0Hr8; CETQH: $this->db->where("\151\x64\137\x74\x70", $id_tp); goto TR315; z0Hr8: $this->db->from("\x72\x61\x70\157\162\x5f\156\151\154\x61\x69\x5f\x73\x69\153\141\x70"); goto AaHNb; Vbezw: return $this->db->get()->result(); goto qAR1E; AaHNb: $this->db->where("\x69\144\x5f\x6b\145\154\141\x73", $id_kelas); goto CETQH; TR315: $this->db->where("\x69\144\137\x73\155\x74", $id_smt); goto Vbezw; qAR1E: } public function getNilaiSikapBySiswa($id_siswa, $id_tp, $id_smt) { goto pGbHz; pGbHz: $this->db->select("\52"); goto gS1GG; kFQgf: $this->db->where("\x69\x64\x5f\x74\x70", $id_tp); goto hjrKc; hjrKc: $this->db->where("\151\x64\137\163\x6d\164", $id_smt); goto oKN3B; oKN3B: return $this->db->get()->result(); goto ogUZU; Ie0sm: $this->db->where("\x69\x64\x5f\163\151\x73\167\x61", $id_siswa); goto kFQgf; gS1GG: $this->db->from("\x72\141\160\x6f\x72\x5f\x6e\151\154\x61\151\137\x73\151\153\141\160"); goto Ie0sm; ogUZU: } public function getDeskripsiCatatanByJenis($kelas, $jenis, $id_tp, $id_smt) { $this->db->where("\x6a\x65\156\x69\163", $jenis)->where("\151\144\137\153\145\x6c\x61\x73", $kelas)->where("\151\x64\137\164\160", $id_tp)->where("\x69\144\x5f\x73\x6d\164", $id_smt); return $this->db->get("\162\141\160\157\x72\137\x64\x61\164\x61\137\143\141\x74\141\164\141\156")->result(); } public function getCatatanKelas($id_kelas, $id_siswa, $id_tp, $id_smt) { goto ZG_AY; fQJtk: $this->db->where("\151\x64\x5f\x63\x61\164\x61\x74\141\x6e\137\x77\141\154\x69", $id_kelas . $id_siswa . $id_tp . $id_smt); goto QTU_N; Sd3Qi: $this->db->from("\162\x61\x70\157\162\x5f\x63\141\164\141\164\x61\156\x5f\167\x61\154\151"); goto fQJtk; ZG_AY: $this->db->select("\x2a"); goto Sd3Qi; QTU_N: return $this->db->get()->row(); goto thWoF; thWoF: } public function getAllCatatanKelas($id_kelas) { goto Mf2LH; Mf2LH: $this->db->select("\x2a"); goto EJSFX; YYBmR: $this->db->where("\151\144\x5f\153\145\154\141\x73", $id_kelas); goto r1oKr; r1oKr: return $this->db->get()->result(); goto kW_nk; EJSFX: $this->db->from("\x72\x61\x70\157\x72\x5f\x63\x61\x74\141\x74\141\156\x5f\x77\141\x6c\151"); goto YYBmR; kW_nk: } public function getRankingKelas($id_kelas, $id_siswa, $id_tp, $id_smt) { goto lR5ms; GM_ob: return $this->db->get()->row(); goto fXibK; O5X2s: $this->db->from("\x72\x61\x70\157\x72\137\160\x72\x65\163\x74\141\x73\x69"); goto CBYKi; CBYKi: $this->db->where("\x69\144\137\162\x61\156\x6b\x69\156\x67", $id_kelas . $id_siswa . $id_tp . $id_smt); goto GM_ob; lR5ms: $this->db->select("\52"); goto O5X2s; fXibK: } public function getAllRankingKelas($id_kelas) { goto oOQl6; B4ZsC: $this->db->from("\162\x61\x70\x6f\x72\137\x70\162\x65\x73\164\x61\163\151"); goto uHWfJ; kR1sH: return $this->db->get()->result(); goto Ldh35; oOQl6: $this->db->select("\x2a"); goto B4ZsC; uHWfJ: $this->db->where("\151\x64\137\x6b\145\x6c\x61\x73", $id_kelas); goto kR1sH; Ldh35: } public function getAllDeskripsiFisikKelas() { goto m41zh; j0zh3: if (!$result) { goto XFtNQ; } goto jyQHc; eqQf8: $ret = []; goto j0zh3; ImoIo: H0va1: goto L7h7E; KlxmQ: return $ret; goto vzxo4; jyQHc: foreach ($result as $key => $row) { $ret[$row->id_kelas][$row->id_tp][$row->id_smt] = $row; a_XSk: } goto ImoIo; m41zh: $result = $this->db->get("\x72\x61\x70\x6f\x72\x5f\x64\141\x74\x61\x5f\x66\x69\x73\151\153")->result(); goto eqQf8; L7h7E: XFtNQ: goto KlxmQ; vzxo4: } public function getAllRaporFisik() { goto nxlmb; joldC: return $ret; goto J1CDZ; De0mx: foreach ($result as $key => $row) { $ret[$row->id_siswa][$row->id_tp][$row->id_smt] = $row; gTdMi: } goto w84xY; w84xY: n7l05: goto r9m8n; Vjr91: if (!$result) { goto k32_W; } goto De0mx; nxlmb: $result = $this->db->get("\x72\x61\160\x6f\x72\x5f\x66\x69\163\x69\153")->result(); goto hpmUR; r9m8n: k32_W: goto joldC; hpmUR: $ret = []; goto Vjr91; J1CDZ: } public function getDeskripsiFisikKelas($kelas, $id_tp, $id_smt) { $this->db->where("\x69\144\x5f\x66\151\x73\x69\153", $kelas)->where("\151\144\137\x74\160", $id_tp)->where("\x69\144\x5f\x73\155\164", $id_smt); return $this->db->get("\x72\141\x70\x6f\162\x5f\x64\141\x74\141\x5f\x66\x69\163\x69\x6b")->row(); } public function getFisikKelas($id_kelas, $id_siswa, $id_tp, $id_smt) { goto SgFjS; SgFjS: $this->db->select("\x2a"); goto TZDq1; TZDq1: $this->db->from("\x72\x61\160\157\x72\x5f\x66\x69\x73\x69\x6b"); goto nOx47; nOx47: $this->db->where("\151\144\137\x66\151\163\x69\153", $id_kelas . $id_siswa . $id_tp . $id_smt); goto ibkfS; ibkfS: return $this->db->get()->row(); goto PDZAm; PDZAm: } public function getAllFisikKelas($id_kelas) { goto Xtdov; pa8OG: $this->db->where("\151\x64\x5f\x6b\145\x6c\x61\163", $id_kelas); goto Fg8zh; Agg_Q: $this->db->from("\x72\141\x70\x6f\162\137\146\151\163\151\x6b"); goto pa8OG; Fg8zh: return $this->db->get()->result(); goto RiqlC; Xtdov: $this->db->select("\52"); goto Agg_Q; RiqlC: } public function getJmlNilaiMapelHarianSiswa($id_mapel, $id_siswa, $id_tp, $id_smt) { goto BiXab; BiXab: $this->db->select("\x70\x5f\x72\141\164\141\137\162\141\x74\x61\x2c\x20\153\137\162\141\164\141\x5f\x72\x61\164\141\x2c\x20\152\x6d\154"); goto LVjD3; iC2R0: $this->db->where("\x69\144\x5f\x73\x69\163\x77\x61", $id_siswa); goto kT29C; EbsbY: $this->db->where("\151\144\137\163\155\x74", $id_smt); goto O3nyZ; LVjD3: $this->db->from("\162\141\160\157\x72\137\x6e\151\154\141\151\x5f\x68\x61\162\x69\x61\x6e"); goto aPGXx; O3nyZ: return $this->db->get()->row(); goto eT1Y_; aPGXx: $this->db->where("\151\144\x5f\155\141\160\x65\154", $id_mapel); goto iC2R0; kT29C: $this->db->where("\x69\x64\137\x74\x70", $id_tp); goto EbsbY; eT1Y_: } public function getNilaiMapelHarianSiswa($id_mapel, $id_siswa, $id_tp, $id_smt) { goto tPtiU; tPtiU: $this->db->select("\160\61\54\x70\62\x2c\160\x33\54\160\x34\54\160\x35\x2c\153\x31\54\x6b\x32\54\153\63\x2c\153\64\54\x6b\x35"); goto BHGmY; uaiTP: $this->db->where("\151\x64\x5f\x73\151\x73\x77\x61", $id_siswa); goto Q0HA7; BHGmY: $this->db->from("\x72\x61\x70\x6f\162\137\x6e\151\x6c\141\151\x5f\x68\x61\x72\x69\141\x6e"); goto Z4u8G; VGmkq: $this->db->where("\x69\x64\137\x73\x6d\164", $id_smt); goto inZDu; inZDu: return $this->db->get()->row(); goto e9ez4; Q0HA7: $this->db->where("\151\144\x5f\x74\x70", $id_tp); goto VGmkq; Z4u8G: $this->db->where("\x69\144\137\x6d\x61\160\145\154", $id_mapel); goto uaiTP; e9ez4: } public function getArrNilaiMapelHarianSiswa($ids_mapel, $ids_siswa, $id_tp, $id_smt) { goto UVNto; w43z3: OUfdG: goto ykqDW; x5WKe: $this->db->where("\151\144\x5f\x74\160", $id_tp); goto HJAzy; uKQxw: foreach ($nilais as $nilai) { $rest[$nilai->id_siswa][$nilai->id_mapel] = $nilai; khxKb: } goto w43z3; LlWzP: $this->db->where_in("\151\x64\x5f\163\x69\x73\x77\x61", $ids_siswa); goto x5WKe; UVNto: $this->db->select("\x70\61\x2c\x70\x32\54\x70\63\54\x70\64\54\160\x35\54\x6b\61\54\x6b\62\x2c\x6b\x33\x2c\153\64\x2c\x6b\65\54\x69\x64\137\x6d\141\x70\145\154\54\x69\x64\137\x73\151\163\167\x61"); goto lPEKT; AFaKi: $rest = []; goto uKQxw; lPEKT: $this->db->from("\162\x61\x70\x6f\162\137\x6e\151\154\141\151\137\150\x61\x72\x69\141\156"); goto naUL0; HJAzy: $this->db->where("\151\144\x5f\x73\x6d\164", $id_smt); goto t5cuO; ykqDW: return $rest; goto hNibF; t5cuO: $nilais = $this->db->get()->result(); goto AFaKi; naUL0: $this->db->where_in("\x69\144\x5f\x6d\x61\x70\145\154", $ids_mapel); goto LlWzP; hNibF: } public function getNilaiMapelPtsSiswa($id_mapel, $id_siswa, $id_tp, $id_smt) { goto pVpZw; pVpZw: $this->db->select("\156\x69\x6c\141\151"); goto gdRGA; DzwZ5: $this->db->where("\151\144\137\x73\151\x73\x77\141", $id_siswa); goto YadfH; gdRGA: $this->db->from("\x72\x61\160\x6f\x72\x5f\156\x69\154\x61\151\137\x70\x74\163"); goto WNOed; avS6B: $this->db->where("\151\144\x5f\x73\x6d\x74", $id_smt); goto p4JnH; WNOed: $this->db->where("\x69\x64\137\155\141\160\145\154", $id_mapel); goto DzwZ5; p4JnH: return $this->db->get()->row(); goto k08Gs; YadfH: $this->db->where("\151\144\137\164\x70", $id_tp); goto avS6B; k08Gs: } public function getArrNilaiMapelPtsSiswa($ids_mapel, $ids_siswa, $id_tp, $id_smt) { goto M8uM3; wTuUS: $this->db->where_in("\x69\x64\x5f\x6d\141\160\x65\154", $ids_mapel); goto WUT1S; yE3wB: m2xAv: goto A4_LJ; WUT1S: $this->db->where_in("\151\144\x5f\x73\x69\x73\167\141", $ids_siswa); goto RGKFR; HqXzl: $this->db->where("\x69\x64\x5f\x73\155\164", $id_smt); goto Vlfkk; Vlfkk: $nilais = $this->db->get()->result(); goto epCl5; RGKFR: $this->db->where("\151\x64\137\164\x70", $id_tp); goto HqXzl; epCl5: $rest = []; goto DexSb; bjr8U: $this->db->from("\x72\141\x70\157\x72\x5f\x6e\151\154\x61\x69\x5f\x70\164\x73"); goto wTuUS; M8uM3: $this->db->select("\x6e\x69\x6c\141\x69\x2c\40\x69\x64\x5f\155\141\x70\145\154\x2c\40\x69\144\x5f\163\x69\x73\167\141"); goto bjr8U; A4_LJ: return $rest; goto g0CL0; DexSb: foreach ($nilais as $nilai) { $rest[$nilai->id_siswa][$nilai->id_mapel] = $nilai; Vt7sJ: } goto yE3wB; g0CL0: } public function getNilaiMapelPasSiswa($id_mapel, $id_siswa, $id_tp, $id_smt) { goto G4f_Y; fcDRp: $this->db->where("\x69\x64\137\155\x61\x70\145\x6c", $id_mapel); goto vVi0i; x1GdC: return $this->db->get()->row(); goto rvtXN; wWSGq: $this->db->where("\151\x64\137\163\x6d\x74", $id_smt); goto x1GdC; G4f_Y: $this->db->select("\156\151\x6c\141\x69\x2c\x61\153\x68\151\x72"); goto hnkZp; XbYmT: $this->db->where("\x69\x64\x5f\x74\160", $id_tp); goto wWSGq; hnkZp: $this->db->from("\162\141\x70\157\162\137\x6e\x69\x6c\141\151\137\x61\x6b\x68\151\162"); goto fcDRp; vVi0i: $this->db->where("\151\x64\x5f\163\151\163\167\141", $id_siswa); goto XbYmT; rvtXN: } public function getNilaiRapor($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt) { goto gIWOn; iVba5: $this->db->where("\141\56\151\144\137\156\x69\x6c\141\151\x5f\150\141\x72\151\x61\156", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt); goto iRC39; Vg1qq: $this->db->join("\162\141\x70\157\x72\x5f\x6e\151\154\x61\151\x5f\x61\153\150\x69\x72\x20\x62", "\142\x2e\151\x64\137\x6e\151\x6c\141\151\137\x61\x6b\x68\151\162\75\141\56\x69\x64\137\156\x69\x6c\141\x69\x5f\150\141\162\x69\x61\x6e", "\x6c\x65\x66\x74"); goto iVba5; BE0Oe: $this->db->from("\162\x61\x70\x6f\162\137\156\x69\x6c\x61\151\137\150\x61\162\x69\x61\156\40\x61"); goto Vg1qq; gIWOn: $this->db->select("\141\x2e\x70\x5f\162\141\x74\x61\137\162\x61\164\141\x2c\40\141\56\x70\x5f\x64\x65\163\153\x72\151\x70\x73\151\54\x20\141\56\x6b\137\162\141\x74\x61\x5f\162\141\x74\x61\x2c\40\x61\x2e\x6b\137\x70\x72\x65\144\151\x6b\x61\x74\54\x20\x61\56\153\x5f\x64\x65\163\153\162\x69\160\163\151\x2c\x20\x62\56\156\151\154\141\x69\x20\x61\163\40\156\151\x6c\141\151\137\160\x61\x73\x2c\x20\142\56\141\153\x68\x69\x72\40\x61\x73\x20\x6e\151\154\141\x69\54\40\142\x2e\160\x72\145\144\151\x6b\141\164"); goto BE0Oe; iRC39: return $this->db->get()->row_array(); goto m3A9U; m3A9U: } public function getNilaiMapelByKelas($id_mapel, $id_kelas, $id_tp, $id_smt) { goto mGJjk; tNt8V: $this->db->from("\x72\x61\x70\157\x72\x5f\x6e\x69\x6c\x61\x69\137\x68\141\x72\151\141\x6e\40\141"); goto kteP1; mLyGW: $this->db->where("\x61\56\x69\144\x5f\155\x61\x70\145\x6c", $id_mapel); goto lciO1; lciO1: $this->db->where("\141\x2e\151\x64\137\x6b\145\154\141\x73", $id_kelas); goto KoOb9; kteP1: $this->db->join("\x72\141\160\x6f\162\x5f\x6e\151\x6c\x61\x69\x5f\141\153\150\x69\162\40\x62", "\x62\x2e\151\144\137\x6e\x69\x6c\x61\x69\x5f\141\x6b\x68\x69\162\75\x61\56\151\144\x5f\x6e\x69\154\x61\x69\x5f\x68\141\x72\151\141\x6e", "\154\145\146\x74"); goto mLyGW; RRM_g: return $this->db->get()->result(); goto Z8YK2; G1uWY: $this->db->where("\x61\56\x69\x64\137\x73\155\x74", $id_smt); goto RRM_g; mGJjk: $this->db->select("\x61\x2e\x70\137\162\x61\x74\141\137\x72\x61\x74\x61\x2c\x20\x61\x2e\160\137\144\x65\163\153\x72\x69\160\163\151\x2c\40\141\56\x6b\x5f\162\x61\164\141\x5f\x72\x61\164\141\x2c\40\x61\x2e\153\x5f\x70\x72\x65\x64\x69\x6b\141\x74\x2c\40\141\x2e\153\x5f\144\145\x73\x6b\162\x69\x70\x73\151\x2c\x20\x62\56\x6e\x69\x6c\x61\x69\x20\141\163\x20\156\151\x6c\x61\151\137\160\141\163\x2c\40\x62\x2e\x61\x6b\x68\151\x72\40\x61\x73\40\x6e\x69\154\141\151\54\40\142\56\160\x72\x65\144\x69\153\x61\x74"); goto tNt8V; KoOb9: $this->db->where("\141\56\151\x64\x5f\x74\160", $id_tp); goto G1uWY; Z8YK2: } public function getNilaiRaporByKelas($id_kelas, $id_tp, $id_smt) { goto Ik0G_; gmAR2: $this->db->where("\141\56\151\x64\137\x73\x6d\x74", $id_smt); goto q2hBL; lRSlB: $this->db->where("\x61\x2e\151\x64\x5f\x6b\x65\154\x61\x73", $id_kelas); goto jE_ih; q2hBL: return $this->db->get()->result(); goto UAAGI; Ik0G_: $this->db->select("\141\56\x69\144\x5f\x6e\x69\154\x61\x69\x5f\x68\141\x72\x69\141\x6e\x2c\40\x61\56\151\x64\x5f\x73\151\x73\x77\x61\x2c\x20\141\x2e\151\144\137\x6d\141\160\x65\x6c\x2c\x20\x61\56\x70\x5f\162\141\164\x61\x5f\x72\x61\164\x61\x2c\40\141\56\x70\137\144\x65\x73\x6b\162\x69\160\x73\x69\54\x20\141\x2e\153\x5f\x72\x61\164\x61\137\162\x61\x74\141\54\40\141\x2e\x6b\137\160\x72\145\x64\x69\x6b\141\x74\54\x20\x61\x2e\x6b\x5f\144\145\x73\x6b\162\x69\x70\163\151\54\40\x62\x2e\156\x69\x6c\x61\x69\40\141\163\x20\x6e\151\154\x61\151\x5f\160\x61\x73\x2c\40\142\x2e\141\153\150\151\162\x20\x61\163\40\x6e\x69\x6c\141\x69\x2c\x20\x62\x2e\160\162\145\144\x69\153\x61\x74"); goto ZIqLR; ZIqLR: $this->db->from("\162\141\160\157\x72\x5f\x6e\151\154\141\151\137\x68\141\x72\x69\141\x6e\x20\x61"); goto io_jT; io_jT: $this->db->join("\x72\141\160\157\162\137\x6e\151\x6c\141\x69\137\x61\153\x68\x69\x72\x20\142", "\142\x2e\x69\144\137\156\x69\154\141\151\x5f\141\153\150\x69\x72\75\141\x2e\151\x64\137\x6e\x69\x6c\141\151\137\x68\141\162\x69\141\x6e", "\x6c\x65\x66\164"); goto lRSlB; jE_ih: $this->db->where("\x61\56\151\x64\x5f\x74\160", $id_tp); goto gmAR2; UAAGI: } public function getPrestasiByKelas($id_kelas, $id_tp, $id_smt) { goto NFdjB; NFdjB: $this->db->select("\x69\144\x5f\163\x69\x73\x77\141\54\40\162\141\156\x6b\x69\x6e\x67\54\40\144\x65\x73\153\x72\x69\160\x73\x69\40\141\x73\40\162\141\156\x6b\x5f\x64\x65\x73\x6b\162\151\x70\x73\151\x2c\40\x70\x31\x2c\x20\160\61\x5f\144\145\x73\x6b\x2c\x20\160\x32\x2c\40\160\x32\x5f\x64\x65\x73\153\x2c\x20\160\63\x2c\x20\160\x33\x5f\144\x65\x73\x6b"); goto D8kIS; d8hWa: $this->db->where("\151\144\x5f\x73\155\164", $id_smt); goto Ed29X; Sdx7j: AJ2nR: goto LSSgK; cDbGQ: foreach ($ranks as $rank) { $rest[$rank->id_siswa] = $rank; YF7aM: } goto Sdx7j; vSzjV: $this->db->where("\x69\144\137\164\160", $id_tp); goto d8hWa; Ed29X: $ranks = $this->db->get()->result(); goto MGA3c; MGA3c: $rest = []; goto cDbGQ; LSSgK: return $rest; goto XpdlH; D8kIS: $this->db->from("\162\x61\160\x6f\x72\137\x70\x72\x65\x73\164\141\163\151"); goto CtbpF; CtbpF: $this->db->where("\x69\144\137\153\x65\x6c\141\163", $id_kelas); goto vSzjV; XpdlH: } public function getCatatanWaliByKelas($id_kelas, $id_tp, $id_smt) { goto Q0mMR; MCPKs: $this->db->from("\x72\x61\x70\x6f\162\x5f\143\x61\x74\x61\x74\x61\x6e\x5f\167\x61\x6c\x69"); goto BLbju; sbLgf: return $rest; goto x1WBa; ppGM1: $this->db->where("\151\x64\137\x74\x70", $id_tp); goto X9IVO; BLbju: $this->db->where("\151\144\137\x6b\x65\154\x61\163", $id_kelas); goto ppGM1; q7iYk: NlYv_: goto sbLgf; cGmTs: $rest = []; goto IuFdN; go_gR: $desks = $this->db->get()->result(); goto cGmTs; X9IVO: $this->db->where("\151\144\x5f\x73\155\164", $id_smt); goto go_gR; Q0mMR: $this->db->select("\x69\x64\x5f\163\151\x73\167\x61\54\40\x6e\x69\154\141\x69\54\x20\144\x65\x73\153\162\151\160\x73\x69\40\141\x73\40\163\x61\x72\141\156"); goto MCPKs; IuFdN: foreach ($desks as $desk) { $rest[$desk->id_siswa] = $desk; lPUXX: } goto q7iYk; x1WBa: } public function getRaporDeskripsi($id_kelas, $id_siswa, $id_tp, $id_smt) { goto z7XDq; z7XDq: $this->db->select("\142\x2e\162\141\156\153\151\x6e\147\x2c\40\x62\56\144\145\163\x6b\x72\x69\x70\163\x69\40\141\163\x20\162\141\x6e\x6b\137\144\145\163\153\162\151\x70\x73\x69\x2c\40\142\x2e\x70\x31\x2c\x20\x62\56\x70\x31\137\x64\145\163\x6b\x2c\x20\x62\56\x70\62\x2c\x20\142\56\160\62\137\144\x65\163\x6b\54\40\142\x2e\160\x33\54\x20\x62\56\160\63\x5f\x64\145\x73\x6b\x2c" . "\40\x63\x2e\156\x69\154\x61\151\54\x20\143\56\x64\x65\163\x6b\x72\x69\x70\163\151\x20\x61\163\x20\163\x61\x72\141\156"); goto B57Io; B57Io: $this->db->from("\x72\x61\x70\157\162\137\x70\x72\x65\x73\x74\x61\163\151\x20\x62"); goto O7mf8; hHIh_: $this->db->where("\x62\56\x69\144\137\x72\x61\156\x6b\151\x6e\x67", $id_kelas . $id_siswa . $id_tp . $id_smt); goto Kn2hT; Kn2hT: return $this->db->get()->row(); goto fNR9d; O7mf8: $this->db->join("\x72\141\160\x6f\x72\137\x63\x61\164\x61\x74\141\156\137\x77\141\x6c\151\x20\x63", "\143\x2e\x69\144\137\x63\141\164\x61\164\141\x6e\x5f\x77\141\x6c\x69\75\142\56\151\x64\137\162\x61\156\x6b\151\156\147", "\154\145\146\x74"); goto hHIh_; fNR9d: } public function getDummyDeskripsiSpiritual() { return ["\x62\x65\x72\144\x6f\141\x20\x73\145\142\145\x6c\x75\155\x20\144\141\156\40\x73\145\163\x75\144\x61\150\40\155\145\x6c\x61\153\x75\153\141\x6e\x20\x6b\x65\147\x69\x61\x74\x61\x6e", "\x6d\145\156\152\141\x6c\141\x6e\x6b\141\x6e\40\x69\142\x61\144\x61\x68\40\x73\x65\163\165\x61\151\x20\x64\x65\x6e\x67\141\156\x20\141\147\141\155\141\156\171\141", "\155\145\x6d\x62\x65\x72\x69\40\x73\141\x6c\141\x6d\x20\x70\x61\144\x61\x20\x73\x61\x61\164\x20\141\x77\x61\154\x20\x64\141\x6e\40\141\x6b\x68\x69\x72\40\153\145\x67\151\x61\x74\141\x6e", "\x62\145\x72\x73\x79\x75\153\x75\x72\40\141\164\141\163\40\156\151\153\155\x61\164\40\x64\141\x6e\x20\x6b\x61\x72\165\156\x69\141\x20\124\165\x68\x61\x6e\40\131\141\156\147\40\115\141\x68\x61\x20\105\x73\141", "\x6d\x65\156\x73\x79\x75\153\165\162\x69\x20\153\145\x6d\141\155\160\x75\x61\x6e\40\x6d\141\156\165\x73\151\141\40\x64\141\154\x61\x6d\x20\155\145\156\x67\145\x6e\x64\141\154\151\153\x61\x6e\40\x64\x69\x72\x69", "\142\145\162\x73\171\x75\153\165\162\40\153\x65\164\151\x6b\141\x20\x62\x65\162\150\141\163\151\154\x20\155\145\x6e\147\x65\x72\x6a\141\x6b\x61\x6e\40\x73\145\x73\165\141\x74\x75", "\x62\x65\162\x73\x65\x72\x61\x68\x20\x64\151\x72\151\40\x28\x74\141\x77\x61\153\x61\x6c\x29\x20\153\145\160\141\144\141\x20\x54\x75\x68\x61\156\40\x73\x65\164\x65\154\x61\150\40\x62\145\x72\x69\153\x68\x74\x69\x61\x72\x20\141\164\141\165\40\155\x65\154\x61\153\165\x6b\141\156\x20\x75\x73\141\x68\141", "\x6d\145\155\145\154\x69\150\x61\162\x61\40\x68\x75\142\165\x6e\147\141\x6e\40\x62\141\151\153\40\144\145\x6e\x67\x61\156\x20\163\x65\163\141\155\141\40\165\x6d\141\164", "\142\145\162\x73\x79\165\153\165\162\40\163\x65\142\x61\x67\x61\x69\40\x62\141\x6e\147\163\141\x20\x49\156\144\157\156\x65\163\151\x61", "\155\145\x6e\147\150\157\x72\155\141\x74\x69\x20\157\x72\141\156\147\x20\154\141\151\156\40\171\141\156\147\40\155\x65\156\152\x61\x6c\x61\x6e\x6b\141\x6e\x20\151\142\x61\x64\x61\x68\40\163\145\163\x75\x61\151\x20\x64\x65\x6e\x67\141\x6e\x20\x61\147\x61\155\x61\156\171\141"]; } public function getDummyDeskripsiSosial() { return ["\152\165\x6a\x75\162", "\x64\x69\x73\151\160\154\151\156", "\164\x61\x6e\147\x67\x75\x6e\147\x20\x6a\141\167\141\x62", "\163\141\156\x74\x75\156", "\160\145\162\143\141\171\141\40\144\151\162\151", "\x70\x65\144\165\x6c\x69", "\164\x6f\x6c\145\x72\141\156\163\x69", "\x67\157\164\157\156\147\40\x72\x6f\x79\157\x6e\147", "\x72\x61\x6a\x69\x6e", "\x74\x69\x64\x61\153\x20\155\x75\x64\x61\x68\x20\x6d\145\x6e\171\x65\x72\141\150"]; } public function getDummyDeskripsiAbsensi() { return ["\113\145\150\141\144\151\x72\141\x6e\x20\143\x75\x6b\x75\160\x20\x62\x61\x69\153\40\x6e\x61\155\165\x6e\x20\160\x65\x72\154\x75\x20\x64\x69\164\x69\x6e\147\x6b\x61\164\x6b\141\156\x2e", "\125\x73\x61\150\141\153\141\x6e\40\x68\141\x64\x69\x72\40\x73\145\x74\151\x61\x70\40\150\x61\162\x69\56", "\112\141\x6e\x67\x61\x6e\x20\164\x65\x72\154\x61\x6c\x75\40\142\x61\156\171\141\x6b\40\141\154\x70\141\54\x20\144\151\x68\141\162\141\x70\x6b\141\x6e\40\x73\x65\x6c\141\x6c\165\40\x68\x61\144\x69\x72\x20\x6b\x65\x20\163\x65\153\x6f\154\x61\150", "\x4b\145\x68\141\144\x69\162\141\156\x6d\165\x20\x73\141\156\147\x61\164\x20\152\x61\x72\141\x6e\x67\x20\163\x65\153\141\x6c\151"]; } public function getDummyDeskripsiCatatan() { return ["\123\145\x6c\141\x6c\165\x20\x62\x65\162\165\x73\x61\150\141\40\165\x6e\164\165\x6b\x20\155\x65\x6d\141\164\165\150\x69\x20\x74\141\x74\141\40\164\145\x72\164\x69\142\40\x73\x65\x6b\x6f\x6c\x61\150\x20\x64\x61\x6e\x20\160\x61\164\165\150\x20\x74\145\162\x68\141\144\141\160\x20\107\x75\x72\165\56", "\x53\x65\154\141\x6c\x75\x20\142\x65\162\x75\163\141\150\141\x20\x75\x6e\164\165\153\x20\155\x61\156\144\x69\x72\x69\x20\144\141\156\40\x74\x65\160\x61\164\x20\x77\141\153\164\165\x20\x64\x61\x6c\x61\155\x20\x6d\x65\156\147\x65\162\x6a\141\x6b\141\x6e\x20\x74\165\x67\x61\163\x2e", "\115\x65\155\x70\165\156\171\141\x69\40\153\x65\x6d\141\x6d\x70\165\x61\x6e\40\144\x61\156\40\x6d\157\x74\x69\x76\x61\x73\151\x20\171\141\x6e\x67\40\x74\151\156\x67\x67\151\x20\x75\x6e\x74\165\x6b\40\x6d\145\156\x67\x67\x75\156\141\153\x61\156\40\167\141\x6b\164\165\x20\163\145\143\141\x72\141\x20\145\x66\151\163\x69\x65\x6e\56", "\x44\x69\x68\x61\x72\x61\x70\153\x61\x6e\x20\155\145\x72\165\142\x61\x68\40\x70\x65\156\x61\x6d\x70\151\154\x61\156\x6e\x79\x61\x20\155\145\156\152\141\144\151\40\154\x65\142\151\150\40\162\141\160\x69\54\x20\x73\x65\160\x65\x72\x74\151\x20\164\x65\x6e\164\x61\x6e\147\x20\x70\157\164\x6f\156\x67\x20\162\141\155\142\165\x74\40\x64\141\156\40\143\141\162\141\40\x62\145\162\x70\141\153\x61\151\x61\156\x2e", "\115\141\x73\151\150\40\x70\x65\162\154\x75\x20\x6d\x65\155\160\145\x72\142\x61\x6e\x79\x61\x6b\40\164\x65\x6d\x61\156\x20\142\x65\x72\x67\x61\165\x6c\40\x64\141\x6e\40\x74\x65\155\x61\x6e\x20\x64\151\163\x6b\165\163\151\x2c\40\x6b\165\162\x61\156\147\151\x20\141\153\x74\x69\x66\x69\164\141\163\x20\155\145\x6e\x79\x65\x6e\x64\x69\162\151\x2e", "\104\x69\x68\141\162\141\160\x6b\x61\156\40\144\141\x70\x61\x74\40\x6d\145\x6e\x69\x6e\147\x6b\141\x74\x6b\141\x6e\40\x6b\x6f\x6d\x69\x74\155\x65\x6e\156\171\x61\x20\x75\156\164\x75\x6b\40\x6c\145\x62\151\150\x20\x73\x65\x72\x69\165\163\x20\x73\x61\x61\x74\x20\155\145\x6e\147\x65\x72\x6a\141\153\x61\156\40\164\x75\147\x61\163\x20\144\141\156\x20\164\x69\x64\141\x6b\x20\x6d\x75\x64\141\150\40\x6d\x65\156\x79\145\x72\x61\150\x2e"]; } public function getDummyDeskripsiRanking() { return ["\x50\162\x65\163\164\141\x73\151\156\x79\x61\40\x73\141\x6e\x67\x61\164\40\142\141\x69\153\x2c\40\160\x65\x72\154\x75\40\144\151\160\145\x72\x74\141\x68\x61\156\153\x61\156\x2e", "\x50\x72\x65\x73\164\x61\x73\x69\x20\142\x61\x69\153\x2c\x20\160\145\x72\x6c\x75\x20\x64\x69\x70\x65\162\164\x61\150\x61\156\153\x61\156\40\144\141\156\40\144\x74\x69\x6e\147\153\x61\x74\153\x61\156\x2e", "\120\162\145\x73\164\x61\163\151\x20\x63\165\153\165\x70\54\x20\160\145\x72\154\x75\x20\x64\x69\x74\151\156\x67\x6b\x61\x74\x6b\141\x6e\x20\x62\145\x6c\x61\152\141\162\x20\144\x61\156\x20\142\x65\162\144\157\x61\x2e", "\120\x65\162\154\x75\40\x64\151\x74\x69\x6e\147\153\x61\x74\153\x61\156\40\142\145\x6c\141\x6a\141\162\156\171\x61\x2c\40\152\141\156\147\x61\156\40\154\x75\160\x61\x20\142\145\x72\144\157\141\x2e", "\120\145\162\154\165\40\x64\x69\x6d\141\153\x73\151\155\x61\x6c\x6b\x61\x6e\40\x62\x65\x6c\141\152\141\x72\156\171\x61\x2c\40\165\163\141\x68\141\40\153\x65\162\x61\163\40\x64\x61\156\40\x62\x65\x72\144\x6f\x61\56", "\120\x65\x72\154\165\40\x75\x73\141\150\141\x20\x6b\145\162\x61\x73\x2c\x20\155\x61\153\x73\151\x6d\x61\154\153\141\x6e\x20\142\x65\154\141\x6a\141\x72\x6e\171\141\54\40\x6c\145\x62\x69\x68\40\x67\x69\x61\164\x20\x62\x65\x72\144\157\x61\x20\x64\141\x6e\40\x62\145\x72\x69\142\141\x64\141\150\x2e"]; } public function getDummyDeskripsiFisik($jenis) { goto YLSJu; lN0g0: IECSA: goto uC8QY; Mnb9n: return ["\102\x61\x69\153\54\x20\x6e\x61\x6d\160\x61\153\40\160\165\x74\151\x68\x20\144\141\156\40\142\x65\162\x73\x69\150", "\124\145\x72\x64\141\x70\141\164\x20\x67\151\147\x69\40\x79\141\156\147\x20\147\x69\x67\151\163", "\x4b\145\142\145\162\163\x69\150\x61\156\40\x67\x69\x67\151\40\153\x75\162\x61\156\x67\40\x74\x65\x72\x6a\x61\147\141", "\101\x64\141\x20\x67\x69\x67\151\x20\x79\141\156\147\x20\x6d\141\165\x20\164\x61\x6e\147\x67\x61\x6c"]; goto W9VhV; mSQQa: return ["\x54\165\x62\165\x68\x20\x73\x65\x68\141\164\x20\x64\141\156\x20\153\165\x61\x74", "\x4d\165\x64\x61\150\x20\153\145\x63\141\x70\145\153\141\156", "\113\145\142\145\x72\163\x69\150\x61\x6e\40\x62\141\144\141\156\x20\153\165\162\141\x6e\x67\40\x74\x65\x72\152\141\147\x61", '']; goto Difid; Y5Nba: goto haKPG; goto Ce1PG; qxuGP: goto haKPG; goto lN0g0; Jdz7D: if ($jenis == "\x32") { goto IECSA; } goto MCgL_; uC8QY: return ["\102\x61\x69\153", "\x53\x65\162\x69\156\147\40\142\145\x72\141\151\162", "\113\165\x72\141\x6e\x67\40\152\x65\154\141\163\x20\152\x69\153\x61\x20\155\x65\x6c\151\x68\x61\164\x20\x6a\x61\162\x61\153\x20\152\x61\165\x68", '']; goto Y5Nba; MCgL_: if ($jenis == "\x33") { goto xINHV; } goto mSQQa; m9qwF: LrW25: goto FItOv; FItOv: return ["\102\141\x69\x6b", "\113\x75\x72\141\156\147\40\x70\145\x6b\141", "\124\x65\154\151\156\x67\141\40\160\x65\x72\154\165\x20\x64\x69\142\x65\162\163\x69\x68\x6b\x61\x6e", '']; goto qxuGP; W9VhV: haKPG: goto hhzEx; Ce1PG: xINHV: goto Mnb9n; YLSJu: if ($jenis == "\x31") { goto LrW25; } goto Jdz7D; Difid: goto haKPG; goto m9qwF; hhzEx: } public function getKenaikanSiswa($id_kelas, $id_tp, $id_smt, $level = null) { goto ISVo_; CH9sw: l4pM1: goto QekZ0; ISVo_: $this->db->query("\x53\105\124\40\x53\x51\114\137\102\x49\107\x5f\x53\x45\x4c\x45\x43\x54\123\x3d\61"); goto dotJl; fxBxr: if (!($id_kelas != null)) { goto l4pM1; } goto q9FPM; fzsqT: $this->db->join("\x72\x61\160\157\162\137\x6e\x61\x69\153\40\x64", "\141\56\x69\144\137\163\151\x73\x77\x61\x3d\x64\x2e\151\144\x5f\163\x69\163\x77\x61\40\x41\116\104\40\141\56\x69\x64\x5f\x74\x70\x3d\x64\56\151\x64\137\164\x70\40\101\x4e\104\x20\141\x2e\x69\x64\x5f\163\155\164\75\144\56\151\144\x5f\163\155\x74", "\154\145\x66\164"); goto mPxxO; QekZ0: $this->db->where("\141\56\x69\144\x5f\164\160", $id_tp); goto VzaQq; dotJl: $this->db->select("\141\56\x2a\x2c\40\x62\x2e\156\141\x6d\141\x2c\x20\x62\x2e\x6e\x69\x73\x2c\x20\x62\x2e\156\151\x73\156\x2c\x20\142\x2e\165\x73\145\x72\x6e\x61\155\x65\x2c\x20\143\56\151\x64\137\153\x65\154\141\163\x2c\40\143\x2e\x6e\x61\x6d\141\137\x6b\145\154\x61\x73\x2c\40\143\56\154\x65\x76\x65\154\137\x69\144\x2c\40\144\56\156\x61\x69\153"); goto YaCaQ; u5hWz: $this->db->where("\x63\56\154\145\166\x65\x6c\137\151\144", $level); goto uYHxa; mykK9: return $this->db->get()->result(); goto nOKIN; YaCaQ: $this->db->from("\153\145\154\x61\x73\137\x73\x69\x73\167\141\40\x61"); goto o17Sw; q9FPM: $this->db->where("\x61\56\151\x64\137\x6b\145\x6c\141\163", $id_kelas); goto CH9sw; mPxxO: if (!($level != null)) { goto nl6P3; } goto u5hWz; VzaQq: $this->db->where("\141\56\151\x64\137\x73\x6d\x74", $id_smt); goto mykK9; uYHxa: nl6P3: goto fxBxr; irr0u: $this->db->join("\155\x61\163\164\x65\x72\137\153\x65\x6c\141\163\40\143", "\x61\x2e\151\144\x5f\153\145\x6c\x61\x73\75\x63\x2e\x69\x64\x5f\153\145\x6c\141\x73", "\154\x65\146\x74"); goto fzsqT; o17Sw: $this->db->join("\x6d\x61\x73\164\x65\x72\137\x73\151\x73\x77\141\40\142", "\141\56\151\x64\x5f\163\151\x73\167\x61\75\142\56\151\x64\x5f\163\x69\163\x77\141", "\x6c\145\146\x74"); goto irr0u; nOKIN: } public function getSiswaLulus($id_tp, $id_smt, $level) { goto J6DXy; J6DXy: $this->db->query("\x53\x45\124\40\x53\121\x4c\137\102\x49\107\x5f\123\x45\x4c\105\103\124\123\75\x31"); goto W0ilp; V0Cux: $this->db->from("\x6b\145\x6c\x61\x73\137\163\151\163\x77\x61\40\141"); goto WcSn7; ZGbYH: $this->db->join("\x72\141\160\157\x72\137\x6e\x61\151\153\x20\144", "\141\56\x69\x64\137\163\151\163\x77\141\75\144\56\151\144\137\163\151\x73\x77\141\x20\101\116\x44\x20\141\56\x69\144\x5f\x74\160\75\144\56\x69\144\x5f\164\160\40\101\x4e\104\40\141\x2e\151\144\137\x73\x6d\164\x3d\x64\56\151\144\137\163\x6d\x74", "\154\x65\146\164"); goto cirWt; W0ilp: $this->db->select("\142\56\x2a\54\x20\143\56\x6e\141\x6d\141\137\x6b\145\154\x61\x73\x20\x61\x73\x20\x6b\145\154\x61\x73\137\141\153\x68\x69\162\x2c\x20\144\x2e\156\141\151\153"); goto V0Cux; crBaF: $this->db->where("\x61\56\x69\144\137\x73\x6d\x74", $id_smt); goto gtQce; cirWt: $this->db->where("\143\x2e\154\x65\x76\x65\x6c\137\151\144", $level); goto pAPZv; rMFh3: $this->db->join("\x6d\x61\163\x74\x65\162\x5f\x6b\x65\154\141\163\x20\143", "\141\56\151\144\x5f\153\145\x6c\141\163\x3d\x63\56\x69\144\137\x6b\145\154\x61\163", "\x6c\x65\x66\x74"); goto ZGbYH; pAPZv: $this->db->where("\141\x2e\151\x64\137\164\160", $id_tp); goto crBaF; WcSn7: $this->db->join("\x6d\x61\163\x74\x65\162\x5f\163\x69\163\x77\x61\40\142", "\x61\56\151\x64\137\163\151\163\167\141\x3d\142\x2e\x69\x64\x5f\x73\151\x73\x77\x61", "\154\145\x66\x74"); goto rMFh3; gtQce: return $this->db->get()->result(); goto WirSQ; WirSQ: } public function getJumlahLulus($id_tp, $id_smt, $level) { goto He7wu; B83Si: $this->db->where("\141\x2e\151\144\x5f\x74\160", $id_tp); goto W9qwo; uZKAQ: $this->db->join("\162\x61\x70\x6f\x72\137\x6e\x61\151\x6b\40\x64", "\141\56\151\144\137\x73\x69\163\167\141\75\x64\x2e\x69\x64\x5f\163\x69\163\x77\141\40\x41\x4e\x44\40\x61\x2e\x69\x64\x5f\164\x70\75\x64\x2e\x69\x64\x5f\x74\x70\x20\x41\116\104\x20\141\56\151\x64\x5f\x73\155\164\75\144\56\x69\144\x5f\x73\155\164", "\x6c\145\146\x74"); goto uJVuD; y4o5T: return $this->db->count_all_results(); goto uTnX7; W9qwo: $this->db->where("\x61\x2e\x69\x64\137\x73\x6d\164", $id_smt); goto y4o5T; qd76C: $this->db->select("\x61\x2e\52\54\40\x62\56\156\x61\x6d\x61\54\x20\142\x2e\x6e\151\x73\54\x20\142\x2e\156\x69\163\x6e\x2c\x20\142\56\165\163\x65\x72\156\141\155\145\54\40\143\x2e\x69\144\x5f\x6b\x65\154\x61\163\x2c\40\143\56\x6e\x61\x6d\141\137\x6b\x65\154\141\163\54\40\143\x2e\154\145\166\x65\x6c\137\151\x64\x2c\x20\x64\56\156\141\151\153"); goto ChxzL; uJVuD: $this->db->where("\x63\56\154\145\x76\145\154\x5f\151\x64", $level); goto B83Si; ChxzL: $this->db->from("\x6b\x65\x6c\141\163\x5f\163\x69\163\167\x61\40\141"); goto KJ3Zq; KJ3Zq: $this->db->join("\x6d\x61\x73\x74\145\162\x5f\x6b\x65\x6c\141\x73\x20\143", "\x61\56\151\144\x5f\153\x65\154\141\163\x3d\143\x2e\x69\144\137\x6b\x65\x6c\141\163", "\154\145\x66\164"); goto uZKAQ; He7wu: $this->db->query("\123\105\124\40\x53\121\x4c\137\102\x49\x47\137\123\105\x4c\x45\103\124\x53\75\61"); goto qd76C; uTnX7: } public function getKenaikanRapor($id_kelas, $id_tp, $id_smt) { goto ff7tU; kPGvs: $this->db->where("\x61\x2e\151\144\137\x6b\x65\x6c\x61\163", $id_kelas); goto DKbb7; PrDeQ: return $ret; goto YccqJ; DisnZ: RWmT9: goto PrDeQ; ff7tU: $this->db->select("\x61\x2e\x69\x64\137\153\x65\154\141\163\54\40\141\56\x69\144\137\x73\x69\163\x77\141\x2c\x20\144\x2e\156\141\151\153"); goto UJ0Ds; UJ0Ds: $this->db->from("\153\x65\154\x61\x73\137\163\151\163\x77\x61\x20\141"); goto qmeKA; f34Bq: $ret = []; goto bvl_g; u4GVr: $this->db->where("\x61\x2e\x69\144\x5f\x73\x6d\x74", $id_smt); goto GRFBC; DKbb7: $this->db->where("\141\x2e\151\144\x5f\164\x70", $id_tp); goto u4GVr; bvl_g: foreach ($ress as $res) { $ret[$res->id_siswa] = $res->naik; s0O78: } goto DisnZ; GRFBC: $ress = $this->db->get()->result(); goto f34Bq; qmeKA: $this->db->join("\x72\141\x70\x6f\162\137\x6e\x61\151\x6b\x20\x64", "\141\x2e\151\x64\x5f\163\151\x73\x77\x61\x3d\144\56\151\x64\137\x73\151\163\167\x61\x20\x41\116\x44\40\x61\x2e\x69\144\137\x74\160\75\x64\56\151\144\137\164\160\40\101\x4e\104\x20\x61\x2e\151\x64\137\163\x6d\164\x3d\144\x2e\x69\x64\137\163\x6d\164", "\154\x65\146\x74"); goto kPGvs; YccqJ: } public function getAllRaporSetting() { goto wAuyD; l2jY_: dnbHG: goto ALsX0; k1eny: $ret = []; goto P8Tav; oh53F: return $ret; goto Zrrle; IvuVV: foreach ($result as $key => $row) { $ret[$row->id_tp][$row->id_smt] = $row; kEDz2: } goto l2jY_; P8Tav: if (!$result) { goto yx4P4; } goto IvuVV; wAuyD: $result = $this->db->get("\x72\141\160\x6f\162\137\141\x64\155\151\x6e\x5f\x73\145\164\164\151\x6e\x67")->result(); goto k1eny; ALsX0: yx4P4: goto oh53F; Zrrle: } public function getAllKkm() { goto P_blH; tHkCE: $ret = []; goto FCW8k; pW7xD: return $ret; goto chS1R; P_blH: $result = $this->db->get("\x72\x61\x70\157\x72\x5f\153\153\155")->result(); goto tHkCE; lCkJU: RNtVs: goto pW7xD; FCW8k: foreach ($result as $res) { $ret[$res->id_tp][$res->id_smt][$res->id_kelas][$res->jenis][$res->id_mapel] = $res; Lzxpu: } goto lCkJU; chS1R: } public function getAllKkmRaporAkhir($kelas, $id_tp, $id_smt) { goto QQ85N; Op10l: $ret = []; goto TseSc; QQ85N: $this->db->where("\151\x64\x5f\153\145\154\x61\163", $kelas)->where("\151\x64\137\x74\x70", $id_tp)->where("\x69\144\137\163\155\x74", $id_smt); goto uoCXa; WgqXI: UMTr5: goto t_Xr6; uoCXa: $result = $this->db->get("\x72\x61\160\157\x72\137\x6b\153\155")->result(); goto Op10l; TseSc: foreach ($result as $res) { $ret[$res->jenis][$res->id_mapel] = $res; xLXn5: } goto WgqXI; t_Xr6: return $ret; goto YA7M9; YA7M9: } public function getAllNilaiAkhir() { goto q1iH0; ISv7K: $this->db->from("\x72\x61\x70\157\x72\x5f\156\x69\x6c\x61\x69\x5f\x68\x61\x72\x69\x61\x6e\x20\141"); goto SjfG4; MjOZg: foreach ($result as $res) { $ret[$res->id_tp][$res->id_smt][$res->id_siswa] = $res; ziC7l: } goto hrXkn; SjfG4: $this->db->join("\162\x61\160\x6f\x72\137\x6e\151\154\x61\151\x5f\160\164\163\40\x62", "\142\x2e\151\x64\x5f\x6e\x69\x6c\141\151\137\160\164\163\x3d\141\x2e\151\144\137\156\151\154\141\x69\137\150\x61\x72\151\x61\x6e", "\x6c\x65\146\x74"); goto Nseqc; KAU5s: $this->db->select("\141\56\x69\x64\x5f\164\x70\x2c\x20\141\56\151\144\137\x73\155\164\x2c\x20\141\x2e\x69\x64\x5f\x73\151\163\167\141\54\x20\141\56\160\137\162\141\x74\141\x5f\162\141\164\x61\x20\141\163\40\156\x68\141\x72\x2c\40\x61\56\160\137\x64\x65\163\x6b\x72\151\x70\x73\151\x2c\40\141\56\x6b\137\162\141\164\x61\137\x72\x61\164\141\54" . "\x20\x61\56\153\x5f\160\x72\x65\144\x69\x6b\141\164\54\x20\141\56\153\x5f\144\x65\x73\153\x72\x69\160\x73\151\54\40\x62\56\x6e\151\154\141\151\40\x61\x73\40\156\x70\x74\163\x2c\x20\143\x2e\x6e\x69\154\x61\151\x20\141\163\40\156\160\x61\x73\54\x20\x63\x2e\160\162\145\x64\151\x6b\x61\x74"); goto ISv7K; OLj4M: $ret = []; goto MjOZg; hrXkn: MpuXM: goto fs2DI; fs2DI: return $ret; goto XU4NQ; Nseqc: $this->db->join("\x72\141\160\157\162\137\156\x69\x6c\141\151\137\x61\x6b\x68\x69\x72\x20\x63", "\x63\x2e\151\x64\x5f\156\x69\154\x61\x69\137\141\153\x68\x69\162\x3d\x61\x2e\x69\x64\x5f\156\151\154\141\151\x5f\150\x61\162\x69\x61\156", "\x6c\x65\x66\164"); goto KC3Fx; q1iH0: $this->db->query("\123\x45\124\40\123\x51\114\x5f\102\x49\x47\137\x53\x45\114\x45\x43\124\x53\75\61"); goto KAU5s; KC3Fx: $result = $this->db->get()->result(); goto OLj4M; XU4NQ: } public function getDistinctTahunBukuNilai() { goto S7kvu; YIevM: foreach ($result as $row) { $ret[$row->tp] = $row->tp; YxC03: } goto pGuE7; VMDqW: $result = $this->db->get("\x62\165\153\x75\x5f\x6e\x69\154\x61\x69")->result(); goto XK4TI; XK4TI: $ret = []; goto YIevM; Xj1Df: $this->db->distinct(); goto VMDqW; pGuE7: kYMVo: goto fxfA0; fxfA0: return $ret; goto cbbJk; S7kvu: $this->db->select("\164\x70"); goto Xj1Df; cbbJk: } public function getDistinctSmtBukuNilai() { goto PSmFc; PSmFc: $this->db->select("\163\155\x74"); goto JvL7w; wFLDM: return $ret; goto JOQX3; enk65: F23We: goto wFLDM; Ith2e: foreach ($result as $row) { $ret[$row->smt] = $row->smt; ZiRYX: } goto enk65; JvL7w: $this->db->distinct(); goto YYGNA; YYGNA: $result = $this->db->get("\142\x75\x6b\x75\137\x6e\x69\x6c\x61\151")->result(); goto mgOav; mgOav: $ret = []; goto Ith2e; JOQX3: } public function getDistinctKelasBukuNilai() { goto edG8v; H6lmj: foreach ($result as $row) { $ret[$row->kelas] = $row->kelas; ySREx: } goto Rya9E; QToox: $result = $this->db->get("\142\x75\153\x75\x5f\x6e\x69\x6c\x61\151")->result(); goto oYmFK; sL65g: $this->db->distinct(); goto QToox; oirKG: return $ret; goto Fx6k2; Rya9E: uWQhZ: goto oirKG; oYmFK: $ret = []; goto H6lmj; edG8v: $this->db->select("\x6b\x65\x6c\141\163"); goto sL65g; Fx6k2: } public function getFisikBySiswa($id_siswa) { goto SW5m0; uvoE4: $this->db->where("\151\x64\x5f\x73\x69\163\x77\x61", $id_siswa); goto NIp13; sdW8k: nYTPn: goto fRIx0; tWIeg: if (!$result) { goto nYTPn; } goto EbIFZ; fRIx0: return $ret; goto Ig647; EbIFZ: foreach ($result as $key => $row) { $ret[$row->tp] = $row; SXeO0: } goto iIefP; PLY9f: $this->db->from("\142\165\x6b\x75\137\156\151\x6c\141\x69"); goto uvoE4; iIefP: bkPdM: goto sdW8k; SW5m0: $this->db->select("\164\160\54\x20\x66\151\x73\151\x6b"); goto PLY9f; NIp13: $result = $this->db->get()->result(); goto NjPee; NjPee: $ret = []; goto tWIeg; Ig647: } public function getDataKumpulanRapor($kelas = null, $tp = null, $smt = null) { goto YlcSm; s3zkv: m_9t1: goto uGjWh; d4QhT: $this->db->from("\142\165\153\x75\x5f\x6e\x69\x6c\x61\151\40\x61"); goto Ipp1i; YlcSm: $this->db->select("\x2a"); goto d4QhT; Qrik2: $this->db->where("\x61\56\153\x65\154\x61\163", $kelas); goto pPDN9; PMiSL: if (!($kelas != null)) { goto RcTE5; } goto Qrik2; N3wGk: $ret = []; goto C6qD0; vp9PR: eXkRO: goto EFWGz; j4By_: $this->db->where("\x61\x2e\x73\155\x74", $smt); goto PaJX2; uloKn: if (!($tp != null)) { goto eXkRO; } goto XkB3P; uGjWh: return $ret; goto fVbXK; EFWGz: if (!($smt != null)) { goto jdzE8; } goto j4By_; XkB3P: $this->db->where("\x61\56\x74\160", $tp); goto vp9PR; Ipp1i: $this->db->join("\155\x61\x73\x74\x65\162\137\163\x69\163\167\x61\40\142", "\x61\56\151\x64\x5f\x73\151\163\x77\x61\75\x62\56\x69\144\137\x73\151\x73\167\x61"); goto uloKn; PaJX2: jdzE8: goto PMiSL; KCBf9: foreach ($result as $key => $row) { $ret[$row->id_siswa] = $row; gKHbA: } goto Wrdl0; Wrdl0: Ttda2: goto s3zkv; lNgyY: $result = $this->db->get()->result(); goto N3wGk; pPDN9: RcTE5: goto lNgyY; C6qD0: if (!$result) { goto m_9t1; } goto KCBf9; fVbXK: } public function deleteNilaiRapor() { goto v5t4B; eRdNt: $this->db->empty_table("\x72\x61\160\157\x72\x5f\x70\x72\x65\163\164\x61\x73\x69"); goto YXXsD; v5t4B: $this->db->empty_table("\x72\141\x70\157\x72\137\x6e\151\154\x61\x69\x5f\150\x61\x72\151\141\x6e"); goto cmnhd; zPGoF: $this->db->empty_table("\162\141\160\x6f\x72\137\156\151\x6c\x61\x69\137\x70\164\163"); goto eRdNt; YXXsD: $this->db->empty_table("\162\x61\x70\x6f\x72\x5f\143\x61\x74\x61\164\141\x6e\x5f\167\141\x6c\x69"); goto Zf1Lg; Zf1Lg: $this->db->empty_table("\x72\141\x70\157\x72\x5f\146\151\163\151\153"); goto omnBz; omnBz: $this->db->empty_table("\x72\141\x70\157\x72\x5f\x6e\151\x6c\x61\151\137\145\x6b\x73\164\x72\141"); goto u6D6q; cmnhd: $this->db->empty_table("\x72\x61\x70\x6f\162\137\156\151\x6c\141\151\137\141\x6b\150\x69\x72"); goto jXBhF; u6D6q: $this->db->empty_table("\162\141\x70\x6f\162\x5f\x6e\151\x6c\x61\151\x5f\x73\x69\x6b\141\x70"); goto Yn801; jXBhF: $this->db->empty_table("\x72\141\x70\157\x72\x5f\156\141\x69\x6b"); goto zPGoF; Yn801: } public function getAllNilaiRapor($ids_siswa = null) { goto p1AHP; hQKTV: if (!($ids_siswa != null)) { goto lWCJd; } goto n929M; aca32: $this->db->join("\155\141\163\x74\145\x72\137\x6d\141\160\145\x6c\40\160", "\141\56\151\x64\137\155\x61\160\x65\x6c\x3d\x70\56\151\x64\x5f\x6d\x61\160\145\x6c", "\154\145\146\x74"); goto hQKTV; n929M: $this->db->where_in("\x61\x2e\151\144\137\x73\x69\163\x77\x61", $ids_siswa); goto ROSMt; ROSMt: lWCJd: goto rG2UH; lmGuw: $this->db->join("\x72\x61\x70\x6f\x72\x5f\x66\x69\163\x69\153\40\x6e", "\141\56\151\144\x5f\163\151\x73\167\x61\x3d\156\56\x69\144\x5f\x73\151\163\167\141\x20\101\x4e\x44\x20\x61\x2e\x69\x64\137\x74\x70\x3d\x6e\x2e\x69\144\137\x74\160\x20\x41\x4e\104\x20\141\x2e\151\144\137\x73\x6d\164\x3d\x6e\56\151\x64\x5f\163\x6d\164", "\x6c\x65\146\x74"); goto aca32; b8YB1: $this->db->join("\162\x61\x70\x6f\162\x5f\x70\162\x65\x73\164\x61\163\151\x20\x6c", "\x61\x2e\151\144\x5f\x73\x69\163\x77\x61\75\x6c\56\151\144\x5f\163\x69\163\x77\x61\x20\x41\116\x44\x20\x61\x2e\x69\144\137\x74\160\75\x6c\x2e\151\144\137\164\x70\x20\101\x4e\x44\40\x61\x2e\x69\x64\137\x73\155\x74\75\154\x2e\x69\144\x5f\x73\x6d\164", "\154\x65\146\x74"); goto Zgd2O; xXA2n: $this->db->join("\x72\x61\x70\157\x72\137\156\151\154\141\151\x5f\x70\164\163\x20\x67", "\147\56\x69\144\x5f\x6e\151\x6c\141\151\137\x70\164\x73\x3d\x61\56\x69\144\x5f\156\x69\154\141\151\x5f\x68\x61\162\x69\x61\156", "\154\145\146\164"); goto xLAM9; kksl9: $this->db->select("\141\56\151\x64\x5f\x74\160\x2c\x20\x61\56\151\x64\x5f\163\x6d\x74\x2c\40\x61\56\151\x64\x5f\155\141\160\145\154\54\x20\x61\56\x69\144\137\x73\151\163\167\141\54\40\x61\x2e\x70\137\162\x61\x74\141\x5f\x72\x61\x74\141\x2c\40\141\56\160\x5f\x70\162\x65\144\x69\x6b\141\164\x2c\40\141\x2e\160\x5f\144\x65\163\153\162\x69\x70\x73\151\x2c" . "\40\141\x2e\153\137\x72\x61\164\x61\137\162\x61\164\x61\54\x20\x61\56\153\x5f\x70\162\145\x64\x69\x6b\141\x74\x2c\x20\141\56\153\137\x64\145\163\x6b\x72\x69\160\163\x69\54" . "\40\142\56\156\x69\x6c\x61\151\40\141\x73\x20\156\x69\154\141\x69\x5f\x70\141\163\54\x20\142\56\141\x6b\150\x69\x72\40\141\x73\x20\x6e\151\x6c\x61\151\137\x72\x61\x70\x6f\162\x2c\40\142\x2e\160\x72\145\x64\151\153\141\x74\40\x61\x73\x20\162\x61\x70\157\x72\137\160\x72\145\x64\x69\153\141\164\x2c" . "\x20\143\56\x2a\54\40\x64\56\52\54\40\x65\56\40\156\x61\x6d\x61\x2c\40\x65\56\165\151\x64\x2c\40\x66\x2e\x6e\x61\x69\153\54" . "\x20\147\x2e\156\151\x6c\141\x69\40\141\x73\40\x6e\151\154\141\151\x5f\x70\164\163\54\x20\x67\56\160\162\x65\x64\x69\x6b\141\164\x20\141\163\40\160\164\x73\x5f\160\x72\x65\144\151\x6b\x61\164\x2c" . "\x20\150\56\x20\x69\144\x5f\153\x65\154\141\x73\54\x20\x68\x2e\156\x61\155\x61\137\x6b\x65\x6c\141\163\x2c\x20\150\56\x6c\145\x76\145\154\137\x69\144\x2c\40\151\56\156\141\155\x61\x5f\152\165\x72\165\163\x61\156\x2c\x20\x6b\56\156\141\155\141\x5f\147\x75\162\x75\x2c" . "\40\x6c\56\x72\141\x6e\x6b\151\156\x67\x2c\x20\154\56\144\145\x73\153\x72\x69\x70\163\x69\40\141\163\40\162\141\x6e\x6b\x5f\x64\x65\x73\153\x72\151\x70\163\x69\54\40\x6c\x2e\160\x31\54\40\x6c\x2e\160\61\137\144\x65\x73\x6b\x2c\x20\x6c\x2e\160\x32\54\40\154\56\160\x32\137\x64\145\x73\x6b\54\x20\x6c\x2e\x70\63\54\40\154\56\x70\x33\137\144\x65\163\x6b\54" . "\40\155\56\156\x69\x6c\141\151\40\x61\163\x20\x61\142\163\x65\x6e\x2c\40\x6d\56\144\145\x73\x6b\162\151\x70\163\151\40\141\x73\x20\163\141\162\141\x6e\54\x20\x6e\x2e\153\x6f\x6e\x64\151\x73\x69\x2c\40\156\x2e\x74\x69\x6e\147\147\x69\54\x20\156\x2e\142\145\x72\x61\164\x2c\40\160\56\x6b\157\x64\145\40\141\163\40\x6d\x61\160\145\154"); goto P_7ju; p1AHP: $this->db->query("\123\x45\x54\40\x53\x51\114\137\x42\x49\107\x5f\x53\105\x4c\x45\x43\x54\123\75\x31"); goto kksl9; rG2UH: return $this->db->get()->result(); goto vmaQA; xLAM9: $this->db->join("\155\x61\163\x74\x65\162\137\153\145\154\x61\x73\40\x68", "\x61\x2e\x69\x64\137\x6b\x65\x6c\141\163\75\x68\x2e\151\144\137\x6b\x65\x6c\x61\x73\x20\101\116\104\x20\x61\56\x69\144\137\164\160\75\150\56\x69\x64\137\164\x70\40\101\x4e\104\x20\141\x2e\151\144\137\163\155\x74\x3d\150\x2e\151\x64\137\x73\155\164", "\x6c\145\x66\164"); goto Bu0S7; Bu0S7: $this->db->join("\x6d\x61\163\x74\x65\162\137\152\x75\x72\165\x73\x61\156\x20\151", "\x68\56\152\x75\162\165\163\141\156\x5f\151\144\75\151\x2e\x69\x64\x5f\x6a\165\x72\x75\x73\141\x6e", "\154\x65\x66\164"); goto tugVx; tugVx: $this->db->join("\152\141\142\x61\x74\x61\x6e\137\147\x75\x72\165\40\152", "\x61\x2e\151\144\x5f\x6b\145\154\141\x73\x3d\152\x2e\151\x64\137\153\x65\154\x61\163\x20\101\116\x44\x20\x61\56\151\x64\137\x74\160\x3d\152\x2e\151\144\137\164\x70\x20\x41\x4e\x44\x20\141\56\x69\144\x5f\163\x6d\164\75\x6a\x2e\151\x64\x5f\x73\x6d\164", "\154\145\x66\x74"); goto sJfZT; BUdxb: $this->db->join("\162\141\160\157\x72\x5f\156\141\151\x6b\40\146", "\141\56\x69\144\137\x73\151\163\167\141\x3d\x66\56\x69\x64\x5f\x73\151\x73\x77\x61\40\x41\116\x44\40\x61\56\151\144\137\164\x70\75\146\56\x69\x64\137\164\160\x20\x41\116\x44\x20\141\x2e\151\144\x5f\x73\x6d\x74\75\146\56\151\x64\x5f\163\155\x74", "\154\145\146\x74"); goto xXA2n; BC3vn: $this->db->join("\155\141\163\164\x65\x72\137\164\160\40\x63", "\143\56\x69\x64\137\x74\160\x3d\141\x2e\x69\144\x5f\x74\160", "\x6c\145\146\164"); goto q2Agn; q2Agn: $this->db->join("\x6d\141\163\164\145\162\x5f\163\x6d\164\x20\144", "\144\x2e\x69\144\x5f\x73\155\164\x3d\141\x2e\x69\144\137\x73\x6d\x74", "\154\145\x66\164"); goto nAxWu; sJfZT: $this->db->join("\155\x61\163\164\145\162\137\147\165\x72\x75\x20\x6b", "\x6a\56\151\144\x5f\147\165\162\165\75\153\56\151\144\x5f\x67\165\x72\165", "\x6c\145\x66\164"); goto b8YB1; nAxWu: $this->db->join("\155\141\163\x74\145\162\x5f\163\151\x73\167\141\40\x65", "\x65\56\151\144\x5f\x73\x69\163\x77\141\75\141\56\151\x64\137\163\151\x73\167\141", "\154\145\x66\x74"); goto BUdxb; Zgd2O: $this->db->join("\162\141\x70\x6f\x72\137\143\141\164\x61\164\141\x6e\137\167\x61\x6c\x69\40\x6d", "\141\x2e\151\144\137\x73\x69\163\x77\141\x3d\x6d\x2e\x69\x64\137\163\151\x73\167\141\x20\x41\x4e\x44\40\141\x2e\x69\x64\137\x74\x70\75\x6d\56\x69\x64\x5f\x74\x70\40\x41\116\104\40\x61\56\151\x64\137\x73\x6d\164\x3d\x6d\56\151\x64\137\163\x6d\164", "\154\x65\146\x74"); goto lmGuw; GdxaS: $this->db->join("\162\141\x70\157\x72\137\156\151\154\141\151\137\141\x6b\x68\151\162\40\x62", "\x62\56\x69\x64\137\156\151\x6c\x61\151\137\x61\x6b\x68\151\x72\75\141\x2e\x69\144\137\x6e\151\154\141\151\137\150\x61\x72\x69\x61\x6e", "\154\145\x66\x74"); goto BC3vn; P_7ju: $this->db->from("\162\141\x70\x6f\x72\137\156\x69\154\x61\151\137\150\141\162\x69\141\x6e\x20\x61"); goto GdxaS; vmaQA: } public function getAllEkstra() { goto id4ZY; BV6y4: return $ret; goto IE57L; h27WI: Q9f9M: goto Nt34h; ZKoit: $ret = []; goto s03wz; ANNcX: foreach ($result as $key => $row) { $ret[$row->id_tp][$row->id_smt][$row->id_kelas] = unserialize($row->ekstra ?? ''); zF8bF: } goto h27WI; s03wz: if (!$result) { goto q5HzF; } goto ANNcX; id4ZY: $this->db->select("\x2a"); goto pVyqJ; Nt34h: q5HzF: goto BV6y4; TxDMN: $result = $this->db->get()->result(); goto ZKoit; pVyqJ: $this->db->from("\153\x65\154\141\163\137\145\153\x73\x74\x72\141"); goto TxDMN; IE57L: } public function getAllNilaiEkstra($ids_siswa = null) { goto VJzJg; y9_SS: $result = $this->db->get()->result(); goto d6Ig_; d6Ig_: $ret = []; goto JshOg; VJzJg: $this->db->select("\x61\x2e\52\54\40\x62\x2e\x6e\141\x6d\141\137\145\153\163\x74\162\141\x2c\x20\x62\x2e\x6b\157\x64\145\x5f\x65\153\x73\x74\162\x61"); goto BarhJ; MR7BT: $this->db->where_in("\141\x2e\x69\144\137\x73\x69\x73\x77\141", $ids_siswa); goto MNiDJ; xta7r: return $ret; goto W5veq; LceNj: $this->db->join("\155\141\x73\x74\x65\x72\x5f\145\153\x73\x74\x72\141\40\142", "\x61\x2e\x69\x64\137\145\x6b\x73\164\162\141\x3d\142\56\151\144\x5f\145\153\163\164\162\x61", "\x6c\145\x66\x74"); goto ReNJP; BarhJ: $this->db->from("\x72\x61\160\x6f\162\137\156\x69\154\x61\151\x5f\x65\x6b\163\x74\x72\141\x20\141"); goto LceNj; MNiDJ: ATc3s: goto y9_SS; ReNJP: if (!($ids_siswa != null)) { goto ATc3s; } goto MR7BT; QOzpg: AMtW3: goto xta7r; JshOg: foreach ($result as $res) { $ret[$res->id_tp][$res->id_smt][$res->id_siswa][] = $res; jcR6C: } goto QOzpg; W5veq: } public function getAllNilaiSikap($ids_siswa = null) { goto TPEj2; Si2Ka: $this->db->from("\162\x61\160\x6f\162\137\x6e\151\x6c\x61\151\x5f\163\151\x6b\x61\x70"); goto mwgnl; sY0nV: XLfsf: goto c2QJ5; mwgnl: if (!($ids_siswa != null)) { goto E6E7y; } goto W_7ui; c2QJ5: return $ret; goto A_d7X; Iwhsw: foreach ($result as $res) { $ret[$res->id_tp][$res->id_smt][$res->id_siswa][$res->jenis] = $res; EfQfx: } goto sY0nV; G4SNA: $ret = []; goto Iwhsw; m7jtm: E6E7y: goto xcGTJ; xcGTJ: $result = $this->db->get()->result(); goto G4SNA; W_7ui: $this->db->where_in("\151\x64\x5f\163\x69\163\x77\141", $ids_siswa); goto m7jtm; TPEj2: $this->db->select("\x2a"); goto Si2Ka; A_d7X: } public function getAllFisik($ids_siswa = null) { goto VJ71O; olBrP: yUr8H: goto Wz5Fv; SJnAl: foreach ($result as $res) { $ret[$res->id_siswa][$res->id_tp][$res->id_smt] = $res; gEI0_: } goto yZr0i; b0TqY: $this->db->where_in("\151\x64\137\x73\x69\x73\x77\141", $ids_siswa); goto olBrP; yZr0i: h952E: goto um2wo; um2wo: return $ret; goto n8Crk; Wz5Fv: $result = $this->db->get()->result(); goto LpQGh; K6zXz: $this->db->from("\x72\141\x70\x6f\x72\x5f\146\151\163\151\x6b"); goto sgi_k; VJ71O: $this->db->select("\151\144\137\x74\x70\x2c\40\x69\144\137\163\x6d\x74\54\40\151\144\x5f\163\151\163\167\141\54\x20\x6b\157\156\144\x69\x73\x69\x2c\x20\x74\x69\x6e\x67\147\151\54\40\x62\145\x72\x61\164"); goto K6zXz; LpQGh: $ret = []; goto SJnAl; sgi_k: if (!($ids_siswa != null)) { goto yUr8H; } goto b0TqY; n8Crk: } function exists($uid, $tp, $smt, $kelas) { goto I_Mt8; NQMRc: $query = $this->db->get("\x62\x75\x6b\x75\x5f\x6e\x69\154\141\151"); goto jlcxf; tMv6_: return true; goto canAX; FJFEs: return false; goto Wdj0Q; I_Mt8: $this->db->where("\165\151\x64", $uid)->where("\x74\x70", $tp)->where("\163\x6d\x74", $smt)->where("\x6b\145\x6c\x61\163", $kelas); goto NQMRc; canAX: bKJnu: goto Wfudk; M8ASk: A_aLQ: goto tMv6_; jlcxf: if ($query->num_rows() > 0) { goto A_aLQ; } goto FJFEs; Wdj0Q: goto bKJnu; goto M8ASk; Wfudk: } }
Function Calls
None |
Stats
MD5 | 59d3b1ab5047005976030547d44b3b6e |
Eval Count | 0 |
Decode Time | 76 ms |