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

Signing you up...

Thank you for signing up!

PHP Decode

public function loadNomorSoal() { goto KcI5f; mmLzD: $ada_jawab = $soals[$s]->jaw..

Decoded Output download

<?   
 
     public function loadNomorSoal() { goto KcI5f; mmLzD: $ada_jawab = $soals[$s]->jawaban_siswa != null; goto KWkDv; FqF4j: $modal .= "</div>"; goto GfuF9; lfTop: $nomor = $this->input->post("nomor"); goto QmTcX; AR_YI: usort($opsis, function ($a, $b) { return $a["value"] <=> $b["value"]; }); goto RE_BN; rnYVR: $this->load->model("Cbt_model", "cbt"); goto BNqFe; z0aBu: $jawaban_siswa = $ada_jawab ? $item_soal->jawaban_siswa : json_decode(json_encode($item_soal->jawaban)); goto e9bJ8; g_RaR: if (!isset($jwbs["jawaban"])) { goto FkGcn; } goto YcYsu; Ow4h8: $test_loop = []; goto z2nZ5; WG2N9: $tbody = []; goto viy_9; ZuFfn: $opsis = [["valAlias" => $item_soal->opsi_alias_a, "opsi" => $item_soal->opsi_a, "value" => "A", "checked" => "A" === $jwbSiswa ? "checked" : ''], ["valAlias" => $item_soal->opsi_alias_b, "opsi" => $item_soal->opsi_b, "value" => "B", "checked" => "B" === $jwbSiswa ? "checked" : ''], ["valAlias" => $item_soal->opsi_alias_c, "opsi" => $item_soal->opsi_c, "value" => "C", "checked" => "C" === $jwbSiswa ? "checked" : ''], ["valAlias" => $item_soal->opsi_alias_d, "opsi" => $item_soal->opsi_d, "value" => "D", "checked" => "D" === $jwbSiswa ? "checked" : ''], ["valAlias" => $item_soal->opsi_alias_e, "opsi" => $item_soal->opsi_e, "value" => "E", "checked" => "E" === $jwbSiswa ? "checked" : '']]; goto Imqhd; mtt83: $id_soal_siswa = $siswa->id_siswa . "0" . $id_jadwal . $id_bank . $nomor; goto izV4w; bNZE5: if (!($s < count($soals))) { goto ogpwO; } goto mNwi5; z2nZ5: foreach ($soals as $key => $soal) { goto WY640; fKhPP: foreach ($arrKeys as $kkey => $akey) { goto AT52p; UKiRi: goto XxtGH; goto uCwZM; Bzh7M: $ada_jawaban3[] = "0"; goto UKiRi; AT52p: if (!($kkey > 0)) { goto lFUCV; } goto JSWR6; ezvWq: lFUCV: goto Btpra; cKTwI: $ada_jawaban3[] = $max_jawaban[$akey] > 0 && $tes_jawaban[$akey] > 0 ? "1" : "0"; goto dCQHV; JSWR6: $test_loop[$key + 1][$kkey] = "call foreach 2"; goto vDWiq; dCQHV: XxtGH: goto ezvWq; vDWiq: if (isset($max_jawaban[$akey]) && isset($tes_jawaban[$akey])) { goto RoEN5; } goto Bzh7M; uCwZM: RoEN5: goto cKTwI; Btpra: x27ZT: goto cDbDe; cDbDe: } goto i7P1B; ktyDP: $arrKeys = array_keys($max_jawaban); goto fKhPP; x5eTB: Al4RT: goto kMTa6; R0GL6: Te4gM: goto YyfFj; i7P1B: thy7j: goto KLAdp; KLAdp: $terjawab = in_array("1", $ada_jawaban3); goto t9wM6; yHPNE: if ($soal->jenis_soal === "3") { goto Z1NtJ; } goto rkCXh; xrFX8: iNvjK: goto jklTP; YyfFj: $max_jawaban = []; goto m0n45; lSIAO: $ada_jawaban3 = []; goto KPXgr; uGHhn: Ibpho: goto yHPNE; z62sQ: m7lBC: goto ktyDP; WY640: if ($soal->jawaban_siswa != null) { goto Ibpho; } goto gYKDm; zZ70k: Tdomx: goto GYOR7; PYHgX: goto LI5Y4; goto uGHhn; orie_: if (!$terjawab) { goto iNvjK; } goto BlB1f; rkCXh: $terjawab = $soal->jawaban_siswa != ''; goto BJ9Nm; t9wM6: icErJ: goto J1WTg; KPXgr: $tes_jawaban = []; goto oNSQJ; KwPsz: foreach ($jwbs["jawaban"] as $jwb) { goto Vn1Ua; gDh_Z: if (!($jwb[$i] == "1")) { goto kcUbN; } goto V7V_n; dsKZG: $i++; goto BXpId; tlbwj: eykSI: goto P4iGF; BXpId: goto bweWf; goto Jctaw; jMwcn: BWupN: goto dsKZG; tUPf6: bweWf: goto s5b9C; wErJw: kcUbN: goto jMwcn; V7V_n: $max_jawaban[$jwb[0]] += 1; goto wErJw; s5b9C: if (!($i < count($jwb))) { goto AuG90; } goto gDh_Z; Jctaw: AuG90: goto tlbwj; xTP4Z: $i = 1; goto tUPf6; Vn1Ua: $max_jawaban[$jwb[0]] = 0; goto xTP4Z; P4iGF: } goto TJQpr; BJ9Nm: goto tm8H4; goto nE30h; M1OU_: $modal .= "<div id="badge" . $soal->no_soal_alias . "" class="badge badge-pill badge-success border border-dark"" . " style="font-size:12pt; width: 30px; height: 30px; margin-top: -60px; margin-left: 30px;">" . $txt_badge . "</div>"; goto xrFX8; nE30h: Z1NtJ: goto lSIAO; GYOR7: foreach ($soal->jawaban_siswa->jawaban as $keyi => $jwbn_siswa) { goto HadcC; N7ER8: foreach ($jwbn_siswa as $keyj => $jwbn) { goto JGl63; WdSSx: rrG95: goto Wvwxx; Wvwxx: P0iSV: goto xofQq; xofQq: Zd9rY: goto g10Wh; JGl63: if (!($keyj > 0)) { goto P0iSV; } goto UTVWC; DTymk: $tes_jawaban[$jwbn_siswa[0]] += 1; goto WdSSx; UTVWC: if (!($jwbn !== "0")) { goto rrG95; } goto DTymk; g10Wh: } goto lNWMA; wOwIV: oyBSn: goto pS1aJ; pS1aJ: OKR0V: goto v3r6z; G2H2s: $test_loop[$key + 1][$keyi] = "call foreach 1"; goto lPsSd; lPsSd: $tes_jawaban[$jwbn_siswa[0]] = 0; goto N7ER8; HadcC: if (!($keyi > 0)) { goto oyBSn; } goto G2H2s; lNWMA: tWtra: goto wOwIV; v3r6z: } goto R0GL6; TJQpr: cPvGr: goto z62sQ; K2LBd: $selected = $nomor == $soal->no_soal_alias ? "active" : ''; goto iiUUa; J1WTg: tm8H4: goto UZb2i; jklTP: $modal .= "</div></div>"; goto x5eTB; iiUUa: $modal .= "<div class="mb-4">" . "<div id="box" . $soal->no_soal_alias . "" class="d-flex flex-column" style="width: 70px; height: 60px;">" . "<button id="btn" . $soal->no_soal_alias . "" class="btn btn-" . $color . " border border-dark " . $selected . "" " . "data-pos="" . $key . "" data-nomorsoal="" . $soal->no_soal_alias . "" " . "data-idsoal="" . $soal->id_soal . "" data-jenis="" . $soal->jenis_soal . "" " . "onclick="loadSoal(this)" " . "style="width: 50px; height: 50px;">" . "<span style="font-size: 14pt"><b>" . $soal->no_soal_alias . "</b></span>" . "</button>"; goto orie_; gYKDm: $terjawab = false; goto PYHgX; VPu3_: goto icErJ; goto zZ70k; m0n45: $jwbs = $soal->jawaban; goto QF8qU; nt_JX: $terjawab = false; goto VPu3_; BlB1f: $txt_badge = $soal->jenis_soal == "1" ? $soal->jawaban_alias : "&check;"; goto ox8CL; ox8CL: array_push($arrJawaban, $soal->jawaban_alias); goto M1OU_; Uv7c9: $color = !$terjawab ? "outline-secondary" : "primary"; goto K2LBd; oNSQJ: if (isset($soal->jawaban_siswa->jawaban)) { goto Tdomx; } goto nt_JX; QF8qU: if (!isset($jwbs["jawaban"])) { goto m7lBC; } goto KwPsz; UZb2i: LI5Y4: goto Uv7c9; kMTa6: } goto z2Lko; HNAsX: $data["soal_nomor"] = $item_soal->no_soal_alias; goto JRRpp; AbxQB: $modal = "<div class="d-flex flex-wrap justify-content-center grid-nomor-pg">"; goto Ow4h8; QmTcX: $timer = $this->input->post("timer"); goto cuhxi; aoPR9: if ($item_soal->jenis_soal == "3") { goto DNkDK; } goto SS61Y; rztII: kCZEj: goto bNZE5; AS2h5: $id_jadwal = $this->input->post("jadwal"); goto sxctR; LqNV6: $this->output_json($data); goto eQWlx; w5t_X: $ada_jawab = $item_soal->jawaban_siswa != null; goto z0aBu; zsYh2: qsMpA: goto JUuKU; sxctR: $id_bank = $this->input->post("bank"); goto lfTop; YG2os: $s = 0; goto rztII; TFXkR: $opsis = []; goto ZZjo8; MaIaQ: $jwbs = $item_soal->jawaban; goto g_RaR; ct_zc: $opsis = ["tabel" => isset($jwbs["jawaban"]) ? $jwbs["jawaban"] : [], "thead" => $theader, "tbody" => $tbody, "model" => isset($item_soal->jawaban["model"]) ? $item_soal->jawaban["model"] : "2", "type" => $item_soal->jawaban["type"]]; goto Bz4Zl; Alce3: if ($item_soal->jenis_soal == "1") { goto SSj3I; } goto TD2jI; C2C0J: CXWMI: goto ct_zc; o8s1o: $max_jawaban = []; goto Alce3; KcI5f: $this->load->model("Dashboard_model", "dashboard"); goto rnYVR; gnvPE: $s++; goto R5hPr; BNqFe: $id_siswa = $this->input->post("siswa"); goto AS2h5; ZpclF: $data["soal_total"] = count($soals); goto LrA12; z2Lko: nRGH5: goto FqF4j; Imqhd: usort($opsis, function ($a, $b) { return $a["valAlias"] <=> $b["valAlias"]; }); goto F5d2N; qGE5V: $jwbSiswa = $item_soal->jawaban_siswa != null ? $item_soal->jawaban_siswa : []; goto TFXkR; RE_BN: goto eB8LR; goto AVlWc; ICZVt: SSj3I: goto eXmfd; faBGg: $data["max_jawaban"] = $max_jawaban; goto XQSDm; Bz4Zl: eB8LR: goto cxmc8; ZZjo8: foreach ($item_soal->opsi_a as $key => $opsi) { goto Ic1xP; NRer2: mvkxv: goto nIC0l; Ic1xP: $item = ["opsi" => $opsi, "value" => $key, "checked" => in_array(strtoupper($key), $jwbSiswa) ? "checked="true"" : '']; goto BuTqA; BuTqA: array_push($opsis, $item); goto NRer2; nIC0l: } goto SlQtK; qTfRV: goto eB8LR; goto ICZVt; nBJEK: $max_jawaban = [count(array_filter(unserialize($item_soal->jawaban)))]; goto q4EXg; e9bJ8: $theader = []; goto WG2N9; eXmfd: $jwbSiswa = $item_soal->jawaban_siswa != null ? strtoupper($item_soal->jawaban_siswa) : ''; goto ZuFfn; F5d2N: goto eB8LR; goto QbFOs; q4EXg: $item_soal->opsi_a = unserialize($item_soal->opsi_a); goto liz5o; QbFOs: t4TeN: goto nBJEK; gciP3: $soals = $this->cbt->getALLSoalSiswa($id_bank, $siswa->id_siswa); goto YG2os; SlQtK: TLENS: goto AR_YI; liz5o: $item_soal->jawaban_siswa = unserialize($item_soal->jawaban_siswa); goto qGE5V; mNwi5: if (!($soals[$s]->jenis_soal == "3")) { goto qsMpA; } goto Wgq9Q; R5hPr: goto kCZEj; goto scOxH; SS61Y: $opsis = []; goto qTfRV; mZwPr: $smt = $this->dashboard->getSemesterActive(); goto L25X7; KvqUP: J3M9K: goto zsYh2; JUuKU: OfU1Y: goto gnvPE; jVWp2: $data["soal_opsi"] = json_decode(json_encode($opsis)); goto n93dG; XWFPr: $data["soal_akhir"] = $modal; goto LqNV6; HWV_0: $data["soal_soal"] = $item_soal->soal; goto jVWp2; GfuF9: $data["soal_modal"] = $modal; goto ZpclF; txSSA: FkGcn: goto w5t_X; XQSDm: $arrJawaban = []; goto AbxQB; KWkDv: if (!$ada_jawab) { goto J3M9K; } goto AYN2O; viy_9: if (!isset($jawaban_siswa->jawaban)) { goto CXWMI; } goto WDfxE; AVlWc: DNkDK: goto MaIaQ; scOxH: ogpwO: goto mtt83; cxmc8: $data["durasi"] = $durasi; goto PPSUK; WDfxE: foreach ($jawaban_siswa->jawaban as $key => $jawaban) { goto LXSW_; MIWr7: $theader = $jawaban; goto jBIqF; yXI54: $tbody[$key] = []; goto uIn0a; vqKQI: if ($ada_jawab) { goto kWuvn; } goto yXI54; mOAoW: e3ADC: goto MIWr7; LXSW_: if ($key === 0) { goto e3ADC; } goto vqKQI; jBIqF: JYguF: goto jkkda; dqTtf: goto Ccn9C; goto btCt3; uIn0a: foreach ($jawaban as $index => $nbaris) { goto tQwrr; yQlPk: array_push($tbody[$key], $nbaris); goto t6wE_; tQwrr: if ($index === 0) { goto s3gXT; } goto bOaLa; BI7z2: drVrl: goto Yyp9p; bOaLa: array_push($tbody[$key], ''); goto oSl4J; dcupR: s3gXT: goto yQlPk; t6wE_: RhSkP: goto BI7z2; oSl4J: goto RhSkP; goto dcupR; Yyp9p: } goto vnwUP; jjNDV: Ccn9C: goto MhSgV; btCt3: kWuvn: goto iOa7y; MhSgV: goto JYguF; goto mOAoW; vnwUP: dmD0c: goto dqTtf; jkkda: ba1xw: goto r8nt4; iOa7y: array_push($tbody, $jawaban); goto jjNDV; r8nt4: } goto hbefW; y7z1V: Y0A2s: goto txSSA; cuhxi: $durasi = $this->checkTimer($id_siswa, $id_jadwal); goto MOvcG; izV4w: $ind_soal = array_search($id_soal_siswa, array_column($soals, "id_soal_siswa")); goto BQ1Br; LrA12: $data["soal_terjawab"] = count($arrJawaban); goto XWFPr; n3Pyk: $data["soal_siswa_id"] = $item_soal->id_soal_siswa; goto HNAsX; Wgq9Q: $soals[$s]->jawaban = unserialize($soals[$s]->jawaban); goto mmLzD; MOvcG: $tp = $this->dashboard->getTahunActive(); goto mZwPr; TD2jI: if ($item_soal->jenis_soal == "2") { goto t4TeN; } goto aoPR9; gO5M0: $data["soal_jenis"] = $item_soal->jenis_soal; goto HWV_0; hbefW: CJVAX: goto C2C0J; YcYsu: foreach ($jwbs["jawaban"] as $jwb) { goto Z_0j3; m_E4G: if (!($jwb[$i] == "1")) { goto E7FGO; } goto CQnz2; CQnz2: $max_jawaban[$jwb[0]] += 1; goto Ppifo; tMd8N: goto m7Dl_; goto RzvNI; z292Q: $i++; goto tMd8N; OZQjR: m7Dl_: goto QBomo; xAg5_: $i = 1; goto OZQjR; tvGsh: pV3zx: goto hVFYI; fehyr: Liw0J: goto z292Q; QBomo: if (!($i < count($jwb))) { goto zTHor; } goto m_E4G; RzvNI: zTHor: goto tvGsh; Z_0j3: $max_jawaban[$jwb[0]] = 0; goto xAg5_; Ppifo: E7FGO: goto fehyr; hVFYI: } goto y7z1V; L25X7: $siswa = $this->cbt->getDataSiswaById($tp->id_tp, $smt->id_smt, $id_siswa); goto gciP3; nhHOw: $data["soal_id"] = $item_soal->id_soal; goto n3Pyk; JRRpp: $data["soal_nomor_asli"] = $item_soal->nomor_soal; goto gO5M0; BQ1Br: $item_soal = $soals[$ind_soal]; goto o8s1o; PPSUK: $data["timer"] = $timer; goto nhHOw; AYN2O: $soals[$s]->jawaban_siswa = unserialize($soals[$s]->jawaban_siswa); goto KvqUP; n93dG: $data["soal_jawaban_siswa"] = $item_soal->jawaban_siswa; goto faBGg; eQWlx: }  
 ?>

Did this file decode correctly?

Original Code



     public function loadNomorSoal() { goto KcI5f; mmLzD: $ada_jawab = $soals[$s]->jawaban_siswa != null; goto KWkDv; FqF4j: $modal .= "\x3c\57\x64\x69\x76\x3e"; goto GfuF9; lfTop: $nomor = $this->input->post("\156\x6f\x6d\x6f\x72"); goto QmTcX; AR_YI: usort($opsis, function ($a, $b) { return $a["\166\x61\154\165\x65"] <=> $b["\x76\x61\x6c\165\x65"]; }); goto RE_BN; rnYVR: $this->load->model("\x43\x62\164\137\155\x6f\x64\x65\154", "\x63\x62\x74"); goto BNqFe; z0aBu: $jawaban_siswa = $ada_jawab ? $item_soal->jawaban_siswa : json_decode(json_encode($item_soal->jawaban)); goto e9bJ8; g_RaR: if (!isset($jwbs["\x6a\x61\x77\141\142\141\x6e"])) { goto FkGcn; } goto YcYsu; Ow4h8: $test_loop = []; goto z2nZ5; WG2N9: $tbody = []; goto viy_9; ZuFfn: $opsis = [["\166\x61\x6c\101\154\x69\x61\x73" => $item_soal->opsi_alias_a, "\x6f\x70\x73\x69" => $item_soal->opsi_a, "\166\141\x6c\x75\x65" => "\x41", "\x63\150\145\x63\153\145\144" => "\x41" === $jwbSiswa ? "\x63\x68\145\x63\x6b\x65\x64" : ''], ["\166\141\154\x41\154\x69\141\163" => $item_soal->opsi_alias_b, "\x6f\160\163\x69" => $item_soal->opsi_b, "\166\x61\x6c\165\145" => "\x42", "\x63\x68\x65\143\x6b\145\144" => "\102" === $jwbSiswa ? "\x63\x68\x65\143\x6b\x65\144" : ''], ["\166\x61\154\101\x6c\x69\x61\163" => $item_soal->opsi_alias_c, "\157\x70\163\151" => $item_soal->opsi_c, "\166\x61\x6c\x75\x65" => "\x43", "\143\x68\x65\x63\x6b\x65\x64" => "\103" === $jwbSiswa ? "\x63\x68\x65\143\153\x65\x64" : ''], ["\x76\x61\x6c\101\x6c\x69\x61\163" => $item_soal->opsi_alias_d, "\x6f\x70\163\x69" => $item_soal->opsi_d, "\166\x61\154\x75\145" => "\x44", "\x63\150\x65\143\x6b\145\144" => "\x44" === $jwbSiswa ? "\143\x68\x65\x63\x6b\145\x64" : ''], ["\x76\x61\x6c\101\154\x69\141\x73" => $item_soal->opsi_alias_e, "\157\x70\163\x69" => $item_soal->opsi_e, "\166\x61\154\165\x65" => "\105", "\143\150\145\x63\x6b\x65\x64" => "\105" === $jwbSiswa ? "\143\x68\x65\143\153\x65\144" : '']]; goto Imqhd; mtt83: $id_soal_siswa = $siswa->id_siswa . "\x30" . $id_jadwal . $id_bank . $nomor; goto izV4w; bNZE5: if (!($s < count($soals))) { goto ogpwO; } goto mNwi5; z2nZ5: foreach ($soals as $key => $soal) { goto WY640; fKhPP: foreach ($arrKeys as $kkey => $akey) { goto AT52p; UKiRi: goto XxtGH; goto uCwZM; Bzh7M: $ada_jawaban3[] = "\60"; goto UKiRi; AT52p: if (!($kkey > 0)) { goto lFUCV; } goto JSWR6; ezvWq: lFUCV: goto Btpra; cKTwI: $ada_jawaban3[] = $max_jawaban[$akey] > 0 && $tes_jawaban[$akey] > 0 ? "\x31" : "\60"; goto dCQHV; JSWR6: $test_loop[$key + 1][$kkey] = "\143\141\154\x6c\40\x66\157\x72\x65\141\143\x68\x20\x32"; goto vDWiq; dCQHV: XxtGH: goto ezvWq; vDWiq: if (isset($max_jawaban[$akey]) && isset($tes_jawaban[$akey])) { goto RoEN5; } goto Bzh7M; uCwZM: RoEN5: goto cKTwI; Btpra: x27ZT: goto cDbDe; cDbDe: } goto i7P1B; ktyDP: $arrKeys = array_keys($max_jawaban); goto fKhPP; x5eTB: Al4RT: goto kMTa6; R0GL6: Te4gM: goto YyfFj; i7P1B: thy7j: goto KLAdp; KLAdp: $terjawab = in_array("\x31", $ada_jawaban3); goto t9wM6; yHPNE: if ($soal->jenis_soal === "\x33") { goto Z1NtJ; } goto rkCXh; xrFX8: iNvjK: goto jklTP; YyfFj: $max_jawaban = []; goto m0n45; lSIAO: $ada_jawaban3 = []; goto KPXgr; uGHhn: Ibpho: goto yHPNE; z62sQ: m7lBC: goto ktyDP; WY640: if ($soal->jawaban_siswa != null) { goto Ibpho; } goto gYKDm; zZ70k: Tdomx: goto GYOR7; PYHgX: goto LI5Y4; goto uGHhn; orie_: if (!$terjawab) { goto iNvjK; } goto BlB1f; rkCXh: $terjawab = $soal->jawaban_siswa != ''; goto BJ9Nm; t9wM6: icErJ: goto J1WTg; KPXgr: $tes_jawaban = []; goto oNSQJ; KwPsz: foreach ($jwbs["\x6a\141\x77\x61\x62\141\156"] as $jwb) { goto Vn1Ua; gDh_Z: if (!($jwb[$i] == "\x31")) { goto kcUbN; } goto V7V_n; dsKZG: $i++; goto BXpId; tlbwj: eykSI: goto P4iGF; BXpId: goto bweWf; goto Jctaw; jMwcn: BWupN: goto dsKZG; tUPf6: bweWf: goto s5b9C; wErJw: kcUbN: goto jMwcn; V7V_n: $max_jawaban[$jwb[0]] += 1; goto wErJw; s5b9C: if (!($i < count($jwb))) { goto AuG90; } goto gDh_Z; Jctaw: AuG90: goto tlbwj; xTP4Z: $i = 1; goto tUPf6; Vn1Ua: $max_jawaban[$jwb[0]] = 0; goto xTP4Z; P4iGF: } goto TJQpr; BJ9Nm: goto tm8H4; goto nE30h; M1OU_: $modal .= "\74\x64\151\166\x20\151\144\75\x22\142\141\x64\x67\x65" . $soal->no_soal_alias . "\x22\x20\x63\x6c\x61\x73\x73\75\x22\142\x61\x64\147\x65\40\142\141\144\x67\145\x2d\160\x69\x6c\x6c\x20\x62\141\x64\x67\145\55\163\165\143\x63\145\x73\163\x20\x62\x6f\162\x64\145\162\40\x62\157\162\144\145\162\55\144\x61\x72\x6b\x22" . "\x20\x73\164\171\154\x65\75\42\x66\157\x6e\164\x2d\163\x69\x7a\x65\72\61\x32\x70\x74\x3b\40\167\x69\144\x74\x68\72\40\63\x30\160\170\x3b\x20\150\145\151\147\x68\x74\72\40\63\x30\x70\x78\x3b\40\x6d\141\x72\x67\151\156\55\x74\157\x70\72\x20\x2d\66\x30\x70\170\x3b\x20\155\141\x72\147\x69\156\55\154\x65\146\164\x3a\40\63\x30\x70\170\73\x22\76" . $txt_badge . "\74\57\144\151\166\76"; goto xrFX8; nE30h: Z1NtJ: goto lSIAO; GYOR7: foreach ($soal->jawaban_siswa->jawaban as $keyi => $jwbn_siswa) { goto HadcC; N7ER8: foreach ($jwbn_siswa as $keyj => $jwbn) { goto JGl63; WdSSx: rrG95: goto Wvwxx; Wvwxx: P0iSV: goto xofQq; xofQq: Zd9rY: goto g10Wh; JGl63: if (!($keyj > 0)) { goto P0iSV; } goto UTVWC; DTymk: $tes_jawaban[$jwbn_siswa[0]] += 1; goto WdSSx; UTVWC: if (!($jwbn !== "\60")) { goto rrG95; } goto DTymk; g10Wh: } goto lNWMA; wOwIV: oyBSn: goto pS1aJ; pS1aJ: OKR0V: goto v3r6z; G2H2s: $test_loop[$key + 1][$keyi] = "\x63\141\x6c\x6c\40\146\157\162\x65\x61\143\150\40\61"; goto lPsSd; lPsSd: $tes_jawaban[$jwbn_siswa[0]] = 0; goto N7ER8; HadcC: if (!($keyi > 0)) { goto oyBSn; } goto G2H2s; lNWMA: tWtra: goto wOwIV; v3r6z: } goto R0GL6; TJQpr: cPvGr: goto z62sQ; K2LBd: $selected = $nomor == $soal->no_soal_alias ? "\141\x63\164\x69\166\x65" : ''; goto iiUUa; J1WTg: tm8H4: goto UZb2i; jklTP: $modal .= "\74\57\144\151\x76\76\x3c\x2f\144\151\166\x3e"; goto x5eTB; iiUUa: $modal .= "\74\144\x69\166\40\x63\154\141\x73\x73\x3d\42\x6d\x62\x2d\x34\42\76" . "\74\144\x69\166\40\x69\144\75\42\142\157\x78" . $soal->no_soal_alias . "\x22\40\143\154\141\x73\x73\x3d\42\x64\x2d\146\x6c\x65\170\40\x66\x6c\x65\170\55\143\x6f\x6c\x75\x6d\156\42\40\163\x74\x79\x6c\x65\x3d\42\x77\x69\144\x74\150\72\x20\67\60\160\x78\73\40\x68\x65\x69\147\150\164\72\x20\x36\x30\160\x78\x3b\x22\x3e" . "\74\142\165\164\x74\x6f\156\x20\x69\144\x3d\x22\142\164\156" . $soal->no_soal_alias . "\x22\x20\143\154\141\x73\163\75\x22\142\x74\x6e\40\x62\164\156\55" . $color . "\40\142\x6f\162\x64\x65\162\x20\142\x6f\x72\144\145\162\55\x64\x61\162\x6b\x20" . $selected . "\x22\40" . "\x64\x61\x74\x61\x2d\x70\x6f\163\x3d\42" . $key . "\42\40\144\x61\164\x61\x2d\x6e\157\155\x6f\162\163\x6f\141\154\x3d\x22" . $soal->no_soal_alias . "\x22\40" . "\144\x61\164\x61\55\151\x64\x73\x6f\x61\x6c\75\x22" . $soal->id_soal . "\x22\x20\144\x61\164\x61\x2d\x6a\145\x6e\151\x73\75\x22" . $soal->jenis_soal . "\x22\40" . "\x6f\156\143\154\x69\x63\153\75\42\154\157\x61\x64\123\157\141\x6c\50\164\150\x69\x73\x29\x22\x20" . "\x73\164\171\154\145\x3d\42\x77\151\144\164\x68\x3a\40\65\x30\x70\x78\73\40\x68\145\151\147\x68\164\72\x20\x35\60\x70\x78\x3b\42\x3e" . "\74\163\x70\141\x6e\x20\x73\164\x79\x6c\x65\x3d\42\x66\x6f\156\164\55\x73\151\172\145\x3a\40\61\64\x70\x74\42\76\74\142\x3e" . $soal->no_soal_alias . "\x3c\57\142\76\x3c\57\x73\160\x61\x6e\76" . "\x3c\57\142\165\x74\x74\x6f\156\76"; goto orie_; gYKDm: $terjawab = false; goto PYHgX; VPu3_: goto icErJ; goto zZ70k; m0n45: $jwbs = $soal->jawaban; goto QF8qU; nt_JX: $terjawab = false; goto VPu3_; BlB1f: $txt_badge = $soal->jenis_soal == "\61" ? $soal->jawaban_alias : "\46\x63\150\145\x63\153\x3b"; goto ox8CL; ox8CL: array_push($arrJawaban, $soal->jawaban_alias); goto M1OU_; Uv7c9: $color = !$terjawab ? "\x6f\x75\164\154\x69\156\x65\55\x73\x65\x63\157\x6e\144\141\x72\171" : "\x70\162\x69\x6d\x61\162\x79"; goto K2LBd; oNSQJ: if (isset($soal->jawaban_siswa->jawaban)) { goto Tdomx; } goto nt_JX; QF8qU: if (!isset($jwbs["\152\x61\x77\x61\142\x61\156"])) { goto m7lBC; } goto KwPsz; UZb2i: LI5Y4: goto Uv7c9; kMTa6: } goto z2Lko; HNAsX: $data["\x73\x6f\x61\x6c\137\x6e\x6f\155\157\162"] = $item_soal->no_soal_alias; goto JRRpp; AbxQB: $modal = "\x3c\144\x69\166\x20\x63\154\141\x73\x73\x3d\x22\x64\55\x66\x6c\x65\170\x20\146\154\145\170\x2d\x77\162\x61\x70\40\152\x75\163\x74\151\x66\171\55\x63\x6f\156\164\x65\156\x74\x2d\143\145\x6e\x74\x65\162\40\x67\x72\151\x64\x2d\156\157\x6d\157\162\55\x70\x67\42\x3e"; goto Ow4h8; QmTcX: $timer = $this->input->post("\x74\151\x6d\145\162"); goto cuhxi; aoPR9: if ($item_soal->jenis_soal == "\63") { goto DNkDK; } goto SS61Y; rztII: kCZEj: goto bNZE5; AS2h5: $id_jadwal = $this->input->post("\152\141\x64\167\x61\x6c"); goto sxctR; LqNV6: $this->output_json($data); goto eQWlx; w5t_X: $ada_jawab = $item_soal->jawaban_siswa != null; goto z0aBu; zsYh2: qsMpA: goto JUuKU; sxctR: $id_bank = $this->input->post("\142\x61\x6e\x6b"); goto lfTop; YG2os: $s = 0; goto rztII; TFXkR: $opsis = []; goto ZZjo8; MaIaQ: $jwbs = $item_soal->jawaban; goto g_RaR; ct_zc: $opsis = ["\164\141\x62\145\154" => isset($jwbs["\x6a\x61\167\141\142\141\156"]) ? $jwbs["\152\x61\x77\141\x62\x61\x6e"] : [], "\164\x68\145\141\x64" => $theader, "\x74\142\x6f\x64\x79" => $tbody, "\155\157\x64\145\x6c" => isset($item_soal->jawaban["\x6d\157\x64\145\154"]) ? $item_soal->jawaban["\x6d\x6f\144\145\154"] : "\62", "\x74\171\160\x65" => $item_soal->jawaban["\164\171\x70\x65"]]; goto Bz4Zl; Alce3: if ($item_soal->jenis_soal == "\x31") { goto SSj3I; } goto TD2jI; C2C0J: CXWMI: goto ct_zc; o8s1o: $max_jawaban = []; goto Alce3; KcI5f: $this->load->model("\x44\141\x73\x68\x62\x6f\141\162\x64\x5f\155\157\144\x65\x6c", "\x64\141\163\150\142\157\x61\x72\x64"); goto rnYVR; gnvPE: $s++; goto R5hPr; BNqFe: $id_siswa = $this->input->post("\x73\x69\163\167\x61"); goto AS2h5; ZpclF: $data["\163\x6f\x61\x6c\137\164\157\x74\x61\x6c"] = count($soals); goto LrA12; z2Lko: nRGH5: goto FqF4j; Imqhd: usort($opsis, function ($a, $b) { return $a["\166\141\x6c\x41\154\x69\x61\163"] <=> $b["\166\141\154\101\x6c\151\x61\163"]; }); goto F5d2N; qGE5V: $jwbSiswa = $item_soal->jawaban_siswa != null ? $item_soal->jawaban_siswa : []; goto TFXkR; RE_BN: goto eB8LR; goto AVlWc; ICZVt: SSj3I: goto eXmfd; faBGg: $data["\155\x61\170\137\152\141\x77\141\x62\141\156"] = $max_jawaban; goto XQSDm; Bz4Zl: eB8LR: goto cxmc8; ZZjo8: foreach ($item_soal->opsi_a as $key => $opsi) { goto Ic1xP; NRer2: mvkxv: goto nIC0l; Ic1xP: $item = ["\157\160\163\x69" => $opsi, "\166\141\x6c\x75\x65" => $key, "\143\x68\x65\x63\153\x65\144" => in_array(strtoupper($key), $jwbSiswa) ? "\143\150\145\x63\153\145\x64\x3d\x22\164\162\165\x65\x22" : '']; goto BuTqA; BuTqA: array_push($opsis, $item); goto NRer2; nIC0l: } goto SlQtK; qTfRV: goto eB8LR; goto ICZVt; nBJEK: $max_jawaban = [count(array_filter(unserialize($item_soal->jawaban)))]; goto q4EXg; e9bJ8: $theader = []; goto WG2N9; eXmfd: $jwbSiswa = $item_soal->jawaban_siswa != null ? strtoupper($item_soal->jawaban_siswa) : ''; goto ZuFfn; F5d2N: goto eB8LR; goto QbFOs; q4EXg: $item_soal->opsi_a = unserialize($item_soal->opsi_a); goto liz5o; QbFOs: t4TeN: goto nBJEK; gciP3: $soals = $this->cbt->getALLSoalSiswa($id_bank, $siswa->id_siswa); goto YG2os; SlQtK: TLENS: goto AR_YI; liz5o: $item_soal->jawaban_siswa = unserialize($item_soal->jawaban_siswa); goto qGE5V; mNwi5: if (!($soals[$s]->jenis_soal == "\x33")) { goto qsMpA; } goto Wgq9Q; R5hPr: goto kCZEj; goto scOxH; SS61Y: $opsis = []; goto qTfRV; mZwPr: $smt = $this->dashboard->getSemesterActive(); goto L25X7; KvqUP: J3M9K: goto zsYh2; JUuKU: OfU1Y: goto gnvPE; jVWp2: $data["\163\157\141\154\x5f\157\160\x73\151"] = json_decode(json_encode($opsis)); goto n93dG; XWFPr: $data["\163\x6f\141\154\137\141\153\x68\x69\x72"] = $modal; goto LqNV6; HWV_0: $data["\163\157\141\154\x5f\163\157\141\154"] = $item_soal->soal; goto jVWp2; GfuF9: $data["\x73\x6f\141\x6c\137\x6d\157\x64\x61\x6c"] = $modal; goto ZpclF; txSSA: FkGcn: goto w5t_X; XQSDm: $arrJawaban = []; goto AbxQB; KWkDv: if (!$ada_jawab) { goto J3M9K; } goto AYN2O; viy_9: if (!isset($jawaban_siswa->jawaban)) { goto CXWMI; } goto WDfxE; AVlWc: DNkDK: goto MaIaQ; scOxH: ogpwO: goto mtt83; cxmc8: $data["\x64\x75\x72\141\x73\x69"] = $durasi; goto PPSUK; WDfxE: foreach ($jawaban_siswa->jawaban as $key => $jawaban) { goto LXSW_; MIWr7: $theader = $jawaban; goto jBIqF; yXI54: $tbody[$key] = []; goto uIn0a; vqKQI: if ($ada_jawab) { goto kWuvn; } goto yXI54; mOAoW: e3ADC: goto MIWr7; LXSW_: if ($key === 0) { goto e3ADC; } goto vqKQI; jBIqF: JYguF: goto jkkda; dqTtf: goto Ccn9C; goto btCt3; uIn0a: foreach ($jawaban as $index => $nbaris) { goto tQwrr; yQlPk: array_push($tbody[$key], $nbaris); goto t6wE_; tQwrr: if ($index === 0) { goto s3gXT; } goto bOaLa; BI7z2: drVrl: goto Yyp9p; bOaLa: array_push($tbody[$key], ''); goto oSl4J; dcupR: s3gXT: goto yQlPk; t6wE_: RhSkP: goto BI7z2; oSl4J: goto RhSkP; goto dcupR; Yyp9p: } goto vnwUP; jjNDV: Ccn9C: goto MhSgV; btCt3: kWuvn: goto iOa7y; MhSgV: goto JYguF; goto mOAoW; vnwUP: dmD0c: goto dqTtf; jkkda: ba1xw: goto r8nt4; iOa7y: array_push($tbody, $jawaban); goto jjNDV; r8nt4: } goto hbefW; y7z1V: Y0A2s: goto txSSA; cuhxi: $durasi = $this->checkTimer($id_siswa, $id_jadwal); goto MOvcG; izV4w: $ind_soal = array_search($id_soal_siswa, array_column($soals, "\151\x64\x5f\163\x6f\x61\x6c\137\x73\151\163\x77\x61")); goto BQ1Br; LrA12: $data["\x73\157\141\154\137\164\145\x72\x6a\141\x77\x61\142"] = count($arrJawaban); goto XWFPr; n3Pyk: $data["\x73\157\x61\154\137\x73\151\163\x77\141\137\151\x64"] = $item_soal->id_soal_siswa; goto HNAsX; Wgq9Q: $soals[$s]->jawaban = unserialize($soals[$s]->jawaban); goto mmLzD; MOvcG: $tp = $this->dashboard->getTahunActive(); goto mZwPr; TD2jI: if ($item_soal->jenis_soal == "\x32") { goto t4TeN; } goto aoPR9; gO5M0: $data["\x73\157\x61\154\x5f\152\x65\x6e\x69\163"] = $item_soal->jenis_soal; goto HWV_0; hbefW: CJVAX: goto C2C0J; YcYsu: foreach ($jwbs["\152\141\167\141\142\141\156"] as $jwb) { goto Z_0j3; m_E4G: if (!($jwb[$i] == "\x31")) { goto E7FGO; } goto CQnz2; CQnz2: $max_jawaban[$jwb[0]] += 1; goto Ppifo; tMd8N: goto m7Dl_; goto RzvNI; z292Q: $i++; goto tMd8N; OZQjR: m7Dl_: goto QBomo; xAg5_: $i = 1; goto OZQjR; tvGsh: pV3zx: goto hVFYI; fehyr: Liw0J: goto z292Q; QBomo: if (!($i < count($jwb))) { goto zTHor; } goto m_E4G; RzvNI: zTHor: goto tvGsh; Z_0j3: $max_jawaban[$jwb[0]] = 0; goto xAg5_; Ppifo: E7FGO: goto fehyr; hVFYI: } goto y7z1V; L25X7: $siswa = $this->cbt->getDataSiswaById($tp->id_tp, $smt->id_smt, $id_siswa); goto gciP3; nhHOw: $data["\163\157\141\x6c\x5f\x69\144"] = $item_soal->id_soal; goto n3Pyk; JRRpp: $data["\x73\x6f\x61\x6c\x5f\156\x6f\155\x6f\x72\137\141\163\x6c\x69"] = $item_soal->nomor_soal; goto gO5M0; BQ1Br: $item_soal = $soals[$ind_soal]; goto o8s1o; PPSUK: $data["\164\151\x6d\145\162"] = $timer; goto nhHOw; AYN2O: $soals[$s]->jawaban_siswa = unserialize($soals[$s]->jawaban_siswa); goto KvqUP; n93dG: $data["\x73\x6f\x61\x6c\x5f\152\x61\x77\x61\142\141\x6e\137\163\151\163\x77\x61"] = $item_soal->jawaban_siswa; goto faBGg; eQWlx: } 

Function Calls

None

Variables

None

Stats

MD5 075669869214bb2fd38542bc9866a7aa
Eval Count 0
Decode Time 76 ms