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

Signing you up...

Thank you for signing up!

PHP Decode

<?php /* ________________________________________ | GarudaCBT ..

Decoded Output download

<?php 
/*   ________________________________________ 
    |                 GarudaCBT              | 
    |    https://github.com/garudacbt/cbt    | 
    |________________________________________| 
*/ 
 class Cbtnilai extends CI_Controller { public function __construct() { goto hyD_g; y7352: $this->load->library(["datatables", "form_validation"]); goto l7yNM; l7yNM: $this->load->library("upload"); goto s8wmI; nAAyG: Lo6vZ: goto y7352; FXKlF: if (!$this->ion_auth->logged_in()) { goto YWAAe; } goto paxa7; yYv4T: OZOX1: goto wseTA; wseTA: goto Lo6vZ; goto wVSk7; wVSk7: YWAAe: goto J8aye; paxa7: if (!(!$this->ion_auth->is_admin() && !$this->ion_auth->in_group("guru"))) { goto OZOX1; } goto mFp_T; s8wmI: $this->form_validation->set_error_delimiters('', ''); goto G5W3e; hyD_g: parent::__construct(); goto FXKlF; J8aye: redirect("auth"); goto nAAyG; mFp_T: show_error("Hanya Administrator yang diberi hak untuk mengakses halaman ini, <a href="" . base_url("dashboard") . "">Kembali ke menu awal</a>", 403, "Akses Terlarang"); goto yYv4T; G5W3e: } public function output_json($data, $encode = true) { goto mk68f; B21Ed: $data = json_encode($data); goto d97YL; d97YL: v3Uj8: goto C6lav; mk68f: if (!$encode) { goto v3Uj8; } goto B21Ed; C6lav: $this->output->set_content_type("application/json")->set_output($data); goto kaURv; kaURv: } public function index() { goto ecgqh; EczMr: $data = ["user" => $user, "judul" => "Hasil Ujian Siswa", "subjudul" => "Nilai Siswa", "setting" => $this->dashboard->getSetting()]; goto ecDO8; xRTWU: $user = $this->ion_auth->user()->row(); goto kaFBu; abuHR: $data["smt"] = $this->dashboard->getSemester(); goto CjYBe; sPa34: $jawabans = $this->cbt->getJawabanSiswaByJadwal($jadwal_selected, $ids); goto tgY9f; csLHN: $guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto v8f_u; he8p4: foreach ($jawabans as $jawaban_siswa) { goto GEw0e; NjehS: xWmiD: goto QHLp3; aCCoi: $soal[$jawaban_siswa->jenis_soal][] = $jawaban_siswa; goto NjehS; Pii_o: if (!($jawaban_siswa->jenis_soal == "3")) { goto frlGk; } goto pSU2b; s9wQ0: $jawaban_siswa->jawaban = json_decode(json_encode($jawaban_siswa->jawaban)); goto WM3DO; WM3DO: frlGk: goto lIOKU; FnFx2: $jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar); goto FMTQS; tzzge: $jawaban_siswa->opsi_a = @unserialize($jawaban_siswa->opsi_a); goto fnLBe; stCzV: $jawaban_siswa->jawaban = @unserialize($jawaban_siswa->jawaban); goto t1Nji; fnLBe: $jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa); goto KxomB; WLC7V: $jawaban_siswa->jawaban_benar = array_filter($jawaban_siswa->jawaban_benar, "strlen"); goto HPP4_; lIOKU: $jawabans_siswa[$jawaban_siswa->id_siswa][$jawaban_siswa->jenis_soal][] = $jawaban_siswa; goto aCCoi; sQpC3: $jawaban_siswa->jawaban_benar = json_decode(json_encode($jawaban_siswa->jawaban_benar)); goto s9wQ0; UQMa7: Ewum7: goto Pii_o; t1Nji: $jawaban_siswa->jawaban_benar = array_map("strtoupper", $jawaban_siswa->jawaban_benar); goto DnlvJ; FMTQS: $jawaban_siswa->jawaban = @unserialize($jawaban_siswa->jawaban); goto R3RAV; KxomB: $jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar); goto stCzV; R3RAV: $jawaban_siswa->jawaban_siswa = json_decode(json_encode($jawaban_siswa->jawaban_siswa)); goto sQpC3; GEw0e: if (!($jawaban_siswa->jenis_soal == "2")) { goto Ewum7; } goto tzzge; pSU2b: $jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa); goto FnFx2; DnlvJ: $jawaban_siswa->jawaban = array_map("strtoupper", $jawaban_siswa->jawaban); goto WLC7V; HPP4_: $jawaban_siswa->jawaban = array_filter($jawaban_siswa->jawaban, "strlen"); goto UQMa7; QHLp3: } goto zES1a; zES1a: b__k7: goto h03v5; Oy3Ei: $data["profile"] = $this->dashboard->getProfileAdmin($user->id); goto oj9R6; FtqGS: $siswas = $this->cbt->getSiswaByKelas($tp->id_tp, $smt->id_smt, $kelas_selected); goto X4_T0; h03v5: $durasies = $this->cbt->getDurasiSiswaByJadwal($jadwal_selected); goto MwD98; ecgqh: $this->load->model("Dashboard_model", "dashboard"); goto eJqIb; SNTCI: $kelas_bank = unserialize($info->bank_kelas); goto Ml0wm; T0vcB: $data["siswas"] = []; goto BnCsp; Y7CTo: if ($this->ion_auth->in_group("guru")) { goto w5Pgj; } goto ZhX66; V8yIO: $this->load->view("cbt/nilai/data"); goto Z_FY2; poMHY: vNIez: goto tah5z; rs0cv: cv_C8: goto sPa34; rmHXV: w5Pgj: goto csLHN; SkXvT: $id_guru = $guru->id_guru; goto pMX0e; qQAUC: $data["tp_active"] = $tp; goto abuHR; c9Tbo: $data["ruang"] = $this->dropdown->getAllRuang(); goto c78NU; AlGFM: $data["info"] = $info; goto UsKM6; mO65i: foreach ($jadwals as $jadwal) { goto C4h64; QVo64: HexSl: goto QRAln; C4h64: $kls = unserialize($jadwal->bank_kelas); goto J4mA4; J4mA4: foreach ($kls as $kl) { goto VVNY7; jmpH8: ojiB4: goto Kk_sj; tBgd_: $jdwl[$jadwal->id_jadwal] = $jadwal->bank_kode; goto jmpH8; VVNY7: if (!($kl["kelas_id"] == $kelas_selected)) { goto ojiB4; } goto tBgd_; Kk_sj: d_wlZ: goto CAE6x; CAE6x: } goto o3vFV; o3vFV: JznJy: goto QVo64; QRAln: } goto WlW99; uQPg9: $jawabans_siswa = []; goto he8p4; rR7lf: J03TZ: goto j6A6n; VCT83: $ya = $this->input->get("ya"); goto KFO5c; kaFBu: $this->db->trans_start(); goto EczMr; xB2SG: $bobot_essai = $info->bobot_esai / 100; goto FtqGS; jiTBu: $this->load->view("members/guru/templates/footer"); goto OsL57; DUUB5: $this->load->model("Dropdown_model", "dropdown"); goto Tl5Dv; ZhX66: $id_guru = null; goto Hdp04; CjYBe: $data["smt_active"] = $smt; goto c9Tbo; byGqS: $arrKelas = []; goto uuUMf; DW2fr: $jadwal_selected = $this->input->get("jadwal"); goto u3w7j; RqkkM: foreach ($siswas as $key => $value) { array_push($ids, $value->id_siswa); iwCTa: } goto rs0cv; Ml0wm: $kelases = []; goto bcipp; v8f_u: $data["guru"] = $guru; goto SkXvT; okSq0: $data["jadwal"] = []; goto T0vcB; bcipp: foreach ($kelas_bank as $key => $value) { goto N4Xpb; uuKDM: $kelases[$value["kelas_id"]] = $this->dropdown->getNamaKelasById($tp->id_tp, $smt->id_smt, $value["kelas_id"]); goto xj5Qj; N4Xpb: if (!($value["kelas_id"] != '')) { goto Ng0Dc; } goto uuKDM; xj5Qj: Ng0Dc: goto IDYSy; IDYSy: jUyF1: goto Bs3k0; Bs3k0: } goto Nrats; c78NU: $data["sesi"] = $this->dropdown->getAllSesi(); goto fUUB6; xAvGq: $jdwl = []; goto mO65i; oj9R6: $data["jadwal_selected"] = $jadwal_selected; goto UDXDd; WocOB: $data["jadwal_selected"] = $jadwal_selected; goto byGqS; Tl5Dv: $this->load->model("Kelas_model", "kelas"); goto xRTWU; OsL57: goto UqynG; goto KOzr3; B82v6: $this->load->view("cbt/nilai/data"); goto jiTBu; l4dvh: $xb = $this->input->get("xb"); goto Y7CTo; WlW99: MJ1Ig: goto QMYr8; Hpee8: $mapel = json_decode(json_encode(unserialize($mapel_guru->mapel_kelas))); goto WocOB; jReKt: $this->load->view("_templates/dashboard/_header", $data); goto V8yIO; MSXoz: foreach ($siswas as $siswa) { goto pOdna; DeVQJ: V7HBq: goto WirWo; WirWo: if (!($total > $xa)) { goto nIEYP; } goto XeJvm; Fi0YZ: ogOZA: goto G8gKs; b8t6D: $skor_koreksi_pg2 = 0.0; goto DteLA; esliE: $siswa->lama_ujian = $loading . $dur_siswa; goto Taju3; wBCSn: $jawaban_pg = $ada_jawaban_pg ? $jawabans_siswa[$siswa->id_siswa]["1"] : []; goto Z9NRX; r2Epp: $siswa->skor_katrol = ''; goto GlbcJ; rASOk: $benar_jod = 0; goto pFEla; pOdna: $dur_siswa = ''; goto w02fA; XAsDg: $s_is = $bagi_isian == 0 ? 0 : $benar_is / $bagi_isian * $bobot_isian; goto OzrSb; FujLZ: Y3JfJ: goto HrkCa; yGCuN: $skor_koreksi_es = 0.0; goto YzJUe; sg72S: $benar_is = 0; goto pqGg8; zRwVS: ZUuYh: goto Ez9dC; SmgMR: $input_pg2 = $nilai_input->kompleks_nilai; goto SGJRK; hjSCY: $siswa->skor_essai = round($skor_es, 2); goto Ae_fn; EW4NA: $n++; goto VT5rv; wi7gX: $ada_jawaban_jodoh = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["3"]); goto BibeA; IW4Jo: $siswa->skor_total = round($total, 2); goto yvpBV; ivU4g: if (!($n < $info->tampil_pg)) { goto ZUuYh; } goto nsrfB; EaVR7: $skor_pg = $benar_pg / $bagi_pg * $bobot_pg; goto aoVoZ; pqGg8: if (!($info->tampil_isian > 0)) { goto lihJu; } goto zCroq; zCroq: foreach ($jawaban_is as $num => $jawab_is) { goto SiCgq; XN1mK: goto kVznp; goto JKsrA; OwXBF: JlJv1: goto kfziH; SiCgq: $skor_koreksi_is += $jawab_is->nilai_koreksi; goto lV8XY; JKsrA: MZ1tv: goto XPFUy; YXVLi: if (!$benar) { goto P2oQG; } goto Wus9T; Wus9T: $benar_is++; goto FM2za; L8Zt9: $point = !$benar ? 0 : ($info->bobot_isian > 0 ? round($info->bobot_isian / $info->tampil_isian, 2) : 0); goto c2MhF; rQy_E: $otomatis_is = $jawab_is->nilai_otomatis; goto OwXBF; P91QA: $soal[4][$ks]->point_koreksi = $jawab_is->nilai_koreksi; goto lRaS8; OZSwU: $soal[4][$ks]->point = $jawab_is->nilai_koreksi; goto XN1mK; c2MhF: if ($jawab_is->nilai_otomatis == "0") { goto MZ1tv; } goto OZSwU; FM2za: P2oQG: goto czzqx; lV8XY: $benar = $jawab_is != null && strtolower($jawab_is->jawaban_siswa) == strtolower($jawab_is->jawaban); goto YXVLi; zDIy7: kVznp: goto P91QA; XPFUy: $soal[4][$ks]->point = $point; goto zDIy7; czzqx: $ks = array_search($jawab_is->nomor_soal, array_column($soal[4], "nomor_soal")); goto L8Zt9; lRaS8: $soal[4][$ks]->point_otomatis = $point; goto rQy_E; kfziH: } goto ZqMoR; oFzaG: sRTva: goto RYxDg; Taju3: $siswa->durasi_ujian = $lamanya; goto Z2BoJ; FieGY: w8FXy: goto WGgwY; pLW86: hZV3i: goto SlPpi; Cg3SO: $skor_jod = $input_jod != 0 ? $input_jod : ($otomatis_jod == 0 ? $s_jod : $skor_koreksi_jod); goto eEspG; nsrfB: $arrJawabanPg[$n + 1] = ["jawaban" => '', "benar" => false]; goto UiK5t; D0NK_: $siswa->dikoreksi = $nilai_input->dikoreksi; goto FieGY; s3GYO: if (!($nilai_input != null && $nilai_input->isian_nilai != null)) { goto kKu5q; } goto XXOUH; h44Gf: $jawaban_jodoh = $ada_jawaban_jodoh ? $jawabans_siswa[$siswa->id_siswa]["3"] : []; goto H5noB; dfyuv: $selesai = "- -  :  - -"; goto Rcj29; Z9NRX: $benar_pg = 0; goto JszV7; DDNpQ: $skor_koreksi_is = 0.0; goto XYDWn; yvpBV: if ($ya != null) { goto V7HBq; } goto r2Epp; tI7QE: $s_jod = $bagi_jodoh == 0 ? 0 : $benar_jod / $bagi_jodoh * $bobot_jodoh; goto uC5L1; BW_AY: foreach ($jawaban_es as $num => $jawab_es) { goto abJOE; WDA16: $soal[5][$ks]->point = $point; goto e0rS3; ZmmG9: FFGP5: goto a0KuU; RToCF: $benar = $jawab_es != null && strtolower($jawab_es->jawaban_siswa) == strtolower($jawab_es->jawaban); goto szdj_; gZ3ar: goto BoWAl; goto ZGYVl; Mu6km: $benar_es++; goto ZmmG9; ZGYVl: fIgOF: goto WDA16; szdj_: if (!$benar) { goto FFGP5; } goto Mu6km; rDUs4: UYRgr: goto mkS6i; NFx35: $soal[5][$ks]->point_koreksi = $jawab_es->nilai_koreksi; goto oAuLo; L3lKl: $otomatis_es = $jawab_es->nilai_otomatis; goto rDUs4; GT_K3: if ($jawab_es->nilai_otomatis == "0") { goto fIgOF; } goto FU3AO; FU3AO: $soal[5][$ks]->point = $jawab_es->nilai_koreksi; goto gZ3ar; e0rS3: BoWAl: goto NFx35; abJOE: $skor_koreksi_es += (int) $jawab_es->nilai_koreksi; goto RToCF; oAuLo: $soal[5][$ks]->point_otomatis = $point; goto L3lKl; ez67F: $point = !$benar ? 0 : ($info->bobot_esai > 0 ? round($info->bobot_esai / $info->tampil_esai, 2) : 0); goto GT_K3; a0KuU: $ks = array_search($jawab_es->nomor_soal, array_column($soal[5], "nomor_soal")); goto ez67F; mkS6i: } goto ImJm7; ZwD4f: $input_pg2 = 0; goto SdySi; Q0bJy: lihJu: goto XAsDg; SlPpi: cs4cs: goto zd9p1; oJBEO: LsUqk: goto HMc40; J0OV2: Tfs_u: goto ivU4g; ZqMoR: yGaxu: goto Q0bJy; DFeaR: $mulai = "- -  :  - -"; goto dfyuv; Ez9dC: goto PDsCn; goto RzBsM; zMKYQ: $s_es = $bagi_essai == 0 ? 0 : $benar_es / $bagi_essai * $bobot_essai; goto fkY6g; YzJUe: $otomatis_es = 0; goto YoX6m; gZac9: $n = 0; goto J0OV2; PTcte: if (count($jawaban_pg) > 0) { goto EVuI1; } goto gZac9; EtXxa: foreach ($jawaban_jodoh as $num => $jawab_jod) { goto gSKAV; b9gDb: $arrJwbJawab = []; goto n81tQ; z7JT8: $soal[3][$ks]->point = $point; goto A1bmp; xC16U: $item_benar = 0; goto qkWR0; UxEdA: C0ngi: goto NY2Kr; oKtm1: if ($jawab_jod->nilai_otomatis == "0") { goto TCBRT; } goto rQyAA; aZ0V3: $arrJawab = $jawab_jod->jawaban_siswa->jawaban; goto bXg3k; slzmv: foreach ($arrJwbSoal as $ps => $ajj) { goto kwKvn; TSDO3: foreach ($ajj->subtitle as $pps => $aj) { goto ISTQZ; txVNe: BTG6e: goto Xeyu5; DYW8C: $item_kurang++; goto vg19a; ISTQZ: if (!(isset($arrJwbJawab[$ps]) && !isset($arrJwbJawab[$ps]->subtitle[$pps]))) { goto GuU3R; } goto q73O9; pzizV: $arrBenar[$ps]->kurang = $kk; goto DYW8C; q73O9: $kk++; goto pzizV; vg19a: GuU3R: goto txVNe; Xeyu5: } goto sBgkT; kwKvn: if (!isset($ajj->subtitle)) { goto eHgTc; } goto mzRPU; sBgkT: liGNs: goto hlHpN; hlHpN: eHgTc: goto CPvUf; CPvUf: qlcBP: goto XhZ_6; LCNtz: if (!isset($arrBenar[$ps]->benar)) { goto Gw4Ja; } goto TadLx; TadLx: $point_soal += $point_subitem * $arrBenar[$ps]->benar; goto UwFaU; wnxjw: $kk = 0; goto TSDO3; mzRPU: $point_subitem = $point_item / count((array) $ajj->subtitle); goto LCNtz; UwFaU: Gw4Ja: goto wnxjw; XhZ_6: } goto zQ7SZ; opiJd: $typeSoal = $jawab_jod->jawaban->type; goto CraBH; R5g9r: $soal[3][$ks]->tabel_benar = $arrBenar; goto vUcGL; w19fE: $ks = array_search($jawab_jod->nomor_soal, array_column($soal[3], "nomor_soal")); goto WWr1l; Yipbt: foreach ($arrJwbJawab as $p => $ajjs) { goto W77jj; qqrRq: $bb = 0; goto wuivi; W77jj: $ll = 0; goto qqrRq; gdfVD: $arrBenar[$p] = new stdClass(); goto Lyo1T; tuzhb: f3cjn: goto HMLBE; wuivi: $ss = 0; goto gdfVD; Lyo1T: if (!isset($ajjs->subtitle)) { goto f3cjn; } goto KBjzD; KBjzD: foreach ($ajjs->subtitle as $pp => $ajs) { goto rrot6; kqzck: $ll++; goto e_3oP; w3hGS: $bb++; goto flWN2; hlmBi: $ss++; goto ccMMN; hZUe7: goto aeYET; goto U6XR8; ccMMN: $arrBenar[$p]->salah = $ss; goto HlT3w; YW5re: p30FX: goto QXCkp; U6XR8: OpOoS: goto w3hGS; YCsA2: $item_benar++; goto DyPMQ; flWN2: $arrBenar[$p]->benar = $bb; goto YCsA2; fY4jJ: if (!(isset($arrJwbSoal[$p]) && isset($arrJwbSoal[$p]->subtitle))) { goto N9feq; } goto AcWZn; DyPMQ: aeYET: goto u9wud; HlT3w: $item_salah++; goto hZUe7; k8klj: $item_lebih++; goto uaSex; AcWZn: if (in_array($ajs, $arrJwbSoal[$p]->subtitle)) { goto OpOoS; } goto hlmBi; u9wud: N9feq: goto YW5re; e_3oP: $arrBenar[$p]->lebih = $ll; goto k8klj; rrot6: if (!(isset($arrJwbSoal[$p]) && !isset($arrJwbSoal[$p]->subtitle[$pp]))) { goto IqdZ_; } goto kqzck; uaSex: IqdZ_: goto fY4jJ; QXCkp: } goto u0fAh; HMLBE: jKgva: goto hiuvJ; u0fAh: gUeXd: goto tuzhb; hiuvJ: } goto UxEdA; gSKAV: $skor_koreksi_jod += $jawab_jod->nilai_koreksi; goto opiJd; qkWR0: $item_salah = 0; goto J1dZ8; r45xL: $otomatis_jod = $jawab_jod->nilai_otomatis; goto QH4Ec; zQ7SZ: EED5F: goto R5g9r; af9A0: $soal[3][$ks]->point_koreksi = $jawab_jod->nilai_koreksi; goto Altqv; J1dZ8: $item_lebih = 0; goto Yipbt; nznuL: if (!isset($jawab_jod->jawaban_siswa->jawaban)) { goto A22QQ; } goto aZ0V3; qtuiz: TCBRT: goto z7JT8; QH4Ec: IXVCO: goto ptEGl; sQx_b: $point_item = $point_benar / count($arrSoal); goto mLJ84; eg_3d: $arrJawab = []; goto nznuL; PCh7L: $soal[3][$ks]->tabel_jawab = $arrJwbJawab; goto LIIk3; Iolno: foreach ($arrSoal as $kolSoal) { goto cohH4; TMZC4: foreach ($kolSoal as $pos => $kol) { goto lAs0g; Z1sSp: $items++; goto e5Vbo; iepgp: $jwb->subtitle[] = $headSoal[$pos]; goto Z1sSp; lAs0g: if (!($kol == "1")) { goto FTkSp; } goto iepgp; e5Vbo: FTkSp: goto WjI97; WjI97: WJn0y: goto bRcX1; bRcX1: } goto QxwgH; QxwgH: PeclN: goto njL1o; WIicH: rTOtE: goto Hl57D; njL1o: $jwb->title = array_shift($kolSoal); goto uKINy; uKINy: array_push($arrJwbSoal, $jwb); goto WIicH; cohH4: $jwb = new stdClass(); goto TMZC4; Hl57D: } goto V5bT_; LIIk3: $arrBenar = []; goto xC16U; hona0: $headSoal = array_shift($arrSoal); goto EIzec; V3Fb7: WBfFj: goto PCh7L; Rg2sL: goto RCdk6; goto qtuiz; n81tQ: foreach ($arrJawab as $kolJawab) { goto L7SUC; bPIys: array_push($arrJwbJawab, $jwbs); goto HGwZA; L7SUC: $jwbs = new stdClass(); goto QpAY5; k3moT: lJjxM: goto V257U; QpAY5: foreach ($kolJawab as $po => $kol) { goto qF0nG; cAg7r: $jwbs->subtitle[] = $sub; goto sDuuF; CMcdb: tW1Ou: goto qtmvB; qF0nG: if (!($kol == "1")) { goto keS52; } goto EaRWB; EaRWB: $sub = $headJawab[$po]; goto cAg7r; sDuuF: keS52: goto CMcdb; qtmvB: } goto k3moT; HGwZA: LJHXE: goto jEAs1; V257U: $jwbs->title = array_shift($kolJawab); goto bPIys; jEAs1: } goto V3Fb7; VI0UQ: $point_benar = $info->bobot_jodohkan > 0 ? round($info->bobot_jodohkan / $info->tampil_jodohkan, 2) : 0; goto sQx_b; G4xDf: $point = round($point_soal, 2); goto oKtm1; o91Z3: $point_soal = 0; goto slzmv; CraBH: $arrSoal = $jawab_jod->jawaban->jawaban; goto hona0; vUcGL: $soal[3][$ks]->point_soal = $point_soal; goto G4xDf; EIzec: $arrJwbSoal = []; goto jHO40; WWr1l: $soal[3][$ks]->type_soal = $typeSoal; goto IhHYz; Altqv: $soal[3][$ks]->point_otomatis = $point; goto r45xL; A1bmp: RCdk6: goto af9A0; mLJ84: $item_kurang = 0; goto o91Z3; bXg3k: $headJawab = array_shift($arrJawab); goto qF18p; rQyAA: $soal[3][$ks]->point = $jawab_jod->nilai_koreksi; goto Rg2sL; jHO40: $items = 0; goto Iolno; V5bT_: VP9NJ: goto w19fE; IhHYz: $soal[3][$ks]->tabel_soal = $arrJwbSoal; goto eg_3d; NY2Kr: $benar_jod += 1 / $items * $item_benar; goto VI0UQ; qF18p: A22QQ: goto b9gDb; ptEGl: } goto GCl0P; zd9p1: $s_pg2 = $bagi_pg2 == 0 ? 0 : $benar_pg2 / $bagi_pg2 * $bobot_pg2; goto ZwD4f; B6PFS: $siswa->skor_kompleks = round($skor_pg2, 2); goto h44Gf; BoFy0: if (!($info->tampil_esai > 0)) { goto geBrg; } goto BW_AY; VT5rv: goto Tfs_u; goto zRwVS; T1HfM: xsgBg: goto JriXh; BibeA: $ada_jawaban_isian = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["4"]); goto M_uuU; DEMdA: $siswa->skor_pg = round($skor_pg, 2); goto yUIpV; XI_0G: b1lCn: goto JaR2Z; SGazT: TO9OA: goto T1HfM; iD0gj: foreach ($jawaban_pg2 as $num => $jawab_pg2) { goto E78t7; E78t7: $skor_koreksi_pg2 += $jawab_pg2->nilai_koreksi; goto vIORo; vIORo: $arr_benar = []; goto maO3m; M24hJ: ddHtH: goto MmzBc; FTx3x: $point_item = count($jawab_pg2->jawaban) > 0 ? $point_benar / count($jawab_pg2->jawaban) : 0; goto KbBK6; BuYbw: Tcb_t: goto QhCxQ; w63Iz: $benar_pg2 += 1 / count($jawab_pg2->jawaban) * count($arr_benar); goto koKHJ; xOM4k: uQAkI: goto JP_T2; HwN_5: $otomatis_pg2 = $jawab_pg2->nilai_otomatis; goto BuYbw; SpQcz: $ks = array_search($jawab_pg2->nomor_soal, array_column($soal[2], "nomor_soal")); goto BVwhr; cAZCK: $point_benar = $info->bobot_kompleks > 0 ? round($info->bobot_kompleks / $info->tampil_kompleks, 2) : 0; goto FTx3x; MmzBc: if (!(count($jawab_pg2->jawaban) > 0)) { goto gkDhR; } goto w63Iz; SmZvO: $soal[2][$ks]->point_koreksi = $jawab_pg2->nilai_koreksi; goto qoglp; fofwH: foreach ($jawab_pg2->jawaban_siswa as $js) { goto boXMJ; AjkwS: array_push($arr_benar, true); goto mAtrL; boXMJ: if (!in_array($js, $jawab_pg2->jawaban)) { goto SpB1n; } goto AjkwS; hc693: pjknO: goto yb66k; mAtrL: SpB1n: goto hc693; yb66k: } goto JV4MZ; l4eUJ: $soal[2][$ks]->point = $jawab_pg2->nilai_koreksi; goto q2Hsm; JV4MZ: D_Fk2: goto M24hJ; qoglp: $soal[2][$ks]->point_otomatis = $point; goto HwN_5; BVwhr: $point = round($pk, 2); goto XAtOx; q2Hsm: goto c906Y; goto xOM4k; koKHJ: gkDhR: goto cAZCK; maO3m: if (!$jawab_pg2->jawaban_siswa) { goto ddHtH; } goto fofwH; XAtOx: if ($jawab_pg2->nilai_otomatis == "0") { goto uQAkI; } goto l4eUJ; KbBK6: $pk = $point_item * count($arr_benar); goto SpQcz; JP_T2: $soal[2][$ks]->point = $point; goto NrFfU; NrFfU: c906Y: goto SmZvO; QhCxQ: } goto pLW86; GCl0P: ZMDFy: goto U0ux7; QC2Sc: $input_es = $nilai_input->essai_nilai; goto oJBEO; GlbcJ: goto TO9OA; goto DeVQJ; ITHi2: if (!($info->tampil_kompleks > 0)) { goto cs4cs; } goto iD0gj; OzrSb: $input_is = 0; goto s3GYO; UBNFS: nIEYP: goto d5B5v; D3eRR: if (!($nilai_input != null)) { goto w8FXy; } goto D0NK_; HMc40: $skor_es = $input_es != 0 ? $input_es : ($otomatis_es == 0 ? $s_es : $skor_koreksi_es); goto hjSCY; dLXpW: $xb = $total; goto oFzaG; RzBsM: EVuI1: goto HZnbP; QOr3I: if (!($info->tampil_pg > 0)) { goto Vsna4; } goto PTcte; paeZu: Emhj6: goto Cg3SO; XYDWn: $otomatis_is = 0; goto sg72S; Ae_fn: $total = $skor_pg + $skor_pg2 + $skor_jod + $skor_is + $skor_es; goto IW4Jo; WpMz8: $ada_jawaban_pg = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["1"]); goto Fo5ri; H5noB: $skor_koreksi_jod = 0.0; goto ZwlYm; EyFYI: $input_jod = $nilai_input->jodohkan_nilai; goto paeZu; GQncM: kKu5q: goto p7W5T; WGgwY: $jawaban_pg2 = $ada_jawaban_pg2 ? $jawabans_siswa[$siswa->id_siswa]["2"] : []; goto oosij; p7W5T: $skor_is = $input_is != 0 ? $input_is : ($otomatis_is == 0 ? $s_is : $skor_koreksi_is); goto GeOuh; RYxDg: $siswa->skor_katrol = round(($ya - $yb) / 100 * $total + $yb, 2); goto SGazT; SdySi: if (!($nilai_input != null && $nilai_input->kompleks_nilai != null)) { goto WizA0; } goto SmgMR; U0ux7: wEaU9: goto tI7QE; yUIpV: $nilai_input = $this->cbt->getNilaiSiswaByJadwal($jadwal_selected, $siswa->id_siswa); goto D3eRR; Rcj29: foreach ($logs as $log) { goto ngGTS; JefAd: m8VPM: goto X6uTq; yJvq2: $selesai = date("H:i", strtotime($log->log_time)); goto sPZyw; jYvl6: if (!($log != null)) { goto tgp1H; } goto Tr7I0; yxFKR: if ($log->log_type == "1") { goto wP_fx; } goto ZJ8LW; Tr7I0: $mulai = date("H:i", strtotime($log->log_time)); goto oQcVM; JFRil: sy18_: goto JefAd; oQcVM: $sudahMulai = true; goto hsQmB; hC3Cz: wP_fx: goto jYvl6; ngGTS: if (!($log->id_siswa == $siswa->id_siswa)) { goto sy18_; } goto twJMC; hsQmB: tgp1H: goto Ddvn3; Ddvn3: LoXli: goto bSmFz; twJMC: $sudahMulai = false; goto odsna; ZJ8LW: if (!($log != null)) { goto f5l9X; } goto yJvq2; sPZyw: $sudahSelesai = true; goto e4DVB; Zww0w: goto LoXli; goto hC3Cz; bSmFz: $loading = $sudahSelesai ? "<i class="fa fa-check"></i> " : ($sudahMulai ? "<i class="fa fa-spinner fa-spin"></i> " : ''); goto JFRil; e4DVB: f5l9X: goto Zww0w; odsna: $sudahSelesai = false; goto yxFKR; X6uTq: } goto FujLZ; VocMb: if (!($nilai_input != null && $nilai_input->jodohkan_nilai != null)) { goto Emhj6; } goto EyFYI; RDqJM: foreach ($durasies as $durasi) { goto oLw1h; lGFc2: goto Ml0hI; goto kQgQh; oLw1h: if (!($durasi->id_siswa == $siswa->id_siswa)) { goto Xjh7V; } goto mXxlF; u9VLd: sP0v6: goto lGFc2; JnhmZ: $elap = explode(":", $lamanya); goto rZAbI; gl6Km: $em = $elap[1] == "00" ? '' : intval($elap[1]) + $ed . "m"; goto Y1boX; LvPiW: $dur_siswa = $dd == '' ? "0 m" : $dd; goto u9VLd; jidbY: $ej = $elap[0] == "00" ? '' : intval($elap[0]) . "j "; goto gl6Km; W9kYU: if (strpos($lamanya, ":") !== false) { goto GpTVg; } goto XyvJH; VpNN_: Xjh7V: goto iYz2X; mXxlF: if ($durasi->lama_ujian == null) { goto PFJ2k; } goto qpowb; Y1boX: $dd = $ej . $em; goto LvPiW; xwWAC: Ml0hI: goto VpNN_; kQgQh: PFJ2k: goto C0Eaf; rZAbI: $ed = $elap[2] == "00" ? 0 : 1; goto jidbY; yO8Av: GpTVg: goto JnhmZ; oikcO: $dur_siswa = round($mins, 2) . " m"; goto xwWAC; iYz2X: K4IBj: goto y8KgO; qpowb: $lamanya = $durasi->lama_ujian; goto W9kYU; gth_i: goto sP0v6; goto yO8Av; XyvJH: $dur_siswa = $durasi->mulai . " m"; goto gth_i; C0Eaf: $mins = (strtotime($durasi->selesai) - strtotime($durasi->mulai)) / 60; goto oikcO; y8KgO: } goto Fi0YZ; HrkCa: $siswa->mulai_ujian = $mulai; goto v1d2B; UCbjt: geBrg: goto zMKYQ; fr7Z0: $jawaban_is = $ada_jawaban_isian ? $jawabans_siswa[$siswa->id_siswa]["4"] : []; goto DDNpQ; XeJvm: $xa = $total; goto UBNFS; JszV7: $skor_pg = 0; goto QOr3I; M_uuU: $ada_jawaban_essai = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["5"]); goto UWWaF; XXOUH: $input_is = $nilai_input->isian_nilai; goto GQncM; aoVoZ: Vsna4: goto UbHLy; SGJRK: WizA0: goto j935z; G8gKs: $loading = ''; goto DFeaR; eEspG: $siswa->skor_jodohkan = round($skor_jod, 2); goto fr7Z0; UiK5t: aaLEg: goto EW4NA; oosij: $benar_pg2 = 0; goto b8t6D; Mr50y: if (!($nilai_input != null && $nilai_input->isian_nilai != null)) { goto LsUqk; } goto QC2Sc; v1d2B: $siswa->selesai_ujian = $selesai; goto esliE; ImJm7: yxRnH: goto UCbjt; Fo5ri: $ada_jawaban_pg2 = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["2"]); goto wi7gX; UbHLy: $siswa->jawaban_pg = $arrJawabanPg; goto DEMdA; j935z: $skor_pg2 = $input_pg2 != 0 ? $input_pg2 : ($otomatis_pg2 == 0 ? $s_pg2 : $skor_koreksi_pg2); goto B6PFS; UWWaF: $arrJawabanPg = []; goto wBCSn; GeOuh: $siswa->skor_isian = round($skor_is, 2); goto vkOF5; d5B5v: if (!($total < $xb)) { goto sRTva; } goto dLXpW; DteLA: $otomatis_pg2 = 0; goto ITHi2; HZnbP: foreach ($jawaban_pg as $num => $jwb_pg) { goto hHOEw; LJW_M: goto l8szy; goto jfo0w; p1lup: $arrJawabanPg[$num] = ["jawaban" => strtoupper($jwb_pg->jawaban_siswa), "benar" => $benar]; goto h7AuA; uhQuS: $benar_pg += 1; goto cW_6G; YxaNT: $benar = false; goto LJW_M; cW_6G: $benar = true; goto AQzCX; hHOEw: $benar = false; goto JDzAR; i5lSv: if (strtoupper($jwb_pg->jawaban_siswa) == strtoupper($jwb_pg->jawaban)) { goto OprFk; } goto YxaNT; jfo0w: OprFk: goto uhQuS; JDzAR: if (!($jwb_pg != null && $jwb_pg->jawaban_siswa != null)) { goto hiZ4U; } goto i5lSv; h7AuA: qAVum: goto ew1RD; AQzCX: l8szy: goto CCthR; CCthR: hiZ4U: goto p1lup; ew1RD: } goto XI_0G; fkY6g: $input_es = 0; goto Mr50y; vkOF5: $jawaban_es = $ada_jawaban_essai ? $jawabans_siswa[$siswa->id_siswa]["5"] : []; goto yGCuN; Z2BoJ: $ada_jawaban = isset($jawabans_siswa[$siswa->id_siswa]); goto WpMz8; ZwlYm: $otomatis_jod = 0; goto rASOk; JaR2Z: PDsCn: goto EaVR7; uC5L1: $input_jod = 0; goto VocMb; YoX6m: $benar_es = 0; goto BoFy0; w02fA: $lamanya = ''; goto RDqJM; pFEla: if (!($info->tampil_jodohkan > 0)) { goto wEaU9; } goto EtXxa; JriXh: } goto IPfVo; e7Aae: $bobot_pg = $info->bobot_pg / 100; goto TxPlC; znNfM: if ($jadwal_selected != null) { goto J03TZ; } goto okSq0; eAr4n: $xa = $this->input->get("xa"); goto l4dvh; sJ3Cr: $mapel_guru = $this->kelas->getGuruMapelKelas($id_guru, $tp->id_tp, $smt->id_smt); goto Hpee8; hQiKl: $data["convert"] = $convert; goto qXoy2; uuUMf: if (!($mapel != null)) { goto vNIez; } goto OdffJ; j6A6n: $info = $this->cbt->getJadwalById($jadwal_selected); goto k1Wxm; gEmb7: $data["tp"] = $this->dashboard->getTahun(); goto qQAUC; ecDO8: $tp = $this->dashboard->getTahunActive(); goto YmGYM; fUUB6: $kelas_selected = $this->input->get("kelas"); goto DW2fr; Z9w_y: $bobot_jodoh = $info->bobot_jodohkan / 100; goto u9ne0; ZzRZY: $bagi_jodoh = $info->tampil_jodohkan / 100; goto Z9w_y; DalYr: $bagi_essai = $info->tampil_esai / 100; goto xB2SG; UDXDd: $data["kelas"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto jReKt; tD3Qj: $this->db->trans_complete(); goto qb9e2; MwD98: $logs = $this->cbt->getLogUjianByJadwal($jadwal_selected); goto MSXoz; kdLhq: UqynG: goto m3j2m; qmeWx: $bobot_isian = $info->bobot_isian / 100; goto DalYr; KOzr3: oi0cb: goto Oy3Ei; FQ4uV: if (!($ya != null)) { goto hzG2y; } goto BC6qf; KFO5c: $yb = $this->input->get("yb"); goto eAr4n; TxPlC: $bagi_pg2 = $info->tampil_kompleks / 100; goto Dc2v_; OdffJ: foreach ($mapel as $m) { goto Ztwim; Ztwim: $arrMapel[$m->id_mapel] = $m->nama_mapel; goto NDdZ7; Er_fI: XeHEx: goto K2xc_; K2xc_: Nki7n: goto q0lTM; NDdZ7: foreach ($m->kelas_mapel as $kls) { goto ze11k; ze11k: if (!$kls->kelas) { goto oRceT; } goto nGWuK; eJ21B: oRceT: goto L3YGm; nGWuK: $arrKelas[$kls->kelas] = $this->dropdown->getNamaKelasById($tp->id_tp, $smt->id_smt, $kls->kelas); goto eJ21B; L3YGm: w_VrY: goto zM8Sk; zM8Sk: } goto Er_fI; q0lTM: } goto VjUdf; QMYr8: $data["jadwal"] = $jdwl; goto HUjnO; Z_FY2: $this->load->view("_templates/dashboard/_footer"); goto kdLhq; u3w7j: $data["kelas_selected"] = $kelas_selected; goto VCT83; BnCsp: goto hhhd8; goto rR7lf; Dc2v_: $bobot_pg2 = $info->bobot_kompleks / 100; goto ZzRZY; eJqIb: $this->load->model("Cbt_model", "cbt"); goto DUUB5; VjUdf: x5OaA: goto poMHY; Nrats: k8yoD: goto beySt; Hdp04: goto mt5VM; goto rmHXV; UsKM6: $data["siswas"] = $siswas; goto FQ4uV; u9ne0: $bagi_isian = $info->tampil_isian / 100; goto qmeWx; k1Wxm: $bagi_pg = $info->tampil_pg / 100; goto e7Aae; qb9e2: if ($this->ion_auth->is_admin()) { goto oi0cb; } goto sJ3Cr; HUjnO: hhhd8: goto tD3Qj; beySt: $jadwals = $this->cbt->getAllJadwal($tp->id_tp, $smt->id_smt, $id_guru); goto xAvGq; X4_T0: $ids = []; goto RqkkM; YmGYM: $smt = $this->dashboard->getSemesterActive(); goto gEmb7; svixZ: $this->load->view("members/guru/templates/header", $data); goto B82v6; qXoy2: hzG2y: goto SNTCI; IPfVo: SbIRf: goto AlGFM; pMX0e: mt5VM: goto znNfM; tgY9f: $soal = []; goto uQPg9; tah5z: $data["kelas"] = $arrKelas; goto svixZ; BC6qf: $convert = ["ya" => $ya, "yb" => $yb, "xa" => $xa, "xb" => $xb]; goto hQiKl; m3j2m: } public function detail() { goto W_os4; GROX0: $input_is = 0; goto OC3wr; LfWne: $ada_jawaban_jodoh = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["3"]); goto JIjcG; WkpgE: foreach ($jawabans as $jawaban_siswa) { goto AIQiR; g5gMy: $jawabans_siswa[$jawaban_siswa->id_siswa][$jawaban_siswa->jenis_soal][] = $jawaban_siswa; goto BSOHB; nKsaB: $jawaban_siswa->jawaban = json_decode(json_encode($jawaban_siswa->jawaban)); goto DzR3Y; cRxGh: $jawaban_siswa->jawaban_benar = json_decode(json_encode($jawaban_siswa->jawaban_benar)); goto nKsaB; R1nEj: $jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar); goto YtjDg; MLceF: $jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa); goto R1nEj; UAv3U: $jawaban_siswa->jawaban_benar = array_map("strtoupper", $jawaban_siswa->jawaban_benar); goto nV79P; nV79P: $jawaban_siswa->jawaban_benar = array_filter($jawaban_siswa->jawaban_benar, "strlen"); goto Winus; AIQiR: if (!($jawaban_siswa->jenis_soal == "2")) { goto d92Ll; } goto hJSUf; t_x8X: $jawaban_siswa->jawaban = array_filter($jawaban_siswa->jawaban, "strlen"); goto bu6_Q; DzR3Y: SdXIT: goto g5gMy; m1RJ5: $jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar); goto sPyQU; SzNwt: if (!($jawaban_siswa->jenis_soal == "3")) { goto SdXIT; } goto ha4E7; Winus: $jawaban_siswa->jawaban = array_map("strtoupper", $jawaban_siswa->jawaban); goto t_x8X; YtjDg: $jawaban_siswa->jawaban = @unserialize($jawaban_siswa->jawaban); goto UAv3U; Ojb9q: $jawaban_siswa->jawaban_siswa = json_decode(json_encode($jawaban_siswa->jawaban_siswa)); goto cRxGh; ha4E7: $jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa); goto m1RJ5; BSOHB: $soal[$jawaban_siswa->jenis_soal][] = $jawaban_siswa; goto xRKNp; bu6_Q: d92Ll: goto SzNwt; sPyQU: $jawaban_siswa->jawaban = @unserialize($jawaban_siswa->jawaban); goto Ojb9q; xRKNp: JV8sR: goto XysH8; hJSUf: $jawaban_siswa->opsi_a = @unserialize($jawaban_siswa->opsi_a); goto MLceF; XysH8: } goto JOoxB; BtSHq: $s_jod = $bagi_jodoh == 0 ? 0 : $benar_jod / $bagi_jodoh * $bobot_jodoh; goto RtSWw; GWAm9: kO3qs: goto jH1rM; JIjcG: $ada_jawaban_isian = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["4"]); goto a7n9P; UUsRH: $benar_is = 0; goto c7hU9; k5e0h: $bobot_pg2 = $info->bobot_kompleks / 100; goto Bd2h0; K_zYF: $skor = new stdClass(); goto IVDAC; WPsmu: $input_jod = $nilai_input->jodohkan_nilai; goto zJOt7; qwZqZ: $benar_pg2 = 0; goto DVFsb; bpHpK: if (!($nilai_input != null && $nilai_input->jodohkan_nilai != null)) { goto lm0S3; } goto WPsmu; ImrlN: $this->load->view("members/guru/templates/header", $data); goto WtLE0; h0SfA: $this->load->view("members/guru/templates/footer"); goto D6PMg; zJOt7: lm0S3: goto XFbMO; o9_St: $data = ["user" => $user, "judul" => "Koreksi Hasil Siswa", "subjudul" => "Hasil Siswa", "setting" => $this->dashboard->getSetting(), "durasi" => $dur_siswa, "log" => $log_siswa]; goto PNflC; olYSM: $skor_pg2 = $input_pg2 != 0 ? $input_pg2 : ($otomatis_pg2 == 0 ? $s_pg2 : $skor_koreksi_pg2); goto tWB4U; KCtcu: $data["ada_nilai"] = $nilai_siswa != null; goto rCouc; s8XV0: $s_is = $bagi_isian == 0 ? 0 : $benar_is / $bagi_isian * $bobot_isian; goto GROX0; fNJST: $this->load->view("cbt/nilai/detail"); goto DyZWR; GYfaA: $benar_es = 0; goto uIorv; l_EQC: if (!($info->tampil_jodohkan > 0)) { goto lQgOk; } goto qGVVI; z9tOc: D94rn: goto pxZ3N; JMGmZ: $guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto Xxwtm; PNflC: $data["tp"] = $this->dashboard->getTahun(); goto jxk97; HXkeU: $skor_koreksi_jod = 0.0; goto kO77Y; ZvG2i: $skor->dikoreksi = $nilai_input->dikoreksi; goto GWAm9; W_os4: $this->load->model("Cbt_model", "cbt"); goto J8gNS; SITgq: $otomatis_pg2 = 0; goto Lcn6G; Tuzn9: sgr1o: goto QisEK; XXte3: $durasies = $this->cbt->getDurasiSiswaByJadwal($jadwal); goto ZWawI; zyhm6: $skor->skor_pg = $skor_pg = $bagi_pg == 0 ? 0 : $benar_pg / $bagi_pg * $bobot_pg; goto E3wqX; xjwVA: $soal = []; goto YhcGM; gty6B: cpNPW: goto ZBV6u; TcXNj: $s_pg2 = $bagi_pg2 == 0 ? 0 : $benar_pg2 / $bagi_pg2 * $bobot_pg2; goto zf8M2; ceo5T: $otomatis_es = 0; goto QKdlZ; DVFsb: $skor_koreksi_pg2 = 0.0; goto SITgq; wzwdd: $siswa = $this->cbt->getSiswaById($tp->id_tp, $smt->id_smt, $this->input->get("siswa")); goto hLLpc; IP0V9: foreach ($jawaban_es as $num => $jawab_es) { goto QtvCz; KjTwW: $ks = array_search($jawab_es->nomor_soal, array_column($soal[5], "nomor_soal")); goto WzqBH; ZOlGH: goto hHX9Z; goto XsWvB; XsWvB: ALnHS: goto rEujt; rEujt: $analisa = "<i class="fa fa-check-circle text-green text-lg"></i>"; goto aBX3B; gxAiu: GFQ4_: goto TfNao; cnhZg: if (!$benar) { goto iNeE9; } goto cKnaS; dFR9F: p16k9: goto hhIgo; TfNao: $soal[5][$ks]->point_koreksi = $jawab_es->nilai_koreksi; goto J7SAz; nKXed: if ($jawab_es->nilai_otomatis == "0") { goto p16k9; } goto xd3Vi; d5smE: $benar = $jawab_es != null && strtolower($jawab_es->jawaban_siswa) == strtolower($jawab_es->jawaban); goto cnhZg; Jl_v7: goto GFQ4_; goto dFR9F; SVbAt: $otomatis_es = $jawab_es->nilai_otomatis; goto CKkvN; WzqBH: $point = !$benar ? 0 : ($info->bobot_esai > 0 ? round($info->bobot_esai / $info->tampil_esai, 2) : 0); goto nKXed; HFtNn: $analisa = "<i class="fa fa-times-circle text-yellow text-lg"></i>"; goto ZOlGH; AjDsr: $soal[5][$ks]->analisa = $analisa; goto SVbAt; DI7Rx: if ($benar) { goto ALnHS; } goto HFtNn; xd3Vi: $soal[5][$ks]->point = $jawab_es->nilai_koreksi; goto Jl_v7; QtvCz: $skor_koreksi_es += $jawab_es->nilai_koreksi; goto d5smE; CKkvN: rhBPi: goto JBrlL; J7SAz: $soal[5][$ks]->point_otomatis = $point; goto DI7Rx; hhIgo: $soal[5][$ks]->point = $point; goto gxAiu; aBX3B: hHX9Z: goto AjDsr; LKCCv: iNeE9: goto KjTwW; cKnaS: $benar_es++; goto LKCCv; JBrlL: } goto z9tOc; IVDAC: $nilai_input = $this->cbt->getNilaiSiswaByJadwal($jadwal, $siswa->id_siswa); goto X6qU8; ZWawI: $logs = $this->cbt->getLogUjianByJadwal($jadwal); goto q5rit; zf8M2: $input_pg2 = 0; goto yH3Dk; AaIis: $skor->skor_jodohkan = $skor_jod; goto vJ7O0; q5rit: $dur_siswa = null; goto hwKeq; LvGYs: RuLk2: goto TcXNj; jxk97: $data["tp_active"] = $tp; goto le0Cv; QisEK: $s_es = $bagi_essai == 0 ? 0 : $benar_es / $bagi_essai * $bobot_essai; goto u0y0K; swvH0: bWsGL: goto KCL4G; jszLv: foreach ($jawaban_pg as $num => $jwb_pg) { goto iycNQ; QHMur: $ks = array_search($jwb_pg->nomor_soal, array_column($soal[1], "nomor_soal")); goto xWwti; aNVew: uyJb2: goto rRsJ0; wFvnY: $soal[1][$ks]->analisa = $analisa; goto ZfaDd; iycNQ: $benar = false; goto atit_; r_oN0: $benar = false; goto u1Kl9; dbd4x: nZLhe: goto wlMba; w4zxE: if (strtoupper($jwb_pg->jawaban_siswa) == strtoupper($jwb_pg->jawaban)) { goto uyJb2; } goto Zt2AC; r3eBn: $analisa = $benar ? "<i class="fa fa-check-circle text-green text-lg"></i>" : "<i class="fa fa-times-circle text-red text-lg"></i>"; goto wFvnY; wlMba: BFT3M: goto QHMur; xvYCJ: $benar = true; goto dbd4x; ZfaDd: N38G8: goto qYqf1; atit_: if (!($jwb_pg != null && $jwb_pg->jawaban_siswa != null)) { goto BFT3M; } goto w4zxE; Zt2AC: $salah_pg += 1; goto r_oN0; xWwti: $soal[1][$ks]->point = !$benar ? 0 : ($info->bobot_pg > 0 ? round($info->bobot_pg / $info->tampil_pg, 2) : 0); goto r3eBn; rRsJ0: $benar_pg += 1; goto xvYCJ; u1Kl9: goto nZLhe; goto aNVew; qYqf1: } goto aICfW; ho6j5: $this->load->view("_templates/dashboard/_header", $data); goto fNJST; D6PMg: goto nLYzE; goto Rmd70; Lcn6G: if (!($info->tampil_kompleks > 0)) { goto RuLk2; } goto EnfxG; Xxwtm: $data["guru"] = $guru; goto ImrlN; tWB4U: $skor->skor_kompleks = $skor_pg2; goto TjcAV; TjcAV: $jawaban_jodoh = $ada_jawaban_jodoh ? $jawabans_siswa[$siswa->id_siswa]["3"] : []; goto avvDO; uIorv: $skor_koreksi_es = 0.0; goto ceo5T; iHQLI: RTfQv: goto QXrRg; VkoLi: $bobot_jodoh = $info->bobot_jodohkan / 100; goto jpeUp; Bd2h0: $bagi_jodoh = $info->tampil_jodohkan / 100; goto VkoLi; pxZ3N: v6qp1: goto Tuzn9; Tdc6j: $skor->skor_total = $total; goto XXte3; D4wTZ: $data["profile"] = $this->dashboard->getProfileAdmin($user->id); goto ho6j5; gpz7A: lQgOk: goto BtSHq; wFpwy: $smt = $this->dashboard->getSemesterActive(); goto wzwdd; c7hU9: $skor_koreksi_is = 0.0; goto FfC1c; I78iF: hQX5v: goto EEKX1; IcTcg: $user = $this->ion_auth->user()->row(); goto o9_St; Ja24N: if (!($info->tampil_pg > 0)) { goto kB4QM; } goto ikwRy; RtSWw: $input_jod = 0; goto bpHpK; UZj3a: nLYzE: goto uEYHv; yNTC1: $ada_jawaban = isset($jawabans_siswa[$siswa->id_siswa]); goto F3gGr; HAc5M: $bagi_essai = $info->tampil_esai / 100; goto y16gx; TWGiN: jC81c: goto ssNSB; JOoxB: dZwNW: goto yNTC1; qGVVI: if (!(count($jawaban_jodoh) > 0)) { goto EbdHv; } goto qjXA3; fiWyK: $jawaban_es = $ada_jawaban_essai ? $jawabans_siswa[$siswa->id_siswa]["5"] : []; goto GYfaA; QKdlZ: if (!($info->tampil_esai > 0)) { goto sgr1o; } goto BNsCl; ALAie: $tp = $this->dashboard->getTahunActive(); goto wFpwy; X6qU8: if (!($nilai_input != null)) { goto kO3qs; } goto ZvG2i; E3wqX: $jawaban_pg2 = $ada_jawaban_pg2 ? $jawabans_siswa[$siswa->id_siswa]["2"] : []; goto qwZqZ; rCouc: if ($this->ion_auth->is_admin()) { goto gXz9W; } goto JMGmZ; SlTTp: Syivn: goto N9rF0; bnge8: Ylzet: goto olYSM; U76lC: if (!(count($jawaban_is) > 0)) { goto kxLhD; } goto G82ER; KM6PP: $input_es = $nilai_input->essai_nilai; goto I78iF; QXrRg: FnVJd: goto LvGYs; ssNSB: kxLhD: goto RpStE; ikwRy: if (!(count($jawaban_pg) > 0)) { goto Syivn; } goto jszLv; le0Cv: $data["smt"] = $this->dashboard->getSemester(); goto utWJw; XFbMO: $skor_jod = $input_jod != 0 ? $input_jod : ($otomatis_jod == 0 ? $s_jod : $skor_koreksi_jod); goto AaIis; G4lT3: $bagi_pg = $info->tampil_pg / 100; goto oCA1m; utWJw: $data["smt_active"] = $smt; goto fUXQn; u0y0K: $input_es = 0; goto imkmQ; F3gGr: $ada_jawaban_pg = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["1"]); goto VqpPn; jH1rM: $jawaban_pg = $ada_jawaban_pg ? $jawabans_siswa[$siswa->id_siswa]["1"] : []; goto QqpTs; QqpTs: $benar_pg = 0; goto CNMIu; G82ER: foreach ($jawaban_is as $num => $jawab_is) { goto Bt2SU; fSO9I: if ($jawab_is->nilai_otomatis == "0") { goto jYCed; } goto IkhXU; UOzG5: $benar = $jawab_is != null && strtolower($jawab_is->jawaban_siswa) == strtolower($jawab_is->jawaban); goto nXU2l; VrDSs: $otomatis_is = $jawab_is->nilai_otomatis; goto XcbH2; W1Dlk: $soal[4][$ks]->point = $point; goto KZpOS; nffjR: $ks = array_search($jawab_is->nomor_soal, array_column($soal[4], "nomor_soal")); goto V3EIc; sJFs4: $soal[4][$ks]->point_koreksi = $jawab_is->nilai_koreksi; goto AvhD7; Migul: flZe4: goto v3yJK; o_DDC: if ($benar) { goto flZe4; } goto SQFfJ; nXU2l: if (!$benar) { goto b8SNA; } goto XRBq3; uNvvt: dBLcf: goto jaem8; IkhXU: $soal[4][$ks]->point = $jawab_is->nilai_koreksi; goto yuhRE; SQFfJ: $analisa = "<i class="fa fa-times-circle text-yellow text-lg"></i>"; goto jJixO; GFwsV: b8SNA: goto nffjR; v3yJK: $analisa = "<i class="fa fa-check-circle text-green text-lg"></i>"; goto uNvvt; IUxi6: jYCed: goto W1Dlk; XcbH2: xuKVY: goto tofYA; jaem8: $soal[4][$ks]->analisa = $analisa; goto VrDSs; KZpOS: WPJp0: goto sJFs4; Bt2SU: $skor_koreksi_is += $jawab_is->nilai_koreksi; goto UOzG5; V3EIc: $point = !$benar ? 0 : ($info->bobot_isian > 0 ? round($info->bobot_isian / $info->tampil_isian, 2) : 0); goto fSO9I; AvhD7: $soal[4][$ks]->point_otomatis = $point; goto o_DDC; yuhRE: goto WPJp0; goto IUxi6; jJixO: goto dBLcf; goto Migul; XRBq3: $benar_is++; goto GFwsV; tofYA: } goto TWGiN; YhcGM: $jawabans_siswa = []; goto WkpgE; I7liw: $data["soal"] = $soal; goto Y6AcA; v9nlW: $input_is = $nilai_input->isian_nilai; goto HhflI; hwKeq: foreach ($durasies as $durasi) { goto IfO6n; vwTfZ: iXn7E: goto D3lK_; D3lK_: bjiX_: goto sMkR2; IfO6n: if (!($durasi->id_siswa == $siswa->id_siswa)) { goto iXn7E; } goto gDw1L; gDw1L: $dur_siswa = $durasi; goto vwTfZ; sMkR2: } goto swvH0; TF0G7: foreach ($jawaban_pg2 as $num => $jawab_pg2) { goto wvgsu; kS9d1: if (!(count($jawab_pg2->jawaban) > 0)) { goto Mcxxs; } goto H76O2; bPEHD: $analisa = "<i class="fa fa-times-circle text-yellow text-lg"></i>"; goto QsyYf; bAf4q: DSgJe: goto MhIha; DtAbi: $soal[2][$ks]->point = $jawab_pg2->nilai_koreksi; goto aUBvH; T1vEx: $otomatis_pg2 = $jawab_pg2->nilai_otomatis; goto bAf4q; DqAY6: $point_item = count($jawab_pg2->jawaban) > 0 ? $point_benar / count($jawab_pg2->jawaban) : 0; goto eiND0; sUOn_: $soal[2][$ks]->point_otomatis = $point; goto T1vEx; EI717: olbTS: goto ULuNx; moJqr: if ($jml_benar == count($jawab_pg2->jawaban)) { goto tgViA; } goto QmfSV; fvlbT: $point_benar = $info->bobot_kompleks > 0 ? round($info->bobot_kompleks / $info->tampil_kompleks, 2) : 0; goto DqAY6; QsyYf: ZiIHa: goto h_Xz2; A4nQ1: tgViA: goto fC9Qy; vZVzb: GKr7G: goto oI6MA; RqvRU: LwPPq: goto eOsd2; fC9Qy: $analisa = "<i class="fa fa-check-circle text-green text-lg"></i>"; goto uRNEH; uEEOM: $arr_benar = []; goto slcKn; lVbP5: Mcxxs: goto fvlbT; aUBvH: goto LwPPq; goto vZVzb; nCJAQ: $point = round($pk, 2); goto Ym9O_; jozea: foreach ($jawab_pg2->jawaban_siswa as $js) { goto lgRbV; jufda: bnSkF: goto AUpzN; lgRbV: if (!in_array($js, $jawab_pg2->jawaban)) { goto bnSkF; } goto qcUnZ; qcUnZ: array_push($arr_benar, true); goto jufda; AUpzN: X4Qq3: goto QwJgc; QwJgc: } goto EI717; zr3lt: $jml_benar = count($arr_benar); goto moJqr; eiND0: $pk = $point_item * count($arr_benar); goto zr3lt; wvgsu: $skor_koreksi_pg2 += $jawab_pg2->nilai_koreksi; goto uEEOM; QmfSV: if ($jml_benar > 0 && $jml_benar < count($jawab_pg2->jawaban)) { goto gQtoy; } goto dcIL8; slcKn: if (!$jawab_pg2->jawaban_siswa) { goto rIoqb; } goto jozea; dcIL8: $analisa = "<i class="fa fa-times-circle text-red text-lg"></i>"; goto cnvku; ULuNx: rIoqb: goto kS9d1; RTteR: gQtoy: goto bPEHD; eOsd2: $soal[2][$ks]->point_koreksi = $jawab_pg2->nilai_koreksi; goto sUOn_; cnvku: goto ZiIHa; goto A4nQ1; uRNEH: goto ZiIHa; goto RTteR; H76O2: $benar_pg2 += 1 / count($jawab_pg2->jawaban) * count($arr_benar); goto lVbP5; Ym9O_: $soal[2][$ks]->analisa = $analisa; goto TKnmc; oI6MA: $soal[2][$ks]->point = $point; goto RqvRU; h_Xz2: $ks = array_search($jawab_pg2->nomor_soal, array_column($soal[2], "nomor_soal")); goto nCJAQ; TKnmc: if ($jawab_pg2->nilai_otomatis == "0") { goto GKr7G; } goto DtAbi; MhIha: } goto iHQLI; WtLE0: $this->load->view("cbt/nilai/detail"); goto h0SfA; imkmQ: if (!($nilai_input != null && $nilai_input->isian_nilai != null)) { goto hQX5v; } goto KM6PP; EEKX1: $skor_es = $input_es != 0 ? $input_es : ($otomatis_es == 0 ? $s_es : $skor_koreksi_es); goto hKFka; BNsCl: if (!(count($jawaban_es) > 0)) { goto v6qp1; } goto IP0V9; OC3wr: if (!($nilai_input != null && $nilai_input->isian_nilai != null)) { goto dbB9S; } goto v9nlW; y16gx: $bobot_essai = $info->bobot_esai / 100; goto TCq3v; TCq3v: $jawabans = $this->cbt->getJawabanSiswaByJadwal($jadwal, $siswa->id_siswa); goto xjwVA; DyZWR: $this->load->view("_templates/dashboard/_footer"); goto UZj3a; guv8l: $skor->skor_isian = $skor_is; goto fiWyK; fUXQn: $data["info"] = $info; goto rXH1b; jpeUp: $bagi_isian = $info->tampil_isian / 100; goto tySOL; EnfxG: if (!(count($jawaban_pg2) > 0)) { goto FnVJd; } goto TF0G7; vsc_Y: $bagi_pg2 = $info->tampil_kompleks / 100; goto k5e0h; kO77Y: $otomatis_jod = 0; goto l_EQC; vJ7O0: $jawaban_is = $ada_jawaban_isian ? $jawabans_siswa[$siswa->id_siswa]["4"] : []; goto UUsRH; Rmd70: gXz9W: goto D4wTZ; HhflI: dbB9S: goto P3vr4; P3vr4: $skor_is = $input_is != 0 ? $input_is : ($otomatis_is == 0 ? $s_is : $skor_koreksi_is); goto guv8l; avvDO: $benar_jod = 0; goto HXkeU; a7n9P: $ada_jawaban_essai = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["5"]); goto K_zYF; ZBV6u: EbdHv: goto gpz7A; N9rF0: kB4QM: goto zyhm6; hKFka: $skor->skor_essai = $skor_es; goto YaFus; Akumb: foreach ($logs as $log) { goto Lz0gX; AjxwZ: array_push($log_siswa, $log); goto MIz5m; MIz5m: CcLP5: goto nn8z6; nn8z6: ogv6Q: goto tk7WP; Lz0gX: if (!($log->id_siswa == $siswa->id_siswa)) { goto CcLP5; } goto AjxwZ; tk7WP: } goto qs1np; gQqmx: if (!($info->tampil_isian > 0)) { goto BYyb2; } goto U76lC; tySOL: $bobot_isian = $info->bobot_isian / 100; goto HAc5M; qjXA3: foreach ($jawaban_jodoh as $num => $jawab_jod) { goto RHU0z; rnGRJ: CGayP: goto nIg0M; M_2Sz: $soal[3][$ks]->tabel_jawab = $arrJwbJawab; goto aufEJ; NgJ4I: $point_soal = 0; goto cDWo8; XDnRr: $soal[3][$ks]->tabel_benar = $arrBenar; goto Warzq; mYTJu: $soal[3][$ks]->analisa = $analisa; goto l3fjo; CR3d2: $benar_jod += 1 / $items * $item_benar; goto t62pE; fzYWO: SlEWx: goto mYTJu; MF0j6: $analisa = "<i class="fa fa-check-circle text-green text-lg"></i>"; goto jZz0B; axuzo: $arrSoal = $jawab_jod->jawaban->jawaban; goto R6v0w; bfExl: $item_kurang = 0; goto NgJ4I; dn20j: lByDX: goto A8ju9; hwM5L: goto SlEWx; goto xuuzm; x9Lfm: $arrJawab = []; goto LA_lo; cHRul: if ($item_benar == 0) { goto pWZxv; } goto j1SCT; xuuzm: TDPgV: goto MF0j6; hVgEx: wdVid: goto M_2Sz; aufEJ: $arrBenar = []; goto PD3sB; n4vAi: $arrJawab = $jawab_jod->jawaban_siswa->jawaban; goto zLKkc; hMI6t: Ef3fa: goto kOk63; LA_lo: if (!isset($jawab_jod->jawaban_siswa->jawaban)) { goto lByDX; } goto n4vAi; jZz0B: goto SlEWx; goto CMqaf; cDWo8: foreach ($arrJwbSoal as $ps => $ajj) { goto MrzXr; B_72k: if (!isset($arrBenar[$ps]->benar)) { goto SYr7d; } goto b7sq9; VvSxW: hgybG: goto m6pgR; m6pgR: Aoyo2: goto vea2g; aD2yN: LAxv2: goto VvSxW; ORh0g: $kk = 0; goto zz6Rn; E7QHM: SYr7d: goto ORh0g; V7p6P: $point_subitem = $point_item / count((array) $ajj->subtitle); goto B_72k; zz6Rn: foreach ($ajj->subtitle as $pps => $aj) { goto RJl4y; nN41G: VOqOt: goto dRF7K; Pa7OO: $arrBenar[$ps]->kurang = $kk; goto SNT34; dRF7K: zVXiM: goto ChD3F; UAXUH: $kk++; goto Pa7OO; SNT34: $item_kurang++; goto nN41G; RJl4y: if (!(isset($arrJwbJawab[$ps]) && !isset($arrJwbJawab[$ps]->subtitle[$pps]))) { goto VOqOt; } goto UAXUH; ChD3F: } goto aD2yN; b7sq9: $point_soal += $point_subitem * $arrBenar[$ps]->benar; goto E7QHM; MrzXr: if (!isset($ajj->subtitle)) { goto hgybG; } goto V7p6P; vea2g: } goto Qsva9; tv8M0: $soal[3][$ks]->tabel_soal = $arrJwbSoal; goto x9Lfm; j1SCT: $analisa = "<i class="fa fa-times-circle text-yellow text-lg"></i>"; goto hwM5L; PD3sB: $item_benar = 0; goto uprbD; zx80O: $soal[3][$ks]->point = $point; goto hMI6t; Yx57p: $soal[3][$ks]->point_otomatis = $point; goto lqpdH; L4Gas: $point_item = $point_benar / count($arrSoal); goto bfExl; Qsva9: Da3KV: goto XDnRr; WDWhK: goto Ef3fa; goto nlCPZ; X8Nh3: $analisa = "<i class="fa fa-times-circle text-red text-lg"></i>"; goto fzYWO; CMqaf: pWZxv: goto X8Nh3; RHU0z: $skor_koreksi_jod += $jawab_jod->nilai_koreksi; goto wwSbA; V2BBH: $items = 0; goto dUukH; fJ6An: $arrJwbSoal = []; goto V2BBH; xgv2_: foreach ($arrJwbJawab as $p => $ajjs) { goto tMjtJ; QFg0Q: iXrJi: goto XQFIf; tlB_o: $bb = 0; goto vV7D7; ic79h: foreach ($ajjs->subtitle as $pp => $ajs) { goto RaFiT; DS4nd: if (!(isset($arrJwbSoal[$p]) && isset($arrJwbSoal[$p]->subtitle))) { goto KRAMH; } goto fjqOT; JcMUC: KRAMH: goto z54hv; sN5eO: $item_lebih++; goto uyqZk; fjqOT: if (in_array($ajs, $arrJwbSoal[$p]->subtitle)) { goto HPfRh; } goto Mgp1S; dxKk2: $item_salah++; goto Idfwh; z54hv: fTcth: goto tyoIs; wiVFE: $bb++; goto XQ5R6; RaFiT: if (!(isset($arrJwbSoal[$p]) && !isset($arrJwbSoal[$p]->subtitle[$pp]))) { goto lfGgd; } goto jREQe; XQ5R6: $arrBenar[$p]->benar = $bb; goto Sq83A; XAiuc: $arrBenar[$p]->lebih = $ll; goto sN5eO; jREQe: $ll++; goto XAiuc; Sq83A: $item_benar++; goto Pf8Vp; uyqZk: lfGgd: goto DS4nd; Idfwh: goto CLgPm; goto AcE3a; wtrn8: $arrBenar[$p]->salah = $ss; goto dxKk2; AcE3a: HPfRh: goto wiVFE; Mgp1S: $ss++; goto wtrn8; Pf8Vp: CLgPm: goto JcMUC; tyoIs: } goto yhIv5; NVJF1: if (!isset($ajjs->subtitle)) { goto HiJYm; } goto ic79h; yhIv5: bRlFC: goto NuHz7; vV7D7: $ss = 0; goto HlbDO; NuHz7: HiJYm: goto QFg0Q; tMjtJ: $ll = 0; goto tlB_o; HlbDO: $arrBenar[$p] = new stdClass(); goto NVJF1; XQFIf: } goto wli4E; l3fjo: $otomatis_jod = $jawab_jod->nilai_otomatis; goto VSIz2; lqpdH: if ($item_benar == $items && $item_salah == 0 && $item_lebih == 0 && $item_kurang == 0) { goto TDPgV; } goto cHRul; egSXL: if ($jawab_jod->nilai_otomatis == "0") { goto Of92K; } goto rSYKJ; rSYKJ: $soal[3][$ks]->point = $jawab_jod->nilai_koreksi; goto WDWhK; nlCPZ: Of92K: goto zx80O; A8ju9: $arrJwbJawab = []; goto PLsyv; uprbD: $item_salah = 0; goto AY5SL; Warzq: $soal[3][$ks]->point_soal = $point_soal; goto iNayk; PLsyv: foreach ($arrJawab as $kolJawab) { goto A6nfy; GAriu: foreach ($kolJawab as $po => $kol) { goto UVUpw; yt0In: $jwbs->subtitle[] = $sub; goto Id3RL; xNWby: t5wec: goto lKBOM; alFzB: $sub = $headJawab[$po]; goto yt0In; Id3RL: N5jgc: goto xNWby; UVUpw: if (!($kol == "1")) { goto N5jgc; } goto alFzB; lKBOM: } goto MJvkL; A6nfy: $jwbs = new stdClass(); goto GAriu; MJvkL: AqRt1: goto ylgkw; P8oNT: array_push($arrJwbJawab, $jwbs); goto NcCAk; ylgkw: $jwbs->title = array_shift($kolJawab); goto P8oNT; NcCAk: kAr5P: goto vcxWN; vcxWN: } goto hVgEx; zLKkc: $headJawab = array_shift($arrJawab); goto dn20j; nIg0M: $ks = array_search($jawab_jod->nomor_soal, array_column($soal[3], "nomor_soal")); goto BsBl8; wli4E: bgMy0: goto CR3d2; VSIz2: HllVJ: goto fdXHf; t62pE: $point_benar = $info->bobot_jodohkan > 0 ? round($info->bobot_jodohkan / $info->tampil_jodohkan, 2) : 0; goto L4Gas; wwSbA: $typeSoal = $jawab_jod->jawaban->type; goto axuzo; AY5SL: $item_lebih = 0; goto xgv2_; BsBl8: $soal[3][$ks]->type_soal = $typeSoal; goto tv8M0; iNayk: $point = round($point_soal, 2); goto egSXL; kOk63: $soal[3][$ks]->point_koreksi = $jawab_jod->nilai_koreksi; goto Yx57p; dUukH: foreach ($arrSoal as $kolSoal) { goto Fy5ru; HEL6z: $jwb->title = array_shift($kolSoal); goto rdLTZ; dCSm_: foreach ($kolSoal as $pos => $kol) { goto FnUlq; DLN8U: SzkmY: goto XduaH; hBb15: cmWB9: goto DLN8U; b9a2v: $jwb->subtitle[] = $headSoal[$pos]; goto v9uYv; FnUlq: if (!($kol == "1")) { goto cmWB9; } goto b9a2v; v9uYv: $items++; goto hBb15; XduaH: } goto ln06b; NFFCt: wn5EZ: goto gGtFx; rdLTZ: array_push($arrJwbSoal, $jwb); goto NFFCt; ln06b: K1WZ4: goto HEL6z; Fy5ru: $jwb = new stdClass(); goto dCSm_; gGtFx: } goto rnGRJ; R6v0w: $headSoal = array_shift($arrSoal); goto fJ6An; fdXHf: } goto gty6B; YaFus: $total = $skor_pg + $skor_pg2 + $skor_jod + $skor_is + $skor_es; goto Tdc6j; yH3Dk: if (!($nilai_input != null && $nilai_input->kompleks_nilai != null)) { goto Ylzet; } goto kgz2Y; kgz2Y: $input_pg2 = $nilai_input->kompleks_nilai; goto bnge8; FfC1c: $otomatis_is = 0; goto gQqmx; oFoV0: $nilai_siswa = $this->cbt->getNilaiSiswaByJadwal($jadwal, $siswa->id_siswa); goto KCtcu; qs1np: jTwcE: goto IcTcg; Y6AcA: $data["skor"] = $skor; goto oFoV0; VqpPn: $ada_jawaban_pg2 = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["2"]); goto LfWne; aICfW: H0vFU: goto SlTTp; KCL4G: $log_siswa = []; goto Akumb; oCA1m: $bobot_pg = $info->bobot_pg / 100; goto vsc_Y; hLLpc: $jadwal = $this->input->get("jadwal"); goto OaBx1; RpStE: BYyb2: goto s8XV0; rXH1b: $data["siswa"] = $siswa; goto I7liw; CNMIu: $salah_pg = 0; goto Ja24N; OaBx1: $info = $this->cbt->getJadwalById($jadwal); goto G4lT3; J8gNS: $this->load->model("Dashboard_model", "dashboard"); goto ALAie; uEYHv: } public function simpanKoreksi() { goto eQtoY; eQtoY: $siswa = $this->input->post("siswa", true); goto nlsyP; eNN1u: $jenis = $this->input->post("jenis", true); goto AcAjT; fatZe: NKxXo: goto CYxsi; zglpe: $this->db->set($jenis, $jml); goto Vjn_f; CYxsi: $updated = $this->db->update_batch("cbt_soal_siswa", $updated, "id_soal_siswa"); goto Qywh0; hHvHd: $data["success"] = $updated; goto f4tg6; Vjn_f: $this->db->where("id_nilai", $siswa . "0" . $jadwal); goto hupje; WYWbA: $ids = []; goto nb9FP; qGPFq: $updated = []; goto WYWbA; FGq7o: foreach ($nilais as $nilai) { goto zINcs; RZqVj: $jml += $nilai->koreksi; goto qBTBi; qBTBi: $updated[] = ["id_soal_siswa" => $nilai->id_soal, "nilai_koreksi" => $nilai->koreksi, "nilai_otomatis" => 1]; goto e8aQ7; e8aQ7: bisgW: goto Hnnqd; zINcs: array_push($ids, $nilai->id_soal); goto RZqVj; Hnnqd: } goto fatZe; f4tg6: $this->output_json($data); goto IsOCz; hupje: $this->db->update("cbt_nilai"); goto uSCkJ; uSCkJ: P6Ln9: goto hHvHd; AcAjT: $nilais = json_decode($this->input->post("nilai", true)); goto qGPFq; nlsyP: $jadwal = $this->input->post("jadwal", true); goto eNN1u; nb9FP: $jml = 0; goto FGq7o; Qywh0: if (!$updated) { goto P6Ln9; } goto zglpe; IsOCz: } public function tandaiKoreksi() { goto ryU0b; WnRHH: $jadwal = $this->input->post("jadwal", true); goto VovyS; KS16r: $this->db->where("id_nilai", $siswa . "0" . $jadwal); goto v24uD; QUq7_: $data["success"] = $updated; goto eobpr; ryU0b: $siswa = $this->input->post("siswa", true); goto WnRHH; VovyS: $this->db->set("dikoreksi", 1); goto KS16r; eobpr: $this->output_json($data); goto Iv6C8; v24uD: $updated = $this->db->update("cbt_nilai"); goto QUq7_; Iv6C8: } public function tandaisemua() { goto yY5cR; M24ML: $this->output_json($data); goto vlP8Q; pKUyD: GIMIh: goto phoW8; z8ikc: $test_data = []; goto FEFfj; lyaYN: $siswas = $this->input->post("ids", true); goto u8Gf2; phoW8: $data["success"] = $updated; goto c88QQ; FEFfj: foreach ($siswas as $id_siswa => $memulai) { goto hqH1o; Lj4CE: foreach ($jawaban_is as $num => $jawab_is) { goto WVuPV; gstgQ: if (!$benar) { goto p8jrV; } goto cpQTU; z_5n2: $otomatis_is = $jawab_is->nilai_otomatis; goto Szdwa; cpQTU: $benar_is++; goto eFDXc; Szdwa: gtbEM: goto Eutru; eFDXc: p8jrV: goto z_5n2; qJuau: $benar = $jawab_is != null && strtolower($jawab_is->jawaban_siswa) == strtolower($jawab_is->jawaban_benar); goto gstgQ; WVuPV: $skor_koreksi_is += $jawab_is->nilai_koreksi; goto qJuau; Eutru: } goto x2JME; Kk5VX: anqgO: goto zjvtc; ITVeF: $skor_es = $otomatis_es == 0 ? $s_es : $skor_koreksi_es; goto vDWeY; hl0Z_: $otomatis_jod = 0; goto pZZlg; dqBA7: $bagi_isian = $info->tampil_isian / 100; goto qSZSO; AZMfU: if (!(count($jawaban_pg2) > 0)) { goto LSiYS; } goto Ofd35; lELid: cS0zi: goto G9YO6; G9YO6: pyIuz: goto zlKuO; UcSHL: if (!(count($jawaban_es) > 0)) { goto pyIuz; } goto AtylC; i2zM3: $benar_jod = 0; goto swkh5; aqFUX: if (!($info->tampil_isian > 0)) { goto uvVC3; } goto FjfGi; G5hH_: pp0pk: goto pWJgG; ZyZFS: $skor_is = $otomatis_is == 0 ? $s_is : $skor_koreksi_is; goto RcUIj; qtpCY: $skor_koreksi_is = 0.0; goto BG1XY; vDWeY: $total = $skor_pg + $skor_pg2 + $skor_jod + $skor_is + $skor_es; goto P4415; P2w9B: Wto_y: goto G5hH_; jfKBk: $benar_pg2 = 0; goto dBD8s; zlKuO: U4ODc: goto Et69n; ZWYq1: $skor_pg = $bagi_pg == 0 ? 0 : $benar_pg / $bagi_pg * $bobot_pg; goto RPN4v; cEbTk: $bagi_pg = $info->tampil_pg / 100; goto qx3JL; AtylC: foreach ($jawaban_es as $num => $jawab_es) { goto BBh3W; BBh3W: $skor_koreksi_es += $jawab_es->nilai_koreksi; goto YDLoV; Xmecz: if (!$benar) { goto zZqq2; } goto GGj6d; ib2Et: $otomatis_es = $jawab_es->nilai_otomatis; goto zNVIZ; GGj6d: $benar_es++; goto FTYPI; zNVIZ: tGpn2: goto dR8Zc; YDLoV: $benar = $jawab_es != null && strtolower($jawab_es->jawaban_siswa) == strtolower($jawab_es->jawaban_benar); goto Xmecz; FTYPI: zZqq2: goto ib2Et; dR8Zc: } goto lELid; ZIOel: EmNBk: goto n0nK2; KHYw_: $ada_jawaban_essai = isset($jawabans_siswa["5"]); goto cEbTk; n0nK2: uvVC3: goto uIEzZ; AY61e: $bagi_jodoh = $info->tampil_jodohkan / 100; goto VSnqB; Vx3Xp: $bagi_pg2 = $info->tampil_kompleks / 100; goto WQz0j; bFBam: $updated++; goto dndoq; zshC2: $ada_jawaban_isian = isset($jawabans_siswa["4"]); goto KHYw_; hqH1o: $info = $this->cbt->getJadwalById($id_jadwal); goto ZIOQw; x2JME: vqzxT: goto ZIOel; xzj6a: foreach ($jawabans as $jawaban_siswa) { goto LC5vB; FBwnR: cMaIo: goto wpc3Q; HoXOb: p_xab: goto qhba7; YMg07: $jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar); goto xK3R2; qxnwP: $jawaban_siswa->jawaban_benar = array_map("strtoupper", $jawaban_siswa->jawaban_benar); goto t91xz; pW9FH: $jawaban_siswa->jawaban_benar = json_decode(json_encode($jawaban_siswa->jawaban_benar)); goto Q6O91; qhba7: if (!($jawaban_siswa->jenis_soal == "3")) { goto PLv3P; } goto z7fbU; t91xz: $jawaban_siswa->jawaban_benar = array_filter($jawaban_siswa->jawaban_benar, "strlen"); goto HoXOb; lhdb0: $jawabans_siswa[$jawaban_siswa->jenis_soal][] = $jawaban_siswa; goto FBwnR; Q6O91: PLv3P: goto lhdb0; n230q: $jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar); goto qxnwP; NqF8o: $jawaban_siswa->opsi_a = @unserialize($jawaban_siswa->opsi_a); goto LYQN5; LYQN5: $jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa); goto n230q; z7fbU: $jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa); goto YMg07; LC5vB: if (!($jawaban_siswa->jenis_soal == "2")) { goto p_xab; } goto NqF8o; xK3R2: $jawaban_siswa->jawaban_siswa = json_decode(json_encode($jawaban_siswa->jawaban_siswa)); goto pW9FH; wpc3Q: } goto oox4g; dMIqg: $jawaban_pg = isset($jawabans_siswa["1"]) ? $jawabans_siswa["1"] : []; goto Y8Dej; HuKWX: YWMVW: goto Wu5KQ; P4415: $insert = ["id_nilai" => $id_siswa . "0" . $id_jadwal, "id_siswa" => $id_siswa, "id_jadwal" => $id_jadwal, "pg_benar" => $benar_pg, "pg_nilai" => round($skor_pg, 2), "kompleks_nilai" => round($skor_pg2, 2), "jodohkan_nilai" => round($skor_jod, 2), "isian_nilai" => round($skor_is, 2), "essai_nilai" => round($skor_es, 2), "dikoreksi" => $memulai === "2" ? "0" : "1"]; goto YNz8G; YNz8G: $test_data[] = $insert; goto kDnnn; ZIOQw: $jawabans = $this->cbt->getJawabanByBank($info->id_bank, $id_siswa); goto MNULD; zjvtc: uqnML: goto ZWYq1; Et69n: $s_es = $bagi_essai == 0 ? 0 : $benar_es / $bagi_essai * $bobot_essai; goto ITVeF; dBD8s: $skor_koreksi_pg2 = 0.0; goto tB9mf; Y8Dej: $benar_pg = 0; goto xgjl7; qx3JL: $bobot_pg = $info->bobot_pg / 100; goto Vx3Xp; gXF8a: $skor_koreksi_es = 0.0; goto gez5K; Wu5KQ: LSiYS: goto rRNgr; Y2RYL: if (!(count($jawaban_pg) > 0)) { goto anqgO; } goto weMpS; BG1XY: $otomatis_is = 0; goto aqFUX; JNvHN: foreach ($jawaban_jodoh as $num => $jawab_jod) { goto sW7DZ; DMQI3: $headJawab = array_shift($arrJawab); goto cesSF; sW7DZ: $skor_koreksi_jod += $jawab_jod->nilai_koreksi; goto ESXS7; egh8r: foreach ($arrSoal as $kolSoal) { goto u4CaD; Xc980: $jwb->title = array_shift($kolSoal); goto vL48u; lf033: ZCdFt: goto B633k; u4CaD: $jwb = new stdClass(); goto z9z8F; vL48u: array_push($arrJwbSoal, $jwb); goto lf033; YbAEE: HlGTC: goto Xc980; z9z8F: foreach ($kolSoal as $pos => $kol) { goto e5HIl; vem5Z: $items++; goto havXV; havXV: MLsT0: goto dd3Lo; e5HIl: if (!($kol == "1")) { goto MLsT0; } goto F4rgw; F4rgw: $jwb->subtitle[] = $headSoal[$pos]; goto vem5Z; dd3Lo: sCcTy: goto vuyRL; vuyRL: } goto YbAEE; B633k: } goto pYJ2g; tKTEB: $arrJwbSoal = []; goto nKLjv; gEBK0: LWNTK: goto k2Edr; ElvvL: $arrJawab = $jawab_jod->jawaban_siswa->jawaban; goto DMQI3; fIcew: foreach ($arrJawab as $kolJawab) { goto c66qu; Sii9Y: foreach ($kolJawab as $po => $kol) { goto KzzlV; FUWXQ: zeHzp: goto XnzyW; yB_gJ: oJINT: goto FUWXQ; t60Dp: $jwbs->subtitle[] = $sub; goto yB_gJ; KzzlV: if (!($kol == "1")) { goto oJINT; } goto Km281; Km281: $sub = $headJawab[$po]; goto t60Dp; XnzyW: } goto R5Zpu; qMKU3: YjIiV: goto ZBPsq; R5Zpu: J07cw: goto pFNta; pFNta: array_push($arrJwbJawab, $jwbs); goto qMKU3; c66qu: $jwbs = new stdClass(); goto Sii9Y; ZBPsq: } goto gEBK0; dwxgy: UxSEg: goto ppZue; xUc9c: $item_salah = 0; goto OLrNW; HhrhQ: k43S9: goto U33lq; zcZ6X: $headSoal = array_shift($arrSoal); goto tKTEB; sTsU5: $otomatis_jod = $jawab_jod->nilai_otomatis; goto dwxgy; nKLjv: $items = 0; goto egh8r; cesSF: $arrJwbJawab = []; goto fIcew; U33lq: $benar_jod += 1 / $items * $item_benar; goto sTsU5; OLrNW: foreach ($arrJwbJawab as $p => $ajjs) { goto nZUUb; qJchH: foreach ($ajjs->subtitle as $pp => $ajs) { goto xAB_m; vTWIl: s_h1Q: goto nSz9E; v18x1: Q13Cv: goto vTWIl; P8sbP: $item_benar++; goto v18x1; x1G6F: wkvA6: goto P8sbP; xAB_m: if (in_array($ajs, $arrJwbSoal[$p]->subtitle)) { goto wkvA6; } goto kyHOt; kyHOt: $item_salah++; goto OICWy; OICWy: goto Q13Cv; goto x1G6F; nSz9E: } goto okm2A; okm2A: tjUa4: goto LHKx8; LHKx8: CBRJW: goto zpei0; zpei0: rbBaS: goto j0Gfo; nZUUb: if (!isset($ajjs->subtitle)) { goto CBRJW; } goto qJchH; j0Gfo: } goto HhrhQ; pYJ2g: Pm_FB: goto ElvvL; k2Edr: $item_benar = 0; goto xUc9c; ESXS7: $arrSoal = $jawab_jod->jawaban_benar->jawaban; goto zcZ6X; ppZue: } goto oUif6; uIEzZ: $s_is = $bagi_isian == 0 ? 0 : $benar_is / $bagi_isian * $bobot_isian; goto ZyZFS; xgjl7: $salah_pg = 0; goto Trb5T; pWJgG: $s_jod = $bagi_jodoh == 0 ? 0 : $benar_jod / $bagi_jodoh * $bobot_jodoh; goto EFDsh; swkh5: $skor_koreksi_jod = 0.0; goto hl0Z_; dndoq: bj5L3: goto efK_S; UGrYz: $s_pg2 = $bagi_pg2 == 0 ? 0 : $benar_pg2 / $bagi_pg2 * $bobot_pg2; goto q4clH; VSnqB: $bobot_jodoh = $info->bobot_jodohkan / 100; goto dqBA7; RcUIj: $jawaban_es = $ada_jawaban_essai ? $jawabans_siswa["5"] : []; goto y_YGm; Zu6gs: $benar_is = 0; goto qtpCY; oox4g: FQ0AV: goto zshC2; Ofd35: foreach ($jawaban_pg2 as $num => $jawab_pg2) { goto ABKUJ; TKLhI: $skor_koreksi_pg2 += $jawab_pg2->nilai_koreksi; goto ivJ5V; rc8RB: xu_pZ: goto TiUY4; ABKUJ: $otomatis_pg2 = $jawab_pg2->nilai_otomatis; goto TKLhI; ivJ5V: $arr_benar = []; goto TdVDT; nC2r8: $benar_pg2 += 1 / count($jawab_pg2->jawaban_benar) * count($arr_benar); goto rc8RB; TdVDT: foreach ($jawab_pg2->jawaban_siswa as $js) { goto Mkq5_; hzAYI: BEb8w: goto scyg0; Mkq5_: if (!in_array($js, $jawab_pg2->jawaban_benar)) { goto QOvIb; } goto QHsnE; QHsnE: array_push($arr_benar, true); goto kZGuN; kZGuN: QOvIb: goto hzAYI; scyg0: } goto znyIF; OXPPg: if (!(count($jawab_pg2->jawaban_benar) > 0)) { goto xu_pZ; } goto nC2r8; TiUY4: RlyfI: goto Q0p5Q; znyIF: p83b5: goto OXPPg; Q0p5Q: } goto HuKWX; y_YGm: $benar_es = 0; goto gXF8a; FjfGi: if (!(count($jawaban_is) > 0)) { goto EmNBk; } goto Lj4CE; pZZlg: if (!($info->tampil_jodohkan > 0)) { goto pp0pk; } goto YW32k; ZUQax: if (!$upd) { goto bj5L3; } goto bFBam; MNULD: $jawabans_siswa = []; goto xzj6a; Trb5T: if (!($info->tampil_pg > 0)) { goto uqnML; } goto Y2RYL; qKqBu: $bobot_essai = $info->bobot_esai / 100; goto dMIqg; oUif6: UL4v2: goto P2w9B; eeNwq: if (!($info->tampil_esai > 0)) { goto U4ODc; } goto UcSHL; rRNgr: CYkl3: goto UGrYz; gez5K: $otomatis_es = 0; goto eeNwq; YW32k: if (!(count($jawaban_jodoh) > 0)) { goto Wto_y; } goto JNvHN; RP7RC: ijnto: goto Kk5VX; WQz0j: $bobot_pg2 = $info->bobot_kompleks / 100; goto AY61e; RPN4v: $jawaban_pg2 = isset($jawabans_siswa["2"]) ? $jawabans_siswa["2"] : []; goto jfKBk; EFDsh: $skor_jod = $otomatis_jod == 0 ? $s_jod : $skor_koreksi_jod; goto P0gp6; tB9mf: $otomatis_pg2 = 0; goto UL6eX; q4clH: $skor_pg2 = $otomatis_pg2 == 0 ? $s_pg2 : $skor_koreksi_pg2; goto u_F3W; UL6eX: if (!($info->tampil_kompleks > 0)) { goto CYkl3; } goto AZMfU; u_F3W: $jawaban_jodoh = isset($jawabans_siswa["3"]) ? $jawabans_siswa["3"] : []; goto i2zM3; P0gp6: $jawaban_is = $ada_jawaban_isian ? $jawabans_siswa["4"] : []; goto Zu6gs; qSZSO: $bobot_isian = $info->bobot_isian / 100; goto UXWYJ; efK_S: hD1VB: goto kBKR1; UXWYJ: $bagi_essai = $info->tampil_esai / 100; goto qKqBu; weMpS: foreach ($jawaban_pg as $jwb_pg) { goto CjkOH; SLBvk: $benar_pg += 1; goto zHEXM; zHEXM: LibdB: goto KAuF3; KAuF3: cjFhp: goto DwNUf; t521_: if (strtoupper($jwb_pg->jawaban_siswa) == strtoupper($jwb_pg->jawaban_benar)) { goto pFTwO; } goto bmWpA; CjkOH: if (!($jwb_pg != null && $jwb_pg->jawaban_siswa != null)) { goto cjFhp; } goto t521_; bmWpA: $salah_pg += 1; goto am9I9; am9I9: goto LibdB; goto s7oFv; DwNUf: BgCMo: goto Xvhl1; s7oFv: pFTwO: goto SLBvk; Xvhl1: } goto RP7RC; kDnnn: $upd = $this->db->replace("cbt_nilai", $insert); goto ZUQax; kBKR1: } goto pKUyD; xV6y1: $id_jadwal = $this->input->post("id_jadwal", true); goto lyaYN; c88QQ: $data["siswa"] = $siswas; goto M24ML; yY5cR: $this->load->model("Cbt_model", "cbt"); goto xV6y1; u8Gf2: $updated = 0; goto z8ikc; vlP8Q: } public function inputEssai() { goto nVNHw; Jilqn: $this->load->view("_templates/dashboard/_header", $data); goto hVZNj; thLnF: $this->load->view("cbt/nilai/nilai_essai"); goto XToEJ; un6YF: $smt = $this->dashboard->getSemesterActive(); goto VsOoS; zgCF2: tZh89: goto q3Pl5; OUC5T: $ids = []; goto WShtC; NMVEm: $data["tp_active"] = $tp; goto BAu4F; yCoX8: foreach ($siswas as $siswa) { goto kIBWr; SYbgk: $siswa->skor_essai = isset($nilai[$siswa->id_siswa]) ? $nilai[$siswa->id_siswa]->essai_nilai : "0"; goto GjY9_; kIdeF: $siswa->skor_pg2 = isset($nilai[$siswa->id_siswa]) ? $nilai[$siswa->id_siswa]->kompleks_nilai : "0"; goto jB4p6; jB4p6: $siswa->skor_jod = isset($nilai[$siswa->id_siswa]) ? $nilai[$siswa->id_siswa]->jodohkan_nilai : "0"; goto CkJPk; kIBWr: $siswa->skor_pg = isset($nilai[$siswa->id_siswa]) ? $nilai[$siswa->id_siswa]->pg_nilai : "0"; goto kIdeF; GjY9_: KaE5x: goto UowXU; CkJPk: $siswa->skor_isian = isset($nilai[$siswa->id_siswa]) ? $nilai[$siswa->id_siswa]->isian_nilai : "0"; goto SYbgk; UowXU: } goto etlz9; gYzOq: $kelas_selected = $this->input->get("kelas"); goto thy1H; XToEJ: $this->load->view("members/guru/templates/footer"); goto GwuTm; qL3Xt: $data["jadwal_selected"] = $jadwal_selected; goto pNwsq; QEOTx: $user = $this->ion_auth->user()->row(); goto kB_uO; nYL18: $guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto Rr0N7; dhMvc: $data["kelas_selected"] = $kelas_selected; goto qL3Xt; UoSxZ: Mr2Z1: goto IylMq; BAu4F: $data["smt_active"] = $smt; goto zSosr; VSy8h: if ($this->ion_auth->is_admin()) { goto DtTpX; } goto nYL18; VsOoS: $siswas = $this->cbt->getSiswaByKelas($tp->id_tp, $smt->id_smt, $kelas_selected); goto OUC5T; zSosr: $data["nama_kelas"] = $this->dropdown->getNamaKelasById($tp->id_tp, $smt->id_smt, $kelas_selected); goto dhMvc; nVNHw: $this->load->model("Dashboard_model", "dashboard"); goto U9a0Z; IylMq: $nilai = $this->cbt->getNilaiAllSiswa([$jadwal_selected], $ids); goto yCoX8; S8lHI: $data["siswas"] = $siswas; goto VSy8h; FA_zR: $info = $this->cbt->getJadwalById($jadwal_selected); goto I3Mt1; hVZNj: $this->load->view("cbt/nilai/nilai_essai"); goto P8AFm; ktPfn: $this->load->view("members/guru/templates/header", $data); goto thLnF; pNwsq: $data["jadwal"] = $info; goto S8lHI; jn260: $data["tp"] = $this->dashboard->getTahun(); goto k5eEJ; P8AFm: $this->load->view("_templates/dashboard/_footer"); goto zgCF2; thy1H: $jadwal_selected = $this->input->get("jadwal"); goto FA_zR; bvroF: DtTpX: goto Jilqn; I3Mt1: $tp = $this->dashboard->getTahunActive(); goto un6YF; zGEOP: $this->load->model("Dropdown_model", "dropdown"); goto gYzOq; WShtC: foreach ($siswas as $key => $val) { array_push($ids, $val->id_siswa); nPcw0: } goto UoSxZ; Rr0N7: $data["guru"] = $guru; goto ktPfn; kB_uO: $data = ["user" => $user, "judul" => "Input Nilai Manual", "subjudul" => '', "profile" => $this->dashboard->getProfileAdmin($user->id), "setting" => $this->dashboard->getSetting()]; goto jn260; U9a0Z: $this->load->model("Cbt_model", "cbt"); goto zGEOP; GwuTm: goto tZh89; goto bvroF; k5eEJ: $data["smt"] = $this->dashboard->getSemester(); goto NMVEm; etlz9: xNFYc: goto QEOTx; q3Pl5: } public function simpanKoreksiEssai() { goto zRh32; wKGV2: KJ6VY: goto yMaeh; ksGUC: $data["data"] = $nilais; goto teCAw; zRh32: $this->load->model("Cbt_model", "cbt"); goto HVfFd; teCAw: $data["blm_selesai"] = count($blm_selesai); goto sTxQc; oh6Pm: foreach ($nilais as $nilai) { goto yDC2N; WHGbN: $update++; goto frZW4; n63HT: $up = $this->db->replace("cbt_nilai", $replace); goto L6rpv; WCMOT: if ($nilai_siswa != null) { goto FhZy1; } goto pDI03; yDC2N: $nilai_siswa = $this->cbt->getNilaiSiswaByJadwal($jadwal, $nilai->id_siswa); goto WCMOT; pDI03: array_push($blm_selesai, $nilai->id_siswa); goto Z8eW8; L6rpv: if (!$up) { goto q1m2v; } goto WHGbN; Xc6Uw: FhZy1: goto wVH7Q; Z8eW8: goto eUjwG; goto Xc6Uw; wVH7Q: $replace = ["id_nilai" => $nilai_siswa->id_nilai, "id_siswa" => $nilai_siswa->id_siswa, "id_jadwal" => $nilai_siswa->id_jadwal, "pg_benar" => $nilai_siswa->pg_benar, "pg_nilai" => $nilai_siswa->pg_nilai, "kompleks_nilai" => isset($nilai->kompleks_nilai) && $nilai->kompleks_nilai != null ? $nilai->kompleks_nilai : "0", "jodohkan_nilai" => isset($nilai->jodohkan_nilai) && $nilai->jodohkan_nilai != null ? $nilai->jodohkan_nilai : "0", "isian_nilai" => isset($nilai->isian_nilai) && $nilai->isian_nilai != null ? $nilai->isian_nilai : "0", "essai_nilai" => isset($nilai->essai_nilai) && $nilai->essai_nilai != null ? $nilai->essai_nilai : "0", "dikoreksi" => "1"]; goto n63HT; AGrzF: eUjwG: goto n7cAm; frZW4: q1m2v: goto AGrzF; n7cAm: Vljkz: goto GojOk; GojOk: } goto wKGV2; ZjRM4: $update = 0; goto XC_kC; HVfFd: $jadwal = $this->input->post("jadwal", true); goto bMxGC; yMaeh: $data["success"] = $update; goto ksGUC; XC_kC: $blm_selesai = []; goto oh6Pm; bMxGC: $nilais = json_decode($this->input->post("nilai", true)); goto ZjRM4; sTxQc: $this->output_json($data); goto o4wUb; o4wUb: } } 
 ?>

