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 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 IzU7E; 
        oZqXe: 
        $this->db->where("a.id_smt", $id_smt); 
        goto Zhqi2; 
        DwuGO: 
        $this->db->where("a.id_kelas", $id_kelas); 
        goto qrfcb; 
        Awapv: 
        $this->db->join("master_kelas c", "a.id_kelas=c.id_kelas"); 
        goto DwuGO; 
        LEWcU: 
        return $this->db->get()->result(); 
        goto OWp3u; 
        xe3do: 
        $this->db->from("kelas_siswa a"); 
        goto EkwCU; 
        a3cIA: 
        $this->db->select("a.*, b.*, c.*"); 
        goto xe3do; 
        IzU7E: 
        $this->db->query("SET SQL_BIG_SELECTS=1"); 
        goto a3cIA; 
        EkwCU: 
        $this->db->join("master_siswa b", "a.id_siswa=b.id_siswa"); 
        goto Awapv; 
        qrfcb: 
        $this->db->where("a.id_tp", $id_tp); 
        goto oZqXe; 
        Zhqi2: 
        $this->db->order_by("b.nama", "ASC"); 
        goto LEWcU; 
        OWp3u: 
    } 
    public function getDetailSiswaById($id_siswa, $id_tp, $id_smt) 
    { 
        goto ej9MS; 
        CJb6x: 
        $this->db->order_by("a.nama", "ASC"); 
        goto WyQcy; 
        ej9MS: 
        $this->db->query("SET SQL_BIG_SELECTS=1"); 
        goto Jt69n; 
        eDw0a: 
        $this->db->where("a.id_siswa", $id_siswa); 
        goto AtVk6; 
        Jt69n: 
        $this->db->select("a.nama, a.nis, a.nisn, c.nama_kelas"); 
        goto GfTIj; 
        N4nxH: 
        $this->db->join("master_kelas c", "b.id_kelas=c.id_kelas"); 
        goto eDw0a; 
        WyQcy: 
        return $this->db->get()->row(); 
        goto ZAR9W; 
        X8n67: 
        $this->db->where("b.id_smt", $id_smt); 
        goto CJb6x; 
        NTX55: 
        $this->db->join("kelas_siswa b", "a.id_siswa=b.id_siswa"); 
        goto N4nxH; 
        AtVk6: 
        $this->db->where("b.id_tp", $id_tp); 
        goto X8n67; 
        GfTIj: 
        $this->db->from("master_siswa a"); 
        goto NTX55; 
        ZAR9W: 
    } 
    public function cekNilaiHarianKelas($id_mapel, $id_kelas, $id_tp, $id_smt) 
    { 
        goto tzeu4; 
        aYD_6: 
        $this->db->where("id_mapel", $id_mapel); 
        goto ftR84; 
        evRs6: 
        $this->db->where("p_rata_rata !=", "NULL"); 
        goto W7qOe; 
        W7qOe: 
        return $this->db->get()->num_rows(); 
        goto rQZ3k; 
        FKcxH: 
        $this->db->from("rapor_nilai_harian"); 
        goto aYD_6; 
        q3JEO: 
        $this->db->where("id_tp", $id_tp); 
        goto zEf6R; 
        zEf6R: 
        $this->db->where("id_smt", $id_smt); 
        goto evRs6; 
        tzeu4: 
        $this->db->select("p_rata_rata"); 
        goto FKcxH; 
        ftR84: 
        $this->db->where("id_kelas", $id_kelas); 
        goto q3JEO; 
        rQZ3k: 
    } 
    public function getNilaiHarianKelas($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt) 
    { 
        goto UQ2hH; 
        gmpgs: 
        $this->db->from("rapor_nilai_harian"); 
        goto xUt1r; 
        UQ2hH: 
        $this->db->select("*"); 
        goto gmpgs; 
        bK38u: 
        return $this->db->get()->row(); 
        goto Kn4mt; 
        xUt1r: 
        $this->db->where("id_nilai_harian", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt); 
        goto bK38u; 
        Kn4mt: 
    } 
    public function getAllNilaiHarianKelas($id_kelas) 
    { 
        goto aXX31; 
        m39pR: 
        $this->db->where("id_kelas", $id_kelas); 
        goto rU6mP; 
        lgKhL: 
        $this->db->from("rapor_nilai_harian"); 
        goto m39pR; 
        rU6mP: 
        return $this->db->get()->result(); 
        goto cB2cm; 
        aXX31: 
        $this->db->select("*"); 
        goto lgKhL; 
        cB2cm: 
    } 
    public function cekNilaiPtsKelas($id_mapel, $id_kelas, $id_tp, $id_smt) 
    { 
        goto xB1xA; 
        dOm0p: 
        $this->db->where("id_smt", $id_smt); 
        goto IRvEB; 
        IRvEB: 
        $this->db->where("predikat !=", "NULL"); 
        goto UJTYS; 
        x3xtz: 
        $this->db->where("id_tp", $id_tp); 
        goto dOm0p; 
        xB1xA: 
        $this->db->select("predikat"); 
        goto cH57A; 
        cH57A: 
        $this->db->from("rapor_nilai_pts"); 
        goto J0A_z; 
        UJTYS: 
        return $this->db->get()->num_rows(); 
        goto wXndn; 
        D6qAx: 
        $this->db->where("id_kelas", $id_kelas); 
        goto x3xtz; 
        J0A_z: 
        $this->db->where("id_mapel", $id_mapel); 
        goto D6qAx; 
        wXndn: 
    } 
    public function getIdNilaiPts($arr_id) 
    { 
        goto nsKEU; 
        uPJg2: 
        return $ret; 
        goto sARjD; 
        eYR29: 
        $this->db->from("rapor_nilai_pts"); 
        goto xYb8I; 
        xYb8I: 
        $this->db->where_in("id_nilai_pts", $arr_id); 
        goto xpysC; 
        nsKEU: 
        $this->db->select("id_nilai_pts"); 
        goto eYR29; 
        OxeJ3: 
        nKbV2: 
        goto EOGRw; 
        EOGRw: 
        deicP: 
        goto uPJg2; 
        JHA7X: 
        $ret = []; 
        goto gbnZ9; 
        m2x4P: 
        foreach ($result as $key => $row) { 
            $ret[$row->id_nilai_pts] = $row; 
            DhMik: 
        } 
        goto OxeJ3; 
        xpysC: 
        $result = $this->db->get()->result(); 
        goto JHA7X; 
        gbnZ9: 
        if (!$result) { 
            goto deicP; 
        } 
        goto m2x4P; 
        sARjD: 
    } 
    public function getNilaiPtsKelas($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt) 
    { 
        goto k7iYG; 
        sGvJS: 
        $this->db->from("rapor_nilai_pts"); 
        goto X18p8; 
        X18p8: 
        $this->db->where("id_nilai_pts", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt); 
        goto FlszU; 
        k7iYG: 
        $this->db->select("*"); 
        goto sGvJS; 
        FlszU: 
        return $this->db->get()->row(); 
        goto fHDeF; 
        fHDeF: 
    } 
    public function getAllNilaiPtsKelas($id_kelas) 
    { 
        goto Lq29v; 
        Lq29v: 
        $this->db->select("*"); 
        goto U86x6; 
        aFuod: 
        return $this->db->get()->result(); 
        goto rgl3O; 
        U86x6: 
        $this->db->from("rapor_nilai_pts"); 
        goto apkDA; 
        apkDA: 
        $this->db->where("id_kelas", $id_kelas); 
        goto aFuod; 
        rgl3O: 
    } 
    public function getEkstraKelas($id_mapel, $id_siswa, $id_tp, $id_smt) 
    { 
        goto bvTeW; 
        Oc8tW: 
        $this->db->where("id_tp", $id_tp); 
        goto bS2uo; 
        zW9Y1: 
        $this->db->where("id_ekstra", $id_mapel); 
        goto srn5J; 
        jYrjq: 
        $this->db->from("rapor_nilai_ekstra"); 
        goto zW9Y1; 
        bvTeW: 
        $this->db->select("nilai, predikat, deskripsi"); 
        goto jYrjq; 
        srn5J: 
        $this->db->where("id_siswa", $id_siswa); 
        goto Oc8tW; 
        qegCc: 
        return $this->db->get()->row(); 
        goto jmvlr; 
        bS2uo: 
        $this->db->where("id_smt", $id_smt); 
        goto qegCc; 
        jmvlr: 
    } 
    public function cekNilaiEkstraKelas($id_mapel, $id_kelas, $id_tp, $id_smt) 
    { 
        goto BAbqx; 
        DWV_z: 
        $this->db->where("id_kelas", $id_kelas); 
        goto Lnq6G; 
        BAbqx: 
        $this->db->select("id_nilai_ekstra"); 
        goto KAdKP; 
        yHMcT: 
        $this->db->where("id_ekstra", $id_mapel); 
        goto DWV_z; 
        Lnq6G: 
        $this->db->where("id_tp", $id_tp); 
        goto oqlI9; 
        KAdKP: 
        $this->db->from("rapor_nilai_ekstra"); 
        goto yHMcT; 
        LR8wA: 
        return $this->db->get()->num_rows(); 
        goto oMhPg; 
        oqlI9: 
        $this->db->where("id_smt", $id_smt); 
        goto LR8wA; 
        oMhPg: 
    } 
    public function getNilaiEkstraKelas($id_ekstra, $id_kelas, $id_siswa, $id_tp, $id_smt) 
    { 
        goto RJ7bX; 
        RJ7bX: 
        $this->db->select("*"); 
        goto K4SKE; 
        K4SKE: 
        $this->db->from("rapor_nilai_ekstra"); 
        goto nbVbx; 
        KlmHB: 
        return $this->db->get()->row(); 
        goto NbT3B; 
        nbVbx: 
        $this->db->where("id_nilai_ekstra", $id_ekstra . $id_kelas . $id_siswa . $id_tp . $id_smt); 
        goto KlmHB; 
        NbT3B: 
    } 
    public function getAllNilaiEkstraKelas($id_kelas) 
    { 
        goto EIfbo; 
        EIfbo: 
        $this->db->select("*"); 
        goto exYPC; 
        OmYWU: 
        return $this->db->get()->result(); 
        goto fYeP5; 
        exYPC: 
        $this->db->from("rapor_nilai_ekstra"); 
        goto ITKam; 
        ITKam: 
        $this->db->where("id_kelas", $id_kelas); 
        goto OmYWU; 
        fYeP5: 
    } 
    public function cekNilaiAkhirKelas($id_mapel, $id_kelas, $id_tp, $id_smt) 
    { 
        goto hoRE4; 
        CMQMn: 
        $this->db->where("id_tp", $id_tp); 
        goto DQ6RJ; 
        hoRE4: 
        $this->db->select("id_nilai_akhir"); 
        goto Pnj2s; 
        vNyfl: 
        $this->db->where("id_kelas", $id_kelas); 
        goto CMQMn; 
        pcG63: 
        $this->db->where("id_mapel", $id_mapel); 
        goto vNyfl; 
        Htt05: 
        return $this->db->get()->num_rows(); 
        goto xu4U0; 
        Pnj2s: 
        $this->db->from("rapor_nilai_akhir"); 
        goto pcG63; 
        DQ6RJ: 
        $this->db->where("id_smt", $id_smt); 
        goto Htt05; 
        xu4U0: 
    } 
    public function getNilaiAkhirKelas($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt) 
    { 
        goto oNdYK; 
        JJXY0: 
        $this->db->join("rapor_nilai_pts b", "b.id_nilai_pts=a.id_nilai_harian", "left"); 
        goto c5UyR; 
        NZOYt: 
        $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 HEJij; 
        HEJij: 
        $this->db->from("rapor_nilai_harian a"); 
        goto JJXY0; 
        oNdYK: 
        $this->db->query("SET SQL_BIG_SELECTS=1"); 
        goto NZOYt; 
        c5UyR: 
        $this->db->join("rapor_nilai_akhir c", "c.id_nilai_akhir=a.id_nilai_harian", "left"); 
        goto gnoH0; 
        aQ1mO: 
        return $this->db->get()->row(); 
        goto ihR_Q; 
        gnoH0: 
        $this->db->where("id_nilai_harian", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt); 
        goto aQ1mO; 
        ihR_Q: 
    } 
    public function getAllNilaiAkhirKelas($id_kelas) 
    { 
        goto Oehla; 
        c4BgV: 
        return $this->db->get()->result(); 
        goto TxI_m; 
        Oehla: 
        $this->db->select("*"); 
        goto uhrBh; 
        QKA0J: 
        $this->db->where("id_kelas", $id_kelas); 
        goto c4BgV; 
        uhrBh: 
        $this->db->from("rapor_nilai_akhir"); 
        goto QKA0J; 
        TxI_m: 
    } 
    public function getNilaiAkhirByMapel($id_mapel, $id_kelas, $id_tp, $id_smt) 
    { 
        goto CQD1y; 
        h1iXU: 
        return $this->db->get()->result(); 
        goto YQN3c; 
        cTFo1: 
        $this->db->where("a.id_mapel", $id_mapel); 
        goto Oe2cm; 
        CQD1y: 
        $this->db->query("SET SQL_BIG_SELECTS=1"); 
        goto iT0y4; 
        sHDhi: 
        $this->db->from("rapor_nilai_harian a"); 
        goto jtjSU; 
        Oe2cm: 
        $this->db->where("a.id_kelas", $id_kelas); 
        goto smTh5; 
        VlSiG: 
        $this->db->where("a.id_smt", $id_smt); 
        goto h1iXU; 
        iT0y4: 
        $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 sHDhi; 
        jtjSU: 
        $this->db->join("rapor_nilai_pts b", "b.id_nilai_pts=a.id_nilai_harian", "left"); 
        goto pmG_4; 
        pmG_4: 
        $this->db->join("rapor_nilai_akhir c", "c.id_nilai_akhir=a.id_nilai_harian", "left"); 
        goto cTFo1; 
        smTh5: 
        $this->db->where("a.id_tp", $id_tp); 
        goto VlSiG; 
        YQN3c: 
    } 
    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 Kdgt8; 
        Kdgt8: 
        $this->db->select("*"); 
        goto hBz_g; 
        P4ULt: 
        $this->db->where("id_smt", $id_smt); 
        goto Y_pCG; 
        Y_pCG: 
        return $this->db->get()->result(); 
        goto q86qO; 
        TC4f5: 
        $this->db->where("id_tp", $id_tp); 
        goto P4ULt; 
        IYxss: 
        $this->db->where("jenis", $jenis); 
        goto TC4f5; 
        ngkyt: 
        $this->db->where("id_kelas", $kelas); 
        goto IYxss; 
        hBz_g: 
        $this->db->from("rapor_data_sikap"); 
        goto ngkyt; 
        q86qO: 
    } 
    public function getNilaiSikapKelas($id_kelas, $id_siswa, $id_tp, $id_smt, $jenis) 
    { 
        goto huK9d; 
        yv8S6: 
        $this->db->from("rapor_nilai_sikap"); 
        goto BC3pY; 
        huK9d: 
        $this->db->select("*"); 
        goto yv8S6; 
        ncGuH: 
        return $this->db->get()->row(); 
        goto Ijx3l; 
        BC3pY: 
        $this->db->where("id_nilai_sikap", $id_kelas . $id_siswa . $id_tp . $id_smt . $jenis); 
        goto ncGuH; 
        Ijx3l: 
    } 
    public function getAllNilaiSikapKelas($id_kelas) 
    { 
        goto Of8EC; 
        Of8EC: 
        $this->db->select("*"); 
        goto xoOev; 
        FXM10: 
        return $this->db->get()->result(); 
        goto rx1pY; 
        URC3q: 
        $this->db->where("id_kelas", $id_kelas); 
        goto FXM10; 
        xoOev: 
        $this->db->from("rapor_nilai_sikap"); 
        goto URC3q; 
        rx1pY: 
    } 
    public function getNilaiSikapByJenis($id_kelas, $jenis, $id_tp, $id_smt) 
    { 
        goto knpG6; 
        hogND: 
        $this->db->where("jenis", $jenis); 
        goto mk3Dy; 
        b3Qsj: 
        return $this->db->get()->result(); 
        goto LX4Kd; 
        knpG6: 
        $this->db->select("*"); 
        goto bRXab; 
        mk3Dy: 
        $this->db->where("id_tp", $id_tp); 
        goto KyBmJ; 
        KyBmJ: 
        $this->db->where("id_smt", $id_smt); 
        goto b3Qsj; 
        p119n: 
        $this->db->where("id_kelas", $id_kelas); 
        goto hogND; 
        bRXab: 
        $this->db->from("rapor_nilai_sikap"); 
        goto p119n; 
        LX4Kd: 
    } 
    public function getNilaiSikapByKelas($id_kelas, $id_tp, $id_smt) 
    { 
        goto bsEna; 
        gB0Dx: 
        $this->db->where("id_tp", $id_tp); 
        goto ASNmp; 
        bsEna: 
        $this->db->select("*"); 
        goto RE0HO; 
        ASNmp: 
        $this->db->where("id_smt", $id_smt); 
        goto pBXvr; 
        UKMEH: 
        $this->db->where("id_kelas", $id_kelas); 
        goto gB0Dx; 
        pBXvr: 
        return $this->db->get()->result(); 
        goto iuxoE; 
        RE0HO: 
        $this->db->from("rapor_nilai_sikap"); 
        goto UKMEH; 
        iuxoE: 
    } 
    public function getNilaiSikapBySiswa($id_siswa, $id_tp, $id_smt) 
    { 
        goto fAMgb; 
        fAMgb: 
        $this->db->select("*"); 
        goto TxkUE; 
        QQ4uX: 
        $this->db->where("id_smt", $id_smt); 
        goto iW2I2; 
        b0JJP: 
        $this->db->where("id_tp", $id_tp); 
        goto QQ4uX; 
        iW2I2: 
        return $this->db->get()->result(); 
        goto QWphz; 
        tKEsr: 
        $this->db->where("id_siswa", $id_siswa); 
        goto b0JJP; 
        TxkUE: 
        $this->db->from("rapor_nilai_sikap"); 
        goto tKEsr; 
        QWphz: 
    } 
    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 TYro6; 
        ZRqNt: 
        $this->db->where("id_catatan_wali", $id_kelas . $id_siswa . $id_tp . $id_smt); 
        goto EPI3q; 
        TYro6: 
        $this->db->select("*"); 
        goto TuZEJ; 
        EPI3q: 
        return $this->db->get()->row(); 
        goto U3NQ8; 
        TuZEJ: 
        $this->db->from("rapor_catatan_wali"); 
        goto ZRqNt; 
        U3NQ8: 
    } 
    public function getAllCatatanKelas($id_kelas) 
    { 
        goto Ua5JX; 
        GnHmY: 
        $this->db->from("rapor_catatan_wali"); 
        goto z63zC; 
        yv12y: 
        return $this->db->get()->result(); 
        goto em2Di; 
        Ua5JX: 
        $this->db->select("*"); 
        goto GnHmY; 
        z63zC: 
        $this->db->where("id_kelas", $id_kelas); 
        goto yv12y; 
        em2Di: 
    } 
    public function getRankingKelas($id_kelas, $id_siswa, $id_tp, $id_smt) 
    { 
        goto s91Dh; 
        veCx4: 
        return $this->db->get()->row(); 
        goto KXams; 
        tiNJc: 
        $this->db->from("rapor_prestasi"); 
        goto L6PEt; 
        L6PEt: 
        $this->db->where("id_ranking", $id_kelas . $id_siswa . $id_tp . $id_smt); 
        goto veCx4; 
        s91Dh: 
        $this->db->select("*"); 
        goto tiNJc; 
        KXams: 
    } 
    public function getAllRankingKelas($id_kelas) 
    { 
        goto ioohs; 
        H2zmg: 
        return $this->db->get()->result(); 
        goto tRJFk; 
        d0HEB: 
        $this->db->from("rapor_prestasi"); 
        goto iC_ny; 
        ioohs: 
        $this->db->select("*"); 
        goto d0HEB; 
        iC_ny: 
        $this->db->where("id_kelas", $id_kelas); 
        goto H2zmg; 
        tRJFk: 
    } 
    public function getAllDeskripsiFisikKelas() 
    { 
        goto doaKP; 
        UgMv1: 
        iw69g: 
        goto sheUr; 
        WKwHz: 
        foreach ($result as $key => $row) { 
            $ret[$row->id_kelas][$row->id_tp][$row->id_smt] = $row; 
            JUNGM: 
        } 
        goto UgMv1; 
        doaKP: 
        $result = $this->db->get("rapor_data_fisik")->result(); 
        goto oG9EO; 
        sheUr: 
        IzYUh: 
        goto tw_vW; 
        oG9EO: 
        $ret = []; 
        goto XN8P8; 
        tw_vW: 
        return $ret; 
        goto tekRr; 
        XN8P8: 
        if (!$result) { 
            goto IzYUh; 
        } 
        goto WKwHz; 
        tekRr: 
    } 
    public function getAllRaporFisik() 
    { 
        goto utQL8; 
        utQL8: 
        $result = $this->db->get("rapor_fisik")->result(); 
        goto WSkxw; 
        koUeD: 
        Unp6J: 
        goto irPNL; 
        WSkxw: 
        $ret = []; 
        goto sv0cL; 
        irPNL: 
        kVaMA: 
        goto Saq42; 
        sv0cL: 
        if (!$result) { 
            goto kVaMA; 
        } 
        goto Bsu2R; 
        Saq42: 
        return $ret; 
        goto xidhP; 
        Bsu2R: 
        foreach ($result as $key => $row) { 
            $ret[$row->id_siswa][$row->id_tp][$row->id_smt] = $row; 
            prs4d: 
        } 
        goto koUeD; 
        xidhP: 
    } 
    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 V8gsp; 
        LzqvM: 
        $this->db->from("rapor_fisik"); 
        goto qNiBA; 
        V8gsp: 
        $this->db->select("*"); 
        goto LzqvM; 
        qNiBA: 
        $this->db->where("id_fisik", $id_kelas . $id_siswa . $id_tp . $id_smt); 
        goto rgTqE; 
        rgTqE: 
        return $this->db->get()->row(); 
        goto Ma1UH; 
        Ma1UH: 
    } 
    public function getAllFisikKelas($id_kelas) 
    { 
        goto Ih2Lj; 
        Ih2Lj: 
        $this->db->select("*"); 
        goto rSFVU; 
        rSFVU: 
        $this->db->from("rapor_fisik"); 
        goto D9zTd; 
        zjatg: 
        return $this->db->get()->result(); 
        goto r0LF2; 
        D9zTd: 
        $this->db->where("id_kelas", $id_kelas); 
        goto zjatg; 
        r0LF2: 
    } 
    public function getJmlNilaiMapelHarianSiswa($id_mapel, $id_siswa, $id_tp, $id_smt) 
    { 
        goto pHf3C; 
        f5kAi: 
        $this->db->where("id_tp", $id_tp); 
        goto UFF1E; 
        UFF1E: 
        $this->db->where("id_smt", $id_smt); 
        goto XjF3V; 
        pHf3C: 
        $this->db->select("p_rata_rata, k_rata_rata, jml"); 
        goto kppPd; 
        XjF3V: 
        return $this->db->get()->row(); 
        goto r9WBA; 
        i9t7s: 
        $this->db->where("id_mapel", $id_mapel); 
        goto Memwz; 
        kppPd: 
        $this->db->from("rapor_nilai_harian"); 
        goto i9t7s; 
        Memwz: 
        $this->db->where("id_siswa", $id_siswa); 
        goto f5kAi; 
        r9WBA: 
    } 
    public function getNilaiMapelHarianSiswa($id_mapel, $id_siswa, $id_tp, $id_smt) 
    { 
        goto UePyI; 
        Ae2yr: 
        $this->db->where("id_siswa", $id_siswa); 
        goto JxeVc; 
        T8p3n: 
        return $this->db->get()->row(); 
        goto j7EC0; 
        wmuwq: 
        $this->db->from("rapor_nilai_harian"); 
        goto n4KI4; 
        n4KI4: 
        $this->db->where("id_mapel", $id_mapel); 
        goto Ae2yr; 
        JxeVc: 
        $this->db->where("id_tp", $id_tp); 
        goto bt_6W; 
        bt_6W: 
        $this->db->where("id_smt", $id_smt); 
        goto T8p3n; 
        UePyI: 
        $this->db->select("p1,p2,p3,p4,p5,k1,k2,k3,k4,k5"); 
        goto wmuwq; 
        j7EC0: 
    } 
    public function getNilaiMapelPtsSiswa($id_mapel, $id_siswa, $id_tp, $id_smt) 
    { 
        goto jauYC; 
        mVPfT: 
        $this->db->where("id_smt", $id_smt); 
        goto NTnV_; 
        NTnV_: 
        return $this->db->get()->row(); 
        goto oi_FD; 
        z2HX0: 
        $this->db->from("rapor_nilai_pts"); 
        goto W2QeR; 
        jauYC: 
        $this->db->select("nilai"); 
        goto z2HX0; 
        MApPm: 
        $this->db->where("id_siswa", $id_siswa); 
        goto KFepf; 
        W2QeR: 
        $this->db->where("id_mapel", $id_mapel); 
        goto MApPm; 
        KFepf: 
        $this->db->where("id_tp", $id_tp); 
        goto mVPfT; 
        oi_FD: 
    } 
    public function getNilaiMapelPasSiswa($id_mapel, $id_siswa, $id_tp, $id_smt) 
    { 
        goto ifLsY; 
        A4POm: 
        $this->db->where("id_smt", $id_smt); 
        goto lWIw8; 
        pfWvY: 
        $this->db->from("rapor_nilai_akhir"); 
        goto UesT0; 
        ifLsY: 
        $this->db->select("nilai,akhir"); 
        goto pfWvY; 
        gGgyK: 
        $this->db->where("id_siswa", $id_siswa); 
        goto scx1P; 
        lWIw8: 
        return $this->db->get()->row(); 
        goto qV5s3; 
        scx1P: 
        $this->db->where("id_tp", $id_tp); 
        goto A4POm; 
        UesT0: 
        $this->db->where("id_mapel", $id_mapel); 
        goto gGgyK; 
        qV5s3: 
    } 
    public function getNilaiRapor($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt) 
    { 
        goto c6IVi; 
        Hc77z: 
        return $this->db->get()->row_array(); 
        goto d9HD7; 
        Z6sTO: 
        $this->db->join("rapor_nilai_akhir b", "b.id_nilai_akhir=a.id_nilai_harian", "left"); 
        goto hmEwJ; 
        hmEwJ: 
        $this->db->where("a.id_nilai_harian", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt); 
        goto Hc77z; 
        c6IVi: 
        $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 fMhsm; 
        fMhsm: 
        $this->db->from("rapor_nilai_harian a"); 
        goto Z6sTO; 
        d9HD7: 
    } 
    public function getNilaiMapelByKelas($id_mapel, $id_kelas, $id_tp, $id_smt) 
    { 
        goto wsTme; 
        paGgX: 
        $this->db->where("a.id_smt", $id_smt); 
        goto FH4Dx; 
        wsTme: 
        $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 SDWzH; 
        FH4Dx: 
        return $this->db->get()->result(); 
        goto eD26A; 
        d4XV1: 
        $this->db->join("rapor_nilai_akhir b", "b.id_nilai_akhir=a.id_nilai_harian", "left"); 
        goto Spf0w; 
        gf5rt: 
        $this->db->where("a.id_kelas", $id_kelas); 
        goto oDGhU; 
        oDGhU: 
        $this->db->where("a.id_tp", $id_tp); 
        goto paGgX; 
        Spf0w: 
        $this->db->where("a.id_mapel", $id_mapel); 
        goto gf5rt; 
        SDWzH: 
        $this->db->from("rapor_nilai_harian a"); 
        goto d4XV1; 
        eD26A: 
    } 
    public function getNilaiRaporByKelas($id_kelas, $id_tp, $id_smt) 
    { 
        goto u2bls; 
        u2bls: 
        $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 D6tcL; 
        ZwvBR: 
        $this->db->where("a.id_tp", $id_tp); 
        goto KQvKh; 
        ozYpI: 
        return $this->db->get()->result(); 
        goto c5F2I; 
        WRPQU: 
        $this->db->where("a.id_kelas", $id_kelas); 
        goto ZwvBR; 
        iZ9lB: 
        $this->db->join("rapor_nilai_akhir b", "b.id_nilai_akhir=a.id_nilai_harian", "left"); 
        goto WRPQU; 
        D6tcL: 
        $this->db->from("rapor_nilai_harian a"); 
        goto iZ9lB; 
        KQvKh: 
        $this->db->where("a.id_smt", $id_smt); 
        goto ozYpI; 
        c5F2I: 
    } 
    public function getPrestasiByKelas($id_kelas, $id_tp, $id_smt) 
    { 
        goto vgio_; 
        vgio_: 
        $this->db->select("id_siswa, ranking, deskripsi as rank_deskripsi, p1, p1_desk, p2, p2_desk, p3, p3_desk"); 
        goto ScX_m; 
        HC3Q_: 
        $this->db->where("id_kelas", $id_kelas); 
        goto EnoqJ; 
        miTW6: 
        $rest = []; 
        goto fW1Kh; 
        FkyrD: 
        $this->db->where("id_smt", $id_smt); 
        goto try5u; 
        EnoqJ: 
        $this->db->where("id_tp", $id_tp); 
        goto FkyrD; 
        ScX_m: 
        $this->db->from("rapor_prestasi"); 
        goto HC3Q_; 
        TZ1ns: 
        return $rest; 
        goto nJg1A; 
        fW1Kh: 
        foreach ($ranks as $rank) { 
            $rest[$rank->id_siswa] = $rank; 
            AGpG3: 
        } 
        goto fB_Zu; 
        try5u: 
        $ranks = $this->db->get()->result(); 
        goto miTW6; 
        fB_Zu: 
        dkbR0: 
        goto TZ1ns; 
        nJg1A: 
    } 
    public function getCatatanWaliByKelas($id_kelas, $id_tp, $id_smt) 
    { 
        goto n2vNf; 
        ZUpdc: 
        return $rest; 
        goto nv9jg; 
        PH1H2: 
        foreach ($desks as $desk) { 
            $rest[$desk->id_siswa] = $desk; 
            CMvRh: 
        } 
        goto lWrEz; 
        c_OH1: 
        $rest = []; 
        goto PH1H2; 
        lIgwa: 
        $this->db->where("id_tp", $id_tp); 
        goto MMbzR; 
        iTO6G: 
        $desks = $this->db->get()->result(); 
        goto c_OH1; 
        MMbzR: 
        $this->db->where("id_smt", $id_smt); 
        goto iTO6G; 
        Bjx6m: 
        $this->db->where("id_kelas", $id_kelas); 
        goto lIgwa; 
        cpZm_: 
        $this->db->from("rapor_catatan_wali"); 
        goto Bjx6m; 
        n2vNf: 
        $this->db->select("id_siswa, nilai, deskripsi as saran"); 
        goto cpZm_; 
        lWrEz: 
        u_Ssy: 
        goto ZUpdc; 
        nv9jg: 
    } 
    public function getRaporDeskripsi($id_kelas, $id_siswa, $id_tp, $id_smt) 
    { 
        goto YA1np; 
        BDrmK: 
        return $this->db->get()->row(); 
        goto KOEOa; 
        YA1np: 
        $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 aai7C; 
        QGJ0m: 
        $this->db->join("rapor_catatan_wali c", "c.id_catatan_wali=b.id_ranking", "left"); 
        goto YA0Bs; 
        YA0Bs: 
        $this->db->where("b.id_ranking", $id_kelas . $id_siswa . $id_tp . $id_smt); 
        goto BDrmK; 
        aai7C: 
        $this->db->from("rapor_prestasi b"); 
        goto QGJ0m; 
        KOEOa: 
    } 
    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 ADoYs; 
        kc4NS: 
        return ["Baik", "Sering berair", "Kurang jelas jika melihat jarak jauh", '']; 
        goto voGVj; 
        diy0c: 
        if ($jenis == "3") { 
            goto BSa1x; 
        } 
        goto w2uDm; 
        pdRps: 
        qbW4N: 
        goto dLkOC; 
        WuwoH: 
        goto G_kfi; 
        goto tK_Am; 
        tK_Am: 
        UIcSO: 
        goto kc4NS; 
        zmor9: 
        G_kfi: 
        goto jzmBb; 
        voGVj: 
        goto G_kfi; 
        goto ZC28L; 
        Jq0EO: 
        if ($jenis == "2") { 
            goto UIcSO; 
        } 
        goto diy0c; 
        dLkOC: 
        return ["Baik", "Kurang peka", "Telinga perlu dibersihkan", '']; 
        goto WuwoH; 
        nvMgi: 
        goto G_kfi; 
        goto pdRps; 
        ADoYs: 
        if ($jenis == "1") { 
            goto qbW4N; 
        } 
        goto Jq0EO; 
        NNepo: 
        return ["Baik, nampak putih dan bersih", "Terdapat gigi yang gigis", "Kebersihan gigi kurang terjaga", "Ada gigi yang mau tanggal"]; 
        goto zmor9; 
        ZC28L: 
        BSa1x: 
        goto NNepo; 
        w2uDm: 
        return ["Tubuh sehat dan kuat", "Mudah kecapekan", "Kebersihan badan kurang terjaga", '']; 
        goto nvMgi; 
        jzmBb: 
    } 
    public function getKenaikanSiswa($id_kelas, $id_tp, $id_smt, $level = null) 
    { 
        goto zdei4; 
        FkgcK: 
        $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 WF72Y; 
        QetZt: 
        $this->db->where("a.id_smt", $id_smt); 
        goto JG99w; 
        RGf0y: 
        $this->db->from("kelas_siswa a"); 
        goto zSy_U; 
        ew2Oz: 
        $this->db->where("a.id_kelas", $id_kelas); 
        goto Evycy; 
        fq2ih: 
        $this->db->select("a.*, b.nama, b.nis, b.nisn, b.username, c.id_kelas, c.nama_kelas, c.level_id, d.naik"); 
        goto RGf0y; 
        SvMzg: 
        $this->db->join("master_kelas c", "a.id_kelas=c.id_kelas", "left"); 
        goto FkgcK; 
        H5cUK: 
        UtzCm: 
        goto E_T8C; 
        MGYpr: 
        $this->db->where("c.level_id", $level); 
        goto H5cUK; 
        zSy_U: 
        $this->db->join("master_siswa b", "a.id_siswa=b.id_siswa", "left"); 
        goto SvMzg; 
        bGppe: 
        $this->db->where("a.id_tp", $id_tp); 
        goto QetZt; 
        JG99w: 
        return $this->db->get()->result(); 
        goto yCrod; 
        WF72Y: 
        if (!($level != null)) { 
            goto UtzCm; 
        } 
        goto MGYpr; 
        Evycy: 
        KnwlY: 
        goto bGppe; 
        zdei4: 
        $this->db->query("SET SQL_BIG_SELECTS=1"); 
        goto fq2ih; 
        E_T8C: 
        if (!($id_kelas != null)) { 
            goto KnwlY; 
        } 
        goto ew2Oz; 
        yCrod: 
    } 
    public function getSiswaLulus($id_tp, $id_smt, $level) 
    { 
        goto LHj_D; 
        LHj_D: 
        $this->db->query("SET SQL_BIG_SELECTS=1"); 
        goto J7oPa; 
        wHAx1: 
        $this->db->join("master_kelas c", "a.id_kelas=c.id_kelas", "left"); 
        goto W1Xrd; 
        asq86: 
        $this->db->where("a.id_tp", $id_tp); 
        goto T_pg5; 
        MYU32: 
        $this->db->where("c.level_id", $level); 
        goto asq86; 
        W1Xrd: 
        $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 MYU32; 
        SHIjc: 
        $this->db->from("kelas_siswa a"); 
        goto AJ92G; 
        J7oPa: 
        $this->db->select("b.*, c.nama_kelas as kelas_akhir, d.naik"); 
        goto SHIjc; 
        raeBz: 
        return $this->db->get()->result(); 
        goto FjIWt; 
        AJ92G: 
        $this->db->join("master_siswa b", "a.id_siswa=b.id_siswa", "left"); 
        goto wHAx1; 
        T_pg5: 
        $this->db->where("a.id_smt", $id_smt); 
        goto raeBz; 
        FjIWt: 
    } 
    public function getJumlahLulus($id_tp, $id_smt, $level) 
    { 
        goto bTNqH; 
        tGeZi: 
        $this->db->where("a.id_tp", $id_tp); 
        goto uPZLi; 
        rvV8J: 
        $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 GR71S; 
        bTNqH: 
        $this->db->query("SET SQL_BIG_SELECTS=1"); 
        goto HH8Ft; 
        Wx21l: 
        $this->db->from("kelas_siswa a"); 
        goto gZ2VW; 
        HH8Ft: 
        $this->db->select("a.*, b.nama, b.nis, b.nisn, b.username, c.id_kelas, c.nama_kelas, c.level_id, d.naik"); 
        goto Wx21l; 
        uPZLi: 
        $this->db->where("a.id_smt", $id_smt); 
        goto NUpqQ; 
        gZ2VW: 
        $this->db->join("master_kelas c", "a.id_kelas=c.id_kelas", "left"); 
        goto rvV8J; 
        NUpqQ: 
        return $this->db->count_all_results(); 
        goto s2fqv; 
        GR71S: 
        $this->db->where("c.level_id", $level); 
        goto tGeZi; 
        s2fqv: 
    } 
    public function getKenaikanRapor($id_kelas, $id_tp, $id_smt) 
    { 
        goto Yltd0; 
        a0aKI: 
        $ress = $this->db->get()->result(); 
        goto fW9Sz; 
        Wxm0e: 
        Oz9oh: 
        goto oyh4J; 
        Hp6H_: 
        foreach ($ress as $res) { 
            $ret[$res->id_siswa] = $res->naik; 
            TfeSA: 
        } 
        goto Wxm0e; 
        Ts8X0: 
        $this->db->where("a.id_kelas", $id_kelas); 
        goto TbFEr; 
        Yltd0: 
        $this->db->select("a.id_kelas, a.id_siswa, d.naik"); 
        goto vMbRY; 
        vMbRY: 
        $this->db->from("kelas_siswa a"); 
        goto mvcP0; 
        b1rSa: 
        $this->db->where("a.id_smt", $id_smt); 
        goto a0aKI; 
        oyh4J: 
        return $ret; 
        goto G1z6X; 
        TbFEr: 
        $this->db->where("a.id_tp", $id_tp); 
        goto b1rSa; 
        mvcP0: 
        $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 Ts8X0; 
        fW9Sz: 
        $ret = []; 
        goto Hp6H_; 
        G1z6X: 
    } 
    public function getAllRaporSetting() 
    { 
        goto aMge0; 
        aMge0: 
        $result = $this->db->get("rapor_admin_setting")->result(); 
        goto YqkPQ; 
        H4okG: 
        OwDQt: 
        goto OSQNw; 
        aqVML: 
        foreach ($result as $key => $row) { 
            $ret[$row->id_tp][$row->id_smt] = $row; 
            QUbOv: 
        } 
        goto MD8Qz; 
        YqkPQ: 
        $ret = []; 
        goto AYPqj; 
        AYPqj: 
        if (!$result) { 
            goto OwDQt; 
        } 
        goto aqVML; 
        OSQNw: 
        return $ret; 
        goto Ott3P; 
        MD8Qz: 
        RYjZu: 
        goto H4okG; 
        Ott3P: 
    } 
    public function getAllKkm() 
    { 
        goto NmYcI; 
        VyXFf: 
        foreach ($result as $res) { 
            $ret[$res->id_tp][$res->id_smt][$res->id_kelas][$res->jenis][$res->id_mapel] = $res; 
            bbLRR: 
        } 
        goto IJPGv; 
        XfLID: 
        $ret = []; 
        goto VyXFf; 
        jP4Aw: 
        return $ret; 
        goto bDqUb; 
        NmYcI: 
        $result = $this->db->get("rapor_kkm")->result(); 
        goto XfLID; 
        IJPGv: 
        pQPBo: 
        goto jP4Aw; 
        bDqUb: 
    } 
    public function getAllKkmRaporAkhir($kelas, $id_tp, $id_smt) 
    { 
        goto zZ3W2; 
        GXpSH: 
        $ret = []; 
        goto me1vr; 
        me1vr: 
        foreach ($result as $res) { 
            $ret[$res->jenis][$res->id_mapel] = $res; 
            tO8qc: 
        } 
        goto mVHJA; 
        mVHJA: 
        G7B3x: 
        goto IRRAc; 
        K27Qv: 
        $result = $this->db->get("rapor_kkm")->result(); 
        goto GXpSH; 
        zZ3W2: 
        $this->db->where("id_kelas", $kelas)->where("id_tp", $id_tp)->where("id_smt", $id_smt); 
        goto K27Qv; 
        IRRAc: 
        return $ret; 
        goto jRS6g; 
        jRS6g: 
    } 
    public function getAllNilaiAkhir() 
    { 
        goto dc5Zm; 
        BkEQz: 
        Ld864: 
        goto vqmwa; 
        vvQhZ: 
        $this->db->from("rapor_nilai_harian a"); 
        goto dd4r5; 
        vqmwa: 
        return $ret; 
        goto C6ukA; 
        dd4r5: 
        $this->db->join("rapor_nilai_pts b", "b.id_nilai_pts=a.id_nilai_harian", "left"); 
        goto jSCmg; 
        dc5Zm: 
        $this->db->query("SET SQL_BIG_SELECTS=1"); 
        goto sy8be; 
        jSCmg: 
        $this->db->join("rapor_nilai_akhir c", "c.id_nilai_akhir=a.id_nilai_harian", "left"); 
        goto w8t10; 
        w8t10: 
        $result = $this->db->get()->result(); 
        goto bj8AB; 
        QlFBw: 
        foreach ($result as $res) { 
            $ret[$res->id_tp][$res->id_smt][$res->id_siswa] = $res; 
            Xv9WR: 
        } 
        goto BkEQz; 
        bj8AB: 
        $ret = []; 
        goto QlFBw; 
        sy8be: 
        $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 vvQhZ; 
        C6ukA: 
    } 
    public function getDistinctTahunBukuNilai() 
    { 
        goto ltxEo; 
        BFNQT: 
        $this->db->distinct(); 
        goto Qsj2R; 
        mo7IY: 
        return $ret; 
        goto iYuxf; 
        Ot3Bi: 
        $ret = []; 
        goto l2pQ1; 
        l2pQ1: 
        foreach ($result as $row) { 
            $ret[$row->tp] = $row->tp; 
            mO0Jp: 
        } 
        goto mcQ9E; 
        ltxEo: 
        $this->db->select("tp"); 
        goto BFNQT; 
        Qsj2R: 
        $result = $this->db->get("buku_nilai")->result(); 
        goto Ot3Bi; 
        mcQ9E: 
        A9qBg: 
        goto mo7IY; 
        iYuxf: 
    } 
    public function getDistinctSmtBukuNilai() 
    { 
        goto U23mR; 
        gB5yr: 
        return $ret; 
        goto xG43o; 
        OZvPc: 
        $this->db->distinct(); 
        goto Ffj6C; 
        Ffj6C: 
        $result = $this->db->get("buku_nilai")->result(); 
        goto rSbYZ; 
        aVvtK: 
        foreach ($result as $row) { 
            $ret[$row->smt] = $row->smt; 
            qtNO1: 
        } 
        goto hR0zL; 
        hR0zL: 
        IIq9k: 
        goto gB5yr; 
        rSbYZ: 
        $ret = []; 
        goto aVvtK; 
        U23mR: 
        $this->db->select("smt"); 
        goto OZvPc; 
        xG43o: 
    } 
    public function getDistinctKelasBukuNilai() 
    { 
        goto H3bH0; 
        ukavC: 
        foreach ($result as $row) { 
            $ret[$row->kelas] = $row->kelas; 
            uQe1t: 
        } 
        goto OEcbM; 
        OEcbM: 
        nEiyK: 
        goto IauPC; 
        CuPIE: 
        $ret = []; 
        goto ukavC; 
        K8UZF: 
        $this->db->distinct(); 
        goto zB8_3; 
        IauPC: 
        return $ret; 
        goto fx07m; 
        zB8_3: 
        $result = $this->db->get("buku_nilai")->result(); 
        goto CuPIE; 
        H3bH0: 
        $this->db->select("kelas"); 
        goto K8UZF; 
        fx07m: 
    } 
    public function getFisikBySiswa($id_siswa) 
    { 
        goto XySRY; 
        aZmf5: 
        qFwkk: 
        goto btWgF; 
        XySRY: 
        $this->db->select("tp, fisik"); 
        goto zOi3X; 
        zOi3X: 
        $this->db->from("buku_nilai"); 
        goto Jpm1r; 
        dKfUq: 
        $ret = []; 
        goto LFhsf; 
        btWgF: 
        GsiDS: 
        goto IXjLA; 
        LFhsf: 
        if (!$result) { 
            goto GsiDS; 
        } 
        goto YC00X; 
        ceuyw: 
        $result = $this->db->get()->result(); 
        goto dKfUq; 
        IXjLA: 
        return $ret; 
        goto C0TY8; 
        YC00X: 
        foreach ($result as $key => $row) { 
            $ret[$row->tp] = $row; 
            kio_e: 
        } 
        goto aZmf5; 
        Jpm1r: 
        $this->db->where("id_siswa", $id_siswa); 
        goto ceuyw; 
        C0TY8: 
    } 
    public function getDataKumpulanRapor($kelas = null, $tp = null, $smt = null) 
    { 
        goto sWywe; 
        wnATw: 
        $result = $this->db->get()->result(); 
        goto CmnRF; 
        Z6Xhj: 
        return $ret; 
        goto e0nVw; 
        kDAvK: 
        if (!($kelas != null)) { 
            goto QEUbw; 
        } 
        goto UtDu0; 
        G6gd8: 
        if (!($tp != null)) { 
            goto WEygC; 
        } 
        goto Vk9dk; 
        Vk9dk: 
        $this->db->where("a.tp", $tp); 
        goto Im1Yh; 
        e7CnA: 
        QEUbw: 
        goto wnATw; 
        pdz6K: 
        $this->db->join("master_siswa b", "a.id_siswa=b.id_siswa"); 
        goto G6gd8; 
        Y1J9E: 
        if (!$result) { 
            goto nv0St; 
        } 
        goto ILVmn; 
        liKhZ: 
        K9KnO: 
        goto kDAvK; 
        M3K67: 
        $this->db->from("buku_nilai a"); 
        goto pdz6K; 
        s5gFL: 
        nv0St: 
        goto Z6Xhj; 
        UtDu0: 
        $this->db->where("a.kelas", $kelas); 
        goto e7CnA; 
        ILVmn: 
        foreach ($result as $key => $row) { 
            $ret[$row->id_siswa] = $row; 
            Sp_h9: 
        } 
        goto A_VVN; 
        r074N: 
        $this->db->where("a.smt", $smt); 
        goto liKhZ; 
        Im1Yh: 
        WEygC: 
        goto kSD3n; 
        CmnRF: 
        $ret = []; 
        goto Y1J9E; 
        A_VVN: 
        gt8xV: 
        goto s5gFL; 
        sWywe: 
        $this->db->select("*"); 
        goto M3K67; 
        kSD3n: 
        if (!($smt != null)) { 
            goto K9KnO; 
        } 
        goto r074N; 
        e0nVw: 
    } 
    public function deleteNilaiRapor() 
    { 
        goto YsG28; 
        YsG28: 
        $this->db->empty_table("rapor_nilai_harian"); 
        goto jMoZ0; 
        gBZZJ: 
        $this->db->empty_table("rapor_nilai_ekstra"); 
        goto xiwN2; 
        jMoZ0: 
        $this->db->empty_table("rapor_nilai_akhir"); 
        goto Zhw3W; 
        xiwN2: 
        $this->db->empty_table("rapor_nilai_sikap"); 
        goto IYQSG; 
        FtOXF: 
        $this->db->empty_table("rapor_nilai_pts"); 
        goto vkpuH; 
        vkpuH: 
        $this->db->empty_table("rapor_prestasi"); 
        goto VsNmo; 
        VsNmo: 
        $this->db->empty_table("rapor_catatan_wali"); 
        goto IgfEq; 
        IgfEq: 
        $this->db->empty_table("rapor_fisik"); 
        goto gBZZJ; 
        Zhw3W: 
        $this->db->empty_table("rapor_naik"); 
        goto FtOXF; 
        IYQSG: 
    } 
    public function getAllNilaiRapor($ids_siswa = null) 
    { 
        goto ZXF4y; 
        tpf_h: 
        $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 MijwW; 
        dkPLl: 
        $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 PlTNj; 
        vGRa_: 
        $this->db->join("master_tp c", "c.id_tp=a.id_tp", "left"); 
        goto L00p5; 
        GO3nr: 
        $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 TTV_H; 
        IpJAp: 
        $this->db->where_in("a.id_siswa", $ids_siswa); 
        goto If53_; 
        qZJtf: 
        return $result; 
        goto ZEQAE; 
        GDiQ9: 
        if (!($ids_siswa != null)) { 
            goto qaOtU; 
        } 
        goto IpJAp; 
        a0RZc: 
        $result = $this->db->get()->result(); 
        goto qZJtf; 
        MijwW: 
        $this->db->join("master_jurusan i", "h.jurusan_id=i.id_jurusan", "left"); 
        goto dkPLl; 
        qpv4F: 
        $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 zaqb8; 
        PLYiQ: 
        $this->db->join("rapor_nilai_akhir b", "b.id_nilai_akhir=a.id_nilai_harian", "left"); 
        goto vGRa_; 
        cHk3V: 
        $this->db->from("rapor_nilai_harian a"); 
        goto PLYiQ; 
        TTV_H: 
        $this->db->join("rapor_nilai_pts g", "g.id_nilai_pts=a.id_nilai_harian", "left"); 
        goto tpf_h; 
        L00p5: 
        $this->db->join("master_smt d", "d.id_smt=a.id_smt", "left"); 
        goto i2M5J; 
        K19r9: 
        $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 uFzhB; 
        zaqb8: 
        $this->db->join("master_mapel p", "a.id_mapel=p.id_mapel", "left"); 
        goto GDiQ9; 
        ZXF4y: 
        $this->db->query("SET SQL_BIG_SELECTS=1"); 
        goto CVuBP; 
        PlTNj: 
        $this->db->join("master_guru k", "j.id_guru=k.id_guru", "left"); 
        goto K19r9; 
        If53_: 
        qaOtU: 
        goto a0RZc; 
        uFzhB: 
        $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 qpv4F; 
        CVuBP: 
        $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 cHk3V; 
        i2M5J: 
        $this->db->join("master_siswa e", "e.id_siswa=a.id_siswa", "left"); 
        goto GO3nr; 
        ZEQAE: 
    } 
    public function getAllEkstra() 
    { 
        goto GqGp5; 
        Y1AA2: 
        foreach ($result as $key => $row) { 
            $ret[$row->id_tp][$row->id_smt][$row->id_kelas] = unserialize($row->ekstra); 
            CDxhU: 
        } 
        goto xZ6Am; 
        GqGp5: 
        $this->db->select("*"); 
        goto QVbdP; 
        YHIiR: 
        if (!$result) { 
            goto TBp_Q; 
        } 
        goto Y1AA2; 
        mvIVO: 
        return $ret; 
        goto VDZ16; 
        xZ6Am: 
        q0Qkz: 
        goto MQHA4; 
        eyi7K: 
        $result = $this->db->get()->result(); 
        goto idW_x; 
        QVbdP: 
        $this->db->from("kelas_ekstra"); 
        goto eyi7K; 
        idW_x: 
        $ret = []; 
        goto YHIiR; 
        MQHA4: 
        TBp_Q: 
        goto mvIVO; 
        VDZ16: 
    } 
    public function getAllNilaiEkstra($ids_siswa = null) 
    { 
        goto mW_4o; 
        tXErk: 
        $this->db->join("master_ekstra b", "a.id_ekstra=b.id_ekstra", "left"); 
        goto YGJvb; 
        mW_4o: 
        $this->db->select("a.*, b.nama_ekstra, b.kode_ekstra"); 
        goto E6sFO; 
        kztaR: 
        $result = $this->db->get()->result(); 
        goto VX04B; 
        KDQpX: 
        ZwOe6: 
        goto kztaR; 
        VX04B: 
        $ret = []; 
        goto UEu7a; 
        rRsbf: 
        return $ret; 
        goto kekRK; 
        krxt1: 
        $this->db->where_in("a.id_siswa", $ids_siswa); 
        goto KDQpX; 
        ghj0Z: 
        gjmP2: 
        goto rRsbf; 
        UEu7a: 
        foreach ($result as $res) { 
            $ret[$res->id_tp][$res->id_smt][$res->id_siswa][] = $res; 
            b8kz0: 
        } 
        goto ghj0Z; 
        E6sFO: 
        $this->db->from("rapor_nilai_ekstra a"); 
        goto tXErk; 
        YGJvb: 
        if (!($ids_siswa != null)) { 
            goto ZwOe6; 
        } 
        goto krxt1; 
        kekRK: 
    } 
    public function getAllNilaiSikap($ids_siswa = null) 
    { 
        goto ZoREI; 
        trxse: 
        $this->db->where_in("id_siswa", $ids_siswa); 
        goto YxBdK; 
        czpdg: 
        $this->db->from("rapor_nilai_sikap"); 
        goto l1016; 
        ZoREI: 
        $this->db->select("*"); 
        goto czpdg; 
        YxBdK: 
        p14_2: 
        goto SPzdG; 
        SPzdG: 
        $result = $this->db->get()->result(); 
        goto l0Bth; 
        l0Bth: 
        $ret = []; 
        goto ErIUO; 
        K0oNb: 
        DtRHR: 
        goto qb228; 
        ErIUO: 
        foreach ($result as $res) { 
            $ret[$res->id_tp][$res->id_smt][$res->id_siswa][$res->jenis] = $res; 
            H_T6Z: 
        } 
        goto K0oNb; 
        qb228: 
        return $ret; 
        goto LvVOG; 
        l1016: 
        if (!($ids_siswa != null)) { 
            goto p14_2; 
        } 
        goto trxse; 
        LvVOG: 
    } 
    public function getAllFisik($ids_siswa = null) 
    { 
        goto yprQX; 
        gZOPf: 
        $this->db->where_in("id_siswa", $ids_siswa); 
        goto fiMF1; 
        rmAfH: 
        $ret = []; 
        goto IGA_J; 
        IGA_J: 
        foreach ($result as $res) { 
            $ret[$res->id_siswa][$res->id_tp][$res->id_smt] = $res; 
            CL_fq: 
        } 
        goto vV1PD; 
        oypLO: 
        $this->db->from("rapor_fisik"); 
        goto iAvEQ; 
        MYcfH: 
        $result = $this->db->get()->result(); 
        goto rmAfH; 
        yprQX: 
        $this->db->select("id_tp, id_smt, id_siswa, kondisi, tinggi, berat"); 
        goto oypLO; 
        ESWTN: 
        return $ret; 
        goto nDolo; 
        vV1PD: 
        Vnvlk: 
        goto ESWTN; 
        iAvEQ: 
        if (!($ids_siswa != null)) { 
            goto y70W7; 
        } 
        goto gZOPf; 
        fiMF1: 
        y70W7: 
        goto MYcfH; 
        nDolo: 
    } 
    function exists($uid, $tp, $smt, $kelas) 
    { 
        goto rpQMt; 
        BT1y8: 
        mULG7: 
        goto vyOni; 
        nPbi4: 
        if ($query->num_rows() > 0) { 
            goto mULG7; 
        } 
        goto bnx5C; 
        g8ivW: 
        goto W6APT; 
        goto BT1y8; 
        vyOni: 
        return true; 
        goto qGTh_; 
        rpQMt: 
        $this->db->where("uid", $uid)->where("tp", $tp)->where("smt", $smt)->where("kelas", $kelas); 
        goto ObFtH; 
        ObFtH: 
        $query = $this->db->get("buku_nilai"); 
        goto nPbi4; 
        bnx5C: 
        return false; 
        goto g8ivW; 
        qGTh_: 
        W6APT: 
        goto UyM3B; 
        UyM3B: 
    } 
} 
 ?>

