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 Cbtrekap extends CI_Controller { public function __construct() { goto ymvtP; eNwtq: oihWi: goto GLkPl; VaaTw: if (!(!$this->ion_auth->is_admin() && !$this->ion_auth->in_group("guru"))) { goto ea6_8; } goto omMuX; Wka_b: a4Ig7: goto JF0mW; ymvtP: parent::__construct(); goto ImWfO; omMuX: 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 Mw5sU; JF0mW: $this->load->library(["datatables", "form_validation"]); goto Avtjf; ImWfO: if (!$this->ion_auth->logged_in()) { goto oihWi; } goto VaaTw; n2CDY: goto a4Ig7; goto eNwtq; Mw5sU: ea6_8: goto n2CDY; GLkPl: redirect("auth"); goto Wka_b; Dkqm1: $this->form_validation->set_error_delimiters('', ''); goto L_iTU; Avtjf: $this->load->library("upload"); goto Dkqm1; L_iTU: } public function output_json($data, $encode = true) { goto IPqH9; MUS3E: vkQrq: goto FH_zQ; IPqH9: if (!$encode) { goto vkQrq; } goto PdS3w; FH_zQ: $this->output->set_content_type("application/json")->set_output($data); goto esf2T; PdS3w: $data = json_encode($data); goto MUS3E; esf2T: } private function sortArrays(&$array) { foreach ($array as &$subArray) { goto cqRww; cqRww: if (!$subArray) { goto m9MG7; } goto pxwmf; QqobK: ZzRkX: goto xGBJv; GxJJz: m9MG7: goto QqobK; pxwmf: sort($subArray); goto GxJJz; xGBJv: } zOTmq: } public function index() { goto E7OUn; dCFxT: $jadwal_dikerjakan = $this->cbt->getJadwalTerpakai(); goto NHMfi; qUFTF: $data["sesis"] = $this->dropdown->getAllSesi(); goto UYT8V; Ocaam: $data["rekaps"] = $rekaps; goto AupTz; Wg3so: $data_jadwal = $this->cbt->getDataJadwal($tp->id_tp, $smt->id_smt, $guru->id_guru); goto hemrf; vWVgG: cyuSj: goto OkSVd; DrEVD: $data["rekaps"] = $rekaps; goto t__6H; VtyUx: $data["tp_active"] = $tp; goto OBpCC; K6Orj: $data["tp"] = $this->dashboard->getTahun(); goto VtyUx; UYT8V: $data["kelases"] = $this->cbt->getKelas(); goto E51Wk; G2jSm: $data_jadwal = $this->cbt->getDataJadwal($tp->id_tp, $smt->id_smt); goto JTSZN; Lqyy1: $data["ruangs"] = $this->cbt->getAllRuang(); goto qUFTF; hemrf: $rekapNilai = $this->cbt->getRekapJadwal($guru->id_guru); goto BxPhq; E7OUn: $this->load->model("Master_model", "master"); goto DQpHE; BR0i2: $user = $this->ion_auth->user()->row(); goto u3GaO; u3GaO: $data = ["user" => $user, "judul" => "Rekap Hasil Penilaian", "subjudul" => "Penilaian", "setting" => $this->dashboard->getSetting()]; goto Y4uOa; eY2oA: $this->load->view("members/guru/templates/header", $data); goto FoS9S; n5n31: $this->load->model("Dropdown_model", "dropdown"); goto BR0i2; QO0BN: $smt = $this->master->getSemesterActive(); goto K6Orj; I1bmr: $this->load->view("members/guru/templates/footer"); goto dn89t; FoS9S: $this->load->view("cbt/rekap/data"); goto I1bmr; sLX9B: $rekaps = array_merge($rekapJadwal, $rekapNilai); goto Ocaam; KASWE: $rekapJadwal = $data_jadwal; goto sLX9B; jNxPt: TDDuB: goto KASWE; cUHmE: $guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto Wg3so; OBpCC: $data["smt"] = $this->dashboard->getSemester(); goto ka4ec; KJAy7: $data["jenis"] = $this->cbt->getDistinctJenisUjian(); goto z1ick; Y4uOa: $tp = $this->master->getTahunActive(); goto QO0BN; s1TKN: $koreksi = $this->cbt->getTotalKoreksi(); goto VEZR5; OkSVd: $rekapJadwal = $data_jadwal; goto hes1l; meztL: $data["semester"] = $this->cbt->getDistinctSmt(); goto Lqyy1; QhSQk: $this->load->view("_templates/dashboard/_header", $data); goto mUuNC; vAoyg: $this->load->view("_templates/dashboard/_footer"); goto kAFw8; dn89t: goto aAHAv; goto Hx2XI; kAFw8: aAHAv: goto uqZ39; t__6H: $data["ada_rekap"] = $this->cbt->getAllRekap(); goto QhSQk; DQpHE: $this->load->model("Dashboard_model", "dashboard"); goto lTuNM; mUuNC: $this->load->view("cbt/rekap/data"); goto vAoyg; E51Wk: $data["banks"] = $this->cbt->getAllBankSoal(); goto s1TKN; NHMfi: if ($this->ion_auth->is_admin()) { goto Lxyng; } goto cUHmE; VwTZh: foreach ($data_jadwal as $rekap) { goto rr6ys; krJha: $rekap->dikoreksi = false; goto tGM7c; tGM7c: MdbUo: goto nGrIh; y233n: goto MdbUo; goto n3yt0; ozeZi: if (!$hanya_pg && isset($koreksi[$rekap->id_jadwal]) && isset($koreksi[$rekap->id_jadwal][0])) { goto iLNP7; } goto H4dv_; YYR8B: $hanya_pg = $rekap->tampil_pg > 0 && $rekap->tampil_kompleks == 0 && $rekap->tampil_jodohkan == 0 && $rekap->tampil_isian == 0 && $rekap->tampil_esai == 0; goto uvABK; H4dv_: $rekap->dikoreksi = true; goto y233n; nGrIh: DWnHv: goto VqT5y; xiVrY: $rekap->mengerjakan = $terpakai; goto YYR8B; rr6ys: $terpakai = isset($jadwal_dikerjakan[$rekap->id_jadwal]) ? count($jadwal_dikerjakan[$rekap->id_jadwal]) : 0; goto xiVrY; uvABK: $rekap->hanya_pg = $hanya_pg; goto ozeZi; n3yt0: iLNP7: goto krJha; VqT5y: } goto vWVgG; mw2Oo: $data["tahuns"] = $this->cbt->getDistinctTahun(); goto meztL; Hx2XI: Lxyng: goto obx99; ka4ec: $data["smt_active"] = $smt; goto KJAy7; hes1l: $rekaps = array_merge($rekapJadwal, $rekapNilai); goto DrEVD; VEZR5: $data["koreksi"] = $koreksi; goto dCFxT; AupTz: $data["ada_rekap"] = $this->cbt->getAllRekap($guru->id_guru); goto USXzV; JTSZN: $rekapNilai = $this->cbt->getRekapJadwal(); goto VwTZh; lTuNM: $this->load->model("Cbt_model", "cbt"); goto n5n31; obx99: $data["profile"] = $this->dashboard->getProfileAdmin($user->id); goto G2jSm; USXzV: $data["guru"] = $guru; goto eY2oA; BxPhq: foreach ($data_jadwal as $rekap) { goto dQJBi; hhcpf: $rekap->hanya_pg = $hanya_pg; goto aIKnN; ZYsVR: YkDeJ: goto Hnw8Y; dQJBi: $terpakai = isset($jadwal_dikerjakan[$rekap->id_jadwal]) ? count($jadwal_dikerjakan[$rekap->id_jadwal]) : 0; goto NL25X; hEiG7: L4EfR: goto f2NLK; E3AIu: goto L4EfR; goto ZYsVR; cZScR: $rekap->dikoreksi = true; goto E3AIu; f2NLK: qQZw0: goto uNV6Z; NL25X: $rekap->mengerjakan = $terpakai; goto o3q_c; Hnw8Y: $rekap->dikoreksi = false; goto hEiG7; o3q_c: $hanya_pg = $rekap->tampil_pg > 0 && $rekap->tampil_kompleks == 0 && $rekap->tampil_jodohkan == 0 && $rekap->tampil_isian == 0 && $rekap->tampil_esai == 0; goto hhcpf; aIKnN: if (!$hanya_pg && isset($koreksi[$rekap->id_jadwal]) && isset($koreksi[$rekap->id_jadwal][0])) { goto YkDeJ; } goto cZScR; uNV6Z: } goto jNxPt; z1ick: $data["kelas"] = $this->cbt->getDistinctKelas(); goto mw2Oo; uqZ39: } public function perMapel() { goto hvDOs; t0NwK: $this->load->view("_templates/dashboard/_footer"); goto UqZnG; QNcSG: $user = $this->ion_auth->user()->row(); goto ogyG4; UqZnG: omdDa: goto D5H9t; hvDOs: $this->load->model("Master_model", "master"); goto u_XkQ; s9aGb: $this->load->view("_templates/dashboard/_header", $data); goto cN4vr; XB1R4: $this->load->model("Cbt_model", "cbt"); goto QNcSG; rUqdz: $data["semester"] = $this->cbt->getDistinctSmt(); goto ohkcG; x9zbS: goto omdDa; goto jkYVw; jyN9H: $data["profile"] = $this->dashboard->getProfileAdmin($user->id); goto s9aGb; TcpGh: $this->load->view("members/guru/templates/footer"); goto x9zbS; ogyG4: $data = ["user" => $user, "judul" => "Hasil Siswa", "subjudul" => "Status Siswa", "setting" => $this->dashboard->getSetting()]; goto eJBJX; u_XkQ: $this->load->model("Dashboard_model", "dashboard"); goto XB1R4; T2Sou: $this->load->view("cbt/rekap/permapel"); goto TcpGh; H1BEf: $data["kelas"] = $this->cbt->getDistinctKelas(); goto TbZ1D; vHZ_Q: $data["tp_active"] = $tp; goto kp_gL; KQueX: $data["tp"] = $this->dashboard->getTahun(); goto vHZ_Q; f0ERi: $smt = $this->master->getSemesterActive(); goto KQueX; jkYVw: KS6kf: goto jyN9H; VHo3P: $data["guru"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto r2hy3; kp_gL: $data["smt"] = $this->dashboard->getSemester(); goto k_y6L; r3J3Y: $data["jenis"] = $this->cbt->getDistinctJenisUjian(); goto H1BEf; ohkcG: if ($this->ion_auth->is_admin()) { goto KS6kf; } goto VHo3P; TbZ1D: $data["tahun"] = $this->cbt->getDistinctTahun(); goto rUqdz; cN4vr: $this->load->view("cbt/rekap/permapel"); goto t0NwK; r2hy3: $this->load->view("members/guru/templates/header", $data); goto T2Sou; k_y6L: $data["smt_active"] = $smt; goto r3J3Y; eJBJX: $tp = $this->master->getTahunActive(); goto f0ERi; D5H9t: } public function backupNilai($id_jadwal) { goto q1grj; KsIdm: $save = $this->master->create("cbt_rekap_nilai", $nilai, true); goto DdKTI; CyhiZ: $soal_essai = ["tampil" => $jadwal->tampil_esai, "bobot" => $jadwal->bobot_esai, "jawaban" => $esb]; goto abyuc; ztWTP: JJFPY: goto dk6Zu; AE3uJ: KRgAi: goto bdmpw; BDWHt: $nama_kelas = $this->dropdown->getAllKelasByArrayId($id_tp->id_tp, $id_smt->id_smt, $arrkelas); goto llcOH; GQoxI: $durasies = $this->cbt->getIdSiswaFromDurasiByJadwal($id_jadwal); goto lWbVu; q5orL: goto l1Yy4; goto ztWTP; Zb5jx: $terpakai = isset($jadwal_dikerjakan[$id_jadwal]) && count($jadwal_dikerjakan[$id_jadwal]) > 0; goto xsuA_; bQLGu: lNGp8: goto aJlb3; g2rbx: foreach ($siswas as $siswa) { goto G7aBd; MBLnZ: vK5vf: goto mjkME; qQpJv: $soal_jod = ["bobot" => $jadwal->bobot_jodohkan, "jawaban" => $jods, "nilai" => $skor_jod]; goto tA2r4; ZCJ32: $pg2s = []; goto jEqvD; qS9_I: foreach ($jawabans[$siswa->id_siswa] as $jawaban) { goto o9Fu8; drxoQ: goto QQ0Gn; goto zIRZg; zIRZg: fyKPL: goto AZlkE; e0tjw: if ($jawaban->jenis_soal == "5") { goto ArJyt; } goto TGcTv; qu8lt: T4v4c: goto wrlMk; TM2k1: goto QQ0Gn; goto CEVEs; mv8HK: if ($jawaban->jenis_soal == "4") { goto T4v4c; } goto e0tjw; CMnY0: if ($jawaban->jenis_soal == "3") { goto hV8eg; } goto mv8HK; eAB2z: hV8eg: goto Zv9sA; CoYWF: if ($jawaban->jenis_soal == "2") { goto fyKPL; } goto CMnY0; BfTB7: qWyeX: goto hCcI_; o9Fu8: if ($jawaban->jenis_soal == "1") { goto qWyeX; } goto CoYWF; H4W3E: jqdmU: goto m4Kbx; kx0jG: goto QQ0Gn; goto eAB2z; JxOIz: array_push($ess, ["no_soal" => $jawaban->id_soal, "jawab" => $jawaban->jawaban_siswa]); goto ZKC1t; ZKC1t: QQ0Gn: goto H4W3E; mQmQM: goto QQ0Gn; goto qu8lt; wrlMk: array_push($iss, ["no_soal" => $jawaban->id_soal, "jawab" => $jawaban->jawaban_siswa]); goto TM2k1; hCcI_: array_push($pgs, ["no_soal" => $jawaban->id_soal, "jawab" => $jawaban->jawaban_siswa]); goto drxoQ; Zv9sA: array_push($jods, ["no_soal" => $jawaban->id_soal, "jawab" => $jawaban->jawaban_siswa]); goto mQmQM; CEVEs: ArJyt: goto JxOIz; AZlkE: array_push($pg2s, ["no_soal" => $jawaban->id_soal, "jawab" => $jawaban->jawaban_siswa]); goto kx0jG; TGcTv: goto QQ0Gn; goto BfTB7; m4Kbx: } goto hpWqU; oXTjJ: $skor_jod = 0; goto uGnlw; mjkME: $pgs = []; goto ZCJ32; C0W1L: if (!isset($nilais[$siswa->id_siswa])) { goto vK5vf; } goto Em7SR; aZ7hn: $skor_pg = 0; goto kuFin; xHdHX: rgoE8: goto nAB1h; wvKuu: $soal_es = ["bobot" => $jadwal->bobot_esai, "jawaban" => $ess, "nilai" => $skor_es]; goto mOfCZ; TPf1I: if (!isset($jawabans[$siswa->id_siswa])) { goto e9x0H; } goto qS9_I; G7aBd: $dikoreksi = []; goto WNe9v; hgd_k: $salah_pg = 0; goto aZ7hn; go6Tp: $benar_pg = $nilais[$siswa->id_siswa]->pg_benar; goto j30jY; D9eOI: $soal_pg2 = ["bobot" => $jadwal->bobot_kompleks, "jawaban" => $pg2s, "nilai" => $skor_pg2]; goto qQpJv; cjL6M: $skor_es = $nilais[$siswa->id_siswa]->essai_nilai; goto MBLnZ; tA2r4: $soal_is = ["bobot" => $jadwal->bobot_isian, "jawaban" => $iss, "nilai" => $skor_is]; goto wvKuu; jEqvD: $jods = []; goto nO6xw; Em7SR: array_push($dikoreksi, $nilais[$siswa->id_siswa]->dikoreksi); goto go6Tp; uduEI: $ess = []; goto TPf1I; WsJm8: $skor_pg = $nilais[$siswa->id_siswa]->pg_nilai; goto WlKXG; uGnlw: $skor_is = 0; goto tG57I; mOfCZ: $nilai[] = ["id_jadwal" => $id_jadwal, "id_tp" => $id_tp->id_tp, "tp" => $tahun, "id_smt" => $id_smt->id_smt, "smt" => $smt, "id_jenis" => $jadwal->id_jenis, "kode_jenis" => $jadwal->kode_jenis, "id_bank" => $jadwal->id_bank, "id_mapel" => $jadwal->id_mapel, "id_siswa" => $siswa->id_siswa, "nama_siswa" => $siswa->nama, "no_peserta" => $siswa->nomor_peserta, "id_kelas" => $siswa->id_kelas, "kelas" => $siswa->nama_kelas, "mulai" => isset($durasies[$siswa->id_siswa]) ? $durasies[$siswa->id_siswa]->mulai : '', "selesai" => isset($durasies[$siswa->id_siswa]) ? $durasies[$siswa->id_siswa]->selesai : '', "durasi" => isset($durasies[$siswa->id_siswa]) ? $durasies[$siswa->id_siswa]->lama_ujian : '', "bobot_pg" => $jadwal->bobot_pg, "jawaban_pg" => serialize($pgs), "nilai_pg" => round($skor_pg, 2), "soal_kompleks" => serialize($soal_pg2), "soal_jodohkan" => serialize($soal_jod), "soal_isian" => serialize($soal_is), "soal_essai" => serialize($soal_es), "id_guru" => $jadwal->id_guru]; goto xHdHX; l5zvL: $skor_jod = $nilais[$siswa->id_siswa]->jodohkan_nilai; goto x1OWE; j30jY: $salah_pg = $jadwal->tampil_pg - $benar_pg; goto WsJm8; tG57I: $skor_es = 0; goto C0W1L; x1OWE: $skor_is = $nilais[$siswa->id_siswa]->isian_nilai; goto cjL6M; WNe9v: $benar_pg = 0; goto hgd_k; nO6xw: $iss = []; goto uduEI; WlKXG: $skor_pg2 = $nilais[$siswa->id_siswa]->kompleks_nilai; goto l5zvL; kuFin: $skor_pg2 = 0; goto oXTjJ; hpWqU: Z4E0X: goto LUuj4; LUuj4: e9x0H: goto D9eOI; nAB1h: } goto AE3uJ; Zq82n: $jadwal_dikerjakan = $this->cbt->getJadwalTerpakai(); goto Zb5jx; xsuA_: $generated = $this->generateNilaiUjian($id_jadwal); goto OprQq; F89_s: foreach ($soals as $id => $soal) { goto XBE9Y; epP5p: goto glcFJ; goto d7dQ0; arRPy: if ($soal->jenis == "2") { goto U_zyl; } goto wlyYh; JJhDS: goto glcFJ; goto crR32; wlyYh: if ($soal->jenis == "3") { goto JvViX; } goto bTyeu; V45J1: JvViX: goto qXyqP; XBE9Y: if ($soal->jenis == "1") { goto OLEPm; } goto arRPy; p6xCc: S5GfE: goto QYue3; vKKbW: glcFJ: goto eh_03; d7dQ0: OLEPm: goto u1ial; KCbxb: if ($soal->jenis == "5") { goto S5GfE; } goto epP5p; bTyeu: if ($soal->jenis == "4") { goto skxsi; } goto KCbxb; eh_03: d5XFi: goto VQVi3; HwKbA: array_push($isb, ["no_soal" => $id, "jawab" => $soal->jawaban]); goto O9hVP; qXyqP: array_push($jodb, ["no_soal" => $id, "jawab" => $soal->jawaban]); goto JJhDS; u1ial: array_push($pgb, ["no_soal" => $id, "jawab" => $soal->jawaban]); goto QgJot; hhJvt: U_zyl: goto m9gAv; crR32: skxsi: goto HwKbA; QgJot: goto glcFJ; goto hhJvt; m9gAv: array_push($pg2b, ["no_soal" => $id, "jawab" => $soal->jawaban]); goto mDAIA; O9hVP: goto glcFJ; goto p6xCc; QYue3: array_push($esb, ["no_soal" => $id, "jawab" => $soal->jawaban]); goto vKKbW; mDAIA: goto glcFJ; goto V45J1; VQVi3: } goto Og3IE; feqR2: $result = false; goto Zq82n; UXbCf: $save = isset($jadwal_dikerjakan[$id_jadwal]) ? count($jadwal_dikerjakan[$id_jadwal]) : 0; goto q5orL; Og3IE: H003W: goto XSmoL; GXT3N: $this->db->update("cbt_jadwal"); goto bQLGu; n1fue: if ($generated && $result) { goto l91wp; } goto dmr3i; Gz2W6: $this->db->where("id_jadwal", $id_jadwal); goto GXT3N; SVwmk: $this->session->set_flashdata("rekapnilai", "<div id="flashdata" class="alert alert-default-success align-content-center w-100" role="alert"> Berhasil merekap nilai " . $save . " siswa</div>"); goto VH0fc; Xlrz_: $isb = []; goto PTQHN; lWbVu: $jawabans = $this->cbt->getIdSiswaFromJawabanByJadwal($id_jadwal); goto FW99P; kJ3P8: foreach ($siswas as $siswa) { array_push($arrSiswa, $siswa->id_siswa); KKJlu: } goto hd0Bq; PTQHN: $esb = []; goto F89_s; MWrfG: $pg2b = []; goto VMZHH; Y_u6X: $soals = $this->cbt->getNomorSoalByBank($jadwal->id_bank); goto qqUMI; XSmoL: $soal_kompleks = ["tampil" => $jadwal->tampil_kompleks, "bobot" => $jadwal->bobot_kompleks, "jawaban" => $pg2b]; goto C2rvq; VMZHH: $jodb = []; goto Xlrz_; FW99P: $nilais = $this->cbt->getAllNilaiSiswa($id_jadwal); goto k6ImB; ha15h: $kelass = unserialize($jadwal->bank_kelas ?? ''); goto kCR5h; C2rvq: $soal_jodohkan = ["tampil" => $jadwal->tampil_jodohkan, "bobot" => $jadwal->bobot_jodohkan, "jawaban" => $jodb]; goto YEQYP; q1grj: $this->load->model("Master_model", "master"); goto qYJuS; PCoTU: $this->db->set("rekap", 1); goto Gz2W6; dMKKI: $result = false; goto UXbCf; wLxIj: $this->output_json(true); goto uBDC0; aJlb3: $siswas = $this->cbt->getSiswaByKelasArray($id_tp->id_tp, $id_smt->id_smt, $arrkelas); goto QO1RR; ibxch: $this->load->model("Dropdown_model", "dropdown"); goto feqR2; Qif5X: Hgs1u: goto BDWHt; Atix0: $id_smt = $this->dashboard->getSemesterById($jadwal->id_smt); goto L6kMN; veWJN: $this->db->delete("cbt_rekap"); goto Vv8xm; OprQq: if ($terpakai && $generated) { goto JJFPY; } goto dMKKI; QO1RR: $arrSiswa = []; goto kJ3P8; LZkDQ: goto fmpvz; goto F8mhc; znwQl: $result = $this->db->insert("cbt_rekap", $insert); goto yMBZ2; hJ0P3: foreach ($kelass as $kls) { goto I1Iw2; sbJCf: NusH1: goto AliRl; nPdby: array_push($arrkelas, $kls["kelas_id"]); goto E52T1; E52T1: DDNud: goto sbJCf; I1Iw2: if (!($kls["kelas_id"] != null)) { goto DDNud; } goto nPdby; AliRl: } goto Qif5X; yMBZ2: if (!$result) { goto lNGp8; } goto PCoTU; DdKTI: $this->db->trans_complete(); goto VtEnh; L6kMN: $tahun = $id_tp->tahun; goto tozUP; abyuc: $this->db->where("id_jadwal", $id_jadwal); goto veWJN; llcOH: $pgb = []; goto MWrfG; F8mhc: l91wp: goto SVwmk; JcJrQ: $this->db->delete("cbt_rekap_nilai"); goto KsIdm; YEQYP: $soal_isian = ["tampil" => $jadwal->tampil_isian, "bobot" => $jadwal->bobot_isian, "jawaban" => $isb]; goto CyhiZ; cgoYZ: $jadwal = $this->cbt->getJadwalById($id_jadwal); goto Y_u6X; Vv8xm: $insert = ["id_tp" => $id_tp->id_tp, "tp" => $tahun, "id_smt" => $id_smt->id_smt, "smt" => $smt, "id_jadwal" => $id_jadwal, "id_jenis" => $jadwal->id_jenis, "kode_jenis" => $jadwal->kode_jenis, "id_bank" => $jadwal->id_bank, "bank_kode" => $jadwal->bank_kode, "bank_kelas" => $jadwal->bank_kelas, "nama_kelas" => serialize($nama_kelas), "bank_level" => $jadwal->bank_level, "id_mapel" => $jadwal->id_mapel, "nama_mapel" => $jadwal->nama_mapel, "kode" => $jadwal->kode, "tgl_mulai" => $jadwal->tgl_mulai, "tgl_selesai" => $jadwal->tgl_selesai, "tampil_pg" => $jadwal->tampil_pg, "jawaban_pg" => serialize($pgb), "bobot_pg" => $jadwal->bobot_pg, "soal_kompleks" => serialize($soal_kompleks), "soal_jodohkan" => serialize($soal_jodohkan), "soal_isian" => serialize($soal_isian), "soal_essai" => serialize($soal_essai), "id_guru" => $jadwal->id_guru, "nama_guru" => $jadwal->nama_guru]; goto znwQl; k6ImB: $nilai = []; goto g2rbx; E77Of: $this->load->model("Cbt_model", "cbt"); goto ibxch; VH0fc: fmpvz: goto wLxIj; kCR5h: $arrkelas = []; goto hJ0P3; bdmpw: $this->db->where("id_jadwal", $id_jadwal); goto JcJrQ; qYJuS: $this->load->model("Dashboard_model", "dashboard"); goto E77Of; qqUMI: $id_tp = $this->dashboard->getTahunById($jadwal->id_tp); goto Atix0; dk6Zu: $this->db->trans_start(); goto cgoYZ; tozUP: $smt = $id_smt->nama_smt; goto ha15h; hd0Bq: D2Xwo: goto GQoxI; dmr3i: $this->session->set_flashdata("rekapnilai", "<div id="flashdata" class="alert alert-default-danger align-content-center w-100" role="alert">Jadwal Ujian masih berlangsung, " . $save . " nilai siswa berhasil direkap.<br>Beberapa siswa belum selesai atau belum dikoreksi</div>"); goto LZkDQ; VtEnh: l1Yy4: goto n1fue; uBDC0: } public function bulkBackup() { goto ekVFC; sjSvp: NMw7P: goto ZSmzw; ZVzUx: $data["jadwal"] = $jadwals; goto Ht6YO; VVta4: $this->output_json(true); goto VRbHd; NKKUn: g0SgX: goto P5Hso; EA5Yq: goto BtX1l; goto sjSvp; P5Hso: $this->db->trans_complete(); goto howUf; zAoLV: $generated = 0; goto Uef_C; ZSmzw: $this->session->set_flashdata("rekapnilai", "<div id="flashdata" class="alert alert-default-success align-content-center w-100" role="alert"> Berhasil merekap <b>" . count($ids) . "</b> nilai </div>"); goto v0O0O; howUf: $sukses = $generated > 0 && $result; goto ffAaa; K2VUs: $data["total"] = count($ids); goto GEm7m; qx5Pg: $jadwal_dikerjakan = $this->cbt->getJadwalTerpakai(); goto w7yb4; uHOGl: sleep(1); goto K2VUs; ffAaa: if ($generated > 0 && $result) { goto NMw7P; } goto yGo5B; Uef_C: foreach ($jadwals as $jadwal) { goto eKTFP; ho0_T: $this->db->delete("cbt_rekap_nilai"); goto OFc1w; ut_0e: $this->db->where("id_jadwal", $jadwal->id_jadwal); goto nVpyJ; xypl6: $arrkelas = []; goto RhZ5V; jUaNI: D_7HL: goto LdN1o; CLohY: $tahun = $id_tp->tahun; goto S46NF; RhZ5V: foreach ($kelass as $kls) { goto pJT5W; Gl0qd: array_push($arrkelas, $kls["kelas_id"]); goto B4zh2; B4zh2: IA6O_: goto uzNAl; uzNAl: TVtpN: goto wrsIV; pJT5W: if (!($kls["kelas_id"] != null)) { goto IA6O_; } goto Gl0qd; wrsIV: } goto pcUpE; OFc1w: $save = $this->master->create("cbt_rekap_nilai", $nilai, true); goto jUaNI; dIYJL: foreach ($siswas as $siswa) { goto RkYx2; ck6RJ: $skor_is = 0; goto xBU1f; iFg_l: $jods = []; goto HsbdT; Gh2n2: $soal_jod = ["bobot" => $jadwal->bobot_jodohkan, "jawaban" => $jods, "nilai" => $skor_jod]; goto ssT6Y; ovMlu: $skor_jod = 0; goto ck6RJ; Ey4j0: if (!isset($jawabans[$siswa->id_siswa])) { goto bSAwC; } goto XnCNN; TR9EV: $ess = []; goto Ey4j0; pDADH: $nilai[] = ["id_jadwal" => $jadwal->id_jadwal, "id_tp" => $id_tp->id_tp, "tp" => $tahun, "id_smt" => $id_smt->id_smt, "smt" => $smt, "id_jenis" => $jadwal->id_jenis, "kode_jenis" => $jadwal->kode_jenis, "id_bank" => $jadwal->id_bank, "id_mapel" => $jadwal->id_mapel, "id_siswa" => $siswa->id_siswa, "nama_siswa" => $siswa->nama, "no_peserta" => $siswa->nomor_peserta, "id_kelas" => $siswa->id_kelas, "kelas" => $siswa->nama_kelas, "mulai" => isset($durasies[$siswa->id_siswa]) ? $durasies[$siswa->id_siswa]->mulai : '', "selesai" => isset($durasies[$siswa->id_siswa]) ? $durasies[$siswa->id_siswa]->selesai : '', "durasi" => isset($durasies[$siswa->id_siswa]) ? $durasies[$siswa->id_siswa]->lama_ujian : '', "bobot_pg" => $jadwal->bobot_pg, "jawaban_pg" => serialize($pgs), "nilai_pg" => round($skor_pg, 2), "soal_kompleks" => serialize($soal_pg2), "soal_jodohkan" => serialize($soal_jod), "soal_isian" => serialize($soal_is), "soal_essai" => serialize($soal_es), "id_guru" => $jadwal->id_guru]; goto kC1BB; nM8xy: $pgs = []; goto CxwJI; RWxP9: array_push($dikoreksi, $nilais[$siswa->id_siswa]->dikoreksi); goto X9Ruq; VyTLV: $skor_is = $nilais[$siswa->id_siswa]->isian_nilai; goto olpaL; BWEw4: $soal_pg2 = ["bobot" => $jadwal->bobot_kompleks, "jawaban" => $pg2s, "nilai" => $skor_pg2]; goto Gh2n2; ssT6Y: $soal_is = ["bobot" => $jadwal->bobot_isian, "jawaban" => $iss, "nilai" => $skor_is]; goto U8rsk; XI2CY: if (!isset($nilais[$siswa->id_siswa])) { goto SiIty; } goto RWxP9; xBU1f: $skor_es = 0; goto XI2CY; iH3yZ: $salah_pg = 0; goto BdeaQ; BdeaQ: $skor_pg = 0; goto mF3s3; zI6iZ: $skor_pg = $nilais[$siswa->id_siswa]->pg_nilai; goto K2Uo0; U8rsk: $soal_es = ["bobot" => $jadwal->bobot_esai, "jawaban" => $ess, "nilai" => $skor_es]; goto pDADH; FxVW9: bSAwC: goto BWEw4; LCJ_X: $benar_pg = 0; goto iH3yZ; P8GTr: SiIty: goto nM8xy; mF3s3: $skor_pg2 = 0; goto ovMlu; DJ8bE: $salah_pg = $jadwal->tampil_pg - $benar_pg; goto zI6iZ; A9zK6: xOCTm: goto FxVW9; XnCNN: foreach ($jawabans[$siswa->id_siswa] as $jawaban) { goto wei2N; p3iaj: if ($jawaban->jenis_soal == "2") { goto Q_SgW; } goto HFND5; ZtzLP: array_push($pgs, ["no_soal" => $jawaban->id_soal, "jawab" => $jawaban->jawaban_siswa]); goto l1IBp; nDgTj: ms7N_: goto Wr4Sp; Wr4Sp: array_push($jods, ["no_soal" => $jawaban->id_soal, "jawab" => $jawaban->jawaban_siswa]); goto ixy01; ixy01: goto XzCK0; goto Cz8oo; nsngV: ABANf: goto Jjk7H; tFuEJ: array_push($iss, ["no_soal" => $jawaban->id_soal, "jawab" => $jawaban->jawaban_siswa]); goto C5jQe; CCz43: array_push($pg2s, ["no_soal" => $jawaban->id_soal, "jawab" => $jawaban->jawaban_siswa]); goto l0tNy; Cz8oo: r8KRT: goto tFuEJ; tf5Aj: XzCK0: goto nsngV; HFND5: if ($jawaban->jenis_soal == "3") { goto ms7N_; } goto I_qFS; C5jQe: goto XzCK0; goto LYBea; HgHq0: if ($jawaban->jenis_soal == "5") { goto ehOqs; } goto NkIIE; wei2N: if ($jawaban->jenis_soal == "1") { goto Eljmc; } goto p3iaj; LYBea: ehOqs: goto duouO; PCHQ3: Q_SgW: goto CCz43; l1IBp: goto XzCK0; goto PCHQ3; gInMv: Eljmc: goto ZtzLP; NkIIE: goto XzCK0; goto gInMv; duouO: array_push($ess, ["no_soal" => $jawaban->id_soal, "jawab" => $jawaban->jawaban_siswa]); goto tf5Aj; l0tNy: goto XzCK0; goto nDgTj; I_qFS: if ($jawaban->jenis_soal == "4") { goto r8KRT; } goto HgHq0; Jjk7H: } goto A9zK6; RkYx2: $dikoreksi = []; goto LCJ_X; X9Ruq: $benar_pg = $nilais[$siswa->id_siswa]->pg_benar; goto DJ8bE; K2Uo0: $skor_pg2 = $nilais[$siswa->id_siswa]->kompleks_nilai; goto adWKw; adWKw: $skor_jod = $nilais[$siswa->id_siswa]->jodohkan_nilai; goto VyTLV; HsbdT: $iss = []; goto TR9EV; CxwJI: $pg2s = []; goto iFg_l; olpaL: $skor_es = $nilais[$siswa->id_siswa]->essai_nilai; goto P8GTr; kC1BB: AeEoS: goto kG6gr; kG6gr: } goto nfYEV; yTrtG: vfjid: goto iS2HN; pcUpE: xIfZy: goto ct64P; lT5Qr: foreach ($soals as $id => $soal) { goto YRcfJ; NivXp: array_push($pg2b, ["no_soal" => $id, "jawab" => $soal->jawaban]); goto Xd6be; y39HC: IlHL_: goto Q7Wmw; r66NT: Jrw4f: goto NivXp; Xd6be: goto e1zu8; goto lyKtZ; b0vSD: array_push($esb, ["no_soal" => $id, "jawab" => $soal->jawaban]); goto GeNPP; Q7Wmw: array_push($pgb, ["no_soal" => $id, "jawab" => $soal->jawaban]); goto A7c97; hD5XT: RDzD2: goto yHOQx; vL61K: goto e1zu8; goto y39HC; qbeLD: if ($soal->jenis == "2") { goto Jrw4f; } goto YwK9P; yNEmn: goto e1zu8; goto mssCV; lyKtZ: TLPHm: goto aZYrL; aZYrL: array_push($jodb, ["no_soal" => $id, "jawab" => $soal->jawaban]); goto XLr1F; Ah70m: if ($soal->jenis == "4") { goto tir15; } goto nDaPr; cO5g9: array_push($isb, ["no_soal" => $id, "jawab" => $soal->jawaban]); goto yNEmn; A7c97: goto e1zu8; goto r66NT; YwK9P: if ($soal->jenis == "3") { goto TLPHm; } goto Ah70m; GeNPP: e1zu8: goto hD5XT; XLr1F: goto e1zu8; goto uYETV; nDaPr: if ($soal->jenis == "5") { goto DvRT4; } goto vL61K; mssCV: DvRT4: goto b0vSD; YRcfJ: if ($soal->jenis == "1") { goto IlHL_; } goto qbeLD; uYETV: tir15: goto cO5g9; yHOQx: } goto A2BM6; BY9tW: if (!$gen) { goto vzr9H; } goto CMo9z; Rm7kQ: $this->db->set("rekap", 1); goto ut_0e; S46NF: $smt = $id_smt->nama_smt; goto ZP6DB; iS2HN: $siswas = $this->cbt->getSiswaByKelasArray($id_tp->id_tp, $id_smt->id_smt, $arrkelas); goto P2HCD; udjca: $soal_essai = ["tampil" => $jadwal->tampil_esai, "bobot" => $jadwal->bobot_esai, "jawaban" => $esb]; goto Iihdl; A2BM6: dvpTK: goto jMMfu; oZ_e8: $gen = $this->generateNilaiUjian($jadwal->id_jadwal); goto BY9tW; iUp_8: $esb = []; goto lT5Qr; eKTFP: $terpakai = isset($jadwal_dikerjakan[$jadwal->id_jadwal]) && count($jadwal_dikerjakan[$jadwal->id_jadwal]) > 0; goto kjDQU; eYGR9: $soal_jodohkan = ["tampil" => $jadwal->tampil_jodohkan, "bobot" => $jadwal->bobot_jodohkan, "jawaban" => $jodb]; goto RqB1W; P382c: $pg2b = []; goto VCVtd; LdN1o: KJfDy: goto z3Kt7; ct64P: $nama_kelas = $this->dropdown->getAllKelasByArrayId($id_tp->id_tp, $id_smt->id_smt, $arrkelas); goto U2vOQ; HT0ba: $result = $this->db->insert("cbt_rekap", $insert); goto QO9z0; ZP6DB: $kelass = unserialize($jadwal->bank_kelas ?? ''); goto xypl6; X1E1h: vzr9H: goto OK1B9; UMRME: foreach ($siswas as $siswa) { array_push($arrSiswa, $siswa->id_siswa); Regv0: } goto en7TJ; Iihdl: $this->db->where("id_jadwal", $jadwal->id_jadwal); goto MA5el; CMo9z: $generated++; goto X1E1h; nfYEV: zLs1O: goto NylbD; OK1B9: $soals = $this->cbt->getNomorSoalByBank($jadwal->id_bank); goto ISl3s; QO9z0: if (!$result) { goto vfjid; } goto Rm7kQ; kjDQU: if (!$terpakai) { goto D_7HL; } goto oZ_e8; U2vOQ: $pgb = []; goto P382c; P2HCD: $arrSiswa = []; goto UMRME; VCVtd: $jodb = []; goto gud8W; RqB1W: $soal_isian = ["tampil" => $jadwal->tampil_isian, "bobot" => $jadwal->bobot_isian, "jawaban" => $isb]; goto udjca; en7TJ: m87r1: goto gpIA5; gud8W: $isb = []; goto iUp_8; fp6Or: $id_smt = $this->dashboard->getSemesterById($jadwal->id_smt); goto CLohY; MA5el: $this->db->delete("cbt_rekap"); goto w330o; gpIA5: $durasies = $this->cbt->getIdSiswaFromDurasiByJadwal($jadwal->id_jadwal); goto vydGq; vydGq: $jawabans = $this->cbt->getIdSiswaFromJawabanByJadwal($jadwal->id_jadwal); goto MToR4; NylbD: $this->db->where("id_jadwal", $jadwal->id_jadwal); goto ho0_T; nVpyJ: $this->db->update("cbt_jadwal"); goto yTrtG; r6iJG: $nilai = []; goto dIYJL; jMMfu: $soal_kompleks = ["tampil" => $jadwal->tampil_kompleks, "bobot" => $jadwal->bobot_kompleks, "jawaban" => $pg2b]; goto eYGR9; MToR4: $nilais = $this->cbt->getAllNilaiSiswa($jadwal->id_jadwal); goto r6iJG; ISl3s: $id_tp = $this->dashboard->getTahunById($jadwal->id_tp); goto fp6Or; w330o: $insert = ["id_tp" => $id_tp->id_tp, "tp" => $tahun, "id_smt" => $id_smt->id_smt, "smt" => $smt, "id_jadwal" => $jadwal->id_jadwal, "id_jenis" => $jadwal->id_jenis, "kode_jenis" => $jadwal->kode_jenis, "id_bank" => $jadwal->id_bank, "bank_kode" => $jadwal->bank_kode, "bank_kelas" => $jadwal->bank_kelas, "nama_kelas" => serialize($nama_kelas), "bank_level" => $jadwal->bank_level, "id_mapel" => $jadwal->id_mapel, "nama_mapel" => $jadwal->nama_mapel, "kode" => $jadwal->kode, "tgl_mulai" => $jadwal->tgl_mulai, "tgl_selesai" => $jadwal->tgl_selesai, "tampil_pg" => $jadwal->tampil_pg, "jawaban_pg" => serialize($pgb), "bobot_pg" => $jadwal->bobot_pg, "soal_kompleks" => serialize($soal_kompleks), "soal_jodohkan" => serialize($soal_jodohkan), "soal_isian" => serialize($soal_isian), "soal_essai" => serialize($soal_essai), "id_guru" => $jadwal->id_guru, "nama_guru" => $jadwal->nama_guru]; goto HT0ba; z3Kt7: } goto NKKUn; mR5q2: $this->load->model("Dropdown_model", "dropdown"); goto VOg4z; w7yb4: $jadwals = $this->cbt->getJadwalByArrId($ids); goto ZVzUx; yGo5B: $this->session->set_flashdata("rekapnilai", "<div id="flashdata" class="alert alert-default-danger align-content-center w-100" role="alert">Jadwal Ujian masih berlangsung, " . $save . " nilai siswa berhasil direkap.<br>Beberapa siswa belum selesai atau belum dikoreksi</div>"); goto EA5Yq; v0O0O: BtX1l: goto VVta4; VOg4z: $ids = json_decode($this->input->post("ids", true)); goto uHOGl; IVVaz: $this->load->model("Cbt_model", "cbt"); goto mR5q2; GEm7m: $this->db->trans_start(); goto qx5Pg; Ht6YO: $result = false; goto U8C_G; hwaka: $this->load->model("Dashboard_model", "dashboard"); goto IVVaz; U8C_G: $save = false; goto zAoLV; ekVFC: $this->load->model("Master_model", "master"); goto hwaka; VRbHd: } public function hapusRekap() { goto FK5Of; WXM8M: $this->output_json($data); goto NqwX5; R0Wo0: XZ9MQ: goto ooIzY; ooIzY: $this->session->set_flashdata("rekapnilai", "<div id="flashdata" class="alert alert-default-success align-content-center w-100" role="alert"> Berhasil menghapus <b>" . count($ids) . "</b> nilai </div>"); goto i6F8r; FK5Of: $ids = json_decode($this->input->post("ids", true)); goto oBrFX; v20Tr: $delRekap = $this->db->delete("cbt_rekap"); goto uENOd; oBrFX: sleep(1); goto CSrBB; CSrBB: $data["total"] = count($ids); goto P20Z6; OjzIC: if ($delNilai && $delRekap) { goto XZ9MQ; } goto nxKdC; P20Z6: $this->db->where_in("id_jadwal", $ids); goto v20Tr; xNaXi: $delNilai = $this->db->delete("cbt_rekap_nilai"); goto OjzIC; ptOTc: $data["success"] = $delNilai && $delRekap; goto WXM8M; nxKdC: $this->session->set_flashdata("rekapnilai", "<div id="flashdata" class="alert alert-default-danger align-content-center w-100" role="alert"> Hapus nilai gagal </div>"); goto fED7_; i6F8r: y2_h_: goto ptOTc; uENOd: $this->db->where_in("id_jadwal", $ids); goto xNaXi; fED7_: goto y2_h_; goto R0Wo0; NqwX5: } function getDataFromArray1ByUserId($array, $userId) { goto B3mpt; IkDsN: nVeEe: goto wKUND; B3mpt: foreach ($array as $key => $data) { goto loKx5; H4nSm: return $array; goto QksCh; QksCh: OfEcD: goto Vin83; loKx5: if (!($data->id_siswa == $userId)) { goto OfEcD; } goto H4nSm; Vin83: pR4UI: goto itm7A; itm7A: } goto IkDsN; wKUND: return array(); goto BYqZE; BYqZE: } public function getJenisPenilaian() { goto L6O0t; L6O0t: $this->load->model("Cbt_model", "cbt"); goto zgmwY; KUgfQ: $jadwals = $this->cbt->getJenisRekap($tahun, $smt); goto WBuak; zgmwY: $tahun = $this->input->get("tahun"); goto RJdRn; RJdRn: $smt = $this->input->get("smt"); goto KUgfQ; WBuak: } public function getNilaiKelas() { goto nXyKM; wudET: foreach ($jadwals as $key => $jadwal) { goto KBE47; XXwT9: $jadwal->jawaban_pg = unserialize($jadwal->jawaban_pg); goto H3meR; Bq2Tb: $ids = []; goto dU0DY; H3meR: $jadwal->jawaban_esai = unserialize($jadwal->jawaban_esai); goto Bq2Tb; ULRPp: tl41u: goto yvlhO; hqcBB: unset($jadwals[$key]); goto ULRPp; gzGZk: if (in_array($kelas, $ids)) { goto tl41u; } goto hqcBB; KBE47: $jadwal->bank_kelas = unserialize($jadwal->bank_kelas); goto XXwT9; dU0DY: foreach ($jadwal->bank_kelas as $id) { array_push($ids, $id["kelas_id"]); IZK27: } goto GA8GW; GA8GW: cd3gL: goto gzGZk; yvlhO: U0_Aq: goto DB4qr; DB4qr: } goto QYh3P; TL3WL: $jadwals = $this->cbt->getAllRekapByJadwal($tahun, $smt, $jenis, $level->level_id, $mapel, $guru->id_guru); goto wudET; lyJ1r: usort($arrSiswa, function ($a, $b) { return $a["nama"] <=> $b["nama"]; }); goto Pzyl2; q820I: $mapel = $this->input->get("mapel"); goto CzHjW; B_HcJ: if (!(count($rekaps) > 0)) { goto hD7m0; } goto h5AFC; MNxc4: $smtg = $this->dashboard->getSemesterByNama($smt); goto ZAz4a; QYh3P: bJcim: goto L1A9E; g1x9Z: foreach ($jadwals as $key => $jadwal) { goto cquTC; xldb_: $jadwal->jawaban_esai = unserialize($jadwal->jawaban_esai ?? ''); goto CDAw2; Z7Ra2: if (in_array($kelas, $ids)) { goto ggKIh; } goto Dq29L; CDAw2: $ids = []; goto jkVJi; xjpz0: ggKIh: goto HjeLA; Hi8Hp: nNl9Y: goto Z7Ra2; jkVJi: foreach ($jadwal->bank_kelas as $id) { array_push($ids, $id["kelas_id"]); E2v_M: } goto Hi8Hp; Dq29L: unset($jadwals[$key]); goto xjpz0; cquTC: $jadwal->bank_kelas = unserialize($jadwal->bank_kelas ?? ''); goto MhMOe; HjeLA: TNXyB: goto bTfHq; MhMOe: $jadwal->jawaban_pg = unserialize($jadwal->jawaban_pg ?? ''); goto xldb_; bTfHq: } goto BS3yg; AaBDU: $data["siswa"] = $arrSiswa; goto CDc5U; A7UE0: foreach ($rekaps as $key => $item) { $arrNilai[$item->id_siswa][$item->id_jadwal] = $item; eUVFM: } goto LbuTU; w5d7h: brv12: goto taghm; LbuTU: keUf4: goto JgfYd; DnbnZ: $this->output_json($data); goto chG0t; vGY4c: $level = $this->master->getKelasById($kelas); goto sQ1Gr; z1uGe: goto v3jer; goto B1xfC; h5AFC: foreach ($rekaps as $rekap) { goto p31Mf; qPTZN: $rekap->soal_jodohkan = json_decode(json_encode(unserialize($rekap->soal_jodohkan))); goto WL7sC; ixpkT: B0UXg: goto BJoJQ; p31Mf: $rekap->jawaban_pg = $this->unserialize_with_key($rekap->jawaban_pg); goto A5zlz; WL7sC: $rekap->soal_isian = json_decode(json_encode(unserialize($rekap->soal_isian))); goto g0vgc; jtkUF: $arrSiswa[$rekap->id_siswa] = ["id_siswa" => $rekap->id_siswa, "nomor_peserta" => $rekap->nomor_peserta, "nama" => $rekap->nama]; goto ixpkT; A5zlz: $rekap->soal_kompleks = json_decode(json_encode(unserialize($rekap->soal_kompleks))); goto qPTZN; g0vgc: $rekap->soal_essai = json_decode(json_encode(unserialize($rekap->soal_essai))); goto jtkUF; BJoJQ: } goto w5d7h; UgLEZ: $this->load->model("Cbt_model", "cbt"); goto nj6mB; B3OLZ: $this->load->model("Dashboard_model", "dashboard"); goto UgLEZ; nj6mB: $kelas = $this->input->get("kelas"); goto vGY4c; sQ1Gr: $jenis = $this->input->get("jenis"); goto HGEY_; r2frF: $jadwals = $this->cbt->getAllRekapByJadwal($tahun, $smt, $jenis, $level->level_id, $mapel); goto g1x9Z; tHiXy: $arrSiswa = []; goto B_HcJ; JgfYd: usort($jadwals, function ($a, $b) { return $a->id_jadwal <=> $b->id_jadwal; }); goto AaBDU; taghm: hD7m0: goto lyJ1r; x91s1: v3jer: goto tHiXy; CDc5U: $data["nilai"] = $arrNilai; goto k9S3A; nXyKM: $this->load->model("Master_model", "master"); goto B3OLZ; HGEY_: $tahun = $this->input->get("tahun"); goto H459A; BS3yg: NGadu: goto riYAB; B7ttA: $tpg = $this->dashboard->getTahunByTahun($tahun); goto MNxc4; L1A9E: $rekaps = $this->cbt->getAllNilaiRekapByJadwal($tahun, $smt, $jenis, $kelas, $mapel, $guru->id_guru); goto z1uGe; ZAz4a: $guru = $this->dashboard->getDataGuruByUserId($user->id, $tpg->id_tp, $smtg->id_smt); goto TL3WL; Pzyl2: $arrNilai = []; goto A7UE0; mD3R1: if ($this->ion_auth->is_admin()) { goto oUvs6; } goto B7ttA; CzHjW: $user = $this->ion_auth->user()->row(); goto mD3R1; B1xfC: oUvs6: goto r2frF; H459A: $smt = $this->input->get("smt"); goto q820I; riYAB: $rekaps = $this->cbt->getAllNilaiRekapByJadwal($tahun, $smt, $jenis, $kelas, $mapel); goto x91s1; k9S3A: $data["info"] = array_values($jadwals); goto DnbnZ; chG0t: } public function olahNilai() { goto HGHsV; HGHsV: $this->load->model("Master_model", "master"); goto XnyMF; Ulfvk: $kls = @unserialize($rekap->nama_kelas); goto YUa9L; XnyMF: $this->load->model("Dashboard_model", "dashboard"); goto hH41U; WszrQ: foreach ($siswas as $siswa) { goto NIZ_S; aBNs0: lmS2X: goto OaFGH; NIZ_S: $siswa->jawaban_pg = $this->unserialize_with_key($siswa->jawaban_pg); goto J20Cp; JRxZG: $siswa->soal_jodohkan = json_decode(json_encode(unserialize($siswa->soal_jodohkan))); goto ychvX; ychvX: $siswa->soal_isian = json_decode(json_encode(unserialize($siswa->soal_isian))); goto OVA_i; OVA_i: $siswa->soal_essai = json_decode(json_encode(unserialize($siswa->soal_essai))); goto aBNs0; J20Cp: $siswa->soal_kompleks = json_decode(json_encode(unserialize($siswa->soal_kompleks))); goto JRxZG; OaFGH: } goto RS3JW; orxKX: $xa = $this->input->get("xa"); goto zFW5a; rhdKX: $yb = $this->input->get("yb"); goto Fh3W5; gbSX4: $data["smt"] = $this->dashboard->getSemester(); goto cJV_D; UUfK9: $tp = $this->dashboard->getTahunActive(); goto mJr19; CPJ_0: $data["nama_kelas"] = $kelas == null ? "Silahkan pilih kelas" : $kls[$kelas]; goto S0Q3U; DrW88: $this->load->view("_templates/dashboard/_footer"); goto LDggO; MQC1b: $jadwal = $this->input->get("jadwal"); goto dUZjD; a9YR4: $this->load->view("_templates/dashboard/_header", $data); goto a86fi; dFD4k: $data["tp"] = $this->dashboard->getTahun(); goto LFICn; MP83a: V29H9: goto Cxjb2; bnzvz: $this->load->view("cbt/rekap/olah"); goto Pf1ny; YUa9L: $data["kelas"] = $kls; goto ITfl3; NRPAG: $data["rekap"] = $rekap; goto rTFYm; N9H53: $ya = $this->input->get("ya"); goto rhdKX; DpEm0: o4gsC: goto ZYBBK; hH41U: $this->load->model("Cbt_model", "cbt"); goto znead; ZMJKE: $rekap->soal_jodohkan = json_decode(json_encode(unserialize($rekap->soal_jodohkan))); goto TRoBm; VGORr: $data["siswas"] = $siswas; goto Vo56C; TRoBm: $rekap->soal_isian = json_decode(json_encode(unserialize($rekap->soal_isian))); goto Fw1uo; GMNaS: $siswas = $this->cbt->getAllNilaiRekapByJenis($rekap->tp, $rekap->smt, $rekap->kode_jenis, $kelas, "0", $jadwal, $guru->id_guru); goto lwtTW; Fh3W5: $xa = $this->input->get("xa"); goto H5ZMj; cfgWW: drRRT: goto H4N6T; S0Q3U: B_6yh: goto cAtwJ; f1sqI: $convert = ["ya" => $ya, "yb" => $yb, "xa" => $xa, "xb" => $xb]; goto o2IpG; oITSt: if (!($kelas != null)) { goto V29H9; } goto g3hCm; gzqVh: $data["convert"] = $convert; goto iC0VC; KrxMy: Xqr9a: goto DpEm0; H5ZMj: $xb = $this->input->get("xb"); goto nTW0t; Pf1ny: $this->load->view("members/guru/templates/footer"); goto EJcK1; Cxjb2: $data["profile"] = $this->dashboard->getProfileAdmin($user->id); goto yaCmz; dUZjD: $user = $this->ion_auth->user()->row(); goto ZZ3qk; IviCg: $kelas = $this->input->get("kelas"); goto g7peE; iC0VC: fthX3: goto MP83a; ZYBBK: $data["jadwal"] = $this->dropdown->getAllJadwalGuru($tp->id_tp, $smt->id_smt, $guru->id_guru); goto i66SN; ITfl3: if (!($rekap != null)) { goto B_6yh; } goto qQL2z; EJcK1: goto oriVK; goto qZuC2; lwtTW: foreach ($siswas as $siswa) { goto kISlX; MNrbC: $siswa->soal_essai = json_decode(json_encode(unserialize($siswa->soal_essai))); goto OmFEL; kISlX: $siswa->jawaban_pg = $this->unserialize_with_key($siswa->jawaban_pg); goto kyye5; t7UDe: $siswa->soal_jodohkan = json_decode(json_encode(unserialize($siswa->soal_jodohkan))); goto ADBnZ; OmFEL: d5Xvf: goto dMLOU; kyye5: $siswa->soal_kompleks = json_decode(json_encode(unserialize($siswa->soal_kompleks))); goto t7UDe; ADBnZ: $siswa->soal_isian = json_decode(json_encode(unserialize($siswa->soal_isian))); goto MNrbC; dMLOU: } goto cfgWW; cJV_D: $data["smt_active"] = $smt; goto oW932; rTFYm: $data["mapel"] = $rekap->id_mapel; goto CPJ_0; g3hCm: $siswas = $this->cbt->getAllNilaiRekapByJenis($rekap->tp, $rekap->smt, $rekap->kode_jenis, $kelas, "0", $jadwal); goto WszrQ; znead: $this->load->model("Dropdown_model", "dropdown"); goto IviCg; LDggO: oriVK: goto a16Xw; OF3ni: $rekap->soal_kompleks = json_decode(json_encode(unserialize($rekap->soal_kompleks))); goto ZMJKE; bDzH2: $guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto mH1Qx; qQL2z: $rekap->jawaban_pg = $this->unserialize_with_key($rekap->jawaban_pg); goto OF3ni; zFW5a: $xb = $this->input->get("xb"); goto HdBIi; mH1Qx: $data["guru"] = $guru; goto hbIFx; g7peE: $level = $this->master->getKelasById($kelas); goto MQC1b; Vo56C: $ya = $this->input->get("ya"); goto PWQEN; RS3JW: yY_Dd: goto VGORr; Fw1uo: $rekap->soal_essai = json_decode(json_encode(unserialize($rekap->soal_essai))); goto NRPAG; mJr19: $smt = $this->dashboard->getSemesterActive(); goto dFD4k; i66SN: $this->load->view("members/guru/templates/header", $data); goto bnzvz; hbIFx: if (!($kelas != null)) { goto o4gsC; } goto GMNaS; LFICn: $data["tp_active"] = $tp; goto gbSX4; qZuC2: cMFVO: goto oITSt; HdBIi: if (!($ya != null)) { goto fthX3; } goto PsXWZ; oW932: $data["kelas_selected"] = $kelas; goto VIfLm; PsXWZ: $convert = ["ya" => $ya, "yb" => $yb, "xa" => $xa, "xb" => $xb]; goto gzqVh; a86fi: $this->load->view("cbt/rekap/olah"); goto DrW88; PWQEN: $yb = $this->input->get("yb"); goto orxKX; cAtwJ: if ($this->ion_auth->is_admin()) { goto cMFVO; } goto bDzH2; IQOe7: $data = ["user" => $user, "judul" => "Ekspor Hasil Siswa", "subjudul" => "Ekspor Hasil Siswa", "setting" => $this->dashboard->getSetting()]; goto UUfK9; yaCmz: $data["jadwal"] = $this->dropdown->getAllJadwal($tp->id_tp, $smt->id_smt); goto a9YR4; nTW0t: if (!($ya != null)) { goto Xqr9a; } goto f1sqI; ZZ3qk: $rekap = $this->cbt->getRekapByJadwalKelas($jadwal); goto IQOe7; o2IpG: $data["convert"] = $convert; goto KrxMy; H4N6T: $data["siswas"] = $siswas; goto N9H53; VIfLm: $data["jadwal_selected"] = $jadwal; goto Ulfvk; a16Xw: } function unserialize_with_key($serialized) { goto yMBMw; Mls7C: o5nn_: goto RgsUI; Yb2MI: foreach ($arr as $value) { $result[$value["no_soal"]] = $value["jawab"]; Yf2Xm: } goto Mls7C; RgsUI: return $result; goto yq0l4; yMBMw: $arr = unserialize($serialized); goto yKYJN; yKYJN: $result = []; goto Yb2MI; yq0l4: } public function export() { goto OICBW; YQNDn: $data["kelas"] = $this->cbt->getDistinctKelas(); goto KHm2N; dAnYZ: $data["guru"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto Nn21a; Nn21a: $this->load->view("members/guru/templates/header", $data); goto wz0uu; ribzr: $data = ["user" => $user, "judul" => "Ekspor Hasil Penilaian", "subjudul" => "Ekspor Nilai", "setting" => $this->dashboard->getSetting()]; goto N7rxQ; n8iP7: foreach ($jadwals as $jadwal) { goto Gq9uj; Gq9uj: $jadwal->bank_kelas = unserialize($jadwal->bank_kelas); goto KAgz1; KAgz1: $jadwal->nama_kelas = unserialize($jadwal->nama_kelas); goto artBd; artBd: wflu7: goto e5GzB; e5GzB: } goto NDe0T; KHm2N: $data["tahuns"] = $this->cbt->getDistinctTahun(); goto uYknp; K3EdG: $this->load->view("_templates/dashboard/_footer"); goto rZVVL; BzfcR: foreach ($jadwals as $key => $jadwal) { goto LoeBn; FW3BZ: qHdqn: goto IqqdN; tb162: $jadwal->nama_kelas = unserialize($jadwal->nama_kelas ?? ''); goto FW3BZ; LoeBn: $jadwal->bank_kelas = unserialize($jadwal->bank_kelas ?? ''); goto tb162; IqqdN: } goto Lk24R; Jvvqf: $data["rekaps"] = $jadwals; goto xVioe; MUzYy: $this->load->view("members/guru/templates/footer"); goto NtkhT; MbMIl: $guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto bmxCM; z1s7Z: $data["tp_active"] = $tp; goto S5G0Z; S5G0Z: $data["smt"] = $this->dashboard->getSemester(); goto FP21e; Lk24R: IbfAB: goto y0YGk; wz0uu: $this->load->view("cbt/rekap/ekspor"); goto MUzYy; FP21e: $data["smt_active"] = $smt; goto IQyl7; YNBSh: $data["tp"] = $this->dashboard->getTahun(); goto z1s7Z; NtkhT: goto Q1xhY; goto Zj5EL; lu4VW: if ($this->ion_auth->is_admin()) { goto S0rJU; } goto MbMIl; OICBW: $this->load->model("Master_model", "master"); goto JEtEX; OEhXo: $user = $this->ion_auth->user()->row(); goto ribzr; FzZGg: $this->load->model("Cbt_model", "cbt"); goto OEhXo; N7rxQ: $tp = $this->master->getTahunActive(); goto qp7g3; NDe0T: ANVpM: goto Jvvqf; bmxCM: $jadwals = $this->cbt->getAllRekap($guru->id_guru); goto BzfcR; DziOO: $this->load->view("_templates/dashboard/_header", $data); goto Dn8HE; rZVVL: Q1xhY: goto p_Trp; y0YGk: $data["rekaps"] = $jadwals; goto dAnYZ; xVioe: $data["profile"] = $this->dashboard->getProfileAdmin($user->id); goto DziOO; KLCRm: $jadwals = $this->cbt->getAllRekap(); goto n8iP7; JEtEX: $this->load->model("Dashboard_model", "dashboard"); goto FzZGg; IQyl7: $data["jenis"] = $this->cbt->getDistinctJenisUjian(); goto YQNDn; Dn8HE: $this->load->view("cbt/rekap/ekspor"); goto K3EdG; uYknp: $data["semester"] = $this->cbt->getDistinctSmt(); goto lu4VW; qp7g3: $smt = $this->master->getSemesterActive(); goto YNBSh; Zj5EL: S0rJU: goto KLCRm; p_Trp: } public function generateNilaiUjian($jadwal) { goto DuMLJ; IFEJ2: $bobot_pg2 = $info->bobot_kompleks / 100; goto aUXm1; ywzIe: MGuxk: goto h86t9; wvttB: $bagi_essai = $info->tampil_esai / 100; goto nXMGN; jgXw_: $insets = []; goto LSP8i; FZv04: $kelases = []; goto UxwTx; vQQi5: $bagi_pg = $info->tampil_pg / 100; goto glCM_; LSP8i: foreach ($siswas as $siswa) { goto nzOul; ZulIe: $insert["pg_benar"] = $benar_pg; goto Adymh; hsTDv: ICehY: goto sRaWM; cUY2R: DtQcg: goto O_ToH; eiQc1: foreach ($jawaban_jodoh as $num => $jawab_jod) { goto qcc1L; Scllu: ojxgQ: goto vXHEX; JMCul: snk6E: goto MER5f; qcc1L: $skor_koreksi_jod += $jawab_jod->nilai_koreksi; goto zCwrw; nQoOZ: $benar_jod += 1 / $items * $item_benar; goto uvK3W; uvK3W: $otomatis_jod = $jawab_jod->nilai_otomatis; goto JMCul; fXeEr: if (!isset($jawab_jod->jawaban_siswa->links)) { goto ojxgQ; } goto v4HdD; WD5M1: $array2 = (array) $jawab_jod->jawaban_siswa->links; goto i07hi; bQOo3: $this->sortArrays($array1); goto WD5M1; aHgCA: foreach ($array1 as $key => $subArray1) { goto feJrD; gicb5: $items += count($subArray1); goto fbc_e; fbc_e: if (isset($array2[$key])) { goto kuCdx; } goto ds8eC; rlehf: $arrBenar[$key]->salah = 0; goto vNPbB; tWfYp: $diffItems2 = array_diff($subArray2, $subArray1); goto Cl3Cy; feJrD: $arrBenar[$key] = new stdClass(); goto WYhwx; UyOPI: gy5ia: goto E7tW2; wWHJU: $subArray2 = $array2[$key]; goto bOyLB; bOyLB: $sameItems = array_intersect($subArray1, $subArray2); goto cE8Xu; vNPbB: $arrBenar[$key]->kurang = 0; goto gicb5; Cl3Cy: $arrBenar[$key]->kurang += count($diffItems1); goto UyOPI; u9pBJ: $diffItems1 = array_diff($subArray1, $subArray2); goto tWfYp; E7tW2: gYyil: goto RmK1i; WYhwx: $arrBenar[$key]->benar = 0; goto rlehf; lQtXx: $arrBenar[$key]->benar += count($sameItems); goto u9pBJ; ds8eC: $arrBenar[$key]->kurang += count($subArray1); goto pBa54; h7Yej: kuCdx: goto wWHJU; cE8Xu: $item_benar += count($sameItems); goto lQtXx; pBa54: goto gy5ia; goto h7Yej; RmK1i: } goto B9Z9i; lfdVW: $sameCount = 0; goto nT_XL; zyVFZ: $items = 0; goto h7lyK; EqpaW: $point_benar = $info->bobot_jodohkan > 0 ? round($info->bobot_jodohkan / $info->tampil_jodohkan, 2) : 0; goto fXeEr; nT_XL: $differentCount = 0; goto aHgCA; zCwrw: $item_benar = 0; goto LOluF; vXHEX: $point_soal = 1 / $items * $item_benar * $point_benar; goto nQoOZ; B9Z9i: kiR8x: goto Scllu; v4HdD: $array1 = (array) $jawab_jod->jawaban_benar->links; goto bQOo3; i07hi: $this->sortArrays($array2); goto lfdVW; LOluF: $item_salah = 0; goto hA2wz; hA2wz: $item_kurang = 0; goto zyVFZ; h7lyK: $arrBenar = []; goto EqpaW; MER5f: } goto cQKYI; UZYDb: $input_is = 0; goto AJMCw; D_f2E: $benar_jod = 0; goto hQDSo; Jbskc: if (!($info->tampil_kompleks > 0)) { goto JgEQd; } goto X01d1; sRaWM: TNn3S: goto thQPy; jfO1j: if (!($nilai_input != null && $nilai_input->isian_nilai != null)) { goto c1I1g; } goto M1FHF; thQPy: JgEQd: goto XHXnP; eT6io: $skor_koreksi_pg2 = 0.0; goto O5zqV; oOYbC: jkZWM: goto r8jze; O5zqV: $otomatis_pg2 = 0; goto Jbskc; xMeJK: if (!($nilai_input != null && $nilai_input->kompleks_nilai != null)) { goto joa9w; } goto L7thO; R21co: $skor_pg2 = $input_pg2 != 0 ? $input_pg2 : ($otomatis_pg2 == 0 ? $s_pg2 : $skor_koreksi_pg2); goto mfuia; O_ToH: U55KZ: goto mz2q8; qFD2o: $ada_jawaban_jodoh = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["3"]); goto xt4C5; SbZbQ: c1I1g: goto i359o; Adymh: $insert["pg_nilai"] = round($skor_pg, 2); goto bW_Vw; EeGvu: $skor_pg = $bagi_pg == 0 ? 0 : $benar_pg / $bagi_pg * $bobot_pg; goto xCt8v; FmWOL: $insert["isian_nilai"] = round($skor_is, 2); goto uu6iM; X01d1: if (!(count($jawaban_pg2) > 0)) { goto TNn3S; } goto k9z22; O6TWu: qArvs: goto xnSVz; hQDSo: $skor_koreksi_jod = 0.0; goto w1F84; rDeot: if (!($info->tampil_pg > 0)) { goto lCfuj; } goto sqLzr; sqLzr: if (!(count($jawaban_pg) > 0)) { goto xwBbm; } goto yaMnz; qf0xd: xwBbm: goto Ty21n; iMdVR: $insert["jodohkan_nilai"] = round($skor_jod, 2); goto FmWOL; a59ku: $otomatis_es = 0; goto S9Pze; xCt8v: $jawaban_pg2 = $ada_jawaban_pg2 ? $jawabans_siswa[$siswa->id_siswa]["2"] : []; goto ng57u; T55mz: $salah_pg = 0; goto rDeot; MFB2u: if (!($info->tampil_jodohkan > 0 && $jawaban_jodoh && count($jawaban_jodoh) > 0)) { goto CLG7h; } goto eiQc1; FHDkI: $ada_jawaban_essai = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["5"]); goto l51a9; uu6iM: $insert["essai_nilai"] = round($skor_es, 2); goto r80uH; UR1PG: $otomatis_is = 0; goto Q0Rha; Q0Rha: if (!($info->tampil_isian > 0)) { goto KnREc; } goto SK1Lv; k9z22: foreach ($jawaban_pg2 as $num => $jawab_pg2) { goto hcHcT; pYwWA: sB_jp: goto v1KWY; Te1g1: ff1Rz: goto xc1le; q9H0b: $skor_koreksi_pg2 += $jawab_pg2->nilai_koreksi; goto uDqkz; kjdC4: foreach ($jawab_pg2->jawaban_siswa as $js) { goto V1Kif; IXq5a: cSTuV: goto b1RLz; RhICy: array_push($arr_benar, true); goto IXq5a; b1RLz: hS4cY: goto y6sQI; V1Kif: if (!in_array($js, $jawab_pg2->jawaban)) { goto cSTuV; } goto RhICy; y6sQI: } goto Te1g1; hcHcT: $otomatis_pg2 = $jawab_pg2->nilai_otomatis; goto q9H0b; uDqkz: $arr_benar = []; goto kjdC4; xc1le: $benar_pg2 += 1 / count($jawab_pg2->jawaban) * count($arr_benar); goto pYwWA; v1KWY: } goto hsTDv; mTnk0: $input_es = 0; goto jfO1j; LWsco: De3KZ: goto Z9FOZ; Ty21n: lCfuj: goto EeGvu; sEdtu: $insert["id_siswa"] = $siswa->id_siswa; goto P1T_J; hTPdR: joa9w: goto R21co; IqAfA: foreach ($jawaban_is as $num => $jawab_is) { goto JKrNX; WDs7o: $otomatis_is = $jawab_is->nilai_otomatis; goto T2sBQ; FV5N7: N0ok9: goto WDs7o; JKrNX: $skor_koreksi_is += $jawab_is->nilai_koreksi; goto cv2TD; qvpAK: $benar_is++; goto FV5N7; T2sBQ: EkjBy: goto c6S3W; g_MNA: if (!$benar) { goto N0ok9; } goto qvpAK; cv2TD: $benar = $jawab_is != null && strtolower($jawab_is->jawaban_siswa ?? '') == strtolower($jawab_is->jawaban ?? ''); goto g_MNA; c6S3W: } goto cUY2R; nrczz: $benar_is = 0; goto Kkekv; b4eK2: $benar_pg = 0; goto T55mz; XHXnP: $s_pg2 = $bagi_pg2 == 0 ? 0 : $benar_pg2 / $bagi_pg2 * $bobot_pg2; goto uA8C2; AJMCw: if (!($nilai_input != null && $nilai_input->isian_nilai != null)) { goto d58VS; } goto oxucU; ng57u: $benar_pg2 = 0; goto eT6io; zWzQd: foreach ($jawaban_es as $num => $jawab_es) { goto O3Xgq; V6idb: $benar_es++; goto E5D1D; j8LMq: $otomatis_es = $jawab_es->nilai_otomatis; goto JjNYT; U7BXA: $benar = $jawab_es != null && strtolower($jawab_es->jawaban_siswa ?? '') == strtolower($jawab_es->jawaban ?? ''); goto JfaFo; E5D1D: cPImk: goto j8LMq; JjNYT: dc5Pa: goto T4a5c; JfaFo: if (!$benar) { goto cPImk; } goto V6idb; O3Xgq: $skor_koreksi_es += $jawab_es->nilai_koreksi; goto U7BXA; T4a5c: } goto B75r9; Z9FOZ: $skor_jod = $input_jod != 0 ? $input_jod : ($otomatis_jod == 0 ? $s_jod : $skor_koreksi_jod); goto eettI; uA8C2: $input_pg2 = 0; goto xMeJK; oxucU: $input_is = $nilai_input->isian_nilai; goto DAdQ7; cQKYI: PBxN3: goto q6N_S; S8jfg: jY8nv: goto O6TWu; i359o: $skor_es = $input_es != 0 ? $input_es : ($otomatis_es == 0 ? $s_es : $skor_koreksi_es); goto LIqrJ; TSqwM: $ada_jawaban_pg2 = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["2"]); goto qFD2o; MXCv2: BbMvv: goto qf0xd; G0I98: if (!($nilai_input != null && $nilai_input->jodohkan_nilai != null)) { goto De3KZ; } goto WLDd5; DI9DQ: $benar_es = 0; goto rPaVd; w1F84: $otomatis_jod = 0; goto MFB2u; xt4C5: $ada_jawaban_isian = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["4"]); goto FHDkI; GbpB5: $s_is = $bagi_isian == 0 ? 0 : $benar_is / $bagi_isian * $bobot_isian; goto UZYDb; IrWac: $input_jod = 0; goto G0I98; S9Pze: if (!($info->tampil_esai > 0)) { goto jkZWM; } goto EC716; EC716: if (!(count($jawaban_es) > 0)) { goto TXIZa; } goto zWzQd; mz2q8: KnREc: goto GbpB5; lJM_3: $skor_is = $input_is != 0 ? $input_is : ($otomatis_is == 0 ? $s_is : $skor_koreksi_is); goto gHGHF; M1FHF: $input_es = $nilai_input->essai_nilai; goto SbZbQ; gHGHF: $jawaban_es = $ada_jawaban_essai ? $jawabans_siswa[$siswa->id_siswa]["5"] : []; goto DI9DQ; S_i7t: TXIZa: goto oOYbC; nzOul: $ada_jawaban = isset($jawabans_siswa[$siswa->id_siswa]); goto QugjZ; Nps84: if (!($nilai_input != null && $nilai_input->dikoreksi == "1")) { goto jY8nv; } goto J4_BH; bW_Vw: $insert["kompleks_nilai"] = round($skor_pg2, 2); goto iMdVR; mfuia: $jawaban_jodoh = $ada_jawaban_jodoh ? $jawabans_siswa[$siswa->id_siswa]["3"] : []; goto D_f2E; yaMnz: foreach ($jawaban_pg as $jwb_pg) { goto F974v; F974v: if (!($jwb_pg != null && $jwb_pg->jawaban_siswa != null)) { goto d5sc1; } goto gb3Ne; Y6Csq: goto iG9HB; goto ne9Qi; KV8v5: $salah_pg += 1; goto Y6Csq; S72ZZ: d5sc1: goto O8Dbv; O8Dbv: pyCBD: goto sEWPJ; dJ0et: iG9HB: goto S72ZZ; EqTG7: $benar_pg += 1; goto dJ0et; ne9Qi: ad71R: goto EqTG7; gb3Ne: if (strtoupper($jwb_pg->jawaban_siswa ?? '') == strtoupper($jwb_pg->jawaban ?? '')) { goto ad71R; } goto KV8v5; sEWPJ: } goto MXCv2; SK1Lv: if (!(count($jawaban_is) > 0)) { goto U55KZ; } goto IqAfA; r80uH: array_push($insets, $insert); goto S8jfg; r8jze: $s_es = $bagi_essai == 0 ? 0 : $benar_es / $bagi_essai * $bobot_essai; goto mTnk0; Kkekv: $skor_koreksi_is = 0.0; goto UR1PG; LIqrJ: $insert["id_nilai"] = $siswa->id_siswa . "0" . $jadwal; goto sEdtu; WLDd5: $input_jod = $nilai_input->jodohkan_nilai; goto LWsco; L7thO: $input_pg2 = $nilai_input->kompleks_nilai; goto hTPdR; hWlOQ: $s_jod = $bagi_jodoh == 0 ? 0 : $benar_jod / $bagi_jodoh * $bobot_jodoh; goto IrWac; B75r9: tmYsy: goto S_i7t; P1T_J: $insert["id_jadwal"] = $jadwal; goto ZulIe; q6N_S: CLG7h: goto hWlOQ; eettI: $jawaban_is = $ada_jawaban_isian ? $jawabans_siswa[$siswa->id_siswa]["4"] : []; goto nrczz; J4_BH: $jawaban_pg = $ada_jawaban_pg ? $jawabans_siswa[$siswa->id_siswa]["1"] : []; goto b4eK2; QugjZ: $ada_jawaban_pg = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["1"]); goto TSqwM; rPaVd: $skor_koreksi_es = 0.0; goto a59ku; l51a9: $nilai_input = $this->cbt->getNilaiSiswaByJadwal($jadwal, $siswa->id_siswa); goto Nps84; DAdQ7: d58VS: goto lJM_3; xnSVz: } goto ywzIe; OEtNt: goto lkHmO; goto kSpm3; bAZwF: $jawabans = $this->cbt->getJawabanByBank($info->id_bank); goto KhcM3; h86t9: if (count($insets) > 0) { goto IrDtp; } goto KGPZ_; nXMGN: $bobot_essai = $info->bobot_esai / 100; goto pVg7u; KhcM3: $soal = []; goto GBGLD; DuMLJ: $this->load->model("Cbt_model", "cbt"); goto NJVpl; be7Hy: $bagi_pg2 = $info->tampil_kompleks / 100; goto IFEJ2; pVg7u: $kelas_bank = unserialize($info->bank_kelas ?? ''); goto FZv04; UxwTx: foreach ($kelas_bank as $key => $value) { array_push($kelases, $value["kelas_id"]); j0ABy: } goto ltmln; aUXm1: $bagi_jodoh = $info->tampil_jodohkan / 100; goto b2Imn; NJVpl: $info = $this->cbt->getJadwalById($jadwal); goto vQQi5; S83s0: lkHmO: goto frp5U; KGPZ_: $update = false; goto OEtNt; glCM_: $bobot_pg = $info->bobot_pg / 100; goto be7Hy; kSpm3: IrDtp: goto Hw9Er; y9e71: $siswas = $this->cbt->getSiswaByKelas($info->id_tp, $info->id_smt, $kelases); goto bAZwF; ltmln: GPE4H: goto y9e71; GBGLD: $jawabans_siswa = []; goto ZGcfM; l2gFT: $bagi_isian = $info->tampil_isian / 100; goto Wmqlo; Hw9Er: $this->db->update_batch("cbt_nilai", $insets, "id_nilai"); goto XD8Px; ZGcfM: foreach ($jawabans as $jawaban_siswa) { goto qhS4k; JgUZY: if (!($jawaban_siswa->jenis_soal == "3")) { goto HOfIz; } goto ZPibq; mpzOd: $jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar ?? ''); goto D07fG; bEpKz: $jawaban_siswa->jawaban_siswa = json_decode(json_encode($jawaban_siswa->jawaban_siswa)); goto EE8mj; WhAdP: J0dFG: goto AKnDi; y3kiO: $jawaban_siswa->jawaban_siswa->links = json_decode(json_encode($arrjwbnSiswa)); goto s7sXy; I8_Zc: $arrAlphabet = range("A", "Z"); goto JHKSY; YqYU6: $arrjwbnSiswa = []; goto ldOd9; NT8pN: $jawaban_siswa->jawaban = array_map("strtoupper", $jawaban_siswa->jawaban ?? ['']); goto YiKVi; ldOd9: if (!$jawaban_siswa->jawaban_siswa) { goto Vi7HU; } goto ee1xo; BAfc4: foreach ($jawaban_siswa->jawaban_benar->jawaban as $idx => $jbs) { goto Njt2M; EggB_: $arrjwbn[$idx] = []; goto rak6X; OqLuf: Hf1gV: goto OqOPY; OqOPY: JgIC9: goto HDO80; Njt2M: if (!($idx > 0)) { goto Hf1gV; } goto EggB_; rak6X: foreach ($jbs as $idxs => $jb) { goto FstNN; cH3we: if (!($jb === "1")) { goto LvnW8; } goto VHNhu; YEc9G: EZbxI: goto beo0j; VHNhu: $arrjwbn[$idx][] = $arrAlphabet[$idxs - 1]; goto vmNxo; vmNxo: LvnW8: goto YEc9G; FstNN: if (!($idxs > 0)) { goto EZbxI; } goto cH3we; beo0j: G4uts: goto CGx_A; CGx_A: } goto zjj3x; zjj3x: gRPsZ: goto OqLuf; HDO80: } goto wvtBb; AKnDi: chyBX: goto D2ELj; KEobt: if (!($jawaban_siswa->jenis_soal == "2")) { goto SuIOF; } goto bZGMp; Pg12M: $jawabans_siswa[$jawaban_siswa->id_siswa][$jawaban_siswa->jenis_soal][] = $jawaban_siswa; goto ipQuv; MUr4N: Vi7HU: goto pT0Oz; bYORi: $jawaban_siswa->jawaban = @unserialize($jawaban_siswa->jawaban ?? ''); goto ij3op; pT0Oz: if ($jawaban_siswa->jawaban_siswa) { goto KABBB; } goto FnTSG; UhlU1: $jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar ?? ''); goto bYORi; b0Ulz: $jawaban_siswa->jawaban_benar->links = json_decode(json_encode($arrjwbn)); goto qB447; ZPibq: $jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa ?? ''); goto mpzOd; MC8p7: $jawaban_siswa->jawaban_siswa = json_decode(json_encode($jawaban_siswa->jawaban_siswa)); goto XdfXe; v358R: JBJwu: goto MUr4N; YiKVi: $jawaban_siswa->jawaban = array_filter($jawaban_siswa->jawaban ?? [''], "strlen"); goto vZJh2; uUY9j: $jawaban_siswa->jawaban = json_decode(json_encode($jawaban_siswa->jawaban)); goto I8_Zc; D07fG: $jawaban_siswa->jawaban = @unserialize($jawaban_siswa->jawaban ?? ''); goto MC8p7; s7sXy: K0si5: goto UjNq4; S0VMr: $arrjwbn = []; goto BAfc4; cEkky: $jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa ?? ''); goto UhlU1; qhS4k: if (!($jawaban_siswa->jawaban_siswa != null)) { goto J0dFG; } goto KEobt; wvtBb: F7F_2: goto b0Ulz; vZJh2: SuIOF: goto JgUZY; qB447: HOfIz: goto Pg12M; O7Y6h: KABBB: goto y3kiO; v94he: $jawaban_siswa->jawaban_benar = array_filter($jawaban_siswa->jawaban_benar ?? [''], "strlen"); goto NT8pN; ipQuv: $soal[$jawaban_siswa->jenis_soal][] = $jawaban_siswa; goto WhAdP; bZGMp: $jawaban_siswa->opsi_a = @unserialize($jawaban_siswa->opsi_a ?? ''); goto cEkky; UjNq4: UhWlZ: goto S0VMr; ij3op: $jawaban_siswa->jawaban_benar = array_map("strtoupper", $jawaban_siswa->jawaban_benar ?? ['']); goto v94he; EE8mj: goto K0si5; goto O7Y6h; JHKSY: if (!(!isset($jawaban_siswa->jawaban_siswa) || !isset($jawaban_siswa->jawaban_siswa->links))) { goto UhWlZ; } goto YqYU6; FnTSG: $jawaban_siswa->jawaban_siswa = ["links" => $arrjwbnSiswa]; goto bEpKz; XdfXe: $jawaban_siswa->jawaban_benar = json_decode(json_encode($jawaban_siswa->jawaban_benar)); goto uUY9j; ee1xo: foreach ($jawaban_siswa->jawaban_siswa->jawaban as $idx => $jbs) { goto FrBgb; D9lTH: hpv8L: goto DlMxe; H4hEV: foreach ($jbs as $idxs => $jb) { goto AWzzi; zfjbJ: if (!($jb === "1")) { goto AZz_P; } goto ck5At; AWzzi: if (!($idxs > 0)) { goto xVQG9; } goto zfjbJ; qyzUl: AZz_P: goto E5u64; ck5At: $arrjwbnSiswa[$idx][] = $arrAlphabet[$idxs - 1]; goto qyzUl; E5u64: xVQG9: goto FwTZx; FwTZx: etKSn: goto sIFUV; sIFUV: } goto zczZZ; FrBgb: if (!($idx > 0)) { goto hpv8L; } goto ak9av; zczZZ: Efztq: goto D9lTH; ak9av: $arrjwbnSiswa[$idx] = []; goto H4hEV; DlMxe: NpjiG: goto UTX1e; UTX1e: } goto v358R; D2ELj: } goto kr8e4; kr8e4: ZakuL: goto jgXw_; b2Imn: $bobot_jodoh = $info->bobot_jodohkan / 100; goto l2gFT; frp5U: return $update; goto bjhZQ; Wmqlo: $bobot_isian = $info->bobot_isian / 100; goto wvttB; XD8Px: $update = true; goto S83s0; bjhZQ: } } 
 ?>

