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    | 
    |________________________________________| 
*/ 
defined("BASEPATH") or exit("No direct script access allowed"); 
class Dataalumni extends CI_Controller 
{ 
    public function __construct() 
    { 
        goto gLl55; 
        Dfr18: 
        CyNGc: 
        goto OzfG4; 
        OzfG4: 
        goto vh3Ht; 
        goto SsZlA; 
        p8FA7: 
        $this->load->model("Dropdown_model", "dropdown"); 
        goto pPIN8; 
        Km1mY: 
        $this->form_validation->set_error_delimiters('', ''); 
        goto FhyrZ; 
        oJ8e0: 
        if (!$this->ion_auth->logged_in()) { 
            goto x1u_G; 
        } 
        goto TR3Xu; 
        gLl55: 
        parent::__construct(); 
        goto oJ8e0; 
        RX5fZ: 
        vh3Ht: 
        goto UxGpU; 
        yxw_8: 
        $this->load->model("Kelas_model", "kelas"); 
        goto s64tq; 
        SsZlA: 
        x1u_G: 
        goto GXZcu; 
        hrewu: 
        show_error("Hanya Administrator yang diberi hak untuk mengakses halaman ini, <a href="" . base_url("dashboard") . "">Kembali ke menu awal</a>", 403, "Akses Terlarang"); 
        goto Dfr18; 
        qG3nv: 
        $this->load->model("Master_model", "master"); 
        goto p8FA7; 
        GXZcu: 
        redirect("auth"); 
        goto RX5fZ; 
        s64tq: 
        $this->load->model("Dashboard_model", "dashboard"); 
        goto qG3nv; 
        UxGpU: 
        $this->load->library("upload"); 
        goto f6dQ7; 
        f6dQ7: 
        $this->load->library(["datatables", "form_validation"]); 
        goto yxw_8; 
        pPIN8: 
        $this->load->model("Rapor_model", "rapor"); 
        goto Km1mY; 
        TR3Xu: 
        if ($this->ion_auth->is_admin()) { 
            goto CyNGc; 
        } 
        goto hrewu; 
        FhyrZ: 
    } 
    public function output_json($data, $encode = true) 
    { 
        goto kLDTf; 
        nmWgf: 
        $data = json_encode($data); 
        goto lF2Rj; 
        kLDTf: 
        if (!$encode) { 
            goto FBpN0; 
        } 
        goto nmWgf; 
        e3X8s: 
        $this->output->set_content_type("application/json")->set_output($data); 
        goto Ox9J2; 
        lF2Rj: 
        FBpN0: 
        goto e3X8s; 
        Ox9J2: 
    } 
    public function index() 
    { 
        goto r6Zoe; 
        WyK8y: 
        goto mRhoJ; 
        goto wJZjV; 
        eFktY: 
        foreach ($uids as $uid) { 
            goto Ooqfl; 
            bND4Z: 
            $this->db->insert("buku_induk", $uid); 
            goto jImxf; 
            ZAEUT: 
            if (!($check->get()->num_rows() == 0)) { 
                goto iNhNv; 
            } 
            goto bND4Z; 
            Ooqfl: 
            $check = $this->db->select("id_siswa")->from("buku_induk")->where("id_siswa", $uid->id_siswa); 
            goto ZAEUT; 
            jImxf: 
            iNhNv: 
            goto eUMF5; 
            eUMF5: 
            nsmjp: 
            goto NBEV3; 
            NBEV3: 
        } 
        goto wlPtc; 
        TrpPB: 
        $data["profile"] = $this->dashboard->getProfileAdmin($user->id); 
        goto oeww4; 
        iBxR2: 
        $data = ["user" => $user, "judul" => "Data Kelulusan & Alumni", "subjudul" => "Data Alumni", "setting" => $setting]; 
        goto qjf7L; 
        zXQs0: 
        $this->load->view("_templates/dashboard/_footer"); 
        goto UKObu; 
        B4gNR: 
        $this->load->view("master/alumni/data"); 
        goto zXQs0; 
        wJZjV: 
        StafS: 
        goto qZnsn; 
        thogm: 
        $allTp = $this->dashboard->getTahun(); 
        goto e28hH; 
        oeww4: 
        $data["tahun_lulus"] = $this->master->getDistinctTahunLulus(); 
        goto giwdz; 
        e28hH: 
        $data["tp"] = $allTp; 
        goto r0wxW; 
        CVPB1: 
        $smt = $this->dashboard->getSemesterActive(); 
        goto thogm; 
        E2hD_: 
        $alumnis = $this->master->getAlumniByTahun($splitTahun[1]); 
        goto cCQ8M; 
        k65ki: 
        $count_siswa = $this->db->count_all("master_siswa"); 
        goto qpbmu; 
        p2GvW: 
        if ($tahun != null && $tahun != '') { 
            goto StafS; 
        } 
        goto z3WHl; 
        r6Zoe: 
        $tahun = $this->input->get("tahun", true); 
        goto JYxmT; 
        qjf7L: 
        $tp = $this->dashboard->getTahunActive(); 
        goto CVPB1; 
        r0wxW: 
        $data["tp_active"] = $tp; 
        goto bWDLr; 
        yRZhF: 
        $splitTahun = explode("/", $tpBefore); 
        goto E2hD_; 
        VVgmF: 
        $data["tahun_selected"] = $tahun; 
        goto xFZU0; 
        kMcoD: 
        $jumlah_lulus = $this->rapor->getJumlahLulus($tp->id_tp - 1, "2", $level); 
        goto idZ7D; 
        xFZU0: 
        $data["kelas_selected"] = $kelas_akhir; 
        goto J9E7Y; 
        PPYUG: 
        soRCw: 
        goto WyK8y; 
        JYxmT: 
        $kelas_akhir = $this->input->get("kelas", true); 
        goto NFxE1; 
        ZSVWb: 
        oR2tz: 
        goto Qj5CY; 
        wlPtc: 
        B4cAd: 
        goto PPYUG; 
        Q22m1: 
        PX58f: 
        goto FkCdP; 
        lxidW: 
        if (!($count_siswa > $count_induk)) { 
            goto soRCw; 
        } 
        goto LpB2U; 
        z3WHl: 
        goto mRhoJ; 
        goto tDfwJ; 
        is64q: 
        mRhoJ: 
        goto lpPny; 
        ZYNi_: 
        $tpBefore = $allTp[$idSearch]->tahun; 
        goto yRZhF; 
        lpPny: 
        $this->load->view("_templates/dashboard/_header", $data); 
        goto B4gNR; 
        bWDLr: 
        $data["smt"] = $this->dashboard->getSemester(); 
        goto N8OVH; 
        giwdz: 
        $data["kelas_akhir"] = $this->master->getDistinctKelasAkhir(); 
        goto VVgmF; 
        Qj5CY: 
        if ($tahun == null) { 
            goto gM1QC; 
        } 
        goto p2GvW; 
        LpB2U: 
        $uids = $this->db->select("id_siswa, uid")->from("master_siswa")->get()->result(); 
        goto eFktY; 
        nCZAk: 
        $setting = $this->dashboard->getSetting(); 
        goto iBxR2; 
        FkCdP: 
        $data["jumlah_lulus"] = $jumlah_lulus; 
        goto ZSVWb; 
        NFxE1: 
        $user = $this->ion_auth->user()->row(); 
        goto nCZAk; 
        cCQ8M: 
        if ($jumlah_lulus > count($alumnis)) { 
            goto PX58f; 
        } 
        goto N46NA; 
        qZnsn: 
        $data["alumnis"] = $this->master->getAlumniByTahun($tahun, $kelas_akhir); 
        goto is64q; 
        J9E7Y: 
        $level = $setting->jenjang == "1" ? "6" : ($setting->jenjang == "2" ? "9" : ($setting->jenjang == "1" ? "3" : "12")); 
        goto kMcoD; 
        idZ7D: 
        $idSearch = array_search($tp->id_tp - 1, array_column($allTp, "id_tp")); 
        goto ZYNi_; 
        N46NA: 
        $data["jumlah_lulus"] = 0; 
        goto obKei; 
        obKei: 
        goto oR2tz; 
        goto Q22m1; 
        N8OVH: 
        $data["smt_active"] = $smt; 
        goto TrpPB; 
        qpbmu: 
        $count_induk = $this->db->count_all("buku_induk"); 
        goto lxidW; 
        tDfwJ: 
        gM1QC: 
        goto k65ki; 
        UKObu: 
    } 
    public function generateAlumni() 
    { 
        goto oByYb; 
        LhCtu: 
        $splitTahun = explode("/", $tpBefore); 
        goto UeGIP; 
        UeGIP: 
        $level = $setting->jenjang == "1" ? "6" : ($setting->jenjang == "2" ? "9" : ($setting->jenjang == "1" ? "3" : "12")); 
        goto rMlFu; 
        c4dqi: 
        $tp = $this->dashboard->getTahunActive(); 
        goto G4_OB; 
        oByYb: 
        $setting = $this->dashboard->getSetting(); 
        goto c4dqi; 
        EZfJF: 
        $ids = []; 
        goto Xfe35; 
        Xfe35: 
        $this->db->trans_start(); 
        goto P5ccJ; 
        S2JzF: 
        $this->output_json($ids); 
        goto ZFpBm; 
        yO1kQ: 
        $idBefore = $allTp[$searchId - 1]->id_tp; 
        goto LKABn; 
        jspZ4: 
        J0ARv: 
        goto p1Mbe; 
        P5ccJ: 
        foreach ($siswas as $siswa) { 
            goto ytXwT; 
            auX9e: 
            uptmF: 
            goto JzjNb; 
            BhFec: 
            $this->db->set("tahun_lulus", $splitTahun[1]); 
            goto sN6v5; 
            Psnwb: 
            $this->db->set("status", "2"); 
            goto BhFec; 
            F0U_G: 
            $ids[] = $siswa->id_siswa; 
            goto Oe_yU; 
            qqgxV: 
            $this->db->set("kelas_akhir", $siswa->kelas_akhir); 
            goto BSsWe; 
            ytXwT: 
            if ($siswa->naik != null && $siswa->naik == "0") { 
                goto uptmF; 
            } 
            goto F0U_G; 
            aVpgg: 
            qClec: 
            goto GHsXg; 
            VPn_a: 
            goto xIy1p; 
            goto auX9e; 
            sN6v5: 
            $this->db->set("no_ijazah", "- -"); 
            goto qqgxV; 
            Oe_yU: 
            $this->db->where("id_siswa", $siswa->id_siswa); 
            goto Psnwb; 
            JzjNb: 
            xIy1p: 
            goto aVpgg; 
            BSsWe: 
            $this->db->update("buku_induk"); 
            goto VPn_a; 
            GHsXg: 
        } 
        goto jspZ4; 
        InU3b: 
        $searchId = array_search("1", array_column($allTp, "active")); 
        goto yO1kQ; 
        rMlFu: 
        $siswas = $this->rapor->getSiswaLulus($tp->id_tp - 1, "2", $level); 
        goto EZfJF; 
        p1Mbe: 
        $this->db->trans_complete(); 
        goto S2JzF; 
        G4_OB: 
        $smt = $this->dashboard->getSemesterActive(); 
        goto Jvr4T; 
        LKABn: 
        $tpBefore = $allTp[$searchId - 1]->tahun; 
        goto LhCtu; 
        Jvr4T: 
        $allTp = $this->dashboard->getTahun(); 
        goto InU3b; 
        ZFpBm: 
    } 
    public function luluskan() 
    { 
        goto lCup1; 
        AJVg6: 
        $this->output_json($data); 
        goto UAFqk; 
        PPZOt: 
        foreach ($posts as $d) { 
            goto YQR5s; 
            y5gIX: 
            WLo4t: 
            goto mp7It; 
            bPSwx: 
            $alumnikelas[$d->kelas_baru][] = ["id" => $d->id_siswa]; 
            goto y5gIX; 
            YQR5s: 
            $idkelases[] = $d->kelas_baru; 
            goto bPSwx; 
            mp7It: 
        } 
        goto slixP; 
        lCup1: 
        $tp = $this->dashboard->getTahunActive(); 
        goto IfVrN; 
        Ngi8I: 
        $idkelases = []; 
        goto HqJNO; 
        TJCwn: 
        $idks = []; 
        goto V1eS9; 
        V1eS9: 
        foreach ($idkelases as $ik) { 
            goto hcc5T; 
            dqNPQ: 
            goto o4ktb; 
            goto pbubF; 
            DW3f2: 
            Fh5P8: 
            goto Adpqq; 
            hcc5T: 
            $kelas = $this->kelas->get_one($ik, $tp->id_tp - 1, "2"); 
            goto Mem5S; 
            vD7QE: 
            q_sSU: 
            goto imD7l; 
            imD7l: 
            $data = array("nama_kelas" => $kelas->nama_kelas, "kode_kelas" => $kelas->kode_kelas, "jurusan_id" => $kelas->jurusan_id, "id_tp" => $tp->id_tp, "id_smt" => $smt->id_smt, "level_id" => $kelas->level_id, "guru_id" => $kelas->guru_id, "alumni_id" => $kelas->alumni_id, "jumlah_alumni" => $jumlah); 
            goto vecfy; 
            vecfy: 
            $this->db->where("id_kelas", $kelas_baru->id_kelas); 
            goto Feaac; 
            l2aX_: 
            o4ktb: 
            goto TGfGG; 
            Apaw4: 
            $jumlah = serialize($alumnikelas[$ik]); 
            goto U2O9d; 
            Adpqq: 
            $jumlah = serialize($jmlLama); 
            goto vD7QE; 
            jDVT4: 
            $jumlah = serialize($alumnikelas[$ik]); 
            goto qlw3p; 
            U2O9d: 
            $data = array("nama_kelas" => $kelas->nama_kelas, "kode_kelas" => $kelas->kode_kelas, "jurusan_id" => $kelas->jurusan_id, "id_tp" => $tp->id_tp, "id_smt" => $smt->id_smt, "level_id" => $kelas->level_id, "guru_id" => $kelas->guru_id, "alumni_id" => $kelas->alumni_id, "jumlah_alumni" => $jumlah); 
            goto S38Ve; 
            TGfGG: 
            foreach ($idks as $idk) { 
                goto TYea3; 
                TYea3: 
                foreach ($alumnikelas[$ik] as $s) { 
                    goto cDh4m; 
                    rC35A: 
                    $res[] = $this->db->replace("kelas_alumni", $insert); 
                    goto bRGW6; 
                    bRGW6: 
                    dTCMC: 
                    goto N_zY2; 
                    cDh4m: 
                    $insert = ["id_kelas_alumni" => $tp->id_tp . $smt->id_smt . $s["id"], "id_tp" => $tp->id_tp, "id_smt" => $smt->id_smt, "id_kelas" => $idk, "id_siswa" => $s["id"]]; 
                    goto rC35A; 
                    N_zY2: 
                } 
                goto D59pZ; 
                pBWib: 
                h6r4Q: 
                goto TBvHg; 
                D59pZ: 
                NZjJr: 
                goto pBWib; 
                TBvHg: 
            } 
            goto oBPkU; 
            NqwfY: 
            if ($mode == "peralumni") { 
                goto HXwjx; 
            } 
            goto jDVT4; 
            f8I_l: 
            YZz28: 
            goto o6GAD; 
            pbubF: 
            fDd7x: 
            goto Apaw4; 
            Mem5S: 
            $kelas_baru = $this->kelas->getKelasByNama($kelas->nama_kelas, $tp->id_tp, $smt->id_smt); 
            goto kVrml; 
            xo9d9: 
            goto q_sSU; 
            goto C1CWF; 
            IGjKt: 
            array_push($idks, $this->db->insert_id()); 
            goto l2aX_; 
            BVZtF: 
            foreach ($alumnikelas[$ik] as $s) { 
                goto kpyt0; 
                lGTiI: 
                F9TQo: 
                goto Go0YZ; 
                rUfzi: 
                lh2h4: 
                goto lGTiI; 
                kpyt0: 
                foreach ($jmlLama as $lama) { 
                    goto IT7NK; 
                    EEda3: 
                    array_push($jmlLama, ["id" => $s["id"]]); 
                    goto m9Bzn; 
                    m9Bzn: 
                    array_push($idks, $kelas_baru->id_kelas); 
                    goto yhRzE; 
                    IT7NK: 
                    if (!($lama["id"] != $s["id"])) { 
                        goto vjPNO; 
                    } 
                    goto EEda3; 
                    leSrn: 
                    uAHez: 
                    goto oFon4; 
                    yhRzE: 
                    vjPNO: 
                    goto leSrn; 
                    oFon4: 
                } 
                goto rUfzi; 
                Go0YZ: 
            } 
            goto DW3f2; 
            kVrml: 
            if ($kelas_baru == null) { 
                goto fDd7x; 
            } 
            goto NqwfY; 
            S38Ve: 
            $this->db->insert("master_kelas", $data); 
            goto IGjKt; 
            ZJfTN: 
            $jmlLama = unserialize($kelas_baru->jumlah_alumni); 
            goto BVZtF; 
            qlw3p: 
            array_push($idks, $kelas_baru->id_kelas); 
            goto xo9d9; 
            C1CWF: 
            HXwjx: 
            goto ZJfTN; 
            oBPkU: 
            zs6ft: 
            goto f8I_l; 
            Feaac: 
            $this->db->update("master_kelas", $data); 
            goto dqNPQ; 
            o6GAD: 
        } 
        goto PvSA5; 
        PvSA5: 
        mbxz_: 
        goto DaZk3; 
        oS7Ih: 
        $posts = json_decode($this->input->post("kelas", true)); 
        goto gVA7H; 
        HqJNO: 
        $alumnikelas = []; 
        goto PPZOt; 
        DaZk3: 
        $data["res"] = $alumnikelas; 
        goto AJVg6; 
        IfVrN: 
        $smt = $this->dashboard->getSemesterActive(); 
        goto oS7Ih; 
        fduz6: 
        $res = []; 
        goto TJCwn; 
        gVA7H: 
        $mode = $this->input->post("mode", true); 
        goto Ngi8I; 
        slixP: 
        PI4hB: 
        goto mHL3q; 
        mHL3q: 
        $idkelases = array_unique($idkelases); 
        goto fduz6; 
        UAFqk: 
    } 
    public function detail($id) 
    { 
        goto xPdCM; 
        JzqV5: 
        $data["input_wali"] = json_decode(json_encode($inputWali), FALSE); 
        goto zGwvh; 
        moHBn: 
        $data["input_ortu"] = json_decode(json_encode($inputOrtu), FALSE); 
        goto JzqV5; 
        nyBN7: 
        $this->load->view("_templates/dashboard/_footer"); 
        goto ASBt5; 
        MpWsn: 
        $this->load->view("master/alumni/edit"); 
        goto nyBN7; 
        mh9tv: 
        $data = ["user" => $user, "judul" => "Alumni", "subjudul" => "Edit Data Alumni", "alumni" => $alumni, "setting" => $this->dashboard->getSetting()]; 
        goto JoCQ8; 
        uUraW: 
        $data["tp_active"] = $this->dashboard->getTahunActive(); 
        goto h3XVy; 
        zvB6X: 
        $inputWali = [["name" => "nama_wali", "label" => "Nama Wali", "value" => $alumni->nama_wali, "icon" => "far fa-user", "type" => "text"], ["name" => "pendidikan_wali", "label" => "Pendidikan Wali", "value" => $alumni->pendidikan_wali, "icon" => "far fa-user", "type" => "text"], ["name" => "pekerjaan_wali", "label" => "Pekerjaan Wali", "value" => $alumni->pekerjaan_wali, "icon" => "far fa-user", "type" => "text"], ["name" => "alamat_wali", "label" => "Alamat Wali", "value" => $alumni->alamat_wali, "icon" => "far fa-user", "type" => "text"], ["name" => "nohp_wali", "label" => "No. HP Wali", "value" => $alumni->nohp_wali, "icon" => "far fa-user", "type" => "number"]]; 
        goto lxGUw; 
        xPdCM: 
        $alumni = $this->master->getAlumniById($id); 
        goto YQP4I; 
        NTVVq: 
        $inputBio = [["name" => "tempat_lahir", "label" => "Tempat Lahir", "value" => $alumni->tempat_lahir, "icon" => "far fa-map", "class" => '', "type" => "text"], ["name" => "tanggal_lahir", "label" => "Tanggal Lahir", "value" => $alumni->tanggal_lahir, "icon" => "far fa-calendar", "class" => "tahun", "type" => "text"], ["class" => '', "name" => "agama", "label" => "Agama", "value" => $alumni->agama, "icon" => "far fa-calendar", "type" => "text"], ["class" => '', "name" => "alamat", "label" => "Alamat", "value" => $alumni->alamat, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "rt", "label" => "Rt", "value" => $alumni->rt, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "rw", "label" => "Rw", "value" => $alumni->rw, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "kelurahan", "label" => "Kelurahan/Desa", "value" => $alumni->kelurahan, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "kecamatan", "label" => "Kecamatan", "value" => $alumni->kecamatan, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "kabupaten", "label" => "Kabupaten/Kota", "value" => $alumni->kabupaten, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "kode_pos", "label" => "Kode Pos", "value" => $alumni->kode_pos, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "hp", "label" => "Hp", "value" => $alumni->hp, "icon" => "far fa-user", "type" => "text"]]; 
        goto eYZba; 
        lxGUw: 
        $user = $this->ion_auth->user()->row(); 
        goto mh9tv; 
        I_FyO: 
        $data["smt_active"] = $this->dashboard->getSemesterActive(); 
        goto TnRis; 
        pZiij: 
        $data["input_bio"] = json_decode(json_encode($inputBio), FALSE); 
        goto moHBn; 
        TnRis: 
        $data["input_data"] = json_decode(json_encode($inputData), FALSE); 
        goto pZiij; 
        eYZba: 
        $inputOrtu = [["name" => "nama_ayah", "label" => "Nama Ayah", "value" => $alumni->nama_ayah, "icon" => "far fa-user", "type" => "text"], ["name" => "pendidikan_ayah", "label" => "Pendidikan Ayah", "value" => $alumni->pendidikan_ayah, "icon" => "far fa-user", "type" => "text"], ["name" => "pekerjaan_ayah", "label" => "Pekerjaan Ayah", "value" => $alumni->pekerjaan_ayah, "icon" => "far fa-user", "type" => "text"], ["name" => "nohp_ayah", "label" => "No. HP Ayah", "value" => $alumni->nohp_ayah, "icon" => "far fa-user", "type" => "number"], ["name" => "alamat_ayah", "label" => "Alamat Ayah", "value" => $alumni->alamat_ayah, "icon" => "far fa-user", "type" => "text"], ["name" => "nama_ibu", "label" => "Nama Ibu", "value" => $alumni->nama_ibu, "icon" => "far fa-user", "type" => "text"], ["name" => "pendidikan_ibu", "label" => "Pendidikan Ibu", "value" => $alumni->pendidikan_ibu, "icon" => "far fa-user", "type" => "text"], ["name" => "pekerjaan_ibu", "label" => "Pekerjaan Ibu", "value" => $alumni->pekerjaan_ibu, "icon" => "far fa-user", "type" => "text"], ["name" => "nohp_ibu", "label" => "No. HP Ibu", "value" => $alumni->nohp_ibu, "icon" => "far fa-user", "type" => "number"], ["name" => "alamat_ibu", "label" => "Alamat Ibu", "value" => $alumni->alamat_ibu, "icon" => "far fa-user", "type" => "text"]]; 
        goto zvB6X; 
        VOABh: 
        $this->load->view("_templates/dashboard/_header", $data); 
        goto MpWsn; 
        zGwvh: 
        $data["profile"] = $this->dashboard->getProfileAdmin($user->id); 
        goto VOABh; 
        JoCQ8: 
        $data["tp"] = $this->dashboard->getTahun(); 
        goto uUraW; 
        YQP4I: 
        $inputData = [["label" => "Nama Lengkap", "name" => "nama", "value" => $alumni->nama, "icon" => "far fa-user", "class" => '', "type" => "text"], ["label" => "NIS", "name" => "nis", "value" => $alumni->nis, "icon" => "far fa-id-card", "class" => '', "type" => "number"], ["name" => "nisn", "label" => "NISN", "value" => $alumni->nisn, "icon" => "far fa-id-card", "class" => '', "type" => "text"], ["label" => "Jenis Kelamin", "name" => "jenis_kelamin", "value" => $alumni->jenis_kelamin, "icon" => "fas fa-venus-mars", "class" => '', "type" => "text"], ["name" => "kelas_awal", "label" => "Diterima di kelas", "value" => $alumni->kelas_awal, "icon" => "fas fa-graduation-cap", "class" => '', "type" => "text"], ["name" => "tahun_masuk", "label" => "Tgl diterima", "value" => $alumni->tahun_masuk, "icon" => "tahun far fa-calendar-alt", "class" => "tahun", "type" => "text"]]; 
        goto NTVVq; 
        h3XVy: 
        $data["smt"] = $this->dashboard->getSemester(); 
        goto I_FyO; 
        ASBt5: 
    } 
    public function add() 
    { 
        goto mHfqE; 
        ifhjA: 
        $this->load->view("_templates/dashboard/_footer"); 
        goto Q55JX; 
        IpfMq: 
        $data["profile"] = $this->dashboard->getProfileAdmin($user->id); 
        goto KA0cU; 
        RZKmw: 
        $data["tp"] = $this->dashboard->getTahun(); 
        goto S8V8M; 
        YMg3N: 
        $data["smt_active"] = $this->dashboard->getSemesterActive(); 
        goto IpfMq; 
        sB00x: 
        $this->load->view("_templates/dashboard/_header", $data); 
        goto U6ODR; 
        oZbaU: 
        $data["smt"] = $this->dashboard->getSemester(); 
        goto YMg3N; 
        xACF6: 
        $data = ["user" => $user, "judul" => "Alumni", "subjudul" => "Tambah Data Alumni", "setting" => $this->dashboard->getSetting()]; 
        goto RZKmw; 
        mHfqE: 
        $user = $this->ion_auth->user()->row(); 
        goto xACF6; 
        U6ODR: 
        $this->load->view("master/alumni/add"); 
        goto ifhjA; 
        KA0cU: 
        $data["tipe"] = "add"; 
        goto sB00x; 
        S8V8M: 
        $data["tp_active"] = $this->dashboard->getTahunActive(); 
        goto oZbaU; 
        Q55JX: 
    } 
    public function create() 
    { 
        goto K0Bn1; 
        igVU8: 
        $this->form_validation->set_rules("nisn", "NISN", "required|numeric|trim|min_length[6]|max_length[20]" . $u_nisn); 
        goto eBnth; 
        KwS8Y: 
        sQt4Y: 
        goto UWq8d; 
        AP5gU: 
        goto QhVdc; 
        goto KwS8Y; 
        lcRUv: 
        $this->db->insert("master_siswa", $insert); 
        goto hZTKP; 
        DenLu: 
        QhVdc: 
        goto YMDrp; 
        wkJVx: 
        $data["insert"] = $this->db->insert("buku_induk", $induk); 
        goto xSPYB; 
        K0Bn1: 
        $nis = $this->input->post("nis", true); 
        goto lrAym; 
        YMDrp: 
        $this->output_json($data); 
        goto KZ5Yu; 
        vs2ou: 
        $u_nis = "|is_unique[master_siswa.nis]"; 
        goto SUi4h; 
        hZTKP: 
        $last_id = $this->db->insert_id(); 
        goto RwRK0; 
        bqjWo: 
        $data["text"] = "Data Sudah ada, Pastikan NIS, NISN dan Username belum digunakan alumni lain"; 
        goto DenLu; 
        lrAym: 
        $nisn = $this->input->post("nisn", true); 
        goto vs2ou; 
        R0QDl: 
        $this->db->set("uid", "UUID()", FALSE); 
        goto lcRUv; 
        xSPYB: 
        $data["text"] = "Alumni berhasil ditambahkan"; 
        goto AP5gU; 
        SUi4h: 
        $u_nisn = "|is_unique[master_siswa.nisn]"; 
        goto M7R1H; 
        RwRK0: 
        $uid = $this->db->select("uid")->from("master_siswa")->where("id_siswa", $last_id)->get()->row(); 
        goto Ce7Ws; 
        GRFJ0: 
        $insert = ["nama" => $this->input->post("nama_alumni", true), "nis" => $nis, "nisn" => $nisn, "jenis_kelamin" => $this->input->post("jenis_kelamin", true), "foto" => "uploads/foto_siswa/" . $nis . "jpg"]; 
        goto R0QDl; 
        Ce7Ws: 
        $induk = ["id_siswa" => $last_id, "uid" => $uid->uid, "kelas_akhir" => $this->input->post("kelas_akhir", true), "tahun_lulus" => $this->input->post("tahun_lulus", true), "no_ijazah" => $this->input->post("no_ijazah", true), "status" => 2]; 
        goto wkJVx; 
        eBnth: 
        if ($this->form_validation->run() == FALSE) { 
            goto sQt4Y; 
        } 
        goto GRFJ0; 
        M7R1H: 
        $this->form_validation->set_rules("nis", "NIS", "required|numeric|trim|min_length[6]|max_length[30]" . $u_nis); 
        goto igVU8; 
        UWq8d: 
        $data["insert"] = false; 
        goto bqjWo; 
        KZ5Yu: 
    } 
    public function edit() 
    { 
        goto ljWDa; 
        Fh211: 
        $this->load->view("_templates/dashboard/_footer"); 
        goto z02dR; 
        wF2Z7: 
        $inputWali = [["name" => "nama_wali", "label" => "Nama Wali", "value" => $alumni->nama_wali, "icon" => "far fa-user", "type" => "text"], ["name" => "pendidikan_wali", "label" => "Pendidikan Wali", "value" => $alumni->pendidikan_wali, "icon" => "far fa-user", "type" => "text"], ["name" => "pekerjaan_wali", "label" => "Pekerjaan Wali", "value" => $alumni->pekerjaan_wali, "icon" => "far fa-user", "type" => "text"], ["name" => "alamat_wali", "label" => "Alamat Wali", "value" => $alumni->alamat_wali, "icon" => "far fa-user", "type" => "text"], ["name" => "nohp_wali", "label" => "No. HP Wali", "value" => $alumni->nohp_wali, "icon" => "far fa-user", "type" => "number"]]; 
        goto mql60; 
        fStWu: 
        $data["input_wali"] = json_decode(json_encode($inputWali), FALSE); 
        goto xnOk0; 
        v3yW4: 
        $data["input_data"] = json_decode(json_encode($inputData), FALSE); 
        goto ab71x; 
        FyjgM: 
        $data["tp"] = $this->dashboard->getTahun(); 
        goto dV0xu; 
        x38uA: 
        $data = ["user" => $user, "judul" => "Alumni", "subjudul" => "Edit Data Alumni", "alumni" => $alumni, "setting" => $this->dashboard->getSetting()]; 
        goto FyjgM; 
        vaD8o: 
        $inputBio = [["name" => "tempat_lahir", "label" => "Tempat Lahir", "value" => $alumni->tempat_lahir, "icon" => "far fa-map", "class" => '', "type" => "text"], ["name" => "tanggal_lahir", "label" => "Tanggal Lahir", "value" => $alumni->tanggal_lahir, "icon" => "far fa-calendar", "class" => "tahun", "type" => "text"], ["class" => '', "name" => "agama", "label" => "Agama", "value" => $alumni->agama, "icon" => "far fa-calendar", "type" => "text"], ["class" => '', "name" => "alamat", "label" => "Alamat", "value" => $alumni->alamat, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "rt", "label" => "Rt", "value" => $alumni->rt, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "rw", "label" => "Rw", "value" => $alumni->rw, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "kelurahan", "label" => "Kelurahan/Desa", "value" => $alumni->kelurahan, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "kecamatan", "label" => "Kecamatan", "value" => $alumni->kecamatan, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "kabupaten", "label" => "Kabupaten/Kota", "value" => $alumni->kabupaten, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "kode_pos", "label" => "Kode Pos", "value" => $alumni->kode_pos, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "hp", "label" => "Hp", "value" => $alumni->hp, "icon" => "far fa-user", "type" => "text"]]; 
        goto atLDN; 
        OtDBB: 
        $alumni = $this->master->getAlumniById($id); 
        goto gSD3o; 
        x3Hrq: 
        $this->load->view("master/alumni/edit"); 
        goto Fh211; 
        ljWDa: 
        $id = $this->input->get("id", true); 
        goto OtDBB; 
        Z9474: 
        $data["input_ortu"] = json_decode(json_encode($inputOrtu), FALSE); 
        goto fStWu; 
        gSD3o: 
        $inputData = [["label" => "Nama Lengkap", "name" => "nama", "value" => $alumni->nama, "icon" => "far fa-user", "class" => '', "type" => "text"], ["label" => "NIS", "name" => "nis", "value" => $alumni->nis, "icon" => "far fa-id-card", "class" => '', "type" => "number"], ["name" => "nisn", "label" => "NISN", "value" => $alumni->nisn, "icon" => "far fa-id-card", "class" => '', "type" => "text"], ["label" => "Jenis Kelamin", "name" => "jenis_kelamin", "value" => $alumni->jenis_kelamin, "icon" => "fas fa-venus-mars", "class" => '', "type" => "text"], ["name" => "kelas_awal", "label" => "Diterima di kelas", "value" => $alumni->kelas_awal, "icon" => "fas fa-graduation-cap", "class" => '', "type" => "text"], ["name" => "tahun_masuk", "label" => "Tgl diterima", "value" => $alumni->tahun_masuk, "icon" => "tahun far fa-calendar-alt", "class" => "tahun", "type" => "text"]]; 
        goto vaD8o; 
        dV0xu: 
        $data["tp_active"] = $this->dashboard->getTahunActive(); 
        goto eFJyt; 
        blxVm: 
        $data["smt_active"] = $this->dashboard->getSemesterActive(); 
        goto v3yW4; 
        atLDN: 
        $inputOrtu = [["name" => "nama_ayah", "label" => "Nama Ayah", "value" => $alumni->nama_ayah, "icon" => "far fa-user", "type" => "text"], ["name" => "pendidikan_ayah", "label" => "Pendidikan Ayah", "value" => $alumni->pendidikan_ayah, "icon" => "far fa-user", "type" => "text"], ["name" => "pekerjaan_ayah", "label" => "Pekerjaan Ayah", "value" => $alumni->pekerjaan_ayah, "icon" => "far fa-user", "type" => "text"], ["name" => "nohp_ayah", "label" => "No. HP Ayah", "value" => $alumni->nohp_ayah, "icon" => "far fa-user", "type" => "number"], ["name" => "alamat_ayah", "label" => "Alamat Ayah", "value" => $alumni->alamat_ayah, "icon" => "far fa-user", "type" => "text"], ["name" => "nama_ibu", "label" => "Nama Ibu", "value" => $alumni->nama_ibu, "icon" => "far fa-user", "type" => "text"], ["name" => "pendidikan_ibu", "label" => "Pendidikan Ibu", "value" => $alumni->pendidikan_ibu, "icon" => "far fa-user", "type" => "text"], ["name" => "pekerjaan_ibu", "label" => "Pekerjaan Ibu", "value" => $alumni->pekerjaan_ibu, "icon" => "far fa-user", "type" => "text"], ["name" => "nohp_ibu", "label" => "No. HP Ibu", "value" => $alumni->nohp_ibu, "icon" => "far fa-user", "type" => "number"], ["name" => "alamat_ibu", "label" => "Alamat Ibu", "value" => $alumni->alamat_ibu, "icon" => "far fa-user", "type" => "text"]]; 
        goto wF2Z7; 
        ab71x: 
        $data["input_bio"] = json_decode(json_encode($inputBio), FALSE); 
        goto Z9474; 
        b9sdt: 
        $this->load->view("_templates/dashboard/_header", $data); 
        goto x3Hrq; 
        xnOk0: 
        $data["profile"] = $this->dashboard->getProfileAdmin($user->id); 
        goto b9sdt; 
        mql60: 
        $user = $this->ion_auth->user()->row(); 
        goto x38uA; 
        eFJyt: 
        $data["smt"] = $this->dashboard->getSemester(); 
        goto blxVm; 
        z02dR: 
    } 
    public function updateData() 
    { 
        goto J28MI; 
        IuT94: 
        goto TdPso; 
        goto OetOy; 
        NWwcS: 
        $alumni = $this->master->getAlumniById($id_siswa); 
        goto rvaVg; 
        lUlDI: 
        $nis = $this->input->post("nis", true); 
        goto OmYmG; 
        P9vd_: 
        $this->form_validation->set_rules("nisn", "NISN", "required|numeric|trim|min_length[6]|max_length[20]" . $u_nisn); 
        goto sr1kn; 
        OetOy: 
        ldFhR: 
        goto vOT0L; 
        a7TJq: 
        $input = ["nisn" => $this->input->post("nisn", true), "nis" => $this->input->post("nis", true), "nama" => $this->input->post("nama", true), "jenis_kelamin" => $this->input->post("jenis_kelamin", true), "tempat_lahir" => $this->input->post("tempat_lahir", true), "tanggal_lahir" => $this->input->post("tanggal_lahir", true), "agama" => $this->input->post("agama", true), "status_keluarga" => $this->input->post("status_keluarga", true), "anak_ke" => $this->input->post("anak_ke", true), "alamat" => $this->input->post("alamat", true), "rt" => $this->input->post("rt", true), "rw" => $this->input->post("rw", true), "kelurahan" => $this->input->post("kelurahan", true), "kecamatan" => $this->input->post("kecamatan", true), "kabupaten" => $this->input->post("kabupaten", true), "provinsi" => $this->input->post("provinsi", true), "kode_pos" => $this->input->post("kode_pos", true), "hp" => $this->input->post("hp", true), "nama_ayah" => $this->input->post("nama_ayah", true), "nohp_ayah" => $this->input->post("nohp_ayah", true), "pendidikan_ayah" => $this->input->post("pendidikan_ayah", true), "pekerjaan_ayah" => $this->input->post("pekerjaan_ayah", true), "alamat_ayah" => $this->input->post("alamat_ayah", true), "nama_ibu" => $this->input->post("nama_ibu", true), "nohp_ibu" => $this->input->post("nohp_ibu", true), "pendidikan_ibu" => $this->input->post("pendidikan_ibu", true), "pekerjaan_ibu" => $this->input->post("pekerjaan_ibu", true), "alamat_ibu" => $this->input->post("alamat_ibu", true), "nama_wali" => $this->input->post("nama_wali", true), "pendidikan_wali" => $this->input->post("pendidikan_wali", true), "pekerjaan_wali" => $this->input->post("pekerjaan_wali", true), "nohp_wali" => $this->input->post("nohp_wali", true), "alamat_wali" => $this->input->post("alamat_wali", true), "tahun_masuk" => $this->input->post("tahun_masuk", true), "kelas_awal" => $this->input->post("kelas_awal", true), "tgl_lahir_ayah" => $this->input->post("tgl_lahir_ayah", true), "tgl_lahir_ibu" => $this->input->post("tgl_lahir_ibu", true), "tgl_lahir_wali" => $this->input->post("tgl_lahir_wali", true), "sekolah_asal" => $this->input->post("sekolah_asal", true), "foto" => "uploads/foto_siswa/" . $nis . ".jpg"]; 
        goto TVBU7; 
        KY71m: 
        $this->form_validation->set_rules("nis", "NIS", "required|numeric|trim|min_length[6]|max_length[30]" . $u_nis); 
        goto P9vd_; 
        pXHtB: 
        $data["text"] = "Data Sudah ada, Pastikan NIS, dan NISN belum digunakan alumni lain"; 
        goto Hs6V_; 
        Hs6V_: 
        TdPso: 
        goto oTysQ; 
        rvaVg: 
        $u_nis = $alumni->nis === $nis ? '' : "|is_unique[mater_alumni.nis]"; 
        goto yh0pH; 
        TVBU7: 
        $action = $this->master->update("master_siswa", $input, "id_siswa", $id_siswa); 
        goto pxaiy; 
        yh0pH: 
        $u_nisn = $alumni->nisn === $nisn ? '' : "|is_unique[mater_alumni.nisn]"; 
        goto KY71m; 
        sr1kn: 
        if ($this->form_validation->run() == FALSE) { 
            goto ldFhR; 
        } 
        goto a7TJq; 
        OmYmG: 
        $nisn = $this->input->post("nisn", true); 
        goto NWwcS; 
        oTysQ: 
        $this->output_json($data); 
        goto VwpxD; 
        pxaiy: 
        $data["insert"] = $input; 
        goto IYd8r; 
        IYd8r: 
        $data["text"] = "Alumni berhasil diperbaharui"; 
        goto IuT94; 
        vOT0L: 
        $data["insert"] = false; 
        goto pXHtB; 
        J28MI: 
        $id_siswa = $this->input->post("id_siswa", true); 
        goto lUlDI; 
        VwpxD: 
    } 
    function uploadFile($id_siswa) 
    { 
        goto SavW7; 
        ZEc5e: 
        $data["src"] = ''; 
        goto gM9ed; 
        MIt7z: 
        $data["filename"] = pathinfo($result["file_name"], PATHINFO_FILENAME); 
        goto nM2rT; 
        kC6TM: 
        eg4bH: 
        goto E4ajh; 
        E4ajh: 
        $this->output_json($data); 
        goto rUHmB; 
        nI8hE: 
        lD1U8: 
        goto lezet; 
        nM2rT: 
        $data["status"] = true; 
        goto upoDG; 
        upoDG: 
        $this->db->set("foto", "uploads/foto_siswa/" . $result["file_name"]); 
        goto t616y; 
        t616y: 
        $this->db->where("id_siswa", $id_siswa); 
        goto CS0kl; 
        Dr2Lm: 
        $data["size"] = $_FILES["foto"]["size"]; 
        goto kC6TM; 
        CS0kl: 
        $this->db->update("master_siswa"); 
        goto U_XfM; 
        Ft09c: 
        $result = $this->upload->data(); 
        goto hLZ5N; 
        zUQf_: 
        $config["file_name"] = $alumni->nis; 
        goto lXMHi; 
        lEi3b: 
        $config["overwrite"] = true; 
        goto zUQf_; 
        aynn9: 
        if (!$this->upload->do_upload("foto")) { 
            goto aZ2rT; 
        } 
        goto Ft09c; 
        hLZ5N: 
        $data["src"] = base_url() . "uploads/foto_siswa/" . $result["file_name"]; 
        goto MIt7z; 
        pVvU_: 
        if (isset($_FILES["foto"]["name"])) { 
            goto lD1U8; 
        } 
        goto ZEc5e; 
        SavW7: 
        $alumni = $this->master->getAlumniById($id_siswa); 
        goto pVvU_; 
        lezet: 
        $config["upload_path"] = "./uploads/foto_siswa/"; 
        goto J2V5Y; 
        U_XfM: 
        goto Xl9N_; 
        goto gXkv3; 
        gXkv3: 
        aZ2rT: 
        goto joYNh; 
        Ufbq5: 
        $data["src"] = $this->upload->display_errors(); 
        goto EgmXK; 
        lXMHi: 
        $this->upload->initialize($config); 
        goto aynn9; 
        J2V5Y: 
        $config["allowed_types"] = "gif|jpg|png|jpeg|JPEG|JPG|PNG|GIF"; 
        goto lEi3b; 
        gM9ed: 
        goto eg4bH; 
        goto nI8hE; 
        QHia3: 
        $data["type"] = $_FILES["foto"]["type"]; 
        goto Dr2Lm; 
        EgmXK: 
        Xl9N_: 
        goto QHia3; 
        joYNh: 
        $data["status"] = false; 
        goto Ufbq5; 
        rUHmB: 
    } 
    function deleteFoto() 
    { 
        goto S8YCd; 
        mVP5n: 
        echo "File Delete Successfully"; 
        goto p6Gz_; 
        S8YCd: 
        $src = $this->input->post("src"); 
        goto u9aAP; 
        u9aAP: 
        $file_name = str_replace(base_url(), '', $src); 
        goto tsjPV; 
        tsjPV: 
        unlink($file_name); 
        goto mVP5n; 
        p6Gz_: 
    } 
    public function delete() 
    { 
        goto JBDIS; 
        TmrPl: 
        if (!$chk) { 
            goto WHwqu; 
        } 
        goto vsxwN; 
        ZX1_2: 
        $this->output_json(["status" => true, "total" => count($chk)]); 
        goto v63pG; 
        xJJGo: 
        WHwqu: 
        goto VdOTI; 
        vsxwN: 
        if (!$this->master->delete("master_siswa", $chk, "id_siswa")) { 
            goto vbbed; 
        } 
        goto ZX1_2; 
        JBDIS: 
        $chk = $this->input->post("checked", true); 
        goto TmrPl; 
        C90tS: 
        goto x9uSA; 
        goto xJJGo; 
        v63pG: 
        vbbed: 
        goto C90tS; 
        MDDou: 
        x9uSA: 
        goto HZ0fS; 
        VdOTI: 
        $this->output_json(["status" => false]); 
        goto MDDou; 
        HZ0fS: 
    } 
    public function previewExcel() 
    { 
        goto sxWOp; 
        F071g: 
        $file = $this->upload->data("full_path"); 
        goto ptfvW; 
        zgCSO: 
        oWb1A: 
        goto kCbGG; 
        bmo_P: 
        HM4ws: 
        goto nI9yo; 
        FUUWJ: 
        $data = []; 
        goto F14nj; 
        VaJTX: 
        echo $error; 
        goto EpYKS; 
        iokXD: 
        if (!($i < count($sheetData))) { 
            goto jjm6q; 
        } 
        goto pV4xP; 
        qTXbL: 
        unlink($file); 
        goto Rzfu4; 
        Fgwpn: 
        uZtqw: 
        goto F7oaa; 
        z9sUJ: 
        goto BL3JG; 
        goto wIeVk; 
        AOVeX: 
        $config["encrypt_name"] = true; 
        goto G1_5A; 
        sxWOp: 
        $config["upload_path"] = "./uploads/import/"; 
        goto ony9r; 
        GPs0G: 
        $data[] = ["nisn" => str_replace("'", '', $sheetData[$i][1]), "nis" => str_replace("'", '', $sheetData[$i][2]), "nama" => $sheetData[$i][3], "jenis_kelamin" => $sheetData[$i][4], "username" => $sheetData[$i][5], "password" => $sheetData[$i][6], "tempat_lahir" => $sheetData[$i][10], "tanggal_lahir" => $sheetData[$i][11], "agama" => $sheetData[$i][12], "status_keluarga" => $sheetData[$i][16], "anak_ke" => $sheetData[$i][15], "alamat" => $sheetData[$i][17], "rt" => $sheetData[$i][18], "rw" => $sheetData[$i][19], "kelurahan" => $sheetData[$i][20], "kecamatan" => $sheetData[$i][21], "kabupaten" => $sheetData[$i][22], "provinsi" => $sheetData[$i][23], "kode_pos" => $sheetData[$i][24], "hp" => str_replace("'", '', $sheetData[$i][13]), "nama_ayah" => $sheetData[$i][25], "nohp_ayah" => str_replace("'", '', $sheetData[$i][29]), "pendidikan_ayah" => $sheetData[$i][27], "pekerjaan_ayah" => $sheetData[$i][28], "alamat_ayah" => $sheetData[$i][30], "nama_ibu" => $sheetData[$i][31], "nohp_ibu" => str_replace("'", '', $sheetData[$i][35]), "pendidikan_ibu" => $sheetData[$i][33], "pekerjaan_ibu" => $sheetData[$i][34], "alamat_ibu" => $sheetData[$i][36], "nama_wali" => $sheetData[$i][37], "pendidikan_wali" => $sheetData[$i][39], "pekerjaan_wali" => $sheetData[$i][40], "nohp_wali" => str_replace("'", '', $sheetData[$i][41]), "alamat_wali" => $sheetData[$i][42], "tahun_masuk" => $sheetData[$i][8], "kelas_awal" => $sheetData[$i][7], "tgl_lahir_ayah" => $sheetData[$i][26], "tgl_lahir_ibu" => $sheetData[$i][32], "tgl_lahir_wali" => $sheetData[$i][38], "sekolah_asal" => $sheetData[$i][9], "id_siswa" => isset($sheetData[$i][43]) ? $sheetData[$i][43] : '']; 
        goto bmo_P; 
        ptfvW: 
        $ext = $this->upload->data("file_ext"); 
        goto mwqZu; 
        wIeVk: 
        jjm6q: 
        goto qTXbL; 
        oV6O9: 
        $sheetData = $spreadsheet->getActiveSheet()->toArray(); 
        goto FUUWJ; 
        nI9yo: 
        wOkzH: 
        goto a60SG; 
        ktcJo: 
        eXu8u: 
        goto kdW4C; 
        xJERg: 
        $spreadsheet = $reader->load($file); 
        goto oV6O9; 
        pV4xP: 
        if (!($sheetData[$i][0] != null)) { 
            goto HM4ws; 
        } 
        goto GPs0G; 
        F14nj: 
        $i = 1; 
        goto YUqB0; 
        YUqB0: 
        BL3JG: 
        goto iokXD; 
        HE8kZ: 
        if (!$this->upload->do_upload("upload_file")) { 
            goto uZtqw; 
        } 
        goto F071g; 
        T_D3V: 
        goto oWb1A; 
        goto Fgwpn; 
        a60SG: 
        $i++; 
        goto z9sUJ; 
        ony9r: 
        $config["allowed_types"] = "xls|xlsx|csv"; 
        goto jfyIo; 
        F7oaa: 
        $error = $this->upload->display_errors(); 
        goto VaJTX; 
        jfyIo: 
        $config["max_size"] = 2048; 
        goto AOVeX; 
        Rzfu4: 
        echo json_encode($data); 
        goto T_D3V; 
        mwqZu: 
        switch ($ext) { 
            case ".xlsx": 
                $reader = new \PhpOffice\PhpSpreadsheet\Reader\Xlsx(); 
                goto G6JFj; 
            case ".xls": 
                $reader = new \PhpOffice\PhpSpreadsheet\Reader\Xls(); 
                goto G6JFj; 
            case ".csv": 
                $reader = new \PhpOffice\PhpSpreadsheet\Reader\Csv(); 
                goto G6JFj; 
            default: 
                echo "unknown file ext"; 
                die; 
        } 
        goto ktcJo; 
        kdW4C: 
        G6JFj: 
        goto xJERg; 
        G1_5A: 
        $this->upload->initialize($config); 
        goto HE8kZ; 
        EpYKS: 
        die; 
        goto zgCSO; 
        kCbGG: 
    } 
    public function do_import() 
    { 
        goto c_Ljg; 
        fGibz: 
        $this->db->trans_complete(); 
        goto CUfNH; 
        nv8Ko: 
        $this->db->trans_start(); 
        goto m44bI; 
        CUfNH: 
        $this->output->set_content_type("application/json")->set_output($save); 
        goto zFbhU; 
        m44bI: 
        foreach ($input as $key1 => $val1) { 
            goto Q41zv; 
            jIl3n: 
            foreach (((array) $input)[$key1] as $key => $val) { 
                $data[$key] = $val; 
                MNjD0: 
            } 
            goto adIo7; 
            adIo7: 
            p6XlY: 
            goto QBsnI; 
            bS6jL: 
            $save = $this->db->insert("master_siswa", $data); 
            goto bO2N7; 
            Q41zv: 
            $data = []; 
            goto jIl3n; 
            QBsnI: 
            $data["foto"] = "uploads/foto_siswa/" . $data["nis"] . ".jpg"; 
            goto bS6jL; 
            bO2N7: 
            HUm9P: 
            goto tFgm1; 
            tFgm1: 
        } 
        goto cfmcd; 
        c_Ljg: 
        $input = json_decode($this->input->post("alumni", true)); 
        goto nv8Ko; 
        cfmcd: 
        nXSU9: 
        goto fGibz; 
        zFbhU: 
    } 
    public function editKelulusan() 
    { 
        goto HckFx; 
        rIMjR: 
        $this->db->set("kelas_akhir", $kelas_akhir); 
        goto qrnLd; 
        m0Cag: 
        $this->output_json($data); 
        goto rcVps; 
        pCEn2: 
        $no_ijazah = $this->input->post("no_ijazah", true); 
        goto Ko5w3; 
        qMIdn: 
        $this->db->set("no_ijazah", $no_ijazah); 
        goto d7i1s; 
        Egzyg: 
        $data["status"] = $status; 
        goto m0Cag; 
        qrnLd: 
        $this->db->set("tahun_lulus", $thn); 
        goto qMIdn; 
        Tpybr: 
        $thn = $this->input->post("tahun_lulus", true); 
        goto pCEn2; 
        Byop8: 
        $status = $this->db->update("master_siswa"); 
        goto Egzyg; 
        d7i1s: 
        $this->db->where("id_siswa", $id_siswa); 
        goto Byop8; 
        HckFx: 
        $id_siswa = $this->input->post("id_siswa", true); 
        goto Tpybr; 
        Ko5w3: 
        $kelas_akhir = $this->input->post("kelas_akhir", true); 
        goto rIMjR; 
        rcVps: 
    } 
} 
 ?>

