Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

function cleanString($text) { goto p1oEJ; A7xel: $text = p..

Decoded Output download

<?  function cleanString($text) 
    { 
        goto p1oEJ; 
        A7xel: 
        $text = preg_replace("/[\303\201\xc3\x80\xc3\202\303\203\303\x84]/u", "A", $text); 
        goto Cnrbr; 
        wL_xk: 
        ksort($trans); 
        goto xe1Yc; 
        NrgAH: 
        $trans[chr(156)] = "&oelig;"; 
        goto zSY0i; 
        BGWXt: 
        $text = preg_replace("/[\303\263\303\xb2\303\xb4\303\265\302\272\303\xb6]/u", "o", $text); 
        goto tU2jB; 
        q7qlL: 
        return $text; 
        goto If9Y2; 
        Vmawy: 
        $trans[chr(138)] = "&Scaron;"; 
        goto xzJ2j; 
        dq8S_: 
        $trans[chr(154)] = "&scaron;"; 
        goto IRHyP; 
        tU2jB: 
        $text = preg_replace("/[\xc3\x93\xc3\x92\303\224\303\x95\303\226]/u", "O", $text); 
        goto hmN93; 
        fVWKJ: 
        $trans[chr(136)] = "&circ;"; 
        goto aToy8; 
        aToy8: 
        $trans[chr(137)] = "&permil;"; 
        goto Vmawy; 
        dkgz1: 
        $text = preg_replace("/[^(\x20-\x7F)]*/", '', $text); 
        goto Rn0_0; 
        ozWgw: 
        $text = strip_tags($text); 
        goto ayIMT; 
        zSY0i: 
        $trans[chr(159)] = "&Yuml;"; 
        goto Be7TK; 
        jyM3j: 
        $trans[chr(133)] = "&hellip;"; 
        goto bE8t1; 
        yfZPu: 
        $trans[chr(146)] = "&rsquo;"; 
        goto yH81N; 
        xe1Yc: 
        foreach ($trans as $k => $v) { 
            $text = str_replace($v, $k, $text); 
            CUi_S: 
        } 
        goto h3PK9; 
        jQQNA: 
        $text = str_replace("\xe2\200\x93", "-", $text); 
        goto qGFRo; 
        YIZ99: 
        $trans[chr(145)] = "&lsquo;"; 
        goto yfZPu; 
        LJ5TT: 
        $text = preg_replace("/[\xc3\232\xc3\231\303\x9b\xc3\234]/u", "U", $text); 
        goto cuN24; 
        kqbZO: 
        $text = str_replace("\xc3\207", "C", $text); 
        goto jocS0; 
        qNovm: 
        $trans[chr(140)] = "&OElig;"; 
        goto YIZ99; 
        xzJ2j: 
        $trans[chr(139)] = "&lsaquo;"; 
        goto qNovm; 
        hmN93: 
        $text = preg_replace("/[\303\xba\xc3\271\xc3\273\xc3\274]/u", "u", $text); 
        goto LJ5TT; 
        kfJ1l: 
        $text = str_replace("\303\x91", "N", $text); 
        goto NCv9L; 
        yH81N: 
        $trans[chr(147)] = "&ldquo;"; 
        goto NOW_O; 
        Rn0_0: 
        $targets = array("\r\n", "\n", "\r", "\t"); 
        goto fz32X; 
        p1oEJ: 
        $text = preg_replace("/[\xc3\241\xc3\xa0\303\242\xc3\243\xc2\252\xc3\244]/u", "a", $text); 
        goto A7xel; 
        NCv9L: 
        $trans = get_html_translation_table(HTML_ENTITIES); 
        goto KyRlv; 
        gQ5tt: 
        $text = preg_replace("/[\xc3\xa9\303\xa8\303\xaa\303\xab]/u", "e", $text); 
        goto DiYc4; 
        clP3H: 
        $text = preg_replace("/[\342\200\x9c\342\200\x9d\302\xab\302\xbb\xe2\200\x9e]/u", """, $text); 
        goto jQQNA; 
        qxPVO: 
        $trans[chr(152)] = "&tilde;"; 
        goto XitOl; 
        vTlW2: 
        $trans[chr(131)] = "&fnof;"; 
        goto Rr9bp; 
        XitOl: 
        $trans[chr(153)] = "&trade;"; 
        goto dq8S_; 
        T9gkk: 
        $text = str_replace($targets, $results, $text); 
        goto q7qlL; 
        Cnrbr: 
        $text = preg_replace("/[\xc3\215\303\x8c\xc3\216\303\x8f]/u", "I", $text); 
        goto Qj9Zc; 
        ayIMT: 
        $text = html_entity_decode($text); 
        goto dkgz1; 
        Be7TK: 
        $trans["euro"] = "&euro;"; 
        goto wL_xk; 
        Qj9Zc: 
        $text = preg_replace("/[\303\xad\xc3\254\303\xae\xc3\xaf]/u", "i", $text); 
        goto gQ5tt; 
        jocS0: 
        $text = str_replace("\xc3\261", "n", $text); 
        goto kfJ1l; 
        cuN24: 
        $text = preg_replace("/[\342\x80\x99\xe2\200\230\xe2\x80\271\xe2\x80\xba\xe2\x80\232]/u", "'", $text); 
        goto clP3H; 
        n8VLN: 
        $trans[chr(149)] = "&bull;"; 
        goto zVRvJ; 
        KyRlv: 
        $trans[chr(130)] = "&sbquo;"; 
        goto vTlW2; 
        Rr9bp: 
        $trans[chr(132)] = "&bdquo;"; 
        goto jyM3j; 
        qGFRo: 
        $text = str_replace(" ", " ", $text); 
        goto xx44u; 
        bE8t1: 
        $trans[chr(134)] = "&dagger;"; 
        goto lUBpu; 
        h3PK9: 
        CHytw: 
        goto ozWgw; 
        IRHyP: 
        $trans[chr(155)] = "&rsaquo;"; 
        goto NrgAH; 
        OleDi: 
        $trans[chr(151)] = "&mdash;"; 
        goto qxPVO; 
        zVRvJ: 
        $trans[chr(150)] = "&ndash;"; 
        goto OleDi; 
        xx44u: 
        $text = str_replace("\xc3\247", "c", $text); 
        goto kqbZO; 
        DiYc4: 
        $text = preg_replace("/[\xc3\x89\303\210\xc3\x8a\303\213]/u", "E", $text); 
        goto BGWXt; 
        lUBpu: 
        $trans[chr(135)] = "&Dagger;"; 
        goto fVWKJ; 
        NOW_O: 
        $trans[chr(148)] = "&rdquo;"; 
        goto n8VLN; 
        fz32X: 
        $results = array(" ", " ", " ", ''); 
        goto T9gkk; 
        If9Y2: 
    } 
    function cleanHTML($html) 
    { 
        goto YNSlv; 
        YNSlv: 
        $doc = new DOMDocument(); 
        goto yLLzh; 
        yLLzh: 
        $doc->loadHTML($html, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD | LIBXML_NOERROR | LIBXML_NOWARNING); 
        goto jreFM; 
        jreFM: 
        return $doc->saveHTML(); 
        goto fwoHP; 
        fwoHP: 
    } 
    function addNamespaces($xml) 
    { 
        goto CMmMl; 
        tOA6C: 
        return $root; 
        goto ZMWFc; 
        H0IBf: 
        $root .= "</w:wordDocument>"; 
        goto tOA6C; 
        YNsjf: 
        $root .= $xml; 
        goto H0IBf; 
        CMmMl: 
        $root = "<w:wordDocument\xd
        xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml"\xd
        xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint"
        xmlns:o="urn:schemas-microsoft-com:office:office">"; 
        goto YNsjf; 
        ZMWFc: 
    } 
    function doImport() 
    { 
        goto qhSQ5; 
        cgile: 
        $jml_seharusnya = $bank->tampil_pg + $bank->tampil_kompleks + $bank->tampil_jodohkan + $bank->tampil_isian + $bank->tampil_esai; 
        goto uYM2H; 
        nUFPY: 
        foreach ($datas as $jenis => $keys) { 
            goto gLzes; 
            gKG_z: 
            RvNYe: 
            goto tTpDr; 
            tTpDr: 
            bT6A1: 
            goto Y0MqL; 
            gLzes: 
            foreach ($keys as $no => $v) { 
                goto iTWmt; 
                C3LOY: 
                $insert["jawaban"] = strip_tags($v["kunci"]); 
                goto KLG57; 
                wH4pH: 
                vA3tE: 
                goto EcUJR; 
                WxeX3: 
                $insert["jawaban"] = $v["kunci"]; 
                goto y5k7g; 
                u7ae3: 
                $insert["opsi_e"] = isset($v["opsi"]) && isset($v["opsi"]["E"]) ? $v["opsi"]["E"] : ''; 
                goto bzWoe; 
                ifGq9: 
                array_push($baris, $header); 
                goto HRQx2; 
                zC0KH: 
                $insert["opsi_b"] = isset($v["opsi"]) && isset($v["opsi"]["B"]) ? $v["opsi"]["B"] : ''; 
                goto SIynQ; 
                EcUJR: 
                if (!isset($v["kunci"])) { 
                    goto LhoNT; 
                } 
                goto C3LOY; 
                nn74o: 
                zHNzp: 
                goto JwVFU; 
                Vq5mh: 
                $insert["jawaban"] = serialize($kuncis); 
                goto M5eM9; 
                AtzVh: 
                $insert["opsi_a"] = serialize($opsis); 
                goto Vq5mh; 
                iTWmt: 
                $isi_soal = isset($v["soal"]) ? $v["soal"] : ''; 
                goto QASxN; 
                MpcTe: 
                $arrKol = []; 
                goto dfSfB; 
                cFOhn: 
                RIgVv: 
                goto umKxA; 
                QASxN: 
                if (!($isi_soal != '')) { 
                    goto trTMz; 
                } 
                goto UOCFW; 
                ek0mn: 
                goto mERbs; 
                goto wH4pH; 
                HUqPf: 
                $jwb_jodohkan = ["model" => $jml_baris == $jml_kolom ? "1" : "2", "type" => $type, "jawaban" => $baris]; 
                goto bFEMR; 
                hL_Ss: 
                $type = count($types) > 0 ? "1" : "2"; 
                goto s_RIn; 
                umKxA: 
                $types = []; 
                goto nxVkP; 
                HRQx2: 
                $jwbnBaris = []; 
                goto AVaPI; 
                DmVWO: 
                mERbs: 
                goto TPquK; 
                bmo8Q: 
                KgWos: 
                goto Yn0cr; 
                UOCFW: 
                $insert = ["jenis" => $jenis, "nomor_soal" => $no, "soal" => $isi_soal, "file" => serialize([])]; 
                goto A5FhP; 
                JwVFU: 
                Hdwtx: 
                goto aSsNa; 
                VQXZp: 
                if ($jenis == "3") { 
                    goto R9mTF; 
                } 
                goto Rs0na; 
                VEzVS: 
                $kuncis = []; 
                goto piJqv; 
                lciSz: 
                KZBsU: 
                goto QeWOX; 
                aSsNa: 
                if (!isset($v["kunci"])) { 
                    goto fJeR3; 
                } 
                goto fFcoz; 
                HaHRe: 
                $insert["opsi_a"] = isset($v["opsi"]) && isset($v["opsi"]["A"]) ? $v["opsi"]["A"] : ''; 
                goto zC0KH; 
                KLG57: 
                LhoNT: 
                goto DmVWO; 
                M5eM9: 
                goto mERbs; 
                goto crHDX; 
                QeWOX: 
                $opsis = []; 
                goto VEzVS; 
                pWT23: 
                FWhMa: 
                goto ifGq9; 
                IO3NN: 
                zOrfv: 
                goto hL_Ss; 
                bFEMR: 
                $insert["jawaban"] = serialize($jwb_jodohkan); 
                goto ek0mn; 
                crHDX: 
                R9mTF: 
                goto CU5Lg; 
                A3J0A: 
                $kolom = []; 
                goto zbKVa; 
                y5k7g: 
                j0uSv: 
                goto Ca3ec; 
                bzWoe: 
                $insert["jawaban"] = isset($v["kunci"]) && isset($v["kunci"]["v"]) ? $v["kunci"]["v"] : ''; 
                goto ugtJJ; 
                s_RIn: 
                $jml_baris = count($baris); 
                goto B3nYc; 
                AVaPI: 
                foreach ($v["baris"] as $kd_bar => $bar) { 
                    goto O0Ev0; 
                    TUnPe: 
                    foreach ($kolom as $kk => $val) { 
                        goto NU4Id; 
                        YOr2T: 
                        aNboR: 
                        goto fDVRb; 
                        N7_9W: 
                        $match = in_array($kk, $arrKol[$kd_bar]); 
                        goto YUHiY; 
                        fDVRb: 
                        hrKwj: 
                        goto sIgGu; 
                        NU4Id: 
                        if (!($kd_bar != '' && $val != '' && isset($arrKol[$kd_bar]))) { 
                            goto aNboR; 
                        } 
                        goto N7_9W; 
                        YUHiY: 
                        array_push($jwbn, $match ? "1" : "0"); 
                        goto YOr2T; 
                        sIgGu: 
                    } 
                    goto fplG3; 
                    gsd9m: 
                    array_push($baris, $jwbn); 
                    goto uNLVT; 
                    f6QA_: 
                    yjBQx: 
                    goto TUnPe; 
                    QvtAs: 
                    GP7Fg: 
                    goto sO_tD; 
                    O0Ev0: 
                    $jwbn = []; 
                    goto a2e0q; 
                    cymEM: 
                    array_push($jwbn, $bar); 
                    goto f6QA_; 
                    k0YY_: 
                    array_shift($jwbn); 
                    goto NTORZ; 
                    uNLVT: 
                    WpKnS: 
                    goto CUSOC; 
                    us1KW: 
                    if (!(count($jwbn) > 0)) { 
                        goto WpKnS; 
                    } 
                    goto gsd9m; 
                    NTORZ: 
                    $jwbnBaris[$kd_bar] = $jwbn; 
                    goto SXzbs; 
                    CUSOC: 
                    if (!($kd_bar != '')) { 
                        goto JPU95; 
                    } 
                    goto k0YY_; 
                    fplG3: 
                    J7o0b: 
                    goto us1KW; 
                    SXzbs: 
                    JPU95: 
                    goto QvtAs; 
                    a2e0q: 
                    if (!($kd_bar != '')) { 
                        goto yjBQx; 
                    } 
                    goto cymEM; 
                    sO_tD: 
                } 
                goto cFOhn; 
                Eo2ZJ: 
                foreach ($v["opsi"] as $opsi => $jawaban) { 
                    $opsis[strtolower($opsi)] = $jawaban; 
                    czRyq: 
                } 
                goto nn74o; 
                ugtJJ: 
                goto mERbs; 
                goto lciSz; 
                zbKVa: 
                $header = []; 
                goto Ps0ij; 
                VGC8N: 
                trTMz: 
                goto XW0ht; 
                Ca3ec: 
                goto mERbs; 
                goto xCi8n; 
                B3nYc: 
                $jml_kolom = count($baris[0]); 
                goto HUqPf; 
                fFcoz: 
                foreach ($v["kunci"] as $kunci => $jawaban) { 
                    goto HULX6; 
                    HULX6: 
                    if (!($jawaban == "v")) { 
                        goto NHUGX; 
                    } 
                    goto eMtWt; 
                    eMtWt: 
                    $kuncis[] = strtolower($kunci); 
                    goto aarXA; 
                    aarXA: 
                    NHUGX: 
                    goto qosw3; 
                    qosw3: 
                    reIL1: 
                    goto RC9by; 
                    RC9by: 
                } 
                goto bmo8Q; 
                A5FhP: 
                if ($jenis == "1") { 
                    goto je3c1; 
                } 
                goto jkXyw; 
                xCi8n: 
                je3c1: 
                goto HaHRe; 
                XW0ht: 
                IHK2T: 
                goto YMfvb; 
                jkXyw: 
                if ($jenis == "2") { 
                    goto KZBsU; 
                } 
                goto VQXZp; 
                SIynQ: 
                $insert["opsi_c"] = isset($v["opsi"]) && isset($v["opsi"]["C"]) ? $v["opsi"]["C"] : ''; 
                goto mhM1I; 
                mhM1I: 
                $insert["opsi_d"] = isset($v["opsi"]) && isset($v["opsi"]["D"]) ? $v["opsi"]["D"] : ''; 
                goto u7ae3; 
                Yn0cr: 
                fJeR3: 
                goto AtzVh; 
                Ps0ij: 
                array_push($header, "#"); 
                goto MpcTe; 
                nxVkP: 
                foreach ($jwbnBaris as $brs => $jml) { 
                    goto UaK47; 
                    lXDUe: 
                    liBHL: 
                    goto m072h; 
                    T32n9: 
                    array_push($types, "checkbox"); 
                    goto lXDUe; 
                    UaK47: 
                    $jmlType = array_count_values($jml); 
                    goto GmMGN; 
                    GmMGN: 
                    if (!(isset($jmlType[1]) && $jmlType[1] > 1)) { 
                        goto liBHL; 
                    } 
                    goto T32n9; 
                    m072h: 
                    VSTXE: 
                    goto wLBTw; 
                    wLBTw: 
                } 
                goto IO3NN; 
                TPquK: 
                $data_insert[] = $insert; 
                goto VGC8N; 
                rlWVw: 
                if (!isset($v["kunci"])) { 
                    goto j0uSv; 
                } 
                goto WxeX3; 
                piJqv: 
                if (!isset($v["opsi"])) { 
                    goto Hdwtx; 
                } 
                goto Eo2ZJ; 
                CU5Lg: 
                $baris = []; 
                goto A3J0A; 
                dfSfB: 
                foreach ($v["kolom"] as $kd_kol => $kol) { 
                    goto mYV5h; 
                    PFS7g: 
                    array_push($header, $kol); 
                    goto ZueFD; 
                    yNMa9: 
                    jHIOG: 
                    goto mGY05; 
                    TXVRd: 
                    if (!($kol != '')) { 
                        goto NdGxJ; 
                    } 
                    goto PFS7g; 
                    mGY05: 
                    owHeT: 
                    goto sbr8_; 
                    mYV5h: 
                    $kolom[$kd_kol] = $kol; 
                    goto TXVRd; 
                    ZueFD: 
                    NdGxJ: 
                    goto xEPh8; 
                    xEPh8: 
                    foreach ($v["kunci"] as $kd_bar => $kd_kol) { 
                        goto qGmFe; 
                        qGmFe: 
                        if (!($kd_kol != '')) { 
                            goto cGY7s; 
                        } 
                        goto cndFU; 
                        j8wGj: 
                        cGY7s: 
                        goto FWMVj; 
                        cndFU: 
                        $arrKol[$kd_bar] = explode(",", $kd_kol); 
                        goto j8wGj; 
                        FWMVj: 
                        bFUzl: 
                        goto g5mtb; 
                        g5mtb: 
                    } 
                    goto yNMa9; 
                    sbr8_: 
                } 
                goto pWT23; 
                Rs0na: 
                if ($jenis == "4") { 
                    goto vA3tE; 
                } 
                goto rlWVw; 
                YMfvb: 
            } 
            goto gKG_z; 
            Y0MqL: 
        } 
        goto uum28; 
        PpZpl: 
        $bank_id = $this->input->post("id_bank", true); 
        goto UAvdn; 
        uIxIs: 
        $inserted = []; 
        goto pXYOl; 
        Wg1X2: 
        cBg0n: 
        goto VHJKK; 
        iBGhv: 
        R90Lj: 
        goto a0Uff; 
        i339W: 
        goto cBg0n; 
        goto K5PzJ; 
        VHJKK: 
        $this->output_json($data); 
        goto o1HhW; 
        PC4NF: 
        $data["insert"] = 0; 
        goto i339W; 
        xkXGC: 
        $data["insert"] = $this->db->insert_batch("cbt_soal", $inserted); 
        goto fcbhJ; 
        fcbhJ: 
        TQAaA: 
        goto Wg1X2; 
        bB_Cq: 
        oMOur: 
        goto rDZAY; 
        bQGlQ: 
        foreach ($json as $jenis => $values) { 
            goto tT13F; 
            tT13F: 
            $data_soal = []; 
            goto vFL4c; 
            GR1B_: 
            q_tOL: 
            goto QMvzb; 
            vFL4c: 
            foreach ($values as $val) { 
                goto R00cB; 
                gOkGo: 
                if (!isset($val->OPSI)) { 
                    goto WVdi1; 
                } 
                goto KnEqp; 
                RQ5sN: 
                NdtcF: 
                goto mXcK1; 
                mCvXz: 
                ANJyl: 
                goto ZdMOx; 
                ZdMOx: 
                dl6At: 
                goto Aql4M; 
                l2Zi1: 
                if (!isset($val->KUNCI)) { 
                    goto ANJyl; 
                } 
                goto kN2_o; 
                wKFKr: 
                $no = trim($val->NO); 
                goto MquSJ; 
                j1RPv: 
                if (!isset($val->KD_BARIS)) { 
                    goto dl6At; 
                } 
                goto y8my6; 
                GiK9a: 
                $data_soal[$no]["kunci"] = $val->KUNCI; 
                goto RQ5sN; 
                jygd0: 
                BDhFA: 
                goto ZuxaM; 
                KnEqp: 
                $data_soal[$no]["opsi"][strtoupper($val->OPSI)] = $val->JAWABAN; 
                goto EPyA4; 
                uM3YN: 
                VzXwM: 
                goto L2YA4; 
                qw6K9: 
                if ($jenis == "2") { 
                    goto hIHUu; 
                } 
                goto yHgqh; 
                j4zsP: 
                DO3c_: 
                goto b0w5L; 
                mXcK1: 
                goto UjAvM; 
                goto jygd0; 
                SHeJ5: 
                $data_soal[$no]["kunci"][strtolower($val->KUNCI)] = strtoupper($val->OPSI); 
                goto BdomO; 
                XZ6aJ: 
                $data_soal[$no]["kolom"][strtoupper($val->KD_KOLOM)] = $val->KOLOM; 
                goto b5YMv; 
                yHgqh: 
                if ($jenis == "3") { 
                    goto w_LLs; 
                } 
                goto EJMAp; 
                kN2_o: 
                $data_soal[$no]["kunci"][strtoupper($val->KD_KUNCI)] = strtoupper($val->KUNCI); 
                goto mCvXz; 
                L2YA4: 
                Oa0NY: 
                goto axBeC; 
                MquSJ: 
                if (!(isset($val->SOAL) && $val->SOAL != '')) { 
                    goto kelC_; 
                } 
                goto hRLE6; 
                b5YMv: 
                Lz81N: 
                goto MjfmX; 
                eXABr: 
                $data_soal[$no]["opsi"][strtoupper($val->OPSI)] = $val->JAWABAN; 
                goto Sr0kw; 
                m6quM: 
                goto UjAvM; 
                goto TJI9P; 
                Sr0kw: 
                if (!(isset($val->KUNCI) && strtolower($val->KUNCI) == "v")) { 
                    goto JB_oO; 
                } 
                goto SHeJ5; 
                MjfmX: 
                UjAvM: 
                goto uM3YN; 
                EPyA4: 
                if (!(isset($val->KUNCI) && strtolower($val->KUNCI) == "v")) { 
                    goto lqiYA; 
                } 
                goto UQnuM; 
                R00cB: 
                if (!isset($val->NO)) { 
                    goto VzXwM; 
                } 
                goto wKFKr; 
                y8my6: 
                $data_soal[$no]["baris"][strtoupper($val->KD_BARIS)] = $val->BARIS; 
                goto l2Zi1; 
                Aql4M: 
                if (!isset($val->KD_KOLOM)) { 
                    goto Lz81N; 
                } 
                goto XZ6aJ; 
                Ota8h: 
                hIHUu: 
                goto gOkGo; 
                b0w5L: 
                goto UjAvM; 
                goto Ota8h; 
                XJ9Xg: 
                WVdi1: 
                goto m6quM; 
                FEPiQ: 
                kelC_: 
                goto CMLhu; 
                ZuxaM: 
                if (!isset($val->OPSI)) { 
                    goto DO3c_; 
                } 
                goto eXABr; 
                EJMAp: 
                if (!isset($val->KUNCI)) { 
                    goto NdtcF; 
                } 
                goto GiK9a; 
                BdomO: 
                JB_oO: 
                goto j4zsP; 
                UQnuM: 
                $data_soal[$no]["kunci"][strtoupper($val->OPSI)] = strtolower($val->KUNCI); 
                goto AByue; 
                AByue: 
                lqiYA: 
                goto XJ9Xg; 
                hRLE6: 
                $data_soal[$no]["soal"] = $val->SOAL; 
                goto FEPiQ; 
                CMLhu: 
                if ($jenis == "1") { 
                    goto BDhFA; 
                } 
                goto qw6K9; 
                TJI9P: 
                w_LLs: 
                goto j1RPv; 
                axBeC: 
            } 
            goto GR1B_; 
            QMvzb: 
            $datas[$jenis] = $data_soal; 
            goto kLwNO; 
            kLwNO: 
            GKk7A: 
            goto u1BxU; 
            u1BxU: 
        } 
        goto bB_Cq; 
        rDytc: 
        $data["json"] = $json; 
        goto Ty5Zo; 
        uYM2H: 
        $json = json_decode($string); 
        goto JjmZC; 
        a0Uff: 
        $data["data_insert"] = $inserted; 
        goto vK21N; 
        uum28: 
        mP64y: 
        goto uIxIs; 
        dxGhj: 
        $this->db->where("bank_id", $bank_id); 
        goto TQPHQ; 
        aRN3G: 
        $jml = []; 
        goto bQGlQ; 
        K5PzJ: 
        eu7Ql: 
        goto dxGhj; 
        fGDof: 
        foreach ($data_insert as $dins) { 
            $inserted[] = ["bank_id" => $bank_id, "jenis" => $dins["jenis"], "nomor_soal" => $dins["nomor_soal"], "soal" => $dins["soal"], "deskripsi" => '', "kesulitan" => "8", "timer" => "0", "timer_menit" => "0", "file" => $dins["file"], "tampilkan" => "0", "created_on" => time(), "updated_on" => time(), "opsi_a" => isset($dins["opsi_a"]) ? $dins["opsi_a"] : '', "opsi_b" => isset($dins["opsi_b"]) ? $dins["opsi_b"] : '', "opsi_c" => isset($dins["opsi_c"]) ? $dins["opsi_c"] : '', "opsi_d" => isset($dins["opsi_d"]) ? $dins["opsi_d"] : '', "opsi_e" => isset($dins["opsi_e"]) ? $dins["opsi_e"] : '', "jawaban" => $dins["jawaban"], "tampilkan" => $total_soal == $jml_seharusnya ? "1" : "0"]; 
            aELDm: 
        } 
        goto iBGhv; 
        qhSQ5: 
        $this->load->model("Cbt_model", "cbt"); 
        goto PpZpl; 
        h9GPG: 
        $bank = $this->cbt->getDataBankById($bank_id); 
        goto cgile; 
        rDZAY: 
        $data_insert = []; 
        goto nUFPY; 
        TQPHQ: 
        if (!$this->db->delete("cbt_soal")) { 
            goto TQAaA; 
        } 
        goto xkXGC; 
        vK21N: 
        $data["total"] = count($inserted); 
        goto rDytc; 
        JjmZC: 
        $datas = []; 
        goto aRN3G; 
        UAvdn: 
        $string = $this->input->post("data", false); 
        goto h9GPG; 
        pXYOl: 
        $total_soal = count($data_insert); 
        goto fGDof; 
        Ty5Zo: 
        if (count($inserted) > 0) { 
            goto eu7Ql; 
        } 
        goto PC4NF; 
        o1HhW: 
    } 
    function uploadSoal() 
    { 
        goto dE0kO; 
        rUUcj: 
        $this->db->set("status_soal", $status_soal); 
        goto dJwZb; 
        fyvE9: 
        $tmpl["3"] = $jml_sjod == $bank->tampil_jodohkan ? "1" : "0"; 
        goto Hhes6; 
        Hhes6: 
        $tmpl["4"] = $jml_siss == $bank->tampil_isian ? "1" : "0"; 
        goto nH05D; 
        kgf10: 
        $jml_spg2 = 0; 
        goto ZGuiT; 
        AYYdr: 
        Q877B: 
        goto LB51i; 
        CAYiD: 
        $data["insert"] = 0; 
        goto xU0yo; 
        KUa9B: 
        $jml_siss = 0; 
        goto grdXB; 
        dE0kO: 
        $this->load->model("Cbt_model", "cbt"); 
        goto FsZ40; 
        gWnjJ: 
        C6_6O: 
        goto ZKt_M; 
        IxXxw: 
        eDgNj: 
        goto AYYdr; 
        w0CrT: 
        $tmpl["1"] = $jml_spg1 == $bank->tampil_pg ? "1" : "0"; 
        goto gNqh2; 
        gNqh2: 
        $tmpl["2"] = $jml_spg2 == $bank->tampil_kompleks ? "1" : "0"; 
        goto fyvE9; 
        grdXB: 
        $jml_sess = 0; 
        goto J3Tqe; 
        V8WBr: 
        $status_soal = $tmpl["1"] == "1" && $tmpl["2"] == "1" && $tmpl["3"] == "1" && $tmpl["4"] == "1" && $tmpl["5"] == "1" ? "1" : "0"; 
        goto rUUcj; 
        SFvaE: 
        $inserted = []; 
        goto utXow; 
        LIxD7: 
        if (count($inserted) > 0) { 
            goto C6_6O; 
        } 
        goto CAYiD; 
        gafus: 
        $bank = $this->cbt->getDataBankById($bank_id); 
        goto uN0EA; 
        Qr30e: 
        $data["data_insert"] = $inserted; 
        goto CW4bF; 
        xU0yo: 
        goto Q877B; 
        goto gWnjJ; 
        LB51i: 
        if (!count($inserted)) { 
            goto mKBnb; 
        } 
        goto V8WBr; 
        C4RiH: 
        if (!$this->db->delete("cbt_soal")) { 
            goto eDgNj; 
        } 
        goto wgAV0; 
        J3Tqe: 
        $data_insert = []; 
        goto rIfxw; 
        utXow: 
        $total_soal = count($data_insert); 
        goto tXOYS; 
        NIkCg: 
        $data["selesai"] = $soal_updated; 
        goto VFdWq; 
        ZKt_M: 
        $this->db->where("bank_id", $bank_id); 
        goto C4RiH; 
        CW4bF: 
        $data["total"] = count($inserted); 
        goto LIxD7; 
        nH05D: 
        $tmpl["5"] = $jml_sess == $bank->tampil_esai ? "1" : "0"; 
        goto SFvaE; 
        fOnNv: 
        $soal_updated = $this->db->update("cbt_bank_soal"); 
        goto NIkCg; 
        DZiJo: 
        SeM9c: 
        goto w0CrT; 
        rIfxw: 
        foreach ($datas as $jenis => $nomor) { 
            goto ltASp; 
            NFAEJ: 
            qWiiu: 
            goto UfzYH; 
            ltASp: 
            foreach ($nomor as $no => $v) { 
                goto WM3Hn; 
                InWnZ: 
                JCW9I: 
                goto dBGSq; 
                iCG4_: 
                $jwb_jodohkan = ["model" => $jml_baris == $jml_kolom ? "1" : "2", "type" => $type, "jawaban" => $baris]; 
                goto b722t; 
                nAEWa: 
                goto pMI2u; 
                goto Ifg5J; 
                W1URG: 
                QYYiW: 
                goto G32sk; 
                pswxG: 
                if ($jenis == 1) { 
                    goto n0aO5; 
                } 
                goto sjaw2; 
                cEaKN: 
                u9v1g: 
                goto pprcw; 
                ja5gp: 
                $jml_baris = count($baris); 
                goto eeRKi; 
                KC2pC: 
                sSHzJ: 
                goto hM3qJ; 
                LkVBU: 
                $jwbnBaris = []; 
                goto N7hT0; 
                d258T: 
                if ($jenis == "4") { 
                    goto mv9DG; 
                } 
                goto TPtvU; 
                Hhmmj: 
                yUsm2: 
                goto KC2pC; 
                jhKdl: 
                foreach ($v["opsi"] as $opsi => $jawaban) { 
                    $opsis[strtolower($opsi)] = rawurldecode($jawaban); 
                    fh0t4: 
                } 
                goto FKwkQ; 
                huk33: 
                $data_insert[] = $insert; 
                goto GYJb0; 
                doCTu: 
                goto pMI2u; 
                goto A511j; 
                L7Rh4: 
                $kuncis = []; 
                goto kl8s5; 
                HN3qI: 
                Qlilc: 
                goto hF7dx; 
                pyR1m: 
                $insert = ["jenis" => $jenis, "nomor_soal" => $no, "soal" => $isi_soal, "file" => serialize([])]; 
                goto pswxG; 
                EAER3: 
                $insert["opsi_a"] = isset($v["opsi"]) && isset($v["opsi"]["A"]) ? rawurldecode($v["opsi"]["A"]) : ''; 
                goto jii_e; 
                D2o9R: 
                $baris = []; 
                goto odxwf; 
                rgN3O: 
                foreach ($v["kunci"] as $jawaban) { 
                    array_push($kuncis, strtolower($jawaban)); 
                    u3p2l: 
                } 
                goto Hhmmj; 
                rW0XY: 
                $jml_spg1++; 
                goto yQzfD; 
                SWcQL: 
                $jml_sjod++; 
                goto doCTu; 
                sjaw2: 
                if ($jenis == "2") { 
                    goto QYYiW; 
                } 
                goto QxVEY; 
                R3mqd: 
                $insert["jawaban"] = isset($v["kunci"]) && count($v["kunci"]) > 0 ? $v["kunci"][0] : ''; 
                goto rW0XY; 
                PgLw3: 
                ZIAcE: 
                goto vd94T; 
                eq2no: 
                $type = count($types) > 0 ? "1" : "2"; 
                goto ja5gp; 
                hF7dx: 
                if (!isset($v["kunci"])) { 
                    goto sSHzJ; 
                } 
                goto rgN3O; 
                st48e: 
                $insert["jawaban"] = serialize($kuncis); 
                goto ALa0G; 
                FKwkQ: 
                TXyNH: 
                goto HN3qI; 
                dBGSq: 
                $jml_siss++; 
                goto QOFqm; 
                JzJJK: 
                n0aO5: 
                goto EAER3; 
                Ifg5J: 
                L2M1U: 
                goto D2o9R; 
                G32sk: 
                $opsis = []; 
                goto L7Rh4; 
                vd94T: 
                $jml_sess++; 
                goto anuaR; 
                X1gNs: 
                $types = []; 
                goto f1eqb; 
                N7hT0: 
                foreach ($v["baris"] as $kd_bar => $bar) { 
                    goto fWzfJ; 
                    SSO3c: 
                    foreach ($kolom as $kk => $val) { 
                        goto huHoB; 
                        IvhnO: 
                        $match = in_array($kk, $arrKol[$kd_bar]); 
                        goto ulg81; 
                        s8mzg: 
                        oySL1: 
                        goto ZZrXk; 
                        huHoB: 
                        if (!($kd_bar != '' && $val != '' && isset($arrKol[$kd_bar]))) { 
                            goto BStkP; 
                        } 
                        goto IvhnO; 
                        uFNnz: 
                        BStkP: 
                        goto s8mzg; 
                        ulg81: 
                        array_push($jwbn, $match ? "1" : "0"); 
                        goto uFNnz; 
                        ZZrXk: 
                    } 
                    goto YbzmX; 
                    MWEXV: 
                    array_push($baris, $jwbn); 
                    goto G1Wdb; 
                    v8cZd: 
                    array_push($jwbn, $bar); 
                    goto GVRBd; 
                    q4gwP: 
                    op4SA: 
                    goto n5ZGL; 
                    G1Wdb: 
                    WZI4n: 
                    goto lhFnL; 
                    GVRBd: 
                    emNdV: 
                    goto SSO3c; 
                    Vq5zU: 
                    if (!($kd_bar != '')) { 
                        goto emNdV; 
                    } 
                    goto v8cZd; 
                    fWzfJ: 
                    $jwbn = []; 
                    goto Vq5zU; 
                    XKOA0: 
                    array_shift($jwbn); 
                    goto DLPq8; 
                    DLPq8: 
                    $jwbnBaris[$kd_bar] = $jwbn; 
                    goto q4gwP; 
                    lhFnL: 
                    if (!($kd_bar != '')) { 
                        goto op4SA; 
                    } 
                    goto XKOA0; 
                    YbzmX: 
                    Y2IDh: 
                    goto loCe8; 
                    loCe8: 
                    if (!(count($jwbn) > 0)) { 
                        goto WZI4n; 
                    } 
                    goto MWEXV; 
                    n5ZGL: 
                    c0A3y: 
                    goto aqKAU; 
                    aqKAU: 
                } 
                goto EWp2S; 
                T6qlV: 
                $insert["jawaban"] = strip_tags(rawurldecode($v["kunci"])); 
                goto InWnZ; 
                QOFqm: 
                pMI2u: 
                goto huk33; 
                Nw7vN: 
                if (!($isi_soal != '')) { 
                    goto IFucQ; 
                } 
                goto pyR1m; 
                TPtvU: 
                if (!isset($v["kunci"])) { 
                    goto ZIAcE; 
                } 
                goto t2Dje; 
                EWp2S: 
                S0q_x: 
                goto X1gNs; 
                ALa0G: 
                $jml_spg2++; 
                goto nAEWa; 
                f1eqb: 
                foreach ($jwbnBaris as $brs => $jml) { 
                    goto qreET; 
                    IFKT6: 
                    if (!(isset($jmlType[1]) && $jmlType[1] > 1)) { 
                        goto dOJh_; 
                    } 
                    goto PcbLQ; 
                    PcbLQ: 
                    array_push($types, "checkbox"); 
                    goto inTkJ; 
                    Ul4DX: 
                    duem2: 
                    goto UeVd8; 
                    inTkJ: 
                    dOJh_: 
                    goto Ul4DX; 
                    qreET: 
                    $jmlType = array_count_values($jml); 
                    goto IFKT6; 
                    UeVd8: 
                } 
                goto ReH71; 
                yAsow: 
                $insert["opsi_e"] = isset($v["opsi"]) && isset($v["opsi"]["E"]) ? rawurldecode($v["opsi"]["E"]) : ''; 
                goto R3mqd; 
                bzyN8: 
                $header = []; 
                goto btcAX; 
                jIDTp: 
                $arrKol = []; 
                goto i0EWl; 
                yQzfD: 
                goto pMI2u; 
                goto W1URG; 
                wUemn: 
                $insert["opsi_d"] = isset($v["opsi"]) && isset($v["opsi"]["D"]) ? rawurldecode($v["opsi"]["D"]) : ''; 
                goto yAsow; 
                hM3qJ: 
                $insert["opsi_a"] = serialize($opsis); 
                goto st48e; 
                kl8s5: 
                if (!isset($v["opsi"])) { 
                    goto Qlilc; 
                } 
                goto jhKdl; 
                a6HHL: 
                XW0rc: 
                goto W990t; 
                f_yGx: 
                if (!isset($v["kunci"])) { 
                    goto JCW9I; 
                } 
                goto T6qlV; 
                eeRKi: 
                $jml_kolom = count($baris[0]); 
                goto iCG4_; 
                b722t: 
                $insert["jawaban"] = serialize($jwb_jodohkan); 
                goto SWcQL; 
                jii_e: 
                $insert["opsi_b"] = isset($v["opsi"]) && isset($v["opsi"]["B"]) ? rawurldecode($v["opsi"]["B"]) : ''; 
                goto Y9HtN; 
                WM3Hn: 
                $isi_soal = isset($v["soal"]) ? rawurldecode($v["soal"]) : ''; 
                goto Nw7vN; 
                ReH71: 
                RGMYG: 
                goto eq2no; 
                A511j: 
                mv9DG: 
                goto f_yGx; 
                anuaR: 
                goto pMI2u; 
                goto JzJJK; 
                btcAX: 
                array_push($header, "#"); 
                goto jIDTp; 
                W990t: 
                array_push($baris, $header); 
                goto LkVBU; 
                i0EWl: 
                foreach ($v["kolom"] as $kd_kol => $kol) { 
                    goto Q1Ge7; 
                    Q1Ge7: 
                    $kolom[$kd_kol] = $kol; 
                    goto rGnU8; 
                    KrOwj: 
                    foreach ($v["kunci"] as $kd_bar => $kd_kol) { 
                        goto iMfOb; 
                        iOVxI: 
                        $arrKol[$kd_bar] = explode(",", $kd_kol); 
                        goto mUYbT; 
                        uoc31: 
                        mTeR3: 
                        goto Zzikl; 
                        iMfOb: 
                        if (!($kd_kol != '')) { 
                            goto vm9_X; 
                        } 
                        goto iOVxI; 
                        mUYbT: 
                        vm9_X: 
                        goto uoc31; 
                        Zzikl: 
                    } 
                    goto a7SgN; 
                    zhMMk: 
                    array_push($header, $kol); 
                    goto N4Qyo; 
                    N4Qyo: 
                    dprOC: 
                    goto KrOwj; 
                    a7SgN: 
                    oHHtl: 
                    goto tiJcf; 
                    rGnU8: 
                    if (!($kol != '')) { 
                        goto dprOC; 
                    } 
                    goto zhMMk; 
                    tiJcf: 
                    fYTh7: 
                    goto evq5T; 
                    evq5T: 
                } 
                goto a6HHL; 
                Y9HtN: 
                $insert["opsi_c"] = isset($v["opsi"]) && isset($v["opsi"]["C"]) ? rawurldecode($v["opsi"]["C"]) : ''; 
                goto wUemn; 
                QxVEY: 
                if ($jenis == "3") { 
                    goto L2M1U; 
                } 
                goto d258T; 
                odxwf: 
                $kolom = []; 
                goto bzyN8; 
                GYJb0: 
                IFucQ: 
                goto cEaKN; 
                t2Dje: 
                $insert["jawaban"] = rawurldecode($v["kunci"]); 
                goto PgLw3; 
                pprcw: 
            } 
            goto S3tFW; 
            S3tFW: 
            wZUwl: 
            goto NFAEJ; 
            UfzYH: 
        } 
        goto DZiJo; 
        VFdWq: 
        mKBnb: 
        goto Jpg0k; 
        tXOYS: 
        foreach ($data_insert as $dins) { 
            $inserted[] = ["bank_id" => $bank_id, "jenis" => $dins["jenis"], "nomor_soal" => $dins["nomor_soal"], "soal" => $dins["soal"], "deskripsi" => '', "kesulitan" => "8", "timer" => "0", "timer_menit" => "0", "file" => $dins["file"], "created_on" => time(), "updated_on" => time(), "opsi_a" => isset($dins["opsi_a"]) ? $dins["opsi_a"] : '', "opsi_b" => isset($dins["opsi_b"]) ? $dins["opsi_b"] : '', "opsi_c" => isset($dins["opsi_c"]) ? $dins["opsi_c"] : '', "opsi_d" => isset($dins["opsi_d"]) ? $dins["opsi_d"] : '', "opsi_e" => isset($dins["opsi_e"]) ? $dins["opsi_e"] : '', "jawaban" => $dins["jawaban"], "tampilkan" => $tmpl[$dins["jenis"]]]; 
            koL8X: 
        } 
        goto QNf0K; 
        Jpg0k: 
        $this->output_json($data); 
        goto vG9z_; 
        QOqTr: 
        $datas = $this->input->post("soal", false); 
        goto gafus; 
        FsZ40: 
        $bank_id = $this->input->post("id_bank", true); 
        goto QOqTr; 
        wgAV0: 
        $data["insert"] = $this->db->insert_batch("cbt_soal", $inserted); 
        goto IxXxw; 
        ZGuiT: 
        $jml_sjod = 0; 
        goto KUa9B; 
        uN0EA: 
        $jml_spg1 = 0; 
        goto kgf10; 
        dJwZb: 
        $this->db->where("id_bank", $bank_id); 
        goto fOnNv; 
        QNf0K: 
        YxLt0: 
        goto Qr30e; 
        vG9z_: 
    } ?>

Did this file decode correctly?

Original Code

function cleanString($text)
    {
        goto p1oEJ;
        A7xel:
        $text = preg_replace("\57\133\303\201\xc3\x80\xc3\202\303\203\303\x84\135\57\165", "\x41", $text);
        goto Cnrbr;
        wL_xk:
        ksort($trans);
        goto xe1Yc;
        NrgAH:
        $trans[chr(156)] = "\46\x6f\145\154\x69\147\x3b";
        goto zSY0i;
        BGWXt:
        $text = preg_replace("\57\133\303\263\303\xb2\303\xb4\303\265\302\272\303\xb6\135\x2f\x75", "\x6f", $text);
        goto tU2jB;
        q7qlL:
        return $text;
        goto If9Y2;
        Vmawy:
        $trans[chr(138)] = "\46\x53\143\141\x72\157\156\x3b";
        goto xzJ2j;
        dq8S_:
        $trans[chr(154)] = "\x26\x73\143\x61\162\157\156\x3b";
        goto IRHyP;
        tU2jB:
        $text = preg_replace("\57\133\xc3\x93\xc3\x92\303\224\303\x95\303\226\x5d\57\x75", "\117", $text);
        goto hmN93;
        fVWKJ:
        $trans[chr(136)] = "\46\x63\x69\x72\143\x3b";
        goto aToy8;
        aToy8:
        $trans[chr(137)] = "\x26\160\145\162\155\151\x6c\73";
        goto Vmawy;
        dkgz1:
        $text = preg_replace("\57\133\136\50\x5c\x78\62\60\x2d\134\170\x37\106\x29\x5d\x2a\57", '', $text);
        goto Rn0_0;
        ozWgw:
        $text = strip_tags($text);
        goto ayIMT;
        zSY0i:
        $trans[chr(159)] = "\x26\131\165\x6d\x6c\x3b";
        goto Be7TK;
        jyM3j:
        $trans[chr(133)] = "\x26\150\x65\154\x6c\x69\160\x3b";
        goto bE8t1;
        yfZPu:
        $trans[chr(146)] = "\x26\162\x73\161\165\x6f\x3b";
        goto yH81N;
        xe1Yc:
        foreach ($trans as $k => $v) {
            $text = str_replace($v, $k, $text);
            CUi_S:
        }
        goto h3PK9;
        jQQNA:
        $text = str_replace("\xe2\200\x93", "\55", $text);
        goto qGFRo;
        YIZ99:
        $trans[chr(145)] = "\x26\154\163\161\x75\157\x3b";
        goto yfZPu;
        LJ5TT:
        $text = preg_replace("\57\133\xc3\232\xc3\231\303\x9b\xc3\234\x5d\x2f\x75", "\125", $text);
        goto cuN24;
        kqbZO:
        $text = str_replace("\xc3\207", "\x43", $text);
        goto jocS0;
        qNovm:
        $trans[chr(140)] = "\x26\117\105\x6c\151\x67\73";
        goto YIZ99;
        xzJ2j:
        $trans[chr(139)] = "\46\x6c\163\x61\x71\x75\157\73";
        goto qNovm;
        hmN93:
        $text = preg_replace("\x2f\133\303\xba\xc3\271\xc3\273\xc3\274\135\57\165", "\x75", $text);
        goto LJ5TT;
        kfJ1l:
        $text = str_replace("\303\x91", "\116", $text);
        goto NCv9L;
        yH81N:
        $trans[chr(147)] = "\46\x6c\144\161\x75\157\73";
        goto NOW_O;
        Rn0_0:
        $targets = array("\134\x72\x5c\156", "\x5c\x6e", "\x5c\162", "\x5c\164");
        goto fz32X;
        p1oEJ:
        $text = preg_replace("\57\x5b\xc3\241\xc3\xa0\303\242\xc3\243\xc2\252\xc3\244\135\x2f\x75", "\x61", $text);
        goto A7xel;
        NCv9L:
        $trans = get_html_translation_table(HTML_ENTITIES);
        goto KyRlv;
        gQ5tt:
        $text = preg_replace("\x2f\133\xc3\xa9\303\xa8\303\xaa\303\xab\x5d\x2f\165", "\145", $text);
        goto DiYc4;
        clP3H:
        $text = preg_replace("\x2f\x5b\342\200\x9c\342\200\x9d\302\xab\302\xbb\xe2\200\x9e\x5d\57\165", "\42", $text);
        goto jQQNA;
        qxPVO:
        $trans[chr(152)] = "\46\x74\151\154\x64\x65\73";
        goto XitOl;
        vTlW2:
        $trans[chr(131)] = "\46\146\156\157\x66\73";
        goto Rr9bp;
        XitOl:
        $trans[chr(153)] = "\x26\164\162\141\144\145\73";
        goto dq8S_;
        T9gkk:
        $text = str_replace($targets, $results, $text);
        goto q7qlL;
        Cnrbr:
        $text = preg_replace("\57\133\xc3\215\303\x8c\xc3\216\303\x8f\x5d\57\x75", "\111", $text);
        goto Qj9Zc;
        ayIMT:
        $text = html_entity_decode($text);
        goto dkgz1;
        Be7TK:
        $trans["\x65\165\x72\x6f"] = "\x26\x65\x75\x72\x6f\73";
        goto wL_xk;
        Qj9Zc:
        $text = preg_replace("\x2f\x5b\303\xad\xc3\254\303\xae\xc3\xaf\135\x2f\x75", "\151", $text);
        goto gQ5tt;
        jocS0:
        $text = str_replace("\xc3\261", "\x6e", $text);
        goto kfJ1l;
        cuN24:
        $text = preg_replace("\x2f\133\342\x80\x99\xe2\200\230\xe2\x80\271\xe2\x80\xba\xe2\x80\232\x5d\x2f\165", "\47", $text);
        goto clP3H;
        n8VLN:
        $trans[chr(149)] = "\46\x62\165\154\x6c\x3b";
        goto zVRvJ;
        KyRlv:
        $trans[chr(130)] = "\x26\163\142\161\x75\157\73";
        goto vTlW2;
        Rr9bp:
        $trans[chr(132)] = "\46\142\144\161\165\157\x3b";
        goto jyM3j;
        qGFRo:
        $text = str_replace("\x20", "\x20", $text);
        goto xx44u;
        bE8t1:
        $trans[chr(134)] = "\46\x64\x61\x67\x67\145\162\x3b";
        goto lUBpu;
        h3PK9:
        CHytw:
        goto ozWgw;
        IRHyP:
        $trans[chr(155)] = "\x26\162\163\x61\161\165\157\73";
        goto NrgAH;
        OleDi:
        $trans[chr(151)] = "\46\155\x64\141\163\150\x3b";
        goto qxPVO;
        zVRvJ:
        $trans[chr(150)] = "\x26\x6e\x64\141\163\150\73";
        goto OleDi;
        xx44u:
        $text = str_replace("\xc3\247", "\143", $text);
        goto kqbZO;
        DiYc4:
        $text = preg_replace("\57\x5b\xc3\x89\303\210\xc3\x8a\303\213\135\x2f\165", "\105", $text);
        goto BGWXt;
        lUBpu:
        $trans[chr(135)] = "\x26\x44\x61\147\x67\145\x72\73";
        goto fVWKJ;
        NOW_O:
        $trans[chr(148)] = "\x26\162\x64\x71\165\157\x3b";
        goto n8VLN;
        fz32X:
        $results = array("\40", "\x20", "\x20", '');
        goto T9gkk;
        If9Y2:
    }
    function cleanHTML($html)
    {
        goto YNSlv;
        YNSlv:
        $doc = new DOMDocument();
        goto yLLzh;
        yLLzh:
        $doc->loadHTML($html, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD | LIBXML_NOERROR | LIBXML_NOWARNING);
        goto jreFM;
        jreFM:
        return $doc->saveHTML();
        goto fwoHP;
        fwoHP:
    }
    function addNamespaces($xml)
    {
        goto CMmMl;
        tOA6C:
        return $root;
        goto ZMWFc;
        H0IBf:
        $root .= "\x3c\57\x77\x3a\x77\157\162\x64\104\157\143\x75\x6d\x65\x6e\x74\76";
        goto tOA6C;
        YNsjf:
        $root .= $xml;
        goto H0IBf;
        CMmMl:
        $root = "\x3c\167\72\167\157\x72\x64\x44\x6f\143\x75\155\145\156\x74\xd\12\40\x20\x20\40\40\x20\x20\40\170\x6d\x6c\x6e\163\x3a\167\75\x22\x68\164\x74\x70\72\57\x2f\x73\x63\x68\145\x6d\x61\163\56\155\151\143\162\x6f\163\x6f\146\x74\x2e\x63\157\x6d\x2f\157\x66\x66\x69\x63\x65\57\x77\x6f\x72\144\x2f\62\x30\x30\63\57\167\x6f\x72\x64\155\x6c\x22\xd\12\x20\x20\40\x20\40\40\x20\x20\x78\x6d\x6c\x6e\x73\72\167\170\x3d\42\x68\164\164\x70\x3a\x2f\57\x73\x63\150\145\x6d\x61\x73\x2e\155\151\143\x72\x6f\163\157\146\164\56\143\157\x6d\x2f\157\x66\x66\151\143\145\57\167\157\x72\x64\x2f\x32\60\60\63\x2f\141\165\170\x48\x69\x6e\x74\42\15\12\40\40\40\x20\x20\x20\x20\x20\x78\155\x6c\x6e\163\x3a\157\x3d\x22\x75\x72\x6e\x3a\163\x63\x68\x65\155\141\163\55\x6d\x69\143\x72\x6f\x73\157\x66\164\55\143\157\x6d\72\x6f\146\x66\151\x63\x65\72\157\146\146\151\x63\145\x22\76";
        goto YNsjf;
        ZMWFc:
    }
    function doImport()
    {
        goto qhSQ5;
        cgile:
        $jml_seharusnya = $bank->tampil_pg + $bank->tampil_kompleks + $bank->tampil_jodohkan + $bank->tampil_isian + $bank->tampil_esai;
        goto uYM2H;
        nUFPY:
        foreach ($datas as $jenis => $keys) {
            goto gLzes;
            gKG_z:
            RvNYe:
            goto tTpDr;
            tTpDr:
            bT6A1:
            goto Y0MqL;
            gLzes:
            foreach ($keys as $no => $v) {
                goto iTWmt;
                C3LOY:
                $insert["\152\141\167\x61\142\141\x6e"] = strip_tags($v["\153\x75\156\143\151"]);
                goto KLG57;
                wH4pH:
                vA3tE:
                goto EcUJR;
                WxeX3:
                $insert["\x6a\x61\167\x61\142\x61\x6e"] = $v["\x6b\x75\156\x63\x69"];
                goto y5k7g;
                u7ae3:
                $insert["\x6f\x70\163\151\x5f\145"] = isset($v["\x6f\160\x73\151"]) && isset($v["\x6f\x70\163\151"]["\x45"]) ? $v["\157\x70\163\x69"]["\x45"] : '';
                goto bzWoe;
                ifGq9:
                array_push($baris, $header);
                goto HRQx2;
                zC0KH:
                $insert["\x6f\x70\x73\x69\137\x62"] = isset($v["\x6f\x70\x73\151"]) && isset($v["\x6f\160\x73\151"]["\x42"]) ? $v["\157\160\x73\x69"]["\102"] : '';
                goto SIynQ;
                EcUJR:
                if (!isset($v["\x6b\x75\156\x63\x69"])) {
                    goto LhoNT;
                }
                goto C3LOY;
                nn74o:
                zHNzp:
                goto JwVFU;
                Vq5mh:
                $insert["\x6a\141\167\x61\142\141\156"] = serialize($kuncis);
                goto M5eM9;
                AtzVh:
                $insert["\157\x70\x73\x69\137\141"] = serialize($opsis);
                goto Vq5mh;
                iTWmt:
                $isi_soal = isset($v["\x73\x6f\x61\x6c"]) ? $v["\x73\x6f\x61\154"] : '';
                goto QASxN;
                MpcTe:
                $arrKol = [];
                goto dfSfB;
                cFOhn:
                RIgVv:
                goto umKxA;
                QASxN:
                if (!($isi_soal != '')) {
                    goto trTMz;
                }
                goto UOCFW;
                ek0mn:
                goto mERbs;
                goto wH4pH;
                HUqPf:
                $jwb_jodohkan = ["\155\157\x64\145\x6c" => $jml_baris == $jml_kolom ? "\x31" : "\x32", "\164\x79\160\145" => $type, "\152\x61\167\141\x62\x61\156" => $baris];
                goto bFEMR;
                hL_Ss:
                $type = count($types) > 0 ? "\x31" : "\x32";
                goto s_RIn;
                umKxA:
                $types = [];
                goto nxVkP;
                HRQx2:
                $jwbnBaris = [];
                goto AVaPI;
                DmVWO:
                mERbs:
                goto TPquK;
                bmo8Q:
                KgWos:
                goto Yn0cr;
                UOCFW:
                $insert = ["\152\145\156\151\163" => $jenis, "\156\157\155\x6f\x72\137\163\x6f\x61\154" => $no, "\x73\157\141\x6c" => $isi_soal, "\146\x69\154\x65" => serialize([])];
                goto A5FhP;
                JwVFU:
                Hdwtx:
                goto aSsNa;
                VQXZp:
                if ($jenis == "\x33") {
                    goto R9mTF;
                }
                goto Rs0na;
                VEzVS:
                $kuncis = [];
                goto piJqv;
                lciSz:
                KZBsU:
                goto QeWOX;
                aSsNa:
                if (!isset($v["\x6b\165\156\x63\151"])) {
                    goto fJeR3;
                }
                goto fFcoz;
                HaHRe:
                $insert["\x6f\160\x73\x69\137\x61"] = isset($v["\157\160\163\x69"]) && isset($v["\157\x70\163\151"]["\x41"]) ? $v["\157\160\163\x69"]["\x41"] : '';
                goto zC0KH;
                KLG57:
                LhoNT:
                goto DmVWO;
                M5eM9:
                goto mERbs;
                goto crHDX;
                QeWOX:
                $opsis = [];
                goto VEzVS;
                pWT23:
                FWhMa:
                goto ifGq9;
                IO3NN:
                zOrfv:
                goto hL_Ss;
                bFEMR:
                $insert["\x6a\141\x77\141\142\141\x6e"] = serialize($jwb_jodohkan);
                goto ek0mn;
                crHDX:
                R9mTF:
                goto CU5Lg;
                A3J0A:
                $kolom = [];
                goto zbKVa;
                y5k7g:
                j0uSv:
                goto Ca3ec;
                bzWoe:
                $insert["\x6a\x61\167\141\142\x61\156"] = isset($v["\153\x75\156\x63\x69"]) && isset($v["\153\x75\156\143\x69"]["\166"]) ? $v["\x6b\x75\156\x63\x69"]["\x76"] : '';
                goto ugtJJ;
                s_RIn:
                $jml_baris = count($baris);
                goto B3nYc;
                AVaPI:
                foreach ($v["\142\141\x72\151\163"] as $kd_bar => $bar) {
                    goto O0Ev0;
                    TUnPe:
                    foreach ($kolom as $kk => $val) {
                        goto NU4Id;
                        YOr2T:
                        aNboR:
                        goto fDVRb;
                        N7_9W:
                        $match = in_array($kk, $arrKol[$kd_bar]);
                        goto YUHiY;
                        fDVRb:
                        hrKwj:
                        goto sIgGu;
                        NU4Id:
                        if (!($kd_bar != '' && $val != '' && isset($arrKol[$kd_bar]))) {
                            goto aNboR;
                        }
                        goto N7_9W;
                        YUHiY:
                        array_push($jwbn, $match ? "\61" : "\60");
                        goto YOr2T;
                        sIgGu:
                    }
                    goto fplG3;
                    gsd9m:
                    array_push($baris, $jwbn);
                    goto uNLVT;
                    f6QA_:
                    yjBQx:
                    goto TUnPe;
                    QvtAs:
                    GP7Fg:
                    goto sO_tD;
                    O0Ev0:
                    $jwbn = [];
                    goto a2e0q;
                    cymEM:
                    array_push($jwbn, $bar);
                    goto f6QA_;
                    k0YY_:
                    array_shift($jwbn);
                    goto NTORZ;
                    uNLVT:
                    WpKnS:
                    goto CUSOC;
                    us1KW:
                    if (!(count($jwbn) > 0)) {
                        goto WpKnS;
                    }
                    goto gsd9m;
                    NTORZ:
                    $jwbnBaris[$kd_bar] = $jwbn;
                    goto SXzbs;
                    CUSOC:
                    if (!($kd_bar != '')) {
                        goto JPU95;
                    }
                    goto k0YY_;
                    fplG3:
                    J7o0b:
                    goto us1KW;
                    SXzbs:
                    JPU95:
                    goto QvtAs;
                    a2e0q:
                    if (!($kd_bar != '')) {
                        goto yjBQx;
                    }
                    goto cymEM;
                    sO_tD:
                }
                goto cFOhn;
                Eo2ZJ:
                foreach ($v["\157\x70\163\151"] as $opsi => $jawaban) {
                    $opsis[strtolower($opsi)] = $jawaban;
                    czRyq:
                }
                goto nn74o;
                ugtJJ:
                goto mERbs;
                goto lciSz;
                zbKVa:
                $header = [];
                goto Ps0ij;
                VGC8N:
                trTMz:
                goto XW0ht;
                Ca3ec:
                goto mERbs;
                goto xCi8n;
                B3nYc:
                $jml_kolom = count($baris[0]);
                goto HUqPf;
                fFcoz:
                foreach ($v["\153\165\156\143\x69"] as $kunci => $jawaban) {
                    goto HULX6;
                    HULX6:
                    if (!($jawaban == "\166")) {
                        goto NHUGX;
                    }
                    goto eMtWt;
                    eMtWt:
                    $kuncis[] = strtolower($kunci);
                    goto aarXA;
                    aarXA:
                    NHUGX:
                    goto qosw3;
                    qosw3:
                    reIL1:
                    goto RC9by;
                    RC9by:
                }
                goto bmo8Q;
                A5FhP:
                if ($jenis == "\61") {
                    goto je3c1;
                }
                goto jkXyw;
                xCi8n:
                je3c1:
                goto HaHRe;
                XW0ht:
                IHK2T:
                goto YMfvb;
                jkXyw:
                if ($jenis == "\x32") {
                    goto KZBsU;
                }
                goto VQXZp;
                SIynQ:
                $insert["\157\160\x73\151\137\143"] = isset($v["\157\160\163\151"]) && isset($v["\x6f\x70\x73\x69"]["\103"]) ? $v["\157\x70\163\x69"]["\x43"] : '';
                goto mhM1I;
                mhM1I:
                $insert["\157\160\x73\x69\x5f\144"] = isset($v["\x6f\x70\x73\151"]) && isset($v["\x6f\160\x73\151"]["\104"]) ? $v["\x6f\160\163\x69"]["\x44"] : '';
                goto u7ae3;
                Yn0cr:
                fJeR3:
                goto AtzVh;
                Ps0ij:
                array_push($header, "\43");
                goto MpcTe;
                nxVkP:
                foreach ($jwbnBaris as $brs => $jml) {
                    goto UaK47;
                    lXDUe:
                    liBHL:
                    goto m072h;
                    T32n9:
                    array_push($types, "\143\x68\145\x63\153\142\157\170");
                    goto lXDUe;
                    UaK47:
                    $jmlType = array_count_values($jml);
                    goto GmMGN;
                    GmMGN:
                    if (!(isset($jmlType[1]) && $jmlType[1] > 1)) {
                        goto liBHL;
                    }
                    goto T32n9;
                    m072h:
                    VSTXE:
                    goto wLBTw;
                    wLBTw:
                }
                goto IO3NN;
                TPquK:
                $data_insert[] = $insert;
                goto VGC8N;
                rlWVw:
                if (!isset($v["\x6b\x75\156\143\151"])) {
                    goto j0uSv;
                }
                goto WxeX3;
                piJqv:
                if (!isset($v["\x6f\x70\x73\x69"])) {
                    goto Hdwtx;
                }
                goto Eo2ZJ;
                CU5Lg:
                $baris = [];
                goto A3J0A;
                dfSfB:
                foreach ($v["\153\x6f\154\x6f\x6d"] as $kd_kol => $kol) {
                    goto mYV5h;
                    PFS7g:
                    array_push($header, $kol);
                    goto ZueFD;
                    yNMa9:
                    jHIOG:
                    goto mGY05;
                    TXVRd:
                    if (!($kol != '')) {
                        goto NdGxJ;
                    }
                    goto PFS7g;
                    mGY05:
                    owHeT:
                    goto sbr8_;
                    mYV5h:
                    $kolom[$kd_kol] = $kol;
                    goto TXVRd;
                    ZueFD:
                    NdGxJ:
                    goto xEPh8;
                    xEPh8:
                    foreach ($v["\x6b\165\x6e\x63\151"] as $kd_bar => $kd_kol) {
                        goto qGmFe;
                        qGmFe:
                        if (!($kd_kol != '')) {
                            goto cGY7s;
                        }
                        goto cndFU;
                        j8wGj:
                        cGY7s:
                        goto FWMVj;
                        cndFU:
                        $arrKol[$kd_bar] = explode("\x2c", $kd_kol);
                        goto j8wGj;
                        FWMVj:
                        bFUzl:
                        goto g5mtb;
                        g5mtb:
                    }
                    goto yNMa9;
                    sbr8_:
                }
                goto pWT23;
                Rs0na:
                if ($jenis == "\64") {
                    goto vA3tE;
                }
                goto rlWVw;
                YMfvb:
            }
            goto gKG_z;
            Y0MqL:
        }
        goto uum28;
        PpZpl:
        $bank_id = $this->input->post("\x69\144\137\142\141\156\153", true);
        goto UAvdn;
        uIxIs:
        $inserted = [];
        goto pXYOl;
        Wg1X2:
        cBg0n:
        goto VHJKK;
        iBGhv:
        R90Lj:
        goto a0Uff;
        i339W:
        goto cBg0n;
        goto K5PzJ;
        VHJKK:
        $this->output_json($data);
        goto o1HhW;
        PC4NF:
        $data["\151\156\x73\145\x72\164"] = 0;
        goto i339W;
        xkXGC:
        $data["\x69\x6e\x73\145\162\x74"] = $this->db->insert_batch("\x63\x62\x74\137\163\157\x61\x6c", $inserted);
        goto fcbhJ;
        fcbhJ:
        TQAaA:
        goto Wg1X2;
        bB_Cq:
        oMOur:
        goto rDZAY;
        bQGlQ:
        foreach ($json as $jenis => $values) {
            goto tT13F;
            tT13F:
            $data_soal = [];
            goto vFL4c;
            GR1B_:
            q_tOL:
            goto QMvzb;
            vFL4c:
            foreach ($values as $val) {
                goto R00cB;
                gOkGo:
                if (!isset($val->OPSI)) {
                    goto WVdi1;
                }
                goto KnEqp;
                RQ5sN:
                NdtcF:
                goto mXcK1;
                mCvXz:
                ANJyl:
                goto ZdMOx;
                ZdMOx:
                dl6At:
                goto Aql4M;
                l2Zi1:
                if (!isset($val->KUNCI)) {
                    goto ANJyl;
                }
                goto kN2_o;
                wKFKr:
                $no = trim($val->NO);
                goto MquSJ;
                j1RPv:
                if (!isset($val->KD_BARIS)) {
                    goto dl6At;
                }
                goto y8my6;
                GiK9a:
                $data_soal[$no]["\153\165\156\x63\151"] = $val->KUNCI;
                goto RQ5sN;
                jygd0:
                BDhFA:
                goto ZuxaM;
                KnEqp:
                $data_soal[$no]["\157\x70\x73\151"][strtoupper($val->OPSI)] = $val->JAWABAN;
                goto EPyA4;
                uM3YN:
                VzXwM:
                goto L2YA4;
                qw6K9:
                if ($jenis == "\62") {
                    goto hIHUu;
                }
                goto yHgqh;
                j4zsP:
                DO3c_:
                goto b0w5L;
                mXcK1:
                goto UjAvM;
                goto jygd0;
                SHeJ5:
                $data_soal[$no]["\153\x75\x6e\x63\x69"][strtolower($val->KUNCI)] = strtoupper($val->OPSI);
                goto BdomO;
                XZ6aJ:
                $data_soal[$no]["\153\x6f\154\x6f\x6d"][strtoupper($val->KD_KOLOM)] = $val->KOLOM;
                goto b5YMv;
                yHgqh:
                if ($jenis == "\x33") {
                    goto w_LLs;
                }
                goto EJMAp;
                kN2_o:
                $data_soal[$no]["\x6b\165\156\x63\x69"][strtoupper($val->KD_KUNCI)] = strtoupper($val->KUNCI);
                goto mCvXz;
                L2YA4:
                Oa0NY:
                goto axBeC;
                MquSJ:
                if (!(isset($val->SOAL) && $val->SOAL != '')) {
                    goto kelC_;
                }
                goto hRLE6;
                b5YMv:
                Lz81N:
                goto MjfmX;
                eXABr:
                $data_soal[$no]["\x6f\x70\163\x69"][strtoupper($val->OPSI)] = $val->JAWABAN;
                goto Sr0kw;
                m6quM:
                goto UjAvM;
                goto TJI9P;
                Sr0kw:
                if (!(isset($val->KUNCI) && strtolower($val->KUNCI) == "\166")) {
                    goto JB_oO;
                }
                goto SHeJ5;
                MjfmX:
                UjAvM:
                goto uM3YN;
                EPyA4:
                if (!(isset($val->KUNCI) && strtolower($val->KUNCI) == "\x76")) {
                    goto lqiYA;
                }
                goto UQnuM;
                R00cB:
                if (!isset($val->NO)) {
                    goto VzXwM;
                }
                goto wKFKr;
                y8my6:
                $data_soal[$no]["\142\141\162\x69\x73"][strtoupper($val->KD_BARIS)] = $val->BARIS;
                goto l2Zi1;
                Aql4M:
                if (!isset($val->KD_KOLOM)) {
                    goto Lz81N;
                }
                goto XZ6aJ;
                Ota8h:
                hIHUu:
                goto gOkGo;
                b0w5L:
                goto UjAvM;
                goto Ota8h;
                XJ9Xg:
                WVdi1:
                goto m6quM;
                FEPiQ:
                kelC_:
                goto CMLhu;
                ZuxaM:
                if (!isset($val->OPSI)) {
                    goto DO3c_;
                }
                goto eXABr;
                EJMAp:
                if (!isset($val->KUNCI)) {
                    goto NdtcF;
                }
                goto GiK9a;
                BdomO:
                JB_oO:
                goto j4zsP;
                UQnuM:
                $data_soal[$no]["\x6b\165\x6e\x63\x69"][strtoupper($val->OPSI)] = strtolower($val->KUNCI);
                goto AByue;
                AByue:
                lqiYA:
                goto XJ9Xg;
                hRLE6:
                $data_soal[$no]["\x73\157\x61\154"] = $val->SOAL;
                goto FEPiQ;
                CMLhu:
                if ($jenis == "\61") {
                    goto BDhFA;
                }
                goto qw6K9;
                TJI9P:
                w_LLs:
                goto j1RPv;
                axBeC:
            }
            goto GR1B_;
            QMvzb:
            $datas[$jenis] = $data_soal;
            goto kLwNO;
            kLwNO:
            GKk7A:
            goto u1BxU;
            u1BxU:
        }
        goto bB_Cq;
        rDytc:
        $data["\152\163\157\156"] = $json;
        goto Ty5Zo;
        uYM2H:
        $json = json_decode($string);
        goto JjmZC;
        a0Uff:
        $data["\x64\141\x74\141\137\151\156\x73\145\162\164"] = $inserted;
        goto vK21N;
        uum28:
        mP64y:
        goto uIxIs;
        dxGhj:
        $this->db->where("\142\141\156\x6b\x5f\151\144", $bank_id);
        goto TQPHQ;
        aRN3G:
        $jml = [];
        goto bQGlQ;
        K5PzJ:
        eu7Ql:
        goto dxGhj;
        fGDof:
        foreach ($data_insert as $dins) {
            $inserted[] = ["\142\x61\156\153\137\x69\144" => $bank_id, "\152\145\x6e\151\163" => $dins["\x6a\145\x6e\x69\x73"], "\x6e\x6f\x6d\x6f\162\x5f\163\157\141\x6c" => $dins["\156\157\155\157\x72\137\x73\157\x61\x6c"], "\x73\x6f\x61\154" => $dins["\163\157\141\x6c"], "\x64\145\x73\x6b\162\x69\x70\163\x69" => '', "\153\x65\x73\165\154\x69\164\x61\156" => "\70", "\x74\x69\x6d\145\162" => "\60", "\x74\151\x6d\x65\162\x5f\x6d\145\x6e\151\164" => "\x30", "\146\151\154\145" => $dins["\x66\x69\x6c\x65"], "\x74\x61\x6d\x70\151\154\x6b\x61\156" => "\60", "\143\x72\145\141\x74\145\144\137\157\x6e" => time(), "\x75\160\x64\x61\x74\145\144\137\x6f\x6e" => time(), "\157\160\163\151\x5f\141" => isset($dins["\157\160\163\151\x5f\x61"]) ? $dins["\x6f\x70\163\151\137\141"] : '', "\157\160\163\x69\x5f\x62" => isset($dins["\x6f\160\x73\151\x5f\x62"]) ? $dins["\157\x70\163\x69\x5f\x62"] : '', "\157\x70\x73\151\137\143" => isset($dins["\157\x70\x73\x69\137\x63"]) ? $dins["\x6f\x70\163\x69\x5f\143"] : '', "\157\160\163\151\137\144" => isset($dins["\x6f\x70\163\x69\x5f\x64"]) ? $dins["\157\160\x73\151\137\144"] : '', "\157\160\x73\x69\137\x65" => isset($dins["\x6f\160\163\151\137\145"]) ? $dins["\x6f\160\163\x69\x5f\145"] : '', "\152\141\x77\141\x62\x61\x6e" => $dins["\x6a\x61\x77\141\x62\141\156"], "\x74\141\155\x70\x69\154\153\141\x6e" => $total_soal == $jml_seharusnya ? "\x31" : "\x30"];
            aELDm:
        }
        goto iBGhv;
        qhSQ5:
        $this->load->model("\x43\142\x74\137\155\x6f\144\x65\x6c", "\143\142\164");
        goto PpZpl;
        h9GPG:
        $bank = $this->cbt->getDataBankById($bank_id);
        goto cgile;
        rDZAY:
        $data_insert = [];
        goto nUFPY;
        TQPHQ:
        if (!$this->db->delete("\x63\x62\x74\x5f\163\x6f\x61\x6c")) {
            goto TQAaA;
        }
        goto xkXGC;
        vK21N:
        $data["\164\157\x74\x61\x6c"] = count($inserted);
        goto rDytc;
        JjmZC:
        $datas = [];
        goto aRN3G;
        UAvdn:
        $string = $this->input->post("\144\141\164\141", false);
        goto h9GPG;
        pXYOl:
        $total_soal = count($data_insert);
        goto fGDof;
        Ty5Zo:
        if (count($inserted) > 0) {
            goto eu7Ql;
        }
        goto PC4NF;
        o1HhW:
    }
    function uploadSoal()
    {
        goto dE0kO;
        rUUcj:
        $this->db->set("\x73\164\x61\164\165\x73\137\x73\x6f\x61\x6c", $status_soal);
        goto dJwZb;
        fyvE9:
        $tmpl["\63"] = $jml_sjod == $bank->tampil_jodohkan ? "\x31" : "\60";
        goto Hhes6;
        Hhes6:
        $tmpl["\64"] = $jml_siss == $bank->tampil_isian ? "\61" : "\60";
        goto nH05D;
        kgf10:
        $jml_spg2 = 0;
        goto ZGuiT;
        AYYdr:
        Q877B:
        goto LB51i;
        CAYiD:
        $data["\x69\156\x73\145\x72\164"] = 0;
        goto xU0yo;
        KUa9B:
        $jml_siss = 0;
        goto grdXB;
        dE0kO:
        $this->load->model("\x43\142\x74\x5f\155\157\144\145\154", "\x63\x62\164");
        goto FsZ40;
        gWnjJ:
        C6_6O:
        goto ZKt_M;
        IxXxw:
        eDgNj:
        goto AYYdr;
        w0CrT:
        $tmpl["\x31"] = $jml_spg1 == $bank->tampil_pg ? "\61" : "\x30";
        goto gNqh2;
        gNqh2:
        $tmpl["\62"] = $jml_spg2 == $bank->tampil_kompleks ? "\x31" : "\60";
        goto fyvE9;
        grdXB:
        $jml_sess = 0;
        goto J3Tqe;
        V8WBr:
        $status_soal = $tmpl["\61"] == "\61" && $tmpl["\x32"] == "\x31" && $tmpl["\x33"] == "\x31" && $tmpl["\x34"] == "\61" && $tmpl["\65"] == "\x31" ? "\x31" : "\x30";
        goto rUUcj;
        SFvaE:
        $inserted = [];
        goto utXow;
        LIxD7:
        if (count($inserted) > 0) {
            goto C6_6O;
        }
        goto CAYiD;
        gafus:
        $bank = $this->cbt->getDataBankById($bank_id);
        goto uN0EA;
        Qr30e:
        $data["\x64\x61\x74\x61\137\x69\156\x73\x65\x72\x74"] = $inserted;
        goto CW4bF;
        xU0yo:
        goto Q877B;
        goto gWnjJ;
        LB51i:
        if (!count($inserted)) {
            goto mKBnb;
        }
        goto V8WBr;
        C4RiH:
        if (!$this->db->delete("\143\142\x74\137\163\157\x61\154")) {
            goto eDgNj;
        }
        goto wgAV0;
        J3Tqe:
        $data_insert = [];
        goto rIfxw;
        utXow:
        $total_soal = count($data_insert);
        goto tXOYS;
        NIkCg:
        $data["\x73\x65\154\145\x73\141\151"] = $soal_updated;
        goto VFdWq;
        ZKt_M:
        $this->db->where("\142\x61\156\x6b\137\151\x64", $bank_id);
        goto C4RiH;
        CW4bF:
        $data["\164\x6f\x74\x61\x6c"] = count($inserted);
        goto LIxD7;
        nH05D:
        $tmpl["\65"] = $jml_sess == $bank->tampil_esai ? "\61" : "\60";
        goto SFvaE;
        fOnNv:
        $soal_updated = $this->db->update("\143\x62\x74\x5f\x62\141\156\x6b\137\x73\x6f\x61\154");
        goto NIkCg;
        DZiJo:
        SeM9c:
        goto w0CrT;
        rIfxw:
        foreach ($datas as $jenis => $nomor) {
            goto ltASp;
            NFAEJ:
            qWiiu:
            goto UfzYH;
            ltASp:
            foreach ($nomor as $no => $v) {
                goto WM3Hn;
                InWnZ:
                JCW9I:
                goto dBGSq;
                iCG4_:
                $jwb_jodohkan = ["\155\x6f\x64\145\x6c" => $jml_baris == $jml_kolom ? "\x31" : "\62", "\x74\171\x70\x65" => $type, "\152\141\167\141\x62\x61\156" => $baris];
                goto b722t;
                nAEWa:
                goto pMI2u;
                goto Ifg5J;
                W1URG:
                QYYiW:
                goto G32sk;
                pswxG:
                if ($jenis == 1) {
                    goto n0aO5;
                }
                goto sjaw2;
                cEaKN:
                u9v1g:
                goto pprcw;
                ja5gp:
                $jml_baris = count($baris);
                goto eeRKi;
                KC2pC:
                sSHzJ:
                goto hM3qJ;
                LkVBU:
                $jwbnBaris = [];
                goto N7hT0;
                d258T:
                if ($jenis == "\64") {
                    goto mv9DG;
                }
                goto TPtvU;
                Hhmmj:
                yUsm2:
                goto KC2pC;
                jhKdl:
                foreach ($v["\157\x70\x73\151"] as $opsi => $jawaban) {
                    $opsis[strtolower($opsi)] = rawurldecode($jawaban);
                    fh0t4:
                }
                goto FKwkQ;
                huk33:
                $data_insert[] = $insert;
                goto GYJb0;
                doCTu:
                goto pMI2u;
                goto A511j;
                L7Rh4:
                $kuncis = [];
                goto kl8s5;
                HN3qI:
                Qlilc:
                goto hF7dx;
                pyR1m:
                $insert = ["\x6a\145\156\151\x73" => $jenis, "\x6e\157\155\157\162\x5f\x73\157\141\x6c" => $no, "\163\x6f\x61\x6c" => $isi_soal, "\146\151\154\x65" => serialize([])];
                goto pswxG;
                EAER3:
                $insert["\157\160\x73\151\137\141"] = isset($v["\x6f\160\x73\151"]) && isset($v["\157\x70\163\151"]["\x41"]) ? rawurldecode($v["\x6f\x70\x73\151"]["\x41"]) : '';
                goto jii_e;
                D2o9R:
                $baris = [];
                goto odxwf;
                rgN3O:
                foreach ($v["\153\165\156\143\151"] as $jawaban) {
                    array_push($kuncis, strtolower($jawaban));
                    u3p2l:
                }
                goto Hhmmj;
                rW0XY:
                $jml_spg1++;
                goto yQzfD;
                SWcQL:
                $jml_sjod++;
                goto doCTu;
                sjaw2:
                if ($jenis == "\62") {
                    goto QYYiW;
                }
                goto QxVEY;
                R3mqd:
                $insert["\152\x61\167\x61\142\x61\156"] = isset($v["\x6b\x75\x6e\x63\151"]) && count($v["\153\165\x6e\143\151"]) > 0 ? $v["\x6b\165\x6e\143\x69"][0] : '';
                goto rW0XY;
                PgLw3:
                ZIAcE:
                goto vd94T;
                eq2no:
                $type = count($types) > 0 ? "\61" : "\62";
                goto ja5gp;
                hF7dx:
                if (!isset($v["\153\x75\x6e\x63\x69"])) {
                    goto sSHzJ;
                }
                goto rgN3O;
                st48e:
                $insert["\152\141\x77\x61\142\141\x6e"] = serialize($kuncis);
                goto ALa0G;
                FKwkQ:
                TXyNH:
                goto HN3qI;
                dBGSq:
                $jml_siss++;
                goto QOFqm;
                JzJJK:
                n0aO5:
                goto EAER3;
                Ifg5J:
                L2M1U:
                goto D2o9R;
                G32sk:
                $opsis = [];
                goto L7Rh4;
                vd94T:
                $jml_sess++;
                goto anuaR;
                X1gNs:
                $types = [];
                goto f1eqb;
                N7hT0:
                foreach ($v["\142\x61\x72\x69\x73"] as $kd_bar => $bar) {
                    goto fWzfJ;
                    SSO3c:
                    foreach ($kolom as $kk => $val) {
                        goto huHoB;
                        IvhnO:
                        $match = in_array($kk, $arrKol[$kd_bar]);
                        goto ulg81;
                        s8mzg:
                        oySL1:
                        goto ZZrXk;
                        huHoB:
                        if (!($kd_bar != '' && $val != '' && isset($arrKol[$kd_bar]))) {
                            goto BStkP;
                        }
                        goto IvhnO;
                        uFNnz:
                        BStkP:
                        goto s8mzg;
                        ulg81:
                        array_push($jwbn, $match ? "\x31" : "\60");
                        goto uFNnz;
                        ZZrXk:
                    }
                    goto YbzmX;
                    MWEXV:
                    array_push($baris, $jwbn);
                    goto G1Wdb;
                    v8cZd:
                    array_push($jwbn, $bar);
                    goto GVRBd;
                    q4gwP:
                    op4SA:
                    goto n5ZGL;
                    G1Wdb:
                    WZI4n:
                    goto lhFnL;
                    GVRBd:
                    emNdV:
                    goto SSO3c;
                    Vq5zU:
                    if (!($kd_bar != '')) {
                        goto emNdV;
                    }
                    goto v8cZd;
                    fWzfJ:
                    $jwbn = [];
                    goto Vq5zU;
                    XKOA0:
                    array_shift($jwbn);
                    goto DLPq8;
                    DLPq8:
                    $jwbnBaris[$kd_bar] = $jwbn;
                    goto q4gwP;
                    lhFnL:
                    if (!($kd_bar != '')) {
                        goto op4SA;
                    }
                    goto XKOA0;
                    YbzmX:
                    Y2IDh:
                    goto loCe8;
                    loCe8:
                    if (!(count($jwbn) > 0)) {
                        goto WZI4n;
                    }
                    goto MWEXV;
                    n5ZGL:
                    c0A3y:
                    goto aqKAU;
                    aqKAU:
                }
                goto EWp2S;
                T6qlV:
                $insert["\x6a\x61\x77\141\x62\141\156"] = strip_tags(rawurldecode($v["\153\165\156\143\x69"]));
                goto InWnZ;
                QOFqm:
                pMI2u:
                goto huk33;
                Nw7vN:
                if (!($isi_soal != '')) {
                    goto IFucQ;
                }
                goto pyR1m;
                TPtvU:
                if (!isset($v["\x6b\165\156\x63\151"])) {
                    goto ZIAcE;
                }
                goto t2Dje;
                EWp2S:
                S0q_x:
                goto X1gNs;
                ALa0G:
                $jml_spg2++;
                goto nAEWa;
                f1eqb:
                foreach ($jwbnBaris as $brs => $jml) {
                    goto qreET;
                    IFKT6:
                    if (!(isset($jmlType[1]) && $jmlType[1] > 1)) {
                        goto dOJh_;
                    }
                    goto PcbLQ;
                    PcbLQ:
                    array_push($types, "\x63\150\x65\143\x6b\142\x6f\x78");
                    goto inTkJ;
                    Ul4DX:
                    duem2:
                    goto UeVd8;
                    inTkJ:
                    dOJh_:
                    goto Ul4DX;
                    qreET:
                    $jmlType = array_count_values($jml);
                    goto IFKT6;
                    UeVd8:
                }
                goto ReH71;
                yAsow:
                $insert["\x6f\x70\163\151\x5f\x65"] = isset($v["\x6f\x70\x73\x69"]) && isset($v["\x6f\x70\163\151"]["\x45"]) ? rawurldecode($v["\157\x70\163\x69"]["\x45"]) : '';
                goto R3mqd;
                bzyN8:
                $header = [];
                goto btcAX;
                jIDTp:
                $arrKol = [];
                goto i0EWl;
                yQzfD:
                goto pMI2u;
                goto W1URG;
                wUemn:
                $insert["\157\160\163\151\137\x64"] = isset($v["\157\160\x73\x69"]) && isset($v["\x6f\x70\163\x69"]["\x44"]) ? rawurldecode($v["\x6f\x70\x73\x69"]["\x44"]) : '';
                goto yAsow;
                hM3qJ:
                $insert["\x6f\x70\x73\151\x5f\x61"] = serialize($opsis);
                goto st48e;
                kl8s5:
                if (!isset($v["\157\x70\x73\x69"])) {
                    goto Qlilc;
                }
                goto jhKdl;
                a6HHL:
                XW0rc:
                goto W990t;
                f_yGx:
                if (!isset($v["\x6b\165\x6e\x63\151"])) {
                    goto JCW9I;
                }
                goto T6qlV;
                eeRKi:
                $jml_kolom = count($baris[0]);
                goto iCG4_;
                b722t:
                $insert["\x6a\x61\x77\141\x62\141\156"] = serialize($jwb_jodohkan);
                goto SWcQL;
                jii_e:
                $insert["\157\160\x73\151\x5f\142"] = isset($v["\157\x70\163\151"]) && isset($v["\157\160\163\151"]["\x42"]) ? rawurldecode($v["\x6f\x70\x73\151"]["\x42"]) : '';
                goto Y9HtN;
                WM3Hn:
                $isi_soal = isset($v["\163\x6f\x61\154"]) ? rawurldecode($v["\x73\157\141\x6c"]) : '';
                goto Nw7vN;
                ReH71:
                RGMYG:
                goto eq2no;
                A511j:
                mv9DG:
                goto f_yGx;
                anuaR:
                goto pMI2u;
                goto JzJJK;
                btcAX:
                array_push($header, "\x23");
                goto jIDTp;
                W990t:
                array_push($baris, $header);
                goto LkVBU;
                i0EWl:
                foreach ($v["\x6b\157\154\157\155"] as $kd_kol => $kol) {
                    goto Q1Ge7;
                    Q1Ge7:
                    $kolom[$kd_kol] = $kol;
                    goto rGnU8;
                    KrOwj:
                    foreach ($v["\x6b\165\x6e\x63\x69"] as $kd_bar => $kd_kol) {
                        goto iMfOb;
                        iOVxI:
                        $arrKol[$kd_bar] = explode("\x2c", $kd_kol);
                        goto mUYbT;
                        uoc31:
                        mTeR3:
                        goto Zzikl;
                        iMfOb:
                        if (!($kd_kol != '')) {
                            goto vm9_X;
                        }
                        goto iOVxI;
                        mUYbT:
                        vm9_X:
                        goto uoc31;
                        Zzikl:
                    }
                    goto a7SgN;
                    zhMMk:
                    array_push($header, $kol);
                    goto N4Qyo;
                    N4Qyo:
                    dprOC:
                    goto KrOwj;
                    a7SgN:
                    oHHtl:
                    goto tiJcf;
                    rGnU8:
                    if (!($kol != '')) {
                        goto dprOC;
                    }
                    goto zhMMk;
                    tiJcf:
                    fYTh7:
                    goto evq5T;
                    evq5T:
                }
                goto a6HHL;
                Y9HtN:
                $insert["\x6f\x70\163\x69\x5f\x63"] = isset($v["\x6f\160\x73\151"]) && isset($v["\x6f\x70\163\151"]["\103"]) ? rawurldecode($v["\157\160\x73\x69"]["\x43"]) : '';
                goto wUemn;
                QxVEY:
                if ($jenis == "\x33") {
                    goto L2M1U;
                }
                goto d258T;
                odxwf:
                $kolom = [];
                goto bzyN8;
                GYJb0:
                IFucQ:
                goto cEaKN;
                t2Dje:
                $insert["\152\x61\167\141\142\x61\156"] = rawurldecode($v["\153\165\156\x63\151"]);
                goto PgLw3;
                pprcw:
            }
            goto S3tFW;
            S3tFW:
            wZUwl:
            goto NFAEJ;
            UfzYH:
        }
        goto DZiJo;
        VFdWq:
        mKBnb:
        goto Jpg0k;
        tXOYS:
        foreach ($data_insert as $dins) {
            $inserted[] = ["\142\141\156\x6b\137\x69\x64" => $bank_id, "\152\x65\x6e\x69\x73" => $dins["\x6a\x65\x6e\x69\163"], "\x6e\x6f\x6d\157\162\137\x73\x6f\141\154" => $dins["\x6e\157\x6d\157\x72\x5f\163\x6f\141\x6c"], "\163\x6f\x61\x6c" => $dins["\x73\x6f\x61\x6c"], "\144\145\x73\x6b\162\151\160\x73\151" => '', "\x6b\145\163\165\154\x69\164\x61\x6e" => "\x38", "\x74\x69\155\x65\162" => "\60", "\x74\151\155\x65\x72\x5f\155\x65\156\151\x74" => "\60", "\146\x69\x6c\145" => $dins["\146\x69\x6c\x65"], "\143\x72\145\141\164\145\144\x5f\x6f\156" => time(), "\165\160\x64\x61\164\145\x64\x5f\x6f\156" => time(), "\157\160\163\x69\137\141" => isset($dins["\157\160\163\x69\137\141"]) ? $dins["\157\160\163\x69\x5f\141"] : '', "\157\160\x73\151\x5f\x62" => isset($dins["\x6f\160\163\151\x5f\142"]) ? $dins["\157\x70\x73\x69\x5f\142"] : '', "\x6f\160\x73\151\137\143" => isset($dins["\x6f\160\163\151\x5f\143"]) ? $dins["\x6f\160\163\151\x5f\x63"] : '', "\157\x70\x73\151\137\x64" => isset($dins["\x6f\x70\x73\151\x5f\x64"]) ? $dins["\x6f\x70\163\151\137\x64"] : '', "\157\x70\x73\x69\x5f\x65" => isset($dins["\x6f\160\163\x69\x5f\x65"]) ? $dins["\157\x70\163\x69\137\145"] : '', "\152\141\167\x61\x62\141\x6e" => $dins["\x6a\141\x77\141\x62\x61\156"], "\164\141\x6d\160\151\x6c\153\141\x6e" => $tmpl[$dins["\x6a\145\x6e\x69\163"]]];
            koL8X:
        }
        goto QNf0K;
        Jpg0k:
        $this->output_json($data);
        goto vG9z_;
        QOqTr:
        $datas = $this->input->post("\163\x6f\141\x6c", false);
        goto gafus;
        FsZ40:
        $bank_id = $this->input->post("\151\x64\x5f\142\x61\156\153", true);
        goto QOqTr;
        wgAV0:
        $data["\151\x6e\163\x65\x72\164"] = $this->db->insert_batch("\x63\142\164\137\x73\x6f\x61\154", $inserted);
        goto IxXxw;
        ZGuiT:
        $jml_sjod = 0;
        goto KUa9B;
        uN0EA:
        $jml_spg1 = 0;
        goto kgf10;
        dJwZb:
        $this->db->where("\x69\x64\x5f\x62\x61\x6e\x6b", $bank_id);
        goto fOnNv;
        QNf0K:
        YxLt0:
        goto Qr30e;
        vG9z_:
    }

Function Calls

None

Variables

None

Stats

MD5 0e1e6db89581ffb49aa90cead2427fd1
Eval Count 0
Decode Time 152 ms