Did this file decode correctly?

Original Code

<?php
/*   ________________________________________
    |                 GarudaCBT              |
    |    https://github.com/garudacbt/cbt    |
    |________________________________________|
*/
 class Cbtrekap extends CI_Controller { public function __construct() { goto ymvtP; eNwtq: oihWi: goto GLkPl; VaaTw: if (!(!$this->ion_auth->is_admin() && !$this->ion_auth->in_group("\147\165\x72\x75"))) { goto ea6_8; } goto omMuX; Wka_b: a4Ig7: goto JF0mW; ymvtP: parent::__construct(); goto ImWfO; omMuX: show_error("\110\x61\156\171\x61\40\101\144\x6d\151\156\151\x73\x74\162\x61\164\x6f\162\40\171\141\x6e\147\40\144\151\142\x65\x72\151\40\150\x61\153\40\165\x6e\x74\x75\153\40\x6d\145\x6e\x67\141\153\163\145\x73\x20\150\141\x6c\141\x6d\x61\156\40\151\x6e\151\54\x20\74\x61\40\150\x72\x65\x66\x3d\x22" . base_url("\x64\x61\163\150\142\x6f\141\x72\144") . "\42\76\x4b\x65\x6d\x62\141\154\x69\x20\x6b\145\x20\x6d\145\156\165\40\x61\167\141\x6c\x3c\x2f\141\x3e", 403, "\x41\153\x73\145\163\x20\124\145\162\x6c\141\x72\x61\156\x67"); goto Mw5sU; JF0mW: $this->load->library(["\x64\x61\x74\141\164\x61\x62\x6c\x65\x73", "\x66\x6f\162\155\137\x76\141\154\x69\144\141\164\x69\157\156"]); goto Avtjf; ImWfO: if (!$this->ion_auth->logged_in()) { goto oihWi; } goto VaaTw; n2CDY: goto a4Ig7; goto eNwtq; Mw5sU: ea6_8: goto n2CDY; GLkPl: redirect("\x61\x75\164\x68"); goto Wka_b; Dkqm1: $this->form_validation->set_error_delimiters('', ''); goto L_iTU; Avtjf: $this->load->library("\x75\x70\154\157\141\144"); goto Dkqm1; L_iTU: } public function output_json($data, $encode = true) { goto IPqH9; MUS3E: vkQrq: goto FH_zQ; IPqH9: if (!$encode) { goto vkQrq; } goto PdS3w; FH_zQ: $this->output->set_content_type("\x61\x70\160\154\151\143\141\x74\151\157\156\57\x6a\163\157\x6e")->set_output($data); goto esf2T; PdS3w: $data = json_encode($data); goto MUS3E; esf2T: } private function sortArrays(&$array) { foreach ($array as &$subArray) { goto cqRww; cqRww: if (!$subArray) { goto m9MG7; } goto pxwmf; QqobK: ZzRkX: goto xGBJv; GxJJz: m9MG7: goto QqobK; pxwmf: sort($subArray); goto GxJJz; xGBJv: } zOTmq: } public function index() { goto E7OUn; dCFxT: $jadwal_dikerjakan = $this->cbt->getJadwalTerpakai(); goto NHMfi; qUFTF: $data["\x73\145\163\x69\x73"] = $this->dropdown->getAllSesi(); goto UYT8V; Ocaam: $data["\162\x65\153\141\x70\x73"] = $rekaps; goto AupTz; Wg3so: $data_jadwal = $this->cbt->getDataJadwal($tp->id_tp, $smt->id_smt, $guru->id_guru); goto hemrf; vWVgG: cyuSj: goto OkSVd; DrEVD: $data["\x72\x65\153\x61\x70\163"] = $rekaps; goto t__6H; VtyUx: $data["\164\160\x5f\141\x63\x74\151\x76\x65"] = $tp; goto OBpCC; K6Orj: $data["\164\x70"] = $this->dashboard->getTahun(); goto VtyUx; UYT8V: $data["\153\x65\x6c\x61\x73\145\x73"] = $this->cbt->getKelas(); goto E51Wk; G2jSm: $data_jadwal = $this->cbt->getDataJadwal($tp->id_tp, $smt->id_smt); goto JTSZN; Lqyy1: $data["\162\x75\x61\156\147\x73"] = $this->cbt->getAllRuang(); goto qUFTF; hemrf: $rekapNilai = $this->cbt->getRekapJadwal($guru->id_guru); goto BxPhq; E7OUn: $this->load->model("\115\x61\x73\x74\x65\x72\137\x6d\157\x64\x65\x6c", "\x6d\141\163\x74\x65\162"); goto DQpHE; BR0i2: $user = $this->ion_auth->user()->row(); goto u3GaO; u3GaO: $data = ["\x75\163\x65\x72" => $user, "\152\x75\144\165\x6c" => "\x52\x65\153\x61\x70\x20\110\141\x73\151\154\40\x50\145\156\x69\x6c\x61\151\x61\156", "\x73\x75\142\x6a\x75\x64\x75\154" => "\120\x65\156\151\154\x61\x69\x61\156", "\163\x65\164\x74\151\156\x67" => $this->dashboard->getSetting()]; goto Y4uOa; eY2oA: $this->load->view("\155\x65\155\142\x65\x72\163\x2f\147\165\162\165\x2f\x74\x65\x6d\x70\x6c\x61\x74\x65\163\57\150\x65\x61\144\x65\x72", $data); goto FoS9S; n5n31: $this->load->model("\x44\x72\157\160\x64\x6f\x77\x6e\x5f\x6d\x6f\144\x65\154", "\144\x72\157\x70\144\157\167\x6e"); goto BR0i2; QO0BN: $smt = $this->master->getSemesterActive(); goto K6Orj; I1bmr: $this->load->view("\155\x65\x6d\142\x65\162\x73\x2f\x67\165\x72\x75\x2f\x74\x65\x6d\x70\x6c\141\x74\145\x73\x2f\146\157\x6f\x74\145\162"); goto dn89t; FoS9S: $this->load->view("\x63\142\164\57\162\x65\x6b\141\x70\x2f\x64\x61\x74\141"); goto I1bmr; sLX9B: $rekaps = array_merge($rekapJadwal, $rekapNilai); goto Ocaam; KASWE: $rekapJadwal = $data_jadwal; goto sLX9B; jNxPt: TDDuB: goto KASWE; cUHmE: $guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto Wg3so; OBpCC: $data["\x73\155\164"] = $this->dashboard->getSemester(); goto ka4ec; KJAy7: $data["\152\145\156\x69\163"] = $this->cbt->getDistinctJenisUjian(); goto z1ick; Y4uOa: $tp = $this->master->getTahunActive(); goto QO0BN; s1TKN: $koreksi = $this->cbt->getTotalKoreksi(); goto VEZR5; OkSVd: $rekapJadwal = $data_jadwal; goto hes1l; meztL: $data["\163\x65\x6d\x65\163\164\x65\x72"] = $this->cbt->getDistinctSmt(); goto Lqyy1; QhSQk: $this->load->view("\x5f\164\x65\x6d\160\154\141\x74\145\x73\57\144\141\163\x68\x62\157\141\x72\144\57\137\150\x65\x61\144\x65\x72", $data); goto mUuNC; vAoyg: $this->load->view("\x5f\164\145\x6d\x70\x6c\x61\164\x65\163\x2f\x64\x61\x73\x68\142\x6f\x61\x72\x64\57\137\146\x6f\x6f\164\x65\162"); goto kAFw8; dn89t: goto aAHAv; goto Hx2XI; kAFw8: aAHAv: goto uqZ39; t__6H: $data["\141\144\x61\x5f\162\145\x6b\x61\x70"] = $this->cbt->getAllRekap(); goto QhSQk; DQpHE: $this->load->model("\104\x61\163\x68\142\157\x61\x72\144\137\x6d\x6f\x64\145\x6c", "\x64\x61\x73\x68\x62\157\141\162\x64"); goto lTuNM; mUuNC: $this->load->view("\143\142\x74\57\x72\x65\153\141\160\x2f\x64\141\164\141"); goto vAoyg; E51Wk: $data["\x62\x61\156\153\x73"] = $this->cbt->getAllBankSoal(); goto s1TKN; NHMfi: if ($this->ion_auth->is_admin()) { goto Lxyng; } goto cUHmE; VwTZh: foreach ($data_jadwal as $rekap) { goto rr6ys; krJha: $rekap->dikoreksi = false; goto tGM7c; tGM7c: MdbUo: goto nGrIh; y233n: goto MdbUo; goto n3yt0; ozeZi: if (!$hanya_pg && isset($koreksi[$rekap->id_jadwal]) && isset($koreksi[$rekap->id_jadwal][0])) { goto iLNP7; } goto H4dv_; YYR8B: $hanya_pg = $rekap->tampil_pg > 0 && $rekap->tampil_kompleks == 0 && $rekap->tampil_jodohkan == 0 && $rekap->tampil_isian == 0 && $rekap->tampil_esai == 0; goto uvABK; H4dv_: $rekap->dikoreksi = true; goto y233n; nGrIh: DWnHv: goto VqT5y; xiVrY: $rekap->mengerjakan = $terpakai; goto YYR8B; rr6ys: $terpakai = isset($jadwal_dikerjakan[$rekap->id_jadwal]) ? count($jadwal_dikerjakan[$rekap->id_jadwal]) : 0; goto xiVrY; uvABK: $rekap->hanya_pg = $hanya_pg; goto ozeZi; n3yt0: iLNP7: goto krJha; VqT5y: } goto vWVgG; mw2Oo: $data["\164\141\150\165\x6e\x73"] = $this->cbt->getDistinctTahun(); goto meztL; Hx2XI: Lxyng: goto obx99; ka4ec: $data["\163\x6d\x74\137\141\143\x74\x69\x76\x65"] = $smt; goto KJAy7; hes1l: $rekaps = array_merge($rekapJadwal, $rekapNilai); goto DrEVD; VEZR5: $data["\x6b\x6f\162\x65\153\x73\x69"] = $koreksi; goto dCFxT; AupTz: $data["\141\x64\141\137\162\x65\153\x61\x70"] = $this->cbt->getAllRekap($guru->id_guru); goto USXzV; JTSZN: $rekapNilai = $this->cbt->getRekapJadwal(); goto VwTZh; lTuNM: $this->load->model("\x43\x62\164\x5f\x6d\x6f\144\145\154", "\x63\x62\x74"); goto n5n31; obx99: $data["\160\162\157\x66\151\154\145"] = $this->dashboard->getProfileAdmin($user->id); goto G2jSm; USXzV: $data["\147\165\162\165"] = $guru; goto eY2oA; BxPhq: foreach ($data_jadwal as $rekap) { goto dQJBi; hhcpf: $rekap->hanya_pg = $hanya_pg; goto aIKnN; ZYsVR: YkDeJ: goto Hnw8Y; dQJBi: $terpakai = isset($jadwal_dikerjakan[$rekap->id_jadwal]) ? count($jadwal_dikerjakan[$rekap->id_jadwal]) : 0; goto NL25X; hEiG7: L4EfR: goto f2NLK; E3AIu: goto L4EfR; goto ZYsVR; cZScR: $rekap->dikoreksi = true; goto E3AIu; f2NLK: qQZw0: goto uNV6Z; NL25X: $rekap->mengerjakan = $terpakai; goto o3q_c; Hnw8Y: $rekap->dikoreksi = false; goto hEiG7; o3q_c: $hanya_pg = $rekap->tampil_pg > 0 && $rekap->tampil_kompleks == 0 && $rekap->tampil_jodohkan == 0 && $rekap->tampil_isian == 0 && $rekap->tampil_esai == 0; goto hhcpf; aIKnN: if (!$hanya_pg && isset($koreksi[$rekap->id_jadwal]) && isset($koreksi[$rekap->id_jadwal][0])) { goto YkDeJ; } goto cZScR; uNV6Z: } goto jNxPt; z1ick: $data["\153\x65\x6c\141\x73"] = $this->cbt->getDistinctKelas(); goto mw2Oo; uqZ39: } public function perMapel() { goto hvDOs; t0NwK: $this->load->view("\137\x74\145\155\x70\x6c\141\x74\x65\163\57\144\x61\163\x68\142\x6f\x61\x72\144\57\x5f\x66\157\x6f\x74\x65\162"); goto UqZnG; QNcSG: $user = $this->ion_auth->user()->row(); goto ogyG4; UqZnG: omdDa: goto D5H9t; hvDOs: $this->load->model("\x4d\x61\x73\x74\x65\162\137\x6d\x6f\144\145\154", "\x6d\141\x73\x74\x65\162"); goto u_XkQ; s9aGb: $this->load->view("\x5f\164\x65\x6d\160\154\141\x74\x65\163\x2f\144\141\163\150\142\x6f\x61\162\144\57\137\150\145\x61\144\145\x72", $data); goto cN4vr; XB1R4: $this->load->model("\x43\142\164\x5f\x6d\157\x64\x65\x6c", "\143\x62\164"); goto QNcSG; rUqdz: $data["\163\145\155\x65\x73\x74\x65\162"] = $this->cbt->getDistinctSmt(); goto ohkcG; x9zbS: goto omdDa; goto jkYVw; jyN9H: $data["\x70\162\x6f\146\151\154\x65"] = $this->dashboard->getProfileAdmin($user->id); goto s9aGb; TcpGh: $this->load->view("\155\145\x6d\142\145\x72\163\x2f\147\x75\x72\165\x2f\164\145\x6d\160\x6c\x61\164\145\163\x2f\146\x6f\x6f\x74\x65\162"); goto x9zbS; ogyG4: $data = ["\165\163\x65\162" => $user, "\152\x75\144\x75\154" => "\x48\x61\x73\x69\x6c\40\123\151\163\x77\141", "\x73\x75\x62\152\x75\144\x75\x6c" => "\123\164\x61\164\x75\163\x20\123\151\163\167\141", "\x73\145\164\164\151\x6e\147" => $this->dashboard->getSetting()]; goto eJBJX; u_XkQ: $this->load->model("\x44\x61\163\x68\x62\157\x61\162\144\x5f\155\x6f\x64\x65\x6c", "\144\x61\x73\x68\142\157\x61\x72\144"); goto XB1R4; T2Sou: $this->load->view("\143\x62\164\57\x72\145\x6b\x61\160\x2f\160\x65\x72\155\x61\160\x65\154"); goto TcpGh; H1BEf: $data["\x6b\145\x6c\x61\163"] = $this->cbt->getDistinctKelas(); goto TbZ1D; vHZ_Q: $data["\x74\160\x5f\x61\143\164\x69\x76\x65"] = $tp; goto kp_gL; KQueX: $data["\164\160"] = $this->dashboard->getTahun(); goto vHZ_Q; f0ERi: $smt = $this->master->getSemesterActive(); goto KQueX; jkYVw: KS6kf: goto jyN9H; VHo3P: $data["\147\165\x72\x75"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto r2hy3; kp_gL: $data["\163\155\x74"] = $this->dashboard->getSemester(); goto k_y6L; r3J3Y: $data["\152\x65\x6e\x69\x73"] = $this->cbt->getDistinctJenisUjian(); goto H1BEf; ohkcG: if ($this->ion_auth->is_admin()) { goto KS6kf; } goto VHo3P; TbZ1D: $data["\x74\x61\150\165\x6e"] = $this->cbt->getDistinctTahun(); goto rUqdz; cN4vr: $this->load->view("\x63\x62\164\x2f\x72\x65\x6b\141\160\57\x70\145\x72\x6d\141\x70\x65\154"); goto t0NwK; r2hy3: $this->load->view("\x6d\x65\x6d\x62\x65\162\x73\x2f\x67\165\162\165\x2f\x74\145\155\x70\154\141\x74\x65\x73\57\x68\145\x61\x64\x65\162", $data); goto T2Sou; k_y6L: $data["\163\x6d\x74\x5f\141\x63\164\151\x76\x65"] = $smt; goto r3J3Y; eJBJX: $tp = $this->master->getTahunActive(); goto f0ERi; D5H9t: } public function backupNilai($id_jadwal) { goto q1grj; KsIdm: $save = $this->master->create("\143\x62\164\x5f\x72\145\153\141\x70\137\x6e\x69\154\x61\x69", $nilai, true); goto DdKTI; CyhiZ: $soal_essai = ["\x74\141\x6d\x70\x69\154" => $jadwal->tampil_esai, "\142\157\142\x6f\164" => $jadwal->bobot_esai, "\x6a\141\167\x61\142\x61\x6e" => $esb]; goto abyuc; ztWTP: JJFPY: goto dk6Zu; AE3uJ: KRgAi: goto bdmpw; BDWHt: $nama_kelas = $this->dropdown->getAllKelasByArrayId($id_tp->id_tp, $id_smt->id_smt, $arrkelas); goto llcOH; GQoxI: $durasies = $this->cbt->getIdSiswaFromDurasiByJadwal($id_jadwal); goto lWbVu; q5orL: goto l1Yy4; goto ztWTP; Zb5jx: $terpakai = isset($jadwal_dikerjakan[$id_jadwal]) && count($jadwal_dikerjakan[$id_jadwal]) > 0; goto xsuA_; bQLGu: lNGp8: goto aJlb3; g2rbx: foreach ($siswas as $siswa) { goto G7aBd; MBLnZ: vK5vf: goto mjkME; qQpJv: $soal_jod = ["\142\x6f\142\157\x74" => $jadwal->bobot_jodohkan, "\152\x61\x77\x61\x62\x61\156" => $jods, "\x6e\x69\154\x61\151" => $skor_jod]; goto tA2r4; ZCJ32: $pg2s = []; goto jEqvD; qS9_I: foreach ($jawabans[$siswa->id_siswa] as $jawaban) { goto o9Fu8; drxoQ: goto QQ0Gn; goto zIRZg; zIRZg: fyKPL: goto AZlkE; e0tjw: if ($jawaban->jenis_soal == "\x35") { goto ArJyt; } goto TGcTv; qu8lt: T4v4c: goto wrlMk; TM2k1: goto QQ0Gn; goto CEVEs; mv8HK: if ($jawaban->jenis_soal == "\64") { goto T4v4c; } goto e0tjw; CMnY0: if ($jawaban->jenis_soal == "\63") { goto hV8eg; } goto mv8HK; eAB2z: hV8eg: goto Zv9sA; CoYWF: if ($jawaban->jenis_soal == "\x32") { goto fyKPL; } goto CMnY0; BfTB7: qWyeX: goto hCcI_; o9Fu8: if ($jawaban->jenis_soal == "\61") { goto qWyeX; } goto CoYWF; H4W3E: jqdmU: goto m4Kbx; kx0jG: goto QQ0Gn; goto eAB2z; JxOIz: array_push($ess, ["\156\x6f\137\163\157\x61\x6c" => $jawaban->id_soal, "\152\141\167\141\x62" => $jawaban->jawaban_siswa]); goto ZKC1t; ZKC1t: QQ0Gn: goto H4W3E; mQmQM: goto QQ0Gn; goto qu8lt; wrlMk: array_push($iss, ["\x6e\x6f\137\163\x6f\x61\154" => $jawaban->id_soal, "\152\141\167\141\142" => $jawaban->jawaban_siswa]); goto TM2k1; hCcI_: array_push($pgs, ["\156\157\137\x73\x6f\141\154" => $jawaban->id_soal, "\152\141\167\x61\142" => $jawaban->jawaban_siswa]); goto drxoQ; Zv9sA: array_push($jods, ["\156\157\x5f\x73\x6f\141\154" => $jawaban->id_soal, "\152\x61\x77\x61\x62" => $jawaban->jawaban_siswa]); goto mQmQM; CEVEs: ArJyt: goto JxOIz; AZlkE: array_push($pg2s, ["\156\x6f\137\163\x6f\141\154" => $jawaban->id_soal, "\152\141\167\x61\142" => $jawaban->jawaban_siswa]); goto kx0jG; TGcTv: goto QQ0Gn; goto BfTB7; m4Kbx: } goto hpWqU; oXTjJ: $skor_jod = 0; goto uGnlw; mjkME: $pgs = []; goto ZCJ32; C0W1L: if (!isset($nilais[$siswa->id_siswa])) { goto vK5vf; } goto Em7SR; aZ7hn: $skor_pg = 0; goto kuFin; xHdHX: rgoE8: goto nAB1h; wvKuu: $soal_es = ["\142\157\142\157\x74" => $jadwal->bobot_esai, "\x6a\141\x77\141\142\141\156" => $ess, "\x6e\151\154\x61\x69" => $skor_es]; goto mOfCZ; TPf1I: if (!isset($jawabans[$siswa->id_siswa])) { goto e9x0H; } goto qS9_I; G7aBd: $dikoreksi = []; goto WNe9v; hgd_k: $salah_pg = 0; goto aZ7hn; go6Tp: $benar_pg = $nilais[$siswa->id_siswa]->pg_benar; goto j30jY; D9eOI: $soal_pg2 = ["\x62\x6f\x62\157\x74" => $jadwal->bobot_kompleks, "\x6a\x61\x77\141\142\x61\156" => $pg2s, "\156\151\154\141\151" => $skor_pg2]; goto qQpJv; cjL6M: $skor_es = $nilais[$siswa->id_siswa]->essai_nilai; goto MBLnZ; tA2r4: $soal_is = ["\142\157\x62\157\164" => $jadwal->bobot_isian, "\x6a\x61\167\141\x62\141\x6e" => $iss, "\x6e\x69\154\141\151" => $skor_is]; goto wvKuu; jEqvD: $jods = []; goto nO6xw; Em7SR: array_push($dikoreksi, $nilais[$siswa->id_siswa]->dikoreksi); goto go6Tp; uduEI: $ess = []; goto TPf1I; WsJm8: $skor_pg = $nilais[$siswa->id_siswa]->pg_nilai; goto WlKXG; uGnlw: $skor_is = 0; goto tG57I; mOfCZ: $nilai[] = ["\151\144\137\x6a\141\144\x77\x61\154" => $id_jadwal, "\x69\144\x5f\164\160" => $id_tp->id_tp, "\x74\160" => $tahun, "\x69\x64\137\x73\x6d\x74" => $id_smt->id_smt, "\163\x6d\164" => $smt, "\151\144\x5f\152\x65\x6e\x69\x73" => $jadwal->id_jenis, "\153\x6f\144\x65\137\152\145\x6e\x69\x73" => $jadwal->kode_jenis, "\151\x64\x5f\142\141\156\x6b" => $jadwal->id_bank, "\x69\144\x5f\155\x61\160\145\154" => $jadwal->id_mapel, "\151\144\137\x73\151\x73\x77\x61" => $siswa->id_siswa, "\x6e\141\155\x61\x5f\163\x69\163\167\x61" => $siswa->nama, "\x6e\x6f\137\160\145\163\x65\162\x74\x61" => $siswa->nomor_peserta, "\151\x64\137\153\145\x6c\x61\163" => $siswa->id_kelas, "\153\x65\x6c\141\163" => $siswa->nama_kelas, "\155\165\154\x61\x69" => isset($durasies[$siswa->id_siswa]) ? $durasies[$siswa->id_siswa]->mulai : '', "\163\145\154\145\x73\141\x69" => isset($durasies[$siswa->id_siswa]) ? $durasies[$siswa->id_siswa]->selesai : '', "\144\x75\x72\x61\163\151" => isset($durasies[$siswa->id_siswa]) ? $durasies[$siswa->id_siswa]->lama_ujian : '', "\142\157\x62\x6f\x74\x5f\160\147" => $jadwal->bobot_pg, "\152\141\x77\x61\x62\141\156\137\x70\x67" => serialize($pgs), "\x6e\x69\x6c\141\x69\x5f\x70\x67" => round($skor_pg, 2), "\x73\x6f\x61\154\x5f\153\x6f\155\160\x6c\145\153\x73" => serialize($soal_pg2), "\x73\x6f\x61\154\137\152\157\144\157\150\x6b\141\156" => serialize($soal_jod), "\163\x6f\x61\154\x5f\x69\x73\x69\x61\x6e" => serialize($soal_is), "\x73\x6f\x61\154\137\145\163\163\x61\x69" => serialize($soal_es), "\x69\144\137\147\x75\x72\x75" => $jadwal->id_guru]; goto xHdHX; l5zvL: $skor_jod = $nilais[$siswa->id_siswa]->jodohkan_nilai; goto x1OWE; j30jY: $salah_pg = $jadwal->tampil_pg - $benar_pg; goto WsJm8; tG57I: $skor_es = 0; goto C0W1L; x1OWE: $skor_is = $nilais[$siswa->id_siswa]->isian_nilai; goto cjL6M; WNe9v: $benar_pg = 0; goto hgd_k; nO6xw: $iss = []; goto uduEI; WlKXG: $skor_pg2 = $nilais[$siswa->id_siswa]->kompleks_nilai; goto l5zvL; kuFin: $skor_pg2 = 0; goto oXTjJ; hpWqU: Z4E0X: goto LUuj4; LUuj4: e9x0H: goto D9eOI; nAB1h: } goto AE3uJ; Zq82n: $jadwal_dikerjakan = $this->cbt->getJadwalTerpakai(); goto Zb5jx; xsuA_: $generated = $this->generateNilaiUjian($id_jadwal); goto OprQq; F89_s: foreach ($soals as $id => $soal) { goto XBE9Y; epP5p: goto glcFJ; goto d7dQ0; arRPy: if ($soal->jenis == "\x32") { goto U_zyl; } goto wlyYh; JJhDS: goto glcFJ; goto crR32; wlyYh: if ($soal->jenis == "\63") { goto JvViX; } goto bTyeu; V45J1: JvViX: goto qXyqP; XBE9Y: if ($soal->jenis == "\61") { goto OLEPm; } goto arRPy; p6xCc: S5GfE: goto QYue3; vKKbW: glcFJ: goto eh_03; d7dQ0: OLEPm: goto u1ial; KCbxb: if ($soal->jenis == "\65") { goto S5GfE; } goto epP5p; bTyeu: if ($soal->jenis == "\64") { goto skxsi; } goto KCbxb; eh_03: d5XFi: goto VQVi3; HwKbA: array_push($isb, ["\156\157\x5f\163\157\141\x6c" => $id, "\152\x61\167\141\x62" => $soal->jawaban]); goto O9hVP; qXyqP: array_push($jodb, ["\x6e\157\x5f\x73\157\x61\154" => $id, "\152\x61\x77\141\142" => $soal->jawaban]); goto JJhDS; u1ial: array_push($pgb, ["\156\157\137\163\157\141\x6c" => $id, "\152\x61\x77\141\x62" => $soal->jawaban]); goto QgJot; hhJvt: U_zyl: goto m9gAv; crR32: skxsi: goto HwKbA; QgJot: goto glcFJ; goto hhJvt; m9gAv: array_push($pg2b, ["\x6e\x6f\x5f\x73\x6f\x61\154" => $id, "\x6a\x61\167\x61\142" => $soal->jawaban]); goto mDAIA; O9hVP: goto glcFJ; goto p6xCc; QYue3: array_push($esb, ["\x6e\157\x5f\163\x6f\141\154" => $id, "\152\141\x77\141\x62" => $soal->jawaban]); goto vKKbW; mDAIA: goto glcFJ; goto V45J1; VQVi3: } goto Og3IE; feqR2: $result = false; goto Zq82n; UXbCf: $save = isset($jadwal_dikerjakan[$id_jadwal]) ? count($jadwal_dikerjakan[$id_jadwal]) : 0; goto q5orL; Og3IE: H003W: goto XSmoL; GXT3N: $this->db->update("\x63\142\x74\137\152\141\144\x77\x61\154"); goto bQLGu; n1fue: if ($generated && $result) { goto l91wp; } goto dmr3i; Gz2W6: $this->db->where("\151\x64\137\152\141\144\167\x61\154", $id_jadwal); goto GXT3N; SVwmk: $this->session->set_flashdata("\162\145\x6b\x61\x70\x6e\151\154\141\151", "\74\144\x69\x76\40\x69\x64\75\42\146\154\141\x73\150\144\x61\x74\141\x22\40\x63\154\x61\163\x73\x3d\x22\x61\154\145\162\164\40\141\154\x65\162\x74\x2d\x64\x65\146\141\165\x6c\164\x2d\163\x75\x63\143\145\x73\163\x20\x61\x6c\x69\147\156\x2d\x63\157\x6e\164\x65\156\164\55\143\145\x6e\x74\x65\x72\40\167\55\61\x30\x30\42\40\162\x6f\154\x65\x3d\x22\141\x6c\x65\x72\x74\42\76\40\x42\x65\162\x68\141\x73\151\x6c\40\x6d\x65\162\x65\153\x61\160\40\x6e\151\154\x61\151\40" . $save . "\40\x73\x69\x73\x77\x61\74\57\144\151\166\x3e"); goto VH0fc; Xlrz_: $isb = []; goto PTQHN; lWbVu: $jawabans = $this->cbt->getIdSiswaFromJawabanByJadwal($id_jadwal); goto FW99P; kJ3P8: foreach ($siswas as $siswa) { array_push($arrSiswa, $siswa->id_siswa); KKJlu: } goto hd0Bq; PTQHN: $esb = []; goto F89_s; MWrfG: $pg2b = []; goto VMZHH; Y_u6X: $soals = $this->cbt->getNomorSoalByBank($jadwal->id_bank); goto qqUMI; XSmoL: $soal_kompleks = ["\x74\x61\155\160\151\x6c" => $jadwal->tampil_kompleks, "\x62\x6f\x62\157\x74" => $jadwal->bobot_kompleks, "\x6a\141\167\141\142\x61\x6e" => $pg2b]; goto C2rvq; VMZHH: $jodb = []; goto Xlrz_; FW99P: $nilais = $this->cbt->getAllNilaiSiswa($id_jadwal); goto k6ImB; ha15h: $kelass = unserialize($jadwal->bank_kelas ?? ''); goto kCR5h; C2rvq: $soal_jodohkan = ["\x74\x61\155\160\x69\154" => $jadwal->tampil_jodohkan, "\142\157\x62\x6f\164" => $jadwal->bobot_jodohkan, "\x6a\141\x77\141\142\141\156" => $jodb]; goto YEQYP; q1grj: $this->load->model("\x4d\x61\x73\x74\x65\x72\137\x6d\157\x64\x65\154", "\155\141\x73\164\x65\162"); goto qYJuS; PCoTU: $this->db->set("\x72\x65\x6b\x61\160", 1); goto Gz2W6; dMKKI: $result = false; goto UXbCf; wLxIj: $this->output_json(true); goto uBDC0; aJlb3: $siswas = $this->cbt->getSiswaByKelasArray($id_tp->id_tp, $id_smt->id_smt, $arrkelas); goto QO1RR; ibxch: $this->load->model("\104\162\157\160\144\157\167\x6e\137\x6d\157\144\145\x6c", "\144\x72\157\160\144\x6f\x77\156"); goto feqR2; Qif5X: Hgs1u: goto BDWHt; Atix0: $id_smt = $this->dashboard->getSemesterById($jadwal->id_smt); goto L6kMN; veWJN: $this->db->delete("\143\x62\x74\137\x72\x65\x6b\141\x70"); goto Vv8xm; OprQq: if ($terpakai && $generated) { goto JJFPY; } goto dMKKI; QO1RR: $arrSiswa = []; goto kJ3P8; LZkDQ: goto fmpvz; goto F8mhc; znwQl: $result = $this->db->insert("\143\142\x74\x5f\x72\145\x6b\x61\x70", $insert); goto yMBZ2; hJ0P3: foreach ($kelass as $kls) { goto I1Iw2; sbJCf: NusH1: goto AliRl; nPdby: array_push($arrkelas, $kls["\x6b\x65\x6c\x61\x73\x5f\151\144"]); goto E52T1; E52T1: DDNud: goto sbJCf; I1Iw2: if (!($kls["\x6b\x65\x6c\x61\163\137\151\x64"] != null)) { goto DDNud; } goto nPdby; AliRl: } goto Qif5X; yMBZ2: if (!$result) { goto lNGp8; } goto PCoTU; DdKTI: $this->db->trans_complete(); goto VtEnh; L6kMN: $tahun = $id_tp->tahun; goto tozUP; abyuc: $this->db->where("\151\144\x5f\x6a\x61\x64\x77\141\x6c", $id_jadwal); goto veWJN; llcOH: $pgb = []; goto MWrfG; F8mhc: l91wp: goto SVwmk; JcJrQ: $this->db->delete("\143\x62\164\137\162\145\153\x61\x70\137\156\151\154\141\151"); goto KsIdm; YEQYP: $soal_isian = ["\164\x61\x6d\160\x69\154" => $jadwal->tampil_isian, "\142\157\142\x6f\164" => $jadwal->bobot_isian, "\x6a\141\x77\x61\x62\x61\x6e" => $isb]; goto CyhiZ; cgoYZ: $jadwal = $this->cbt->getJadwalById($id_jadwal); goto Y_u6X; Vv8xm: $insert = ["\151\144\x5f\x74\160" => $id_tp->id_tp, "\x74\160" => $tahun, "\151\x64\x5f\x73\155\x74" => $id_smt->id_smt, "\163\x6d\x74" => $smt, "\x69\144\137\152\x61\x64\167\x61\154" => $id_jadwal, "\x69\x64\x5f\152\x65\156\151\x73" => $jadwal->id_jenis, "\153\x6f\144\x65\137\x6a\x65\156\151\163" => $jadwal->kode_jenis, "\x69\x64\x5f\142\x61\156\153" => $jadwal->id_bank, "\142\x61\156\153\137\153\157\x64\145" => $jadwal->bank_kode, "\x62\141\156\x6b\x5f\153\x65\154\141\x73" => $jadwal->bank_kelas, "\x6e\141\x6d\141\x5f\x6b\145\154\x61\163" => serialize($nama_kelas), "\x62\141\156\153\x5f\154\x65\166\145\x6c" => $jadwal->bank_level, "\151\144\x5f\x6d\x61\160\x65\x6c" => $jadwal->id_mapel, "\156\x61\155\141\137\x6d\141\160\x65\x6c" => $jadwal->nama_mapel, "\153\x6f\144\145" => $jadwal->kode, "\164\x67\154\x5f\155\x75\154\141\151" => $jadwal->tgl_mulai, "\164\x67\154\137\163\145\154\145\x73\x61\151" => $jadwal->tgl_selesai, "\164\x61\155\160\x69\x6c\137\160\x67" => $jadwal->tampil_pg, "\152\141\x77\x61\x62\141\x6e\137\x70\147" => serialize($pgb), "\x62\157\x62\x6f\164\137\160\147" => $jadwal->bobot_pg, "\163\x6f\x61\x6c\137\x6b\x6f\155\x70\x6c\145\x6b\x73" => serialize($soal_kompleks), "\163\x6f\141\x6c\x5f\152\x6f\144\157\x68\x6b\141\x6e" => serialize($soal_jodohkan), "\163\157\x61\x6c\137\x69\163\151\141\x6e" => serialize($soal_isian), "\x73\157\x61\x6c\137\145\163\x73\141\151" => serialize($soal_essai), "\x69\x64\137\x67\x75\162\165" => $jadwal->id_guru, "\156\x61\155\141\x5f\147\x75\x72\x75" => $jadwal->nama_guru]; goto znwQl; k6ImB: $nilai = []; goto g2rbx; E77Of: $this->load->model("\103\x62\x74\137\155\157\144\145\154", "\143\x62\x74"); goto ibxch; VH0fc: fmpvz: goto wLxIj; kCR5h: $arrkelas = []; goto hJ0P3; bdmpw: $this->db->where("\x69\x64\137\x6a\141\x64\x77\x61\x6c", $id_jadwal); goto JcJrQ; qYJuS: $this->load->model("\104\x61\x73\150\142\157\x61\x72\x64\x5f\155\x6f\x64\145\154", "\144\141\x73\x68\142\x6f\141\162\144"); goto E77Of; qqUMI: $id_tp = $this->dashboard->getTahunById($jadwal->id_tp); goto Atix0; dk6Zu: $this->db->trans_start(); goto cgoYZ; tozUP: $smt = $id_smt->nama_smt; goto ha15h; hd0Bq: D2Xwo: goto GQoxI; dmr3i: $this->session->set_flashdata("\x72\145\x6b\x61\x70\x6e\151\x6c\141\x69", "\74\144\151\166\40\x69\144\75\42\146\x6c\141\x73\x68\144\141\x74\x61\x22\x20\x63\x6c\x61\x73\x73\x3d\42\x61\154\145\162\x74\40\x61\x6c\x65\x72\164\55\144\145\x66\x61\165\x6c\x74\x2d\x64\141\156\x67\x65\x72\x20\x61\154\151\x67\156\x2d\143\157\x6e\x74\x65\x6e\x74\x2d\143\145\156\164\x65\x72\40\x77\x2d\x31\x30\x30\42\x20\x72\157\154\x65\x3d\42\141\x6c\145\162\x74\x22\x3e\112\x61\144\x77\141\x6c\x20\125\152\151\x61\x6e\40\x6d\141\x73\x69\150\40\142\x65\x72\154\x61\x6e\x67\x73\165\156\x67\54\x20" . $save . "\x20\156\x69\154\141\151\x20\x73\x69\163\x77\141\40\142\x65\162\150\141\163\x69\154\40\x64\151\162\x65\x6b\x61\160\56\x3c\142\162\76\x42\x65\x62\x65\162\x61\160\x61\40\163\151\163\x77\x61\x20\x62\145\x6c\165\155\x20\x73\145\x6c\x65\x73\x61\x69\x20\x61\x74\x61\165\x20\142\x65\154\165\155\40\x64\x69\153\x6f\162\x65\153\163\151\74\x2f\x64\151\166\76"); goto LZkDQ; VtEnh: l1Yy4: goto n1fue; uBDC0: } public function bulkBackup() { goto ekVFC; sjSvp: NMw7P: goto ZSmzw; ZVzUx: $data["\x6a\141\144\167\141\x6c"] = $jadwals; goto Ht6YO; VVta4: $this->output_json(true); goto VRbHd; NKKUn: g0SgX: goto P5Hso; EA5Yq: goto BtX1l; goto sjSvp; P5Hso: $this->db->trans_complete(); goto howUf; zAoLV: $generated = 0; goto Uef_C; ZSmzw: $this->session->set_flashdata("\x72\145\153\141\160\156\151\x6c\x61\151", "\74\x64\151\x76\40\151\x64\75\42\146\154\x61\163\150\144\141\x74\141\x22\40\143\x6c\141\x73\x73\75\42\x61\x6c\x65\162\x74\x20\141\x6c\x65\162\164\55\x64\145\x66\x61\165\154\164\55\163\x75\x63\143\145\163\163\x20\141\154\151\147\156\x2d\143\x6f\156\x74\145\156\x74\x2d\x63\x65\156\164\x65\x72\40\167\x2d\61\60\60\42\x20\162\157\154\x65\75\x22\x61\x6c\145\162\164\x22\76\40\102\x65\162\150\141\163\x69\154\x20\x6d\145\x72\145\153\141\x70\x20\x3c\142\76" . count($ids) . "\74\57\142\x3e\40\156\151\x6c\141\x69\40\74\x2f\x64\151\x76\76"); goto v0O0O; howUf: $sukses = $generated > 0 && $result; goto ffAaa; K2VUs: $data["\x74\157\164\x61\154"] = count($ids); goto GEm7m; qx5Pg: $jadwal_dikerjakan = $this->cbt->getJadwalTerpakai(); goto w7yb4; uHOGl: sleep(1); goto K2VUs; ffAaa: if ($generated > 0 && $result) { goto NMw7P; } goto yGo5B; Uef_C: foreach ($jadwals as $jadwal) { goto eKTFP; ho0_T: $this->db->delete("\143\x62\x74\x5f\162\145\153\141\x70\x5f\156\x69\x6c\x61\x69"); goto OFc1w; ut_0e: $this->db->where("\x69\x64\137\152\x61\144\167\x61\154", $jadwal->id_jadwal); goto nVpyJ; xypl6: $arrkelas = []; goto RhZ5V; jUaNI: D_7HL: goto LdN1o; CLohY: $tahun = $id_tp->tahun; goto S46NF; RhZ5V: foreach ($kelass as $kls) { goto pJT5W; Gl0qd: array_push($arrkelas, $kls["\153\145\x6c\x61\163\137\151\x64"]); goto B4zh2; B4zh2: IA6O_: goto uzNAl; uzNAl: TVtpN: goto wrsIV; pJT5W: if (!($kls["\x6b\x65\x6c\x61\163\137\151\x64"] != null)) { goto IA6O_; } goto Gl0qd; wrsIV: } goto pcUpE; OFc1w: $save = $this->master->create("\x63\x62\x74\x5f\162\145\x6b\141\160\137\156\x69\154\141\x69", $nilai, true); goto jUaNI; dIYJL: foreach ($siswas as $siswa) { goto RkYx2; ck6RJ: $skor_is = 0; goto xBU1f; iFg_l: $jods = []; goto HsbdT; Gh2n2: $soal_jod = ["\142\157\142\157\x74" => $jadwal->bobot_jodohkan, "\152\x61\167\x61\x62\141\x6e" => $jods, "\156\151\154\141\x69" => $skor_jod]; goto ssT6Y; ovMlu: $skor_jod = 0; goto ck6RJ; Ey4j0: if (!isset($jawabans[$siswa->id_siswa])) { goto bSAwC; } goto XnCNN; TR9EV: $ess = []; goto Ey4j0; pDADH: $nilai[] = ["\151\x64\x5f\x6a\x61\x64\167\x61\x6c" => $jadwal->id_jadwal, "\x69\x64\137\x74\160" => $id_tp->id_tp, "\164\x70" => $tahun, "\151\x64\x5f\x73\x6d\x74" => $id_smt->id_smt, "\x73\155\164" => $smt, "\x69\x64\137\x6a\145\156\151\x73" => $jadwal->id_jenis, "\153\x6f\x64\x65\x5f\x6a\145\x6e\151\x73" => $jadwal->kode_jenis, "\151\144\137\142\141\156\x6b" => $jadwal->id_bank, "\151\144\137\x6d\141\160\145\x6c" => $jadwal->id_mapel, "\151\x64\137\163\x69\x73\x77\x61" => $siswa->id_siswa, "\x6e\141\x6d\141\137\x73\x69\x73\167\x61" => $siswa->nama, "\x6e\157\x5f\160\x65\x73\x65\x72\x74\141" => $siswa->nomor_peserta, "\151\x64\x5f\x6b\x65\x6c\x61\x73" => $siswa->id_kelas, "\x6b\145\154\141\163" => $siswa->nama_kelas, "\155\165\x6c\141\151" => isset($durasies[$siswa->id_siswa]) ? $durasies[$siswa->id_siswa]->mulai : '', "\x73\145\154\x65\x73\x61\x69" => isset($durasies[$siswa->id_siswa]) ? $durasies[$siswa->id_siswa]->selesai : '', "\x64\x75\162\141\x73\151" => isset($durasies[$siswa->id_siswa]) ? $durasies[$siswa->id_siswa]->lama_ujian : '', "\x62\x6f\x62\x6f\x74\x5f\160\x67" => $jadwal->bobot_pg, "\x6a\x61\167\x61\x62\x61\156\x5f\160\x67" => serialize($pgs), "\156\x69\x6c\x61\x69\x5f\160\147" => round($skor_pg, 2), "\163\x6f\141\x6c\x5f\153\x6f\x6d\x70\154\x65\153\x73" => serialize($soal_pg2), "\x73\x6f\141\154\137\x6a\157\x64\157\150\x6b\x61\156" => serialize($soal_jod), "\x73\x6f\x61\x6c\137\151\x73\151\x61\156" => serialize($soal_is), "\x73\157\141\x6c\x5f\145\163\x73\141\x69" => serialize($soal_es), "\151\144\x5f\147\165\x72\x75" => $jadwal->id_guru]; goto kC1BB; nM8xy: $pgs = []; goto CxwJI; RWxP9: array_push($dikoreksi, $nilais[$siswa->id_siswa]->dikoreksi); goto X9Ruq; VyTLV: $skor_is = $nilais[$siswa->id_siswa]->isian_nilai; goto olpaL; BWEw4: $soal_pg2 = ["\142\x6f\x62\x6f\x74" => $jadwal->bobot_kompleks, "\152\x61\x77\x61\142\141\x6e" => $pg2s, "\156\151\154\x61\x69" => $skor_pg2]; goto Gh2n2; ssT6Y: $soal_is = ["\142\x6f\142\157\x74" => $jadwal->bobot_isian, "\x6a\141\x77\141\142\x61\156" => $iss, "\x6e\x69\154\x61\x69" => $skor_is]; goto U8rsk; XI2CY: if (!isset($nilais[$siswa->id_siswa])) { goto SiIty; } goto RWxP9; xBU1f: $skor_es = 0; goto XI2CY; iH3yZ: $salah_pg = 0; goto BdeaQ; BdeaQ: $skor_pg = 0; goto mF3s3; zI6iZ: $skor_pg = $nilais[$siswa->id_siswa]->pg_nilai; goto K2Uo0; U8rsk: $soal_es = ["\x62\x6f\x62\x6f\164" => $jadwal->bobot_esai, "\152\x61\x77\141\x62\141\x6e" => $ess, "\x6e\151\x6c\x61\151" => $skor_es]; goto pDADH; FxVW9: bSAwC: goto BWEw4; LCJ_X: $benar_pg = 0; goto iH3yZ; P8GTr: SiIty: goto nM8xy; mF3s3: $skor_pg2 = 0; goto ovMlu; DJ8bE: $salah_pg = $jadwal->tampil_pg - $benar_pg; goto zI6iZ; A9zK6: xOCTm: goto FxVW9; XnCNN: foreach ($jawabans[$siswa->id_siswa] as $jawaban) { goto wei2N; p3iaj: if ($jawaban->jenis_soal == "\62") { goto Q_SgW; } goto HFND5; ZtzLP: array_push($pgs, ["\156\x6f\137\163\157\x61\x6c" => $jawaban->id_soal, "\152\x61\x77\x61\142" => $jawaban->jawaban_siswa]); goto l1IBp; nDgTj: ms7N_: goto Wr4Sp; Wr4Sp: array_push($jods, ["\x6e\x6f\137\x73\157\x61\154" => $jawaban->id_soal, "\x6a\141\167\x61\142" => $jawaban->jawaban_siswa]); goto ixy01; ixy01: goto XzCK0; goto Cz8oo; nsngV: ABANf: goto Jjk7H; tFuEJ: array_push($iss, ["\156\157\137\x73\157\x61\x6c" => $jawaban->id_soal, "\x6a\x61\167\141\142" => $jawaban->jawaban_siswa]); goto C5jQe; CCz43: array_push($pg2s, ["\156\157\137\x73\x6f\x61\154" => $jawaban->id_soal, "\x6a\x61\167\141\x62" => $jawaban->jawaban_siswa]); goto l0tNy; Cz8oo: r8KRT: goto tFuEJ; tf5Aj: XzCK0: goto nsngV; HFND5: if ($jawaban->jenis_soal == "\63") { goto ms7N_; } goto I_qFS; C5jQe: goto XzCK0; goto LYBea; HgHq0: if ($jawaban->jenis_soal == "\65") { goto ehOqs; } goto NkIIE; wei2N: if ($jawaban->jenis_soal == "\x31") { goto Eljmc; } goto p3iaj; LYBea: ehOqs: goto duouO; PCHQ3: Q_SgW: goto CCz43; l1IBp: goto XzCK0; goto PCHQ3; gInMv: Eljmc: goto ZtzLP; NkIIE: goto XzCK0; goto gInMv; duouO: array_push($ess, ["\156\x6f\137\163\157\141\154" => $jawaban->id_soal, "\x6a\141\167\141\x62" => $jawaban->jawaban_siswa]); goto tf5Aj; l0tNy: goto XzCK0; goto nDgTj; I_qFS: if ($jawaban->jenis_soal == "\64") { goto r8KRT; } goto HgHq0; Jjk7H: } goto A9zK6; RkYx2: $dikoreksi = []; goto LCJ_X; X9Ruq: $benar_pg = $nilais[$siswa->id_siswa]->pg_benar; goto DJ8bE; K2Uo0: $skor_pg2 = $nilais[$siswa->id_siswa]->kompleks_nilai; goto adWKw; adWKw: $skor_jod = $nilais[$siswa->id_siswa]->jodohkan_nilai; goto VyTLV; HsbdT: $iss = []; goto TR9EV; CxwJI: $pg2s = []; goto iFg_l; olpaL: $skor_es = $nilais[$siswa->id_siswa]->essai_nilai; goto P8GTr; kC1BB: AeEoS: goto kG6gr; kG6gr: } goto nfYEV; yTrtG: vfjid: goto iS2HN; pcUpE: xIfZy: goto ct64P; lT5Qr: foreach ($soals as $id => $soal) { goto YRcfJ; NivXp: array_push($pg2b, ["\x6e\x6f\137\x73\x6f\x61\x6c" => $id, "\x6a\141\167\141\142" => $soal->jawaban]); goto Xd6be; y39HC: IlHL_: goto Q7Wmw; r66NT: Jrw4f: goto NivXp; Xd6be: goto e1zu8; goto lyKtZ; b0vSD: array_push($esb, ["\156\x6f\x5f\163\x6f\141\154" => $id, "\x6a\141\x77\141\142" => $soal->jawaban]); goto GeNPP; Q7Wmw: array_push($pgb, ["\156\157\x5f\x73\157\x61\154" => $id, "\x6a\141\x77\141\142" => $soal->jawaban]); goto A7c97; hD5XT: RDzD2: goto yHOQx; vL61K: goto e1zu8; goto y39HC; qbeLD: if ($soal->jenis == "\x32") { goto Jrw4f; } goto YwK9P; yNEmn: goto e1zu8; goto mssCV; lyKtZ: TLPHm: goto aZYrL; aZYrL: array_push($jodb, ["\156\157\137\x73\157\141\154" => $id, "\x6a\141\167\x61\142" => $soal->jawaban]); goto XLr1F; Ah70m: if ($soal->jenis == "\64") { goto tir15; } goto nDaPr; cO5g9: array_push($isb, ["\x6e\157\x5f\163\157\141\154" => $id, "\152\141\167\141\142" => $soal->jawaban]); goto yNEmn; A7c97: goto e1zu8; goto r66NT; YwK9P: if ($soal->jenis == "\x33") { goto TLPHm; } goto Ah70m; GeNPP: e1zu8: goto hD5XT; XLr1F: goto e1zu8; goto uYETV; nDaPr: if ($soal->jenis == "\x35") { goto DvRT4; } goto vL61K; mssCV: DvRT4: goto b0vSD; YRcfJ: if ($soal->jenis == "\x31") { goto IlHL_; } goto qbeLD; uYETV: tir15: goto cO5g9; yHOQx: } goto A2BM6; BY9tW: if (!$gen) { goto vzr9H; } goto CMo9z; Rm7kQ: $this->db->set("\162\x65\153\x61\x70", 1); goto ut_0e; S46NF: $smt = $id_smt->nama_smt; goto ZP6DB; iS2HN: $siswas = $this->cbt->getSiswaByKelasArray($id_tp->id_tp, $id_smt->id_smt, $arrkelas); goto P2HCD; udjca: $soal_essai = ["\x74\141\x6d\x70\x69\x6c" => $jadwal->tampil_esai, "\142\157\142\x6f\164" => $jadwal->bobot_esai, "\152\141\167\141\142\x61\156" => $esb]; goto Iihdl; A2BM6: dvpTK: goto jMMfu; oZ_e8: $gen = $this->generateNilaiUjian($jadwal->id_jadwal); goto BY9tW; iUp_8: $esb = []; goto lT5Qr; eKTFP: $terpakai = isset($jadwal_dikerjakan[$jadwal->id_jadwal]) && count($jadwal_dikerjakan[$jadwal->id_jadwal]) > 0; goto kjDQU; eYGR9: $soal_jodohkan = ["\x74\141\x6d\x70\x69\x6c" => $jadwal->tampil_jodohkan, "\142\157\142\157\x74" => $jadwal->bobot_jodohkan, "\x6a\x61\167\x61\142\x61\x6e" => $jodb]; goto RqB1W; P382c: $pg2b = []; goto VCVtd; LdN1o: KJfDy: goto z3Kt7; ct64P: $nama_kelas = $this->dropdown->getAllKelasByArrayId($id_tp->id_tp, $id_smt->id_smt, $arrkelas); goto U2vOQ; HT0ba: $result = $this->db->insert("\143\x62\x74\137\162\145\153\141\160", $insert); goto QO9z0; ZP6DB: $kelass = unserialize($jadwal->bank_kelas ?? ''); goto xypl6; X1E1h: vzr9H: goto OK1B9; UMRME: foreach ($siswas as $siswa) { array_push($arrSiswa, $siswa->id_siswa); Regv0: } goto en7TJ; Iihdl: $this->db->where("\151\x64\x5f\x6a\141\x64\x77\x61\154", $jadwal->id_jadwal); goto MA5el; CMo9z: $generated++; goto X1E1h; nfYEV: zLs1O: goto NylbD; OK1B9: $soals = $this->cbt->getNomorSoalByBank($jadwal->id_bank); goto ISl3s; QO9z0: if (!$result) { goto vfjid; } goto Rm7kQ; kjDQU: if (!$terpakai) { goto D_7HL; } goto oZ_e8; U2vOQ: $pgb = []; goto P382c; P2HCD: $arrSiswa = []; goto UMRME; VCVtd: $jodb = []; goto gud8W; RqB1W: $soal_isian = ["\x74\141\155\x70\x69\154" => $jadwal->tampil_isian, "\x62\x6f\x62\157\x74" => $jadwal->bobot_isian, "\152\141\x77\x61\x62\x61\156" => $isb]; goto udjca; en7TJ: m87r1: goto gpIA5; gud8W: $isb = []; goto iUp_8; fp6Or: $id_smt = $this->dashboard->getSemesterById($jadwal->id_smt); goto CLohY; MA5el: $this->db->delete("\143\142\164\x5f\162\x65\x6b\x61\x70"); goto w330o; gpIA5: $durasies = $this->cbt->getIdSiswaFromDurasiByJadwal($jadwal->id_jadwal); goto vydGq; vydGq: $jawabans = $this->cbt->getIdSiswaFromJawabanByJadwal($jadwal->id_jadwal); goto MToR4; NylbD: $this->db->where("\x69\x64\137\x6a\x61\144\x77\x61\154", $jadwal->id_jadwal); goto ho0_T; nVpyJ: $this->db->update("\143\x62\164\x5f\x6a\x61\144\167\141\154"); goto yTrtG; r6iJG: $nilai = []; goto dIYJL; jMMfu: $soal_kompleks = ["\164\141\x6d\160\x69\x6c" => $jadwal->tampil_kompleks, "\142\157\x62\x6f\164" => $jadwal->bobot_kompleks, "\x6a\x61\x77\141\142\x61\156" => $pg2b]; goto eYGR9; MToR4: $nilais = $this->cbt->getAllNilaiSiswa($jadwal->id_jadwal); goto r6iJG; ISl3s: $id_tp = $this->dashboard->getTahunById($jadwal->id_tp); goto fp6Or; w330o: $insert = ["\x69\x64\137\164\160" => $id_tp->id_tp, "\164\160" => $tahun, "\151\x64\x5f\163\155\x74" => $id_smt->id_smt, "\163\x6d\x74" => $smt, "\x69\144\137\152\x61\x64\x77\141\154" => $jadwal->id_jadwal, "\151\x64\x5f\152\x65\156\151\x73" => $jadwal->id_jenis, "\153\x6f\x64\145\137\x6a\x65\156\x69\x73" => $jadwal->kode_jenis, "\151\144\137\x62\141\x6e\x6b" => $jadwal->id_bank, "\142\141\156\x6b\x5f\153\x6f\144\x65" => $jadwal->bank_kode, "\142\141\156\x6b\x5f\x6b\145\154\141\163" => $jadwal->bank_kelas, "\156\x61\155\141\x5f\x6b\145\154\x61\x73" => serialize($nama_kelas), "\142\141\x6e\x6b\137\154\145\x76\145\x6c" => $jadwal->bank_level, "\151\x64\x5f\x6d\x61\x70\x65\x6c" => $jadwal->id_mapel, "\156\x61\155\141\x5f\155\141\x70\x65\154" => $jadwal->nama_mapel, "\x6b\157\144\x65" => $jadwal->kode, "\164\147\x6c\137\155\165\154\x61\x69" => $jadwal->tgl_mulai, "\164\147\154\x5f\163\145\x6c\x65\163\x61\x69" => $jadwal->tgl_selesai, "\x74\x61\155\160\x69\154\137\x70\147" => $jadwal->tampil_pg, "\152\141\x77\141\142\141\x6e\x5f\160\x67" => serialize($pgb), "\x62\157\x62\157\x74\x5f\160\x67" => $jadwal->bobot_pg, "\x73\157\x61\154\137\x6b\157\155\x70\154\x65\x6b\163" => serialize($soal_kompleks), "\x73\157\141\x6c\137\152\x6f\x64\x6f\150\153\x61\x6e" => serialize($soal_jodohkan), "\x73\157\x61\x6c\x5f\151\163\151\x61\156" => serialize($soal_isian), "\163\157\141\x6c\x5f\x65\x73\163\141\x69" => serialize($soal_essai), "\151\x64\x5f\147\165\x72\x75" => $jadwal->id_guru, "\156\x61\x6d\x61\x5f\x67\165\x72\x75" => $jadwal->nama_guru]; goto HT0ba; z3Kt7: } goto NKKUn; mR5q2: $this->load->model("\104\x72\x6f\x70\144\157\167\x6e\137\x6d\x6f\144\145\154", "\x64\162\x6f\160\x64\x6f\167\156"); goto VOg4z; w7yb4: $jadwals = $this->cbt->getJadwalByArrId($ids); goto ZVzUx; yGo5B: $this->session->set_flashdata("\162\145\153\141\x70\x6e\x69\154\x61\151", "\74\x64\151\166\x20\x69\144\75\x22\x66\154\x61\x73\x68\144\141\x74\x61\42\40\143\x6c\141\x73\x73\75\x22\141\x6c\x65\x72\164\40\x61\x6c\145\162\x74\55\x64\145\146\x61\165\154\x74\x2d\144\141\x6e\147\145\x72\x20\x61\154\x69\147\x6e\55\143\x6f\x6e\164\145\156\164\55\143\145\x6e\x74\x65\162\x20\x77\55\61\60\x30\x22\40\162\157\154\x65\75\x22\x61\x6c\x65\x72\x74\x22\76\x4a\x61\x64\x77\141\x6c\x20\x55\x6a\x69\x61\x6e\40\155\141\x73\151\150\x20\x62\x65\x72\154\141\156\x67\x73\x75\156\147\54\40" . $save . "\x20\x6e\151\154\141\151\40\163\x69\x73\167\x61\40\x62\145\162\x68\141\x73\151\154\40\x64\x69\162\145\x6b\141\x70\56\74\142\x72\x3e\x42\145\x62\145\x72\x61\160\141\x20\163\x69\163\x77\141\x20\142\x65\154\x75\x6d\40\163\x65\x6c\145\163\x61\151\x20\141\x74\141\165\40\142\145\154\165\x6d\x20\144\151\x6b\x6f\x72\x65\153\x73\151\74\x2f\x64\151\x76\x3e"); goto EA5Yq; v0O0O: BtX1l: goto VVta4; VOg4z: $ids = json_decode($this->input->post("\x69\144\x73", true)); goto uHOGl; IVVaz: $this->load->model("\103\x62\164\137\155\157\x64\x65\154", "\x63\x62\x74"); goto mR5q2; GEm7m: $this->db->trans_start(); goto qx5Pg; Ht6YO: $result = false; goto U8C_G; hwaka: $this->load->model("\x44\141\163\x68\142\x6f\x61\x72\x64\x5f\x6d\x6f\144\x65\154", "\144\x61\163\150\x62\x6f\x61\x72\x64"); goto IVVaz; U8C_G: $save = false; goto zAoLV; ekVFC: $this->load->model("\x4d\141\163\164\x65\162\x5f\x6d\x6f\144\x65\154", "\155\x61\x73\x74\x65\x72"); goto hwaka; VRbHd: } public function hapusRekap() { goto FK5Of; WXM8M: $this->output_json($data); goto NqwX5; R0Wo0: XZ9MQ: goto ooIzY; ooIzY: $this->session->set_flashdata("\x72\145\153\141\160\156\x69\x6c\x61\x69", "\x3c\144\x69\x76\x20\151\144\75\42\146\154\141\163\x68\x64\141\x74\x61\x22\40\x63\x6c\141\x73\x73\x3d\42\141\154\145\x72\164\40\x61\154\x65\162\x74\x2d\144\145\146\x61\x75\154\164\55\163\x75\143\143\145\163\x73\40\141\154\x69\147\x6e\x2d\143\x6f\x6e\x74\x65\156\164\x2d\x63\x65\156\164\145\x72\x20\x77\x2d\x31\60\x30\42\40\162\157\x6c\145\75\x22\x61\x6c\145\x72\164\x22\76\40\102\x65\x72\x68\141\x73\x69\x6c\40\155\145\156\147\x68\x61\160\x75\x73\x20\x3c\x62\76" . count($ids) . "\74\x2f\x62\x3e\x20\x6e\x69\x6c\x61\151\40\74\57\144\x69\166\76"); goto i6F8r; FK5Of: $ids = json_decode($this->input->post("\x69\x64\163", true)); goto oBrFX; v20Tr: $delRekap = $this->db->delete("\x63\x62\164\x5f\x72\145\153\x61\160"); goto uENOd; oBrFX: sleep(1); goto CSrBB; CSrBB: $data["\x74\x6f\x74\141\x6c"] = count($ids); goto P20Z6; OjzIC: if ($delNilai && $delRekap) { goto XZ9MQ; } goto nxKdC; P20Z6: $this->db->where_in("\151\x64\137\152\141\144\x77\141\154", $ids); goto v20Tr; xNaXi: $delNilai = $this->db->delete("\143\142\x74\137\x72\x65\153\141\160\x5f\x6e\x69\154\x61\x69"); goto OjzIC; ptOTc: $data["\x73\x75\143\143\x65\163\163"] = $delNilai && $delRekap; goto WXM8M; nxKdC: $this->session->set_flashdata("\x72\145\153\x61\x70\x6e\x69\154\x61\x69", "\74\x64\x69\166\40\x69\144\x3d\42\146\154\141\163\150\x64\x61\164\x61\x22\x20\x63\154\141\x73\x73\75\42\141\154\145\x72\x74\x20\x61\154\145\x72\164\55\144\145\x66\x61\165\154\x74\x2d\x64\x61\x6e\147\x65\162\x20\141\154\151\147\156\x2d\x63\157\156\x74\x65\156\164\55\x63\145\156\x74\145\162\x20\x77\x2d\x31\x30\x30\x22\40\x72\157\154\x65\x3d\x22\141\x6c\x65\162\164\42\76\40\x48\x61\160\165\163\40\156\151\154\141\151\40\147\141\147\x61\x6c\x20\x3c\x2f\144\151\x76\x3e"); goto fED7_; i6F8r: y2_h_: goto ptOTc; uENOd: $this->db->where_in("\151\x64\137\x6a\x61\x64\167\141\154", $ids); goto xNaXi; fED7_: goto y2_h_; goto R0Wo0; NqwX5: } function getDataFromArray1ByUserId($array, $userId) { goto B3mpt; IkDsN: nVeEe: goto wKUND; B3mpt: foreach ($array as $key => $data) { goto loKx5; H4nSm: return $array; goto QksCh; QksCh: OfEcD: goto Vin83; loKx5: if (!($data->id_siswa == $userId)) { goto OfEcD; } goto H4nSm; Vin83: pR4UI: goto itm7A; itm7A: } goto IkDsN; wKUND: return array(); goto BYqZE; BYqZE: } public function getJenisPenilaian() { goto L6O0t; L6O0t: $this->load->model("\103\x62\164\137\155\x6f\144\x65\154", "\143\142\164"); goto zgmwY; KUgfQ: $jadwals = $this->cbt->getJenisRekap($tahun, $smt); goto WBuak; zgmwY: $tahun = $this->input->get("\x74\x61\x68\x75\156"); goto RJdRn; RJdRn: $smt = $this->input->get("\163\x6d\x74"); goto KUgfQ; WBuak: } public function getNilaiKelas() { goto nXyKM; wudET: foreach ($jadwals as $key => $jadwal) { goto KBE47; XXwT9: $jadwal->jawaban_pg = unserialize($jadwal->jawaban_pg); goto H3meR; Bq2Tb: $ids = []; goto dU0DY; H3meR: $jadwal->jawaban_esai = unserialize($jadwal->jawaban_esai); goto Bq2Tb; ULRPp: tl41u: goto yvlhO; hqcBB: unset($jadwals[$key]); goto ULRPp; gzGZk: if (in_array($kelas, $ids)) { goto tl41u; } goto hqcBB; KBE47: $jadwal->bank_kelas = unserialize($jadwal->bank_kelas); goto XXwT9; dU0DY: foreach ($jadwal->bank_kelas as $id) { array_push($ids, $id["\153\x65\x6c\x61\163\x5f\x69\x64"]); IZK27: } goto GA8GW; GA8GW: cd3gL: goto gzGZk; yvlhO: U0_Aq: goto DB4qr; DB4qr: } goto QYh3P; TL3WL: $jadwals = $this->cbt->getAllRekapByJadwal($tahun, $smt, $jenis, $level->level_id, $mapel, $guru->id_guru); goto wudET; lyJ1r: usort($arrSiswa, function ($a, $b) { return $a["\156\x61\155\141"] <=> $b["\156\141\155\141"]; }); goto Pzyl2; q820I: $mapel = $this->input->get("\x6d\x61\160\145\154"); goto CzHjW; B_HcJ: if (!(count($rekaps) > 0)) { goto hD7m0; } goto h5AFC; MNxc4: $smtg = $this->dashboard->getSemesterByNama($smt); goto ZAz4a; QYh3P: bJcim: goto L1A9E; g1x9Z: foreach ($jadwals as $key => $jadwal) { goto cquTC; xldb_: $jadwal->jawaban_esai = unserialize($jadwal->jawaban_esai ?? ''); goto CDAw2; Z7Ra2: if (in_array($kelas, $ids)) { goto ggKIh; } goto Dq29L; CDAw2: $ids = []; goto jkVJi; xjpz0: ggKIh: goto HjeLA; Hi8Hp: nNl9Y: goto Z7Ra2; jkVJi: foreach ($jadwal->bank_kelas as $id) { array_push($ids, $id["\x6b\145\x6c\141\x73\137\151\x64"]); E2v_M: } goto Hi8Hp; Dq29L: unset($jadwals[$key]); goto xjpz0; cquTC: $jadwal->bank_kelas = unserialize($jadwal->bank_kelas ?? ''); goto MhMOe; HjeLA: TNXyB: goto bTfHq; MhMOe: $jadwal->jawaban_pg = unserialize($jadwal->jawaban_pg ?? ''); goto xldb_; bTfHq: } goto BS3yg; AaBDU: $data["\x73\151\x73\x77\x61"] = $arrSiswa; goto CDc5U; A7UE0: foreach ($rekaps as $key => $item) { $arrNilai[$item->id_siswa][$item->id_jadwal] = $item; eUVFM: } goto LbuTU; w5d7h: brv12: goto taghm; LbuTU: keUf4: goto JgfYd; DnbnZ: $this->output_json($data); goto chG0t; vGY4c: $level = $this->master->getKelasById($kelas); goto sQ1Gr; z1uGe: goto v3jer; goto B1xfC; h5AFC: foreach ($rekaps as $rekap) { goto p31Mf; qPTZN: $rekap->soal_jodohkan = json_decode(json_encode(unserialize($rekap->soal_jodohkan))); goto WL7sC; ixpkT: B0UXg: goto BJoJQ; p31Mf: $rekap->jawaban_pg = $this->unserialize_with_key($rekap->jawaban_pg); goto A5zlz; WL7sC: $rekap->soal_isian = json_decode(json_encode(unserialize($rekap->soal_isian))); goto g0vgc; jtkUF: $arrSiswa[$rekap->id_siswa] = ["\151\x64\x5f\x73\151\163\x77\141" => $rekap->id_siswa, "\156\157\155\157\x72\x5f\160\145\163\x65\x72\x74\x61" => $rekap->nomor_peserta, "\156\x61\x6d\x61" => $rekap->nama]; goto ixpkT; A5zlz: $rekap->soal_kompleks = json_decode(json_encode(unserialize($rekap->soal_kompleks))); goto qPTZN; g0vgc: $rekap->soal_essai = json_decode(json_encode(unserialize($rekap->soal_essai))); goto jtkUF; BJoJQ: } goto w5d7h; UgLEZ: $this->load->model("\103\142\164\137\155\157\x64\x65\154", "\x63\142\164"); goto nj6mB; B3OLZ: $this->load->model("\x44\141\163\150\x62\157\141\x72\x64\137\155\157\144\145\x6c", "\x64\141\163\x68\142\x6f\141\162\x64"); goto UgLEZ; nj6mB: $kelas = $this->input->get("\153\x65\x6c\141\x73"); goto vGY4c; sQ1Gr: $jenis = $this->input->get("\x6a\145\156\x69\x73"); goto HGEY_; r2frF: $jadwals = $this->cbt->getAllRekapByJadwal($tahun, $smt, $jenis, $level->level_id, $mapel); goto g1x9Z; tHiXy: $arrSiswa = []; goto B_HcJ; JgfYd: usort($jadwals, function ($a, $b) { return $a->id_jadwal <=> $b->id_jadwal; }); goto AaBDU; taghm: hD7m0: goto lyJ1r; x91s1: v3jer: goto tHiXy; CDc5U: $data["\x6e\151\154\x61\x69"] = $arrNilai; goto k9S3A; nXyKM: $this->load->model("\115\141\x73\x74\145\x72\137\x6d\x6f\144\x65\154", "\x6d\x61\163\x74\x65\x72"); goto B3OLZ; HGEY_: $tahun = $this->input->get("\x74\x61\x68\165\156"); goto H459A; BS3yg: NGadu: goto riYAB; B7ttA: $tpg = $this->dashboard->getTahunByTahun($tahun); goto MNxc4; L1A9E: $rekaps = $this->cbt->getAllNilaiRekapByJadwal($tahun, $smt, $jenis, $kelas, $mapel, $guru->id_guru); goto z1uGe; ZAz4a: $guru = $this->dashboard->getDataGuruByUserId($user->id, $tpg->id_tp, $smtg->id_smt); goto TL3WL; Pzyl2: $arrNilai = []; goto A7UE0; mD3R1: if ($this->ion_auth->is_admin()) { goto oUvs6; } goto B7ttA; CzHjW: $user = $this->ion_auth->user()->row(); goto mD3R1; B1xfC: oUvs6: goto r2frF; H459A: $smt = $this->input->get("\163\x6d\x74"); goto q820I; riYAB: $rekaps = $this->cbt->getAllNilaiRekapByJadwal($tahun, $smt, $jenis, $kelas, $mapel); goto x91s1; k9S3A: $data["\x69\x6e\x66\x6f"] = array_values($jadwals); goto DnbnZ; chG0t: } public function olahNilai() { goto HGHsV; HGHsV: $this->load->model("\115\141\x73\x74\x65\162\137\155\x6f\x64\x65\154", "\155\141\163\x74\x65\162"); goto XnyMF; Ulfvk: $kls = @unserialize($rekap->nama_kelas); goto YUa9L; XnyMF: $this->load->model("\104\141\x73\x68\142\157\141\162\x64\x5f\155\157\144\x65\x6c", "\x64\x61\163\150\142\x6f\x61\x72\144"); goto hH41U; WszrQ: foreach ($siswas as $siswa) { goto NIZ_S; aBNs0: lmS2X: goto OaFGH; NIZ_S: $siswa->jawaban_pg = $this->unserialize_with_key($siswa->jawaban_pg); goto J20Cp; JRxZG: $siswa->soal_jodohkan = json_decode(json_encode(unserialize($siswa->soal_jodohkan))); goto ychvX; ychvX: $siswa->soal_isian = json_decode(json_encode(unserialize($siswa->soal_isian))); goto OVA_i; OVA_i: $siswa->soal_essai = json_decode(json_encode(unserialize($siswa->soal_essai))); goto aBNs0; J20Cp: $siswa->soal_kompleks = json_decode(json_encode(unserialize($siswa->soal_kompleks))); goto JRxZG; OaFGH: } goto RS3JW; orxKX: $xa = $this->input->get("\170\141"); goto zFW5a; rhdKX: $yb = $this->input->get("\171\142"); goto Fh3W5; gbSX4: $data["\x73\155\164"] = $this->dashboard->getSemester(); goto cJV_D; UUfK9: $tp = $this->dashboard->getTahunActive(); goto mJr19; CPJ_0: $data["\156\141\x6d\x61\137\x6b\145\154\x61\163"] = $kelas == null ? "\123\151\154\141\x68\153\141\x6e\40\x70\x69\154\x69\150\x20\153\145\154\x61\x73" : $kls[$kelas]; goto S0Q3U; DrW88: $this->load->view("\137\164\x65\x6d\160\154\141\164\x65\x73\57\144\x61\x73\150\142\x6f\x61\x72\144\57\137\146\157\157\x74\145\x72"); goto LDggO; MQC1b: $jadwal = $this->input->get("\x6a\x61\144\167\141\x6c"); goto dUZjD; a9YR4: $this->load->view("\x5f\164\x65\x6d\160\x6c\141\x74\x65\x73\x2f\x64\141\163\x68\142\x6f\x61\162\144\57\137\x68\145\x61\x64\145\162", $data); goto a86fi; dFD4k: $data["\164\x70"] = $this->dashboard->getTahun(); goto LFICn; MP83a: V29H9: goto Cxjb2; bnzvz: $this->load->view("\143\142\x74\x2f\x72\x65\x6b\141\160\57\x6f\154\141\x68"); goto Pf1ny; YUa9L: $data["\153\x65\x6c\141\x73"] = $kls; goto ITfl3; NRPAG: $data["\162\145\x6b\141\160"] = $rekap; goto rTFYm; N9H53: $ya = $this->input->get("\x79\141"); goto rhdKX; DpEm0: o4gsC: goto ZYBBK; hH41U: $this->load->model("\x43\x62\164\137\x6d\x6f\144\x65\x6c", "\x63\x62\x74"); goto znead; ZMJKE: $rekap->soal_jodohkan = json_decode(json_encode(unserialize($rekap->soal_jodohkan))); goto TRoBm; VGORr: $data["\163\x69\x73\x77\x61\x73"] = $siswas; goto Vo56C; TRoBm: $rekap->soal_isian = json_decode(json_encode(unserialize($rekap->soal_isian))); goto Fw1uo; GMNaS: $siswas = $this->cbt->getAllNilaiRekapByJenis($rekap->tp, $rekap->smt, $rekap->kode_jenis, $kelas, "\x30", $jadwal, $guru->id_guru); goto lwtTW; Fh3W5: $xa = $this->input->get("\x78\x61"); goto H5ZMj; cfgWW: drRRT: goto H4N6T; S0Q3U: B_6yh: goto cAtwJ; f1sqI: $convert = ["\x79\x61" => $ya, "\x79\142" => $yb, "\x78\141" => $xa, "\x78\x62" => $xb]; goto o2IpG; oITSt: if (!($kelas != null)) { goto V29H9; } goto g3hCm; gzqVh: $data["\143\x6f\x6e\166\145\x72\164"] = $convert; goto iC0VC; KrxMy: Xqr9a: goto DpEm0; H5ZMj: $xb = $this->input->get("\x78\142"); goto nTW0t; Pf1ny: $this->load->view("\155\145\x6d\142\x65\162\x73\x2f\147\165\x72\165\x2f\x74\x65\155\x70\154\141\164\145\163\57\x66\x6f\x6f\x74\145\162"); goto EJcK1; Cxjb2: $data["\x70\x72\157\x66\151\x6c\x65"] = $this->dashboard->getProfileAdmin($user->id); goto yaCmz; dUZjD: $user = $this->ion_auth->user()->row(); goto ZZ3qk; IviCg: $kelas = $this->input->get("\153\x65\x6c\141\163"); goto g7peE; iC0VC: fthX3: goto MP83a; ZYBBK: $data["\x6a\x61\144\167\141\x6c"] = $this->dropdown->getAllJadwalGuru($tp->id_tp, $smt->id_smt, $guru->id_guru); goto i66SN; ITfl3: if (!($rekap != null)) { goto B_6yh; } goto qQL2z; EJcK1: goto oriVK; goto qZuC2; lwtTW: foreach ($siswas as $siswa) { goto kISlX; MNrbC: $siswa->soal_essai = json_decode(json_encode(unserialize($siswa->soal_essai))); goto OmFEL; kISlX: $siswa->jawaban_pg = $this->unserialize_with_key($siswa->jawaban_pg); goto kyye5; t7UDe: $siswa->soal_jodohkan = json_decode(json_encode(unserialize($siswa->soal_jodohkan))); goto ADBnZ; OmFEL: d5Xvf: goto dMLOU; kyye5: $siswa->soal_kompleks = json_decode(json_encode(unserialize($siswa->soal_kompleks))); goto t7UDe; ADBnZ: $siswa->soal_isian = json_decode(json_encode(unserialize($siswa->soal_isian))); goto MNrbC; dMLOU: } goto cfgWW; cJV_D: $data["\x73\x6d\164\137\141\143\164\x69\x76\x65"] = $smt; goto oW932; rTFYm: $data["\x6d\141\x70\145\154"] = $rekap->id_mapel; goto CPJ_0; g3hCm: $siswas = $this->cbt->getAllNilaiRekapByJenis($rekap->tp, $rekap->smt, $rekap->kode_jenis, $kelas, "\x30", $jadwal); goto WszrQ; znead: $this->load->model("\104\x72\157\x70\x64\157\x77\156\137\155\x6f\x64\145\154", "\144\162\x6f\160\x64\157\167\x6e"); goto IviCg; LDggO: oriVK: goto a16Xw; OF3ni: $rekap->soal_kompleks = json_decode(json_encode(unserialize($rekap->soal_kompleks))); goto ZMJKE; bDzH2: $guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto mH1Qx; qQL2z: $rekap->jawaban_pg = $this->unserialize_with_key($rekap->jawaban_pg); goto OF3ni; zFW5a: $xb = $this->input->get("\x78\x62"); goto HdBIi; mH1Qx: $data["\x67\165\162\165"] = $guru; goto hbIFx; g7peE: $level = $this->master->getKelasById($kelas); goto MQC1b; Vo56C: $ya = $this->input->get("\x79\x61"); goto PWQEN; RS3JW: yY_Dd: goto VGORr; Fw1uo: $rekap->soal_essai = json_decode(json_encode(unserialize($rekap->soal_essai))); goto NRPAG; mJr19: $smt = $this->dashboard->getSemesterActive(); goto dFD4k; i66SN: $this->load->view("\155\x65\155\142\x65\x72\163\x2f\x67\x75\162\x75\57\164\x65\155\x70\x6c\x61\164\x65\163\57\150\145\x61\144\x65\162", $data); goto bnzvz; hbIFx: if (!($kelas != null)) { goto o4gsC; } goto GMNaS; LFICn: $data["\x74\160\137\x61\x63\164\151\166\x65"] = $tp; goto gbSX4; qZuC2: cMFVO: goto oITSt; HdBIi: if (!($ya != null)) { goto fthX3; } goto PsXWZ; oW932: $data["\153\x65\154\x61\x73\x5f\163\145\154\145\143\164\x65\x64"] = $kelas; goto VIfLm; PsXWZ: $convert = ["\171\x61" => $ya, "\171\x62" => $yb, "\170\141" => $xa, "\x78\x62" => $xb]; goto gzqVh; a86fi: $this->load->view("\x63\x62\x74\57\x72\x65\153\x61\x70\57\x6f\154\x61\x68"); goto DrW88; PWQEN: $yb = $this->input->get("\171\x62"); goto orxKX; cAtwJ: if ($this->ion_auth->is_admin()) { goto cMFVO; } goto bDzH2; IQOe7: $data = ["\165\x73\x65\x72" => $user, "\x6a\165\x64\x75\x6c" => "\x45\x6b\163\160\157\x72\40\x48\141\163\151\154\x20\123\x69\163\x77\141", "\x73\165\x62\152\x75\x64\165\154" => "\105\153\163\x70\157\162\40\110\141\163\151\154\40\123\x69\163\167\141", "\163\x65\164\164\x69\156\x67" => $this->dashboard->getSetting()]; goto UUfK9; yaCmz: $data["\x6a\x61\x64\x77\141\154"] = $this->dropdown->getAllJadwal($tp->id_tp, $smt->id_smt); goto a9YR4; nTW0t: if (!($ya != null)) { goto Xqr9a; } goto f1sqI; ZZ3qk: $rekap = $this->cbt->getRekapByJadwalKelas($jadwal); goto IQOe7; o2IpG: $data["\x63\157\156\166\145\162\164"] = $convert; goto KrxMy; H4N6T: $data["\163\151\x73\167\x61\x73"] = $siswas; goto N9H53; VIfLm: $data["\152\x61\x64\167\141\154\137\163\145\154\145\143\x74\145\144"] = $jadwal; goto Ulfvk; a16Xw: } function unserialize_with_key($serialized) { goto yMBMw; Mls7C: o5nn_: goto RgsUI; Yb2MI: foreach ($arr as $value) { $result[$value["\156\157\x5f\x73\157\x61\x6c"]] = $value["\152\x61\x77\x61\142"]; Yf2Xm: } goto Mls7C; RgsUI: return $result; goto yq0l4; yMBMw: $arr = unserialize($serialized); goto yKYJN; yKYJN: $result = []; goto Yb2MI; yq0l4: } public function export() { goto OICBW; YQNDn: $data["\153\145\154\141\163"] = $this->cbt->getDistinctKelas(); goto KHm2N; dAnYZ: $data["\147\x75\x72\165"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto Nn21a; Nn21a: $this->load->view("\x6d\x65\x6d\x62\145\162\x73\x2f\147\165\x72\165\x2f\x74\145\x6d\160\x6c\141\x74\x65\x73\57\150\145\x61\144\145\x72", $data); goto wz0uu; ribzr: $data = ["\x75\163\145\x72" => $user, "\152\x75\144\x75\154" => "\105\x6b\163\x70\x6f\162\40\x48\x61\x73\x69\x6c\x20\x50\x65\x6e\x69\x6c\x61\x69\x61\x6e", "\x73\165\142\152\x75\144\x75\x6c" => "\105\153\163\160\x6f\162\40\x4e\151\x6c\141\151", "\163\x65\164\x74\151\156\x67" => $this->dashboard->getSetting()]; goto N7rxQ; n8iP7: foreach ($jadwals as $jadwal) { goto Gq9uj; Gq9uj: $jadwal->bank_kelas = unserialize($jadwal->bank_kelas); goto KAgz1; KAgz1: $jadwal->nama_kelas = unserialize($jadwal->nama_kelas); goto artBd; artBd: wflu7: goto e5GzB; e5GzB: } goto NDe0T; KHm2N: $data["\x74\x61\x68\165\156\x73"] = $this->cbt->getDistinctTahun(); goto uYknp; K3EdG: $this->load->view("\137\164\145\x6d\x70\x6c\141\164\145\x73\57\x64\141\163\150\x62\157\x61\162\144\57\137\146\x6f\157\x74\x65\x72"); goto rZVVL; BzfcR: foreach ($jadwals as $key => $jadwal) { goto LoeBn; FW3BZ: qHdqn: goto IqqdN; tb162: $jadwal->nama_kelas = unserialize($jadwal->nama_kelas ?? ''); goto FW3BZ; LoeBn: $jadwal->bank_kelas = unserialize($jadwal->bank_kelas ?? ''); goto tb162; IqqdN: } goto Lk24R; Jvvqf: $data["\x72\145\153\x61\160\x73"] = $jadwals; goto xVioe; MUzYy: $this->load->view("\155\145\x6d\142\145\162\163\57\147\165\x72\x75\57\164\145\x6d\x70\x6c\x61\164\x65\163\57\x66\x6f\157\x74\145\x72"); goto NtkhT; MbMIl: $guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt); goto bmxCM; z1s7Z: $data["\x74\x70\x5f\141\x63\x74\x69\166\145"] = $tp; goto S5G0Z; S5G0Z: $data["\163\155\x74"] = $this->dashboard->getSemester(); goto FP21e; Lk24R: IbfAB: goto y0YGk; wz0uu: $this->load->view("\x63\142\x74\57\x72\145\153\x61\x70\57\145\x6b\163\160\157\162"); goto MUzYy; FP21e: $data["\163\155\164\x5f\x61\143\x74\x69\x76\x65"] = $smt; goto IQyl7; YNBSh: $data["\164\x70"] = $this->dashboard->getTahun(); goto z1s7Z; NtkhT: goto Q1xhY; goto Zj5EL; lu4VW: if ($this->ion_auth->is_admin()) { goto S0rJU; } goto MbMIl; OICBW: $this->load->model("\x4d\x61\x73\x74\x65\x72\x5f\x6d\x6f\x64\x65\x6c", "\x6d\141\x73\x74\x65\x72"); goto JEtEX; OEhXo: $user = $this->ion_auth->user()->row(); goto ribzr; FzZGg: $this->load->model("\103\142\164\137\155\157\x64\145\x6c", "\x63\x62\164"); goto OEhXo; N7rxQ: $tp = $this->master->getTahunActive(); goto qp7g3; NDe0T: ANVpM: goto Jvvqf; bmxCM: $jadwals = $this->cbt->getAllRekap($guru->id_guru); goto BzfcR; DziOO: $this->load->view("\137\x74\145\x6d\160\x6c\141\164\x65\163\x2f\144\x61\163\x68\142\157\141\162\x64\x2f\x5f\150\145\141\x64\x65\x72", $data); goto Dn8HE; rZVVL: Q1xhY: goto p_Trp; y0YGk: $data["\x72\x65\153\141\x70\x73"] = $jadwals; goto dAnYZ; xVioe: $data["\160\162\157\x66\151\154\145"] = $this->dashboard->getProfileAdmin($user->id); goto DziOO; KLCRm: $jadwals = $this->cbt->getAllRekap(); goto n8iP7; JEtEX: $this->load->model("\x44\x61\x73\x68\142\x6f\141\x72\144\137\155\x6f\144\145\154", "\x64\141\x73\x68\142\x6f\141\x72\144"); goto FzZGg; IQyl7: $data["\x6a\x65\156\x69\x73"] = $this->cbt->getDistinctJenisUjian(); goto YQNDn; Dn8HE: $this->load->view("\x63\x62\x74\57\162\145\x6b\x61\160\x2f\145\153\163\160\157\x72"); goto K3EdG; uYknp: $data["\163\x65\x6d\x65\x73\x74\145\x72"] = $this->cbt->getDistinctSmt(); goto lu4VW; qp7g3: $smt = $this->master->getSemesterActive(); goto YNBSh; Zj5EL: S0rJU: goto KLCRm; p_Trp: } public function generateNilaiUjian($jadwal) { goto DuMLJ; IFEJ2: $bobot_pg2 = $info->bobot_kompleks / 100; goto aUXm1; ywzIe: MGuxk: goto h86t9; wvttB: $bagi_essai = $info->tampil_esai / 100; goto nXMGN; jgXw_: $insets = []; goto LSP8i; FZv04: $kelases = []; goto UxwTx; vQQi5: $bagi_pg = $info->tampil_pg / 100; goto glCM_; LSP8i: foreach ($siswas as $siswa) { goto nzOul; ZulIe: $insert["\x70\x67\137\x62\145\x6e\x61\162"] = $benar_pg; goto Adymh; hsTDv: ICehY: goto sRaWM; cUY2R: DtQcg: goto O_ToH; eiQc1: foreach ($jawaban_jodoh as $num => $jawab_jod) { goto qcc1L; Scllu: ojxgQ: goto vXHEX; JMCul: snk6E: goto MER5f; qcc1L: $skor_koreksi_jod += $jawab_jod->nilai_koreksi; goto zCwrw; nQoOZ: $benar_jod += 1 / $items * $item_benar; goto uvK3W; uvK3W: $otomatis_jod = $jawab_jod->nilai_otomatis; goto JMCul; fXeEr: if (!isset($jawab_jod->jawaban_siswa->links)) { goto ojxgQ; } goto v4HdD; WD5M1: $array2 = (array) $jawab_jod->jawaban_siswa->links; goto i07hi; bQOo3: $this->sortArrays($array1); goto WD5M1; aHgCA: foreach ($array1 as $key => $subArray1) { goto feJrD; gicb5: $items += count($subArray1); goto fbc_e; fbc_e: if (isset($array2[$key])) { goto kuCdx; } goto ds8eC; rlehf: $arrBenar[$key]->salah = 0; goto vNPbB; tWfYp: $diffItems2 = array_diff($subArray2, $subArray1); goto Cl3Cy; feJrD: $arrBenar[$key] = new stdClass(); goto WYhwx; UyOPI: gy5ia: goto E7tW2; wWHJU: $subArray2 = $array2[$key]; goto bOyLB; bOyLB: $sameItems = array_intersect($subArray1, $subArray2); goto cE8Xu; vNPbB: $arrBenar[$key]->kurang = 0; goto gicb5; Cl3Cy: $arrBenar[$key]->kurang += count($diffItems1); goto UyOPI; u9pBJ: $diffItems1 = array_diff($subArray1, $subArray2); goto tWfYp; E7tW2: gYyil: goto RmK1i; WYhwx: $arrBenar[$key]->benar = 0; goto rlehf; lQtXx: $arrBenar[$key]->benar += count($sameItems); goto u9pBJ; ds8eC: $arrBenar[$key]->kurang += count($subArray1); goto pBa54; h7Yej: kuCdx: goto wWHJU; cE8Xu: $item_benar += count($sameItems); goto lQtXx; pBa54: goto gy5ia; goto h7Yej; RmK1i: } goto B9Z9i; lfdVW: $sameCount = 0; goto nT_XL; zyVFZ: $items = 0; goto h7lyK; EqpaW: $point_benar = $info->bobot_jodohkan > 0 ? round($info->bobot_jodohkan / $info->tampil_jodohkan, 2) : 0; goto fXeEr; nT_XL: $differentCount = 0; goto aHgCA; zCwrw: $item_benar = 0; goto LOluF; vXHEX: $point_soal = 1 / $items * $item_benar * $point_benar; goto nQoOZ; B9Z9i: kiR8x: goto Scllu; v4HdD: $array1 = (array) $jawab_jod->jawaban_benar->links; goto bQOo3; i07hi: $this->sortArrays($array2); goto lfdVW; LOluF: $item_salah = 0; goto hA2wz; hA2wz: $item_kurang = 0; goto zyVFZ; h7lyK: $arrBenar = []; goto EqpaW; MER5f: } goto cQKYI; UZYDb: $input_is = 0; goto AJMCw; D_f2E: $benar_jod = 0; goto hQDSo; Jbskc: if (!($info->tampil_kompleks > 0)) { goto JgEQd; } goto X01d1; sRaWM: TNn3S: goto thQPy; jfO1j: if (!($nilai_input != null && $nilai_input->isian_nilai != null)) { goto c1I1g; } goto M1FHF; thQPy: JgEQd: goto XHXnP; eT6io: $skor_koreksi_pg2 = 0.0; goto O5zqV; oOYbC: jkZWM: goto r8jze; O5zqV: $otomatis_pg2 = 0; goto Jbskc; xMeJK: if (!($nilai_input != null && $nilai_input->kompleks_nilai != null)) { goto joa9w; } goto L7thO; R21co: $skor_pg2 = $input_pg2 != 0 ? $input_pg2 : ($otomatis_pg2 == 0 ? $s_pg2 : $skor_koreksi_pg2); goto mfuia; O_ToH: U55KZ: goto mz2q8; qFD2o: $ada_jawaban_jodoh = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\63"]); goto xt4C5; SbZbQ: c1I1g: goto i359o; Adymh: $insert["\x70\x67\137\x6e\151\x6c\x61\151"] = round($skor_pg, 2); goto bW_Vw; EeGvu: $skor_pg = $bagi_pg == 0 ? 0 : $benar_pg / $bagi_pg * $bobot_pg; goto xCt8v; FmWOL: $insert["\x69\163\x69\141\156\x5f\156\151\x6c\x61\x69"] = round($skor_is, 2); goto uu6iM; X01d1: if (!(count($jawaban_pg2) > 0)) { goto TNn3S; } goto k9z22; O6TWu: qArvs: goto xnSVz; hQDSo: $skor_koreksi_jod = 0.0; goto w1F84; rDeot: if (!($info->tampil_pg > 0)) { goto lCfuj; } goto sqLzr; sqLzr: if (!(count($jawaban_pg) > 0)) { goto xwBbm; } goto yaMnz; qf0xd: xwBbm: goto Ty21n; iMdVR: $insert["\152\157\144\x6f\150\153\x61\156\x5f\156\x69\x6c\141\151"] = round($skor_jod, 2); goto FmWOL; a59ku: $otomatis_es = 0; goto S9Pze; xCt8v: $jawaban_pg2 = $ada_jawaban_pg2 ? $jawabans_siswa[$siswa->id_siswa]["\x32"] : []; goto ng57u; T55mz: $salah_pg = 0; goto rDeot; MFB2u: if (!($info->tampil_jodohkan > 0 && $jawaban_jodoh && count($jawaban_jodoh) > 0)) { goto CLG7h; } goto eiQc1; FHDkI: $ada_jawaban_essai = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\65"]); goto l51a9; uu6iM: $insert["\x65\x73\163\141\x69\137\156\151\x6c\141\151"] = round($skor_es, 2); goto r80uH; UR1PG: $otomatis_is = 0; goto Q0Rha; Q0Rha: if (!($info->tampil_isian > 0)) { goto KnREc; } goto SK1Lv; k9z22: foreach ($jawaban_pg2 as $num => $jawab_pg2) { goto hcHcT; pYwWA: sB_jp: goto v1KWY; Te1g1: ff1Rz: goto xc1le; q9H0b: $skor_koreksi_pg2 += $jawab_pg2->nilai_koreksi; goto uDqkz; kjdC4: foreach ($jawab_pg2->jawaban_siswa as $js) { goto V1Kif; IXq5a: cSTuV: goto b1RLz; RhICy: array_push($arr_benar, true); goto IXq5a; b1RLz: hS4cY: goto y6sQI; V1Kif: if (!in_array($js, $jawab_pg2->jawaban)) { goto cSTuV; } goto RhICy; y6sQI: } goto Te1g1; hcHcT: $otomatis_pg2 = $jawab_pg2->nilai_otomatis; goto q9H0b; uDqkz: $arr_benar = []; goto kjdC4; xc1le: $benar_pg2 += 1 / count($jawab_pg2->jawaban) * count($arr_benar); goto pYwWA; v1KWY: } goto hsTDv; mTnk0: $input_es = 0; goto jfO1j; LWsco: De3KZ: goto Z9FOZ; Ty21n: lCfuj: goto EeGvu; sEdtu: $insert["\151\x64\x5f\x73\151\163\167\x61"] = $siswa->id_siswa; goto P1T_J; hTPdR: joa9w: goto R21co; IqAfA: foreach ($jawaban_is as $num => $jawab_is) { goto JKrNX; WDs7o: $otomatis_is = $jawab_is->nilai_otomatis; goto T2sBQ; FV5N7: N0ok9: goto WDs7o; JKrNX: $skor_koreksi_is += $jawab_is->nilai_koreksi; goto cv2TD; qvpAK: $benar_is++; goto FV5N7; T2sBQ: EkjBy: goto c6S3W; g_MNA: if (!$benar) { goto N0ok9; } goto qvpAK; cv2TD: $benar = $jawab_is != null && strtolower($jawab_is->jawaban_siswa ?? '') == strtolower($jawab_is->jawaban ?? ''); goto g_MNA; c6S3W: } goto cUY2R; nrczz: $benar_is = 0; goto Kkekv; b4eK2: $benar_pg = 0; goto T55mz; XHXnP: $s_pg2 = $bagi_pg2 == 0 ? 0 : $benar_pg2 / $bagi_pg2 * $bobot_pg2; goto uA8C2; AJMCw: if (!($nilai_input != null && $nilai_input->isian_nilai != null)) { goto d58VS; } goto oxucU; ng57u: $benar_pg2 = 0; goto eT6io; zWzQd: foreach ($jawaban_es as $num => $jawab_es) { goto O3Xgq; V6idb: $benar_es++; goto E5D1D; j8LMq: $otomatis_es = $jawab_es->nilai_otomatis; goto JjNYT; U7BXA: $benar = $jawab_es != null && strtolower($jawab_es->jawaban_siswa ?? '') == strtolower($jawab_es->jawaban ?? ''); goto JfaFo; E5D1D: cPImk: goto j8LMq; JjNYT: dc5Pa: goto T4a5c; JfaFo: if (!$benar) { goto cPImk; } goto V6idb; O3Xgq: $skor_koreksi_es += $jawab_es->nilai_koreksi; goto U7BXA; T4a5c: } goto B75r9; Z9FOZ: $skor_jod = $input_jod != 0 ? $input_jod : ($otomatis_jod == 0 ? $s_jod : $skor_koreksi_jod); goto eettI; uA8C2: $input_pg2 = 0; goto xMeJK; oxucU: $input_is = $nilai_input->isian_nilai; goto DAdQ7; cQKYI: PBxN3: goto q6N_S; S8jfg: jY8nv: goto O6TWu; i359o: $skor_es = $input_es != 0 ? $input_es : ($otomatis_es == 0 ? $s_es : $skor_koreksi_es); goto LIqrJ; TSqwM: $ada_jawaban_pg2 = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\x32"]); goto qFD2o; MXCv2: BbMvv: goto qf0xd; G0I98: if (!($nilai_input != null && $nilai_input->jodohkan_nilai != null)) { goto De3KZ; } goto WLDd5; DI9DQ: $benar_es = 0; goto rPaVd; w1F84: $otomatis_jod = 0; goto MFB2u; xt4C5: $ada_jawaban_isian = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\x34"]); goto FHDkI; GbpB5: $s_is = $bagi_isian == 0 ? 0 : $benar_is / $bagi_isian * $bobot_isian; goto UZYDb; IrWac: $input_jod = 0; goto G0I98; S9Pze: if (!($info->tampil_esai > 0)) { goto jkZWM; } goto EC716; EC716: if (!(count($jawaban_es) > 0)) { goto TXIZa; } goto zWzQd; mz2q8: KnREc: goto GbpB5; lJM_3: $skor_is = $input_is != 0 ? $input_is : ($otomatis_is == 0 ? $s_is : $skor_koreksi_is); goto gHGHF; M1FHF: $input_es = $nilai_input->essai_nilai; goto SbZbQ; gHGHF: $jawaban_es = $ada_jawaban_essai ? $jawabans_siswa[$siswa->id_siswa]["\65"] : []; goto DI9DQ; S_i7t: TXIZa: goto oOYbC; nzOul: $ada_jawaban = isset($jawabans_siswa[$siswa->id_siswa]); goto QugjZ; Nps84: if (!($nilai_input != null && $nilai_input->dikoreksi == "\x31")) { goto jY8nv; } goto J4_BH; bW_Vw: $insert["\x6b\157\x6d\160\x6c\x65\153\163\137\156\x69\x6c\141\x69"] = round($skor_pg2, 2); goto iMdVR; mfuia: $jawaban_jodoh = $ada_jawaban_jodoh ? $jawabans_siswa[$siswa->id_siswa]["\63"] : []; goto D_f2E; yaMnz: foreach ($jawaban_pg as $jwb_pg) { goto F974v; F974v: if (!($jwb_pg != null && $jwb_pg->jawaban_siswa != null)) { goto d5sc1; } goto gb3Ne; Y6Csq: goto iG9HB; goto ne9Qi; KV8v5: $salah_pg += 1; goto Y6Csq; S72ZZ: d5sc1: goto O8Dbv; O8Dbv: pyCBD: goto sEWPJ; dJ0et: iG9HB: goto S72ZZ; EqTG7: $benar_pg += 1; goto dJ0et; ne9Qi: ad71R: goto EqTG7; gb3Ne: if (strtoupper($jwb_pg->jawaban_siswa ?? '') == strtoupper($jwb_pg->jawaban ?? '')) { goto ad71R; } goto KV8v5; sEWPJ: } goto MXCv2; SK1Lv: if (!(count($jawaban_is) > 0)) { goto U55KZ; } goto IqAfA; r80uH: array_push($insets, $insert); goto S8jfg; r8jze: $s_es = $bagi_essai == 0 ? 0 : $benar_es / $bagi_essai * $bobot_essai; goto mTnk0; Kkekv: $skor_koreksi_is = 0.0; goto UR1PG; LIqrJ: $insert["\151\144\137\156\151\154\141\x69"] = $siswa->id_siswa . "\60" . $jadwal; goto sEdtu; WLDd5: $input_jod = $nilai_input->jodohkan_nilai; goto LWsco; L7thO: $input_pg2 = $nilai_input->kompleks_nilai; goto hTPdR; hWlOQ: $s_jod = $bagi_jodoh == 0 ? 0 : $benar_jod / $bagi_jodoh * $bobot_jodoh; goto IrWac; B75r9: tmYsy: goto S_i7t; P1T_J: $insert["\151\x64\137\x6a\141\144\x77\x61\154"] = $jadwal; goto ZulIe; q6N_S: CLG7h: goto hWlOQ; eettI: $jawaban_is = $ada_jawaban_isian ? $jawabans_siswa[$siswa->id_siswa]["\x34"] : []; goto nrczz; J4_BH: $jawaban_pg = $ada_jawaban_pg ? $jawabans_siswa[$siswa->id_siswa]["\x31"] : []; goto b4eK2; QugjZ: $ada_jawaban_pg = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\x31"]); goto TSqwM; rPaVd: $skor_koreksi_es = 0.0; goto a59ku; l51a9: $nilai_input = $this->cbt->getNilaiSiswaByJadwal($jadwal, $siswa->id_siswa); goto Nps84; DAdQ7: d58VS: goto lJM_3; xnSVz: } goto ywzIe; OEtNt: goto lkHmO; goto kSpm3; bAZwF: $jawabans = $this->cbt->getJawabanByBank($info->id_bank); goto KhcM3; h86t9: if (count($insets) > 0) { goto IrDtp; } goto KGPZ_; nXMGN: $bobot_essai = $info->bobot_esai / 100; goto pVg7u; KhcM3: $soal = []; goto GBGLD; DuMLJ: $this->load->model("\103\142\x74\137\x6d\x6f\x64\x65\154", "\x63\x62\164"); goto NJVpl; be7Hy: $bagi_pg2 = $info->tampil_kompleks / 100; goto IFEJ2; pVg7u: $kelas_bank = unserialize($info->bank_kelas ?? ''); goto FZv04; UxwTx: foreach ($kelas_bank as $key => $value) { array_push($kelases, $value["\x6b\145\154\x61\163\137\151\x64"]); j0ABy: } goto ltmln; aUXm1: $bagi_jodoh = $info->tampil_jodohkan / 100; goto b2Imn; NJVpl: $info = $this->cbt->getJadwalById($jadwal); goto vQQi5; S83s0: lkHmO: goto frp5U; KGPZ_: $update = false; goto OEtNt; glCM_: $bobot_pg = $info->bobot_pg / 100; goto be7Hy; kSpm3: IrDtp: goto Hw9Er; y9e71: $siswas = $this->cbt->getSiswaByKelas($info->id_tp, $info->id_smt, $kelases); goto bAZwF; ltmln: GPE4H: goto y9e71; GBGLD: $jawabans_siswa = []; goto ZGcfM; l2gFT: $bagi_isian = $info->tampil_isian / 100; goto Wmqlo; Hw9Er: $this->db->update_batch("\x63\142\x74\x5f\x6e\151\154\x61\151", $insets, "\151\144\137\x6e\151\x6c\141\151"); goto XD8Px; ZGcfM: foreach ($jawabans as $jawaban_siswa) { goto qhS4k; JgUZY: if (!($jawaban_siswa->jenis_soal == "\x33")) { goto HOfIz; } goto ZPibq; mpzOd: $jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar ?? ''); goto D07fG; bEpKz: $jawaban_siswa->jawaban_siswa = json_decode(json_encode($jawaban_siswa->jawaban_siswa)); goto EE8mj; WhAdP: J0dFG: goto AKnDi; y3kiO: $jawaban_siswa->jawaban_siswa->links = json_decode(json_encode($arrjwbnSiswa)); goto s7sXy; I8_Zc: $arrAlphabet = range("\x41", "\132"); goto JHKSY; YqYU6: $arrjwbnSiswa = []; goto ldOd9; NT8pN: $jawaban_siswa->jawaban = array_map("\x73\164\162\x74\157\165\160\x70\x65\x72", $jawaban_siswa->jawaban ?? ['']); goto YiKVi; ldOd9: if (!$jawaban_siswa->jawaban_siswa) { goto Vi7HU; } goto ee1xo; BAfc4: foreach ($jawaban_siswa->jawaban_benar->jawaban as $idx => $jbs) { goto Njt2M; EggB_: $arrjwbn[$idx] = []; goto rak6X; OqLuf: Hf1gV: goto OqOPY; OqOPY: JgIC9: goto HDO80; Njt2M: if (!($idx > 0)) { goto Hf1gV; } goto EggB_; rak6X: foreach ($jbs as $idxs => $jb) { goto FstNN; cH3we: if (!($jb === "\61")) { goto LvnW8; } goto VHNhu; YEc9G: EZbxI: goto beo0j; VHNhu: $arrjwbn[$idx][] = $arrAlphabet[$idxs - 1]; goto vmNxo; vmNxo: LvnW8: goto YEc9G; FstNN: if (!($idxs > 0)) { goto EZbxI; } goto cH3we; beo0j: G4uts: goto CGx_A; CGx_A: } goto zjj3x; zjj3x: gRPsZ: goto OqLuf; HDO80: } goto wvtBb; AKnDi: chyBX: goto D2ELj; KEobt: if (!($jawaban_siswa->jenis_soal == "\x32")) { goto SuIOF; } goto bZGMp; Pg12M: $jawabans_siswa[$jawaban_siswa->id_siswa][$jawaban_siswa->jenis_soal][] = $jawaban_siswa; goto ipQuv; MUr4N: Vi7HU: goto pT0Oz; bYORi: $jawaban_siswa->jawaban = @unserialize($jawaban_siswa->jawaban ?? ''); goto ij3op; pT0Oz: if ($jawaban_siswa->jawaban_siswa) { goto KABBB; } goto FnTSG; UhlU1: $jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar ?? ''); goto bYORi; b0Ulz: $jawaban_siswa->jawaban_benar->links = json_decode(json_encode($arrjwbn)); goto qB447; ZPibq: $jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa ?? ''); goto mpzOd; MC8p7: $jawaban_siswa->jawaban_siswa = json_decode(json_encode($jawaban_siswa->jawaban_siswa)); goto XdfXe; v358R: JBJwu: goto MUr4N; YiKVi: $jawaban_siswa->jawaban = array_filter($jawaban_siswa->jawaban ?? [''], "\x73\x74\x72\x6c\x65\156"); goto vZJh2; uUY9j: $jawaban_siswa->jawaban = json_decode(json_encode($jawaban_siswa->jawaban)); goto I8_Zc; D07fG: $jawaban_siswa->jawaban = @unserialize($jawaban_siswa->jawaban ?? ''); goto MC8p7; s7sXy: K0si5: goto UjNq4; S0VMr: $arrjwbn = []; goto BAfc4; cEkky: $jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa ?? ''); goto UhlU1; qhS4k: if (!($jawaban_siswa->jawaban_siswa != null)) { goto J0dFG; } goto KEobt; wvtBb: F7F_2: goto b0Ulz; vZJh2: SuIOF: goto JgUZY; qB447: HOfIz: goto Pg12M; O7Y6h: KABBB: goto y3kiO; v94he: $jawaban_siswa->jawaban_benar = array_filter($jawaban_siswa->jawaban_benar ?? [''], "\163\164\162\154\x65\x6e"); goto NT8pN; ipQuv: $soal[$jawaban_siswa->jenis_soal][] = $jawaban_siswa; goto WhAdP; bZGMp: $jawaban_siswa->opsi_a = @unserialize($jawaban_siswa->opsi_a ?? ''); goto cEkky; UjNq4: UhWlZ: goto S0VMr; ij3op: $jawaban_siswa->jawaban_benar = array_map("\163\x74\x72\x74\x6f\165\160\x70\x65\x72", $jawaban_siswa->jawaban_benar ?? ['']); goto v94he; EE8mj: goto K0si5; goto O7Y6h; JHKSY: if (!(!isset($jawaban_siswa->jawaban_siswa) || !isset($jawaban_siswa->jawaban_siswa->links))) { goto UhWlZ; } goto YqYU6; FnTSG: $jawaban_siswa->jawaban_siswa = ["\154\x69\x6e\x6b\x73" => $arrjwbnSiswa]; goto bEpKz; XdfXe: $jawaban_siswa->jawaban_benar = json_decode(json_encode($jawaban_siswa->jawaban_benar)); goto uUY9j; ee1xo: foreach ($jawaban_siswa->jawaban_siswa->jawaban as $idx => $jbs) { goto FrBgb; D9lTH: hpv8L: goto DlMxe; H4hEV: foreach ($jbs as $idxs => $jb) { goto AWzzi; zfjbJ: if (!($jb === "\61")) { goto AZz_P; } goto ck5At; AWzzi: if (!($idxs > 0)) { goto xVQG9; } goto zfjbJ; qyzUl: AZz_P: goto E5u64; ck5At: $arrjwbnSiswa[$idx][] = $arrAlphabet[$idxs - 1]; goto qyzUl; E5u64: xVQG9: goto FwTZx; FwTZx: etKSn: goto sIFUV; sIFUV: } goto zczZZ; FrBgb: if (!($idx > 0)) { goto hpv8L; } goto ak9av; zczZZ: Efztq: goto D9lTH; ak9av: $arrjwbnSiswa[$idx] = []; goto H4hEV; DlMxe: NpjiG: goto UTX1e; UTX1e: } goto v358R; D2ELj: } goto kr8e4; kr8e4: ZakuL: goto jgXw_; b2Imn: $bobot_jodoh = $info->bobot_jodohkan / 100; goto l2gFT; frp5U: return $update; goto bjhZQ; Wmqlo: $bobot_isian = $info->bobot_isian / 100; goto wvttB; XD8Px: $update = true; goto S83s0; bjhZQ: } }

Function Calls

None

Variables

None

Stats

MD5 e2e1314a109b8f3ffc80aed37151a4d5
Eval Count 0
Decode Time 87 ms