Did this file decode correctly?

Original Code

<?php
/*   ________________________________________
    |                 GarudaCBT              |
    |    https://github.com/garudacbt/cbt    |
    |________________________________________|
*/
defined("\x42\x41\x53\105\120\x41\x54\x48") or exit("\x4e\157\x20\144\151\162\x65\143\164\40\x73\x63\162\x69\160\164\x20\x61\x63\x63\x65\x73\x73\40\141\x6c\154\x6f\x77\x65\144");
class Dataalumni extends CI_Controller
{
    public function __construct()
    {
        goto gLl55;
        Dfr18:
        CyNGc:
        goto OzfG4;
        OzfG4:
        goto vh3Ht;
        goto SsZlA;
        p8FA7:
        $this->load->model("\x44\x72\157\x70\x64\x6f\167\156\137\155\x6f\x64\145\154", "\144\162\157\160\144\x6f\167\156");
        goto pPIN8;
        Km1mY:
        $this->form_validation->set_error_delimiters('', '');
        goto FhyrZ;
        oJ8e0:
        if (!$this->ion_auth->logged_in()) {
            goto x1u_G;
        }
        goto TR3Xu;
        gLl55:
        parent::__construct();
        goto oJ8e0;
        RX5fZ:
        vh3Ht:
        goto UxGpU;
        yxw_8:
        $this->load->model("\113\145\154\141\x73\137\155\x6f\x64\x65\x6c", "\x6b\x65\154\x61\163");
        goto s64tq;
        SsZlA:
        x1u_G:
        goto GXZcu;
        hrewu:
        show_error("\x48\141\156\171\141\40\x41\x64\155\x69\x6e\x69\163\x74\162\x61\164\157\162\40\171\141\x6e\x67\40\144\x69\142\145\162\x69\40\150\141\153\x20\x75\156\x74\x75\153\x20\155\145\x6e\147\141\153\163\145\x73\x20\150\141\x6c\141\x6d\141\156\x20\151\x6e\151\x2c\x20\74\141\x20\x68\162\145\x66\x3d\42" . base_url("\144\x61\163\150\x62\x6f\141\162\x64") . "\42\x3e\113\x65\155\x62\141\x6c\151\40\153\145\x20\x6d\x65\156\x75\40\141\167\x61\154\74\57\x61\x3e", 403, "\x41\x6b\x73\x65\x73\x20\x54\x65\x72\x6c\x61\x72\x61\x6e\x67");
        goto Dfr18;
        qG3nv:
        $this->load->model("\115\x61\163\164\145\162\x5f\155\x6f\144\x65\154", "\x6d\141\163\x74\145\x72");
        goto p8FA7;
        GXZcu:
        redirect("\141\165\164\150");
        goto RX5fZ;
        s64tq:
        $this->load->model("\104\141\x73\x68\x62\157\x61\162\x64\x5f\x6d\157\x64\x65\154", "\144\x61\163\x68\142\157\x61\x72\144");
        goto qG3nv;
        UxGpU:
        $this->load->library("\165\x70\x6c\157\141\144");
        goto f6dQ7;
        f6dQ7:
        $this->load->library(["\x64\x61\164\x61\x74\x61\142\x6c\145\163", "\x66\157\162\155\137\166\141\154\x69\x64\x61\164\151\x6f\156"]);
        goto yxw_8;
        pPIN8:
        $this->load->model("\122\141\x70\157\162\137\155\157\144\x65\x6c", "\x72\141\160\x6f\162");
        goto Km1mY;
        TR3Xu:
        if ($this->ion_auth->is_admin()) {
            goto CyNGc;
        }
        goto hrewu;
        FhyrZ:
    }
    public function output_json($data, $encode = true)
    {
        goto kLDTf;
        nmWgf:
        $data = json_encode($data);
        goto lF2Rj;
        kLDTf:
        if (!$encode) {
            goto FBpN0;
        }
        goto nmWgf;
        e3X8s:
        $this->output->set_content_type("\x61\x70\160\154\151\x63\141\164\x69\x6f\x6e\x2f\x6a\163\x6f\x6e")->set_output($data);
        goto Ox9J2;
        lF2Rj:
        FBpN0:
        goto e3X8s;
        Ox9J2:
    }
    public function index()
    {
        goto r6Zoe;
        WyK8y:
        goto mRhoJ;
        goto wJZjV;
        eFktY:
        foreach ($uids as $uid) {
            goto Ooqfl;
            bND4Z:
            $this->db->insert("\142\165\153\x75\137\x69\x6e\x64\x75\153", $uid);
            goto jImxf;
            ZAEUT:
            if (!($check->get()->num_rows() == 0)) {
                goto iNhNv;
            }
            goto bND4Z;
            Ooqfl:
            $check = $this->db->select("\151\144\x5f\x73\151\x73\x77\x61")->from("\x62\165\x6b\x75\137\x69\x6e\144\x75\153")->where("\x69\x64\137\x73\x69\x73\x77\x61", $uid->id_siswa);
            goto ZAEUT;
            jImxf:
            iNhNv:
            goto eUMF5;
            eUMF5:
            nsmjp:
            goto NBEV3;
            NBEV3:
        }
        goto wlPtc;
        TrpPB:
        $data["\160\162\x6f\146\x69\x6c\x65"] = $this->dashboard->getProfileAdmin($user->id);
        goto oeww4;
        iBxR2:
        $data = ["\x75\163\145\162" => $user, "\x6a\165\144\165\154" => "\104\x61\164\141\x20\113\145\x6c\165\x6c\165\x73\141\156\x20\46\x20\101\x6c\165\155\156\x69", "\163\165\142\x6a\x75\x64\165\x6c" => "\x44\141\164\141\x20\x41\154\x75\x6d\156\151", "\163\145\164\x74\x69\x6e\x67" => $setting];
        goto qjf7L;
        zXQs0:
        $this->load->view("\137\164\145\155\160\154\x61\164\145\163\x2f\x64\141\163\x68\142\x6f\141\x72\x64\x2f\137\146\x6f\157\164\x65\x72");
        goto UKObu;
        B4gNR:
        $this->load->view("\x6d\141\x73\x74\x65\x72\x2f\x61\x6c\165\x6d\x6e\151\57\x64\x61\x74\141");
        goto zXQs0;
        wJZjV:
        StafS:
        goto qZnsn;
        thogm:
        $allTp = $this->dashboard->getTahun();
        goto e28hH;
        oeww4:
        $data["\164\x61\150\x75\x6e\x5f\x6c\x75\154\x75\x73"] = $this->master->getDistinctTahunLulus();
        goto giwdz;
        e28hH:
        $data["\164\160"] = $allTp;
        goto r0wxW;
        CVPB1:
        $smt = $this->dashboard->getSemesterActive();
        goto thogm;
        E2hD_:
        $alumnis = $this->master->getAlumniByTahun($splitTahun[1]);
        goto cCQ8M;
        k65ki:
        $count_siswa = $this->db->count_all("\x6d\141\163\164\145\162\137\x73\x69\163\167\141");
        goto qpbmu;
        p2GvW:
        if ($tahun != null && $tahun != '') {
            goto StafS;
        }
        goto z3WHl;
        r6Zoe:
        $tahun = $this->input->get("\x74\141\150\165\x6e", true);
        goto JYxmT;
        qjf7L:
        $tp = $this->dashboard->getTahunActive();
        goto CVPB1;
        r0wxW:
        $data["\x74\160\x5f\141\x63\164\x69\x76\145"] = $tp;
        goto bWDLr;
        yRZhF:
        $splitTahun = explode("\x2f", $tpBefore);
        goto E2hD_;
        VVgmF:
        $data["\x74\141\150\x75\156\137\x73\x65\x6c\145\x63\x74\x65\x64"] = $tahun;
        goto xFZU0;
        kMcoD:
        $jumlah_lulus = $this->rapor->getJumlahLulus($tp->id_tp - 1, "\62", $level);
        goto idZ7D;
        xFZU0:
        $data["\153\x65\x6c\141\x73\137\163\145\x6c\145\143\164\145\x64"] = $kelas_akhir;
        goto J9E7Y;
        PPYUG:
        soRCw:
        goto WyK8y;
        JYxmT:
        $kelas_akhir = $this->input->get("\x6b\x65\154\x61\163", true);
        goto NFxE1;
        ZSVWb:
        oR2tz:
        goto Qj5CY;
        wlPtc:
        B4cAd:
        goto PPYUG;
        Q22m1:
        PX58f:
        goto FkCdP;
        lxidW:
        if (!($count_siswa > $count_induk)) {
            goto soRCw;
        }
        goto LpB2U;
        z3WHl:
        goto mRhoJ;
        goto tDfwJ;
        is64q:
        mRhoJ:
        goto lpPny;
        ZYNi_:
        $tpBefore = $allTp[$idSearch]->tahun;
        goto yRZhF;
        lpPny:
        $this->load->view("\137\164\145\155\x70\x6c\141\164\145\163\57\144\141\x73\150\x62\x6f\141\162\144\57\x5f\150\145\x61\144\x65\x72", $data);
        goto B4gNR;
        bWDLr:
        $data["\163\x6d\164"] = $this->dashboard->getSemester();
        goto N8OVH;
        giwdz:
        $data["\x6b\145\154\141\163\x5f\141\153\x68\151\x72"] = $this->master->getDistinctKelasAkhir();
        goto VVgmF;
        Qj5CY:
        if ($tahun == null) {
            goto gM1QC;
        }
        goto p2GvW;
        LpB2U:
        $uids = $this->db->select("\151\144\x5f\x73\151\x73\167\141\x2c\40\x75\x69\144")->from("\x6d\x61\x73\x74\x65\162\x5f\163\151\x73\x77\x61")->get()->result();
        goto eFktY;
        nCZAk:
        $setting = $this->dashboard->getSetting();
        goto iBxR2;
        FkCdP:
        $data["\152\x75\155\x6c\141\x68\137\154\x75\154\165\163"] = $jumlah_lulus;
        goto ZSVWb;
        NFxE1:
        $user = $this->ion_auth->user()->row();
        goto nCZAk;
        cCQ8M:
        if ($jumlah_lulus > count($alumnis)) {
            goto PX58f;
        }
        goto N46NA;
        qZnsn:
        $data["\141\x6c\165\x6d\156\x69\163"] = $this->master->getAlumniByTahun($tahun, $kelas_akhir);
        goto is64q;
        J9E7Y:
        $level = $setting->jenjang == "\61" ? "\66" : ($setting->jenjang == "\x32" ? "\x39" : ($setting->jenjang == "\x31" ? "\63" : "\x31\x32"));
        goto kMcoD;
        idZ7D:
        $idSearch = array_search($tp->id_tp - 1, array_column($allTp, "\x69\144\137\164\x70"));
        goto ZYNi_;
        N46NA:
        $data["\x6a\x75\x6d\154\141\x68\x5f\154\x75\154\x75\x73"] = 0;
        goto obKei;
        obKei:
        goto oR2tz;
        goto Q22m1;
        N8OVH:
        $data["\163\155\164\137\141\x63\164\151\x76\145"] = $smt;
        goto TrpPB;
        qpbmu:
        $count_induk = $this->db->count_all("\x62\x75\x6b\x75\137\151\x6e\x64\165\153");
        goto lxidW;
        tDfwJ:
        gM1QC:
        goto k65ki;
        UKObu:
    }
    public function generateAlumni()
    {
        goto oByYb;
        LhCtu:
        $splitTahun = explode("\57", $tpBefore);
        goto UeGIP;
        UeGIP:
        $level = $setting->jenjang == "\x31" ? "\66" : ($setting->jenjang == "\62" ? "\x39" : ($setting->jenjang == "\61" ? "\63" : "\61\62"));
        goto rMlFu;
        c4dqi:
        $tp = $this->dashboard->getTahunActive();
        goto G4_OB;
        oByYb:
        $setting = $this->dashboard->getSetting();
        goto c4dqi;
        EZfJF:
        $ids = [];
        goto Xfe35;
        Xfe35:
        $this->db->trans_start();
        goto P5ccJ;
        S2JzF:
        $this->output_json($ids);
        goto ZFpBm;
        yO1kQ:
        $idBefore = $allTp[$searchId - 1]->id_tp;
        goto LKABn;
        jspZ4:
        J0ARv:
        goto p1Mbe;
        P5ccJ:
        foreach ($siswas as $siswa) {
            goto ytXwT;
            auX9e:
            uptmF:
            goto JzjNb;
            BhFec:
            $this->db->set("\x74\x61\x68\x75\x6e\137\x6c\165\x6c\x75\163", $splitTahun[1]);
            goto sN6v5;
            Psnwb:
            $this->db->set("\163\x74\141\x74\x75\x73", "\x32");
            goto BhFec;
            F0U_G:
            $ids[] = $siswa->id_siswa;
            goto Oe_yU;
            qqgxV:
            $this->db->set("\x6b\145\154\141\163\137\x61\x6b\x68\151\x72", $siswa->kelas_akhir);
            goto BSsWe;
            ytXwT:
            if ($siswa->naik != null && $siswa->naik == "\x30") {
                goto uptmF;
            }
            goto F0U_G;
            aVpgg:
            qClec:
            goto GHsXg;
            VPn_a:
            goto xIy1p;
            goto auX9e;
            sN6v5:
            $this->db->set("\x6e\x6f\x5f\151\x6a\x61\x7a\x61\150", "\x2d\x20\55");
            goto qqgxV;
            Oe_yU:
            $this->db->where("\151\144\137\x73\151\x73\167\x61", $siswa->id_siswa);
            goto Psnwb;
            JzjNb:
            xIy1p:
            goto aVpgg;
            BSsWe:
            $this->db->update("\x62\165\153\x75\x5f\x69\x6e\x64\165\x6b");
            goto VPn_a;
            GHsXg:
        }
        goto jspZ4;
        InU3b:
        $searchId = array_search("\61", array_column($allTp, "\x61\143\164\151\166\145"));
        goto yO1kQ;
        rMlFu:
        $siswas = $this->rapor->getSiswaLulus($tp->id_tp - 1, "\62", $level);
        goto EZfJF;
        p1Mbe:
        $this->db->trans_complete();
        goto S2JzF;
        G4_OB:
        $smt = $this->dashboard->getSemesterActive();
        goto Jvr4T;
        LKABn:
        $tpBefore = $allTp[$searchId - 1]->tahun;
        goto LhCtu;
        Jvr4T:
        $allTp = $this->dashboard->getTahun();
        goto InU3b;
        ZFpBm:
    }
    public function luluskan()
    {
        goto lCup1;
        AJVg6:
        $this->output_json($data);
        goto UAFqk;
        PPZOt:
        foreach ($posts as $d) {
            goto YQR5s;
            y5gIX:
            WLo4t:
            goto mp7It;
            bPSwx:
            $alumnikelas[$d->kelas_baru][] = ["\x69\x64" => $d->id_siswa];
            goto y5gIX;
            YQR5s:
            $idkelases[] = $d->kelas_baru;
            goto bPSwx;
            mp7It:
        }
        goto slixP;
        lCup1:
        $tp = $this->dashboard->getTahunActive();
        goto IfVrN;
        Ngi8I:
        $idkelases = [];
        goto HqJNO;
        TJCwn:
        $idks = [];
        goto V1eS9;
        V1eS9:
        foreach ($idkelases as $ik) {
            goto hcc5T;
            dqNPQ:
            goto o4ktb;
            goto pbubF;
            DW3f2:
            Fh5P8:
            goto Adpqq;
            hcc5T:
            $kelas = $this->kelas->get_one($ik, $tp->id_tp - 1, "\x32");
            goto Mem5S;
            vD7QE:
            q_sSU:
            goto imD7l;
            imD7l:
            $data = array("\x6e\141\x6d\x61\137\153\x65\154\141\163" => $kelas->nama_kelas, "\x6b\157\144\145\x5f\153\145\154\141\163" => $kelas->kode_kelas, "\x6a\x75\x72\x75\163\141\x6e\x5f\151\144" => $kelas->jurusan_id, "\151\x64\137\x74\x70" => $tp->id_tp, "\x69\144\137\x73\155\164" => $smt->id_smt, "\x6c\145\x76\145\154\x5f\151\144" => $kelas->level_id, "\147\165\162\165\137\151\x64" => $kelas->guru_id, "\x61\154\165\x6d\156\151\x5f\151\x64" => $kelas->alumni_id, "\152\165\155\x6c\x61\x68\x5f\141\154\x75\155\156\x69" => $jumlah);
            goto vecfy;
            vecfy:
            $this->db->where("\151\144\x5f\x6b\x65\154\x61\163", $kelas_baru->id_kelas);
            goto Feaac;
            l2aX_:
            o4ktb:
            goto TGfGG;
            Apaw4:
            $jumlah = serialize($alumnikelas[$ik]);
            goto U2O9d;
            Adpqq:
            $jumlah = serialize($jmlLama);
            goto vD7QE;
            jDVT4:
            $jumlah = serialize($alumnikelas[$ik]);
            goto qlw3p;
            U2O9d:
            $data = array("\x6e\x61\155\141\137\153\145\x6c\x61\163" => $kelas->nama_kelas, "\x6b\157\144\145\x5f\x6b\x65\x6c\141\x73" => $kelas->kode_kelas, "\152\165\x72\x75\x73\141\x6e\137\x69\x64" => $kelas->jurusan_id, "\151\144\137\x74\160" => $tp->id_tp, "\x69\x64\x5f\163\x6d\164" => $smt->id_smt, "\x6c\x65\x76\145\154\x5f\x69\144" => $kelas->level_id, "\147\x75\x72\x75\x5f\x69\144" => $kelas->guru_id, "\141\x6c\x75\155\x6e\x69\x5f\151\x64" => $kelas->alumni_id, "\152\165\155\x6c\x61\150\137\x61\x6c\x75\155\x6e\x69" => $jumlah);
            goto S38Ve;
            TGfGG:
            foreach ($idks as $idk) {
                goto TYea3;
                TYea3:
                foreach ($alumnikelas[$ik] as $s) {
                    goto cDh4m;
                    rC35A:
                    $res[] = $this->db->replace("\x6b\x65\154\141\163\137\141\x6c\x75\155\x6e\151", $insert);
                    goto bRGW6;
                    bRGW6:
                    dTCMC:
                    goto N_zY2;
                    cDh4m:
                    $insert = ["\151\144\137\x6b\x65\x6c\141\163\x5f\x61\154\x75\155\156\151" => $tp->id_tp . $smt->id_smt . $s["\151\x64"], "\x69\x64\x5f\164\x70" => $tp->id_tp, "\x69\x64\x5f\163\155\x74" => $smt->id_smt, "\x69\144\x5f\153\145\154\141\163" => $idk, "\151\x64\137\163\x69\163\167\141" => $s["\151\144"]];
                    goto rC35A;
                    N_zY2:
                }
                goto D59pZ;
                pBWib:
                h6r4Q:
                goto TBvHg;
                D59pZ:
                NZjJr:
                goto pBWib;
                TBvHg:
            }
            goto oBPkU;
            NqwfY:
            if ($mode == "\x70\145\162\141\154\x75\x6d\156\151") {
                goto HXwjx;
            }
            goto jDVT4;
            f8I_l:
            YZz28:
            goto o6GAD;
            pbubF:
            fDd7x:
            goto Apaw4;
            Mem5S:
            $kelas_baru = $this->kelas->getKelasByNama($kelas->nama_kelas, $tp->id_tp, $smt->id_smt);
            goto kVrml;
            xo9d9:
            goto q_sSU;
            goto C1CWF;
            IGjKt:
            array_push($idks, $this->db->insert_id());
            goto l2aX_;
            BVZtF:
            foreach ($alumnikelas[$ik] as $s) {
                goto kpyt0;
                lGTiI:
                F9TQo:
                goto Go0YZ;
                rUfzi:
                lh2h4:
                goto lGTiI;
                kpyt0:
                foreach ($jmlLama as $lama) {
                    goto IT7NK;
                    EEda3:
                    array_push($jmlLama, ["\151\x64" => $s["\151\x64"]]);
                    goto m9Bzn;
                    m9Bzn:
                    array_push($idks, $kelas_baru->id_kelas);
                    goto yhRzE;
                    IT7NK:
                    if (!($lama["\x69\144"] != $s["\x69\144"])) {
                        goto vjPNO;
                    }
                    goto EEda3;
                    leSrn:
                    uAHez:
                    goto oFon4;
                    yhRzE:
                    vjPNO:
                    goto leSrn;
                    oFon4:
                }
                goto rUfzi;
                Go0YZ:
            }
            goto DW3f2;
            kVrml:
            if ($kelas_baru == null) {
                goto fDd7x;
            }
            goto NqwfY;
            S38Ve:
            $this->db->insert("\155\141\163\x74\145\162\137\153\x65\x6c\141\163", $data);
            goto IGjKt;
            ZJfTN:
            $jmlLama = unserialize($kelas_baru->jumlah_alumni);
            goto BVZtF;
            qlw3p:
            array_push($idks, $kelas_baru->id_kelas);
            goto xo9d9;
            C1CWF:
            HXwjx:
            goto ZJfTN;
            oBPkU:
            zs6ft:
            goto f8I_l;
            Feaac:
            $this->db->update("\x6d\141\x73\x74\x65\x72\x5f\x6b\145\154\141\x73", $data);
            goto dqNPQ;
            o6GAD:
        }
        goto PvSA5;
        PvSA5:
        mbxz_:
        goto DaZk3;
        oS7Ih:
        $posts = json_decode($this->input->post("\x6b\x65\x6c\x61\163", true));
        goto gVA7H;
        HqJNO:
        $alumnikelas = [];
        goto PPZOt;
        DaZk3:
        $data["\x72\x65\163"] = $alumnikelas;
        goto AJVg6;
        IfVrN:
        $smt = $this->dashboard->getSemesterActive();
        goto oS7Ih;
        fduz6:
        $res = [];
        goto TJCwn;
        gVA7H:
        $mode = $this->input->post("\x6d\x6f\x64\x65", true);
        goto Ngi8I;
        slixP:
        PI4hB:
        goto mHL3q;
        mHL3q:
        $idkelases = array_unique($idkelases);
        goto fduz6;
        UAFqk:
    }
    public function detail($id)
    {
        goto xPdCM;
        JzqV5:
        $data["\x69\156\x70\x75\164\x5f\167\141\x6c\x69"] = json_decode(json_encode($inputWali), FALSE);
        goto zGwvh;
        moHBn:
        $data["\x69\x6e\160\x75\164\x5f\157\162\164\x75"] = json_decode(json_encode($inputOrtu), FALSE);
        goto JzqV5;
        nyBN7:
        $this->load->view("\137\164\145\x6d\160\x6c\141\x74\145\163\x2f\x64\141\x73\150\142\x6f\141\162\144\x2f\137\146\x6f\x6f\x74\145\162");
        goto ASBt5;
        MpWsn:
        $this->load->view("\155\x61\163\x74\145\x72\x2f\x61\x6c\165\155\x6e\x69\57\x65\x64\151\164");
        goto nyBN7;
        mh9tv:
        $data = ["\165\163\145\x72" => $user, "\x6a\165\x64\165\x6c" => "\101\x6c\165\x6d\156\151", "\x73\x75\x62\x6a\165\x64\x75\x6c" => "\105\144\151\x74\x20\104\141\x74\141\x20\x41\x6c\165\x6d\156\x69", "\141\154\165\x6d\x6e\x69" => $alumni, "\163\145\164\x74\x69\156\x67" => $this->dashboard->getSetting()];
        goto JoCQ8;
        uUraW:
        $data["\164\x70\x5f\x61\143\164\151\166\145"] = $this->dashboard->getTahunActive();
        goto h3XVy;
        zvB6X:
        $inputWali = [["\x6e\x61\x6d\145" => "\x6e\x61\155\141\x5f\167\141\x6c\x69", "\154\x61\x62\x65\154" => "\116\x61\155\141\40\127\141\x6c\x69", "\x76\x61\x6c\165\x65" => $alumni->nama_wali, "\x69\143\157\x6e" => "\146\141\162\40\146\x61\x2d\x75\x73\145\x72", "\164\171\x70\x65" => "\x74\145\x78\164"], ["\156\x61\x6d\x65" => "\160\x65\x6e\x64\151\144\x69\x6b\x61\156\x5f\x77\141\154\151", "\154\141\142\x65\x6c" => "\120\145\x6e\x64\x69\x64\151\153\x61\156\40\x57\141\154\x69", "\166\141\x6c\165\145" => $alumni->pendidikan_wali, "\x69\143\x6f\x6e" => "\x66\x61\162\x20\x66\141\x2d\x75\x73\x65\162", "\x74\171\160\145" => "\164\x65\170\164"], ["\156\141\155\145" => "\x70\x65\153\145\162\152\x61\141\x6e\137\167\141\x6c\x69", "\154\x61\x62\x65\154" => "\120\x65\x6b\x65\x72\152\141\x61\x6e\40\127\x61\154\151", "\x76\141\x6c\x75\145" => $alumni->pekerjaan_wali, "\151\143\157\156" => "\146\141\162\40\146\x61\55\165\x73\x65\162", "\x74\171\160\x65" => "\164\x65\x78\164"], ["\156\x61\155\145" => "\x61\x6c\141\155\x61\x74\x5f\x77\141\x6c\151", "\x6c\x61\x62\x65\x6c" => "\x41\154\141\155\x61\164\40\x57\x61\154\x69", "\x76\141\x6c\x75\x65" => $alumni->alamat_wali, "\x69\143\x6f\x6e" => "\146\141\x72\40\146\x61\55\165\163\145\162", "\x74\171\160\145" => "\164\x65\x78\164"], ["\156\x61\155\x65" => "\x6e\157\x68\x70\x5f\x77\141\154\151", "\x6c\x61\142\145\154" => "\116\x6f\56\x20\110\x50\40\127\x61\154\x69", "\166\141\154\x75\145" => $alumni->nohp_wali, "\x69\143\x6f\x6e" => "\146\x61\162\x20\x66\x61\x2d\165\x73\145\x72", "\x74\171\160\x65" => "\x6e\x75\x6d\142\x65\162"]];
        goto lxGUw;
        xPdCM:
        $alumni = $this->master->getAlumniById($id);
        goto YQP4I;
        NTVVq:
        $inputBio = [["\156\141\155\x65" => "\164\145\x6d\160\141\x74\x5f\154\141\x68\151\162", "\154\141\x62\x65\154" => "\124\x65\x6d\x70\x61\164\40\114\141\x68\x69\162", "\166\141\x6c\x75\145" => $alumni->tempat_lahir, "\x69\143\157\x6e" => "\x66\x61\162\40\146\141\x2d\x6d\x61\x70", "\143\154\x61\x73\x73" => '', "\164\171\x70\x65" => "\x74\145\x78\x74"], ["\x6e\x61\x6d\145" => "\164\x61\156\147\x67\141\x6c\137\154\141\x68\151\162", "\x6c\x61\x62\145\154" => "\124\x61\x6e\147\147\x61\x6c\x20\x4c\141\150\x69\x72", "\166\x61\x6c\x75\x65" => $alumni->tanggal_lahir, "\151\143\x6f\156" => "\x66\141\x72\x20\x66\141\55\143\x61\x6c\x65\x6e\144\x61\162", "\x63\x6c\141\x73\163" => "\164\x61\x68\x75\156", "\x74\171\160\x65" => "\x74\x65\170\x74"], ["\143\154\141\x73\x73" => '', "\156\141\x6d\145" => "\141\147\141\155\x61", "\x6c\x61\x62\x65\x6c" => "\101\x67\x61\x6d\141", "\x76\141\x6c\x75\x65" => $alumni->agama, "\151\x63\157\156" => "\146\x61\x72\x20\146\x61\x2d\143\x61\154\x65\x6e\x64\141\x72", "\x74\171\160\145" => "\x74\145\170\164"], ["\143\154\141\163\x73" => '', "\156\141\x6d\x65" => "\141\x6c\x61\155\x61\164", "\x6c\141\142\145\154" => "\101\154\x61\155\141\164", "\166\x61\154\165\145" => $alumni->alamat, "\151\x63\x6f\156" => "\146\141\162\x20\146\x61\x2d\165\x73\x65\x72", "\x74\171\x70\145" => "\164\x65\170\164"], ["\143\154\141\x73\x73" => '', "\x6e\141\155\x65" => "\162\x74", "\154\141\142\x65\154" => "\x52\x74", "\166\141\154\165\x65" => $alumni->rt, "\151\143\x6f\x6e" => "\146\x61\x72\x20\146\x61\55\x75\x73\x65\162", "\x74\171\x70\x65" => "\x74\x65\170\164"], ["\x63\154\141\x73\x73" => '', "\x6e\x61\x6d\145" => "\x72\x77", "\154\141\x62\x65\x6c" => "\122\x77", "\166\141\154\165\x65" => $alumni->rw, "\x69\143\157\x6e" => "\x66\141\162\40\146\141\x2d\165\163\x65\x72", "\x74\x79\160\x65" => "\x74\145\170\164"], ["\x63\x6c\x61\163\163" => '', "\x6e\141\x6d\145" => "\153\145\154\165\x72\x61\150\x61\156", "\x6c\141\x62\x65\154" => "\x4b\x65\x6c\165\x72\x61\x68\x61\156\57\104\x65\163\141", "\166\x61\x6c\165\145" => $alumni->kelurahan, "\x69\143\157\x6e" => "\x66\141\162\40\146\141\x2d\x75\x73\145\x72", "\x74\171\x70\x65" => "\x74\x65\170\164"], ["\x63\154\x61\x73\163" => '', "\x6e\141\x6d\x65" => "\153\x65\143\x61\x6d\141\164\141\x6e", "\x6c\x61\142\145\154" => "\x4b\x65\x63\141\x6d\x61\164\141\156", "\x76\141\x6c\165\x65" => $alumni->kecamatan, "\x69\x63\157\156" => "\x66\141\x72\x20\146\141\55\x75\163\x65\162", "\164\x79\160\x65" => "\164\145\170\x74"], ["\x63\154\141\x73\x73" => '', "\156\141\155\x65" => "\153\x61\142\x75\x70\141\164\145\156", "\154\141\142\145\154" => "\113\x61\x62\x75\x70\141\164\x65\156\x2f\113\x6f\164\x61", "\x76\x61\x6c\165\x65" => $alumni->kabupaten, "\151\143\157\156" => "\x66\141\x72\x20\146\x61\55\165\x73\x65\x72", "\x74\x79\x70\x65" => "\x74\145\170\164"], ["\143\154\141\x73\163" => '', "\156\x61\155\x65" => "\x6b\x6f\144\145\x5f\x70\x6f\163", "\154\141\142\x65\x6c" => "\x4b\x6f\144\145\x20\120\x6f\x73", "\166\x61\x6c\x75\x65" => $alumni->kode_pos, "\151\x63\x6f\156" => "\146\141\162\x20\x66\141\55\x75\x73\x65\162", "\x74\171\160\x65" => "\x74\x65\x78\x74"], ["\x63\x6c\x61\163\163" => '', "\x6e\141\155\145" => "\x68\160", "\x6c\141\142\x65\x6c" => "\110\160", "\166\141\154\165\x65" => $alumni->hp, "\151\x63\157\x6e" => "\x66\x61\x72\x20\146\141\x2d\x75\x73\x65\162", "\164\x79\x70\145" => "\x74\x65\170\x74"]];
        goto eYZba;
        lxGUw:
        $user = $this->ion_auth->user()->row();
        goto mh9tv;
        I_FyO:
        $data["\x73\155\x74\137\141\x63\x74\151\166\x65"] = $this->dashboard->getSemesterActive();
        goto TnRis;
        pZiij:
        $data["\x69\156\x70\165\164\137\x62\x69\x6f"] = json_decode(json_encode($inputBio), FALSE);
        goto moHBn;
        TnRis:
        $data["\x69\156\x70\x75\x74\x5f\x64\x61\164\x61"] = json_decode(json_encode($inputData), FALSE);
        goto pZiij;
        eYZba:
        $inputOrtu = [["\156\141\155\x65" => "\x6e\141\155\x61\137\141\x79\x61\150", "\154\x61\142\145\154" => "\116\141\155\141\40\x41\171\141\x68", "\166\x61\x6c\x75\145" => $alumni->nama_ayah, "\x69\x63\x6f\156" => "\x66\141\x72\40\146\141\55\165\163\145\162", "\164\x79\x70\x65" => "\164\145\x78\164"], ["\x6e\141\x6d\145" => "\x70\145\156\x64\x69\x64\x69\x6b\x61\156\137\x61\x79\141\150", "\x6c\x61\142\145\154" => "\120\145\156\144\x69\144\x69\153\x61\x6e\40\101\x79\141\150", "\166\x61\x6c\x75\x65" => $alumni->pendidikan_ayah, "\x69\143\x6f\x6e" => "\146\141\x72\40\x66\141\55\165\x73\x65\162", "\x74\x79\x70\145" => "\x74\145\x78\x74"], ["\x6e\141\x6d\145" => "\x70\x65\153\x65\162\x6a\x61\x61\x6e\137\141\171\141\x68", "\154\x61\x62\145\x6c" => "\120\145\153\x65\x72\152\141\x61\156\x20\x41\x79\x61\x68", "\x76\x61\x6c\165\x65" => $alumni->pekerjaan_ayah, "\x69\143\157\156" => "\146\x61\162\x20\146\141\x2d\x75\163\145\x72", "\x74\x79\x70\145" => "\x74\145\170\164"], ["\156\x61\155\145" => "\156\x6f\150\x70\137\141\x79\x61\x68", "\x6c\141\142\145\154" => "\116\157\x2e\x20\x48\x50\x20\x41\171\141\150", "\166\x61\154\165\x65" => $alumni->nohp_ayah, "\151\143\x6f\x6e" => "\146\x61\162\x20\x66\x61\x2d\x75\163\145\162", "\x74\171\160\x65" => "\156\x75\155\142\x65\x72"], ["\x6e\141\x6d\x65" => "\141\154\141\155\x61\x74\137\x61\x79\141\150", "\154\x61\x62\145\154" => "\x41\x6c\x61\155\x61\164\x20\101\171\x61\x68", "\x76\x61\154\165\x65" => $alumni->alamat_ayah, "\151\143\157\x6e" => "\x66\141\x72\x20\146\141\55\165\163\x65\162", "\164\x79\160\145" => "\164\145\170\x74"], ["\x6e\141\155\145" => "\x6e\141\155\141\137\x69\142\165", "\154\141\142\145\x6c" => "\116\141\155\x61\x20\x49\142\165", "\166\x61\x6c\165\x65" => $alumni->nama_ibu, "\151\x63\x6f\156" => "\x66\141\x72\x20\x66\141\x2d\x75\163\145\162", "\164\171\160\x65" => "\164\145\170\164"], ["\x6e\141\155\x65" => "\160\145\156\x64\x69\x64\x69\153\141\x6e\137\x69\x62\165", "\x6c\141\x62\145\x6c" => "\120\145\156\x64\151\x64\151\x6b\141\x6e\40\x49\x62\x75", "\166\x61\x6c\165\x65" => $alumni->pendidikan_ibu, "\x69\143\x6f\x6e" => "\x66\x61\x72\40\x66\x61\x2d\x75\x73\x65\162", "\164\x79\160\x65" => "\164\145\x78\164"], ["\156\141\x6d\145" => "\160\145\x6b\145\162\x6a\141\141\156\x5f\151\x62\x75", "\154\x61\x62\145\x6c" => "\120\145\x6b\145\x72\x6a\x61\141\x6e\40\x49\142\x75", "\x76\x61\154\165\x65" => $alumni->pekerjaan_ibu, "\151\x63\157\156" => "\x66\141\162\x20\146\x61\x2d\165\163\x65\x72", "\x74\171\160\x65" => "\164\145\170\164"], ["\x6e\x61\x6d\145" => "\x6e\157\150\160\x5f\x69\x62\x75", "\x6c\141\142\145\154" => "\116\157\x2e\x20\110\120\x20\111\x62\165", "\166\x61\x6c\165\145" => $alumni->nohp_ibu, "\x69\x63\x6f\x6e" => "\146\x61\x72\x20\x66\x61\x2d\165\163\145\162", "\x74\x79\x70\145" => "\156\x75\x6d\x62\145\162"], ["\156\x61\155\145" => "\x61\154\141\x6d\141\164\137\x69\x62\165", "\154\x61\142\x65\154" => "\x41\x6c\141\155\141\x74\40\111\142\x75", "\166\141\154\165\145" => $alumni->alamat_ibu, "\x69\143\157\156" => "\x66\x61\x72\40\146\x61\x2d\x75\163\x65\162", "\x74\171\160\145" => "\164\145\x78\x74"]];
        goto zvB6X;
        VOABh:
        $this->load->view("\x5f\x74\x65\x6d\160\154\x61\x74\145\163\x2f\x64\141\163\150\x62\x6f\141\x72\144\57\137\150\x65\x61\x64\x65\x72", $data);
        goto MpWsn;
        zGwvh:
        $data["\160\162\x6f\x66\x69\154\145"] = $this->dashboard->getProfileAdmin($user->id);
        goto VOABh;
        JoCQ8:
        $data["\164\160"] = $this->dashboard->getTahun();
        goto uUraW;
        YQP4I:
        $inputData = [["\x6c\141\142\x65\154" => "\116\141\155\x61\40\x4c\x65\x6e\147\153\141\x70", "\156\141\155\145" => "\x6e\141\155\x61", "\x76\x61\154\165\145" => $alumni->nama, "\151\x63\x6f\156" => "\146\x61\162\x20\x66\x61\55\x75\163\145\162", "\143\x6c\141\163\x73" => '', "\x74\x79\160\x65" => "\164\x65\x78\x74"], ["\x6c\141\142\145\x6c" => "\x4e\111\123", "\x6e\141\155\145" => "\156\x69\163", "\x76\x61\x6c\165\x65" => $alumni->nis, "\x69\x63\157\156" => "\x66\141\162\40\146\x61\55\x69\x64\55\x63\141\162\144", "\143\x6c\x61\x73\163" => '', "\x74\x79\160\x65" => "\156\x75\x6d\x62\145\x72"], ["\156\141\x6d\145" => "\156\x69\x73\x6e", "\x6c\x61\142\x65\154" => "\116\111\x53\x4e", "\166\141\154\x75\x65" => $alumni->nisn, "\x69\x63\157\156" => "\146\x61\x72\40\146\141\x2d\x69\144\x2d\x63\x61\162\x64", "\x63\154\x61\163\x73" => '', "\x74\171\160\x65" => "\x74\145\170\164"], ["\154\141\142\x65\154" => "\112\145\156\x69\x73\40\113\145\x6c\141\x6d\151\x6e", "\x6e\x61\x6d\x65" => "\x6a\145\x6e\151\163\137\x6b\145\154\x61\x6d\151\x6e", "\x76\141\154\165\145" => $alumni->jenis_kelamin, "\151\x63\x6f\x6e" => "\x66\141\x73\40\146\x61\55\166\145\x6e\165\x73\x2d\155\x61\x72\163", "\143\x6c\141\163\163" => '', "\164\171\x70\x65" => "\x74\x65\x78\164"], ["\x6e\x61\155\x65" => "\x6b\145\154\141\x73\137\x61\167\141\154", "\x6c\141\x62\x65\154" => "\x44\x69\164\x65\x72\x69\155\141\x20\x64\151\x20\x6b\x65\x6c\141\x73", "\166\141\154\165\x65" => $alumni->kelas_awal, "\x69\143\157\156" => "\x66\x61\x73\40\x66\x61\x2d\147\162\141\144\165\141\164\151\157\x6e\x2d\143\141\160", "\143\x6c\x61\x73\163" => '', "\x74\x79\x70\145" => "\x74\145\x78\x74"], ["\x6e\x61\x6d\145" => "\x74\x61\x68\x75\156\x5f\x6d\x61\x73\x75\153", "\x6c\141\142\x65\154" => "\124\x67\x6c\x20\144\151\x74\145\162\151\x6d\141", "\x76\141\154\165\145" => $alumni->tahun_masuk, "\x69\143\x6f\156" => "\x74\141\150\165\x6e\x20\x66\141\x72\x20\x66\x61\x2d\x63\x61\x6c\145\156\x64\141\x72\55\x61\154\164", "\143\154\x61\163\x73" => "\x74\x61\x68\165\156", "\164\x79\160\x65" => "\x74\x65\x78\164"]];
        goto NTVVq;
        h3XVy:
        $data["\163\x6d\x74"] = $this->dashboard->getSemester();
        goto I_FyO;
        ASBt5:
    }
    public function add()
    {
        goto mHfqE;
        ifhjA:
        $this->load->view("\137\x74\x65\155\160\154\x61\164\145\x73\57\144\x61\x73\x68\142\157\x61\162\144\57\x5f\146\157\157\164\145\162");
        goto Q55JX;
        IpfMq:
        $data["\160\162\157\146\x69\154\145"] = $this->dashboard->getProfileAdmin($user->id);
        goto KA0cU;
        RZKmw:
        $data["\x74\160"] = $this->dashboard->getTahun();
        goto S8V8M;
        YMg3N:
        $data["\163\x6d\164\137\x61\x63\x74\151\x76\x65"] = $this->dashboard->getSemesterActive();
        goto IpfMq;
        sB00x:
        $this->load->view("\x5f\x74\x65\x6d\160\x6c\141\x74\x65\163\x2f\144\x61\163\x68\142\x6f\x61\162\144\x2f\137\x68\x65\x61\144\x65\162", $data);
        goto U6ODR;
        oZbaU:
        $data["\x73\155\164"] = $this->dashboard->getSemester();
        goto YMg3N;
        xACF6:
        $data = ["\x75\x73\145\162" => $user, "\x6a\165\144\165\x6c" => "\x41\154\x75\155\156\x69", "\163\165\142\x6a\165\144\165\x6c" => "\124\x61\155\142\x61\150\40\104\141\164\141\x20\x41\154\x75\x6d\x6e\151", "\163\145\x74\x74\x69\156\147" => $this->dashboard->getSetting()];
        goto RZKmw;
        mHfqE:
        $user = $this->ion_auth->user()->row();
        goto xACF6;
        U6ODR:
        $this->load->view("\155\x61\163\164\145\x72\57\141\x6c\165\155\x6e\x69\x2f\x61\x64\144");
        goto ifhjA;
        KA0cU:
        $data["\x74\151\x70\145"] = "\141\x64\144";
        goto sB00x;
        S8V8M:
        $data["\x74\160\137\141\143\x74\x69\x76\145"] = $this->dashboard->getTahunActive();
        goto oZbaU;
        Q55JX:
    }
    public function create()
    {
        goto K0Bn1;
        igVU8:
        $this->form_validation->set_rules("\x6e\x69\163\156", "\x4e\111\x53\x4e", "\x72\145\x71\165\151\x72\145\144\174\156\165\x6d\x65\162\x69\x63\x7c\164\162\x69\x6d\x7c\x6d\151\x6e\x5f\154\145\x6e\147\164\x68\x5b\66\135\x7c\155\x61\170\x5f\154\x65\156\147\x74\150\133\62\x30\135" . $u_nisn);
        goto eBnth;
        KwS8Y:
        sQt4Y:
        goto UWq8d;
        AP5gU:
        goto QhVdc;
        goto KwS8Y;
        lcRUv:
        $this->db->insert("\155\141\x73\x74\x65\x72\x5f\163\151\163\167\x61", $insert);
        goto hZTKP;
        DenLu:
        QhVdc:
        goto YMDrp;
        wkJVx:
        $data["\x69\156\x73\x65\x72\x74"] = $this->db->insert("\x62\165\153\165\x5f\151\156\144\165\x6b", $induk);
        goto xSPYB;
        K0Bn1:
        $nis = $this->input->post("\x6e\151\163", true);
        goto lrAym;
        YMDrp:
        $this->output_json($data);
        goto KZ5Yu;
        vs2ou:
        $u_nis = "\x7c\151\x73\137\165\156\x69\161\x75\145\x5b\x6d\x61\x73\164\x65\162\x5f\163\x69\x73\167\141\x2e\156\x69\x73\135";
        goto SUi4h;
        hZTKP:
        $last_id = $this->db->insert_id();
        goto RwRK0;
        bqjWo:
        $data["\x74\145\170\x74"] = "\104\141\x74\141\x20\x53\x75\x64\x61\x68\x20\x61\x64\141\54\x20\x50\x61\163\164\151\153\x61\x6e\x20\x4e\x49\x53\x2c\x20\116\111\123\x4e\x20\x64\x61\156\40\x55\x73\x65\x72\x6e\x61\155\x65\40\x62\145\154\165\155\40\x64\151\x67\x75\156\141\153\x61\156\40\141\x6c\x75\x6d\x6e\151\40\154\141\x69\x6e";
        goto DenLu;
        lrAym:
        $nisn = $this->input->post("\156\151\x73\156", true);
        goto vs2ou;
        R0QDl:
        $this->db->set("\x75\x69\x64", "\x55\x55\x49\x44\50\x29", FALSE);
        goto lcRUv;
        xSPYB:
        $data["\x74\145\x78\164"] = "\101\x6c\x75\x6d\x6e\151\x20\142\145\162\x68\141\163\x69\154\40\x64\151\x74\141\x6d\142\141\x68\x6b\141\156";
        goto AP5gU;
        SUi4h:
        $u_nisn = "\174\151\x73\137\x75\x6e\151\x71\165\x65\133\x6d\x61\163\x74\145\162\x5f\163\x69\163\x77\141\56\x6e\151\163\156\135";
        goto M7R1H;
        RwRK0:
        $uid = $this->db->select("\x75\151\144")->from("\155\x61\163\164\145\x72\137\x73\151\163\167\141")->where("\x69\144\x5f\163\x69\163\x77\141", $last_id)->get()->row();
        goto Ce7Ws;
        GRFJ0:
        $insert = ["\156\141\x6d\141" => $this->input->post("\x6e\141\x6d\141\x5f\x61\154\x75\x6d\156\151", true), "\x6e\x69\x73" => $nis, "\156\x69\x73\156" => $nisn, "\x6a\145\156\x69\x73\x5f\153\145\x6c\141\x6d\151\156" => $this->input->post("\152\x65\156\x69\163\137\x6b\x65\154\141\x6d\x69\156", true), "\146\157\x74\157" => "\x75\160\154\x6f\x61\144\x73\x2f\146\157\164\x6f\137\x73\151\x73\x77\x61\57" . $nis . "\x6a\x70\x67"];
        goto R0QDl;
        Ce7Ws:
        $induk = ["\151\x64\x5f\163\151\163\x77\x61" => $last_id, "\x75\151\x64" => $uid->uid, "\153\145\x6c\x61\x73\137\x61\153\x68\x69\162" => $this->input->post("\153\145\x6c\x61\163\x5f\141\x6b\x68\151\x72", true), "\164\x61\150\165\156\x5f\154\x75\x6c\x75\163" => $this->input->post("\x74\141\150\165\156\x5f\x6c\165\x6c\x75\x73", true), "\x6e\157\137\x69\x6a\x61\172\x61\150" => $this->input->post("\156\157\137\151\x6a\x61\x7a\x61\150", true), "\x73\x74\141\x74\165\x73" => 2];
        goto wkJVx;
        eBnth:
        if ($this->form_validation->run() == FALSE) {
            goto sQt4Y;
        }
        goto GRFJ0;
        M7R1H:
        $this->form_validation->set_rules("\156\151\163", "\x4e\111\x53", "\162\145\161\165\x69\162\x65\144\x7c\x6e\165\x6d\145\x72\151\x63\174\x74\162\151\x6d\x7c\155\151\x6e\137\x6c\145\156\147\164\150\x5b\66\135\174\x6d\141\x78\137\154\145\x6e\x67\164\x68\133\x33\60\x5d" . $u_nis);
        goto igVU8;
        UWq8d:
        $data["\151\x6e\163\145\162\164"] = false;
        goto bqjWo;
        KZ5Yu:
    }
    public function edit()
    {
        goto ljWDa;
        Fh211:
        $this->load->view("\x5f\x74\x65\x6d\x70\x6c\141\x74\145\x73\x2f\x64\x61\x73\x68\x62\157\141\162\x64\57\137\x66\157\157\164\x65\x72");
        goto z02dR;
        wF2Z7:
        $inputWali = [["\156\141\x6d\145" => "\x6e\x61\155\x61\137\x77\x61\x6c\151", "\154\141\x62\x65\154" => "\116\x61\155\x61\x20\x57\x61\154\x69", "\166\x61\154\x75\x65" => $alumni->nama_wali, "\x69\143\157\x6e" => "\x66\141\x72\40\x66\x61\55\165\163\x65\x72", "\x74\171\160\145" => "\x74\x65\170\x74"], ["\156\x61\155\145" => "\x70\145\x6e\x64\151\144\151\x6b\x61\x6e\x5f\x77\141\x6c\x69", "\154\x61\x62\x65\x6c" => "\x50\145\156\x64\151\x64\x69\153\x61\x6e\x20\127\141\x6c\151", "\x76\x61\154\x75\145" => $alumni->pendidikan_wali, "\x69\x63\157\156" => "\x66\x61\162\x20\146\141\55\165\x73\145\x72", "\x74\171\x70\x65" => "\x74\x65\170\164"], ["\156\141\155\145" => "\x70\x65\153\145\x72\x6a\x61\141\156\137\167\x61\x6c\x69", "\154\x61\142\x65\154" => "\x50\145\x6b\x65\162\152\141\x61\156\x20\x57\141\154\x69", "\x76\x61\x6c\165\x65" => $alumni->pekerjaan_wali, "\x69\x63\x6f\156" => "\x66\141\162\x20\x66\141\55\x75\x73\145\x72", "\164\171\x70\145" => "\x74\145\170\x74"], ["\x6e\x61\x6d\145" => "\x61\x6c\x61\155\141\x74\137\x77\x61\x6c\x69", "\154\141\x62\145\154" => "\x41\x6c\x61\x6d\x61\x74\x20\127\x61\154\x69", "\166\141\154\165\145" => $alumni->alamat_wali, "\x69\143\x6f\156" => "\x66\x61\x72\x20\146\x61\55\x75\163\145\162", "\x74\171\x70\145" => "\164\145\x78\x74"], ["\156\x61\155\x65" => "\x6e\x6f\x68\160\x5f\167\141\x6c\x69", "\154\x61\142\x65\x6c" => "\116\x6f\x2e\x20\110\120\40\x57\x61\154\151", "\x76\x61\x6c\165\x65" => $alumni->nohp_wali, "\x69\143\x6f\156" => "\x66\x61\162\x20\146\141\55\x75\x73\x65\162", "\x74\x79\x70\145" => "\156\x75\155\x62\145\162"]];
        goto mql60;
        fStWu:
        $data["\x69\156\x70\x75\164\137\x77\141\x6c\151"] = json_decode(json_encode($inputWali), FALSE);
        goto xnOk0;
        v3yW4:
        $data["\x69\156\160\165\x74\137\144\x61\164\141"] = json_decode(json_encode($inputData), FALSE);
        goto ab71x;
        FyjgM:
        $data["\x74\160"] = $this->dashboard->getTahun();
        goto dV0xu;
        x38uA:
        $data = ["\165\x73\x65\162" => $user, "\x6a\x75\144\165\x6c" => "\101\x6c\x75\155\x6e\151", "\x73\x75\142\152\165\x64\165\x6c" => "\105\x64\x69\x74\40\x44\141\x74\x61\40\x41\x6c\x75\155\156\x69", "\x61\154\165\x6d\x6e\x69" => $alumni, "\163\145\164\x74\151\156\x67" => $this->dashboard->getSetting()];
        goto FyjgM;
        vaD8o:
        $inputBio = [["\x6e\x61\155\x65" => "\x74\145\155\x70\141\164\137\x6c\141\150\151\162", "\154\x61\x62\145\x6c" => "\x54\145\155\160\x61\x74\40\x4c\141\150\x69\x72", "\x76\141\154\x75\x65" => $alumni->tempat_lahir, "\151\143\157\x6e" => "\x66\141\x72\40\x66\x61\x2d\155\x61\160", "\143\154\141\x73\163" => '', "\164\x79\x70\x65" => "\164\x65\x78\164"], ["\156\141\x6d\x65" => "\164\x61\156\x67\x67\141\154\137\154\141\150\151\162", "\x6c\141\142\145\154" => "\124\141\156\147\x67\x61\x6c\40\x4c\141\x68\151\x72", "\x76\x61\154\x75\145" => $alumni->tanggal_lahir, "\x69\143\157\x6e" => "\x66\141\162\x20\146\x61\x2d\143\x61\x6c\145\156\144\x61\x72", "\143\x6c\x61\x73\163" => "\164\141\x68\x75\156", "\x74\171\x70\145" => "\164\145\x78\164"], ["\143\x6c\x61\163\x73" => '', "\156\141\155\x65" => "\141\147\x61\x6d\x61", "\x6c\x61\142\145\x6c" => "\101\147\x61\155\x61", "\166\x61\154\165\145" => $alumni->agama, "\x69\x63\157\156" => "\x66\141\x72\x20\146\x61\55\143\141\x6c\145\x6e\x64\141\x72", "\x74\171\160\x65" => "\x74\145\170\164"], ["\x63\x6c\141\x73\x73" => '', "\156\141\x6d\145" => "\x61\154\141\155\x61\164", "\154\141\x62\x65\x6c" => "\101\154\141\x6d\141\164", "\166\x61\x6c\x75\145" => $alumni->alamat, "\151\x63\157\x6e" => "\146\x61\x72\x20\x66\x61\55\165\x73\145\x72", "\x74\171\x70\x65" => "\x74\x65\x78\x74"], ["\x63\154\141\163\x73" => '', "\156\x61\x6d\x65" => "\162\x74", "\x6c\141\142\x65\x6c" => "\x52\x74", "\166\x61\154\165\x65" => $alumni->rt, "\151\x63\157\156" => "\x66\141\162\x20\146\141\x2d\165\x73\145\162", "\x74\171\160\145" => "\x74\145\x78\164"], ["\x63\x6c\x61\163\x73" => '', "\x6e\x61\155\x65" => "\x72\167", "\x6c\141\x62\x65\x6c" => "\x52\x77", "\166\x61\154\165\x65" => $alumni->rw, "\x69\x63\157\x6e" => "\146\x61\162\x20\x66\x61\55\165\163\x65\162", "\164\x79\160\145" => "\164\x65\x78\164"], ["\x63\154\141\163\x73" => '', "\x6e\x61\x6d\x65" => "\x6b\145\x6c\165\162\141\x68\141\156", "\154\141\142\145\154" => "\x4b\145\x6c\165\162\x61\150\141\x6e\x2f\x44\145\163\x61", "\x76\141\154\x75\145" => $alumni->kelurahan, "\x69\143\x6f\156" => "\x66\141\x72\x20\146\141\x2d\x75\163\145\x72", "\164\171\x70\x65" => "\x74\145\x78\164"], ["\143\154\141\163\x73" => '', "\x6e\141\155\x65" => "\x6b\x65\x63\141\155\x61\164\x61\156", "\154\x61\142\145\154" => "\x4b\145\x63\141\155\141\x74\141\156", "\x76\x61\154\165\x65" => $alumni->kecamatan, "\x69\x63\x6f\x6e" => "\146\x61\162\40\x66\x61\55\x75\x73\x65\162", "\x74\171\160\145" => "\164\x65\x78\164"], ["\143\x6c\x61\163\163" => '', "\x6e\141\155\x65" => "\153\141\x62\165\x70\x61\164\x65\x6e", "\154\141\142\145\154" => "\x4b\x61\142\x75\x70\x61\164\x65\156\57\x4b\x6f\x74\x61", "\166\x61\154\x75\145" => $alumni->kabupaten, "\151\143\157\156" => "\146\x61\162\x20\146\141\55\165\x73\145\x72", "\x74\x79\x70\145" => "\164\x65\170\164"], ["\143\x6c\141\163\x73" => '', "\x6e\x61\x6d\x65" => "\153\x6f\144\x65\x5f\x70\157\163", "\x6c\141\142\145\x6c" => "\x4b\157\x64\x65\x20\120\157\x73", "\x76\x61\154\165\145" => $alumni->kode_pos, "\151\143\x6f\156" => "\x66\141\x72\40\146\x61\x2d\165\x73\145\x72", "\x74\171\x70\x65" => "\164\145\x78\164"], ["\143\x6c\141\x73\x73" => '', "\156\x61\155\x65" => "\x68\x70", "\154\x61\x62\x65\154" => "\x48\160", "\166\141\154\165\145" => $alumni->hp, "\151\143\x6f\x6e" => "\x66\141\x72\x20\146\141\x2d\165\163\145\x72", "\x74\x79\160\x65" => "\164\x65\x78\x74"]];
        goto atLDN;
        OtDBB:
        $alumni = $this->master->getAlumniById($id);
        goto gSD3o;
        x3Hrq:
        $this->load->view("\x6d\x61\x73\x74\145\162\x2f\141\x6c\165\155\156\x69\x2f\x65\144\151\164");
        goto Fh211;
        ljWDa:
        $id = $this->input->get("\151\144", true);
        goto OtDBB;
        Z9474:
        $data["\x69\x6e\160\x75\164\137\157\x72\164\x75"] = json_decode(json_encode($inputOrtu), FALSE);
        goto fStWu;
        gSD3o:
        $inputData = [["\154\141\x62\145\x6c" => "\x4e\141\155\x61\40\x4c\x65\x6e\x67\153\141\160", "\156\x61\x6d\x65" => "\x6e\x61\x6d\141", "\x76\x61\154\165\x65" => $alumni->nama, "\151\143\157\x6e" => "\x66\141\162\40\146\141\55\165\x73\x65\x72", "\x63\x6c\x61\x73\163" => '', "\164\171\160\145" => "\x74\x65\170\x74"], ["\154\141\x62\x65\x6c" => "\x4e\x49\x53", "\x6e\141\155\x65" => "\x6e\x69\163", "\x76\141\x6c\x75\x65" => $alumni->nis, "\x69\143\x6f\156" => "\x66\x61\x72\x20\146\x61\55\151\x64\x2d\x63\141\x72\144", "\x63\x6c\141\163\163" => '', "\164\171\x70\145" => "\x6e\165\155\x62\x65\162"], ["\156\x61\155\x65" => "\156\151\x73\156", "\154\141\x62\x65\x6c" => "\116\x49\x53\116", "\166\141\x6c\x75\145" => $alumni->nisn, "\x69\x63\x6f\156" => "\x66\x61\162\40\x66\x61\55\x69\x64\x2d\143\x61\162\x64", "\x63\x6c\141\x73\163" => '', "\164\171\x70\x65" => "\164\x65\x78\x74"], ["\x6c\141\x62\x65\x6c" => "\x4a\145\x6e\151\163\40\113\x65\154\141\x6d\x69\x6e", "\x6e\x61\x6d\x65" => "\x6a\145\156\151\x73\137\153\x65\154\x61\155\151\156", "\166\x61\x6c\165\145" => $alumni->jenis_kelamin, "\151\x63\x6f\156" => "\146\x61\163\x20\x66\141\55\166\145\x6e\x75\x73\55\x6d\x61\162\163", "\143\x6c\141\163\163" => '', "\164\x79\160\145" => "\164\x65\x78\164"], ["\x6e\x61\155\x65" => "\153\x65\x6c\x61\x73\x5f\x61\x77\x61\154", "\x6c\141\x62\x65\154" => "\104\x69\164\x65\x72\x69\x6d\x61\x20\x64\x69\x20\x6b\145\x6c\141\163", "\166\x61\x6c\165\x65" => $alumni->kelas_awal, "\x69\x63\x6f\x6e" => "\x66\141\163\x20\146\x61\x2d\x67\162\141\144\165\141\164\151\x6f\156\x2d\143\141\x70", "\143\154\x61\163\x73" => '', "\x74\171\x70\x65" => "\164\x65\170\x74"], ["\156\x61\155\145" => "\x74\x61\x68\x75\156\137\155\x61\163\165\x6b", "\154\x61\142\145\154" => "\124\x67\154\x20\144\151\164\145\x72\151\155\x61", "\166\141\x6c\x75\145" => $alumni->tahun_masuk, "\x69\143\157\156" => "\x74\x61\150\x75\156\40\146\141\162\40\146\x61\55\143\x61\154\x65\156\x64\141\162\x2d\x61\154\164", "\143\x6c\141\x73\163" => "\164\x61\x68\165\156", "\164\171\160\x65" => "\164\145\170\x74"]];
        goto vaD8o;
        dV0xu:
        $data["\x74\160\137\141\143\164\x69\166\145"] = $this->dashboard->getTahunActive();
        goto eFJyt;
        blxVm:
        $data["\x73\155\x74\137\141\x63\164\x69\166\145"] = $this->dashboard->getSemesterActive();
        goto v3yW4;
        atLDN:
        $inputOrtu = [["\156\141\155\145" => "\x6e\141\x6d\141\137\x61\x79\x61\x68", "\154\141\142\x65\154" => "\x4e\141\155\x61\x20\x41\171\141\150", "\166\141\x6c\x75\145" => $alumni->nama_ayah, "\x69\143\157\x6e" => "\146\141\162\40\x66\x61\x2d\x75\x73\145\162", "\x74\171\x70\x65" => "\164\x65\x78\164"], ["\156\141\155\x65" => "\x70\x65\156\x64\x69\x64\151\x6b\x61\156\x5f\141\171\x61\x68", "\154\x61\x62\x65\154" => "\120\x65\x6e\x64\x69\144\151\x6b\141\156\40\x41\171\141\150", "\x76\x61\154\x75\x65" => $alumni->pendidikan_ayah, "\151\x63\x6f\x6e" => "\146\141\162\40\x66\x61\x2d\165\x73\145\162", "\x74\171\x70\145" => "\164\145\170\x74"], ["\x6e\x61\x6d\x65" => "\x70\145\x6b\145\x72\x6a\x61\x61\x6e\137\141\171\141\150", "\154\141\142\145\x6c" => "\120\x65\153\145\162\152\141\x61\x6e\40\x41\171\x61\150", "\x76\141\x6c\x75\145" => $alumni->pekerjaan_ayah, "\151\143\157\156" => "\146\141\x72\40\x66\x61\55\x75\163\145\162", "\164\x79\160\145" => "\164\145\170\164"], ["\x6e\141\155\x65" => "\156\x6f\150\160\137\x61\171\x61\x68", "\x6c\141\142\145\154" => "\116\157\x2e\40\110\x50\x20\x41\171\x61\x68", "\x76\141\154\165\145" => $alumni->nohp_ayah, "\151\x63\x6f\x6e" => "\x66\141\162\40\146\141\x2d\165\x73\x65\162", "\164\171\160\145" => "\x6e\165\x6d\x62\x65\162"], ["\x6e\x61\155\x65" => "\141\154\x61\x6d\141\x74\137\141\171\x61\x68", "\x6c\x61\142\x65\154" => "\x41\x6c\x61\155\141\x74\40\101\171\141\x68", "\x76\x61\x6c\165\145" => $alumni->alamat_ayah, "\151\143\x6f\156" => "\146\141\x72\x20\x66\x61\55\x75\x73\145\x72", "\x74\x79\x70\x65" => "\x74\x65\170\164"], ["\x6e\141\155\145" => "\x6e\141\155\141\137\151\x62\165", "\154\x61\142\x65\x6c" => "\116\141\x6d\141\x20\x49\142\x75", "\166\x61\x6c\165\x65" => $alumni->nama_ibu, "\x69\x63\157\156" => "\146\x61\162\40\146\141\55\x75\x73\x65\x72", "\164\171\160\x65" => "\164\145\x78\x74"], ["\x6e\141\155\x65" => "\x70\145\x6e\x64\x69\144\x69\153\141\156\137\151\x62\165", "\154\x61\142\x65\154" => "\x50\145\156\144\x69\x64\x69\153\141\156\40\111\142\165", "\x76\x61\x6c\165\x65" => $alumni->pendidikan_ibu, "\x69\143\x6f\x6e" => "\x66\x61\x72\x20\x66\x61\55\165\x73\145\x72", "\x74\171\160\x65" => "\164\145\x78\x74"], ["\156\141\155\145" => "\160\x65\x6b\x65\162\x6a\x61\x61\x6e\137\151\x62\165", "\x6c\141\x62\145\154" => "\120\145\x6b\x65\162\152\x61\141\156\40\111\x62\165", "\x76\x61\x6c\x75\x65" => $alumni->pekerjaan_ibu, "\151\x63\x6f\156" => "\x66\x61\162\x20\x66\141\55\165\x73\145\162", "\164\x79\160\145" => "\164\145\x78\x74"], ["\x6e\141\x6d\x65" => "\156\x6f\150\x70\x5f\151\x62\165", "\x6c\x61\142\145\x6c" => "\116\x6f\56\x20\110\120\40\111\x62\165", "\x76\141\x6c\165\x65" => $alumni->nohp_ibu, "\x69\143\x6f\x6e" => "\x66\141\162\x20\146\141\x2d\165\163\145\x72", "\x74\x79\160\x65" => "\156\x75\x6d\x62\145\162"], ["\156\x61\155\145" => "\x61\x6c\141\x6d\x61\x74\137\x69\x62\x75", "\154\141\x62\x65\x6c" => "\101\x6c\141\x6d\x61\164\x20\x49\142\165", "\x76\x61\154\165\x65" => $alumni->alamat_ibu, "\151\143\157\156" => "\x66\141\x72\x20\146\x61\x2d\165\163\x65\x72", "\x74\x79\x70\x65" => "\164\145\x78\164"]];
        goto wF2Z7;
        ab71x:
        $data["\x69\156\160\x75\x74\x5f\x62\x69\157"] = json_decode(json_encode($inputBio), FALSE);
        goto Z9474;
        b9sdt:
        $this->load->view("\137\x74\x65\155\x70\x6c\141\164\145\x73\x2f\144\141\163\x68\142\x6f\141\x72\144\x2f\137\x68\145\x61\144\145\162", $data);
        goto x3Hrq;
        xnOk0:
        $data["\x70\x72\x6f\x66\x69\154\x65"] = $this->dashboard->getProfileAdmin($user->id);
        goto b9sdt;
        mql60:
        $user = $this->ion_auth->user()->row();
        goto x38uA;
        eFJyt:
        $data["\163\155\164"] = $this->dashboard->getSemester();
        goto blxVm;
        z02dR:
    }
    public function updateData()
    {
        goto J28MI;
        IuT94:
        goto TdPso;
        goto OetOy;
        NWwcS:
        $alumni = $this->master->getAlumniById($id_siswa);
        goto rvaVg;
        lUlDI:
        $nis = $this->input->post("\x6e\x69\x73", true);
        goto OmYmG;
        P9vd_:
        $this->form_validation->set_rules("\x6e\151\x73\156", "\116\x49\x53\116", "\162\x65\161\x75\x69\x72\145\x64\174\x6e\165\155\x65\162\151\143\174\x74\162\x69\x6d\174\155\x69\x6e\x5f\x6c\145\156\147\x74\150\133\66\x5d\x7c\x6d\141\x78\137\x6c\145\156\x67\x74\150\x5b\62\x30\135" . $u_nisn);
        goto sr1kn;
        OetOy:
        ldFhR:
        goto vOT0L;
        a7TJq:
        $input = ["\156\x69\x73\x6e" => $this->input->post("\156\x69\163\x6e", true), "\x6e\151\x73" => $this->input->post("\156\151\x73", true), "\156\141\155\141" => $this->input->post("\x6e\x61\155\141", true), "\x6a\x65\x6e\151\163\x5f\x6b\x65\x6c\x61\155\151\156" => $this->input->post("\x6a\x65\x6e\x69\163\x5f\153\145\154\141\x6d\151\x6e", true), "\x74\x65\155\x70\141\164\137\154\141\150\x69\x72" => $this->input->post("\x74\x65\155\160\x61\164\x5f\154\x61\150\x69\x72", true), "\164\141\x6e\x67\x67\x61\154\x5f\x6c\141\150\151\x72" => $this->input->post("\x74\141\x6e\x67\147\x61\154\137\x6c\x61\150\x69\x72", true), "\141\147\141\155\141" => $this->input->post("\x61\x67\141\155\141", true), "\x73\x74\141\x74\165\x73\x5f\x6b\x65\154\165\x61\x72\x67\x61" => $this->input->post("\x73\164\x61\164\x75\x73\137\x6b\145\154\165\x61\x72\147\141", true), "\x61\156\x61\x6b\137\153\145" => $this->input->post("\141\156\x61\153\137\x6b\145", true), "\x61\154\x61\155\x61\x74" => $this->input->post("\x61\x6c\x61\155\x61\164", true), "\162\164" => $this->input->post("\162\164", true), "\162\x77" => $this->input->post("\162\167", true), "\x6b\x65\154\x75\x72\x61\150\141\156" => $this->input->post("\x6b\145\x6c\x75\162\x61\x68\x61\156", true), "\x6b\145\143\141\155\141\x74\x61\156" => $this->input->post("\x6b\x65\143\x61\155\x61\x74\141\x6e", true), "\153\x61\x62\x75\x70\141\x74\145\156" => $this->input->post("\x6b\x61\x62\x75\x70\x61\164\145\156", true), "\160\x72\157\x76\x69\x6e\x73\151" => $this->input->post("\160\162\157\x76\151\x6e\163\x69", true), "\x6b\157\x64\x65\137\160\157\x73" => $this->input->post("\x6b\157\x64\x65\137\x70\x6f\x73", true), "\150\160" => $this->input->post("\x68\x70", true), "\156\141\155\141\x5f\x61\x79\141\150" => $this->input->post("\156\141\x6d\141\x5f\x61\171\141\150", true), "\x6e\x6f\150\x70\x5f\141\x79\141\x68" => $this->input->post("\156\x6f\x68\160\x5f\x61\x79\141\150", true), "\160\145\x6e\144\x69\144\151\x6b\x61\x6e\137\141\x79\x61\x68" => $this->input->post("\160\145\156\144\151\x64\151\x6b\x61\156\137\141\171\141\x68", true), "\160\x65\153\x65\162\152\141\141\156\x5f\141\171\x61\x68" => $this->input->post("\x70\x65\x6b\145\162\152\x61\141\156\x5f\x61\x79\x61\150", true), "\141\154\x61\x6d\141\x74\137\x61\x79\x61\150" => $this->input->post("\x61\x6c\141\x6d\x61\x74\137\141\171\x61\150", true), "\156\141\155\x61\137\151\142\165" => $this->input->post("\x6e\x61\155\141\137\x69\x62\x75", true), "\156\x6f\150\x70\x5f\x69\x62\165" => $this->input->post("\156\157\x68\x70\137\151\x62\x75", true), "\160\x65\x6e\x64\151\x64\151\153\x61\x6e\137\x69\142\x75" => $this->input->post("\160\x65\x6e\x64\x69\x64\151\x6b\x61\x6e\137\x69\x62\x75", true), "\160\x65\153\145\x72\152\x61\x61\x6e\137\x69\142\x75" => $this->input->post("\x70\x65\x6b\x65\x72\152\141\141\x6e\x5f\151\x62\165", true), "\141\x6c\x61\x6d\x61\x74\137\x69\142\165" => $this->input->post("\141\154\141\x6d\x61\164\x5f\151\x62\x75", true), "\156\141\155\141\137\167\x61\x6c\151" => $this->input->post("\x6e\x61\155\x61\137\167\x61\154\x69", true), "\160\145\x6e\x64\x69\144\x69\x6b\141\156\x5f\x77\141\154\x69" => $this->input->post("\160\x65\156\144\151\144\151\x6b\x61\156\137\x77\141\x6c\x69", true), "\x70\x65\x6b\x65\x72\152\x61\141\x6e\x5f\167\141\154\151" => $this->input->post("\160\x65\x6b\145\x72\152\x61\x61\156\x5f\x77\x61\x6c\151", true), "\156\x6f\x68\160\137\x77\x61\154\151" => $this->input->post("\156\x6f\x68\x70\x5f\167\x61\154\151", true), "\141\154\141\155\141\x74\x5f\167\141\154\151" => $this->input->post("\x61\x6c\141\x6d\141\x74\x5f\x77\x61\154\x69", true), "\x74\x61\150\x75\156\x5f\x6d\141\163\x75\x6b" => $this->input->post("\x74\x61\150\165\x6e\137\x6d\141\x73\165\153", true), "\153\x65\x6c\141\163\137\x61\x77\x61\154" => $this->input->post("\153\145\x6c\141\163\137\141\x77\x61\x6c", true), "\164\x67\x6c\137\x6c\x61\150\151\x72\x5f\141\171\x61\x68" => $this->input->post("\164\147\154\137\154\141\x68\151\x72\137\141\171\x61\x68", true), "\x74\147\154\x5f\x6c\141\150\x69\x72\x5f\151\142\x75" => $this->input->post("\x74\x67\154\x5f\154\141\x68\x69\x72\x5f\151\x62\165", true), "\164\147\x6c\137\154\x61\x68\151\162\x5f\167\x61\x6c\151" => $this->input->post("\x74\x67\154\x5f\x6c\x61\150\151\x72\137\x77\141\154\x69", true), "\x73\145\153\157\x6c\141\150\137\141\x73\141\154" => $this->input->post("\163\x65\x6b\157\154\141\150\x5f\x61\x73\141\154", true), "\146\x6f\x74\157" => "\x75\x70\x6c\x6f\x61\144\x73\x2f\x66\157\164\157\x5f\163\151\163\x77\x61\x2f" . $nis . "\56\x6a\160\147"];
        goto TVBU7;
        KY71m:
        $this->form_validation->set_rules("\x6e\x69\163", "\116\111\x53", "\162\145\161\x75\x69\x72\145\144\174\156\165\155\x65\162\x69\x63\x7c\x74\162\151\155\x7c\x6d\x69\156\x5f\154\145\156\147\x74\x68\x5b\x36\x5d\174\x6d\x61\x78\x5f\154\x65\156\147\164\x68\x5b\63\60\x5d" . $u_nis);
        goto P9vd_;
        pXHtB:
        $data["\x74\145\170\x74"] = "\104\x61\x74\x61\x20\123\165\144\x61\x68\x20\x61\144\x61\54\40\120\141\163\x74\151\153\x61\156\40\x4e\111\x53\54\40\x64\141\x6e\40\x4e\x49\x53\x4e\40\x62\145\154\165\x6d\x20\x64\x69\x67\165\x6e\141\153\x61\x6e\40\x61\154\165\x6d\156\x69\x20\x6c\141\x69\x6e";
        goto Hs6V_;
        Hs6V_:
        TdPso:
        goto oTysQ;
        rvaVg:
        $u_nis = $alumni->nis === $nis ? '' : "\x7c\151\163\x5f\x75\156\151\161\165\x65\133\155\141\x74\145\x72\x5f\x61\154\165\155\x6e\x69\x2e\156\x69\163\135";
        goto yh0pH;
        TVBU7:
        $action = $this->master->update("\155\141\x73\x74\145\162\137\x73\x69\163\x77\x61", $input, "\x69\144\x5f\163\x69\x73\167\141", $id_siswa);
        goto pxaiy;
        yh0pH:
        $u_nisn = $alumni->nisn === $nisn ? '' : "\174\151\163\x5f\165\x6e\x69\161\165\145\x5b\x6d\141\164\x65\162\137\x61\x6c\165\x6d\156\151\56\156\x69\163\156\135";
        goto KY71m;
        sr1kn:
        if ($this->form_validation->run() == FALSE) {
            goto ldFhR;
        }
        goto a7TJq;
        OmYmG:
        $nisn = $this->input->post("\x6e\151\163\x6e", true);
        goto NWwcS;
        oTysQ:
        $this->output_json($data);
        goto VwpxD;
        pxaiy:
        $data["\x69\156\x73\145\162\164"] = $input;
        goto IYd8r;
        IYd8r:
        $data["\164\145\170\x74"] = "\x41\x6c\x75\155\x6e\x69\x20\142\145\x72\x68\141\163\x69\x6c\x20\x64\151\x70\145\x72\142\141\x68\x61\x72\165\151";
        goto IuT94;
        vOT0L:
        $data["\x69\x6e\163\x65\x72\x74"] = false;
        goto pXHtB;
        J28MI:
        $id_siswa = $this->input->post("\151\x64\x5f\x73\x69\x73\x77\x61", true);
        goto lUlDI;
        VwpxD:
    }
    function uploadFile($id_siswa)
    {
        goto SavW7;
        ZEc5e:
        $data["\163\162\143"] = '';
        goto gM9ed;
        MIt7z:
        $data["\146\x69\x6c\145\x6e\141\x6d\x65"] = pathinfo($result["\x66\151\154\145\x5f\156\x61\x6d\x65"], PATHINFO_FILENAME);
        goto nM2rT;
        kC6TM:
        eg4bH:
        goto E4ajh;
        E4ajh:
        $this->output_json($data);
        goto rUHmB;
        nI8hE:
        lD1U8:
        goto lezet;
        nM2rT:
        $data["\163\164\x61\164\x75\x73"] = true;
        goto upoDG;
        upoDG:
        $this->db->set("\146\x6f\x74\x6f", "\165\x70\x6c\157\x61\144\x73\57\146\x6f\x74\x6f\x5f\163\151\163\167\x61\x2f" . $result["\x66\151\x6c\x65\137\156\141\155\145"]);
        goto t616y;
        t616y:
        $this->db->where("\151\x64\x5f\163\151\x73\167\x61", $id_siswa);
        goto CS0kl;
        Dr2Lm:
        $data["\163\151\172\145"] = $_FILES["\x66\157\x74\157"]["\163\151\172\x65"];
        goto kC6TM;
        CS0kl:
        $this->db->update("\155\x61\163\x74\145\162\x5f\x73\x69\163\167\141");
        goto U_XfM;
        Ft09c:
        $result = $this->upload->data();
        goto hLZ5N;
        zUQf_:
        $config["\146\151\154\x65\x5f\x6e\141\x6d\145"] = $alumni->nis;
        goto lXMHi;
        lEi3b:
        $config["\157\x76\x65\162\167\162\151\164\x65"] = true;
        goto zUQf_;
        aynn9:
        if (!$this->upload->do_upload("\146\157\x74\157")) {
            goto aZ2rT;
        }
        goto Ft09c;
        hLZ5N:
        $data["\163\x72\143"] = base_url() . "\x75\160\154\x6f\141\144\x73\x2f\146\157\x74\x6f\x5f\163\x69\163\x77\x61\57" . $result["\146\x69\x6c\145\137\x6e\x61\x6d\145"];
        goto MIt7z;
        pVvU_:
        if (isset($_FILES["\146\x6f\x74\157"]["\156\x61\x6d\145"])) {
            goto lD1U8;
        }
        goto ZEc5e;
        SavW7:
        $alumni = $this->master->getAlumniById($id_siswa);
        goto pVvU_;
        lezet:
        $config["\165\160\x6c\x6f\141\144\x5f\x70\x61\x74\x68"] = "\x2e\x2f\165\x70\x6c\x6f\x61\144\163\x2f\146\157\x74\x6f\137\x73\151\x73\167\141\x2f";
        goto J2V5Y;
        U_XfM:
        goto Xl9N_;
        goto gXkv3;
        gXkv3:
        aZ2rT:
        goto joYNh;
        Ufbq5:
        $data["\x73\x72\x63"] = $this->upload->display_errors();
        goto EgmXK;
        lXMHi:
        $this->upload->initialize($config);
        goto aynn9;
        J2V5Y:
        $config["\141\x6c\154\157\x77\145\x64\x5f\x74\x79\160\145\x73"] = "\147\151\x66\174\x6a\x70\x67\174\160\156\x67\x7c\152\x70\x65\x67\x7c\x4a\x50\105\x47\174\x4a\x50\x47\x7c\x50\116\x47\x7c\x47\x49\106";
        goto lEi3b;
        gM9ed:
        goto eg4bH;
        goto nI8hE;
        QHia3:
        $data["\x74\171\x70\145"] = $_FILES["\x66\157\164\157"]["\164\171\160\145"];
        goto Dr2Lm;
        EgmXK:
        Xl9N_:
        goto QHia3;
        joYNh:
        $data["\163\x74\141\164\x75\x73"] = false;
        goto Ufbq5;
        rUHmB:
    }
    function deleteFoto()
    {
        goto S8YCd;
        mVP5n:
        echo "\106\x69\x6c\145\x20\x44\145\154\145\x74\x65\40\x53\x75\143\x63\145\163\163\x66\x75\154\154\x79";
        goto p6Gz_;
        S8YCd:
        $src = $this->input->post("\163\162\143");
        goto u9aAP;
        u9aAP:
        $file_name = str_replace(base_url(), '', $src);
        goto tsjPV;
        tsjPV:
        unlink($file_name);
        goto mVP5n;
        p6Gz_:
    }
    public function delete()
    {
        goto JBDIS;
        TmrPl:
        if (!$chk) {
            goto WHwqu;
        }
        goto vsxwN;
        ZX1_2:
        $this->output_json(["\163\164\141\164\x75\163" => true, "\164\x6f\164\141\154" => count($chk)]);
        goto v63pG;
        xJJGo:
        WHwqu:
        goto VdOTI;
        vsxwN:
        if (!$this->master->delete("\155\141\x73\x74\x65\162\x5f\x73\151\163\x77\x61", $chk, "\151\x64\x5f\163\151\x73\167\141")) {
            goto vbbed;
        }
        goto ZX1_2;
        JBDIS:
        $chk = $this->input->post("\x63\x68\145\143\153\x65\144", true);
        goto TmrPl;
        C90tS:
        goto x9uSA;
        goto xJJGo;
        v63pG:
        vbbed:
        goto C90tS;
        MDDou:
        x9uSA:
        goto HZ0fS;
        VdOTI:
        $this->output_json(["\163\x74\141\x74\x75\x73" => false]);
        goto MDDou;
        HZ0fS:
    }
    public function previewExcel()
    {
        goto sxWOp;
        F071g:
        $file = $this->upload->data("\146\x75\x6c\154\x5f\x70\x61\164\x68");
        goto ptfvW;
        zgCSO:
        oWb1A:
        goto kCbGG;
        bmo_P:
        HM4ws:
        goto nI9yo;
        FUUWJ:
        $data = [];
        goto F14nj;
        VaJTX:
        echo $error;
        goto EpYKS;
        iokXD:
        if (!($i < count($sheetData))) {
            goto jjm6q;
        }
        goto pV4xP;
        qTXbL:
        unlink($file);
        goto Rzfu4;
        Fgwpn:
        uZtqw:
        goto F7oaa;
        z9sUJ:
        goto BL3JG;
        goto wIeVk;
        AOVeX:
        $config["\145\x6e\x63\x72\171\160\x74\137\156\141\155\x65"] = true;
        goto G1_5A;
        sxWOp:
        $config["\x75\160\154\157\141\x64\x5f\160\x61\x74\x68"] = "\56\57\165\160\x6c\157\141\144\x73\x2f\151\155\160\157\162\x74\57";
        goto ony9r;
        GPs0G:
        $data[] = ["\x6e\x69\x73\156" => str_replace("\x27", '', $sheetData[$i][1]), "\x6e\x69\x73" => str_replace("\47", '', $sheetData[$i][2]), "\156\x61\x6d\141" => $sheetData[$i][3], "\152\x65\156\151\163\x5f\153\x65\154\x61\x6d\x69\x6e" => $sheetData[$i][4], "\x75\x73\x65\162\x6e\x61\x6d\145" => $sheetData[$i][5], "\160\141\163\x73\167\157\162\x64" => $sheetData[$i][6], "\x74\x65\155\x70\141\164\137\154\141\150\x69\162" => $sheetData[$i][10], "\164\x61\x6e\x67\147\x61\154\x5f\x6c\141\150\151\x72" => $sheetData[$i][11], "\x61\147\141\155\x61" => $sheetData[$i][12], "\163\164\141\x74\x75\163\x5f\x6b\145\x6c\x75\141\x72\x67\x61" => $sheetData[$i][16], "\x61\156\x61\153\x5f\x6b\x65" => $sheetData[$i][15], "\141\154\141\155\x61\x74" => $sheetData[$i][17], "\x72\x74" => $sheetData[$i][18], "\x72\x77" => $sheetData[$i][19], "\x6b\x65\x6c\165\x72\x61\150\x61\156" => $sheetData[$i][20], "\153\x65\143\x61\155\x61\x74\141\156" => $sheetData[$i][21], "\153\x61\142\165\x70\x61\164\145\156" => $sheetData[$i][22], "\160\162\x6f\166\151\156\163\x69" => $sheetData[$i][23], "\x6b\157\x64\145\137\x70\157\163" => $sheetData[$i][24], "\150\160" => str_replace("\47", '', $sheetData[$i][13]), "\x6e\141\x6d\141\x5f\x61\x79\141\x68" => $sheetData[$i][25], "\156\157\x68\x70\x5f\x61\x79\141\x68" => str_replace("\47", '', $sheetData[$i][29]), "\x70\x65\x6e\144\x69\x64\151\x6b\x61\x6e\137\141\x79\x61\x68" => $sheetData[$i][27], "\160\x65\x6b\145\162\x6a\141\x61\156\x5f\141\171\x61\x68" => $sheetData[$i][28], "\141\x6c\x61\155\x61\x74\137\x61\171\141\150" => $sheetData[$i][30], "\156\141\155\x61\137\x69\142\165" => $sheetData[$i][31], "\156\157\150\160\x5f\x69\x62\x75" => str_replace("\x27", '', $sheetData[$i][35]), "\x70\x65\x6e\x64\151\144\x69\x6b\x61\x6e\x5f\x69\142\165" => $sheetData[$i][33], "\160\145\153\x65\162\x6a\141\x61\156\x5f\x69\x62\165" => $sheetData[$i][34], "\x61\154\x61\x6d\141\x74\x5f\151\x62\x75" => $sheetData[$i][36], "\x6e\x61\155\141\x5f\x77\141\154\x69" => $sheetData[$i][37], "\x70\x65\156\144\x69\144\x69\153\141\x6e\x5f\x77\141\x6c\151" => $sheetData[$i][39], "\160\145\x6b\145\x72\x6a\x61\141\x6e\x5f\x77\141\x6c\151" => $sheetData[$i][40], "\156\157\x68\x70\x5f\x77\x61\x6c\151" => str_replace("\x27", '', $sheetData[$i][41]), "\x61\154\141\155\141\164\x5f\167\141\154\151" => $sheetData[$i][42], "\164\x61\x68\165\156\137\x6d\x61\x73\x75\x6b" => $sheetData[$i][8], "\x6b\x65\x6c\141\x73\137\141\x77\141\154" => $sheetData[$i][7], "\x74\x67\154\x5f\x6c\x61\x68\151\162\137\141\171\141\150" => $sheetData[$i][26], "\164\147\154\137\154\x61\150\151\x72\137\x69\x62\165" => $sheetData[$i][32], "\164\147\x6c\x5f\154\141\x68\x69\162\x5f\x77\x61\154\151" => $sheetData[$i][38], "\x73\x65\153\157\154\141\150\137\x61\163\x61\154" => $sheetData[$i][9], "\151\144\x5f\x73\x69\x73\x77\x61" => isset($sheetData[$i][43]) ? $sheetData[$i][43] : ''];
        goto bmo_P;
        ptfvW:
        $ext = $this->upload->data("\x66\151\154\145\x5f\145\170\164");
        goto mwqZu;
        wIeVk:
        jjm6q:
        goto qTXbL;
        oV6O9:
        $sheetData = $spreadsheet->getActiveSheet()->toArray();
        goto FUUWJ;
        nI9yo:
        wOkzH:
        goto a60SG;
        ktcJo:
        eXu8u:
        goto kdW4C;
        xJERg:
        $spreadsheet = $reader->load($file);
        goto oV6O9;
        pV4xP:
        if (!($sheetData[$i][0] != null)) {
            goto HM4ws;
        }
        goto GPs0G;
        F14nj:
        $i = 1;
        goto YUqB0;
        YUqB0:
        BL3JG:
        goto iokXD;
        HE8kZ:
        if (!$this->upload->do_upload("\x75\160\x6c\157\141\144\x5f\x66\x69\154\x65")) {
            goto uZtqw;
        }
        goto F071g;
        T_D3V:
        goto oWb1A;
        goto Fgwpn;
        a60SG:
        $i++;
        goto z9sUJ;
        ony9r:
        $config["\141\154\154\x6f\167\145\144\x5f\x74\x79\160\x65\163"] = "\170\x6c\163\x7c\x78\x6c\163\170\x7c\143\x73\166";
        goto jfyIo;
        F7oaa:
        $error = $this->upload->display_errors();
        goto VaJTX;
        jfyIo:
        $config["\x6d\141\170\x5f\163\x69\x7a\145"] = 2048;
        goto AOVeX;
        Rzfu4:
        echo json_encode($data);
        goto T_D3V;
        mwqZu:
        switch ($ext) {
            case "\x2e\x78\154\163\x78":
                $reader = new \PhpOffice\PhpSpreadsheet\Reader\Xlsx();
                goto G6JFj;
            case "\x2e\170\154\163":
                $reader = new \PhpOffice\PhpSpreadsheet\Reader\Xls();
                goto G6JFj;
            case "\56\x63\x73\166":
                $reader = new \PhpOffice\PhpSpreadsheet\Reader\Csv();
                goto G6JFj;
            default:
                echo "\165\x6e\153\156\x6f\167\x6e\40\x66\x69\154\145\x20\x65\x78\164";
                die;
        }
        goto ktcJo;
        kdW4C:
        G6JFj:
        goto xJERg;
        G1_5A:
        $this->upload->initialize($config);
        goto HE8kZ;
        EpYKS:
        die;
        goto zgCSO;
        kCbGG:
    }
    public function do_import()
    {
        goto c_Ljg;
        fGibz:
        $this->db->trans_complete();
        goto CUfNH;
        nv8Ko:
        $this->db->trans_start();
        goto m44bI;
        CUfNH:
        $this->output->set_content_type("\x61\x70\160\154\151\143\x61\x74\151\157\x6e\57\152\163\x6f\156")->set_output($save);
        goto zFbhU;
        m44bI:
        foreach ($input as $key1 => $val1) {
            goto Q41zv;
            jIl3n:
            foreach (((array) $input)[$key1] as $key => $val) {
                $data[$key] = $val;
                MNjD0:
            }
            goto adIo7;
            adIo7:
            p6XlY:
            goto QBsnI;
            bS6jL:
            $save = $this->db->insert("\155\x61\163\164\145\x72\x5f\x73\x69\163\167\x61", $data);
            goto bO2N7;
            Q41zv:
            $data = [];
            goto jIl3n;
            QBsnI:
            $data["\x66\x6f\164\157"] = "\165\160\154\157\x61\x64\163\57\146\157\164\157\x5f\163\x69\163\x77\141\x2f" . $data["\x6e\x69\x73"] . "\56\152\160\147";
            goto bS6jL;
            bO2N7:
            HUm9P:
            goto tFgm1;
            tFgm1:
        }
        goto cfmcd;
        c_Ljg:
        $input = json_decode($this->input->post("\141\154\165\x6d\x6e\x69", true));
        goto nv8Ko;
        cfmcd:
        nXSU9:
        goto fGibz;
        zFbhU:
    }
    public function editKelulusan()
    {
        goto HckFx;
        rIMjR:
        $this->db->set("\x6b\x65\x6c\141\163\137\141\x6b\x68\151\162", $kelas_akhir);
        goto qrnLd;
        m0Cag:
        $this->output_json($data);
        goto rcVps;
        pCEn2:
        $no_ijazah = $this->input->post("\156\x6f\137\x69\152\141\x7a\141\150", true);
        goto Ko5w3;
        qMIdn:
        $this->db->set("\x6e\x6f\x5f\x69\x6a\141\172\x61\150", $no_ijazah);
        goto d7i1s;
        Egzyg:
        $data["\x73\164\141\x74\x75\163"] = $status;
        goto m0Cag;
        qrnLd:
        $this->db->set("\x74\x61\x68\165\x6e\x5f\154\165\x6c\165\x73", $thn);
        goto qMIdn;
        Tpybr:
        $thn = $this->input->post("\x74\141\150\165\156\137\x6c\165\x6c\x75\x73", true);
        goto pCEn2;
        Byop8:
        $status = $this->db->update("\155\141\x73\x74\145\x72\137\163\x69\x73\167\141");
        goto Egzyg;
        d7i1s:
        $this->db->where("\151\144\137\x73\151\163\167\141", $id_siswa);
        goto Byop8;
        HckFx:
        $id_siswa = $this->input->post("\x69\x64\x5f\163\151\x73\167\141", true);
        goto Tpybr;
        Ko5w3:
        $kelas_akhir = $this->input->post("\153\145\154\x61\x73\137\141\153\150\x69\x72", true);
        goto rIMjR;
        rcVps:
    }
}

Function Calls

None

Variables

None

Stats

MD5 bc173f246106db9232dc5cc5ff936530
Eval Count 0
Decode Time 181 ms