Did this file decode correctly?

Original Code

<?php
/*   ________________________________________
    |                 GarudaCBT              |
    |    https://github.com/garudacbt/cbt    |
    |________________________________________|
*/
class Rapor_model extends CI_Model
{
    public function getKikdMapel($id, $id_tp, $id_smt)
    {
        $this->db->where("\151\x64\x5f\153\151\x6b\144", $id)->where("\151\x64\x5f\x74\160", $id_tp)->where("\x69\x64\x5f\x73\x6d\x74", $id_smt);
        return $this->db->get("\162\x61\x70\x6f\x72\137\x6b\151\153\144")->row();
    }
    public function getKikdMapelKelas($id_mapel, $id_kelas, $id_tp, $id_smt)
    {
        $this->db->where("\151\144\137\155\141\160\x65\154\137\153\x65\154\141\163", $id_mapel . $id_kelas)->where("\151\144\137\164\160", $id_tp)->where("\x69\x64\137\x73\x6d\x74", $id_smt);
        return $this->db->get("\x72\141\x70\157\162\x5f\x6b\x69\x6b\x64")->result();
    }
    public function getKkm($id)
    {
        $this->db->where("\151\144\137\x6b\x6b\155", $id);
        return $this->db->get("\x72\141\160\x6f\x72\x5f\x6b\153\x6d")->row();
    }
    public function getRaporSetting($id_tp, $id_smt)
    {
        $this->db->where("\x69\x64\137\164\160", $id_tp)->where("\151\x64\x5f\163\155\x74", $id_smt);
        return $this->db->get("\x72\141\160\x6f\162\137\x61\x64\x6d\151\156\137\163\145\x74\164\151\156\x67")->row();
    }
    public function getDetailSiswa($id_kelas, $id_tp, $id_smt)
    {
        goto IzU7E;
        oZqXe:
        $this->db->where("\x61\x2e\151\x64\137\x73\x6d\164", $id_smt);
        goto Zhqi2;
        DwuGO:
        $this->db->where("\141\x2e\151\144\x5f\x6b\145\x6c\141\x73", $id_kelas);
        goto qrfcb;
        Awapv:
        $this->db->join("\x6d\141\163\164\x65\x72\137\x6b\145\154\141\x73\x20\x63", "\141\56\151\144\x5f\x6b\145\154\141\163\x3d\143\56\151\x64\137\153\145\154\x61\x73");
        goto DwuGO;
        LEWcU:
        return $this->db->get()->result();
        goto OWp3u;
        xe3do:
        $this->db->from("\x6b\x65\154\141\163\x5f\163\x69\x73\x77\141\40\141");
        goto EkwCU;
        a3cIA:
        $this->db->select("\x61\x2e\x2a\x2c\x20\x62\x2e\x2a\x2c\40\143\x2e\x2a");
        goto xe3do;
        IzU7E:
        $this->db->query("\x53\105\x54\x20\x53\x51\x4c\137\x42\x49\x47\137\123\105\x4c\105\103\x54\123\x3d\61");
        goto a3cIA;
        EkwCU:
        $this->db->join("\155\141\163\164\145\162\x5f\x73\x69\x73\167\141\40\142", "\141\56\x69\144\137\x73\x69\x73\167\x61\x3d\142\x2e\151\144\137\x73\151\x73\x77\x61");
        goto Awapv;
        qrfcb:
        $this->db->where("\x61\x2e\151\144\137\x74\160", $id_tp);
        goto oZqXe;
        Zhqi2:
        $this->db->order_by("\142\x2e\156\x61\x6d\141", "\101\123\103");
        goto LEWcU;
        OWp3u:
    }
    public function getDetailSiswaById($id_siswa, $id_tp, $id_smt)
    {
        goto ej9MS;
        CJb6x:
        $this->db->order_by("\x61\56\x6e\141\x6d\x61", "\101\x53\x43");
        goto WyQcy;
        ej9MS:
        $this->db->query("\123\105\x54\40\123\x51\114\137\x42\111\x47\137\123\x45\114\x45\x43\x54\x53\x3d\x31");
        goto Jt69n;
        eDw0a:
        $this->db->where("\x61\56\x69\144\137\163\151\163\x77\141", $id_siswa);
        goto AtVk6;
        Jt69n:
        $this->db->select("\x61\56\x6e\x61\x6d\x61\54\x20\x61\56\x6e\x69\x73\x2c\x20\x61\56\156\151\163\x6e\x2c\x20\x63\x2e\x6e\x61\155\x61\137\153\x65\154\x61\x73");
        goto GfTIj;
        N4nxH:
        $this->db->join("\155\x61\163\164\145\162\137\x6b\145\x6c\x61\x73\x20\143", "\x62\x2e\151\144\137\153\145\154\x61\x73\75\143\x2e\151\144\x5f\x6b\145\154\x61\163");
        goto eDw0a;
        WyQcy:
        return $this->db->get()->row();
        goto ZAR9W;
        X8n67:
        $this->db->where("\142\x2e\x69\144\137\163\x6d\164", $id_smt);
        goto CJb6x;
        NTX55:
        $this->db->join("\153\x65\154\x61\x73\x5f\x73\x69\163\167\141\x20\x62", "\141\56\x69\144\x5f\163\x69\163\167\x61\75\142\56\151\144\x5f\163\x69\x73\x77\141");
        goto N4nxH;
        AtVk6:
        $this->db->where("\x62\x2e\151\x64\137\x74\x70", $id_tp);
        goto X8n67;
        GfTIj:
        $this->db->from("\155\x61\163\164\x65\162\137\163\151\x73\x77\x61\40\x61");
        goto NTX55;
        ZAR9W:
    }
    public function cekNilaiHarianKelas($id_mapel, $id_kelas, $id_tp, $id_smt)
    {
        goto tzeu4;
        aYD_6:
        $this->db->where("\x69\144\x5f\x6d\x61\x70\145\154", $id_mapel);
        goto ftR84;
        evRs6:
        $this->db->where("\x70\x5f\x72\141\x74\x61\137\x72\141\164\x61\40\x21\x3d", "\x4e\x55\114\114");
        goto W7qOe;
        W7qOe:
        return $this->db->get()->num_rows();
        goto rQZ3k;
        FKcxH:
        $this->db->from("\162\x61\160\157\x72\137\x6e\151\154\x61\x69\x5f\150\141\x72\151\141\156");
        goto aYD_6;
        q3JEO:
        $this->db->where("\151\144\x5f\164\x70", $id_tp);
        goto zEf6R;
        zEf6R:
        $this->db->where("\x69\x64\137\163\x6d\x74", $id_smt);
        goto evRs6;
        tzeu4:
        $this->db->select("\160\x5f\x72\x61\164\x61\x5f\162\x61\164\141");
        goto FKcxH;
        ftR84:
        $this->db->where("\x69\144\x5f\153\145\154\x61\163", $id_kelas);
        goto q3JEO;
        rQZ3k:
    }
    public function getNilaiHarianKelas($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt)
    {
        goto UQ2hH;
        gmpgs:
        $this->db->from("\x72\141\160\157\162\x5f\x6e\x69\x6c\x61\x69\x5f\150\141\x72\x69\141\x6e");
        goto xUt1r;
        UQ2hH:
        $this->db->select("\x2a");
        goto gmpgs;
        bK38u:
        return $this->db->get()->row();
        goto Kn4mt;
        xUt1r:
        $this->db->where("\151\x64\x5f\x6e\151\x6c\141\151\x5f\x68\141\x72\x69\x61\x6e", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt);
        goto bK38u;
        Kn4mt:
    }
    public function getAllNilaiHarianKelas($id_kelas)
    {
        goto aXX31;
        m39pR:
        $this->db->where("\151\144\x5f\153\145\154\141\x73", $id_kelas);
        goto rU6mP;
        lgKhL:
        $this->db->from("\162\x61\160\157\x72\x5f\x6e\151\x6c\x61\x69\x5f\150\141\x72\x69\141\156");
        goto m39pR;
        rU6mP:
        return $this->db->get()->result();
        goto cB2cm;
        aXX31:
        $this->db->select("\x2a");
        goto lgKhL;
        cB2cm:
    }
    public function cekNilaiPtsKelas($id_mapel, $id_kelas, $id_tp, $id_smt)
    {
        goto xB1xA;
        dOm0p:
        $this->db->where("\151\x64\x5f\x73\155\x74", $id_smt);
        goto IRvEB;
        IRvEB:
        $this->db->where("\x70\x72\145\x64\x69\x6b\141\x74\40\41\x3d", "\116\x55\114\x4c");
        goto UJTYS;
        x3xtz:
        $this->db->where("\x69\144\x5f\x74\160", $id_tp);
        goto dOm0p;
        xB1xA:
        $this->db->select("\x70\x72\x65\144\151\153\x61\x74");
        goto cH57A;
        cH57A:
        $this->db->from("\162\x61\160\x6f\162\137\x6e\x69\x6c\x61\x69\137\x70\164\x73");
        goto J0A_z;
        UJTYS:
        return $this->db->get()->num_rows();
        goto wXndn;
        D6qAx:
        $this->db->where("\x69\x64\x5f\153\145\154\141\x73", $id_kelas);
        goto x3xtz;
        J0A_z:
        $this->db->where("\151\x64\137\x6d\141\x70\145\154", $id_mapel);
        goto D6qAx;
        wXndn:
    }
    public function getIdNilaiPts($arr_id)
    {
        goto nsKEU;
        uPJg2:
        return $ret;
        goto sARjD;
        eYR29:
        $this->db->from("\162\x61\x70\157\x72\137\156\151\x6c\x61\151\x5f\160\x74\x73");
        goto xYb8I;
        xYb8I:
        $this->db->where_in("\x69\144\137\156\151\x6c\x61\x69\x5f\x70\164\163", $arr_id);
        goto xpysC;
        nsKEU:
        $this->db->select("\x69\144\x5f\156\151\x6c\x61\151\137\x70\164\163");
        goto eYR29;
        OxeJ3:
        nKbV2:
        goto EOGRw;
        EOGRw:
        deicP:
        goto uPJg2;
        JHA7X:
        $ret = [];
        goto gbnZ9;
        m2x4P:
        foreach ($result as $key => $row) {
            $ret[$row->id_nilai_pts] = $row;
            DhMik:
        }
        goto OxeJ3;
        xpysC:
        $result = $this->db->get()->result();
        goto JHA7X;
        gbnZ9:
        if (!$result) {
            goto deicP;
        }
        goto m2x4P;
        sARjD:
    }
    public function getNilaiPtsKelas($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt)
    {
        goto k7iYG;
        sGvJS:
        $this->db->from("\x72\x61\x70\x6f\x72\x5f\x6e\151\154\x61\151\x5f\x70\164\x73");
        goto X18p8;
        X18p8:
        $this->db->where("\x69\144\x5f\x6e\x69\x6c\141\x69\137\160\164\x73", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt);
        goto FlszU;
        k7iYG:
        $this->db->select("\52");
        goto sGvJS;
        FlszU:
        return $this->db->get()->row();
        goto fHDeF;
        fHDeF:
    }
    public function getAllNilaiPtsKelas($id_kelas)
    {
        goto Lq29v;
        Lq29v:
        $this->db->select("\52");
        goto U86x6;
        aFuod:
        return $this->db->get()->result();
        goto rgl3O;
        U86x6:
        $this->db->from("\x72\x61\x70\157\x72\137\x6e\x69\154\x61\x69\x5f\x70\x74\163");
        goto apkDA;
        apkDA:
        $this->db->where("\151\144\x5f\153\x65\x6c\x61\x73", $id_kelas);
        goto aFuod;
        rgl3O:
    }
    public function getEkstraKelas($id_mapel, $id_siswa, $id_tp, $id_smt)
    {
        goto bvTeW;
        Oc8tW:
        $this->db->where("\151\144\137\164\x70", $id_tp);
        goto bS2uo;
        zW9Y1:
        $this->db->where("\x69\144\137\145\x6b\163\164\x72\x61", $id_mapel);
        goto srn5J;
        jYrjq:
        $this->db->from("\x72\141\x70\157\162\x5f\156\x69\x6c\x61\151\x5f\145\x6b\x73\x74\162\x61");
        goto zW9Y1;
        bvTeW:
        $this->db->select("\156\151\x6c\141\151\54\40\x70\162\x65\144\x69\153\141\x74\54\x20\144\x65\x73\x6b\x72\x69\160\163\151");
        goto jYrjq;
        srn5J:
        $this->db->where("\151\144\x5f\163\x69\163\x77\x61", $id_siswa);
        goto Oc8tW;
        qegCc:
        return $this->db->get()->row();
        goto jmvlr;
        bS2uo:
        $this->db->where("\x69\144\x5f\x73\x6d\164", $id_smt);
        goto qegCc;
        jmvlr:
    }
    public function cekNilaiEkstraKelas($id_mapel, $id_kelas, $id_tp, $id_smt)
    {
        goto BAbqx;
        DWV_z:
        $this->db->where("\151\144\137\x6b\x65\154\x61\163", $id_kelas);
        goto Lnq6G;
        BAbqx:
        $this->db->select("\151\144\x5f\156\151\x6c\141\151\x5f\145\x6b\x73\x74\162\141");
        goto KAdKP;
        yHMcT:
        $this->db->where("\x69\x64\137\145\x6b\x73\x74\x72\x61", $id_mapel);
        goto DWV_z;
        Lnq6G:
        $this->db->where("\151\x64\137\164\160", $id_tp);
        goto oqlI9;
        KAdKP:
        $this->db->from("\162\x61\x70\157\x72\x5f\x6e\x69\x6c\x61\x69\137\x65\153\x73\x74\x72\141");
        goto yHMcT;
        LR8wA:
        return $this->db->get()->num_rows();
        goto oMhPg;
        oqlI9:
        $this->db->where("\x69\x64\137\163\x6d\164", $id_smt);
        goto LR8wA;
        oMhPg:
    }
    public function getNilaiEkstraKelas($id_ekstra, $id_kelas, $id_siswa, $id_tp, $id_smt)
    {
        goto RJ7bX;
        RJ7bX:
        $this->db->select("\x2a");
        goto K4SKE;
        K4SKE:
        $this->db->from("\x72\x61\160\157\x72\x5f\156\x69\154\141\151\x5f\145\153\163\164\162\141");
        goto nbVbx;
        KlmHB:
        return $this->db->get()->row();
        goto NbT3B;
        nbVbx:
        $this->db->where("\x69\144\x5f\x6e\x69\x6c\x61\x69\137\x65\x6b\x73\164\162\x61", $id_ekstra . $id_kelas . $id_siswa . $id_tp . $id_smt);
        goto KlmHB;
        NbT3B:
    }
    public function getAllNilaiEkstraKelas($id_kelas)
    {
        goto EIfbo;
        EIfbo:
        $this->db->select("\52");
        goto exYPC;
        OmYWU:
        return $this->db->get()->result();
        goto fYeP5;
        exYPC:
        $this->db->from("\162\x61\x70\157\x72\x5f\x6e\x69\154\x61\x69\137\x65\153\x73\x74\x72\x61");
        goto ITKam;
        ITKam:
        $this->db->where("\151\x64\137\x6b\145\154\x61\x73", $id_kelas);
        goto OmYWU;
        fYeP5:
    }
    public function cekNilaiAkhirKelas($id_mapel, $id_kelas, $id_tp, $id_smt)
    {
        goto hoRE4;
        CMQMn:
        $this->db->where("\151\x64\137\164\160", $id_tp);
        goto DQ6RJ;
        hoRE4:
        $this->db->select("\151\144\137\156\151\x6c\x61\x69\x5f\x61\153\150\x69\162");
        goto Pnj2s;
        vNyfl:
        $this->db->where("\151\144\x5f\x6b\x65\154\141\x73", $id_kelas);
        goto CMQMn;
        pcG63:
        $this->db->where("\151\144\137\x6d\x61\160\x65\154", $id_mapel);
        goto vNyfl;
        Htt05:
        return $this->db->get()->num_rows();
        goto xu4U0;
        Pnj2s:
        $this->db->from("\162\x61\160\x6f\x72\x5f\x6e\x69\x6c\141\151\137\141\x6b\150\x69\x72");
        goto pcG63;
        DQ6RJ:
        $this->db->where("\151\x64\137\163\155\x74", $id_smt);
        goto Htt05;
        xu4U0:
    }
    public function getNilaiAkhirKelas($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt)
    {
        goto oNdYK;
        JJXY0:
        $this->db->join("\x72\x61\160\157\x72\137\156\151\x6c\x61\x69\x5f\x70\164\163\x20\x62", "\142\x2e\x69\x64\x5f\x6e\151\x6c\x61\x69\x5f\160\164\x73\x3d\x61\x2e\151\x64\137\x6e\x69\154\141\151\137\150\x61\162\x69\x61\156", "\x6c\x65\x66\164");
        goto c5UyR;
        NZOYt:
        $this->db->select("\x61\56\x70\137\x72\141\x74\141\x5f\162\x61\164\141\x20\141\x73\40\156\x68\x61\x72\x2c\40\x61\x2e\160\x5f\x64\145\x73\x6b\x72\x69\160\163\x69\54\40\141\x2e\153\x5f\162\141\x74\x61\137\x72\141\164\141\54\40\x61\x2e\x6b\137\x70\162\x65\x64\151\x6b\x61\164\x2c\40\x61\56\x6b\x5f\144\x65\163\153\162\151\160\163\151\x2c\40\142\x2e\x6e\x69\154\141\151\40\x61\163\40\156\x70\164\163\x2c\x20\143\x2e\156\151\154\x61\x69\40\x61\x73\40\156\160\141\163\54\x20\x63\56\160\162\x65\144\151\153\141\164");
        goto HEJij;
        HEJij:
        $this->db->from("\162\141\x70\x6f\162\x5f\x6e\x69\x6c\141\x69\x5f\x68\141\x72\x69\x61\156\x20\141");
        goto JJXY0;
        oNdYK:
        $this->db->query("\123\105\124\x20\x53\x51\x4c\x5f\102\x49\x47\x5f\123\105\114\x45\103\x54\x53\75\x31");
        goto NZOYt;
        c5UyR:
        $this->db->join("\x72\x61\x70\157\162\x5f\156\x69\154\x61\151\137\141\x6b\150\x69\162\x20\x63", "\x63\56\x69\144\x5f\156\151\154\141\x69\137\141\x6b\x68\x69\x72\x3d\x61\x2e\x69\144\x5f\x6e\x69\x6c\x61\151\137\150\141\x72\x69\141\x6e", "\x6c\x65\146\164");
        goto gnoH0;
        aQ1mO:
        return $this->db->get()->row();
        goto ihR_Q;
        gnoH0:
        $this->db->where("\x69\144\137\156\x69\154\x61\151\137\150\x61\162\151\141\x6e", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt);
        goto aQ1mO;
        ihR_Q:
    }
    public function getAllNilaiAkhirKelas($id_kelas)
    {
        goto Oehla;
        c4BgV:
        return $this->db->get()->result();
        goto TxI_m;
        Oehla:
        $this->db->select("\52");
        goto uhrBh;
        QKA0J:
        $this->db->where("\151\x64\x5f\153\x65\154\141\x73", $id_kelas);
        goto c4BgV;
        uhrBh:
        $this->db->from("\162\141\160\x6f\x72\x5f\x6e\x69\154\x61\151\x5f\141\x6b\150\151\162");
        goto QKA0J;
        TxI_m:
    }
    public function getNilaiAkhirByMapel($id_mapel, $id_kelas, $id_tp, $id_smt)
    {
        goto CQD1y;
        h1iXU:
        return $this->db->get()->result();
        goto YQN3c;
        cTFo1:
        $this->db->where("\141\x2e\x69\x64\137\155\x61\x70\145\x6c", $id_mapel);
        goto Oe2cm;
        CQD1y:
        $this->db->query("\123\x45\124\x20\123\x51\114\137\102\x49\x47\137\123\105\114\105\103\x54\123\x3d\x31");
        goto iT0y4;
        sHDhi:
        $this->db->from("\162\x61\160\157\162\x5f\x6e\151\154\141\x69\x5f\150\x61\x72\151\x61\x6e\40\x61");
        goto jtjSU;
        Oe2cm:
        $this->db->where("\x61\x2e\151\x64\137\x6b\145\x6c\x61\163", $id_kelas);
        goto smTh5;
        VlSiG:
        $this->db->where("\141\x2e\x69\144\137\163\x6d\164", $id_smt);
        goto h1iXU;
        iT0y4:
        $this->db->select("\141\x2e\x69\144\137\x73\151\163\x77\141\54\x20\141\x2e\160\x5f\162\x61\x74\141\x5f\162\x61\164\x61\40\x61\163\x20\156\x68\x61\x72\54\40\141\56\160\137\144\145\x73\x6b\162\151\160\x73\151\x2c\x20\x61\x2e\x6b\137\x72\x61\164\x61\x5f\x72\x61\x74\x61\x2c\x20\141\x2e\153\x5f\x70\162\x65\144\151\153\141\x74\x2c\40\141\56\x6b\137\x64\x65\163\x6b\x72\151\x70\x73\151\x2c\x20\142\56\156\151\x6c\x61\151\x20\x61\x73\x20\156\x70\164\x73\54\40\x63\56\156\x69\x6c\141\151\40\x61\163\40\x6e\160\x61\x73\x2c\40\x63\56\x70\162\x65\x64\x69\153\x61\x74");
        goto sHDhi;
        jtjSU:
        $this->db->join("\162\141\160\x6f\x72\x5f\x6e\x69\x6c\x61\151\137\160\x74\163\40\142", "\x62\56\x69\144\137\156\151\x6c\141\151\137\160\x74\x73\75\x61\56\x69\144\137\156\151\154\141\151\x5f\x68\141\162\151\x61\156", "\154\145\x66\164");
        goto pmG_4;
        pmG_4:
        $this->db->join("\x72\x61\x70\157\x72\137\156\151\x6c\x61\x69\137\x61\153\x68\x69\x72\40\x63", "\143\56\151\x64\x5f\x6e\x69\x6c\141\151\137\x61\x6b\150\151\162\x3d\x61\56\x69\x64\137\x6e\151\x6c\x61\151\x5f\150\141\x72\151\141\156", "\x6c\145\x66\x74");
        goto cTFo1;
        smTh5:
        $this->db->where("\141\56\x69\x64\x5f\x74\160", $id_tp);
        goto VlSiG;
        YQN3c:
    }
    public function getDeskripsiSikap($kelas, $id_tp, $id_smt)
    {
        $this->db->where("\151\144\x5f\153\x65\x6c\141\163", $kelas)->where("\x69\x64\137\x74\x70", $id_tp)->where("\151\144\x5f\163\155\x74", $id_smt);
        return $this->db->get("\x72\141\160\x6f\x72\x5f\x64\x61\x74\x61\137\163\151\x6b\141\x70")->result();
    }
    public function getAllDeskripsiSikap($kelas)
    {
        $this->db->where("\x69\x64\x5f\153\x65\154\x61\163", $kelas);
        return $this->db->get("\162\x61\x70\157\162\137\x64\x61\164\141\x5f\163\151\153\x61\160")->result();
    }
    public function getDeskripsiSikapByJenis($kelas, $jenis, $id_tp, $id_smt)
    {
        goto Kdgt8;
        Kdgt8:
        $this->db->select("\x2a");
        goto hBz_g;
        P4ULt:
        $this->db->where("\151\144\137\x73\155\x74", $id_smt);
        goto Y_pCG;
        Y_pCG:
        return $this->db->get()->result();
        goto q86qO;
        TC4f5:
        $this->db->where("\151\144\x5f\x74\160", $id_tp);
        goto P4ULt;
        IYxss:
        $this->db->where("\x6a\145\156\x69\x73", $jenis);
        goto TC4f5;
        ngkyt:
        $this->db->where("\x69\x64\x5f\x6b\145\154\x61\x73", $kelas);
        goto IYxss;
        hBz_g:
        $this->db->from("\162\x61\160\x6f\x72\x5f\x64\141\x74\x61\x5f\x73\151\x6b\141\160");
        goto ngkyt;
        q86qO:
    }
    public function getNilaiSikapKelas($id_kelas, $id_siswa, $id_tp, $id_smt, $jenis)
    {
        goto huK9d;
        yv8S6:
        $this->db->from("\x72\x61\x70\x6f\162\137\x6e\151\154\141\151\x5f\163\x69\x6b\x61\160");
        goto BC3pY;
        huK9d:
        $this->db->select("\52");
        goto yv8S6;
        ncGuH:
        return $this->db->get()->row();
        goto Ijx3l;
        BC3pY:
        $this->db->where("\x69\x64\137\156\151\x6c\x61\151\137\163\151\x6b\x61\160", $id_kelas . $id_siswa . $id_tp . $id_smt . $jenis);
        goto ncGuH;
        Ijx3l:
    }
    public function getAllNilaiSikapKelas($id_kelas)
    {
        goto Of8EC;
        Of8EC:
        $this->db->select("\52");
        goto xoOev;
        FXM10:
        return $this->db->get()->result();
        goto rx1pY;
        URC3q:
        $this->db->where("\x69\144\137\153\x65\154\x61\163", $id_kelas);
        goto FXM10;
        xoOev:
        $this->db->from("\162\x61\160\x6f\x72\137\x6e\151\x6c\x61\151\137\x73\151\x6b\141\x70");
        goto URC3q;
        rx1pY:
    }
    public function getNilaiSikapByJenis($id_kelas, $jenis, $id_tp, $id_smt)
    {
        goto knpG6;
        hogND:
        $this->db->where("\x6a\x65\156\x69\163", $jenis);
        goto mk3Dy;
        b3Qsj:
        return $this->db->get()->result();
        goto LX4Kd;
        knpG6:
        $this->db->select("\52");
        goto bRXab;
        mk3Dy:
        $this->db->where("\x69\144\x5f\164\160", $id_tp);
        goto KyBmJ;
        KyBmJ:
        $this->db->where("\151\144\x5f\163\x6d\164", $id_smt);
        goto b3Qsj;
        p119n:
        $this->db->where("\151\144\x5f\153\x65\154\141\163", $id_kelas);
        goto hogND;
        bRXab:
        $this->db->from("\x72\141\160\157\x72\137\x6e\151\154\141\x69\x5f\x73\x69\153\141\x70");
        goto p119n;
        LX4Kd:
    }
    public function getNilaiSikapByKelas($id_kelas, $id_tp, $id_smt)
    {
        goto bsEna;
        gB0Dx:
        $this->db->where("\151\x64\x5f\164\x70", $id_tp);
        goto ASNmp;
        bsEna:
        $this->db->select("\x2a");
        goto RE0HO;
        ASNmp:
        $this->db->where("\151\144\x5f\x73\x6d\x74", $id_smt);
        goto pBXvr;
        UKMEH:
        $this->db->where("\151\144\137\x6b\x65\x6c\x61\163", $id_kelas);
        goto gB0Dx;
        pBXvr:
        return $this->db->get()->result();
        goto iuxoE;
        RE0HO:
        $this->db->from("\x72\141\x70\x6f\x72\137\x6e\151\154\141\151\x5f\163\151\x6b\141\160");
        goto UKMEH;
        iuxoE:
    }
    public function getNilaiSikapBySiswa($id_siswa, $id_tp, $id_smt)
    {
        goto fAMgb;
        fAMgb:
        $this->db->select("\52");
        goto TxkUE;
        QQ4uX:
        $this->db->where("\x69\144\x5f\x73\155\x74", $id_smt);
        goto iW2I2;
        b0JJP:
        $this->db->where("\151\x64\x5f\x74\x70", $id_tp);
        goto QQ4uX;
        iW2I2:
        return $this->db->get()->result();
        goto QWphz;
        tKEsr:
        $this->db->where("\x69\144\x5f\x73\x69\x73\x77\141", $id_siswa);
        goto b0JJP;
        TxkUE:
        $this->db->from("\x72\141\160\157\162\137\156\151\x6c\141\x69\x5f\x73\x69\x6b\x61\x70");
        goto tKEsr;
        QWphz:
    }
    public function getDeskripsiCatatanByJenis($kelas, $jenis, $id_tp, $id_smt)
    {
        $this->db->where("\x6a\145\x6e\x69\163", $jenis)->where("\x69\144\x5f\x6b\x65\154\141\163", $kelas)->where("\151\x64\137\164\160", $id_tp)->where("\x69\144\x5f\163\155\164", $id_smt);
        return $this->db->get("\x72\141\x70\157\162\x5f\144\141\164\141\137\143\x61\164\x61\x74\141\156")->result();
    }
    public function getCatatanKelas($id_kelas, $id_siswa, $id_tp, $id_smt)
    {
        goto TYro6;
        ZRqNt:
        $this->db->where("\x69\144\x5f\143\x61\x74\x61\164\x61\156\x5f\167\x61\154\x69", $id_kelas . $id_siswa . $id_tp . $id_smt);
        goto EPI3q;
        TYro6:
        $this->db->select("\x2a");
        goto TuZEJ;
        EPI3q:
        return $this->db->get()->row();
        goto U3NQ8;
        TuZEJ:
        $this->db->from("\162\x61\x70\x6f\162\x5f\x63\141\x74\141\164\141\x6e\137\167\141\x6c\151");
        goto ZRqNt;
        U3NQ8:
    }
    public function getAllCatatanKelas($id_kelas)
    {
        goto Ua5JX;
        GnHmY:
        $this->db->from("\x72\141\x70\157\162\137\x63\141\164\141\164\141\156\137\167\141\x6c\151");
        goto z63zC;
        yv12y:
        return $this->db->get()->result();
        goto em2Di;
        Ua5JX:
        $this->db->select("\x2a");
        goto GnHmY;
        z63zC:
        $this->db->where("\151\x64\137\153\145\x6c\141\x73", $id_kelas);
        goto yv12y;
        em2Di:
    }
    public function getRankingKelas($id_kelas, $id_siswa, $id_tp, $id_smt)
    {
        goto s91Dh;
        veCx4:
        return $this->db->get()->row();
        goto KXams;
        tiNJc:
        $this->db->from("\162\x61\160\157\162\137\160\x72\145\163\x74\141\163\151");
        goto L6PEt;
        L6PEt:
        $this->db->where("\x69\144\x5f\162\141\156\x6b\x69\156\x67", $id_kelas . $id_siswa . $id_tp . $id_smt);
        goto veCx4;
        s91Dh:
        $this->db->select("\52");
        goto tiNJc;
        KXams:
    }
    public function getAllRankingKelas($id_kelas)
    {
        goto ioohs;
        H2zmg:
        return $this->db->get()->result();
        goto tRJFk;
        d0HEB:
        $this->db->from("\162\141\x70\x6f\162\137\x70\x72\x65\163\164\141\163\x69");
        goto iC_ny;
        ioohs:
        $this->db->select("\x2a");
        goto d0HEB;
        iC_ny:
        $this->db->where("\x69\144\x5f\153\145\154\x61\x73", $id_kelas);
        goto H2zmg;
        tRJFk:
    }
    public function getAllDeskripsiFisikKelas()
    {
        goto doaKP;
        UgMv1:
        iw69g:
        goto sheUr;
        WKwHz:
        foreach ($result as $key => $row) {
            $ret[$row->id_kelas][$row->id_tp][$row->id_smt] = $row;
            JUNGM:
        }
        goto UgMv1;
        doaKP:
        $result = $this->db->get("\x72\x61\160\x6f\162\x5f\x64\141\x74\x61\137\146\151\163\x69\153")->result();
        goto oG9EO;
        sheUr:
        IzYUh:
        goto tw_vW;
        oG9EO:
        $ret = [];
        goto XN8P8;
        tw_vW:
        return $ret;
        goto tekRr;
        XN8P8:
        if (!$result) {
            goto IzYUh;
        }
        goto WKwHz;
        tekRr:
    }
    public function getAllRaporFisik()
    {
        goto utQL8;
        utQL8:
        $result = $this->db->get("\162\141\160\157\162\x5f\x66\151\163\x69\x6b")->result();
        goto WSkxw;
        koUeD:
        Unp6J:
        goto irPNL;
        WSkxw:
        $ret = [];
        goto sv0cL;
        irPNL:
        kVaMA:
        goto Saq42;
        sv0cL:
        if (!$result) {
            goto kVaMA;
        }
        goto Bsu2R;
        Saq42:
        return $ret;
        goto xidhP;
        Bsu2R:
        foreach ($result as $key => $row) {
            $ret[$row->id_siswa][$row->id_tp][$row->id_smt] = $row;
            prs4d:
        }
        goto koUeD;
        xidhP:
    }
    public function getDeskripsiFisikKelas($kelas, $id_tp, $id_smt)
    {
        $this->db->where("\x69\144\137\x66\151\x73\x69\153", $kelas)->where("\151\x64\137\x74\160", $id_tp)->where("\x69\x64\x5f\x73\x6d\164", $id_smt);
        return $this->db->get("\x72\141\160\157\162\x5f\x64\x61\x74\141\x5f\146\151\x73\151\153")->row();
    }
    public function getFisikKelas($id_kelas, $id_siswa, $id_tp, $id_smt)
    {
        goto V8gsp;
        LzqvM:
        $this->db->from("\162\141\160\157\162\137\x66\151\x73\151\153");
        goto qNiBA;
        V8gsp:
        $this->db->select("\52");
        goto LzqvM;
        qNiBA:
        $this->db->where("\x69\x64\x5f\146\x69\163\x69\153", $id_kelas . $id_siswa . $id_tp . $id_smt);
        goto rgTqE;
        rgTqE:
        return $this->db->get()->row();
        goto Ma1UH;
        Ma1UH:
    }
    public function getAllFisikKelas($id_kelas)
    {
        goto Ih2Lj;
        Ih2Lj:
        $this->db->select("\x2a");
        goto rSFVU;
        rSFVU:
        $this->db->from("\162\141\160\157\x72\137\x66\151\x73\x69\153");
        goto D9zTd;
        zjatg:
        return $this->db->get()->result();
        goto r0LF2;
        D9zTd:
        $this->db->where("\x69\x64\137\x6b\145\154\x61\163", $id_kelas);
        goto zjatg;
        r0LF2:
    }
    public function getJmlNilaiMapelHarianSiswa($id_mapel, $id_siswa, $id_tp, $id_smt)
    {
        goto pHf3C;
        f5kAi:
        $this->db->where("\151\x64\137\164\160", $id_tp);
        goto UFF1E;
        UFF1E:
        $this->db->where("\151\144\137\x73\155\x74", $id_smt);
        goto XjF3V;
        pHf3C:
        $this->db->select("\160\x5f\x72\x61\x74\141\137\162\141\164\x61\x2c\40\153\137\x72\141\164\141\x5f\x72\x61\164\x61\x2c\40\x6a\x6d\x6c");
        goto kppPd;
        XjF3V:
        return $this->db->get()->row();
        goto r9WBA;
        i9t7s:
        $this->db->where("\151\144\x5f\155\141\x70\x65\154", $id_mapel);
        goto Memwz;
        kppPd:
        $this->db->from("\x72\141\160\x6f\162\137\156\x69\154\x61\151\137\150\x61\162\151\141\x6e");
        goto i9t7s;
        Memwz:
        $this->db->where("\x69\x64\x5f\163\151\x73\167\141", $id_siswa);
        goto f5kAi;
        r9WBA:
    }
    public function getNilaiMapelHarianSiswa($id_mapel, $id_siswa, $id_tp, $id_smt)
    {
        goto UePyI;
        Ae2yr:
        $this->db->where("\151\144\x5f\163\x69\x73\x77\x61", $id_siswa);
        goto JxeVc;
        T8p3n:
        return $this->db->get()->row();
        goto j7EC0;
        wmuwq:
        $this->db->from("\x72\x61\x70\157\x72\x5f\156\x69\x6c\x61\151\137\150\141\162\151\x61\x6e");
        goto n4KI4;
        n4KI4:
        $this->db->where("\x69\x64\137\x6d\141\160\x65\154", $id_mapel);
        goto Ae2yr;
        JxeVc:
        $this->db->where("\151\144\137\164\160", $id_tp);
        goto bt_6W;
        bt_6W:
        $this->db->where("\x69\144\137\163\x6d\164", $id_smt);
        goto T8p3n;
        UePyI:
        $this->db->select("\x70\61\54\160\x32\x2c\160\63\54\x70\64\54\160\65\54\x6b\61\x2c\153\62\x2c\x6b\x33\54\x6b\64\54\153\x35");
        goto wmuwq;
        j7EC0:
    }
    public function getNilaiMapelPtsSiswa($id_mapel, $id_siswa, $id_tp, $id_smt)
    {
        goto jauYC;
        mVPfT:
        $this->db->where("\151\x64\137\x73\x6d\164", $id_smt);
        goto NTnV_;
        NTnV_:
        return $this->db->get()->row();
        goto oi_FD;
        z2HX0:
        $this->db->from("\x72\x61\x70\157\x72\137\x6e\x69\x6c\141\151\x5f\x70\x74\163");
        goto W2QeR;
        jauYC:
        $this->db->select("\156\x69\x6c\141\151");
        goto z2HX0;
        MApPm:
        $this->db->where("\151\x64\137\163\x69\x73\167\141", $id_siswa);
        goto KFepf;
        W2QeR:
        $this->db->where("\x69\x64\x5f\x6d\141\x70\x65\154", $id_mapel);
        goto MApPm;
        KFepf:
        $this->db->where("\151\x64\x5f\x74\x70", $id_tp);
        goto mVPfT;
        oi_FD:
    }
    public function getNilaiMapelPasSiswa($id_mapel, $id_siswa, $id_tp, $id_smt)
    {
        goto ifLsY;
        A4POm:
        $this->db->where("\x69\x64\137\163\x6d\x74", $id_smt);
        goto lWIw8;
        pfWvY:
        $this->db->from("\162\141\x70\x6f\162\x5f\156\x69\154\x61\151\x5f\141\153\150\x69\x72");
        goto UesT0;
        ifLsY:
        $this->db->select("\156\151\154\141\151\x2c\141\153\x68\x69\162");
        goto pfWvY;
        gGgyK:
        $this->db->where("\151\144\x5f\163\x69\x73\x77\141", $id_siswa);
        goto scx1P;
        lWIw8:
        return $this->db->get()->row();
        goto qV5s3;
        scx1P:
        $this->db->where("\x69\144\x5f\164\160", $id_tp);
        goto A4POm;
        UesT0:
        $this->db->where("\x69\x64\137\x6d\x61\x70\x65\x6c", $id_mapel);
        goto gGgyK;
        qV5s3:
    }
    public function getNilaiRapor($id_mapel, $id_kelas, $id_siswa, $id_tp, $id_smt)
    {
        goto c6IVi;
        Hc77z:
        return $this->db->get()->row_array();
        goto d9HD7;
        Z6sTO:
        $this->db->join("\x72\141\x70\x6f\x72\137\x6e\151\154\141\151\137\x61\x6b\x68\x69\162\x20\x62", "\x62\56\x69\144\x5f\156\151\x6c\141\151\137\141\153\x68\x69\162\75\141\56\151\x64\137\156\151\154\x61\151\137\150\x61\x72\x69\x61\x6e", "\x6c\x65\x66\x74");
        goto hmEwJ;
        hmEwJ:
        $this->db->where("\141\x2e\x69\x64\x5f\156\x69\x6c\x61\151\137\150\x61\162\151\141\156", $id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt);
        goto Hc77z;
        c6IVi:
        $this->db->select("\x61\56\160\137\162\141\x74\x61\x5f\162\x61\x74\141\54\40\x61\x2e\x70\x5f\x64\x65\x73\x6b\x72\151\x70\163\151\54\x20\141\x2e\153\x5f\x72\x61\164\141\137\x72\x61\164\141\x2c\40\x61\56\153\x5f\160\162\145\x64\x69\153\141\x74\54\40\141\x2e\153\x5f\144\x65\163\153\x72\x69\x70\x73\x69\x2c\x20\x62\x2e\156\x69\x6c\141\151\40\x61\163\x20\156\x69\154\141\x69\137\x70\141\163\54\40\142\x2e\141\153\150\151\x72\40\141\163\x20\156\x69\154\141\151\54\40\142\x2e\160\162\145\x64\x69\x6b\141\x74");
        goto fMhsm;
        fMhsm:
        $this->db->from("\162\141\x70\157\162\137\x6e\x69\154\x61\x69\x5f\150\141\162\x69\141\x6e\x20\x61");
        goto Z6sTO;
        d9HD7:
    }
    public function getNilaiMapelByKelas($id_mapel, $id_kelas, $id_tp, $id_smt)
    {
        goto wsTme;
        paGgX:
        $this->db->where("\x61\56\x69\144\x5f\163\155\164", $id_smt);
        goto FH4Dx;
        wsTme:
        $this->db->select("\141\x2e\160\x5f\162\x61\164\141\x5f\162\x61\164\141\x2c\40\141\x2e\x70\x5f\x64\x65\163\153\162\151\x70\163\151\x2c\40\x61\x2e\153\x5f\162\141\164\141\137\162\x61\164\141\54\40\x61\x2e\153\137\160\x72\x65\x64\x69\153\x61\164\x2c\x20\141\x2e\153\x5f\144\145\x73\153\x72\151\x70\x73\x69\54\x20\142\56\156\x69\154\141\x69\40\x61\x73\40\156\x69\x6c\141\x69\x5f\x70\x61\x73\x2c\40\x62\56\141\x6b\x68\151\x72\x20\x61\163\40\x6e\x69\x6c\x61\151\54\x20\142\x2e\x70\x72\145\x64\x69\153\141\x74");
        goto SDWzH;
        FH4Dx:
        return $this->db->get()->result();
        goto eD26A;
        d4XV1:
        $this->db->join("\x72\x61\160\157\162\x5f\x6e\x69\154\141\151\137\141\x6b\150\x69\162\40\x62", "\x62\x2e\151\144\137\156\151\x6c\141\151\137\x61\153\x68\151\162\x3d\x61\x2e\151\144\x5f\156\151\154\x61\x69\x5f\x68\x61\x72\x69\141\x6e", "\x6c\145\x66\164");
        goto Spf0w;
        gf5rt:
        $this->db->where("\141\x2e\151\144\137\153\x65\154\141\163", $id_kelas);
        goto oDGhU;
        oDGhU:
        $this->db->where("\141\x2e\x69\x64\137\164\x70", $id_tp);
        goto paGgX;
        Spf0w:
        $this->db->where("\141\56\151\x64\137\155\141\160\145\154", $id_mapel);
        goto gf5rt;
        SDWzH:
        $this->db->from("\x72\141\160\157\x72\137\x6e\x69\154\x61\151\137\150\x61\162\x69\x61\156\40\141");
        goto d4XV1;
        eD26A:
    }
    public function getNilaiRaporByKelas($id_kelas, $id_tp, $id_smt)
    {
        goto u2bls;
        u2bls:
        $this->db->select("\x61\x2e\151\144\137\x6e\x69\154\141\151\137\x68\141\x72\x69\141\x6e\54\x20\x61\56\151\x64\x5f\x73\151\163\167\x61\54\40\x61\56\151\144\x5f\x6d\x61\160\145\154\x2c\x20\141\x2e\x70\137\x72\x61\x74\x61\137\162\x61\164\141\54\x20\141\56\160\137\144\x65\x73\153\162\x69\160\163\x69\54\40\x61\x2e\x6b\x5f\x72\x61\164\141\137\162\141\x74\141\x2c\x20\141\56\153\137\160\162\x65\144\x69\153\x61\x74\x2c\x20\x61\x2e\x6b\137\144\145\163\x6b\162\x69\x70\163\151\54\40\142\56\156\151\x6c\x61\x69\40\141\x73\x20\x6e\151\154\141\x69\137\160\x61\x73\54\40\x62\x2e\141\153\x68\151\162\40\x61\x73\x20\x6e\151\154\x61\x69\54\40\x62\56\160\x72\x65\144\x69\x6b\x61\x74");
        goto D6tcL;
        ZwvBR:
        $this->db->where("\x61\x2e\151\144\137\x74\160", $id_tp);
        goto KQvKh;
        ozYpI:
        return $this->db->get()->result();
        goto c5F2I;
        WRPQU:
        $this->db->where("\141\56\151\144\x5f\x6b\145\x6c\141\x73", $id_kelas);
        goto ZwvBR;
        iZ9lB:
        $this->db->join("\x72\x61\x70\157\162\x5f\156\151\154\141\x69\137\x61\153\x68\151\x72\x20\142", "\x62\56\151\x64\x5f\x6e\151\154\x61\x69\x5f\x61\153\150\151\162\75\141\x2e\x69\144\x5f\x6e\151\x6c\141\151\137\150\141\162\151\x61\x6e", "\x6c\145\146\x74");
        goto WRPQU;
        D6tcL:
        $this->db->from("\x72\141\160\157\162\x5f\156\151\x6c\x61\x69\137\x68\x61\162\151\141\x6e\40\141");
        goto iZ9lB;
        KQvKh:
        $this->db->where("\141\x2e\151\x64\x5f\163\155\x74", $id_smt);
        goto ozYpI;
        c5F2I:
    }
    public function getPrestasiByKelas($id_kelas, $id_tp, $id_smt)
    {
        goto vgio_;
        vgio_:
        $this->db->select("\x69\144\x5f\x73\x69\163\x77\141\x2c\40\x72\x61\156\153\151\x6e\x67\54\40\144\145\x73\x6b\162\x69\160\163\151\x20\141\x73\x20\x72\141\156\153\x5f\144\x65\x73\x6b\x72\151\160\x73\151\54\x20\x70\x31\x2c\40\160\61\x5f\144\x65\x73\153\x2c\x20\160\62\54\40\x70\x32\x5f\x64\145\163\x6b\x2c\40\160\63\x2c\x20\x70\x33\137\x64\x65\163\x6b");
        goto ScX_m;
        HC3Q_:
        $this->db->where("\x69\x64\x5f\x6b\x65\154\141\163", $id_kelas);
        goto EnoqJ;
        miTW6:
        $rest = [];
        goto fW1Kh;
        FkyrD:
        $this->db->where("\151\x64\x5f\x73\x6d\x74", $id_smt);
        goto try5u;
        EnoqJ:
        $this->db->where("\151\x64\x5f\x74\160", $id_tp);
        goto FkyrD;
        ScX_m:
        $this->db->from("\162\141\x70\157\x72\x5f\x70\162\x65\163\164\x61\163\x69");
        goto HC3Q_;
        TZ1ns:
        return $rest;
        goto nJg1A;
        fW1Kh:
        foreach ($ranks as $rank) {
            $rest[$rank->id_siswa] = $rank;
            AGpG3:
        }
        goto fB_Zu;
        try5u:
        $ranks = $this->db->get()->result();
        goto miTW6;
        fB_Zu:
        dkbR0:
        goto TZ1ns;
        nJg1A:
    }
    public function getCatatanWaliByKelas($id_kelas, $id_tp, $id_smt)
    {
        goto n2vNf;
        ZUpdc:
        return $rest;
        goto nv9jg;
        PH1H2:
        foreach ($desks as $desk) {
            $rest[$desk->id_siswa] = $desk;
            CMvRh:
        }
        goto lWrEz;
        c_OH1:
        $rest = [];
        goto PH1H2;
        lIgwa:
        $this->db->where("\x69\x64\x5f\164\x70", $id_tp);
        goto MMbzR;
        iTO6G:
        $desks = $this->db->get()->result();
        goto c_OH1;
        MMbzR:
        $this->db->where("\151\x64\137\x73\x6d\164", $id_smt);
        goto iTO6G;
        Bjx6m:
        $this->db->where("\151\144\x5f\153\x65\x6c\x61\x73", $id_kelas);
        goto lIgwa;
        cpZm_:
        $this->db->from("\162\141\x70\x6f\162\x5f\143\x61\164\x61\164\x61\156\x5f\x77\141\154\151");
        goto Bjx6m;
        n2vNf:
        $this->db->select("\151\x64\137\x73\x69\x73\x77\x61\54\x20\x6e\x69\x6c\x61\151\x2c\x20\144\x65\x73\x6b\x72\x69\160\x73\151\40\x61\163\40\x73\141\162\141\156");
        goto cpZm_;
        lWrEz:
        u_Ssy:
        goto ZUpdc;
        nv9jg:
    }
    public function getRaporDeskripsi($id_kelas, $id_siswa, $id_tp, $id_smt)
    {
        goto YA1np;
        BDrmK:
        return $this->db->get()->row();
        goto KOEOa;
        YA1np:
        $this->db->select("\142\x2e\x72\x61\156\x6b\151\x6e\x67\x2c\40\142\x2e\144\145\x73\x6b\x72\151\160\x73\x69\x20\141\163\40\x72\x61\156\x6b\x5f\x64\x65\x73\x6b\162\151\x70\x73\x69\54\x20\142\56\160\x31\54\x20\142\x2e\x70\61\137\x64\x65\163\x6b\54\40\142\x2e\160\x32\54\40\x62\56\160\x32\x5f\144\145\163\153\x2c\x20\142\x2e\x70\x33\x2c\40\142\x2e\x70\x33\137\144\145\163\153\54" . "\40\143\x2e\x6e\x69\x6c\141\x69\x2c\40\143\56\144\145\163\153\x72\x69\160\x73\x69\40\141\163\40\163\141\x72\141\x6e");
        goto aai7C;
        QGJ0m:
        $this->db->join("\x72\141\160\x6f\x72\x5f\x63\141\164\x61\x74\141\x6e\x5f\167\141\154\151\x20\x63", "\143\x2e\151\x64\x5f\x63\x61\x74\x61\164\x61\156\x5f\x77\x61\x6c\x69\x3d\x62\56\x69\144\137\x72\141\x6e\x6b\x69\156\x67", "\x6c\x65\146\164");
        goto YA0Bs;
        YA0Bs:
        $this->db->where("\142\56\x69\x64\x5f\x72\141\156\x6b\151\x6e\x67", $id_kelas . $id_siswa . $id_tp . $id_smt);
        goto BDrmK;
        aai7C:
        $this->db->from("\162\141\x70\157\162\x5f\160\162\x65\x73\164\141\x73\x69\40\142");
        goto QGJ0m;
        KOEOa:
    }
    public function getDummyDeskripsiSpiritual()
    {
        return ["\x62\145\162\144\157\x61\x20\x73\x65\142\x65\x6c\x75\155\40\x64\141\156\40\163\x65\163\x75\x64\x61\x68\40\155\x65\x6c\x61\153\165\x6b\141\x6e\x20\x6b\145\x67\151\x61\164\141\156", "\155\x65\x6e\152\141\x6c\x61\x6e\x6b\x61\x6e\40\151\x62\141\x64\141\150\x20\x73\x65\x73\x75\x61\151\x20\144\x65\x6e\147\141\x6e\40\x61\x67\141\x6d\x61\156\x79\141", "\x6d\x65\155\x62\x65\162\x69\40\163\141\154\x61\155\x20\160\141\144\x61\40\163\x61\x61\164\40\141\x77\x61\x6c\40\144\x61\156\40\141\x6b\150\151\162\x20\153\145\147\151\141\x74\141\156", "\x62\x65\x72\163\x79\x75\153\x75\x72\40\x61\x74\x61\x73\x20\156\151\x6b\155\x61\164\x20\144\141\x6e\40\153\x61\162\165\156\x69\141\40\124\x75\150\x61\x6e\40\131\141\156\x67\40\x4d\141\150\x61\40\105\163\141", "\155\x65\x6e\163\171\165\x6b\165\162\x69\40\x6b\x65\x6d\x61\155\160\x75\x61\156\x20\x6d\141\x6e\x75\x73\x69\141\40\x64\141\x6c\x61\x6d\40\155\145\156\147\145\x6e\x64\141\x6c\151\x6b\x61\156\40\144\x69\162\151", "\142\x65\162\x73\171\x75\x6b\x75\162\x20\x6b\145\164\151\x6b\141\40\142\145\x72\x68\141\x73\x69\x6c\40\x6d\x65\x6e\x67\145\x72\152\141\x6b\x61\x6e\x20\x73\145\163\x75\x61\164\165", "\x62\x65\162\x73\x65\x72\141\x68\x20\x64\x69\x72\151\x20\50\x74\141\167\x61\x6b\141\154\x29\x20\153\x65\x70\x61\144\x61\x20\124\x75\x68\141\156\40\163\x65\164\x65\x6c\x61\150\x20\142\145\162\151\x6b\x68\x74\x69\x61\162\x20\x61\x74\141\165\40\155\x65\x6c\141\153\165\x6b\x61\x6e\40\165\x73\x61\150\141", "\155\145\155\x65\x6c\151\x68\141\x72\x61\x20\150\165\142\165\x6e\147\141\x6e\40\x62\141\x69\x6b\x20\144\145\156\x67\x61\x6e\40\x73\x65\163\141\x6d\x61\40\165\x6d\x61\164", "\142\145\162\x73\x79\x75\153\x75\162\x20\163\x65\x62\x61\147\141\151\40\x62\141\156\147\x73\x61\40\111\156\144\x6f\x6e\x65\x73\151\141", "\x6d\145\x6e\147\150\x6f\162\155\x61\x74\151\40\157\x72\x61\x6e\147\x20\154\x61\151\156\x20\171\141\x6e\x67\40\x6d\145\x6e\152\141\x6c\141\x6e\x6b\x61\x6e\40\x69\142\141\144\141\x68\40\x73\x65\163\x75\x61\x69\40\144\x65\x6e\147\x61\156\40\141\x67\141\155\141\x6e\171\x61"];
    }
    public function getDummyDeskripsiSosial()
    {
        return ["\152\165\x6a\165\x72", "\x64\x69\163\x69\160\154\x69\156", "\164\x61\156\x67\147\165\156\147\x20\x6a\x61\167\x61\x62", "\163\141\156\x74\165\x6e", "\x70\x65\x72\143\141\x79\141\40\144\151\162\x69", "\160\x65\144\165\154\x69", "\x74\157\x6c\x65\162\x61\156\163\x69", "\147\157\x74\157\x6e\x67\40\162\157\x79\157\x6e\x67", "\x72\x61\x6a\x69\x6e", "\x74\x69\x64\x61\x6b\40\155\165\x64\141\150\x20\x6d\145\x6e\x79\x65\162\x61\x68"];
    }
    public function getDummyDeskripsiAbsensi()
    {
        return ["\x4b\145\150\141\x64\x69\x72\x61\156\x20\143\165\x6b\x75\160\x20\142\141\151\153\40\x6e\141\x6d\165\156\x20\x70\145\x72\x6c\x75\x20\x64\151\x74\x69\x6e\147\x6b\x61\x74\x6b\141\156\56", "\x55\x73\x61\x68\141\x6b\141\x6e\40\150\x61\x64\x69\x72\x20\x73\x65\x74\151\x61\160\40\150\x61\162\x69\56", "\112\x61\x6e\147\141\x6e\x20\x74\145\x72\154\141\x6c\165\x20\142\141\156\x79\x61\153\x20\x61\154\x70\141\x2c\x20\144\x69\150\x61\x72\141\160\153\141\x6e\x20\163\145\154\141\x6c\165\40\150\141\x64\151\x72\x20\153\145\40\x73\x65\153\157\154\141\x68", "\113\x65\150\x61\x64\151\162\141\156\x6d\x75\40\163\141\x6e\x67\141\x74\x20\152\141\162\x61\156\147\40\x73\145\x6b\x61\154\151"];
    }
    public function getDummyDeskripsiCatatan()
    {
        return ["\123\145\x6c\x61\154\x75\40\142\145\x72\x75\x73\x61\x68\x61\40\165\x6e\x74\x75\x6b\x20\155\145\x6d\x61\164\x75\x68\151\40\x74\141\164\x61\x20\164\x65\162\164\151\142\40\x73\x65\x6b\x6f\154\141\x68\x20\144\141\x6e\x20\x70\141\164\x75\150\40\164\145\x72\150\141\x64\141\160\x20\107\165\x72\x75\56", "\x53\145\154\141\x6c\165\x20\142\145\x72\x75\x73\141\x68\141\40\x75\156\164\165\153\x20\155\141\x6e\144\151\x72\151\x20\x64\141\x6e\x20\164\x65\x70\x61\x74\40\x77\141\x6b\164\x75\40\144\141\154\x61\x6d\x20\x6d\x65\x6e\147\x65\162\152\x61\x6b\141\156\x20\164\165\x67\141\163\56", "\115\x65\155\160\x75\156\x79\141\151\40\x6b\x65\155\141\x6d\x70\165\x61\x6e\x20\x64\x61\x6e\x20\x6d\157\164\x69\166\x61\x73\151\40\171\141\156\x67\40\164\151\x6e\x67\147\x69\40\165\x6e\164\165\x6b\40\155\145\156\x67\147\x75\156\141\153\141\156\40\x77\x61\x6b\164\x75\40\163\x65\x63\x61\162\x61\40\x65\x66\151\x73\151\x65\x6e\56", "\104\x69\x68\x61\x72\141\160\x6b\x61\156\x20\x6d\145\162\x75\142\141\150\40\160\145\x6e\141\155\x70\x69\x6c\x61\156\x6e\171\141\x20\155\x65\156\152\x61\x64\x69\40\154\145\x62\151\150\40\162\x61\160\x69\54\x20\x73\145\x70\145\162\164\151\40\164\145\x6e\x74\141\x6e\x67\x20\x70\157\x74\x6f\x6e\147\40\x72\x61\155\x62\165\x74\40\x64\x61\156\x20\x63\141\x72\141\x20\142\x65\x72\x70\x61\x6b\141\151\141\x6e\x2e", "\115\x61\x73\151\150\x20\x70\x65\162\154\x75\40\x6d\145\x6d\x70\x65\x72\x62\x61\156\171\x61\153\x20\164\x65\x6d\x61\156\x20\x62\x65\162\147\x61\x75\154\x20\x64\x61\x6e\x20\x74\x65\x6d\141\x6e\40\144\151\163\x6b\x75\x73\151\54\x20\x6b\x75\162\141\156\147\x69\x20\x61\153\164\x69\146\151\x74\x61\x73\x20\x6d\x65\156\171\x65\x6e\x64\151\162\x69\x2e", "\x44\151\x68\x61\x72\x61\x70\x6b\x61\156\x20\144\141\x70\x61\164\x20\155\145\156\151\x6e\147\153\x61\164\153\x61\x6e\x20\x6b\157\x6d\151\164\x6d\145\156\156\x79\141\40\165\156\x74\165\x6b\x20\x6c\145\x62\x69\x68\40\x73\x65\162\x69\165\163\40\x73\x61\141\164\x20\x6d\145\156\147\x65\x72\152\x61\153\141\x6e\40\x74\x75\x67\x61\x73\40\144\x61\x6e\40\x74\x69\144\141\x6b\40\x6d\x75\144\x61\150\40\x6d\145\x6e\171\145\162\141\x68\56"];
    }
    public function getDummyDeskripsiRanking()
    {
        return ["\120\162\x65\163\x74\141\x73\x69\x6e\x79\x61\x20\x73\x61\x6e\147\141\164\40\x62\141\x69\153\54\40\160\145\x72\154\165\40\x64\151\160\x65\x72\164\x61\150\141\156\153\141\156\x2e", "\120\162\145\x73\x74\141\163\151\x20\142\x61\151\153\54\x20\160\x65\x72\154\x75\40\144\x69\x70\x65\162\164\141\150\x61\156\x6b\x61\x6e\x20\144\141\156\40\144\x74\x69\x6e\147\x6b\x61\164\x6b\141\x6e\56", "\x50\x72\145\x73\164\x61\x73\x69\x20\143\165\153\165\160\x2c\x20\x70\145\x72\154\x75\40\144\151\x74\x69\156\x67\x6b\x61\x74\153\141\156\40\x62\145\154\141\152\x61\x72\40\x64\141\x6e\40\142\x65\162\144\157\x61\x2e", "\120\x65\x72\154\x75\40\x64\151\x74\x69\156\x67\x6b\x61\x74\153\x61\x6e\40\142\x65\154\141\152\x61\x72\x6e\x79\141\x2c\x20\152\x61\x6e\147\x61\x6e\x20\x6c\165\x70\141\40\x62\145\x72\x64\157\141\x2e", "\x50\x65\x72\x6c\x75\40\144\x69\x6d\141\153\163\x69\x6d\141\154\x6b\141\x6e\40\x62\145\154\x61\152\x61\162\x6e\x79\x61\x2c\x20\165\x73\x61\150\141\40\x6b\145\162\x61\x73\x20\144\x61\x6e\x20\142\145\162\144\157\141\56", "\120\x65\x72\x6c\165\40\165\163\141\150\141\x20\153\x65\x72\141\163\x2c\40\155\141\x6b\163\x69\155\x61\x6c\x6b\x61\x6e\40\x62\145\x6c\x61\152\141\x72\x6e\171\141\54\x20\x6c\x65\142\151\x68\x20\147\x69\x61\x74\x20\x62\x65\x72\x64\157\x61\x20\x64\x61\156\40\x62\145\162\151\x62\x61\144\x61\150\x2e"];
    }
    public function getDummyDeskripsiFisik($jenis)
    {
        goto ADoYs;
        kc4NS:
        return ["\x42\x61\151\x6b", "\x53\x65\162\x69\156\147\40\142\x65\x72\141\151\x72", "\113\165\x72\141\156\147\40\x6a\145\x6c\141\163\40\x6a\x69\x6b\141\40\x6d\145\154\x69\150\x61\164\40\x6a\x61\162\x61\153\40\152\x61\165\150", ''];
        goto voGVj;
        diy0c:
        if ($jenis == "\x33") {
            goto BSa1x;
        }
        goto w2uDm;
        pdRps:
        qbW4N:
        goto dLkOC;
        WuwoH:
        goto G_kfi;
        goto tK_Am;
        tK_Am:
        UIcSO:
        goto kc4NS;
        zmor9:
        G_kfi:
        goto jzmBb;
        voGVj:
        goto G_kfi;
        goto ZC28L;
        Jq0EO:
        if ($jenis == "\62") {
            goto UIcSO;
        }
        goto diy0c;
        dLkOC:
        return ["\102\x61\x69\x6b", "\113\165\162\141\x6e\147\40\160\145\x6b\141", "\124\145\154\151\156\x67\141\x20\x70\x65\x72\x6c\x75\x20\144\x69\142\145\x72\163\151\x68\x6b\x61\x6e", ''];
        goto WuwoH;
        nvMgi:
        goto G_kfi;
        goto pdRps;
        ADoYs:
        if ($jenis == "\x31") {
            goto qbW4N;
        }
        goto Jq0EO;
        NNepo:
        return ["\102\x61\151\153\x2c\40\156\x61\x6d\160\141\153\x20\x70\165\164\151\x68\x20\144\141\156\x20\142\145\162\x73\x69\x68", "\124\145\162\144\141\160\141\164\x20\147\x69\147\x69\x20\171\141\x6e\147\40\147\x69\147\x69\163", "\113\145\142\145\162\163\x69\x68\141\x6e\40\147\x69\147\151\x20\153\165\x72\141\x6e\147\x20\164\145\162\x6a\141\x67\x61", "\x41\144\x61\40\147\x69\x67\151\40\x79\x61\156\x67\40\155\x61\x75\x20\164\x61\x6e\147\x67\141\x6c"];
        goto zmor9;
        ZC28L:
        BSa1x:
        goto NNepo;
        w2uDm:
        return ["\x54\x75\x62\x75\x68\x20\x73\x65\150\141\x74\x20\x64\x61\x6e\40\x6b\x75\141\164", "\115\x75\x64\141\150\40\x6b\145\x63\x61\x70\145\153\x61\156", "\x4b\x65\x62\145\x72\163\x69\x68\x61\x6e\40\x62\x61\x64\141\x6e\x20\x6b\165\x72\x61\156\147\x20\164\145\162\152\x61\x67\x61", ''];
        goto nvMgi;
        jzmBb:
    }
    public function getKenaikanSiswa($id_kelas, $id_tp, $id_smt, $level = null)
    {
        goto zdei4;
        FkgcK:
        $this->db->join("\162\141\x70\x6f\x72\137\156\141\x69\153\40\144", "\141\56\151\144\137\x73\x69\163\x77\x61\x3d\x64\56\151\x64\x5f\x73\151\x73\x77\x61\40\101\116\x44\40\141\x2e\151\x64\x5f\164\160\x3d\x64\x2e\x69\x64\x5f\x74\x70\x20\101\116\x44\40\x61\x2e\x69\144\137\x73\155\x74\75\x64\56\x69\144\137\163\155\x74", "\154\x65\x66\164");
        goto WF72Y;
        QetZt:
        $this->db->where("\x61\56\x69\144\x5f\163\x6d\164", $id_smt);
        goto JG99w;
        RGf0y:
        $this->db->from("\x6b\x65\x6c\141\163\137\163\x69\163\x77\x61\x20\141");
        goto zSy_U;
        ew2Oz:
        $this->db->where("\141\56\151\x64\137\x6b\145\154\141\163", $id_kelas);
        goto Evycy;
        fq2ih:
        $this->db->select("\141\x2e\52\x2c\x20\142\56\x6e\x61\155\x61\x2c\40\142\56\156\x69\x73\54\x20\x62\x2e\156\151\163\x6e\x2c\40\x62\56\165\163\x65\x72\x6e\x61\155\145\54\x20\x63\x2e\151\144\x5f\153\145\154\x61\163\54\40\143\56\156\141\155\141\x5f\x6b\x65\x6c\x61\x73\x2c\x20\143\56\154\x65\166\x65\154\137\x69\144\54\x20\144\56\156\141\x69\x6b");
        goto RGf0y;
        SvMzg:
        $this->db->join("\155\x61\163\x74\x65\x72\x5f\153\145\154\141\x73\40\143", "\141\x2e\x69\x64\137\153\145\x6c\x61\x73\75\x63\x2e\151\x64\x5f\153\145\x6c\x61\163", "\x6c\x65\x66\164");
        goto FkgcK;
        H5cUK:
        UtzCm:
        goto E_T8C;
        MGYpr:
        $this->db->where("\x63\56\154\x65\x76\145\154\137\151\144", $level);
        goto H5cUK;
        zSy_U:
        $this->db->join("\155\141\x73\164\145\162\137\163\x69\x73\167\x61\40\x62", "\141\x2e\x69\x64\x5f\x73\151\163\x77\x61\75\x62\x2e\x69\144\x5f\x73\x69\x73\167\x61", "\154\x65\x66\164");
        goto SvMzg;
        bGppe:
        $this->db->where("\x61\56\151\144\137\x74\x70", $id_tp);
        goto QetZt;
        JG99w:
        return $this->db->get()->result();
        goto yCrod;
        WF72Y:
        if (!($level != null)) {
            goto UtzCm;
        }
        goto MGYpr;
        Evycy:
        KnwlY:
        goto bGppe;
        zdei4:
        $this->db->query("\x53\105\124\x20\x53\x51\114\x5f\102\111\x47\137\123\105\114\x45\x43\x54\123\75\61");
        goto fq2ih;
        E_T8C:
        if (!($id_kelas != null)) {
            goto KnwlY;
        }
        goto ew2Oz;
        yCrod:
    }
    public function getSiswaLulus($id_tp, $id_smt, $level)
    {
        goto LHj_D;
        LHj_D:
        $this->db->query("\x53\x45\x54\x20\x53\121\x4c\x5f\x42\x49\107\x5f\123\105\x4c\105\103\124\x53\75\x31");
        goto J7oPa;
        wHAx1:
        $this->db->join("\155\141\163\x74\145\x72\137\x6b\x65\x6c\141\x73\x20\143", "\x61\56\151\x64\137\x6b\x65\154\x61\163\x3d\143\x2e\151\x64\x5f\153\145\x6c\141\x73", "\154\145\x66\x74");
        goto W1Xrd;
        asq86:
        $this->db->where("\141\x2e\x69\x64\x5f\164\x70", $id_tp);
        goto T_pg5;
        MYU32:
        $this->db->where("\143\56\x6c\145\166\145\x6c\x5f\x69\144", $level);
        goto asq86;
        W1Xrd:
        $this->db->join("\162\x61\x70\157\162\137\x6e\141\151\153\x20\x64", "\x61\x2e\151\x64\137\x73\151\163\167\x61\75\x64\x2e\x69\144\137\x73\151\163\167\141\x20\101\116\104\40\141\x2e\151\144\x5f\x74\160\75\x64\56\x69\144\x5f\x74\160\40\x41\116\104\40\141\x2e\151\144\x5f\x73\155\164\75\144\56\x69\x64\x5f\163\x6d\164", "\154\145\x66\x74");
        goto MYU32;
        SHIjc:
        $this->db->from("\153\x65\x6c\x61\x73\x5f\x73\x69\163\167\141\x20\x61");
        goto AJ92G;
        J7oPa:
        $this->db->select("\x62\x2e\52\54\x20\x63\56\x6e\x61\x6d\141\137\x6b\x65\154\x61\163\x20\141\x73\40\153\x65\x6c\x61\x73\x5f\141\x6b\150\x69\162\x2c\40\x64\56\x6e\x61\151\x6b");
        goto SHIjc;
        raeBz:
        return $this->db->get()->result();
        goto FjIWt;
        AJ92G:
        $this->db->join("\x6d\141\x73\164\x65\162\x5f\x73\x69\x73\167\x61\x20\142", "\x61\56\151\144\137\x73\151\163\x77\141\x3d\x62\x2e\151\144\137\x73\x69\163\x77\141", "\154\x65\146\164");
        goto wHAx1;
        T_pg5:
        $this->db->where("\141\56\x69\144\137\163\x6d\x74", $id_smt);
        goto raeBz;
        FjIWt:
    }
    public function getJumlahLulus($id_tp, $id_smt, $level)
    {
        goto bTNqH;
        tGeZi:
        $this->db->where("\141\56\x69\x64\137\164\160", $id_tp);
        goto uPZLi;
        rvV8J:
        $this->db->join("\162\x61\x70\157\162\137\156\x61\151\153\40\x64", "\x61\x2e\x69\x64\x5f\163\x69\163\167\141\75\x64\x2e\151\x64\137\163\151\163\x77\141\x20\101\116\x44\x20\141\x2e\151\144\137\164\x70\75\144\56\151\144\x5f\x74\160\x20\101\x4e\x44\40\x61\56\151\144\137\x73\x6d\164\x3d\144\56\x69\x64\x5f\x73\x6d\x74", "\154\x65\146\x74");
        goto GR71S;
        bTNqH:
        $this->db->query("\123\x45\x54\40\x53\121\114\x5f\x42\x49\107\x5f\x53\x45\114\105\103\124\123\75\61");
        goto HH8Ft;
        Wx21l:
        $this->db->from("\x6b\x65\x6c\141\163\137\163\x69\163\167\x61\x20\141");
        goto gZ2VW;
        HH8Ft:
        $this->db->select("\x61\x2e\52\54\40\142\56\x6e\x61\x6d\x61\54\x20\x62\56\156\151\x73\54\x20\x62\x2e\156\x69\163\156\54\40\142\56\x75\163\x65\x72\x6e\x61\x6d\x65\x2c\x20\143\56\151\x64\x5f\x6b\x65\x6c\x61\x73\54\40\x63\56\x6e\x61\155\141\137\153\145\x6c\x61\x73\54\x20\x63\x2e\154\x65\x76\145\154\137\x69\144\54\x20\x64\x2e\156\141\x69\153");
        goto Wx21l;
        uPZLi:
        $this->db->where("\141\56\x69\x64\137\163\155\164", $id_smt);
        goto NUpqQ;
        gZ2VW:
        $this->db->join("\x6d\x61\x73\164\x65\162\x5f\153\145\x6c\141\163\x20\x63", "\141\56\x69\144\137\153\x65\154\x61\163\x3d\143\x2e\x69\144\137\153\145\154\x61\163", "\x6c\x65\x66\x74");
        goto rvV8J;
        NUpqQ:
        return $this->db->count_all_results();
        goto s2fqv;
        GR71S:
        $this->db->where("\143\56\154\145\166\x65\154\x5f\x69\x64", $level);
        goto tGeZi;
        s2fqv:
    }
    public function getKenaikanRapor($id_kelas, $id_tp, $id_smt)
    {
        goto Yltd0;
        a0aKI:
        $ress = $this->db->get()->result();
        goto fW9Sz;
        Wxm0e:
        Oz9oh:
        goto oyh4J;
        Hp6H_:
        foreach ($ress as $res) {
            $ret[$res->id_siswa] = $res->naik;
            TfeSA:
        }
        goto Wxm0e;
        Ts8X0:
        $this->db->where("\x61\56\x69\144\x5f\153\x65\154\x61\163", $id_kelas);
        goto TbFEr;
        Yltd0:
        $this->db->select("\x61\x2e\151\144\137\153\x65\154\x61\x73\x2c\x20\141\x2e\151\x64\x5f\163\x69\x73\x77\141\54\40\x64\56\x6e\141\151\153");
        goto vMbRY;
        vMbRY:
        $this->db->from("\x6b\x65\x6c\x61\163\x5f\163\x69\x73\167\x61\x20\x61");
        goto mvcP0;
        b1rSa:
        $this->db->where("\141\x2e\x69\x64\x5f\x73\155\x74", $id_smt);
        goto a0aKI;
        oyh4J:
        return $ret;
        goto G1z6X;
        TbFEr:
        $this->db->where("\x61\56\x69\x64\x5f\164\160", $id_tp);
        goto b1rSa;
        mvcP0:
        $this->db->join("\x72\x61\160\x6f\x72\x5f\x6e\x61\151\153\40\x64", "\141\x2e\151\x64\137\163\x69\x73\167\x61\75\144\56\151\144\x5f\163\151\x73\x77\141\x20\101\116\x44\x20\x61\56\151\x64\x5f\164\x70\x3d\x64\x2e\x69\144\x5f\164\160\x20\101\x4e\104\x20\x61\56\x69\144\137\163\155\x74\75\x64\x2e\151\x64\x5f\x73\155\164", "\154\x65\146\164");
        goto Ts8X0;
        fW9Sz:
        $ret = [];
        goto Hp6H_;
        G1z6X:
    }
    public function getAllRaporSetting()
    {
        goto aMge0;
        aMge0:
        $result = $this->db->get("\162\x61\160\x6f\162\137\x61\144\155\151\x6e\x5f\163\x65\x74\164\x69\x6e\x67")->result();
        goto YqkPQ;
        H4okG:
        OwDQt:
        goto OSQNw;
        aqVML:
        foreach ($result as $key => $row) {
            $ret[$row->id_tp][$row->id_smt] = $row;
            QUbOv:
        }
        goto MD8Qz;
        YqkPQ:
        $ret = [];
        goto AYPqj;
        AYPqj:
        if (!$result) {
            goto OwDQt;
        }
        goto aqVML;
        OSQNw:
        return $ret;
        goto Ott3P;
        MD8Qz:
        RYjZu:
        goto H4okG;
        Ott3P:
    }
    public function getAllKkm()
    {
        goto NmYcI;
        VyXFf:
        foreach ($result as $res) {
            $ret[$res->id_tp][$res->id_smt][$res->id_kelas][$res->jenis][$res->id_mapel] = $res;
            bbLRR:
        }
        goto IJPGv;
        XfLID:
        $ret = [];
        goto VyXFf;
        jP4Aw:
        return $ret;
        goto bDqUb;
        NmYcI:
        $result = $this->db->get("\x72\141\160\x6f\162\137\x6b\153\x6d")->result();
        goto XfLID;
        IJPGv:
        pQPBo:
        goto jP4Aw;
        bDqUb:
    }
    public function getAllKkmRaporAkhir($kelas, $id_tp, $id_smt)
    {
        goto zZ3W2;
        GXpSH:
        $ret = [];
        goto me1vr;
        me1vr:
        foreach ($result as $res) {
            $ret[$res->jenis][$res->id_mapel] = $res;
            tO8qc:
        }
        goto mVHJA;
        mVHJA:
        G7B3x:
        goto IRRAc;
        K27Qv:
        $result = $this->db->get("\162\x61\x70\157\x72\x5f\153\153\x6d")->result();
        goto GXpSH;
        zZ3W2:
        $this->db->where("\x69\144\x5f\153\145\154\x61\x73", $kelas)->where("\151\x64\x5f\164\x70", $id_tp)->where("\x69\x64\x5f\x73\155\164", $id_smt);
        goto K27Qv;
        IRRAc:
        return $ret;
        goto jRS6g;
        jRS6g:
    }
    public function getAllNilaiAkhir()
    {
        goto dc5Zm;
        BkEQz:
        Ld864:
        goto vqmwa;
        vvQhZ:
        $this->db->from("\x72\141\160\157\162\x5f\156\x69\154\x61\151\137\x68\x61\x72\151\141\x6e\x20\x61");
        goto dd4r5;
        vqmwa:
        return $ret;
        goto C6ukA;
        dd4r5:
        $this->db->join("\162\141\x70\157\x72\x5f\156\x69\154\x61\151\137\x70\x74\163\x20\x62", "\x62\56\151\x64\137\156\x69\x6c\x61\x69\137\160\x74\163\x3d\x61\x2e\x69\x64\137\156\x69\x6c\x61\x69\137\150\x61\x72\x69\x61\156", "\x6c\145\146\164");
        goto jSCmg;
        dc5Zm:
        $this->db->query("\x53\105\x54\x20\123\121\114\137\102\x49\x47\137\123\105\x4c\105\x43\x54\123\75\61");
        goto sy8be;
        jSCmg:
        $this->db->join("\x72\141\x70\157\162\x5f\x6e\x69\154\x61\151\137\x61\153\150\151\162\40\143", "\x63\56\x69\144\137\156\151\154\141\x69\137\x61\x6b\x68\151\x72\75\x61\56\151\x64\137\156\151\154\141\x69\137\150\141\162\x69\141\156", "\x6c\x65\146\x74");
        goto w8t10;
        w8t10:
        $result = $this->db->get()->result();
        goto bj8AB;
        QlFBw:
        foreach ($result as $res) {
            $ret[$res->id_tp][$res->id_smt][$res->id_siswa] = $res;
            Xv9WR:
        }
        goto BkEQz;
        bj8AB:
        $ret = [];
        goto QlFBw;
        sy8be:
        $this->db->select("\141\x2e\x69\x64\137\164\160\x2c\40\141\56\x69\144\137\x73\x6d\164\54\40\141\56\x69\144\137\x73\151\x73\x77\x61\54\40\141\x2e\160\137\x72\x61\164\141\x5f\x72\x61\164\x61\40\141\163\40\156\x68\x61\x72\54\x20\x61\56\x70\x5f\x64\x65\x73\x6b\162\x69\160\x73\x69\x2c\x20\x61\56\153\137\162\x61\164\x61\137\162\x61\164\x61\x2c" . "\x20\x61\x2e\153\x5f\160\x72\145\x64\x69\153\x61\x74\54\40\x61\x2e\x6b\x5f\x64\x65\x73\x6b\162\151\x70\x73\151\x2c\40\142\56\x6e\151\x6c\x61\x69\40\141\163\40\x6e\160\164\x73\54\x20\x63\56\x6e\151\x6c\141\x69\x20\x61\163\x20\x6e\160\141\163\54\x20\x63\x2e\160\162\x65\x64\x69\153\x61\x74");
        goto vvQhZ;
        C6ukA:
    }
    public function getDistinctTahunBukuNilai()
    {
        goto ltxEo;
        BFNQT:
        $this->db->distinct();
        goto Qsj2R;
        mo7IY:
        return $ret;
        goto iYuxf;
        Ot3Bi:
        $ret = [];
        goto l2pQ1;
        l2pQ1:
        foreach ($result as $row) {
            $ret[$row->tp] = $row->tp;
            mO0Jp:
        }
        goto mcQ9E;
        ltxEo:
        $this->db->select("\164\160");
        goto BFNQT;
        Qsj2R:
        $result = $this->db->get("\x62\x75\x6b\165\x5f\156\x69\154\x61\x69")->result();
        goto Ot3Bi;
        mcQ9E:
        A9qBg:
        goto mo7IY;
        iYuxf:
    }
    public function getDistinctSmtBukuNilai()
    {
        goto U23mR;
        gB5yr:
        return $ret;
        goto xG43o;
        OZvPc:
        $this->db->distinct();
        goto Ffj6C;
        Ffj6C:
        $result = $this->db->get("\x62\165\x6b\165\137\156\x69\x6c\x61\x69")->result();
        goto rSbYZ;
        aVvtK:
        foreach ($result as $row) {
            $ret[$row->smt] = $row->smt;
            qtNO1:
        }
        goto hR0zL;
        hR0zL:
        IIq9k:
        goto gB5yr;
        rSbYZ:
        $ret = [];
        goto aVvtK;
        U23mR:
        $this->db->select("\163\x6d\x74");
        goto OZvPc;
        xG43o:
    }
    public function getDistinctKelasBukuNilai()
    {
        goto H3bH0;
        ukavC:
        foreach ($result as $row) {
            $ret[$row->kelas] = $row->kelas;
            uQe1t:
        }
        goto OEcbM;
        OEcbM:
        nEiyK:
        goto IauPC;
        CuPIE:
        $ret = [];
        goto ukavC;
        K8UZF:
        $this->db->distinct();
        goto zB8_3;
        IauPC:
        return $ret;
        goto fx07m;
        zB8_3:
        $result = $this->db->get("\x62\x75\153\165\x5f\x6e\x69\x6c\141\151")->result();
        goto CuPIE;
        H3bH0:
        $this->db->select("\x6b\145\154\141\x73");
        goto K8UZF;
        fx07m:
    }
    public function getFisikBySiswa($id_siswa)
    {
        goto XySRY;
        aZmf5:
        qFwkk:
        goto btWgF;
        XySRY:
        $this->db->select("\x74\x70\54\40\146\151\163\x69\153");
        goto zOi3X;
        zOi3X:
        $this->db->from("\x62\165\153\165\137\x6e\151\x6c\x61\151");
        goto Jpm1r;
        dKfUq:
        $ret = [];
        goto LFhsf;
        btWgF:
        GsiDS:
        goto IXjLA;
        LFhsf:
        if (!$result) {
            goto GsiDS;
        }
        goto YC00X;
        ceuyw:
        $result = $this->db->get()->result();
        goto dKfUq;
        IXjLA:
        return $ret;
        goto C0TY8;
        YC00X:
        foreach ($result as $key => $row) {
            $ret[$row->tp] = $row;
            kio_e:
        }
        goto aZmf5;
        Jpm1r:
        $this->db->where("\151\x64\137\x73\151\x73\x77\141", $id_siswa);
        goto ceuyw;
        C0TY8:
    }
    public function getDataKumpulanRapor($kelas = null, $tp = null, $smt = null)
    {
        goto sWywe;
        wnATw:
        $result = $this->db->get()->result();
        goto CmnRF;
        Z6Xhj:
        return $ret;
        goto e0nVw;
        kDAvK:
        if (!($kelas != null)) {
            goto QEUbw;
        }
        goto UtDu0;
        G6gd8:
        if (!($tp != null)) {
            goto WEygC;
        }
        goto Vk9dk;
        Vk9dk:
        $this->db->where("\x61\56\164\160", $tp);
        goto Im1Yh;
        e7CnA:
        QEUbw:
        goto wnATw;
        pdz6K:
        $this->db->join("\x6d\x61\163\x74\145\x72\137\163\151\x73\x77\141\40\x62", "\x61\56\x69\x64\137\x73\151\163\x77\x61\75\x62\56\151\x64\x5f\163\151\x73\x77\x61");
        goto G6gd8;
        Y1J9E:
        if (!$result) {
            goto nv0St;
        }
        goto ILVmn;
        liKhZ:
        K9KnO:
        goto kDAvK;
        M3K67:
        $this->db->from("\142\x75\x6b\165\137\x6e\x69\x6c\141\x69\40\141");
        goto pdz6K;
        s5gFL:
        nv0St:
        goto Z6Xhj;
        UtDu0:
        $this->db->where("\141\x2e\x6b\x65\x6c\x61\x73", $kelas);
        goto e7CnA;
        ILVmn:
        foreach ($result as $key => $row) {
            $ret[$row->id_siswa] = $row;
            Sp_h9:
        }
        goto A_VVN;
        r074N:
        $this->db->where("\141\x2e\163\x6d\164", $smt);
        goto liKhZ;
        Im1Yh:
        WEygC:
        goto kSD3n;
        CmnRF:
        $ret = [];
        goto Y1J9E;
        A_VVN:
        gt8xV:
        goto s5gFL;
        sWywe:
        $this->db->select("\x2a");
        goto M3K67;
        kSD3n:
        if (!($smt != null)) {
            goto K9KnO;
        }
        goto r074N;
        e0nVw:
    }
    public function deleteNilaiRapor()
    {
        goto YsG28;
        YsG28:
        $this->db->empty_table("\x72\x61\160\x6f\x72\137\x6e\151\154\141\151\x5f\150\x61\x72\151\x61\x6e");
        goto jMoZ0;
        gBZZJ:
        $this->db->empty_table("\162\x61\160\x6f\x72\137\x6e\x69\x6c\x61\151\x5f\x65\x6b\163\x74\162\x61");
        goto xiwN2;
        jMoZ0:
        $this->db->empty_table("\x72\141\x70\157\162\x5f\x6e\151\154\x61\151\x5f\x61\x6b\150\x69\162");
        goto Zhw3W;
        xiwN2:
        $this->db->empty_table("\x72\141\160\157\162\x5f\x6e\151\154\x61\x69\x5f\x73\x69\x6b\x61\x70");
        goto IYQSG;
        FtOXF:
        $this->db->empty_table("\x72\141\x70\157\162\137\156\151\x6c\141\x69\137\160\x74\163");
        goto vkpuH;
        vkpuH:
        $this->db->empty_table("\x72\141\x70\x6f\162\x5f\x70\x72\145\163\x74\x61\x73\151");
        goto VsNmo;
        VsNmo:
        $this->db->empty_table("\162\141\160\157\162\137\x63\x61\164\141\x74\x61\156\x5f\167\141\154\x69");
        goto IgfEq;
        IgfEq:
        $this->db->empty_table("\x72\x61\x70\x6f\162\137\146\x69\x73\x69\x6b");
        goto gBZZJ;
        Zhw3W:
        $this->db->empty_table("\x72\x61\x70\157\162\137\x6e\141\x69\x6b");
        goto FtOXF;
        IYQSG:
    }
    public function getAllNilaiRapor($ids_siswa = null)
    {
        goto ZXF4y;
        tpf_h:
        $this->db->join("\155\141\163\x74\145\x72\x5f\153\145\154\x61\x73\x20\x68", "\x61\x2e\151\x64\137\153\145\x6c\141\163\75\x68\56\x69\x64\137\x6b\x65\x6c\141\163\40\101\116\x44\x20\141\56\x69\144\x5f\x74\x70\75\x68\56\151\144\x5f\x74\x70\40\101\x4e\104\x20\141\56\x69\144\137\163\155\x74\75\150\x2e\151\x64\137\163\x6d\164", "\154\145\146\164");
        goto MijwW;
        dkPLl:
        $this->db->join("\x6a\x61\x62\x61\x74\x61\x6e\137\x67\165\162\165\40\x6a", "\x61\x2e\x69\144\137\x6b\145\154\x61\163\x3d\152\x2e\151\144\137\x6b\x65\154\141\163\x20\x41\x4e\x44\40\141\x2e\x69\144\x5f\x74\x70\75\x6a\x2e\x69\144\137\164\160\40\101\116\104\40\x61\56\x69\x64\x5f\163\155\164\75\x6a\56\x69\144\x5f\x73\155\x74", "\x6c\145\x66\x74");
        goto PlTNj;
        vGRa_:
        $this->db->join("\x6d\x61\x73\164\145\162\x5f\x74\160\x20\x63", "\143\56\x69\144\x5f\x74\160\75\x61\x2e\151\x64\137\x74\x70", "\x6c\x65\x66\x74");
        goto L00p5;
        GO3nr:
        $this->db->join("\x72\141\x70\x6f\162\x5f\x6e\x61\151\x6b\x20\146", "\x61\x2e\x69\144\137\x73\151\x73\167\x61\75\146\x2e\x69\x64\137\163\151\x73\x77\x61\x20\101\116\104\x20\141\x2e\x69\144\137\x74\x70\75\x66\56\151\x64\x5f\164\x70\40\101\116\x44\x20\141\56\151\144\137\x73\x6d\x74\75\146\56\x69\144\137\x73\155\164", "\x6c\145\x66\164");
        goto TTV_H;
        IpJAp:
        $this->db->where_in("\141\x2e\x69\x64\137\x73\x69\x73\x77\141", $ids_siswa);
        goto If53_;
        qZJtf:
        return $result;
        goto ZEQAE;
        GDiQ9:
        if (!($ids_siswa != null)) {
            goto qaOtU;
        }
        goto IpJAp;
        a0RZc:
        $result = $this->db->get()->result();
        goto qZJtf;
        MijwW:
        $this->db->join("\x6d\x61\x73\x74\x65\162\137\152\165\162\x75\x73\141\156\40\x69", "\150\56\x6a\165\162\x75\163\x61\156\x5f\x69\144\75\x69\56\x69\x64\x5f\152\165\162\x75\x73\141\156", "\154\x65\146\x74");
        goto dkPLl;
        qpv4F:
        $this->db->join("\162\141\160\x6f\162\137\146\x69\x73\x69\153\40\156", "\141\56\x69\x64\x5f\x73\151\x73\167\141\x3d\156\x2e\151\144\137\x73\x69\163\167\x61\40\x41\x4e\x44\x20\x61\x2e\151\144\137\x74\160\x3d\x6e\56\151\144\x5f\164\160\40\x41\116\104\x20\x61\x2e\151\144\137\x73\155\x74\75\x6e\56\x69\144\x5f\x73\155\164", "\x6c\145\x66\164");
        goto zaqb8;
        PLYiQ:
        $this->db->join("\x72\141\x70\157\162\x5f\156\x69\154\x61\151\137\x61\153\150\151\x72\x20\x62", "\142\x2e\151\x64\x5f\x6e\151\154\x61\x69\137\x61\153\x68\x69\x72\75\141\56\x69\144\137\x6e\x69\154\x61\151\137\x68\141\x72\x69\x61\x6e", "\x6c\x65\x66\x74");
        goto vGRa_;
        cHk3V:
        $this->db->from("\162\141\x70\x6f\162\137\x6e\151\x6c\141\151\137\150\x61\162\x69\141\156\40\x61");
        goto PLYiQ;
        TTV_H:
        $this->db->join("\x72\141\160\157\162\x5f\156\151\x6c\141\151\137\x70\164\x73\40\x67", "\x67\x2e\151\x64\137\156\151\154\141\x69\137\160\x74\163\75\141\x2e\151\x64\137\156\x69\154\x61\151\137\x68\141\162\151\x61\156", "\154\145\x66\164");
        goto tpf_h;
        L00p5:
        $this->db->join("\x6d\141\x73\164\x65\x72\x5f\x73\155\x74\x20\x64", "\144\56\151\x64\x5f\x73\x6d\x74\x3d\141\x2e\x69\144\137\x73\x6d\x74", "\x6c\145\146\x74");
        goto i2M5J;
        K19r9:
        $this->db->join("\x72\141\x70\157\x72\137\160\x72\x65\163\164\141\x73\x69\x20\x6c", "\141\56\x69\144\137\163\x69\x73\167\x61\x3d\154\x2e\x69\x64\x5f\x73\151\x73\x77\141\x20\101\x4e\x44\x20\x61\x2e\151\x64\137\164\x70\75\154\56\151\144\x5f\x74\160\x20\x41\116\104\40\141\56\x69\144\x5f\163\x6d\x74\x3d\154\x2e\x69\x64\x5f\163\155\x74", "\154\x65\x66\164");
        goto uFzhB;
        zaqb8:
        $this->db->join("\x6d\141\163\164\145\162\137\155\141\x70\x65\x6c\40\x70", "\141\x2e\x69\144\137\155\x61\160\x65\154\x3d\160\x2e\151\144\137\155\x61\160\145\154", "\x6c\145\146\x74");
        goto GDiQ9;
        ZXF4y:
        $this->db->query("\x53\x45\124\40\123\121\x4c\x5f\x42\x49\x47\x5f\123\x45\x4c\105\103\124\123\75\x31");
        goto CVuBP;
        PlTNj:
        $this->db->join("\155\x61\x73\x74\145\162\x5f\147\x75\162\x75\x20\x6b", "\x6a\56\x69\144\137\x67\x75\162\165\x3d\x6b\56\x69\144\137\147\x75\x72\165", "\154\x65\x66\x74");
        goto K19r9;
        If53_:
        qaOtU:
        goto a0RZc;
        uFzhB:
        $this->db->join("\162\x61\x70\157\x72\137\x63\141\164\141\x74\x61\156\137\x77\x61\154\x69\x20\155", "\x61\56\151\x64\137\x73\x69\163\167\x61\x3d\155\x2e\151\144\137\x73\x69\163\167\x61\x20\x41\116\x44\x20\x61\56\151\144\137\x74\160\75\155\56\x69\x64\x5f\164\160\40\x41\x4e\104\x20\141\x2e\x69\x64\x5f\x73\x6d\x74\75\x6d\x2e\151\144\x5f\x73\x6d\164", "\154\x65\x66\164");
        goto qpv4F;
        CVuBP:
        $this->db->select("\141\56\151\144\137\x74\160\54\40\x61\x2e\151\x64\x5f\x73\x6d\164\x2c\40\x61\x2e\x69\144\137\x6d\x61\x70\145\x6c\x2c\x20\141\56\151\x64\137\x73\x69\x73\x77\141\54\x20\141\x2e\x70\137\x72\141\164\141\x5f\162\x61\164\141\54\40\141\x2e\160\x5f\160\162\x65\x64\x69\153\x61\x74\54\x20\141\56\x70\x5f\x64\145\x73\x6b\162\x69\160\x73\x69\x2c" . "\40\141\x2e\153\137\x72\141\164\x61\x5f\x72\x61\164\x61\54\40\x61\56\x6b\137\x70\162\x65\x64\x69\x6b\x61\x74\x2c\x20\x61\56\x6b\x5f\144\x65\x73\153\x72\151\x70\163\x69\54" . "\40\142\56\x6e\151\x6c\141\x69\40\x61\x73\40\x6e\x69\154\x61\x69\137\x70\141\163\54\40\x62\x2e\x61\x6b\x68\x69\162\x20\x61\x73\40\x6e\151\x6c\x61\151\x5f\162\141\160\x6f\162\x2c\x20\142\56\x70\x72\x65\x64\x69\153\141\164\x20\x61\x73\x20\x72\x61\x70\x6f\x72\x5f\160\x72\145\x64\151\153\141\164\x2c" . "\x20\x63\56\52\54\40\144\56\52\x2c\40\x65\x2e\40\156\141\x6d\141\x2c\x20\145\56\x75\151\x64\54\40\x66\x2e\x6e\141\x69\153\x2c" . "\x20\147\x2e\156\x69\154\x61\151\x20\x61\x73\40\x6e\151\154\141\151\137\160\x74\x73\x2c\40\147\x2e\160\162\x65\144\x69\x6b\x61\x74\x20\141\x73\x20\x70\164\163\x5f\160\x72\x65\144\151\153\x61\x74\x2c" . "\40\x68\x2e\x20\x69\x64\137\x6b\x65\x6c\x61\x73\x2c\x20\x68\x2e\x6e\141\x6d\141\137\153\145\x6c\x61\x73\x2c\x20\x68\x2e\x6c\145\x76\145\x6c\137\x69\144\54\40\x69\x2e\156\141\x6d\x61\137\152\x75\x72\x75\163\x61\156\54\x20\x6b\56\x6e\x61\x6d\x61\137\147\x75\x72\165\54" . "\40\x6c\x2e\x72\141\x6e\x6b\151\156\147\54\40\x6c\x2e\x64\145\163\153\x72\x69\160\x73\151\x20\x61\163\40\162\141\156\x6b\x5f\x64\x65\163\x6b\162\151\160\x73\151\54\40\x6c\56\160\x31\x2c\x20\154\56\x70\x31\x5f\x64\145\163\x6b\x2c\x20\154\56\160\x32\x2c\40\x6c\56\x70\62\137\144\145\x73\153\54\40\154\56\x70\x33\x2c\x20\x6c\x2e\x70\63\x5f\144\145\x73\x6b\x2c" . "\40\x6d\x2e\156\x69\x6c\141\151\40\141\x73\x20\x61\x62\x73\145\156\x2c\x20\155\x2e\x64\x65\x73\x6b\162\151\x70\x73\x69\x20\141\163\40\x73\141\x72\141\x6e\x2c\40\x6e\56\153\x6f\x6e\x64\151\x73\x69\x2c\40\156\56\x74\x69\156\x67\147\151\x2c\x20\156\x2e\x62\145\x72\141\x74\54\x20\160\x2e\x6b\x6f\x64\x65\40\x61\x73\40\x6d\x61\160\x65\154");
        goto cHk3V;
        i2M5J:
        $this->db->join("\155\x61\163\x74\x65\162\137\x73\x69\x73\x77\141\40\x65", "\145\56\x69\x64\x5f\x73\151\x73\167\x61\x3d\141\56\x69\144\x5f\163\x69\163\x77\x61", "\154\145\146\x74");
        goto GO3nr;
        ZEQAE:
    }
    public function getAllEkstra()
    {
        goto GqGp5;
        Y1AA2:
        foreach ($result as $key => $row) {
            $ret[$row->id_tp][$row->id_smt][$row->id_kelas] = unserialize($row->ekstra);
            CDxhU:
        }
        goto xZ6Am;
        GqGp5:
        $this->db->select("\52");
        goto QVbdP;
        YHIiR:
        if (!$result) {
            goto TBp_Q;
        }
        goto Y1AA2;
        mvIVO:
        return $ret;
        goto VDZ16;
        xZ6Am:
        q0Qkz:
        goto MQHA4;
        eyi7K:
        $result = $this->db->get()->result();
        goto idW_x;
        QVbdP:
        $this->db->from("\x6b\145\154\141\x73\137\x65\x6b\x73\x74\162\x61");
        goto eyi7K;
        idW_x:
        $ret = [];
        goto YHIiR;
        MQHA4:
        TBp_Q:
        goto mvIVO;
        VDZ16:
    }
    public function getAllNilaiEkstra($ids_siswa = null)
    {
        goto mW_4o;
        tXErk:
        $this->db->join("\x6d\x61\x73\164\x65\162\137\145\153\x73\164\162\141\x20\142", "\x61\56\x69\144\137\x65\153\x73\x74\x72\x61\75\142\56\x69\144\137\145\153\x73\164\x72\141", "\x6c\145\146\164");
        goto YGJvb;
        mW_4o:
        $this->db->select("\x61\x2e\x2a\54\40\142\56\x6e\x61\x6d\141\137\x65\x6b\x73\164\162\141\54\40\142\56\153\x6f\144\x65\x5f\x65\x6b\163\164\x72\x61");
        goto E6sFO;
        kztaR:
        $result = $this->db->get()->result();
        goto VX04B;
        KDQpX:
        ZwOe6:
        goto kztaR;
        VX04B:
        $ret = [];
        goto UEu7a;
        rRsbf:
        return $ret;
        goto kekRK;
        krxt1:
        $this->db->where_in("\141\x2e\x69\x64\137\x73\x69\163\167\x61", $ids_siswa);
        goto KDQpX;
        ghj0Z:
        gjmP2:
        goto rRsbf;
        UEu7a:
        foreach ($result as $res) {
            $ret[$res->id_tp][$res->id_smt][$res->id_siswa][] = $res;
            b8kz0:
        }
        goto ghj0Z;
        E6sFO:
        $this->db->from("\x72\x61\160\x6f\x72\x5f\x6e\x69\154\x61\151\137\145\153\x73\164\162\141\x20\x61");
        goto tXErk;
        YGJvb:
        if (!($ids_siswa != null)) {
            goto ZwOe6;
        }
        goto krxt1;
        kekRK:
    }
    public function getAllNilaiSikap($ids_siswa = null)
    {
        goto ZoREI;
        trxse:
        $this->db->where_in("\151\144\x5f\163\151\x73\x77\141", $ids_siswa);
        goto YxBdK;
        czpdg:
        $this->db->from("\162\141\x70\157\x72\x5f\156\x69\154\141\151\x5f\163\151\153\x61\160");
        goto l1016;
        ZoREI:
        $this->db->select("\52");
        goto czpdg;
        YxBdK:
        p14_2:
        goto SPzdG;
        SPzdG:
        $result = $this->db->get()->result();
        goto l0Bth;
        l0Bth:
        $ret = [];
        goto ErIUO;
        K0oNb:
        DtRHR:
        goto qb228;
        ErIUO:
        foreach ($result as $res) {
            $ret[$res->id_tp][$res->id_smt][$res->id_siswa][$res->jenis] = $res;
            H_T6Z:
        }
        goto K0oNb;
        qb228:
        return $ret;
        goto LvVOG;
        l1016:
        if (!($ids_siswa != null)) {
            goto p14_2;
        }
        goto trxse;
        LvVOG:
    }
    public function getAllFisik($ids_siswa = null)
    {
        goto yprQX;
        gZOPf:
        $this->db->where_in("\x69\144\137\163\x69\x73\167\x61", $ids_siswa);
        goto fiMF1;
        rmAfH:
        $ret = [];
        goto IGA_J;
        IGA_J:
        foreach ($result as $res) {
            $ret[$res->id_siswa][$res->id_tp][$res->id_smt] = $res;
            CL_fq:
        }
        goto vV1PD;
        oypLO:
        $this->db->from("\162\141\x70\x6f\162\x5f\x66\x69\x73\151\x6b");
        goto iAvEQ;
        MYcfH:
        $result = $this->db->get()->result();
        goto rmAfH;
        yprQX:
        $this->db->select("\x69\144\x5f\164\x70\x2c\x20\151\144\137\x73\155\x74\54\40\151\144\x5f\x73\151\163\167\141\x2c\x20\x6b\x6f\x6e\144\151\163\151\54\x20\x74\151\156\x67\x67\x69\x2c\x20\142\x65\x72\141\x74");
        goto oypLO;
        ESWTN:
        return $ret;
        goto nDolo;
        vV1PD:
        Vnvlk:
        goto ESWTN;
        iAvEQ:
        if (!($ids_siswa != null)) {
            goto y70W7;
        }
        goto gZOPf;
        fiMF1:
        y70W7:
        goto MYcfH;
        nDolo:
    }
    function exists($uid, $tp, $smt, $kelas)
    {
        goto rpQMt;
        BT1y8:
        mULG7:
        goto vyOni;
        nPbi4:
        if ($query->num_rows() > 0) {
            goto mULG7;
        }
        goto bnx5C;
        g8ivW:
        goto W6APT;
        goto BT1y8;
        vyOni:
        return true;
        goto qGTh_;
        rpQMt:
        $this->db->where("\165\x69\x64", $uid)->where("\164\x70", $tp)->where("\163\x6d\x74", $smt)->where("\153\145\x6c\141\163", $kelas);
        goto ObFtH;
        ObFtH:
        $query = $this->db->get("\x62\x75\x6b\165\137\156\151\x6c\x61\x69");
        goto nPbi4;
        bnx5C:
        return false;
        goto g8ivW;
        qGTh_:
        W6APT:
        goto UyM3B;
        UyM3B:
    }
}

Function Calls

None

Variables

None

Stats

MD5 278ce419b949099de20eff8a06545e4b
Eval Count 0
Decode Time 191 ms