Did this file decode correctly?

Original Code

<?php
/*   ________________________________________
    |                 GarudaCBT              |
    |    https://github.com/garudacbt/cbt    |
    |________________________________________|
*/
 class Cbtnilai extends CI_Controller { public function __construct() { goto hyD_g; y7352: $this->load->library(["\x64\141\x74\x61\x74\141\x62\x6c\x65\x73", "\x66\x6f\162\x6d\x5f\166\x61\x6c\151\144\x61\x74\x69\x6f\x6e"]); goto l7yNM; l7yNM: $this->load->library("\165\160\x6c\157\x61\144"); goto s8wmI; nAAyG: Lo6vZ: goto y7352; FXKlF: if (!$this->ion_auth->logged_in()) { goto YWAAe; } goto paxa7; yYv4T: OZOX1: goto wseTA; wseTA: goto Lo6vZ; goto wVSk7; wVSk7: YWAAe: goto J8aye; paxa7: if (!(!$this->ion_auth->is_admin() && !$this->ion_auth->in_group("\147\165\162\165"))) { goto OZOX1; } goto mFp_T; s8wmI: $this->form_validation->set_error_delimiters('', ''); goto G5W3e; hyD_g: parent::__construct(); goto FXKlF; J8aye: redirect("\x61\165\x74\x68"); goto nAAyG; mFp_T: show_error("\x48\x61\x6e\171\x61\40\x41\144\155\151\156\x69\x73\164\162\x61\164\x6f\162\x20\171\x61\156\x67\x20\x64\x69\x62\x65\162\x69\40\x68\141\x6b\40\x75\x6e\x74\165\153\x20\155\x65\x6e\147\141\x6b\x73\145\x73\40\150\141\154\141\x6d\141\x6e\40\x69\x6e\151\54\40\x3c\x61\40\150\162\x65\146\x3d\x22" . base_url("\x64\x61\x73\x68\142\157\141\x72\144") . "\42\x3e\x4b\x65\155\x62\x61\x6c\151\x20\153\x65\40\x6d\145\x6e\165\x20\x61\x77\x61\x6c\74\57\141\76", 403, "\x41\x6b\x73\145\x73\40\x54\x65\162\x6c\141\x72\x61\x6e\147"); goto yYv4T; G5W3e: } public function output_json($data, $encode = true) { goto mk68f; B21Ed: $data = json_encode($data); goto d97YL; d97YL: v3Uj8: goto C6lav; mk68f: if (!$encode) { goto v3Uj8; } goto B21Ed; C6lav: $this->output->set_content_type("\141\160\160\x6c\151\143\x61\x74\x69\157\x6e\57\x6a\163\x6f\x6e")->set_output($data); goto kaURv; kaURv: } public function index() { goto ecgqh; EczMr: $data = ["\x75\163\145\162" => $user, "\x6a\165\144\165\154" => "\x48\141\163\x69\154\x20\125\x6a\151\x61\156\40\x53\151\163\x77\x61", "\x73\x75\x62\152\x75\144\x75\x6c" => "\116\x69\154\x61\x69\40\123\151\x73\x77\141", "\x73\x65\x74\x74\151\x6e\147" => $this->dashboard->getSetting()]; goto ecDO8; xRTWU: $user = $this->ion_auth->user()->row(); goto kaFBu; abuHR: $data["\163\x6d\164"] = $this->dashboard->getSemester(); goto CjYBe; sPa34: $jawabans = $this->cbt->getJawabanSiswaByJadwal($jadwal_selected, $ids); goto tgY9f; csLHN: $guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto v8f_u; he8p4: foreach ($jawabans as $jawaban_siswa) { goto GEw0e; NjehS: xWmiD: goto QHLp3; aCCoi: $soal[$jawaban_siswa->jenis_soal][] = $jawaban_siswa; goto NjehS; Pii_o: if (!($jawaban_siswa->jenis_soal == "\63")) { goto frlGk; } goto pSU2b; s9wQ0: $jawaban_siswa->jawaban = json_decode(json_encode($jawaban_siswa->jawaban)); goto WM3DO; WM3DO: frlGk: goto lIOKU; FnFx2: $jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar); goto FMTQS; tzzge: $jawaban_siswa->opsi_a = @unserialize($jawaban_siswa->opsi_a); goto fnLBe; stCzV: $jawaban_siswa->jawaban = @unserialize($jawaban_siswa->jawaban); goto t1Nji; fnLBe: $jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa); goto KxomB; WLC7V: $jawaban_siswa->jawaban_benar = array_filter($jawaban_siswa->jawaban_benar, "\163\164\162\154\x65\156"); goto HPP4_; lIOKU: $jawabans_siswa[$jawaban_siswa->id_siswa][$jawaban_siswa->jenis_soal][] = $jawaban_siswa; goto aCCoi; sQpC3: $jawaban_siswa->jawaban_benar = json_decode(json_encode($jawaban_siswa->jawaban_benar)); goto s9wQ0; UQMa7: Ewum7: goto Pii_o; t1Nji: $jawaban_siswa->jawaban_benar = array_map("\x73\164\x72\x74\157\165\x70\x70\145\162", $jawaban_siswa->jawaban_benar); goto DnlvJ; FMTQS: $jawaban_siswa->jawaban = @unserialize($jawaban_siswa->jawaban); goto R3RAV; KxomB: $jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar); goto stCzV; R3RAV: $jawaban_siswa->jawaban_siswa = json_decode(json_encode($jawaban_siswa->jawaban_siswa)); goto sQpC3; GEw0e: if (!($jawaban_siswa->jenis_soal == "\62")) { goto Ewum7; } goto tzzge; pSU2b: $jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa); goto FnFx2; DnlvJ: $jawaban_siswa->jawaban = array_map("\x73\164\162\164\x6f\165\x70\160\145\x72", $jawaban_siswa->jawaban); goto WLC7V; HPP4_: $jawaban_siswa->jawaban = array_filter($jawaban_siswa->jawaban, "\x73\164\162\x6c\x65\x6e"); goto UQMa7; QHLp3: } goto zES1a; zES1a: b__k7: goto h03v5; Oy3Ei: $data["\x70\162\x6f\146\x69\154\x65"] = $this->dashboard->getProfileAdmin($user->id); goto oj9R6; FtqGS: $siswas = $this->cbt->getSiswaByKelas($tp->id_tp, $smt->id_smt, $kelas_selected); goto X4_T0; h03v5: $durasies = $this->cbt->getDurasiSiswaByJadwal($jadwal_selected); goto MwD98; ecgqh: $this->load->model("\104\141\163\150\x62\x6f\x61\162\x64\137\155\157\144\x65\x6c", "\144\x61\x73\150\142\157\141\x72\144"); goto eJqIb; SNTCI: $kelas_bank = unserialize($info->bank_kelas); goto Ml0wm; T0vcB: $data["\163\x69\x73\x77\141\x73"] = []; goto BnCsp; Y7CTo: if ($this->ion_auth->in_group("\x67\x75\162\x75")) { goto w5Pgj; } goto ZhX66; V8yIO: $this->load->view("\x63\142\164\57\x6e\151\x6c\x61\151\57\144\x61\x74\141"); goto Z_FY2; poMHY: vNIez: goto tah5z; rs0cv: cv_C8: goto sPa34; rmHXV: w5Pgj: goto csLHN; SkXvT: $id_guru = $guru->id_guru; goto pMX0e; qQAUC: $data["\x74\160\137\141\x63\164\x69\x76\145"] = $tp; goto abuHR; c9Tbo: $data["\162\165\141\x6e\147"] = $this->dropdown->getAllRuang(); goto c78NU; AlGFM: $data["\x69\156\146\157"] = $info; goto UsKM6; mO65i: foreach ($jadwals as $jadwal) { goto C4h64; QVo64: HexSl: goto QRAln; C4h64: $kls = unserialize($jadwal->bank_kelas); goto J4mA4; J4mA4: foreach ($kls as $kl) { goto VVNY7; jmpH8: ojiB4: goto Kk_sj; tBgd_: $jdwl[$jadwal->id_jadwal] = $jadwal->bank_kode; goto jmpH8; VVNY7: if (!($kl["\x6b\x65\x6c\x61\163\x5f\151\144"] == $kelas_selected)) { goto ojiB4; } goto tBgd_; Kk_sj: d_wlZ: goto CAE6x; CAE6x: } goto o3vFV; o3vFV: JznJy: goto QVo64; QRAln: } goto WlW99; uQPg9: $jawabans_siswa = []; goto he8p4; rR7lf: J03TZ: goto j6A6n; VCT83: $ya = $this->input->get("\171\141"); goto KFO5c; kaFBu: $this->db->trans_start(); goto EczMr; xB2SG: $bobot_essai = $info->bobot_esai / 100; goto FtqGS; jiTBu: $this->load->view("\155\x65\x6d\x62\x65\162\x73\x2f\147\165\162\x75\57\x74\x65\x6d\160\x6c\141\164\x65\x73\x2f\x66\157\157\x74\x65\162"); goto OsL57; DUUB5: $this->load->model("\104\x72\157\160\144\x6f\167\x6e\137\155\x6f\x64\145\x6c", "\144\162\x6f\160\x64\157\167\x6e"); goto Tl5Dv; ZhX66: $id_guru = null; goto Hdp04; CjYBe: $data["\x73\155\164\137\x61\143\x74\x69\166\x65"] = $smt; goto c9Tbo; byGqS: $arrKelas = []; goto uuUMf; DW2fr: $jadwal_selected = $this->input->get("\x6a\141\144\167\141\x6c"); goto u3w7j; RqkkM: foreach ($siswas as $key => $value) { array_push($ids, $value->id_siswa); iwCTa: } goto rs0cv; Ml0wm: $kelases = []; goto bcipp; v8f_u: $data["\147\165\x72\165"] = $guru; goto SkXvT; okSq0: $data["\x6a\x61\x64\167\x61\x6c"] = []; goto T0vcB; bcipp: foreach ($kelas_bank as $key => $value) { goto N4Xpb; uuKDM: $kelases[$value["\x6b\x65\154\141\x73\137\x69\144"]] = $this->dropdown->getNamaKelasById($tp->id_tp, $smt->id_smt, $value["\153\145\154\141\163\137\151\144"]); goto xj5Qj; N4Xpb: if (!($value["\x6b\145\x6c\141\163\x5f\151\144"] != '')) { goto Ng0Dc; } goto uuKDM; xj5Qj: Ng0Dc: goto IDYSy; IDYSy: jUyF1: goto Bs3k0; Bs3k0: } goto Nrats; c78NU: $data["\163\145\x73\x69"] = $this->dropdown->getAllSesi(); goto fUUB6; xAvGq: $jdwl = []; goto mO65i; oj9R6: $data["\x6a\x61\x64\x77\x61\x6c\137\163\x65\154\145\143\164\145\x64"] = $jadwal_selected; goto UDXDd; WocOB: $data["\152\141\144\x77\141\x6c\137\163\x65\x6c\x65\x63\164\x65\x64"] = $jadwal_selected; goto byGqS; Tl5Dv: $this->load->model("\x4b\145\x6c\x61\163\x5f\155\x6f\144\145\154", "\x6b\x65\154\141\163"); goto xRTWU; OsL57: goto UqynG; goto KOzr3; B82v6: $this->load->view("\x63\x62\164\x2f\156\x69\x6c\x61\x69\57\144\141\x74\x61"); goto jiTBu; l4dvh: $xb = $this->input->get("\x78\142"); goto Y7CTo; WlW99: MJ1Ig: goto QMYr8; Hpee8: $mapel = json_decode(json_encode(unserialize($mapel_guru->mapel_kelas))); goto WocOB; jReKt: $this->load->view("\x5f\x74\145\x6d\x70\x6c\x61\x74\145\x73\57\x64\x61\163\x68\142\x6f\141\x72\144\x2f\137\x68\145\141\144\145\x72", $data); goto V8yIO; MSXoz: foreach ($siswas as $siswa) { goto pOdna; DeVQJ: V7HBq: goto WirWo; WirWo: if (!($total > $xa)) { goto nIEYP; } goto XeJvm; Fi0YZ: ogOZA: goto G8gKs; b8t6D: $skor_koreksi_pg2 = 0.0; goto DteLA; esliE: $siswa->lama_ujian = $loading . $dur_siswa; goto Taju3; wBCSn: $jawaban_pg = $ada_jawaban_pg ? $jawabans_siswa[$siswa->id_siswa]["\61"] : []; goto Z9NRX; r2Epp: $siswa->skor_katrol = ''; goto GlbcJ; rASOk: $benar_jod = 0; goto pFEla; pOdna: $dur_siswa = ''; goto w02fA; XAsDg: $s_is = $bagi_isian == 0 ? 0 : $benar_is / $bagi_isian * $bobot_isian; goto OzrSb; FujLZ: Y3JfJ: goto HrkCa; yGCuN: $skor_koreksi_es = 0.0; goto YzJUe; sg72S: $benar_is = 0; goto pqGg8; zRwVS: ZUuYh: goto Ez9dC; SmgMR: $input_pg2 = $nilai_input->kompleks_nilai; goto SGJRK; hjSCY: $siswa->skor_essai = round($skor_es, 2); goto Ae_fn; EW4NA: $n++; goto VT5rv; wi7gX: $ada_jawaban_jodoh = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\63"]); goto BibeA; IW4Jo: $siswa->skor_total = round($total, 2); goto yvpBV; ivU4g: if (!($n < $info->tampil_pg)) { goto ZUuYh; } goto nsrfB; EaVR7: $skor_pg = $benar_pg / $bagi_pg * $bobot_pg; goto aoVoZ; pqGg8: if (!($info->tampil_isian > 0)) { goto lihJu; } goto zCroq; zCroq: foreach ($jawaban_is as $num => $jawab_is) { goto SiCgq; XN1mK: goto kVznp; goto JKsrA; OwXBF: JlJv1: goto kfziH; SiCgq: $skor_koreksi_is += $jawab_is->nilai_koreksi; goto lV8XY; JKsrA: MZ1tv: goto XPFUy; YXVLi: if (!$benar) { goto P2oQG; } goto Wus9T; Wus9T: $benar_is++; goto FM2za; L8Zt9: $point = !$benar ? 0 : ($info->bobot_isian > 0 ? round($info->bobot_isian / $info->tampil_isian, 2) : 0); goto c2MhF; rQy_E: $otomatis_is = $jawab_is->nilai_otomatis; goto OwXBF; P91QA: $soal[4][$ks]->point_koreksi = $jawab_is->nilai_koreksi; goto lRaS8; OZSwU: $soal[4][$ks]->point = $jawab_is->nilai_koreksi; goto XN1mK; c2MhF: if ($jawab_is->nilai_otomatis == "\x30") { goto MZ1tv; } goto OZSwU; FM2za: P2oQG: goto czzqx; lV8XY: $benar = $jawab_is != null && strtolower($jawab_is->jawaban_siswa) == strtolower($jawab_is->jawaban); goto YXVLi; zDIy7: kVznp: goto P91QA; XPFUy: $soal[4][$ks]->point = $point; goto zDIy7; czzqx: $ks = array_search($jawab_is->nomor_soal, array_column($soal[4], "\156\x6f\155\x6f\162\137\x73\x6f\x61\x6c")); goto L8Zt9; lRaS8: $soal[4][$ks]->point_otomatis = $point; goto rQy_E; kfziH: } goto ZqMoR; oFzaG: sRTva: goto RYxDg; Taju3: $siswa->durasi_ujian = $lamanya; goto Z2BoJ; FieGY: w8FXy: goto WGgwY; pLW86: hZV3i: goto SlPpi; Cg3SO: $skor_jod = $input_jod != 0 ? $input_jod : ($otomatis_jod == 0 ? $s_jod : $skor_koreksi_jod); goto eEspG; nsrfB: $arrJawabanPg[$n + 1] = ["\152\x61\167\x61\142\141\156" => '', "\142\145\156\x61\162" => false]; goto UiK5t; D0NK_: $siswa->dikoreksi = $nilai_input->dikoreksi; goto FieGY; s3GYO: if (!($nilai_input != null && $nilai_input->isian_nilai != null)) { goto kKu5q; } goto XXOUH; h44Gf: $jawaban_jodoh = $ada_jawaban_jodoh ? $jawabans_siswa[$siswa->id_siswa]["\63"] : []; goto H5noB; dfyuv: $selesai = "\55\x20\x2d\40\40\72\x20\40\55\40\55"; goto Rcj29; Z9NRX: $benar_pg = 0; goto JszV7; DDNpQ: $skor_koreksi_is = 0.0; goto XYDWn; yvpBV: if ($ya != null) { goto V7HBq; } goto r2Epp; tI7QE: $s_jod = $bagi_jodoh == 0 ? 0 : $benar_jod / $bagi_jodoh * $bobot_jodoh; goto uC5L1; BW_AY: foreach ($jawaban_es as $num => $jawab_es) { goto abJOE; WDA16: $soal[5][$ks]->point = $point; goto e0rS3; ZmmG9: FFGP5: goto a0KuU; RToCF: $benar = $jawab_es != null && strtolower($jawab_es->jawaban_siswa) == strtolower($jawab_es->jawaban); goto szdj_; gZ3ar: goto BoWAl; goto ZGYVl; Mu6km: $benar_es++; goto ZmmG9; ZGYVl: fIgOF: goto WDA16; szdj_: if (!$benar) { goto FFGP5; } goto Mu6km; rDUs4: UYRgr: goto mkS6i; NFx35: $soal[5][$ks]->point_koreksi = $jawab_es->nilai_koreksi; goto oAuLo; L3lKl: $otomatis_es = $jawab_es->nilai_otomatis; goto rDUs4; GT_K3: if ($jawab_es->nilai_otomatis == "\x30") { goto fIgOF; } goto FU3AO; FU3AO: $soal[5][$ks]->point = $jawab_es->nilai_koreksi; goto gZ3ar; e0rS3: BoWAl: goto NFx35; abJOE: $skor_koreksi_es += (int) $jawab_es->nilai_koreksi; goto RToCF; oAuLo: $soal[5][$ks]->point_otomatis = $point; goto L3lKl; ez67F: $point = !$benar ? 0 : ($info->bobot_esai > 0 ? round($info->bobot_esai / $info->tampil_esai, 2) : 0); goto GT_K3; a0KuU: $ks = array_search($jawab_es->nomor_soal, array_column($soal[5], "\156\x6f\155\x6f\162\x5f\163\x6f\141\x6c")); goto ez67F; mkS6i: } goto ImJm7; ZwD4f: $input_pg2 = 0; goto SdySi; Q0bJy: lihJu: goto XAsDg; SlPpi: cs4cs: goto zd9p1; oJBEO: LsUqk: goto HMc40; J0OV2: Tfs_u: goto ivU4g; ZqMoR: yGaxu: goto Q0bJy; DFeaR: $mulai = "\x2d\x20\55\40\x20\72\x20\40\55\x20\x2d"; goto dfyuv; Ez9dC: goto PDsCn; goto RzBsM; zMKYQ: $s_es = $bagi_essai == 0 ? 0 : $benar_es / $bagi_essai * $bobot_essai; goto fkY6g; YzJUe: $otomatis_es = 0; goto YoX6m; gZac9: $n = 0; goto J0OV2; PTcte: if (count($jawaban_pg) > 0) { goto EVuI1; } goto gZac9; EtXxa: foreach ($jawaban_jodoh as $num => $jawab_jod) { goto gSKAV; b9gDb: $arrJwbJawab = []; goto n81tQ; z7JT8: $soal[3][$ks]->point = $point; goto A1bmp; xC16U: $item_benar = 0; goto qkWR0; UxEdA: C0ngi: goto NY2Kr; oKtm1: if ($jawab_jod->nilai_otomatis == "\60") { goto TCBRT; } goto rQyAA; aZ0V3: $arrJawab = $jawab_jod->jawaban_siswa->jawaban; goto bXg3k; slzmv: foreach ($arrJwbSoal as $ps => $ajj) { goto kwKvn; TSDO3: foreach ($ajj->subtitle as $pps => $aj) { goto ISTQZ; txVNe: BTG6e: goto Xeyu5; DYW8C: $item_kurang++; goto vg19a; ISTQZ: if (!(isset($arrJwbJawab[$ps]) && !isset($arrJwbJawab[$ps]->subtitle[$pps]))) { goto GuU3R; } goto q73O9; pzizV: $arrBenar[$ps]->kurang = $kk; goto DYW8C; q73O9: $kk++; goto pzizV; vg19a: GuU3R: goto txVNe; Xeyu5: } goto sBgkT; kwKvn: if (!isset($ajj->subtitle)) { goto eHgTc; } goto mzRPU; sBgkT: liGNs: goto hlHpN; hlHpN: eHgTc: goto CPvUf; CPvUf: qlcBP: goto XhZ_6; LCNtz: if (!isset($arrBenar[$ps]->benar)) { goto Gw4Ja; } goto TadLx; TadLx: $point_soal += $point_subitem * $arrBenar[$ps]->benar; goto UwFaU; wnxjw: $kk = 0; goto TSDO3; mzRPU: $point_subitem = $point_item / count((array) $ajj->subtitle); goto LCNtz; UwFaU: Gw4Ja: goto wnxjw; XhZ_6: } goto zQ7SZ; opiJd: $typeSoal = $jawab_jod->jawaban->type; goto CraBH; R5g9r: $soal[3][$ks]->tabel_benar = $arrBenar; goto vUcGL; w19fE: $ks = array_search($jawab_jod->nomor_soal, array_column($soal[3], "\x6e\157\155\x6f\x72\137\x73\157\141\x6c")); goto WWr1l; Yipbt: foreach ($arrJwbJawab as $p => $ajjs) { goto W77jj; qqrRq: $bb = 0; goto wuivi; W77jj: $ll = 0; goto qqrRq; gdfVD: $arrBenar[$p] = new stdClass(); goto Lyo1T; tuzhb: f3cjn: goto HMLBE; wuivi: $ss = 0; goto gdfVD; Lyo1T: if (!isset($ajjs->subtitle)) { goto f3cjn; } goto KBjzD; KBjzD: foreach ($ajjs->subtitle as $pp => $ajs) { goto rrot6; kqzck: $ll++; goto e_3oP; w3hGS: $bb++; goto flWN2; hlmBi: $ss++; goto ccMMN; hZUe7: goto aeYET; goto U6XR8; ccMMN: $arrBenar[$p]->salah = $ss; goto HlT3w; YW5re: p30FX: goto QXCkp; U6XR8: OpOoS: goto w3hGS; YCsA2: $item_benar++; goto DyPMQ; flWN2: $arrBenar[$p]->benar = $bb; goto YCsA2; fY4jJ: if (!(isset($arrJwbSoal[$p]) && isset($arrJwbSoal[$p]->subtitle))) { goto N9feq; } goto AcWZn; DyPMQ: aeYET: goto u9wud; HlT3w: $item_salah++; goto hZUe7; k8klj: $item_lebih++; goto uaSex; AcWZn: if (in_array($ajs, $arrJwbSoal[$p]->subtitle)) { goto OpOoS; } goto hlmBi; u9wud: N9feq: goto YW5re; e_3oP: $arrBenar[$p]->lebih = $ll; goto k8klj; rrot6: if (!(isset($arrJwbSoal[$p]) && !isset($arrJwbSoal[$p]->subtitle[$pp]))) { goto IqdZ_; } goto kqzck; uaSex: IqdZ_: goto fY4jJ; QXCkp: } goto u0fAh; HMLBE: jKgva: goto hiuvJ; u0fAh: gUeXd: goto tuzhb; hiuvJ: } goto UxEdA; gSKAV: $skor_koreksi_jod += $jawab_jod->nilai_koreksi; goto opiJd; qkWR0: $item_salah = 0; goto J1dZ8; r45xL: $otomatis_jod = $jawab_jod->nilai_otomatis; goto QH4Ec; zQ7SZ: EED5F: goto R5g9r; af9A0: $soal[3][$ks]->point_koreksi = $jawab_jod->nilai_koreksi; goto Altqv; J1dZ8: $item_lebih = 0; goto Yipbt; nznuL: if (!isset($jawab_jod->jawaban_siswa->jawaban)) { goto A22QQ; } goto aZ0V3; qtuiz: TCBRT: goto z7JT8; QH4Ec: IXVCO: goto ptEGl; sQx_b: $point_item = $point_benar / count($arrSoal); goto mLJ84; eg_3d: $arrJawab = []; goto nznuL; PCh7L: $soal[3][$ks]->tabel_jawab = $arrJwbJawab; goto LIIk3; Iolno: foreach ($arrSoal as $kolSoal) { goto cohH4; TMZC4: foreach ($kolSoal as $pos => $kol) { goto lAs0g; Z1sSp: $items++; goto e5Vbo; iepgp: $jwb->subtitle[] = $headSoal[$pos]; goto Z1sSp; lAs0g: if (!($kol == "\61")) { goto FTkSp; } goto iepgp; e5Vbo: FTkSp: goto WjI97; WjI97: WJn0y: goto bRcX1; bRcX1: } goto QxwgH; QxwgH: PeclN: goto njL1o; WIicH: rTOtE: goto Hl57D; njL1o: $jwb->title = array_shift($kolSoal); goto uKINy; uKINy: array_push($arrJwbSoal, $jwb); goto WIicH; cohH4: $jwb = new stdClass(); goto TMZC4; Hl57D: } goto V5bT_; LIIk3: $arrBenar = []; goto xC16U; hona0: $headSoal = array_shift($arrSoal); goto EIzec; V3Fb7: WBfFj: goto PCh7L; Rg2sL: goto RCdk6; goto qtuiz; n81tQ: foreach ($arrJawab as $kolJawab) { goto L7SUC; bPIys: array_push($arrJwbJawab, $jwbs); goto HGwZA; L7SUC: $jwbs = new stdClass(); goto QpAY5; k3moT: lJjxM: goto V257U; QpAY5: foreach ($kolJawab as $po => $kol) { goto qF0nG; cAg7r: $jwbs->subtitle[] = $sub; goto sDuuF; CMcdb: tW1Ou: goto qtmvB; qF0nG: if (!($kol == "\61")) { goto keS52; } goto EaRWB; EaRWB: $sub = $headJawab[$po]; goto cAg7r; sDuuF: keS52: goto CMcdb; qtmvB: } goto k3moT; HGwZA: LJHXE: goto jEAs1; V257U: $jwbs->title = array_shift($kolJawab); goto bPIys; jEAs1: } goto V3Fb7; VI0UQ: $point_benar = $info->bobot_jodohkan > 0 ? round($info->bobot_jodohkan / $info->tampil_jodohkan, 2) : 0; goto sQx_b; G4xDf: $point = round($point_soal, 2); goto oKtm1; o91Z3: $point_soal = 0; goto slzmv; CraBH: $arrSoal = $jawab_jod->jawaban->jawaban; goto hona0; vUcGL: $soal[3][$ks]->point_soal = $point_soal; goto G4xDf; EIzec: $arrJwbSoal = []; goto jHO40; WWr1l: $soal[3][$ks]->type_soal = $typeSoal; goto IhHYz; Altqv: $soal[3][$ks]->point_otomatis = $point; goto r45xL; A1bmp: RCdk6: goto af9A0; mLJ84: $item_kurang = 0; goto o91Z3; bXg3k: $headJawab = array_shift($arrJawab); goto qF18p; rQyAA: $soal[3][$ks]->point = $jawab_jod->nilai_koreksi; goto Rg2sL; jHO40: $items = 0; goto Iolno; V5bT_: VP9NJ: goto w19fE; IhHYz: $soal[3][$ks]->tabel_soal = $arrJwbSoal; goto eg_3d; NY2Kr: $benar_jod += 1 / $items * $item_benar; goto VI0UQ; qF18p: A22QQ: goto b9gDb; ptEGl: } goto GCl0P; zd9p1: $s_pg2 = $bagi_pg2 == 0 ? 0 : $benar_pg2 / $bagi_pg2 * $bobot_pg2; goto ZwD4f; B6PFS: $siswa->skor_kompleks = round($skor_pg2, 2); goto h44Gf; BoFy0: if (!($info->tampil_esai > 0)) { goto geBrg; } goto BW_AY; VT5rv: goto Tfs_u; goto zRwVS; T1HfM: xsgBg: goto JriXh; BibeA: $ada_jawaban_isian = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\x34"]); goto M_uuU; DEMdA: $siswa->skor_pg = round($skor_pg, 2); goto yUIpV; XI_0G: b1lCn: goto JaR2Z; SGazT: TO9OA: goto T1HfM; iD0gj: foreach ($jawaban_pg2 as $num => $jawab_pg2) { goto E78t7; E78t7: $skor_koreksi_pg2 += $jawab_pg2->nilai_koreksi; goto vIORo; vIORo: $arr_benar = []; goto maO3m; M24hJ: ddHtH: goto MmzBc; FTx3x: $point_item = count($jawab_pg2->jawaban) > 0 ? $point_benar / count($jawab_pg2->jawaban) : 0; goto KbBK6; BuYbw: Tcb_t: goto QhCxQ; w63Iz: $benar_pg2 += 1 / count($jawab_pg2->jawaban) * count($arr_benar); goto koKHJ; xOM4k: uQAkI: goto JP_T2; HwN_5: $otomatis_pg2 = $jawab_pg2->nilai_otomatis; goto BuYbw; SpQcz: $ks = array_search($jawab_pg2->nomor_soal, array_column($soal[2], "\x6e\x6f\155\157\x72\137\x73\x6f\141\154")); goto BVwhr; cAZCK: $point_benar = $info->bobot_kompleks > 0 ? round($info->bobot_kompleks / $info->tampil_kompleks, 2) : 0; goto FTx3x; MmzBc: if (!(count($jawab_pg2->jawaban) > 0)) { goto gkDhR; } goto w63Iz; SmZvO: $soal[2][$ks]->point_koreksi = $jawab_pg2->nilai_koreksi; goto qoglp; fofwH: foreach ($jawab_pg2->jawaban_siswa as $js) { goto boXMJ; AjkwS: array_push($arr_benar, true); goto mAtrL; boXMJ: if (!in_array($js, $jawab_pg2->jawaban)) { goto SpB1n; } goto AjkwS; hc693: pjknO: goto yb66k; mAtrL: SpB1n: goto hc693; yb66k: } goto JV4MZ; l4eUJ: $soal[2][$ks]->point = $jawab_pg2->nilai_koreksi; goto q2Hsm; JV4MZ: D_Fk2: goto M24hJ; qoglp: $soal[2][$ks]->point_otomatis = $point; goto HwN_5; BVwhr: $point = round($pk, 2); goto XAtOx; q2Hsm: goto c906Y; goto xOM4k; koKHJ: gkDhR: goto cAZCK; maO3m: if (!$jawab_pg2->jawaban_siswa) { goto ddHtH; } goto fofwH; XAtOx: if ($jawab_pg2->nilai_otomatis == "\x30") { goto uQAkI; } goto l4eUJ; KbBK6: $pk = $point_item * count($arr_benar); goto SpQcz; JP_T2: $soal[2][$ks]->point = $point; goto NrFfU; NrFfU: c906Y: goto SmZvO; QhCxQ: } goto pLW86; GCl0P: ZMDFy: goto U0ux7; QC2Sc: $input_es = $nilai_input->essai_nilai; goto oJBEO; GlbcJ: goto TO9OA; goto DeVQJ; ITHi2: if (!($info->tampil_kompleks > 0)) { goto cs4cs; } goto iD0gj; OzrSb: $input_is = 0; goto s3GYO; UBNFS: nIEYP: goto d5B5v; D3eRR: if (!($nilai_input != null)) { goto w8FXy; } goto D0NK_; HMc40: $skor_es = $input_es != 0 ? $input_es : ($otomatis_es == 0 ? $s_es : $skor_koreksi_es); goto hjSCY; dLXpW: $xb = $total; goto oFzaG; RzBsM: EVuI1: goto HZnbP; QOr3I: if (!($info->tampil_pg > 0)) { goto Vsna4; } goto PTcte; paeZu: Emhj6: goto Cg3SO; XYDWn: $otomatis_is = 0; goto sg72S; Ae_fn: $total = $skor_pg + $skor_pg2 + $skor_jod + $skor_is + $skor_es; goto IW4Jo; WpMz8: $ada_jawaban_pg = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\x31"]); goto Fo5ri; H5noB: $skor_koreksi_jod = 0.0; goto ZwlYm; EyFYI: $input_jod = $nilai_input->jodohkan_nilai; goto paeZu; GQncM: kKu5q: goto p7W5T; WGgwY: $jawaban_pg2 = $ada_jawaban_pg2 ? $jawabans_siswa[$siswa->id_siswa]["\62"] : []; goto oosij; p7W5T: $skor_is = $input_is != 0 ? $input_is : ($otomatis_is == 0 ? $s_is : $skor_koreksi_is); goto GeOuh; RYxDg: $siswa->skor_katrol = round(($ya - $yb) / 100 * $total + $yb, 2); goto SGazT; SdySi: if (!($nilai_input != null && $nilai_input->kompleks_nilai != null)) { goto WizA0; } goto SmgMR; U0ux7: wEaU9: goto tI7QE; yUIpV: $nilai_input = $this->cbt->getNilaiSiswaByJadwal($jadwal_selected, $siswa->id_siswa); goto D3eRR; Rcj29: foreach ($logs as $log) { goto ngGTS; JefAd: m8VPM: goto X6uTq; yJvq2: $selesai = date("\110\72\151", strtotime($log->log_time)); goto sPZyw; jYvl6: if (!($log != null)) { goto tgp1H; } goto Tr7I0; yxFKR: if ($log->log_type == "\61") { goto wP_fx; } goto ZJ8LW; Tr7I0: $mulai = date("\110\x3a\x69", strtotime($log->log_time)); goto oQcVM; JFRil: sy18_: goto JefAd; oQcVM: $sudahMulai = true; goto hsQmB; hC3Cz: wP_fx: goto jYvl6; ngGTS: if (!($log->id_siswa == $siswa->id_siswa)) { goto sy18_; } goto twJMC; hsQmB: tgp1H: goto Ddvn3; Ddvn3: LoXli: goto bSmFz; twJMC: $sudahMulai = false; goto odsna; ZJ8LW: if (!($log != null)) { goto f5l9X; } goto yJvq2; sPZyw: $sudahSelesai = true; goto e4DVB; Zww0w: goto LoXli; goto hC3Cz; bSmFz: $loading = $sudahSelesai ? "\x3c\x69\x20\x63\x6c\141\x73\x73\75\42\146\141\x20\x66\141\55\143\150\x65\x63\x6b\x22\x3e\x3c\57\151\76\40" : ($sudahMulai ? "\74\x69\40\x63\x6c\141\x73\163\75\42\146\141\x20\x66\x61\55\x73\x70\x69\156\x6e\x65\162\40\146\x61\55\x73\x70\151\x6e\x22\76\74\57\x69\x3e\x20" : ''); goto JFRil; e4DVB: f5l9X: goto Zww0w; odsna: $sudahSelesai = false; goto yxFKR; X6uTq: } goto FujLZ; VocMb: if (!($nilai_input != null && $nilai_input->jodohkan_nilai != null)) { goto Emhj6; } goto EyFYI; RDqJM: foreach ($durasies as $durasi) { goto oLw1h; lGFc2: goto Ml0hI; goto kQgQh; oLw1h: if (!($durasi->id_siswa == $siswa->id_siswa)) { goto Xjh7V; } goto mXxlF; u9VLd: sP0v6: goto lGFc2; JnhmZ: $elap = explode("\72", $lamanya); goto rZAbI; gl6Km: $em = $elap[1] == "\x30\x30" ? '' : intval($elap[1]) + $ed . "\x6d"; goto Y1boX; LvPiW: $dur_siswa = $dd == '' ? "\x30\x20\x6d" : $dd; goto u9VLd; jidbY: $ej = $elap[0] == "\x30\x30" ? '' : intval($elap[0]) . "\x6a\40"; goto gl6Km; W9kYU: if (strpos($lamanya, "\72") !== false) { goto GpTVg; } goto XyvJH; VpNN_: Xjh7V: goto iYz2X; mXxlF: if ($durasi->lama_ujian == null) { goto PFJ2k; } goto qpowb; Y1boX: $dd = $ej . $em; goto LvPiW; xwWAC: Ml0hI: goto VpNN_; kQgQh: PFJ2k: goto C0Eaf; rZAbI: $ed = $elap[2] == "\x30\60" ? 0 : 1; goto jidbY; yO8Av: GpTVg: goto JnhmZ; oikcO: $dur_siswa = round($mins, 2) . "\x20\155"; goto xwWAC; iYz2X: K4IBj: goto y8KgO; qpowb: $lamanya = $durasi->lama_ujian; goto W9kYU; gth_i: goto sP0v6; goto yO8Av; XyvJH: $dur_siswa = $durasi->mulai . "\40\x6d"; goto gth_i; C0Eaf: $mins = (strtotime($durasi->selesai) - strtotime($durasi->mulai)) / 60; goto oikcO; y8KgO: } goto Fi0YZ; HrkCa: $siswa->mulai_ujian = $mulai; goto v1d2B; UCbjt: geBrg: goto zMKYQ; fr7Z0: $jawaban_is = $ada_jawaban_isian ? $jawabans_siswa[$siswa->id_siswa]["\64"] : []; goto DDNpQ; XeJvm: $xa = $total; goto UBNFS; JszV7: $skor_pg = 0; goto QOr3I; M_uuU: $ada_jawaban_essai = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\65"]); goto UWWaF; XXOUH: $input_is = $nilai_input->isian_nilai; goto GQncM; aoVoZ: Vsna4: goto UbHLy; SGJRK: WizA0: goto j935z; G8gKs: $loading = ''; goto DFeaR; eEspG: $siswa->skor_jodohkan = round($skor_jod, 2); goto fr7Z0; UiK5t: aaLEg: goto EW4NA; oosij: $benar_pg2 = 0; goto b8t6D; Mr50y: if (!($nilai_input != null && $nilai_input->isian_nilai != null)) { goto LsUqk; } goto QC2Sc; v1d2B: $siswa->selesai_ujian = $selesai; goto esliE; ImJm7: yxRnH: goto UCbjt; Fo5ri: $ada_jawaban_pg2 = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\62"]); goto wi7gX; UbHLy: $siswa->jawaban_pg = $arrJawabanPg; goto DEMdA; j935z: $skor_pg2 = $input_pg2 != 0 ? $input_pg2 : ($otomatis_pg2 == 0 ? $s_pg2 : $skor_koreksi_pg2); goto B6PFS; UWWaF: $arrJawabanPg = []; goto wBCSn; GeOuh: $siswa->skor_isian = round($skor_is, 2); goto vkOF5; d5B5v: if (!($total < $xb)) { goto sRTva; } goto dLXpW; DteLA: $otomatis_pg2 = 0; goto ITHi2; HZnbP: foreach ($jawaban_pg as $num => $jwb_pg) { goto hHOEw; LJW_M: goto l8szy; goto jfo0w; p1lup: $arrJawabanPg[$num] = ["\x6a\x61\x77\141\x62\141\x6e" => strtoupper($jwb_pg->jawaban_siswa), "\x62\145\x6e\x61\162" => $benar]; goto h7AuA; uhQuS: $benar_pg += 1; goto cW_6G; YxaNT: $benar = false; goto LJW_M; cW_6G: $benar = true; goto AQzCX; hHOEw: $benar = false; goto JDzAR; i5lSv: if (strtoupper($jwb_pg->jawaban_siswa) == strtoupper($jwb_pg->jawaban)) { goto OprFk; } goto YxaNT; jfo0w: OprFk: goto uhQuS; JDzAR: if (!($jwb_pg != null && $jwb_pg->jawaban_siswa != null)) { goto hiZ4U; } goto i5lSv; h7AuA: qAVum: goto ew1RD; AQzCX: l8szy: goto CCthR; CCthR: hiZ4U: goto p1lup; ew1RD: } goto XI_0G; fkY6g: $input_es = 0; goto Mr50y; vkOF5: $jawaban_es = $ada_jawaban_essai ? $jawabans_siswa[$siswa->id_siswa]["\x35"] : []; goto yGCuN; Z2BoJ: $ada_jawaban = isset($jawabans_siswa[$siswa->id_siswa]); goto WpMz8; ZwlYm: $otomatis_jod = 0; goto rASOk; JaR2Z: PDsCn: goto EaVR7; uC5L1: $input_jod = 0; goto VocMb; YoX6m: $benar_es = 0; goto BoFy0; w02fA: $lamanya = ''; goto RDqJM; pFEla: if (!($info->tampil_jodohkan > 0)) { goto wEaU9; } goto EtXxa; JriXh: } goto IPfVo; e7Aae: $bobot_pg = $info->bobot_pg / 100; goto TxPlC; znNfM: if ($jadwal_selected != null) { goto J03TZ; } goto okSq0; eAr4n: $xa = $this->input->get("\170\141"); goto l4dvh; sJ3Cr: $mapel_guru = $this->kelas->getGuruMapelKelas($id_guru, $tp->id_tp, $smt->id_smt); goto Hpee8; hQiKl: $data["\x63\157\x6e\166\x65\162\x74"] = $convert; goto qXoy2; uuUMf: if (!($mapel != null)) { goto vNIez; } goto OdffJ; j6A6n: $info = $this->cbt->getJadwalById($jadwal_selected); goto k1Wxm; gEmb7: $data["\164\160"] = $this->dashboard->getTahun(); goto qQAUC; ecDO8: $tp = $this->dashboard->getTahunActive(); goto YmGYM; fUUB6: $kelas_selected = $this->input->get("\153\145\154\141\163"); goto DW2fr; Z9w_y: $bobot_jodoh = $info->bobot_jodohkan / 100; goto u9ne0; ZzRZY: $bagi_jodoh = $info->tampil_jodohkan / 100; goto Z9w_y; DalYr: $bagi_essai = $info->tampil_esai / 100; goto xB2SG; UDXDd: $data["\x6b\145\x6c\x61\x73"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto jReKt; tD3Qj: $this->db->trans_complete(); goto qb9e2; MwD98: $logs = $this->cbt->getLogUjianByJadwal($jadwal_selected); goto MSXoz; kdLhq: UqynG: goto m3j2m; qmeWx: $bobot_isian = $info->bobot_isian / 100; goto DalYr; KOzr3: oi0cb: goto Oy3Ei; FQ4uV: if (!($ya != null)) { goto hzG2y; } goto BC6qf; KFO5c: $yb = $this->input->get("\171\x62"); goto eAr4n; TxPlC: $bagi_pg2 = $info->tampil_kompleks / 100; goto Dc2v_; OdffJ: foreach ($mapel as $m) { goto Ztwim; Ztwim: $arrMapel[$m->id_mapel] = $m->nama_mapel; goto NDdZ7; Er_fI: XeHEx: goto K2xc_; K2xc_: Nki7n: goto q0lTM; NDdZ7: foreach ($m->kelas_mapel as $kls) { goto ze11k; ze11k: if (!$kls->kelas) { goto oRceT; } goto nGWuK; eJ21B: oRceT: goto L3YGm; nGWuK: $arrKelas[$kls->kelas] = $this->dropdown->getNamaKelasById($tp->id_tp, $smt->id_smt, $kls->kelas); goto eJ21B; L3YGm: w_VrY: goto zM8Sk; zM8Sk: } goto Er_fI; q0lTM: } goto VjUdf; QMYr8: $data["\x6a\x61\144\x77\141\154"] = $jdwl; goto HUjnO; Z_FY2: $this->load->view("\137\164\145\x6d\x70\x6c\x61\x74\x65\163\57\144\141\163\x68\142\x6f\141\162\144\x2f\137\x66\x6f\157\x74\x65\162"); goto kdLhq; u3w7j: $data["\153\145\x6c\x61\163\137\x73\x65\154\145\143\x74\x65\144"] = $kelas_selected; goto VCT83; BnCsp: goto hhhd8; goto rR7lf; Dc2v_: $bobot_pg2 = $info->bobot_kompleks / 100; goto ZzRZY; eJqIb: $this->load->model("\103\x62\x74\137\x6d\x6f\x64\145\154", "\x63\142\164"); goto DUUB5; VjUdf: x5OaA: goto poMHY; Nrats: k8yoD: goto beySt; Hdp04: goto mt5VM; goto rmHXV; UsKM6: $data["\163\x69\x73\167\141\x73"] = $siswas; goto FQ4uV; u9ne0: $bagi_isian = $info->tampil_isian / 100; goto qmeWx; k1Wxm: $bagi_pg = $info->tampil_pg / 100; goto e7Aae; qb9e2: if ($this->ion_auth->is_admin()) { goto oi0cb; } goto sJ3Cr; HUjnO: hhhd8: goto tD3Qj; beySt: $jadwals = $this->cbt->getAllJadwal($tp->id_tp, $smt->id_smt, $id_guru); goto xAvGq; X4_T0: $ids = []; goto RqkkM; YmGYM: $smt = $this->dashboard->getSemesterActive(); goto gEmb7; svixZ: $this->load->view("\x6d\145\x6d\x62\x65\x72\x73\x2f\x67\x75\x72\x75\x2f\164\x65\155\160\154\x61\164\145\x73\57\x68\145\x61\144\x65\162", $data); goto B82v6; qXoy2: hzG2y: goto SNTCI; IPfVo: SbIRf: goto AlGFM; pMX0e: mt5VM: goto znNfM; tgY9f: $soal = []; goto uQPg9; tah5z: $data["\x6b\145\154\x61\x73"] = $arrKelas; goto svixZ; BC6qf: $convert = ["\x79\x61" => $ya, "\171\142" => $yb, "\170\141" => $xa, "\170\142" => $xb]; goto hQiKl; m3j2m: } public function detail() { goto W_os4; GROX0: $input_is = 0; goto OC3wr; LfWne: $ada_jawaban_jodoh = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\63"]); goto JIjcG; WkpgE: foreach ($jawabans as $jawaban_siswa) { goto AIQiR; g5gMy: $jawabans_siswa[$jawaban_siswa->id_siswa][$jawaban_siswa->jenis_soal][] = $jawaban_siswa; goto BSOHB; nKsaB: $jawaban_siswa->jawaban = json_decode(json_encode($jawaban_siswa->jawaban)); goto DzR3Y; cRxGh: $jawaban_siswa->jawaban_benar = json_decode(json_encode($jawaban_siswa->jawaban_benar)); goto nKsaB; R1nEj: $jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar); goto YtjDg; MLceF: $jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa); goto R1nEj; UAv3U: $jawaban_siswa->jawaban_benar = array_map("\163\164\x72\164\157\165\160\x70\x65\162", $jawaban_siswa->jawaban_benar); goto nV79P; nV79P: $jawaban_siswa->jawaban_benar = array_filter($jawaban_siswa->jawaban_benar, "\x73\164\x72\x6c\x65\x6e"); goto Winus; AIQiR: if (!($jawaban_siswa->jenis_soal == "\x32")) { goto d92Ll; } goto hJSUf; t_x8X: $jawaban_siswa->jawaban = array_filter($jawaban_siswa->jawaban, "\163\164\162\154\x65\x6e"); goto bu6_Q; DzR3Y: SdXIT: goto g5gMy; m1RJ5: $jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar); goto sPyQU; SzNwt: if (!($jawaban_siswa->jenis_soal == "\x33")) { goto SdXIT; } goto ha4E7; Winus: $jawaban_siswa->jawaban = array_map("\x73\164\162\x74\x6f\x75\x70\x70\x65\x72", $jawaban_siswa->jawaban); goto t_x8X; YtjDg: $jawaban_siswa->jawaban = @unserialize($jawaban_siswa->jawaban); goto UAv3U; Ojb9q: $jawaban_siswa->jawaban_siswa = json_decode(json_encode($jawaban_siswa->jawaban_siswa)); goto cRxGh; ha4E7: $jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa); goto m1RJ5; BSOHB: $soal[$jawaban_siswa->jenis_soal][] = $jawaban_siswa; goto xRKNp; bu6_Q: d92Ll: goto SzNwt; sPyQU: $jawaban_siswa->jawaban = @unserialize($jawaban_siswa->jawaban); goto Ojb9q; xRKNp: JV8sR: goto XysH8; hJSUf: $jawaban_siswa->opsi_a = @unserialize($jawaban_siswa->opsi_a); goto MLceF; XysH8: } goto JOoxB; BtSHq: $s_jod = $bagi_jodoh == 0 ? 0 : $benar_jod / $bagi_jodoh * $bobot_jodoh; goto RtSWw; GWAm9: kO3qs: goto jH1rM; JIjcG: $ada_jawaban_isian = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\64"]); goto a7n9P; UUsRH: $benar_is = 0; goto c7hU9; k5e0h: $bobot_pg2 = $info->bobot_kompleks / 100; goto Bd2h0; K_zYF: $skor = new stdClass(); goto IVDAC; WPsmu: $input_jod = $nilai_input->jodohkan_nilai; goto zJOt7; qwZqZ: $benar_pg2 = 0; goto DVFsb; bpHpK: if (!($nilai_input != null && $nilai_input->jodohkan_nilai != null)) { goto lm0S3; } goto WPsmu; ImrlN: $this->load->view("\155\145\155\x62\145\162\x73\57\x67\x75\x72\x75\x2f\x74\145\x6d\160\154\x61\164\x65\x73\x2f\x68\x65\x61\x64\145\162", $data); goto WtLE0; h0SfA: $this->load->view("\x6d\x65\155\x62\145\x72\163\57\147\x75\x72\165\57\x74\145\x6d\x70\154\x61\x74\145\163\57\146\x6f\x6f\164\145\x72"); goto D6PMg; zJOt7: lm0S3: goto XFbMO; o9_St: $data = ["\165\163\145\x72" => $user, "\152\165\x64\165\x6c" => "\113\157\162\x65\153\x73\x69\x20\110\x61\163\151\x6c\x20\123\x69\x73\x77\141", "\x73\x75\x62\x6a\x75\x64\x75\x6c" => "\x48\x61\163\151\154\x20\x53\x69\163\x77\x61", "\163\145\x74\x74\151\156\x67" => $this->dashboard->getSetting(), "\144\165\162\x61\163\x69" => $dur_siswa, "\154\157\147" => $log_siswa]; goto PNflC; olYSM: $skor_pg2 = $input_pg2 != 0 ? $input_pg2 : ($otomatis_pg2 == 0 ? $s_pg2 : $skor_koreksi_pg2); goto tWB4U; KCtcu: $data["\x61\144\141\137\x6e\151\154\141\151"] = $nilai_siswa != null; goto rCouc; s8XV0: $s_is = $bagi_isian == 0 ? 0 : $benar_is / $bagi_isian * $bobot_isian; goto GROX0; fNJST: $this->load->view("\x63\142\x74\57\x6e\x69\154\x61\151\57\x64\145\164\x61\x69\154"); goto DyZWR; GYfaA: $benar_es = 0; goto uIorv; l_EQC: if (!($info->tampil_jodohkan > 0)) { goto lQgOk; } goto qGVVI; z9tOc: D94rn: goto pxZ3N; JMGmZ: $guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto Xxwtm; PNflC: $data["\x74\x70"] = $this->dashboard->getTahun(); goto jxk97; HXkeU: $skor_koreksi_jod = 0.0; goto kO77Y; ZvG2i: $skor->dikoreksi = $nilai_input->dikoreksi; goto GWAm9; W_os4: $this->load->model("\103\x62\x74\137\155\157\x64\x65\154", "\x63\142\164"); goto J8gNS; SITgq: $otomatis_pg2 = 0; goto Lcn6G; Tuzn9: sgr1o: goto QisEK; XXte3: $durasies = $this->cbt->getDurasiSiswaByJadwal($jadwal); goto ZWawI; zyhm6: $skor->skor_pg = $skor_pg = $bagi_pg == 0 ? 0 : $benar_pg / $bagi_pg * $bobot_pg; goto E3wqX; xjwVA: $soal = []; goto YhcGM; gty6B: cpNPW: goto ZBV6u; TcXNj: $s_pg2 = $bagi_pg2 == 0 ? 0 : $benar_pg2 / $bagi_pg2 * $bobot_pg2; goto zf8M2; ceo5T: $otomatis_es = 0; goto QKdlZ; DVFsb: $skor_koreksi_pg2 = 0.0; goto SITgq; wzwdd: $siswa = $this->cbt->getSiswaById($tp->id_tp, $smt->id_smt, $this->input->get("\x73\x69\x73\167\141")); goto hLLpc; IP0V9: foreach ($jawaban_es as $num => $jawab_es) { goto QtvCz; KjTwW: $ks = array_search($jawab_es->nomor_soal, array_column($soal[5], "\x6e\157\x6d\157\162\137\x73\157\141\154")); goto WzqBH; ZOlGH: goto hHX9Z; goto XsWvB; XsWvB: ALnHS: goto rEujt; rEujt: $analisa = "\x3c\151\40\x63\x6c\x61\x73\163\75\42\x66\x61\x20\146\141\55\x63\150\x65\x63\x6b\55\143\x69\x72\143\154\145\40\164\x65\170\164\55\x67\162\145\145\156\x20\x74\145\170\x74\x2d\x6c\x67\42\x3e\74\57\151\76"; goto aBX3B; gxAiu: GFQ4_: goto TfNao; cnhZg: if (!$benar) { goto iNeE9; } goto cKnaS; dFR9F: p16k9: goto hhIgo; TfNao: $soal[5][$ks]->point_koreksi = $jawab_es->nilai_koreksi; goto J7SAz; nKXed: if ($jawab_es->nilai_otomatis == "\60") { goto p16k9; } goto xd3Vi; d5smE: $benar = $jawab_es != null && strtolower($jawab_es->jawaban_siswa) == strtolower($jawab_es->jawaban); goto cnhZg; Jl_v7: goto GFQ4_; goto dFR9F; SVbAt: $otomatis_es = $jawab_es->nilai_otomatis; goto CKkvN; WzqBH: $point = !$benar ? 0 : ($info->bobot_esai > 0 ? round($info->bobot_esai / $info->tampil_esai, 2) : 0); goto nKXed; HFtNn: $analisa = "\74\151\x20\143\154\x61\163\163\75\x22\146\x61\40\146\x61\55\164\x69\155\x65\x73\x2d\x63\x69\162\x63\154\145\40\164\145\170\164\x2d\171\145\x6c\154\157\167\x20\164\145\170\x74\55\x6c\147\x22\x3e\74\x2f\x69\76"; goto ZOlGH; AjDsr: $soal[5][$ks]->analisa = $analisa; goto SVbAt; DI7Rx: if ($benar) { goto ALnHS; } goto HFtNn; xd3Vi: $soal[5][$ks]->point = $jawab_es->nilai_koreksi; goto Jl_v7; QtvCz: $skor_koreksi_es += $jawab_es->nilai_koreksi; goto d5smE; CKkvN: rhBPi: goto JBrlL; J7SAz: $soal[5][$ks]->point_otomatis = $point; goto DI7Rx; hhIgo: $soal[5][$ks]->point = $point; goto gxAiu; aBX3B: hHX9Z: goto AjDsr; LKCCv: iNeE9: goto KjTwW; cKnaS: $benar_es++; goto LKCCv; JBrlL: } goto z9tOc; IVDAC: $nilai_input = $this->cbt->getNilaiSiswaByJadwal($jadwal, $siswa->id_siswa); goto X6qU8; ZWawI: $logs = $this->cbt->getLogUjianByJadwal($jadwal); goto q5rit; zf8M2: $input_pg2 = 0; goto yH3Dk; AaIis: $skor->skor_jodohkan = $skor_jod; goto vJ7O0; q5rit: $dur_siswa = null; goto hwKeq; LvGYs: RuLk2: goto TcXNj; jxk97: $data["\x74\160\x5f\x61\x63\164\151\166\x65"] = $tp; goto le0Cv; QisEK: $s_es = $bagi_essai == 0 ? 0 : $benar_es / $bagi_essai * $bobot_essai; goto u0y0K; swvH0: bWsGL: goto KCL4G; jszLv: foreach ($jawaban_pg as $num => $jwb_pg) { goto iycNQ; QHMur: $ks = array_search($jwb_pg->nomor_soal, array_column($soal[1], "\156\x6f\155\x6f\162\x5f\x73\x6f\x61\154")); goto xWwti; aNVew: uyJb2: goto rRsJ0; wFvnY: $soal[1][$ks]->analisa = $analisa; goto ZfaDd; iycNQ: $benar = false; goto atit_; r_oN0: $benar = false; goto u1Kl9; dbd4x: nZLhe: goto wlMba; w4zxE: if (strtoupper($jwb_pg->jawaban_siswa) == strtoupper($jwb_pg->jawaban)) { goto uyJb2; } goto Zt2AC; r3eBn: $analisa = $benar ? "\74\151\40\x63\154\141\x73\163\x3d\x22\x66\x61\40\146\141\55\143\x68\145\x63\x6b\55\143\151\x72\143\x6c\x65\x20\x74\145\170\164\x2d\x67\162\145\145\x6e\x20\x74\145\170\x74\x2d\x6c\x67\x22\x3e\74\x2f\x69\76" : "\74\151\40\143\x6c\141\x73\163\75\42\x66\141\x20\146\x61\x2d\x74\151\x6d\x65\x73\55\143\x69\162\143\x6c\145\40\164\145\x78\x74\55\162\145\x64\40\x74\x65\x78\x74\x2d\x6c\x67\x22\x3e\74\57\x69\76"; goto wFvnY; wlMba: BFT3M: goto QHMur; xvYCJ: $benar = true; goto dbd4x; ZfaDd: N38G8: goto qYqf1; atit_: if (!($jwb_pg != null && $jwb_pg->jawaban_siswa != null)) { goto BFT3M; } goto w4zxE; Zt2AC: $salah_pg += 1; goto r_oN0; xWwti: $soal[1][$ks]->point = !$benar ? 0 : ($info->bobot_pg > 0 ? round($info->bobot_pg / $info->tampil_pg, 2) : 0); goto r3eBn; rRsJ0: $benar_pg += 1; goto xvYCJ; u1Kl9: goto nZLhe; goto aNVew; qYqf1: } goto aICfW; ho6j5: $this->load->view("\x5f\164\145\x6d\160\154\141\x74\145\x73\57\x64\x61\x73\150\x62\x6f\x61\162\144\57\x5f\150\x65\x61\x64\145\x72", $data); goto fNJST; D6PMg: goto nLYzE; goto Rmd70; Lcn6G: if (!($info->tampil_kompleks > 0)) { goto RuLk2; } goto EnfxG; Xxwtm: $data["\x67\165\162\x75"] = $guru; goto ImrlN; tWB4U: $skor->skor_kompleks = $skor_pg2; goto TjcAV; TjcAV: $jawaban_jodoh = $ada_jawaban_jodoh ? $jawabans_siswa[$siswa->id_siswa]["\x33"] : []; goto avvDO; uIorv: $skor_koreksi_es = 0.0; goto ceo5T; iHQLI: RTfQv: goto QXrRg; VkoLi: $bobot_jodoh = $info->bobot_jodohkan / 100; goto jpeUp; Bd2h0: $bagi_jodoh = $info->tampil_jodohkan / 100; goto VkoLi; pxZ3N: v6qp1: goto Tuzn9; Tdc6j: $skor->skor_total = $total; goto XXte3; D4wTZ: $data["\160\162\x6f\x66\151\154\145"] = $this->dashboard->getProfileAdmin($user->id); goto ho6j5; gpz7A: lQgOk: goto BtSHq; wFpwy: $smt = $this->dashboard->getSemesterActive(); goto wzwdd; c7hU9: $skor_koreksi_is = 0.0; goto FfC1c; I78iF: hQX5v: goto EEKX1; IcTcg: $user = $this->ion_auth->user()->row(); goto o9_St; Ja24N: if (!($info->tampil_pg > 0)) { goto kB4QM; } goto ikwRy; RtSWw: $input_jod = 0; goto bpHpK; UZj3a: nLYzE: goto uEYHv; yNTC1: $ada_jawaban = isset($jawabans_siswa[$siswa->id_siswa]); goto F3gGr; HAc5M: $bagi_essai = $info->tampil_esai / 100; goto y16gx; TWGiN: jC81c: goto ssNSB; JOoxB: dZwNW: goto yNTC1; qGVVI: if (!(count($jawaban_jodoh) > 0)) { goto EbdHv; } goto qjXA3; fiWyK: $jawaban_es = $ada_jawaban_essai ? $jawabans_siswa[$siswa->id_siswa]["\x35"] : []; goto GYfaA; QKdlZ: if (!($info->tampil_esai > 0)) { goto sgr1o; } goto BNsCl; ALAie: $tp = $this->dashboard->getTahunActive(); goto wFpwy; X6qU8: if (!($nilai_input != null)) { goto kO3qs; } goto ZvG2i; E3wqX: $jawaban_pg2 = $ada_jawaban_pg2 ? $jawabans_siswa[$siswa->id_siswa]["\62"] : []; goto qwZqZ; rCouc: if ($this->ion_auth->is_admin()) { goto gXz9W; } goto JMGmZ; SlTTp: Syivn: goto N9rF0; bnge8: Ylzet: goto olYSM; U76lC: if (!(count($jawaban_is) > 0)) { goto kxLhD; } goto G82ER; KM6PP: $input_es = $nilai_input->essai_nilai; goto I78iF; QXrRg: FnVJd: goto LvGYs; ssNSB: kxLhD: goto RpStE; ikwRy: if (!(count($jawaban_pg) > 0)) { goto Syivn; } goto jszLv; le0Cv: $data["\x73\x6d\164"] = $this->dashboard->getSemester(); goto utWJw; XFbMO: $skor_jod = $input_jod != 0 ? $input_jod : ($otomatis_jod == 0 ? $s_jod : $skor_koreksi_jod); goto AaIis; G4lT3: $bagi_pg = $info->tampil_pg / 100; goto oCA1m; utWJw: $data["\163\155\x74\x5f\x61\143\x74\151\166\145"] = $smt; goto fUXQn; u0y0K: $input_es = 0; goto imkmQ; F3gGr: $ada_jawaban_pg = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\61"]); goto VqpPn; jH1rM: $jawaban_pg = $ada_jawaban_pg ? $jawabans_siswa[$siswa->id_siswa]["\x31"] : []; goto QqpTs; QqpTs: $benar_pg = 0; goto CNMIu; G82ER: foreach ($jawaban_is as $num => $jawab_is) { goto Bt2SU; fSO9I: if ($jawab_is->nilai_otomatis == "\60") { goto jYCed; } goto IkhXU; UOzG5: $benar = $jawab_is != null && strtolower($jawab_is->jawaban_siswa) == strtolower($jawab_is->jawaban); goto nXU2l; VrDSs: $otomatis_is = $jawab_is->nilai_otomatis; goto XcbH2; W1Dlk: $soal[4][$ks]->point = $point; goto KZpOS; nffjR: $ks = array_search($jawab_is->nomor_soal, array_column($soal[4], "\x6e\x6f\x6d\157\x72\x5f\163\x6f\141\x6c")); goto V3EIc; sJFs4: $soal[4][$ks]->point_koreksi = $jawab_is->nilai_koreksi; goto AvhD7; Migul: flZe4: goto v3yJK; o_DDC: if ($benar) { goto flZe4; } goto SQFfJ; nXU2l: if (!$benar) { goto b8SNA; } goto XRBq3; uNvvt: dBLcf: goto jaem8; IkhXU: $soal[4][$ks]->point = $jawab_is->nilai_koreksi; goto yuhRE; SQFfJ: $analisa = "\74\x69\x20\x63\154\141\163\x73\x3d\42\146\141\40\x66\x61\55\164\x69\x6d\x65\x73\55\143\151\x72\x63\x6c\x65\x20\164\145\170\x74\55\171\x65\154\x6c\157\x77\40\164\145\170\164\55\x6c\x67\42\76\74\57\x69\76"; goto jJixO; GFwsV: b8SNA: goto nffjR; v3yJK: $analisa = "\x3c\x69\40\143\x6c\141\x73\163\x3d\x22\x66\141\x20\x66\141\55\x63\x68\145\x63\x6b\x2d\143\x69\x72\x63\154\x65\40\x74\145\x78\x74\55\147\162\145\x65\156\x20\164\145\x78\164\55\154\147\42\76\x3c\x2f\x69\76"; goto uNvvt; IUxi6: jYCed: goto W1Dlk; XcbH2: xuKVY: goto tofYA; jaem8: $soal[4][$ks]->analisa = $analisa; goto VrDSs; KZpOS: WPJp0: goto sJFs4; Bt2SU: $skor_koreksi_is += $jawab_is->nilai_koreksi; goto UOzG5; V3EIc: $point = !$benar ? 0 : ($info->bobot_isian > 0 ? round($info->bobot_isian / $info->tampil_isian, 2) : 0); goto fSO9I; AvhD7: $soal[4][$ks]->point_otomatis = $point; goto o_DDC; yuhRE: goto WPJp0; goto IUxi6; jJixO: goto dBLcf; goto Migul; XRBq3: $benar_is++; goto GFwsV; tofYA: } goto TWGiN; YhcGM: $jawabans_siswa = []; goto WkpgE; I7liw: $data["\163\157\141\x6c"] = $soal; goto Y6AcA; v9nlW: $input_is = $nilai_input->isian_nilai; goto HhflI; hwKeq: foreach ($durasies as $durasi) { goto IfO6n; vwTfZ: iXn7E: goto D3lK_; D3lK_: bjiX_: goto sMkR2; IfO6n: if (!($durasi->id_siswa == $siswa->id_siswa)) { goto iXn7E; } goto gDw1L; gDw1L: $dur_siswa = $durasi; goto vwTfZ; sMkR2: } goto swvH0; TF0G7: foreach ($jawaban_pg2 as $num => $jawab_pg2) { goto wvgsu; kS9d1: if (!(count($jawab_pg2->jawaban) > 0)) { goto Mcxxs; } goto H76O2; bPEHD: $analisa = "\74\151\x20\143\154\x61\163\163\x3d\x22\x66\141\40\x66\x61\55\x74\x69\155\x65\x73\x2d\x63\x69\x72\143\x6c\x65\x20\x74\145\170\164\x2d\x79\145\x6c\x6c\x6f\167\x20\164\x65\x78\x74\x2d\154\x67\x22\x3e\x3c\x2f\x69\x3e"; goto QsyYf; bAf4q: DSgJe: goto MhIha; DtAbi: $soal[2][$ks]->point = $jawab_pg2->nilai_koreksi; goto aUBvH; T1vEx: $otomatis_pg2 = $jawab_pg2->nilai_otomatis; goto bAf4q; DqAY6: $point_item = count($jawab_pg2->jawaban) > 0 ? $point_benar / count($jawab_pg2->jawaban) : 0; goto eiND0; sUOn_: $soal[2][$ks]->point_otomatis = $point; goto T1vEx; EI717: olbTS: goto ULuNx; moJqr: if ($jml_benar == count($jawab_pg2->jawaban)) { goto tgViA; } goto QmfSV; fvlbT: $point_benar = $info->bobot_kompleks > 0 ? round($info->bobot_kompleks / $info->tampil_kompleks, 2) : 0; goto DqAY6; QsyYf: ZiIHa: goto h_Xz2; A4nQ1: tgViA: goto fC9Qy; vZVzb: GKr7G: goto oI6MA; RqvRU: LwPPq: goto eOsd2; fC9Qy: $analisa = "\x3c\x69\x20\143\154\x61\x73\163\x3d\x22\146\x61\x20\146\141\55\x63\x68\145\143\x6b\55\143\151\x72\143\154\145\40\x74\x65\170\x74\x2d\147\x72\x65\x65\156\40\x74\145\170\164\x2d\x6c\147\42\76\74\x2f\151\x3e"; goto uRNEH; uEEOM: $arr_benar = []; goto slcKn; lVbP5: Mcxxs: goto fvlbT; aUBvH: goto LwPPq; goto vZVzb; nCJAQ: $point = round($pk, 2); goto Ym9O_; jozea: foreach ($jawab_pg2->jawaban_siswa as $js) { goto lgRbV; jufda: bnSkF: goto AUpzN; lgRbV: if (!in_array($js, $jawab_pg2->jawaban)) { goto bnSkF; } goto qcUnZ; qcUnZ: array_push($arr_benar, true); goto jufda; AUpzN: X4Qq3: goto QwJgc; QwJgc: } goto EI717; zr3lt: $jml_benar = count($arr_benar); goto moJqr; eiND0: $pk = $point_item * count($arr_benar); goto zr3lt; wvgsu: $skor_koreksi_pg2 += $jawab_pg2->nilai_koreksi; goto uEEOM; QmfSV: if ($jml_benar > 0 && $jml_benar < count($jawab_pg2->jawaban)) { goto gQtoy; } goto dcIL8; slcKn: if (!$jawab_pg2->jawaban_siswa) { goto rIoqb; } goto jozea; dcIL8: $analisa = "\x3c\x69\40\143\x6c\x61\x73\x73\75\x22\x66\141\40\x66\x61\x2d\164\x69\155\x65\163\55\x63\151\x72\x63\154\145\40\164\x65\x78\164\55\x72\x65\x64\40\x74\145\170\164\55\154\147\x22\76\74\57\151\x3e"; goto cnvku; ULuNx: rIoqb: goto kS9d1; RTteR: gQtoy: goto bPEHD; eOsd2: $soal[2][$ks]->point_koreksi = $jawab_pg2->nilai_koreksi; goto sUOn_; cnvku: goto ZiIHa; goto A4nQ1; uRNEH: goto ZiIHa; goto RTteR; H76O2: $benar_pg2 += 1 / count($jawab_pg2->jawaban) * count($arr_benar); goto lVbP5; Ym9O_: $soal[2][$ks]->analisa = $analisa; goto TKnmc; oI6MA: $soal[2][$ks]->point = $point; goto RqvRU; h_Xz2: $ks = array_search($jawab_pg2->nomor_soal, array_column($soal[2], "\156\157\155\157\x72\x5f\x73\157\x61\x6c")); goto nCJAQ; TKnmc: if ($jawab_pg2->nilai_otomatis == "\x30") { goto GKr7G; } goto DtAbi; MhIha: } goto iHQLI; WtLE0: $this->load->view("\x63\x62\x74\57\x6e\151\154\141\x69\57\x64\x65\x74\141\151\x6c"); goto h0SfA; imkmQ: if (!($nilai_input != null && $nilai_input->isian_nilai != null)) { goto hQX5v; } goto KM6PP; EEKX1: $skor_es = $input_es != 0 ? $input_es : ($otomatis_es == 0 ? $s_es : $skor_koreksi_es); goto hKFka; BNsCl: if (!(count($jawaban_es) > 0)) { goto v6qp1; } goto IP0V9; OC3wr: if (!($nilai_input != null && $nilai_input->isian_nilai != null)) { goto dbB9S; } goto v9nlW; y16gx: $bobot_essai = $info->bobot_esai / 100; goto TCq3v; TCq3v: $jawabans = $this->cbt->getJawabanSiswaByJadwal($jadwal, $siswa->id_siswa); goto xjwVA; DyZWR: $this->load->view("\x5f\x74\145\x6d\160\154\141\x74\x65\x73\57\144\141\x73\x68\142\157\141\x72\x64\57\x5f\146\157\x6f\x74\145\x72"); goto UZj3a; guv8l: $skor->skor_isian = $skor_is; goto fiWyK; fUXQn: $data["\151\156\x66\x6f"] = $info; goto rXH1b; jpeUp: $bagi_isian = $info->tampil_isian / 100; goto tySOL; EnfxG: if (!(count($jawaban_pg2) > 0)) { goto FnVJd; } goto TF0G7; vsc_Y: $bagi_pg2 = $info->tampil_kompleks / 100; goto k5e0h; kO77Y: $otomatis_jod = 0; goto l_EQC; vJ7O0: $jawaban_is = $ada_jawaban_isian ? $jawabans_siswa[$siswa->id_siswa]["\64"] : []; goto UUsRH; Rmd70: gXz9W: goto D4wTZ; HhflI: dbB9S: goto P3vr4; P3vr4: $skor_is = $input_is != 0 ? $input_is : ($otomatis_is == 0 ? $s_is : $skor_koreksi_is); goto guv8l; avvDO: $benar_jod = 0; goto HXkeU; a7n9P: $ada_jawaban_essai = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\x35"]); goto K_zYF; ZBV6u: EbdHv: goto gpz7A; N9rF0: kB4QM: goto zyhm6; hKFka: $skor->skor_essai = $skor_es; goto YaFus; Akumb: foreach ($logs as $log) { goto Lz0gX; AjxwZ: array_push($log_siswa, $log); goto MIz5m; MIz5m: CcLP5: goto nn8z6; nn8z6: ogv6Q: goto tk7WP; Lz0gX: if (!($log->id_siswa == $siswa->id_siswa)) { goto CcLP5; } goto AjxwZ; tk7WP: } goto qs1np; gQqmx: if (!($info->tampil_isian > 0)) { goto BYyb2; } goto U76lC; tySOL: $bobot_isian = $info->bobot_isian / 100; goto HAc5M; qjXA3: foreach ($jawaban_jodoh as $num => $jawab_jod) { goto RHU0z; rnGRJ: CGayP: goto nIg0M; M_2Sz: $soal[3][$ks]->tabel_jawab = $arrJwbJawab; goto aufEJ; NgJ4I: $point_soal = 0; goto cDWo8; XDnRr: $soal[3][$ks]->tabel_benar = $arrBenar; goto Warzq; mYTJu: $soal[3][$ks]->analisa = $analisa; goto l3fjo; CR3d2: $benar_jod += 1 / $items * $item_benar; goto t62pE; fzYWO: SlEWx: goto mYTJu; MF0j6: $analisa = "\74\151\40\143\x6c\x61\163\x73\75\42\x66\141\x20\x66\141\x2d\143\x68\145\x63\x6b\55\143\151\x72\x63\x6c\x65\x20\164\x65\x78\x74\55\x67\162\145\x65\x6e\x20\x74\145\x78\164\x2d\x6c\x67\x22\76\74\x2f\x69\x3e"; goto jZz0B; axuzo: $arrSoal = $jawab_jod->jawaban->jawaban; goto R6v0w; bfExl: $item_kurang = 0; goto NgJ4I; dn20j: lByDX: goto A8ju9; hwM5L: goto SlEWx; goto xuuzm; x9Lfm: $arrJawab = []; goto LA_lo; cHRul: if ($item_benar == 0) { goto pWZxv; } goto j1SCT; xuuzm: TDPgV: goto MF0j6; hVgEx: wdVid: goto M_2Sz; aufEJ: $arrBenar = []; goto PD3sB; n4vAi: $arrJawab = $jawab_jod->jawaban_siswa->jawaban; goto zLKkc; hMI6t: Ef3fa: goto kOk63; LA_lo: if (!isset($jawab_jod->jawaban_siswa->jawaban)) { goto lByDX; } goto n4vAi; jZz0B: goto SlEWx; goto CMqaf; cDWo8: foreach ($arrJwbSoal as $ps => $ajj) { goto MrzXr; B_72k: if (!isset($arrBenar[$ps]->benar)) { goto SYr7d; } goto b7sq9; VvSxW: hgybG: goto m6pgR; m6pgR: Aoyo2: goto vea2g; aD2yN: LAxv2: goto VvSxW; ORh0g: $kk = 0; goto zz6Rn; E7QHM: SYr7d: goto ORh0g; V7p6P: $point_subitem = $point_item / count((array) $ajj->subtitle); goto B_72k; zz6Rn: foreach ($ajj->subtitle as $pps => $aj) { goto RJl4y; nN41G: VOqOt: goto dRF7K; Pa7OO: $arrBenar[$ps]->kurang = $kk; goto SNT34; dRF7K: zVXiM: goto ChD3F; UAXUH: $kk++; goto Pa7OO; SNT34: $item_kurang++; goto nN41G; RJl4y: if (!(isset($arrJwbJawab[$ps]) && !isset($arrJwbJawab[$ps]->subtitle[$pps]))) { goto VOqOt; } goto UAXUH; ChD3F: } goto aD2yN; b7sq9: $point_soal += $point_subitem * $arrBenar[$ps]->benar; goto E7QHM; MrzXr: if (!isset($ajj->subtitle)) { goto hgybG; } goto V7p6P; vea2g: } goto Qsva9; tv8M0: $soal[3][$ks]->tabel_soal = $arrJwbSoal; goto x9Lfm; j1SCT: $analisa = "\x3c\151\40\x63\154\x61\x73\163\75\42\x66\141\40\146\x61\x2d\x74\x69\155\x65\x73\x2d\143\151\162\143\x6c\x65\40\164\145\x78\164\x2d\x79\x65\x6c\x6c\157\x77\40\x74\145\x78\x74\x2d\x6c\147\x22\x3e\74\57\151\76"; goto hwM5L; PD3sB: $item_benar = 0; goto uprbD; zx80O: $soal[3][$ks]->point = $point; goto hMI6t; Yx57p: $soal[3][$ks]->point_otomatis = $point; goto lqpdH; L4Gas: $point_item = $point_benar / count($arrSoal); goto bfExl; Qsva9: Da3KV: goto XDnRr; WDWhK: goto Ef3fa; goto nlCPZ; X8Nh3: $analisa = "\74\151\x20\x63\x6c\x61\x73\x73\x3d\42\146\x61\x20\146\141\55\164\151\155\x65\163\x2d\x63\151\162\143\154\x65\x20\x74\x65\170\x74\x2d\x72\145\x64\40\164\x65\x78\x74\x2d\x6c\x67\42\x3e\x3c\x2f\151\x3e"; goto fzYWO; CMqaf: pWZxv: goto X8Nh3; RHU0z: $skor_koreksi_jod += $jawab_jod->nilai_koreksi; goto wwSbA; V2BBH: $items = 0; goto dUukH; fJ6An: $arrJwbSoal = []; goto V2BBH; xgv2_: foreach ($arrJwbJawab as $p => $ajjs) { goto tMjtJ; QFg0Q: iXrJi: goto XQFIf; tlB_o: $bb = 0; goto vV7D7; ic79h: foreach ($ajjs->subtitle as $pp => $ajs) { goto RaFiT; DS4nd: if (!(isset($arrJwbSoal[$p]) && isset($arrJwbSoal[$p]->subtitle))) { goto KRAMH; } goto fjqOT; JcMUC: KRAMH: goto z54hv; sN5eO: $item_lebih++; goto uyqZk; fjqOT: if (in_array($ajs, $arrJwbSoal[$p]->subtitle)) { goto HPfRh; } goto Mgp1S; dxKk2: $item_salah++; goto Idfwh; z54hv: fTcth: goto tyoIs; wiVFE: $bb++; goto XQ5R6; RaFiT: if (!(isset($arrJwbSoal[$p]) && !isset($arrJwbSoal[$p]->subtitle[$pp]))) { goto lfGgd; } goto jREQe; XQ5R6: $arrBenar[$p]->benar = $bb; goto Sq83A; XAiuc: $arrBenar[$p]->lebih = $ll; goto sN5eO; jREQe: $ll++; goto XAiuc; Sq83A: $item_benar++; goto Pf8Vp; uyqZk: lfGgd: goto DS4nd; Idfwh: goto CLgPm; goto AcE3a; wtrn8: $arrBenar[$p]->salah = $ss; goto dxKk2; AcE3a: HPfRh: goto wiVFE; Mgp1S: $ss++; goto wtrn8; Pf8Vp: CLgPm: goto JcMUC; tyoIs: } goto yhIv5; NVJF1: if (!isset($ajjs->subtitle)) { goto HiJYm; } goto ic79h; yhIv5: bRlFC: goto NuHz7; vV7D7: $ss = 0; goto HlbDO; NuHz7: HiJYm: goto QFg0Q; tMjtJ: $ll = 0; goto tlB_o; HlbDO: $arrBenar[$p] = new stdClass(); goto NVJF1; XQFIf: } goto wli4E; l3fjo: $otomatis_jod = $jawab_jod->nilai_otomatis; goto VSIz2; lqpdH: if ($item_benar == $items && $item_salah == 0 && $item_lebih == 0 && $item_kurang == 0) { goto TDPgV; } goto cHRul; egSXL: if ($jawab_jod->nilai_otomatis == "\60") { goto Of92K; } goto rSYKJ; rSYKJ: $soal[3][$ks]->point = $jawab_jod->nilai_koreksi; goto WDWhK; nlCPZ: Of92K: goto zx80O; A8ju9: $arrJwbJawab = []; goto PLsyv; uprbD: $item_salah = 0; goto AY5SL; Warzq: $soal[3][$ks]->point_soal = $point_soal; goto iNayk; PLsyv: foreach ($arrJawab as $kolJawab) { goto A6nfy; GAriu: foreach ($kolJawab as $po => $kol) { goto UVUpw; yt0In: $jwbs->subtitle[] = $sub; goto Id3RL; xNWby: t5wec: goto lKBOM; alFzB: $sub = $headJawab[$po]; goto yt0In; Id3RL: N5jgc: goto xNWby; UVUpw: if (!($kol == "\61")) { goto N5jgc; } goto alFzB; lKBOM: } goto MJvkL; A6nfy: $jwbs = new stdClass(); goto GAriu; MJvkL: AqRt1: goto ylgkw; P8oNT: array_push($arrJwbJawab, $jwbs); goto NcCAk; ylgkw: $jwbs->title = array_shift($kolJawab); goto P8oNT; NcCAk: kAr5P: goto vcxWN; vcxWN: } goto hVgEx; zLKkc: $headJawab = array_shift($arrJawab); goto dn20j; nIg0M: $ks = array_search($jawab_jod->nomor_soal, array_column($soal[3], "\156\157\155\x6f\x72\x5f\x73\x6f\141\x6c")); goto BsBl8; wli4E: bgMy0: goto CR3d2; VSIz2: HllVJ: goto fdXHf; t62pE: $point_benar = $info->bobot_jodohkan > 0 ? round($info->bobot_jodohkan / $info->tampil_jodohkan, 2) : 0; goto L4Gas; wwSbA: $typeSoal = $jawab_jod->jawaban->type; goto axuzo; AY5SL: $item_lebih = 0; goto xgv2_; BsBl8: $soal[3][$ks]->type_soal = $typeSoal; goto tv8M0; iNayk: $point = round($point_soal, 2); goto egSXL; kOk63: $soal[3][$ks]->point_koreksi = $jawab_jod->nilai_koreksi; goto Yx57p; dUukH: foreach ($arrSoal as $kolSoal) { goto Fy5ru; HEL6z: $jwb->title = array_shift($kolSoal); goto rdLTZ; dCSm_: foreach ($kolSoal as $pos => $kol) { goto FnUlq; DLN8U: SzkmY: goto XduaH; hBb15: cmWB9: goto DLN8U; b9a2v: $jwb->subtitle[] = $headSoal[$pos]; goto v9uYv; FnUlq: if (!($kol == "\x31")) { goto cmWB9; } goto b9a2v; v9uYv: $items++; goto hBb15; XduaH: } goto ln06b; NFFCt: wn5EZ: goto gGtFx; rdLTZ: array_push($arrJwbSoal, $jwb); goto NFFCt; ln06b: K1WZ4: goto HEL6z; Fy5ru: $jwb = new stdClass(); goto dCSm_; gGtFx: } goto rnGRJ; R6v0w: $headSoal = array_shift($arrSoal); goto fJ6An; fdXHf: } goto gty6B; YaFus: $total = $skor_pg + $skor_pg2 + $skor_jod + $skor_is + $skor_es; goto Tdc6j; yH3Dk: if (!($nilai_input != null && $nilai_input->kompleks_nilai != null)) { goto Ylzet; } goto kgz2Y; kgz2Y: $input_pg2 = $nilai_input->kompleks_nilai; goto bnge8; FfC1c: $otomatis_is = 0; goto gQqmx; oFoV0: $nilai_siswa = $this->cbt->getNilaiSiswaByJadwal($jadwal, $siswa->id_siswa); goto KCtcu; qs1np: jTwcE: goto IcTcg; Y6AcA: $data["\163\x6b\x6f\x72"] = $skor; goto oFoV0; VqpPn: $ada_jawaban_pg2 = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\x32"]); goto LfWne; aICfW: H0vFU: goto SlTTp; KCL4G: $log_siswa = []; goto Akumb; oCA1m: $bobot_pg = $info->bobot_pg / 100; goto vsc_Y; hLLpc: $jadwal = $this->input->get("\x6a\141\x64\x77\141\154"); goto OaBx1; RpStE: BYyb2: goto s8XV0; rXH1b: $data["\163\151\x73\167\141"] = $siswa; goto I7liw; CNMIu: $salah_pg = 0; goto Ja24N; OaBx1: $info = $this->cbt->getJadwalById($jadwal); goto G4lT3; J8gNS: $this->load->model("\x44\x61\x73\x68\x62\157\141\x72\x64\137\155\157\x64\145\x6c", "\144\x61\163\x68\x62\157\x61\162\x64"); goto ALAie; uEYHv: } public function simpanKoreksi() { goto eQtoY; eQtoY: $siswa = $this->input->post("\x73\x69\x73\x77\141", true); goto nlsyP; eNN1u: $jenis = $this->input->post("\x6a\145\156\x69\x73", true); goto AcAjT; fatZe: NKxXo: goto CYxsi; zglpe: $this->db->set($jenis, $jml); goto Vjn_f; CYxsi: $updated = $this->db->update_batch("\x63\142\164\137\163\x6f\x61\x6c\x5f\163\x69\163\167\141", $updated, "\151\x64\x5f\x73\157\141\x6c\137\x73\151\x73\x77\141"); goto Qywh0; hHvHd: $data["\x73\165\143\x63\x65\x73\x73"] = $updated; goto f4tg6; Vjn_f: $this->db->where("\151\144\137\156\151\154\141\151", $siswa . "\60" . $jadwal); goto hupje; WYWbA: $ids = []; goto nb9FP; qGPFq: $updated = []; goto WYWbA; FGq7o: foreach ($nilais as $nilai) { goto zINcs; RZqVj: $jml += $nilai->koreksi; goto qBTBi; qBTBi: $updated[] = ["\151\x64\137\x73\157\x61\x6c\x5f\x73\x69\x73\167\x61" => $nilai->id_soal, "\156\x69\x6c\x61\x69\x5f\x6b\157\162\145\153\163\x69" => $nilai->koreksi, "\156\x69\x6c\x61\x69\x5f\157\x74\x6f\x6d\141\164\x69\x73" => 1]; goto e8aQ7; e8aQ7: bisgW: goto Hnnqd; zINcs: array_push($ids, $nilai->id_soal); goto RZqVj; Hnnqd: } goto fatZe; f4tg6: $this->output_json($data); goto IsOCz; hupje: $this->db->update("\x63\x62\x74\137\x6e\151\x6c\141\151"); goto uSCkJ; uSCkJ: P6Ln9: goto hHvHd; AcAjT: $nilais = json_decode($this->input->post("\x6e\151\x6c\x61\151", true)); goto qGPFq; nlsyP: $jadwal = $this->input->post("\x6a\141\144\x77\141\x6c", true); goto eNN1u; nb9FP: $jml = 0; goto FGq7o; Qywh0: if (!$updated) { goto P6Ln9; } goto zglpe; IsOCz: } public function tandaiKoreksi() { goto ryU0b; WnRHH: $jadwal = $this->input->post("\x6a\x61\x64\x77\141\x6c", true); goto VovyS; KS16r: $this->db->where("\151\144\x5f\156\151\154\x61\x69", $siswa . "\60" . $jadwal); goto v24uD; QUq7_: $data["\163\165\143\x63\x65\163\x73"] = $updated; goto eobpr; ryU0b: $siswa = $this->input->post("\163\x69\163\167\x61", true); goto WnRHH; VovyS: $this->db->set("\144\x69\x6b\x6f\162\x65\153\x73\151", 1); goto KS16r; eobpr: $this->output_json($data); goto Iv6C8; v24uD: $updated = $this->db->update("\143\142\164\x5f\156\151\x6c\141\151"); goto QUq7_; Iv6C8: } public function tandaisemua() { goto yY5cR; M24ML: $this->output_json($data); goto vlP8Q; pKUyD: GIMIh: goto phoW8; z8ikc: $test_data = []; goto FEFfj; lyaYN: $siswas = $this->input->post("\151\x64\163", true); goto u8Gf2; phoW8: $data["\x73\x75\x63\x63\145\x73\x73"] = $updated; goto c88QQ; FEFfj: foreach ($siswas as $id_siswa => $memulai) { goto hqH1o; Lj4CE: foreach ($jawaban_is as $num => $jawab_is) { goto WVuPV; gstgQ: if (!$benar) { goto p8jrV; } goto cpQTU; z_5n2: $otomatis_is = $jawab_is->nilai_otomatis; goto Szdwa; cpQTU: $benar_is++; goto eFDXc; Szdwa: gtbEM: goto Eutru; eFDXc: p8jrV: goto z_5n2; qJuau: $benar = $jawab_is != null && strtolower($jawab_is->jawaban_siswa) == strtolower($jawab_is->jawaban_benar); goto gstgQ; WVuPV: $skor_koreksi_is += $jawab_is->nilai_koreksi; goto qJuau; Eutru: } goto x2JME; Kk5VX: anqgO: goto zjvtc; ITVeF: $skor_es = $otomatis_es == 0 ? $s_es : $skor_koreksi_es; goto vDWeY; hl0Z_: $otomatis_jod = 0; goto pZZlg; dqBA7: $bagi_isian = $info->tampil_isian / 100; goto qSZSO; AZMfU: if (!(count($jawaban_pg2) > 0)) { goto LSiYS; } goto Ofd35; lELid: cS0zi: goto G9YO6; G9YO6: pyIuz: goto zlKuO; UcSHL: if (!(count($jawaban_es) > 0)) { goto pyIuz; } goto AtylC; i2zM3: $benar_jod = 0; goto swkh5; aqFUX: if (!($info->tampil_isian > 0)) { goto uvVC3; } goto FjfGi; G5hH_: pp0pk: goto pWJgG; ZyZFS: $skor_is = $otomatis_is == 0 ? $s_is : $skor_koreksi_is; goto RcUIj; qtpCY: $skor_koreksi_is = 0.0; goto BG1XY; vDWeY: $total = $skor_pg + $skor_pg2 + $skor_jod + $skor_is + $skor_es; goto P4415; P2w9B: Wto_y: goto G5hH_; jfKBk: $benar_pg2 = 0; goto dBD8s; zlKuO: U4ODc: goto Et69n; ZWYq1: $skor_pg = $bagi_pg == 0 ? 0 : $benar_pg / $bagi_pg * $bobot_pg; goto RPN4v; cEbTk: $bagi_pg = $info->tampil_pg / 100; goto qx3JL; AtylC: foreach ($jawaban_es as $num => $jawab_es) { goto BBh3W; BBh3W: $skor_koreksi_es += $jawab_es->nilai_koreksi; goto YDLoV; Xmecz: if (!$benar) { goto zZqq2; } goto GGj6d; ib2Et: $otomatis_es = $jawab_es->nilai_otomatis; goto zNVIZ; GGj6d: $benar_es++; goto FTYPI; zNVIZ: tGpn2: goto dR8Zc; YDLoV: $benar = $jawab_es != null && strtolower($jawab_es->jawaban_siswa) == strtolower($jawab_es->jawaban_benar); goto Xmecz; FTYPI: zZqq2: goto ib2Et; dR8Zc: } goto lELid; ZIOel: EmNBk: goto n0nK2; KHYw_: $ada_jawaban_essai = isset($jawabans_siswa["\65"]); goto cEbTk; n0nK2: uvVC3: goto uIEzZ; AY61e: $bagi_jodoh = $info->tampil_jodohkan / 100; goto VSnqB; Vx3Xp: $bagi_pg2 = $info->tampil_kompleks / 100; goto WQz0j; bFBam: $updated++; goto dndoq; zshC2: $ada_jawaban_isian = isset($jawabans_siswa["\x34"]); goto KHYw_; hqH1o: $info = $this->cbt->getJadwalById($id_jadwal); goto ZIOQw; x2JME: vqzxT: goto ZIOel; xzj6a: foreach ($jawabans as $jawaban_siswa) { goto LC5vB; FBwnR: cMaIo: goto wpc3Q; HoXOb: p_xab: goto qhba7; YMg07: $jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar); goto xK3R2; qxnwP: $jawaban_siswa->jawaban_benar = array_map("\163\164\x72\x74\157\165\x70\160\145\x72", $jawaban_siswa->jawaban_benar); goto t91xz; pW9FH: $jawaban_siswa->jawaban_benar = json_decode(json_encode($jawaban_siswa->jawaban_benar)); goto Q6O91; qhba7: if (!($jawaban_siswa->jenis_soal == "\63")) { goto PLv3P; } goto z7fbU; t91xz: $jawaban_siswa->jawaban_benar = array_filter($jawaban_siswa->jawaban_benar, "\163\x74\162\154\x65\156"); goto HoXOb; lhdb0: $jawabans_siswa[$jawaban_siswa->jenis_soal][] = $jawaban_siswa; goto FBwnR; Q6O91: PLv3P: goto lhdb0; n230q: $jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar); goto qxnwP; NqF8o: $jawaban_siswa->opsi_a = @unserialize($jawaban_siswa->opsi_a); goto LYQN5; LYQN5: $jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa); goto n230q; z7fbU: $jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa); goto YMg07; LC5vB: if (!($jawaban_siswa->jenis_soal == "\62")) { goto p_xab; } goto NqF8o; xK3R2: $jawaban_siswa->jawaban_siswa = json_decode(json_encode($jawaban_siswa->jawaban_siswa)); goto pW9FH; wpc3Q: } goto oox4g; dMIqg: $jawaban_pg = isset($jawabans_siswa["\x31"]) ? $jawabans_siswa["\61"] : []; goto Y8Dej; HuKWX: YWMVW: goto Wu5KQ; P4415: $insert = ["\x69\144\x5f\x6e\x69\154\141\x69" => $id_siswa . "\x30" . $id_jadwal, "\151\x64\x5f\163\x69\x73\x77\x61" => $id_siswa, "\151\x64\137\152\141\x64\x77\x61\x6c" => $id_jadwal, "\160\147\137\142\x65\x6e\141\x72" => $benar_pg, "\160\x67\x5f\x6e\151\x6c\x61\151" => round($skor_pg, 2), "\153\x6f\155\x70\x6c\145\153\163\x5f\156\151\x6c\x61\x69" => round($skor_pg2, 2), "\152\157\144\157\150\x6b\141\x6e\137\156\x69\154\141\x69" => round($skor_jod, 2), "\x69\x73\x69\x61\x6e\137\x6e\x69\154\141\151" => round($skor_is, 2), "\145\163\x73\x61\x69\137\x6e\151\x6c\141\x69" => round($skor_es, 2), "\144\x69\x6b\157\162\x65\153\x73\x69" => $memulai === "\62" ? "\60" : "\61"]; goto YNz8G; YNz8G: $test_data[] = $insert; goto kDnnn; ZIOQw: $jawabans = $this->cbt->getJawabanByBank($info->id_bank, $id_siswa); goto MNULD; zjvtc: uqnML: goto ZWYq1; Et69n: $s_es = $bagi_essai == 0 ? 0 : $benar_es / $bagi_essai * $bobot_essai; goto ITVeF; dBD8s: $skor_koreksi_pg2 = 0.0; goto tB9mf; Y8Dej: $benar_pg = 0; goto xgjl7; qx3JL: $bobot_pg = $info->bobot_pg / 100; goto Vx3Xp; gXF8a: $skor_koreksi_es = 0.0; goto gez5K; Wu5KQ: LSiYS: goto rRNgr; Y2RYL: if (!(count($jawaban_pg) > 0)) { goto anqgO; } goto weMpS; BG1XY: $otomatis_is = 0; goto aqFUX; JNvHN: foreach ($jawaban_jodoh as $num => $jawab_jod) { goto sW7DZ; DMQI3: $headJawab = array_shift($arrJawab); goto cesSF; sW7DZ: $skor_koreksi_jod += $jawab_jod->nilai_koreksi; goto ESXS7; egh8r: foreach ($arrSoal as $kolSoal) { goto u4CaD; Xc980: $jwb->title = array_shift($kolSoal); goto vL48u; lf033: ZCdFt: goto B633k; u4CaD: $jwb = new stdClass(); goto z9z8F; vL48u: array_push($arrJwbSoal, $jwb); goto lf033; YbAEE: HlGTC: goto Xc980; z9z8F: foreach ($kolSoal as $pos => $kol) { goto e5HIl; vem5Z: $items++; goto havXV; havXV: MLsT0: goto dd3Lo; e5HIl: if (!($kol == "\x31")) { goto MLsT0; } goto F4rgw; F4rgw: $jwb->subtitle[] = $headSoal[$pos]; goto vem5Z; dd3Lo: sCcTy: goto vuyRL; vuyRL: } goto YbAEE; B633k: } goto pYJ2g; tKTEB: $arrJwbSoal = []; goto nKLjv; gEBK0: LWNTK: goto k2Edr; ElvvL: $arrJawab = $jawab_jod->jawaban_siswa->jawaban; goto DMQI3; fIcew: foreach ($arrJawab as $kolJawab) { goto c66qu; Sii9Y: foreach ($kolJawab as $po => $kol) { goto KzzlV; FUWXQ: zeHzp: goto XnzyW; yB_gJ: oJINT: goto FUWXQ; t60Dp: $jwbs->subtitle[] = $sub; goto yB_gJ; KzzlV: if (!($kol == "\x31")) { goto oJINT; } goto Km281; Km281: $sub = $headJawab[$po]; goto t60Dp; XnzyW: } goto R5Zpu; qMKU3: YjIiV: goto ZBPsq; R5Zpu: J07cw: goto pFNta; pFNta: array_push($arrJwbJawab, $jwbs); goto qMKU3; c66qu: $jwbs = new stdClass(); goto Sii9Y; ZBPsq: } goto gEBK0; dwxgy: UxSEg: goto ppZue; xUc9c: $item_salah = 0; goto OLrNW; HhrhQ: k43S9: goto U33lq; zcZ6X: $headSoal = array_shift($arrSoal); goto tKTEB; sTsU5: $otomatis_jod = $jawab_jod->nilai_otomatis; goto dwxgy; nKLjv: $items = 0; goto egh8r; cesSF: $arrJwbJawab = []; goto fIcew; U33lq: $benar_jod += 1 / $items * $item_benar; goto sTsU5; OLrNW: foreach ($arrJwbJawab as $p => $ajjs) { goto nZUUb; qJchH: foreach ($ajjs->subtitle as $pp => $ajs) { goto xAB_m; vTWIl: s_h1Q: goto nSz9E; v18x1: Q13Cv: goto vTWIl; P8sbP: $item_benar++; goto v18x1; x1G6F: wkvA6: goto P8sbP; xAB_m: if (in_array($ajs, $arrJwbSoal[$p]->subtitle)) { goto wkvA6; } goto kyHOt; kyHOt: $item_salah++; goto OICWy; OICWy: goto Q13Cv; goto x1G6F; nSz9E: } goto okm2A; okm2A: tjUa4: goto LHKx8; LHKx8: CBRJW: goto zpei0; zpei0: rbBaS: goto j0Gfo; nZUUb: if (!isset($ajjs->subtitle)) { goto CBRJW; } goto qJchH; j0Gfo: } goto HhrhQ; pYJ2g: Pm_FB: goto ElvvL; k2Edr: $item_benar = 0; goto xUc9c; ESXS7: $arrSoal = $jawab_jod->jawaban_benar->jawaban; goto zcZ6X; ppZue: } goto oUif6; uIEzZ: $s_is = $bagi_isian == 0 ? 0 : $benar_is / $bagi_isian * $bobot_isian; goto ZyZFS; xgjl7: $salah_pg = 0; goto Trb5T; pWJgG: $s_jod = $bagi_jodoh == 0 ? 0 : $benar_jod / $bagi_jodoh * $bobot_jodoh; goto EFDsh; swkh5: $skor_koreksi_jod = 0.0; goto hl0Z_; dndoq: bj5L3: goto efK_S; UGrYz: $s_pg2 = $bagi_pg2 == 0 ? 0 : $benar_pg2 / $bagi_pg2 * $bobot_pg2; goto q4clH; VSnqB: $bobot_jodoh = $info->bobot_jodohkan / 100; goto dqBA7; RcUIj: $jawaban_es = $ada_jawaban_essai ? $jawabans_siswa["\65"] : []; goto y_YGm; Zu6gs: $benar_is = 0; goto qtpCY; oox4g: FQ0AV: goto zshC2; Ofd35: foreach ($jawaban_pg2 as $num => $jawab_pg2) { goto ABKUJ; TKLhI: $skor_koreksi_pg2 += $jawab_pg2->nilai_koreksi; goto ivJ5V; rc8RB: xu_pZ: goto TiUY4; ABKUJ: $otomatis_pg2 = $jawab_pg2->nilai_otomatis; goto TKLhI; ivJ5V: $arr_benar = []; goto TdVDT; nC2r8: $benar_pg2 += 1 / count($jawab_pg2->jawaban_benar) * count($arr_benar); goto rc8RB; TdVDT: foreach ($jawab_pg2->jawaban_siswa as $js) { goto Mkq5_; hzAYI: BEb8w: goto scyg0; Mkq5_: if (!in_array($js, $jawab_pg2->jawaban_benar)) { goto QOvIb; } goto QHsnE; QHsnE: array_push($arr_benar, true); goto kZGuN; kZGuN: QOvIb: goto hzAYI; scyg0: } goto znyIF; OXPPg: if (!(count($jawab_pg2->jawaban_benar) > 0)) { goto xu_pZ; } goto nC2r8; TiUY4: RlyfI: goto Q0p5Q; znyIF: p83b5: goto OXPPg; Q0p5Q: } goto HuKWX; y_YGm: $benar_es = 0; goto gXF8a; FjfGi: if (!(count($jawaban_is) > 0)) { goto EmNBk; } goto Lj4CE; pZZlg: if (!($info->tampil_jodohkan > 0)) { goto pp0pk; } goto YW32k; ZUQax: if (!$upd) { goto bj5L3; } goto bFBam; MNULD: $jawabans_siswa = []; goto xzj6a; Trb5T: if (!($info->tampil_pg > 0)) { goto uqnML; } goto Y2RYL; qKqBu: $bobot_essai = $info->bobot_esai / 100; goto dMIqg; oUif6: UL4v2: goto P2w9B; eeNwq: if (!($info->tampil_esai > 0)) { goto U4ODc; } goto UcSHL; rRNgr: CYkl3: goto UGrYz; gez5K: $otomatis_es = 0; goto eeNwq; YW32k: if (!(count($jawaban_jodoh) > 0)) { goto Wto_y; } goto JNvHN; RP7RC: ijnto: goto Kk5VX; WQz0j: $bobot_pg2 = $info->bobot_kompleks / 100; goto AY61e; RPN4v: $jawaban_pg2 = isset($jawabans_siswa["\x32"]) ? $jawabans_siswa["\x32"] : []; goto jfKBk; EFDsh: $skor_jod = $otomatis_jod == 0 ? $s_jod : $skor_koreksi_jod; goto P0gp6; tB9mf: $otomatis_pg2 = 0; goto UL6eX; q4clH: $skor_pg2 = $otomatis_pg2 == 0 ? $s_pg2 : $skor_koreksi_pg2; goto u_F3W; UL6eX: if (!($info->tampil_kompleks > 0)) { goto CYkl3; } goto AZMfU; u_F3W: $jawaban_jodoh = isset($jawabans_siswa["\63"]) ? $jawabans_siswa["\x33"] : []; goto i2zM3; P0gp6: $jawaban_is = $ada_jawaban_isian ? $jawabans_siswa["\x34"] : []; goto Zu6gs; qSZSO: $bobot_isian = $info->bobot_isian / 100; goto UXWYJ; efK_S: hD1VB: goto kBKR1; UXWYJ: $bagi_essai = $info->tampil_esai / 100; goto qKqBu; weMpS: foreach ($jawaban_pg as $jwb_pg) { goto CjkOH; SLBvk: $benar_pg += 1; goto zHEXM; zHEXM: LibdB: goto KAuF3; KAuF3: cjFhp: goto DwNUf; t521_: if (strtoupper($jwb_pg->jawaban_siswa) == strtoupper($jwb_pg->jawaban_benar)) { goto pFTwO; } goto bmWpA; CjkOH: if (!($jwb_pg != null && $jwb_pg->jawaban_siswa != null)) { goto cjFhp; } goto t521_; bmWpA: $salah_pg += 1; goto am9I9; am9I9: goto LibdB; goto s7oFv; DwNUf: BgCMo: goto Xvhl1; s7oFv: pFTwO: goto SLBvk; Xvhl1: } goto RP7RC; kDnnn: $upd = $this->db->replace("\143\x62\164\x5f\x6e\151\154\141\151", $insert); goto ZUQax; kBKR1: } goto pKUyD; xV6y1: $id_jadwal = $this->input->post("\x69\x64\x5f\152\x61\x64\x77\141\x6c", true); goto lyaYN; c88QQ: $data["\x73\x69\163\167\x61"] = $siswas; goto M24ML; yY5cR: $this->load->model("\x43\x62\x74\x5f\x6d\x6f\x64\145\x6c", "\x63\142\164"); goto xV6y1; u8Gf2: $updated = 0; goto z8ikc; vlP8Q: } public function inputEssai() { goto nVNHw; Jilqn: $this->load->view("\x5f\164\x65\155\160\154\x61\x74\145\x73\x2f\x64\x61\163\150\142\x6f\x61\162\x64\x2f\x5f\150\x65\141\144\145\x72", $data); goto hVZNj; thLnF: $this->load->view("\x63\142\x74\57\156\x69\154\x61\x69\x2f\156\151\154\141\x69\137\x65\163\x73\x61\151"); goto XToEJ; un6YF: $smt = $this->dashboard->getSemesterActive(); goto VsOoS; zgCF2: tZh89: goto q3Pl5; OUC5T: $ids = []; goto WShtC; NMVEm: $data["\x74\x70\x5f\x61\x63\x74\x69\x76\x65"] = $tp; goto BAu4F; yCoX8: foreach ($siswas as $siswa) { goto kIBWr; SYbgk: $siswa->skor_essai = isset($nilai[$siswa->id_siswa]) ? $nilai[$siswa->id_siswa]->essai_nilai : "\x30"; goto GjY9_; kIdeF: $siswa->skor_pg2 = isset($nilai[$siswa->id_siswa]) ? $nilai[$siswa->id_siswa]->kompleks_nilai : "\60"; goto jB4p6; jB4p6: $siswa->skor_jod = isset($nilai[$siswa->id_siswa]) ? $nilai[$siswa->id_siswa]->jodohkan_nilai : "\x30"; goto CkJPk; kIBWr: $siswa->skor_pg = isset($nilai[$siswa->id_siswa]) ? $nilai[$siswa->id_siswa]->pg_nilai : "\x30"; goto kIdeF; GjY9_: KaE5x: goto UowXU; CkJPk: $siswa->skor_isian = isset($nilai[$siswa->id_siswa]) ? $nilai[$siswa->id_siswa]->isian_nilai : "\60"; goto SYbgk; UowXU: } goto etlz9; gYzOq: $kelas_selected = $this->input->get("\x6b\x65\x6c\x61\163"); goto thy1H; XToEJ: $this->load->view("\155\x65\155\x62\x65\162\x73\57\147\x75\162\165\x2f\x74\145\x6d\x70\x6c\x61\x74\145\163\57\x66\157\157\x74\x65\x72"); goto GwuTm; qL3Xt: $data["\152\141\144\x77\141\154\137\163\145\x6c\x65\x63\164\145\x64"] = $jadwal_selected; goto pNwsq; QEOTx: $user = $this->ion_auth->user()->row(); goto kB_uO; nYL18: $guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto Rr0N7; dhMvc: $data["\153\145\154\141\163\137\x73\x65\x6c\145\x63\x74\x65\x64"] = $kelas_selected; goto qL3Xt; UoSxZ: Mr2Z1: goto IylMq; BAu4F: $data["\x73\155\x74\137\141\143\x74\x69\166\x65"] = $smt; goto zSosr; VSy8h: if ($this->ion_auth->is_admin()) { goto DtTpX; } goto nYL18; VsOoS: $siswas = $this->cbt->getSiswaByKelas($tp->id_tp, $smt->id_smt, $kelas_selected); goto OUC5T; zSosr: $data["\156\141\155\141\137\x6b\145\x6c\141\163"] = $this->dropdown->getNamaKelasById($tp->id_tp, $smt->id_smt, $kelas_selected); goto dhMvc; nVNHw: $this->load->model("\104\141\x73\150\142\157\x61\162\x64\x5f\x6d\157\144\x65\154", "\144\x61\x73\150\142\x6f\141\x72\x64"); goto U9a0Z; IylMq: $nilai = $this->cbt->getNilaiAllSiswa([$jadwal_selected], $ids); goto yCoX8; S8lHI: $data["\163\151\163\x77\141\163"] = $siswas; goto VSy8h; FA_zR: $info = $this->cbt->getJadwalById($jadwal_selected); goto I3Mt1; hVZNj: $this->load->view("\x63\142\x74\x2f\156\151\x6c\x61\x69\x2f\x6e\x69\154\x61\151\x5f\145\x73\x73\141\x69"); goto P8AFm; ktPfn: $this->load->view("\155\x65\155\142\145\x72\x73\x2f\x67\165\x72\165\57\164\x65\155\x70\154\141\164\145\163\57\x68\x65\141\x64\145\162", $data); goto thLnF; pNwsq: $data["\x6a\x61\x64\x77\x61\x6c"] = $info; goto S8lHI; jn260: $data["\x74\x70"] = $this->dashboard->getTahun(); goto k5eEJ; P8AFm: $this->load->view("\137\x74\x65\155\160\154\141\164\x65\x73\x2f\144\x61\x73\150\142\x6f\x61\x72\x64\57\137\146\157\x6f\164\x65\162"); goto zgCF2; thy1H: $jadwal_selected = $this->input->get("\152\x61\x64\x77\141\154"); goto FA_zR; bvroF: DtTpX: goto Jilqn; I3Mt1: $tp = $this->dashboard->getTahunActive(); goto un6YF; zGEOP: $this->load->model("\x44\162\157\x70\144\x6f\x77\156\x5f\x6d\157\x64\x65\154", "\144\x72\x6f\160\x64\x6f\x77\x6e"); goto gYzOq; WShtC: foreach ($siswas as $key => $val) { array_push($ids, $val->id_siswa); nPcw0: } goto UoSxZ; Rr0N7: $data["\x67\x75\x72\x75"] = $guru; goto ktPfn; kB_uO: $data = ["\165\163\145\x72" => $user, "\152\165\144\x75\154" => "\111\x6e\160\x75\164\x20\116\151\x6c\141\151\40\115\141\x6e\165\141\154", "\163\165\x62\152\165\144\x75\154" => '', "\x70\162\x6f\x66\x69\x6c\x65" => $this->dashboard->getProfileAdmin($user->id), "\163\145\164\x74\x69\156\x67" => $this->dashboard->getSetting()]; goto jn260; U9a0Z: $this->load->model("\103\142\164\x5f\x6d\x6f\144\145\x6c", "\x63\142\164"); goto zGEOP; GwuTm: goto tZh89; goto bvroF; k5eEJ: $data["\163\x6d\164"] = $this->dashboard->getSemester(); goto NMVEm; etlz9: xNFYc: goto QEOTx; q3Pl5: } public function simpanKoreksiEssai() { goto zRh32; wKGV2: KJ6VY: goto yMaeh; ksGUC: $data["\x64\x61\164\x61"] = $nilais; goto teCAw; zRh32: $this->load->model("\103\142\x74\137\155\x6f\144\145\x6c", "\x63\142\x74"); goto HVfFd; teCAw: $data["\142\x6c\x6d\137\x73\145\x6c\x65\163\x61\151"] = count($blm_selesai); goto sTxQc; oh6Pm: foreach ($nilais as $nilai) { goto yDC2N; WHGbN: $update++; goto frZW4; n63HT: $up = $this->db->replace("\143\x62\x74\137\x6e\x69\154\x61\x69", $replace); goto L6rpv; WCMOT: if ($nilai_siswa != null) { goto FhZy1; } goto pDI03; yDC2N: $nilai_siswa = $this->cbt->getNilaiSiswaByJadwal($jadwal, $nilai->id_siswa); goto WCMOT; pDI03: array_push($blm_selesai, $nilai->id_siswa); goto Z8eW8; L6rpv: if (!$up) { goto q1m2v; } goto WHGbN; Xc6Uw: FhZy1: goto wVH7Q; Z8eW8: goto eUjwG; goto Xc6Uw; wVH7Q: $replace = ["\151\x64\137\x6e\x69\154\x61\151" => $nilai_siswa->id_nilai, "\151\144\x5f\x73\151\x73\x77\141" => $nilai_siswa->id_siswa, "\151\x64\x5f\152\x61\144\x77\x61\154" => $nilai_siswa->id_jadwal, "\x70\147\x5f\x62\x65\x6e\141\x72" => $nilai_siswa->pg_benar, "\160\x67\137\156\151\x6c\x61\151" => $nilai_siswa->pg_nilai, "\153\157\x6d\160\x6c\x65\x6b\x73\137\156\151\x6c\x61\151" => isset($nilai->kompleks_nilai) && $nilai->kompleks_nilai != null ? $nilai->kompleks_nilai : "\x30", "\152\x6f\144\x6f\x68\153\141\156\x5f\156\151\x6c\x61\x69" => isset($nilai->jodohkan_nilai) && $nilai->jodohkan_nilai != null ? $nilai->jodohkan_nilai : "\x30", "\151\163\151\x61\156\x5f\156\x69\154\141\151" => isset($nilai->isian_nilai) && $nilai->isian_nilai != null ? $nilai->isian_nilai : "\60", "\x65\163\x73\x61\151\137\156\151\x6c\141\151" => isset($nilai->essai_nilai) && $nilai->essai_nilai != null ? $nilai->essai_nilai : "\x30", "\144\151\153\x6f\162\145\153\x73\151" => "\x31"]; goto n63HT; AGrzF: eUjwG: goto n7cAm; frZW4: q1m2v: goto AGrzF; n7cAm: Vljkz: goto GojOk; GojOk: } goto wKGV2; ZjRM4: $update = 0; goto XC_kC; HVfFd: $jadwal = $this->input->post("\152\x61\x64\x77\x61\x6c", true); goto bMxGC; yMaeh: $data["\163\165\x63\143\x65\x73\x73"] = $update; goto ksGUC; XC_kC: $blm_selesai = []; goto oh6Pm; bMxGC: $nilais = json_decode($this->input->post("\156\x69\x6c\141\x69", true)); goto ZjRM4; sTxQc: $this->output_json($data); goto o4wUb; o4wUb: } }

Function Calls

None

Variables

None

Stats

MD5 fdbc7c684c938bd7934038553caa85ea
Eval Count 0
Decode Time 86 ms