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 awMsX;
OXMtS:
if (!(!$this->ion_auth->is_admin() && !$this->ion_auth->in_group("guru"))) {
goto GAMoT;
}
goto oldH8;
Y0ubx:
N2PGm:
goto qIVfA;
NJvNB:
Ig6Dy:
goto DjmGx;
qIVfA:
redirect("auth");
goto NJvNB;
J0pvT:
GAMoT:
goto SOj9c;
R9H85:
$this->load->library("upload");
goto wjpMp;
wjpMp:
$this->form_validation->set_error_delimiters('', '');
goto PpXRj;
awMsX:
parent::__construct();
goto twDhB;
oldH8:
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 J0pvT;
DjmGx:
$this->load->library(["datatables", "form_validation"]);
goto R9H85;
SOj9c:
goto Ig6Dy;
goto Y0ubx;
twDhB:
if (!$this->ion_auth->logged_in()) {
goto N2PGm;
}
goto OXMtS;
PpXRj:
}
public function output_json($data, $encode = true)
{
goto v3Qj9;
Xfxyk:
$data = json_encode($data);
goto qQYdn;
qQYdn:
y8iRk:
goto qZlvj;
qZlvj:
$this->output->set_content_type("application/json")->set_output($data);
goto RKhsw;
v3Qj9:
if (!$encode) {
goto y8iRk;
}
goto Xfxyk;
RKhsw:
}
public function index()
{
goto CIuXz;
SE06T:
$rekapNilai = $this->cbt->getRekapJadwal($guru->id_guru);
goto EoxxN;
TDvl_:
$rekapJadwal = $data_jadwal;
goto czjPH;
D6YGq:
obGXR:
goto zxscw;
cRmfK:
foreach ($data_jadwal as $rekap) {
goto ggJw3;
zg5FE:
yldWB:
goto cdcoW;
Bd3O2:
dsI5Y:
goto Kam8u;
ggJw3:
$terpakai = isset($jadwal_dikerjakan[$rekap->id_jadwal]) ? count($jadwal_dikerjakan[$rekap->id_jadwal]) : 0;
goto oXCGv;
Op4hO:
$rekap->dikoreksi = true;
goto CDzD_;
CDzD_:
goto BnwNl;
goto zg5FE;
osIcp:
$rekap->hanya_pg = $hanya_pg;
goto OdV3u;
cdcoW:
$rekap->dikoreksi = false;
goto UEMKk;
UEMKk:
BnwNl:
goto Bd3O2;
oXCGv:
$rekap->mengerjakan = $terpakai;
goto cd3IT;
cd3IT:
$hanya_pg = $rekap->tampil_pg > 0 && $rekap->tampil_kompleks == 0 && $rekap->tampil_jodohkan == 0 && $rekap->tampil_isian == 0 && $rekap->tampil_esai == 0;
goto osIcp;
OdV3u:
if (!$hanya_pg && isset($koreksi[$rekap->id_jadwal]) && isset($koreksi[$rekap->id_jadwal][0])) {
goto yldWB;
}
goto Op4hO;
Kam8u:
}
goto dlugk;
ZbcIO:
$this->load->view("_templates/dashboard/_footer");
goto D6YGq;
Bo2z2:
$user = $this->ion_auth->user()->row();
goto ODhqx;
be2Ei:
$data["rekaps"] = $rekaps;
goto QswOx;
H4JD4:
$this->load->view("cbt/rekap/data");
goto qqlhT;
xHnAK:
$data["tp"] = $this->dashboard->getTahun();
goto dPq2y;
fZA60:
$data["profile"] = $this->dashboard->getProfileAdmin($user->id);
goto a6Mf0;
VbNsx:
$this->load->model("Dropdown_model", "dropdown");
goto Bo2z2;
ZmD9l:
$this->load->view("members/guru/templates/header", $data);
goto H4JD4;
eKyaT:
$data["tahuns"] = $this->cbt->getDistinctTahun();
goto CucCy;
Un4oE:
$this->load->view("cbt/rekap/data");
goto ZbcIO;
a2dKX:
$this->load->view("_templates/dashboard/_header", $data);
goto Un4oE;
nojfX:
$koreksi = $this->cbt->getTotalKoreksi();
goto ozWEq;
qAD4e:
goto obGXR;
goto Rs4WZ;
lptUQ:
$data["rekaps"] = $rekaps;
goto IpXxt;
FiqAl:
$data["guru"] = $guru;
goto ZmD9l;
qqlhT:
$this->load->view("members/guru/templates/footer");
goto qAD4e;
kv32r:
$data["sesis"] = $this->dropdown->getAllSesi();
goto bkEMR;
Oai0D:
$data["kelas"] = $this->cbt->getDistinctKelas();
goto eKyaT;
Ey_I_:
$data["banks"] = $this->cbt->getAllBankSoal();
goto nojfX;
EoxxN:
foreach ($data_jadwal as $rekap) {
goto Q0Mfa;
En1ig:
cpxjR:
goto n5Mou;
nKwee:
if (!$hanya_pg && isset($koreksi[$rekap->id_jadwal]) && isset($koreksi[$rekap->id_jadwal][0])) {
goto QYPMj;
}
goto Zk8yG;
Zk8yG:
$rekap->dikoreksi = true;
goto olZeX;
luCZl:
bg9zP:
goto En1ig;
Q0Mfa:
$terpakai = isset($jadwal_dikerjakan[$rekap->id_jadwal]) ? count($jadwal_dikerjakan[$rekap->id_jadwal]) : 0;
goto PVPgS;
i_V9q:
$rekap->hanya_pg = $hanya_pg;
goto nKwee;
olZeX:
goto bg9zP;
goto IeySM;
ELaqn:
$rekap->dikoreksi = false;
goto luCZl;
UmCaf:
$hanya_pg = $rekap->tampil_pg > 0 && $rekap->tampil_kompleks == 0 && $rekap->tampil_jodohkan == 0 && $rekap->tampil_isian == 0 && $rekap->tampil_esai == 0;
goto i_V9q;
PVPgS:
$rekap->mengerjakan = $terpakai;
goto UmCaf;
IeySM:
QYPMj:
goto ELaqn;
n5Mou:
}
goto IV6Vk;
InfOx:
$this->load->model("Cbt_model", "cbt");
goto VbNsx;
nb4l_:
$data["ruangs"] = $this->cbt->getAllRuang();
goto kv32r;
a6Mf0:
$data_jadwal = $this->cbt->getDataJadwal($tp->id_tp, $smt->id_smt);
goto QjezR;
Rs4WZ:
kFIOY:
goto fZA60;
dlugk:
BPXOo:
goto QvcTl;
Hn72R:
$data["smt"] = $this->dashboard->getSemester();
goto o_agy;
CucCy:
$data["semester"] = $this->cbt->getDistinctSmt();
goto nb4l_;
ODhqx:
$data = ["user" => $user, "judul" => "Rekap Hasil Penilaian", "subjudul" => "Penilaian", "setting" => $this->dashboard->getSetting()];
goto nDDDW;
bkEMR:
$data["kelases"] = $this->cbt->getKelas();
goto Ey_I_;
f3wa8:
$data["jenis"] = $this->cbt->getDistinctJenisUjian();
goto Oai0D;
ozWEq:
$data["koreksi"] = $koreksi;
goto O_S2X;
nDDDW:
$tp = $this->master->getTahunActive();
goto wJYR2;
IV6Vk:
eG1IJ:
goto TDvl_;
czjPH:
$rekaps = array_merge($rekapJadwal, $rekapNilai);
goto be2Ei;
O_S2X:
$jadwal_dikerjakan = $this->cbt->getJadwalTerpakai();
goto TrGHP;
dPq2y:
$data["tp_active"] = $tp;
goto Hn72R;
mOHVb:
$data_jadwal = $this->cbt->getDataJadwal($tp->id_tp, $smt->id_smt, $guru->id_guru);
goto SE06T;
QjezR:
$rekapNilai = $this->cbt->getRekapJadwal();
goto cRmfK;
BpUYO:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto mOHVb;
CIuXz:
$this->load->model("Master_model", "master");
goto ceRlM;
iHp1H:
$rekaps = array_merge($rekapJadwal, $rekapNilai);
goto lptUQ;
ceRlM:
$this->load->model("Dashboard_model", "dashboard");
goto InfOx;
wJYR2:
$smt = $this->master->getSemesterActive();
goto xHnAK;
o_agy:
$data["smt_active"] = $smt;
goto f3wa8;
IpXxt:
$data["ada_rekap"] = $this->cbt->getAllRekap();
goto a2dKX;
QswOx:
$data["ada_rekap"] = $this->cbt->getAllRekap($guru->id_guru);
goto FiqAl;
QvcTl:
$rekapJadwal = $data_jadwal;
goto iHp1H;
TrGHP:
if ($this->ion_auth->is_admin()) {
goto kFIOY;
}
goto BpUYO;
zxscw:
}
public function perMapel()
{
goto sTP4l;
jscbC:
$this->load->view("members/guru/templates/footer");
goto xIksw;
kDbH3:
$this->load->view("cbt/rekap/permapel");
goto jtOEP;
DPUyj:
$data["semester"] = $this->cbt->getDistinctSmt();
goto GaL0X;
f1lPP:
$tp = $this->master->getTahunActive();
goto ezu91;
oDk0h:
$this->load->model("Cbt_model", "cbt");
goto B2jky;
Wf15L:
$this->load->model("Dashboard_model", "dashboard");
goto oDk0h;
xIksw:
goto HxTiv;
goto jq_ku;
ezu91:
$smt = $this->master->getSemesterActive();
goto eb7EY;
sTP4l:
$this->load->model("Master_model", "master");
goto Wf15L;
HgYdv:
HxTiv:
goto mWPbm;
Amt4s:
$data["smt_active"] = $smt;
goto UctZG;
UQtgr:
$data["tp_active"] = $tp;
goto FgZtE;
G0CjJ:
$this->load->view("members/guru/templates/header", $data);
goto t2IOL;
kAA_Y:
$data["guru"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto G0CjJ;
eb7EY:
$data["tp"] = $this->dashboard->getTahun();
goto UQtgr;
B2jky:
$user = $this->ion_auth->user()->row();
goto LB3cl;
kcSi2:
$data["kelas"] = $this->cbt->getDistinctKelas();
goto ZcGBx;
jtOEP:
$this->load->view("_templates/dashboard/_footer");
goto HgYdv;
ZcGBx:
$data["tahun"] = $this->cbt->getDistinctTahun();
goto DPUyj;
KSnP7:
$this->load->view("_templates/dashboard/_header", $data);
goto kDbH3;
FgZtE:
$data["smt"] = $this->dashboard->getSemester();
goto Amt4s;
t2IOL:
$this->load->view("cbt/rekap/permapel");
goto jscbC;
GaL0X:
if ($this->ion_auth->is_admin()) {
goto YFic9;
}
goto kAA_Y;
UctZG:
$data["jenis"] = $this->cbt->getDistinctJenisUjian();
goto kcSi2;
U2x0P:
$data["profile"] = $this->dashboard->getProfileAdmin($user->id);
goto KSnP7;
LB3cl:
$data = ["user" => $user, "judul" => "Hasil Siswa", "subjudul" => "Status Siswa", "setting" => $this->dashboard->getSetting()];
goto f1lPP;
jq_ku:
YFic9:
goto U2x0P;
mWPbm:
}
public function backupNilai($id_jadwal)
{
goto DvIR0;
i0Dbq:
$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 AiLre;
wtVKz:
$this->output_json(true);
goto miso8;
jCUwf:
$durasies = $this->cbt->getIdSiswaFromDurasiByJadwal($id_jadwal);
goto KTRSA;
wLIlH:
$jodb = [];
goto VpgEI;
qc1hE:
$soal_jodohkan = ["tampil" => $jadwal->tampil_jodohkan, "bobot" => $jadwal->bobot_jodohkan, "jawaban" => $jodb];
goto g4ADe;
Wx8_X:
foreach ($siswas as $siswa) {
goto UEoxz;
zpW0W:
k5fOC:
goto Ynxr9;
StnY3:
$soal_is = ["bobot" => $jadwal->bobot_isian, "jawaban" => $iss, "nilai" => $skor_is];
goto xxcP_;
l5z0F:
$skor_es = 0;
goto V8E9k;
yRkkZ:
$skor_pg = 0;
goto qERmV;
d3aL2:
$benar_pg = 0;
goto cSCn0;
dYcPW:
$skor_is = 0;
goto l5z0F;
Rsvnu:
$benar_pg = $nilais[$siswa->id_siswa]->pg_benar;
goto Z7mrO;
BqCLJ:
if (!isset($jawabans[$siswa->id_siswa])) {
goto HOJKI;
}
goto v2Thh;
ws_0w:
$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 bFzSY;
Ynxr9:
$pgs = [];
goto mYRHJ;
BkKPi:
iJM5l:
goto OOj2Y;
F7xAe:
$skor_jod = $nilais[$siswa->id_siswa]->jodohkan_nilai;
goto FJ4QO;
m50og:
$ess = [];
goto BqCLJ;
kJSgV:
$skor_es = $nilais[$siswa->id_siswa]->essai_nilai;
goto zpW0W;
mYRHJ:
$pg2s = [];
goto Wo2wl;
bFzSY:
qybE8:
goto UeHm_;
J1sSR:
array_push($dikoreksi, $nilais[$siswa->id_siswa]->dikoreksi);
goto Rsvnu;
cSCn0:
$salah_pg = 0;
goto yRkkZ;
v2Thh:
foreach ($jawabans[$siswa->id_siswa] as $jawaban) {
goto JaFET;
LamKe:
goto BjU8g;
goto NlivO;
P1fGS:
goto BjU8g;
goto BwHlO;
QYssE:
if ($jawaban->jenis_soal == "4") {
goto InA8E;
}
goto fhoGa;
yF0PK:
Hnn3D:
goto PaMRr;
z43zp:
array_push($pg2s, ["no_soal" => $jawaban->id_soal, "jawab" => $jawaban->jawaban_siswa]);
goto yk1XD;
NlivO:
xjzvP:
goto z43zp;
bRf6w:
BjU8g:
goto jE74e;
oOFJa:
goto BjU8g;
goto yF0PK;
JaFET:
if ($jawaban->jenis_soal == "1") {
goto JrUcI;
}
goto ic_C1;
QWJyJ:
array_push($jods, ["no_soal" => $jawaban->id_soal, "jawab" => $jawaban->jawaban_siswa]);
goto P1fGS;
H63Qr:
goto BjU8g;
goto u0yOO;
nV4WO:
if ($jawaban->jenis_soal == "3") {
goto fyTP2;
}
goto QYssE;
Y6MhY:
array_push($iss, ["no_soal" => $jawaban->id_soal, "jawab" => $jawaban->jawaban_siswa]);
goto oOFJa;
fhoGa:
if ($jawaban->jenis_soal == "5") {
goto Hnn3D;
}
goto H63Qr;
ic_C1:
if ($jawaban->jenis_soal == "2") {
goto xjzvP;
}
goto nV4WO;
yk1XD:
goto BjU8g;
goto sJwJB;
sJwJB:
fyTP2:
goto QWJyJ;
npNGc:
array_push($pgs, ["no_soal" => $jawaban->id_soal, "jawab" => $jawaban->jawaban_siswa]);
goto LamKe;
BwHlO:
InA8E:
goto Y6MhY;
PaMRr:
array_push($ess, ["no_soal" => $jawaban->id_soal, "jawab" => $jawaban->jawaban_siswa]);
goto bRf6w;
jE74e:
S6BTt:
goto Ib28y;
u0yOO:
JrUcI:
goto npNGc;
Ib28y:
}
goto BkKPi;
Z7mrO:
$salah_pg = $jadwal->tampil_pg - $benar_pg;
goto a6ocQ;
xT2YP:
$soal_jod = ["bobot" => $jadwal->bobot_jodohkan, "jawaban" => $jods, "nilai" => $skor_jod];
goto StnY3;
xxcP_:
$soal_es = ["bobot" => $jadwal->bobot_esai, "jawaban" => $ess, "nilai" => $skor_es];
goto ws_0w;
SyWNu:
$iss = [];
goto m50og;
FJ4QO:
$skor_is = $nilais[$siswa->id_siswa]->isian_nilai;
goto kJSgV;
qERmV:
$skor_pg2 = 0;
goto rz3My;
UEoxz:
$dikoreksi = [];
goto d3aL2;
a6ocQ:
$skor_pg = $nilais[$siswa->id_siswa]->pg_nilai;
goto X7P8X;
OOj2Y:
HOJKI:
goto SPbSl;
Wo2wl:
$jods = [];
goto SyWNu;
X7P8X:
$skor_pg2 = $nilais[$siswa->id_siswa]->kompleks_nilai;
goto F7xAe;
V8E9k:
if (!isset($nilais[$siswa->id_siswa])) {
goto k5fOC;
}
goto J1sSR;
SPbSl:
$soal_pg2 = ["bobot" => $jadwal->bobot_kompleks, "jawaban" => $pg2s, "nilai" => $skor_pg2];
goto xT2YP;
rz3My:
$skor_jod = 0;
goto dYcPW;
UeHm_:
}
goto E8suC;
Aowke:
$nilai = [];
goto Wx8_X;
q9hgs:
MSanp:
goto wtVKz;
ihpGQ:
$soal_essai = ["tampil" => $jadwal->tampil_esai, "bobot" => $jadwal->bobot_esai, "jawaban" => $esb];
goto ESVvk;
dEnmQ:
foreach ($soals as $id => $soal) {
goto NlirK;
KDjBa:
array_push($pg2b, ["no_soal" => $id, "jawab" => $soal->jawaban]);
goto WlDBg;
FlGUP:
array_push($jodb, ["no_soal" => $id, "jawab" => $soal->jawaban]);
goto rdQu2;
M9o5Z:
array_push($esb, ["no_soal" => $id, "jawab" => $soal->jawaban]);
goto diWpM;
NlirK:
if ($soal->jenis == "1") {
goto uIuqv;
}
goto JcRwT;
Sz5uP:
oXlj6:
goto KDjBa;
WLL8e:
if ($soal->jenis == "3") {
goto qyGqE;
}
goto WrBK8;
WlDBg:
goto c79lN;
goto tIttM;
WrBK8:
if ($soal->jenis == "4") {
goto dgpo5;
}
goto nx33c;
y4uHm:
array_push($pgb, ["no_soal" => $id, "jawab" => $soal->jawaban]);
goto X_NHW;
Jxgq2:
vQgl4:
goto shbmA;
nx33c:
if ($soal->jenis == "5") {
goto tJgB6;
}
goto CXT5B;
X_NHW:
goto c79lN;
goto Sz5uP;
rdQu2:
goto c79lN;
goto LcEh2;
CXT5B:
goto c79lN;
goto Bqt2k;
diWpM:
c79lN:
goto Jxgq2;
JcRwT:
if ($soal->jenis == "2") {
goto oXlj6;
}
goto WLL8e;
j3jca:
array_push($isb, ["no_soal" => $id, "jawab" => $soal->jawaban]);
goto vxZWm;
i0L4F:
tJgB6:
goto M9o5Z;
tIttM:
qyGqE:
goto FlGUP;
Bqt2k:
uIuqv:
goto y4uHm;
LcEh2:
dgpo5:
goto j3jca;
vxZWm:
goto c79lN;
goto i0L4F;
shbmA:
}
goto iKVRn;
m38Ni:
$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 ndlNJ;
AiLre:
goto MSanp;
goto JNJfV;
pzG0b:
$this->db->set("rekap", 1);
goto ikqhe;
DvIR0:
$this->load->model("Master_model", "master");
goto Y38iB;
ESVvk:
$this->db->where("id_jadwal", $id_jadwal);
goto uv0nF;
cz5tq:
if ($terpakai && $generated) {
goto Brh2y;
}
goto M3c5G;
x2XBZ:
vbIS3:
goto jCUwf;
js3h_:
$id_tp = $this->dashboard->getTahunById($jadwal->id_tp);
goto Brlqs;
uakMn:
$result = false;
goto J9UKx;
ndlNJ:
$result = $this->db->insert("cbt_rekap", $insert);
goto BekYy;
C6BCv:
Brh2y:
goto cNZqq;
BekYy:
if (!$result) {
goto EaMqT;
}
goto pzG0b;
TMPkw:
goto dLIhF;
goto C6BCv;
MgS2f:
$generated = $this->generateNilaiUjian($id_jadwal);
goto cz5tq;
LncuP:
$this->db->delete("cbt_rekap_nilai");
goto HDOsT;
J9UKx:
$jadwal_dikerjakan = $this->cbt->getJadwalTerpakai();
goto j7lry;
j7lry:
$terpakai = isset($jadwal_dikerjakan[$id_jadwal]) && count($jadwal_dikerjakan[$id_jadwal]) > 0;
goto MgS2f;
J4JUI:
$pgb = [];
goto r1_A0;
uv0nF:
$this->db->delete("cbt_rekap");
goto m38Ni;
GEmhs:
$smt = $id_smt->nama_smt;
goto ggqsJ;
KheWP:
OJEt3:
goto KhSYz;
JNJfV:
FQ2sD:
goto FFMRf;
g4ADe:
$soal_isian = ["tampil" => $jadwal->tampil_isian, "bobot" => $jadwal->bobot_isian, "jawaban" => $isb];
goto ihpGQ;
ggqsJ:
$kelass = unserialize($jadwal->bank_kelas);
goto o3mCo;
JQmZZ:
$esb = [];
goto dEnmQ;
kXKrd:
$this->db->update("cbt_jadwal");
goto TmO0l;
b2lBn:
$nilais = $this->cbt->getAllNilaiSiswa($id_jadwal);
goto Aowke;
PMKSj:
if ($generated && $result) {
goto FQ2sD;
}
goto i0Dbq;
RTbFC:
$siswas = $this->cbt->getSiswaByKelasArray($id_tp->id_tp, $id_smt->id_smt, $arrkelas);
goto PWCd7;
ikqhe:
$this->db->where("id_jadwal", $id_jadwal);
goto kXKrd;
FyDFS:
$tahun = $id_tp->tahun;
goto GEmhs;
ci0s8:
foreach ($kelass as $kls) {
goto iJssG;
pognu:
qDkXz:
goto RFHah;
S2rhX:
array_push($arrkelas, $kls["kelas_id"]);
goto laJAc;
iJssG:
if (!($kls["kelas_id"] != null)) {
goto sNdYx;
}
goto S2rhX;
laJAc:
sNdYx:
goto pognu;
RFHah:
}
goto KheWP;
KhSYz:
$nama_kelas = $this->dropdown->getAllKelasByArrayId($id_tp->id_tp, $id_smt->id_smt, $arrkelas);
goto J4JUI;
HJx0Z:
dLIhF:
goto PMKSj;
VpgEI:
$isb = [];
goto JQmZZ;
cNZqq:
$this->db->trans_start();
goto wc4IP;
wc4IP:
$jadwal = $this->cbt->getJadwalById($id_jadwal);
goto TlqPx;
PWCd7:
$arrSiswa = [];
goto ULzve;
UnXQB:
$this->db->where("id_jadwal", $id_jadwal);
goto LncuP;
ULzve:
foreach ($siswas as $siswa) {
array_push($arrSiswa, $siswa->id_siswa);
UJAnq:
}
goto x2XBZ;
Y38iB:
$this->load->model("Dashboard_model", "dashboard");
goto TWSt0;
oXaM8:
$this->db->trans_complete();
goto HJx0Z;
Kk9mR:
$this->load->model("Dropdown_model", "dropdown");
goto uakMn;
TlqPx:
$soals = $this->cbt->getNomorSoalByBank($jadwal->id_bank);
goto js3h_;
iKVRn:
OzkGr:
goto J4C1Q;
J4C1Q:
$soal_kompleks = ["tampil" => $jadwal->tampil_kompleks, "bobot" => $jadwal->bobot_kompleks, "jawaban" => $pg2b];
goto qc1hE;
ma1Kw:
$save = isset($jadwal_dikerjakan[$id_jadwal]) ? count($jadwal_dikerjakan[$id_jadwal]) : 0;
goto TMPkw;
KTRSA:
$jawabans = $this->cbt->getIdSiswaFromJawabanByJadwal($id_jadwal);
goto b2lBn;
TWSt0:
$this->load->model("Cbt_model", "cbt");
goto Kk9mR;
E8suC:
GWplp:
goto UnXQB;
HDOsT:
$save = $this->master->create("cbt_rekap_nilai", $nilai, true);
goto oXaM8;
r1_A0:
$pg2b = [];
goto wLIlH;
FFMRf:
$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 q9hgs;
M3c5G:
$result = false;
goto ma1Kw;
TmO0l:
EaMqT:
goto RTbFC;
Brlqs:
$id_smt = $this->dashboard->getSemesterById($jadwal->id_smt);
goto FyDFS;
o3mCo:
$arrkelas = [];
goto ci0s8;
miso8:
}
public function bulkBackup()
{
goto ftF_1;
UpYR6:
Pq2Oh:
goto yMi0o;
gYmHF:
$jadwal_dikerjakan = $this->cbt->getJadwalTerpakai();
goto b5jQ0;
yMi0o:
$this->db->trans_complete();
goto zEIn5;
ZJ7o_:
if ($generated > 0 && $result) {
goto In8ld;
}
goto xSUXp;
pMsta:
In8ld:
goto W1lvf;
zEIn5:
$sukses = $generated > 0 && $result;
goto ZJ7o_;
NAX0n:
$this->load->model("Dashboard_model", "dashboard");
goto T4MaQ;
b5jQ0:
$jadwals = $this->cbt->getJadwalByArrId($ids);
goto LZyv9;
zOC2F:
$ids = json_decode($this->input->post("ids", true));
goto vfFok;
W1lvf:
$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 Tx8qf;
T4MaQ:
$this->load->model("Cbt_model", "cbt");
goto MyASn;
Bpaq3:
$save = false;
goto gECUq;
R6cra:
$this->db->trans_start();
goto gYmHF;
vfFok:
sleep(1);
goto sAHST;
xSUXp:
$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 snfS4;
snfS4:
goto sowUY;
goto pMsta;
Tx8qf:
sowUY:
goto K3LqT;
dDy92:
foreach ($jadwals as $jadwal) {
goto iY1pf;
alXEr:
jI6L5:
goto sD7xR;
bi3nd:
R3MAD:
goto N031q;
Nb_7F:
$jodb = [];
goto VSrvP;
BqSS9:
$jawabans = $this->cbt->getIdSiswaFromJawabanByJadwal($jadwal->id_jadwal);
goto uStMX;
O0zjh:
$generated++;
goto WgLhN;
eoqMY:
$pg2b = [];
goto Nb_7F;
MaxRR:
$arrkelas = [];
goto cT9aY;
JJPat:
$soals = $this->cbt->getNomorSoalByBank($jadwal->id_bank);
goto JQuIH;
ZaFGg:
$soal_isian = ["tampil" => $jadwal->tampil_isian, "bobot" => $jadwal->bobot_isian, "jawaban" => $isb];
goto qCp35;
VSrvP:
$isb = [];
goto Ie_wf;
qCp35:
$soal_essai = ["tampil" => $jadwal->tampil_esai, "bobot" => $jadwal->bobot_esai, "jawaban" => $esb];
goto ZybiJ;
K7J3u:
$save = $this->master->create("cbt_rekap_nilai", $nilai, true);
goto alXEr;
uStMX:
$nilais = $this->cbt->getAllNilaiSiswa($jadwal->id_jadwal);
goto FRYaV;
wI_MU:
$kelass = unserialize($jadwal->bank_kelas);
goto MaxRR;
G8y4M:
NnIsK:
goto vl70E;
df2SN:
$this->db->set("rekap", 1);
goto XVrli;
WgLhN:
bC_DF:
goto JJPat;
abgpP:
$siswas = $this->cbt->getSiswaByKelasArray($id_tp->id_tp, $id_smt->id_smt, $arrkelas);
goto obESv;
Wq9XC:
$soal_jodohkan = ["tampil" => $jadwal->tampil_jodohkan, "bobot" => $jadwal->bobot_jodohkan, "jawaban" => $jodb];
goto ZaFGg;
ENo5V:
$tahun = $id_tp->tahun;
goto CcrUl;
XrW2M:
foreach ($soals as $id => $soal) {
goto D0SiJ;
dPlEC:
goto rrVSd;
goto NecSN;
gUq81:
iOhJU:
goto BY56y;
vt4ou:
goto rrVSd;
goto YDbyu;
BY56y:
array_push($pgb, ["no_soal" => $id, "jawab" => $soal->jawaban]);
goto y7Pzs;
g20pA:
array_push($esb, ["no_soal" => $id, "jawab" => $soal->jawaban]);
goto T_R00;
ELyfa:
Bvl5c:
goto d0oRG;
c2o2Q:
array_push($pg2b, ["no_soal" => $id, "jawab" => $soal->jawaban]);
goto WdT1w;
bKEVv:
M7NXL:
goto c2o2Q;
tgCrN:
goto rrVSd;
goto gUq81;
WdT1w:
goto rrVSd;
goto pWfNN;
D0SiJ:
if ($soal->jenis == "1") {
goto iOhJU;
}
goto O_nAn;
T_R00:
rrVSd:
goto ELyfa;
pWfNN:
PUjqe:
goto It0Er;
It0Er:
array_push($jodb, ["no_soal" => $id, "jawab" => $soal->jawaban]);
goto dPlEC;
YDbyu:
aqWQg:
goto g20pA;
rru1K:
if ($soal->jenis == "5") {
goto aqWQg;
}
goto tgCrN;
gQV_q:
array_push($isb, ["no_soal" => $id, "jawab" => $soal->jawaban]);
goto vt4ou;
NecSN:
k7uym:
goto gQV_q;
VD_yQ:
if ($soal->jenis == "3") {
goto PUjqe;
}
goto n4vhE;
n4vhE:
if ($soal->jenis == "4") {
goto k7uym;
}
goto rru1K;
y7Pzs:
goto rrVSd;
goto bKEVv;
O_nAn:
if ($soal->jenis == "2") {
goto M7NXL;
}
goto VD_yQ;
d0oRG:
}
goto ouVPD;
tGKxt:
foreach ($siswas as $siswa) {
goto jccTt;
eZSR2:
JBLmO:
goto O2aXa;
t4tVE:
NxCNS:
goto f4bp8;
t0Qz6:
$skor_es = 0;
goto HNY46;
P3gYN:
$skor_pg = $nilais[$siswa->id_siswa]->pg_nilai;
goto bO99P;
NHab2:
$skor_es = $nilais[$siswa->id_siswa]->essai_nilai;
goto oI5q5;
RMLjR:
if (!isset($jawabans[$siswa->id_siswa])) {
goto NxCNS;
}
goto VLOFk;
V8R3o:
$skor_jod = 0;
goto qutsQ;
fRzdl:
$ess = [];
goto RMLjR;
QajPD:
$iss = [];
goto fRzdl;
RWp8V:
$soal_es = ["bobot" => $jadwal->bobot_esai, "jawaban" => $ess, "nilai" => $skor_es];
goto O7w37;
DwvOI:
$benar_pg = $nilais[$siswa->id_siswa]->pg_benar;
goto imwyo;
O7w37:
$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 eZSR2;
Jr7aX:
$skor_jod = $nilais[$siswa->id_siswa]->jodohkan_nilai;
goto JN0Qv;
VLOFk:
foreach ($jawabans[$siswa->id_siswa] as $jawaban) {
goto hOsTy;
LjrF1:
F2jJd:
goto I0vdJ;
SCA3U:
Rd_HZ:
goto Rw6g2;
p6o8P:
goto Rq6Ju;
goto uWwTy;
hOsTy:
if ($jawaban->jenis_soal == "1") {
goto F2jJd;
}
goto KMtS4;
XaVYT:
if ($jawaban->jenis_soal == "3") {
goto ab03_;
}
goto e_z0s;
uWwTy:
ab03_:
goto DS2oN;
mkqfA:
array_push($ess, ["no_soal" => $jawaban->id_soal, "jawab" => $jawaban->jawaban_siswa]);
goto bm6S7;
G0Doc:
sSIPT:
goto mkqfA;
cZFWq:
bKI2L:
goto AdkMN;
DS2oN:
array_push($jods, ["no_soal" => $jawaban->id_soal, "jawab" => $jawaban->jawaban_siswa]);
goto R49eL;
gkEke:
if ($jawaban->jenis_soal == "5") {
goto sSIPT;
}
goto TU7I_;
bm6S7:
Rq6Ju:
goto cZFWq;
Sq5e6:
goto Rq6Ju;
goto d3_Zu;
I0vdJ:
array_push($pgs, ["no_soal" => $jawaban->id_soal, "jawab" => $jawaban->jawaban_siswa]);
goto Sq5e6;
P02xV:
goto Rq6Ju;
goto G0Doc;
e_z0s:
if ($jawaban->jenis_soal == "4") {
goto Rd_HZ;
}
goto gkEke;
R49eL:
goto Rq6Ju;
goto SCA3U;
TU7I_:
goto Rq6Ju;
goto LjrF1;
ZaTZE:
array_push($pg2s, ["no_soal" => $jawaban->id_soal, "jawab" => $jawaban->jawaban_siswa]);
goto p6o8P;
KMtS4:
if ($jawaban->jenis_soal == "2") {
goto FlK3d;
}
goto XaVYT;
Rw6g2:
array_push($iss, ["no_soal" => $jawaban->id_soal, "jawab" => $jawaban->jawaban_siswa]);
goto P02xV;
d3_Zu:
FlK3d:
goto ZaTZE;
AdkMN:
}
goto iYAlP;
HNY46:
if (!isset($nilais[$siswa->id_siswa])) {
goto ZKdZm;
}
goto SWgYW;
SWgYW:
array_push($dikoreksi, $nilais[$siswa->id_siswa]->dikoreksi);
goto DwvOI;
tPIKb:
$pgs = [];
goto Gn7dX;
rhMwJ:
$soal_jod = ["bobot" => $jadwal->bobot_jodohkan, "jawaban" => $jods, "nilai" => $skor_jod];
goto rXik2;
Uc9Ic:
$salah_pg = 0;
goto Vm7c1;
bO99P:
$skor_pg2 = $nilais[$siswa->id_siswa]->kompleks_nilai;
goto Jr7aX;
iYAlP:
y6dJ_:
goto t4tVE;
jccTt:
$dikoreksi = [];
goto I2WuQ;
qutsQ:
$skor_is = 0;
goto t0Qz6;
Gn7dX:
$pg2s = [];
goto owDoR;
I2WuQ:
$benar_pg = 0;
goto Uc9Ic;
owDoR:
$jods = [];
goto QajPD;
imwyo:
$salah_pg = $jadwal->tampil_pg - $benar_pg;
goto P3gYN;
Vm7c1:
$skor_pg = 0;
goto OAYjZ;
oI5q5:
ZKdZm:
goto tPIKb;
OAYjZ:
$skor_pg2 = 0;
goto V8R3o;
rXik2:
$soal_is = ["bobot" => $jadwal->bobot_isian, "jawaban" => $iss, "nilai" => $skor_is];
goto RWp8V;
f4bp8:
$soal_pg2 = ["bobot" => $jadwal->bobot_kompleks, "jawaban" => $pg2s, "nilai" => $skor_pg2];
goto rhMwJ;
JN0Qv:
$skor_is = $nilais[$siswa->id_siswa]->isian_nilai;
goto NHab2;
O2aXa:
}
goto bi3nd;
ZybiJ:
$this->db->where("id_jadwal", $jadwal->id_jadwal);
goto fOg3B;
iY1pf:
$terpakai = isset($jadwal_dikerjakan[$jadwal->id_jadwal]) && count($jadwal_dikerjakan[$jadwal->id_jadwal]) > 0;
goto NpAmz;
N031q:
$this->db->where("id_jadwal", $jadwal->id_jadwal);
goto aNjlg;
UoDjw:
$result = $this->db->insert("cbt_rekap", $insert);
goto gl9zV;
obESv:
$arrSiswa = [];
goto oXeop;
M6Y1H:
GZRku:
goto eQy9z;
WdE1o:
hFQkJ:
goto abgpP;
eQy9z:
$durasies = $this->cbt->getIdSiswaFromDurasiByJadwal($jadwal->id_jadwal);
goto BqSS9;
vl70E:
$nama_kelas = $this->dropdown->getAllKelasByArrayId($id_tp->id_tp, $id_smt->id_smt, $arrkelas);
goto peVXJ;
fl3Nn:
$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 UoDjw;
Je89m:
if (!$gen) {
goto bC_DF;
}
goto O0zjh;
Iqm1t:
$this->db->update("cbt_jadwal");
goto WdE1o;
gl9zV:
if (!$result) {
goto hFQkJ;
}
goto df2SN;
FRYaV:
$nilai = [];
goto tGKxt;
JQuIH:
$id_tp = $this->dashboard->getTahunById($jadwal->id_tp);
goto yxkAY;
I_9z7:
$gen = $this->generateNilaiUjian($jadwal->id_jadwal);
goto Je89m;
fOg3B:
$this->db->delete("cbt_rekap");
goto fl3Nn;
tFcdn:
$soal_kompleks = ["tampil" => $jadwal->tampil_kompleks, "bobot" => $jadwal->bobot_kompleks, "jawaban" => $pg2b];
goto Wq9XC;
CcrUl:
$smt = $id_smt->nama_smt;
goto wI_MU;
ouVPD:
SNh_G:
goto tFcdn;
peVXJ:
$pgb = [];
goto eoqMY;
XVrli:
$this->db->where("id_jadwal", $jadwal->id_jadwal);
goto Iqm1t;
Ie_wf:
$esb = [];
goto XrW2M;
aNjlg:
$this->db->delete("cbt_rekap_nilai");
goto K7J3u;
NpAmz:
if (!$terpakai) {
goto jI6L5;
}
goto I_9z7;
yxkAY:
$id_smt = $this->dashboard->getSemesterById($jadwal->id_smt);
goto ENo5V;
cT9aY:
foreach ($kelass as $kls) {
goto ANAjg;
ou3J5:
Wh1DA:
goto kZwPd;
PyIYl:
array_push($arrkelas, $kls["kelas_id"]);
goto ou3J5;
ANAjg:
if (!($kls["kelas_id"] != null)) {
goto Wh1DA;
}
goto PyIYl;
kZwPd:
M0ux5:
goto kPLBo;
kPLBo:
}
goto G8y4M;
oXeop:
foreach ($siswas as $siswa) {
array_push($arrSiswa, $siswa->id_siswa);
zBafd:
}
goto M6Y1H;
sD7xR:
CSq2o:
goto DjzO2;
DjzO2:
}
goto UpYR6;
RStWS:
$result = false;
goto Bpaq3;
LZyv9:
$data["jadwal"] = $jadwals;
goto RStWS;
gECUq:
$generated = 0;
goto dDy92;
sAHST:
$data["total"] = count($ids);
goto R6cra;
K3LqT:
$this->output_json(true);
goto clQe2;
MyASn:
$this->load->model("Dropdown_model", "dropdown");
goto zOC2F;
ftF_1:
$this->load->model("Master_model", "master");
goto NAX0n;
clQe2:
}
public function hapusRekap()
{
goto b3RJI;
d9_sb:
D72zx:
goto KwD7h;
MbFlb:
$data["success"] = $delNilai && $delRekap;
goto oRBrX;
ZiJ8y:
$this->db->where_in("id_jadwal", $ids);
goto ZrJzc;
wvJ_2:
$data["total"] = count($ids);
goto ZiJ8y;
Txd6l:
$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 k42xq;
k42xq:
goto O0vJj;
goto d9_sb;
ZrJzc:
$delRekap = $this->db->delete("cbt_rekap");
goto XfciK;
oRBrX:
$this->output_json($data);
goto oCC2i;
bovwM:
if ($delNilai && $delRekap) {
goto D72zx;
}
goto Txd6l;
XfciK:
$this->db->where_in("id_jadwal", $ids);
goto U15ur;
omjz4:
sleep(1);
goto wvJ_2;
b3RJI:
$ids = json_decode($this->input->post("ids", true));
goto omjz4;
KwD7h:
$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 y3jZZ;
y3jZZ:
O0vJj:
goto MbFlb;
U15ur:
$delNilai = $this->db->delete("cbt_rekap_nilai");
goto bovwM;
oCC2i:
}
function getDataFromArray1ByUserId($array, $userId)
{
goto IL3sk;
X5qCp:
return array();
goto yDsVf;
yb3by:
zjNxh:
goto X5qCp;
IL3sk:
foreach ($array as $key => $data) {
goto sTpdc;
yi7C2:
nCTPU:
goto Xepj_;
sTpdc:
if (!($data->id_siswa == $userId)) {
goto nCTPU;
}
goto vYq3u;
vYq3u:
return $array;
goto yi7C2;
Xepj_:
MGIxd:
goto VIDbk;
VIDbk:
}
goto yb3by;
yDsVf:
}
public function getJenisPenilaian()
{
goto RK_5H;
RK_5H:
$this->load->model("Cbt_model", "cbt");
goto HC686;
XRrtf:
$smt = $this->input->get("smt");
goto nZOPC;
HC686:
$tahun = $this->input->get("tahun");
goto XRrtf;
nZOPC:
$jadwals = $this->cbt->getJenisRekap($tahun, $smt);
goto hhdG_;
hhdG_:
}
public function getNilaiKelas()
{
goto HYXH1;
q8iGu:
foreach ($rekaps as $rekap) {
goto J14ro;
kl88Y:
$arrSiswa[$rekap->id_siswa] = ["id_siswa" => $rekap->id_siswa, "nomor_peserta" => $rekap->nomor_peserta, "nama" => $rekap->nama];
goto zIDRI;
yGsmW:
$rekap->soal_essai = json_decode(json_encode(unserialize($rekap->soal_essai)));
goto kl88Y;
whl5O:
$rekap->soal_kompleks = json_decode(json_encode(unserialize($rekap->soal_kompleks)));
goto u9k0D;
zIDRI:
EW6nF:
goto zYzy4;
ic4rf:
$rekap->soal_isian = json_decode(json_encode(unserialize($rekap->soal_isian)));
goto yGsmW;
u9k0D:
$rekap->soal_jodohkan = json_decode(json_encode(unserialize($rekap->soal_jodohkan)));
goto ic4rf;
J14ro:
$rekap->jawaban_pg = $this->unserialize_with_key($rekap->jawaban_pg);
goto whl5O;
zYzy4:
}
goto TCSgc;
bZBfi:
$level = $this->master->getKelasById($kelas);
goto RhwJe;
Mitto:
$this->load->model("Dashboard_model", "dashboard");
goto Q2jM4;
ccyMI:
if (!(count($rekaps) > 0)) {
goto Qk8F4;
}
goto q8iGu;
TCSgc:
ZbBWs:
goto i9HjY;
wgvgI:
$kelas = $this->input->get("kelas");
goto bZBfi;
kJ_iv:
$data["info"] = array_values($jadwals);
goto E7ikM;
zZtHX:
if ($this->ion_auth->is_admin()) {
goto rkYjC;
}
goto jWxZw;
Q_rSh:
ZziMP:
goto IpsL0;
jWxZw:
$tpg = $this->dashboard->getTahunByTahun($tahun);
goto x5k9A;
mOvRy:
goto R0IAt;
goto c1nNq;
yZDOr:
Zwohc:
goto ylc0C;
Q2jM4:
$this->load->model("Cbt_model", "cbt");
goto wgvgI;
dOI43:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $tpg->id_tp, $smtg->id_smt);
goto JQ2zh;
R1Gcy:
foreach ($jadwals as $key => $jadwal) {
goto Trmxf;
Trmxf:
$jadwal->bank_kelas = unserialize($jadwal->bank_kelas);
goto JgFJU;
ihjQQ:
unset($jadwals[$key]);
goto bjzVu;
GfZ30:
s0yTE:
goto aDNWY;
ZwOpy:
tm953:
goto brGv2;
xcMYS:
foreach ($jadwal->bank_kelas as $id) {
array_push($ids, $id["kelas_id"]);
V3eTG:
}
goto GfZ30;
bjzVu:
gmKpO:
goto ZwOpy;
oKewV:
$jadwal->jawaban_esai = unserialize($jadwal->jawaban_esai);
goto VO2_N;
aDNWY:
if (in_array($kelas, $ids)) {
goto gmKpO;
}
goto ihjQQ;
VO2_N:
$ids = [];
goto xcMYS;
JgFJU:
$jadwal->jawaban_pg = unserialize($jadwal->jawaban_pg);
goto oKewV;
brGv2:
}
goto Q_rSh;
ylc0C:
$data["siswa"] = $arrSiswa;
goto A9Cqb;
E7ikM:
$this->output_json($data);
goto Rn_J3;
BvWKs:
$mapel = $this->input->get("mapel");
goto FjsgB;
yMFjl:
foreach ($rekaps as $key => $item) {
$arrNilai[$item->id_siswa][$item->id_mapel] = $item;
MUDo0:
}
goto yZDOr;
A9Cqb:
$data["nilai"] = $arrNilai;
goto kJ_iv;
RhwJe:
$jenis = $this->input->get("jenis");
goto qmUmo;
ca1G5:
v2RPn:
goto hkgM8;
HYXH1:
$this->load->model("Master_model", "master");
goto Mitto;
qmUmo:
$tahun = $this->input->get("tahun");
goto yb0Le;
I855K:
$arrSiswa = [];
goto ccyMI;
E5VQS:
R0IAt:
goto I855K;
yb0Le:
$smt = $this->input->get("smt");
goto BvWKs;
ozR5f:
foreach ($jadwals as $key => $jadwal) {
goto HZGaZ;
WXy78:
$jadwal->jawaban_esai = unserialize($jadwal->jawaban_esai);
goto foONz;
HZGaZ:
$jadwal->bank_kelas = unserialize($jadwal->bank_kelas);
goto bjaZz;
fr9CT:
foreach ($jadwal->bank_kelas as $id) {
array_push($ids, $id["kelas_id"]);
qe8kD:
}
goto TH4EP;
PMPbf:
IawoT:
goto NTMtj;
foONz:
$ids = [];
goto fr9CT;
bjaZz:
$jadwal->jawaban_pg = unserialize($jadwal->jawaban_pg);
goto WXy78;
xm_8j:
if (in_array($kelas, $ids)) {
goto IawoT;
}
goto hg8RK;
NTMtj:
Q2YX9:
goto BMa3S;
hg8RK:
unset($jadwals[$key]);
goto PMPbf;
TH4EP:
MbQ50:
goto xm_8j;
BMa3S:
}
goto ca1G5;
i9HjY:
Qk8F4:
goto wnDFB;
qFNXh:
$arrNilai = [];
goto yMFjl;
S6E2J:
$jadwals = $this->cbt->getAllRekapByJenis($tahun, $smt, $jenis, $level->level_id, $mapel);
goto ozR5f;
FjsgB:
$user = $this->ion_auth->user()->row();
goto zZtHX;
c1nNq:
rkYjC:
goto S6E2J;
wnDFB:
usort($arrSiswa, function ($a, $b) {
return $a["nama"] <=> $b["nama"];
});
goto qFNXh;
x5k9A:
$smtg = $this->dashboard->getSemesterByNama($smt);
goto dOI43;
JQ2zh:
$jadwals = $this->cbt->getAllRekapByJenis($tahun, $smt, $jenis, $level->level_id, $mapel, null, $guru->id_guru);
goto R1Gcy;
hkgM8:
$rekaps = $this->cbt->getAllNilaiRekapByJenis($tahun, $smt, $jenis, $kelas, $mapel);
goto E5VQS;
IpsL0:
$rekaps = $this->cbt->getAllNilaiRekapByJenis($tahun, $smt, $jenis, $kelas, $mapel, null, $guru->id_guru);
goto mOvRy;
Rn_J3:
}
public function olahNilai()
{
goto C8Qo6;
v3Au4:
ngjdR:
goto FC73F;
FC73F:
$data["siswas"] = $siswas;
goto CzKWa;
CzKWa:
$ya = $this->input->get("ya");
goto Gn1HB;
Fce3j:
$data["convert"] = $convert;
goto qxUxw;
X8wYa:
Fdan4:
goto AzF1g;
RZchY:
$this->load->view("members/guru/templates/header", $data);
goto LJEtj;
KOzkq:
$data["guru"] = $guru;
goto Mek_r;
q0G36:
$tp = $this->dashboard->getTahunActive();
goto ILGn7;
xqi2C:
$siswas = $this->cbt->getAllNilaiRekapByJenis($rekap->tp, $rekap->smt, $rekap->kode_jenis, $kelas, "0", $jadwal, $guru->id_guru);
goto FRpEr;
VIWx3:
$ya = $this->input->get("ya");
goto w55LE;
LJEtj:
$this->load->view("cbt/rekap/olah");
goto LtNPE;
qxUxw:
Thtop:
goto nZRc2;
zmIxi:
$user = $this->ion_auth->user()->row();
goto mJt0r;
mDp8D:
$data["siswas"] = $siswas;
goto VIWx3;
ILGn7:
$smt = $this->dashboard->getSemesterActive();
goto MpAFw;
C6SWz:
$kelas = $this->input->get("kelas");
goto wUjie;
Yl13A:
Ym4As:
goto Me5vW;
Gn1HB:
$yb = $this->input->get("yb");
goto S36nn;
Cm9n7:
if (!($ya != null)) {
goto pHSYq;
}
goto IAZYZ;
ktdQ_:
$data["nama_kelas"] = $kelas == null ? "Silahkan pilih kelas" : $kls[$kelas];
goto NESr0;
FRpEr:
foreach ($siswas as $siswa) {
goto US918;
US918:
$siswa->jawaban_pg = $this->unserialize_with_key($siswa->jawaban_pg);
goto PuMMJ;
THazM:
$siswa->soal_jodohkan = json_decode(json_encode(unserialize($siswa->soal_jodohkan)));
goto FT9jy;
waa47:
$siswa->soal_essai = json_decode(json_encode(unserialize($siswa->soal_essai)));
goto nnI4L;
PuMMJ:
$siswa->soal_kompleks = json_decode(json_encode(unserialize($siswa->soal_kompleks)));
goto THazM;
nnI4L:
UAB9W:
goto HjEf9;
FT9jy:
$siswa->soal_isian = json_decode(json_encode(unserialize($siswa->soal_isian)));
goto waa47;
HjEf9:
}
goto iPS0_;
X0Fcv:
$data["jadwal"] = $this->dropdown->getAllJadwal($tp->id_tp, $smt->id_smt);
goto IP6XF;
AY1Uy:
$data["kelas_selected"] = $kelas;
goto R815A;
nZRc2:
UBUfW:
goto NqI83;
HzW2E:
$data["mapel"] = $rekap->id_mapel;
goto ktdQ_;
GUgh1:
$rekap->soal_essai = json_decode(json_encode(unserialize($rekap->soal_essai)));
goto apMJd;
NqI83:
$data["jadwal"] = $this->dropdown->getAllJadwalGuru($tp->id_tp, $smt->id_smt, $guru->id_guru);
goto RZchY;
JOX9N:
$kls = @unserialize($rekap->nama_kelas);
goto owZ7K;
dBEj6:
$xb = $this->input->get("xb");
goto l2Kmz;
ltneV:
$data["tp_active"] = $tp;
goto QG3Mo;
LgmlG:
pHSYq:
goto nPLkp;
IP6XF:
$this->load->view("_templates/dashboard/_header", $data);
goto q7wQg;
ADntN:
$rekap->jawaban_pg = $this->unserialize_with_key($rekap->jawaban_pg);
goto Crbqv;
C8Qo6:
$this->load->model("Master_model", "master");
goto TJg0b;
R815A:
$data["jadwal_selected"] = $jadwal;
goto JOX9N;
wUjie:
$level = $this->master->getKelasById($kelas);
goto njIt1;
l2Kmz:
if (!($ya != null)) {
goto Thtop;
}
goto oRg7l;
LtNPE:
$this->load->view("members/guru/templates/footer");
goto vS4tE;
apMJd:
$data["rekap"] = $rekap;
goto HzW2E;
znjzl:
$xb = $this->input->get("xb");
goto Cm9n7;
gc3F0:
if ($this->ion_auth->is_admin()) {
goto Fdan4;
}
goto mgVWQ;
nPLkp:
LDcXa:
goto cOHFp;
AzF1g:
if (!($kelas != null)) {
goto LDcXa;
}
goto KTHin;
TJg0b:
$this->load->model("Dashboard_model", "dashboard");
goto Ybvkp;
mei1F:
$data["convert"] = $convert;
goto LgmlG;
cOHFp:
$data["profile"] = $this->dashboard->getProfileAdmin($user->id);
goto X0Fcv;
oRg7l:
$convert = ["ya" => $ya, "yb" => $yb, "xa" => $xa, "xb" => $xb];
goto Fce3j;
H8x7Q:
$this->load->view("_templates/dashboard/_footer");
goto Yl13A;
q7wQg:
$this->load->view("cbt/rekap/olah");
goto H8x7Q;
EAiYQ:
$this->load->model("Dropdown_model", "dropdown");
goto C6SWz;
Mek_r:
if (!($kelas != null)) {
goto UBUfW;
}
goto xqi2C;
ni2ra:
$data["smt_active"] = $smt;
goto AY1Uy;
w55LE:
$yb = $this->input->get("yb");
goto Dy6FW;
iPS0_:
CZGAA:
goto mDp8D;
MpAFw:
$data["tp"] = $this->dashboard->getTahun();
goto ltneV;
mgVWQ:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto KOzkq;
Dy6FW:
$xa = $this->input->get("xa");
goto dBEj6;
njIt1:
$jadwal = $this->input->get("jadwal");
goto zmIxi;
aanv7:
$rekap->soal_jodohkan = json_decode(json_encode(unserialize($rekap->soal_jodohkan)));
goto w7jcI;
QG3Mo:
$data["smt"] = $this->dashboard->getSemester();
goto ni2ra;
KTHin:
$siswas = $this->cbt->getAllNilaiRekapByJenis($rekap->tp, $rekap->smt, $rekap->kode_jenis, $kelas, "0", $jadwal);
goto VPffY;
w7jcI:
$rekap->soal_isian = json_decode(json_encode(unserialize($rekap->soal_isian)));
goto GUgh1;
owZ7K:
$data["kelas"] = $kls;
goto iXSEm;
IAZYZ:
$convert = ["ya" => $ya, "yb" => $yb, "xa" => $xa, "xb" => $xb];
goto mei1F;
vS4tE:
goto Ym4As;
goto X8wYa;
VPffY:
foreach ($siswas as $siswa) {
goto MsDvu;
sJNq0:
$siswa->soal_essai = json_decode(json_encode(unserialize($siswa->soal_essai)));
goto jYjDp;
jYjDp:
gZfx6:
goto NmL8b;
GUQvT:
$siswa->soal_jodohkan = json_decode(json_encode(unserialize($siswa->soal_jodohkan)));
goto MC_4k;
X8J3Y:
$siswa->soal_kompleks = json_decode(json_encode(unserialize($siswa->soal_kompleks)));
goto GUQvT;
MC_4k:
$siswa->soal_isian = json_decode(json_encode(unserialize($siswa->soal_isian)));
goto sJNq0;
MsDvu:
$siswa->jawaban_pg = $this->unserialize_with_key($siswa->jawaban_pg);
goto X8J3Y;
NmL8b:
}
goto v3Au4;
iXSEm:
if (!($rekap != null)) {
goto KVzq8;
}
goto ADntN;
NESr0:
KVzq8:
goto gc3F0;
mJt0r:
$rekap = $this->cbt->getRekapByJadwalKelas($jadwal);
goto RKcxH;
RKcxH:
$data = ["user" => $user, "judul" => "Ekspor Hasil Siswa", "subjudul" => "Ekspor Hasil Siswa", "setting" => $this->dashboard->getSetting()];
goto q0G36;
Crbqv:
$rekap->soal_kompleks = json_decode(json_encode(unserialize($rekap->soal_kompleks)));
goto aanv7;
Ybvkp:
$this->load->model("Cbt_model", "cbt");
goto EAiYQ;
S36nn:
$xa = $this->input->get("xa");
goto znjzl;
Me5vW:
}
function unserialize_with_key($serialized)
{
goto e8qgy;
FP73S:
$result = [];
goto EbSrG;
SgLw2:
zdtvl:
goto LflLV;
e8qgy:
$arr = unserialize($serialized);
goto FP73S;
LflLV:
return $result;
goto Jh9ci;
EbSrG:
foreach ($arr as $value) {
$result[$value["no_soal"]] = $value["jawab"];
fyQKB:
}
goto SgLw2;
Jh9ci:
}
public function export()
{
goto NsxZ4;
zBs7J:
SOi1U:
goto MxIUL;
zPm1l:
foreach ($jadwals as $jadwal) {
goto u0Ai6;
R1UKh:
i1Q3B:
goto aDjgs;
u0Ai6:
$jadwal->bank_kelas = unserialize($jadwal->bank_kelas);
goto z3gnz;
z3gnz:
$jadwal->nama_kelas = unserialize($jadwal->nama_kelas);
goto R1UKh;
aDjgs:
}
goto wYwDp;
acQ63:
$data["smt_active"] = $smt;
goto eHbcB;
UAXnT:
$tp = $this->master->getTahunActive();
goto b9jgR;
j33XT:
$data["rekaps"] = $jadwals;
goto TdT7V;
HvtSJ:
$jadwals = $this->cbt->getAllRekap();
goto zPm1l;
G_rdL:
foreach ($jadwals as $key => $jadwal) {
goto V43M6;
Yanwf:
$jadwal->nama_kelas = unserialize($jadwal->nama_kelas);
goto MnpB1;
MnpB1:
EH3WR:
goto Z60xk;
V43M6:
$jadwal->bank_kelas = unserialize($jadwal->bank_kelas);
goto Yanwf;
Z60xk:
}
goto xfXUJ;
AJTnG:
$data["semester"] = $this->cbt->getDistinctSmt();
goto GrJsM;
fpmtq:
$this->load->model("Cbt_model", "cbt");
goto mfXOW;
eHbcB:
$data["jenis"] = $this->cbt->getDistinctJenisUjian();
goto oXAuG;
fCt2k:
$data["tp"] = $this->dashboard->getTahun();
goto sTDYn;
FJfpQ:
$this->load->view("_templates/dashboard/_footer");
goto zBs7J;
NV1gE:
$this->load->view("members/guru/templates/header", $data);
goto ncjLK;
YR6y2:
$data = ["user" => $user, "judul" => "Ekspor Hasil Penilaian", "subjudul" => "Ekspor Nilai", "setting" => $this->dashboard->getSetting()];
goto UAXnT;
iUMgj:
V_W4J:
goto HvtSJ;
LQbMg:
$this->load->view("members/guru/templates/footer");
goto u1mjy;
uZJsu:
$data["smt"] = $this->dashboard->getSemester();
goto acQ63;
lM_jp:
$data["tahuns"] = $this->cbt->getDistinctTahun();
goto AJTnG;
mfXOW:
$user = $this->ion_auth->user()->row();
goto YR6y2;
LJsx_:
$data["rekaps"] = $jadwals;
goto Pqj1a;
oXAuG:
$data["kelas"] = $this->cbt->getDistinctKelas();
goto lM_jp;
u1mjy:
goto SOi1U;
goto iUMgj;
TGqmW:
$this->load->view("_templates/dashboard/_header", $data);
goto CSEOX;
wYwDp:
Ja1XO:
goto LJsx_;
ncjLK:
$this->load->view("cbt/rekap/ekspor");
goto LQbMg;
HCFM4:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto AuSTy;
b9jgR:
$smt = $this->master->getSemesterActive();
goto fCt2k;
GrJsM:
if ($this->ion_auth->is_admin()) {
goto V_W4J;
}
goto HCFM4;
sTDYn:
$data["tp_active"] = $tp;
goto uZJsu;
Pqj1a:
$data["profile"] = $this->dashboard->getProfileAdmin($user->id);
goto TGqmW;
AuSTy:
$jadwals = $this->cbt->getAllRekap($guru->id_guru);
goto G_rdL;
CSEOX:
$this->load->view("cbt/rekap/ekspor");
goto FJfpQ;
TdT7V:
$data["guru"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto NV1gE;
NsxZ4:
$this->load->model("Master_model", "master");
goto kEZrs;
xfXUJ:
yQpaj:
goto j33XT;
kEZrs:
$this->load->model("Dashboard_model", "dashboard");
goto fpmtq;
MxIUL:
}
public function generateNilaiUjian($jadwal)
{
goto Whjfz;
USkWO:
$jawabans = $this->cbt->getJawabanByBank($info->id_bank);
goto KOAF8;
rrFK1:
K0ubM:
goto N5hna;
vEo8k:
foreach ($jawabans as $jawaban_siswa) {
goto K0KvF;
YVNg_:
$jawabans_siswa[$jawaban_siswa->id_siswa][$jawaban_siswa->jenis_soal][] = $jawaban_siswa;
goto Vw2z7;
tkNmO:
$jawaban_siswa->jawaban_benar = json_decode(json_encode($jawaban_siswa->jawaban_benar));
goto w7q_s;
BiHGr:
Yacqn:
goto AIsu_;
AIsu_:
if (!($jawaban_siswa->jenis_soal == "3")) {
goto aG2QL;
}
goto Uc0la;
AJgK_:
if (!($jawaban_siswa->jenis_soal == "2")) {
goto Yacqn;
}
goto fpVYN;
ugrk1:
$jawaban_siswa->jawaban_siswa = json_decode(json_encode($jawaban_siswa->jawaban_siswa));
goto tkNmO;
Vw2z7:
$soal[$jawaban_siswa->jenis_soal][] = $jawaban_siswa;
goto tELcF;
GW0rK:
$jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar);
goto xMzGT;
FHIcC:
$jawaban_siswa->jawaban = array_filter($jawaban_siswa->jawaban, "strlen");
goto BiHGr;
fpVYN:
$jawaban_siswa->opsi_a = @unserialize($jawaban_siswa->opsi_a);
goto JrvxL;
T1cC8:
$jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar);
goto WVUgC;
uoXYo:
aG2QL:
goto YVNg_;
W7R3K:
$jawaban_siswa->jawaban_benar = array_map("strtoupper", $jawaban_siswa->jawaban_benar);
goto maI9m;
tELcF:
B3pAt:
goto Slexm;
JrvxL:
$jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa);
goto T1cC8;
fWUqs:
$jawaban_siswa->jawaban = array_map("strtoupper", $jawaban_siswa->jawaban);
goto FHIcC;
Slexm:
g7KTq:
goto Tbi3s;
w7q_s:
$jawaban_siswa->jawaban = json_decode(json_encode($jawaban_siswa->jawaban));
goto uoXYo;
maI9m:
$jawaban_siswa->jawaban_benar = array_filter($jawaban_siswa->jawaban_benar, "strlen");
goto fWUqs;
K0KvF:
if (!($jawaban_siswa->jawaban_siswa != null)) {
goto B3pAt;
}
goto AJgK_;
xMzGT:
$jawaban_siswa->jawaban = @unserialize($jawaban_siswa->jawaban);
goto ugrk1;
WVUgC:
$jawaban_siswa->jawaban = @unserialize($jawaban_siswa->jawaban);
goto W7R3K;
Uc0la:
$jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa);
goto GW0rK;
Tbi3s:
}
goto XK3g4;
ZE9U_:
$bagi_essai = $info->tampil_esai / 100;
goto WV7bv;
cs16s:
jfiKb:
goto HUe20;
Whjfz:
$this->load->model("Cbt_model", "cbt");
goto chhEl;
aBOHL:
$bagi_jodoh = $info->tampil_jodohkan / 100;
goto v4WiK;
fX4Je:
$jawabans_siswa = [];
goto vEo8k;
MzDpj:
foreach ($kelas_bank as $key => $value) {
array_push($kelases, $value["kelas_id"]);
I97JE:
}
goto rrFK1;
WV7bv:
$bobot_essai = $info->bobot_esai / 100;
goto s3XoC;
rTt1U:
$bobot_pg2 = $info->bobot_kompleks / 100;
goto aBOHL;
p3LNq:
aUAT9:
goto SZ0Qr;
Sjhnd:
$bobot_isian = $info->bobot_isian / 100;
goto ZE9U_;
z3N3f:
$bobot_pg = $info->bobot_pg / 100;
goto UjDkP;
N5hna:
$siswas = $this->cbt->getSiswaByKelas($info->id_tp, $info->id_smt, $kelases);
goto USkWO;
XK3g4:
HtyvZ:
goto FY8lI;
HUe20:
$this->db->update_batch("cbt_nilai", $insets, "id_nilai");
goto fLBFN;
wHo7y:
$bagi_pg = $info->tampil_pg / 100;
goto z3N3f;
chhEl:
$info = $this->cbt->getJadwalById($jadwal);
goto wHo7y;
f_uY_:
$update = false;
goto Z85YI;
fLBFN:
$update = true;
goto icptV;
KOAF8:
$soal = [];
goto fX4Je;
UjDkP:
$bagi_pg2 = $info->tampil_kompleks / 100;
goto rTt1U;
hH7P1:
return $update;
goto PU0n5;
I3Umd:
$kelases = [];
goto MzDpj;
icptV:
dZqYk:
goto hH7P1;
SZ0Qr:
if (count($insets) > 0) {
goto jfiKb;
}
goto f_uY_;
FY8lI:
$insets = [];
goto RgXlZ;
v4WiK:
$bobot_jodoh = $info->bobot_jodohkan / 100;
goto lDpyz;
Z85YI:
goto dZqYk;
goto cs16s;
lDpyz:
$bagi_isian = $info->tampil_isian / 100;
goto Sjhnd;
s3XoC:
$kelas_bank = unserialize($info->bank_kelas);
goto I3Umd;
RgXlZ:
foreach ($siswas as $siswa) {
goto vx1oo;
TpHwB:
xEbIJ:
goto Vtk7X;
mCy5L:
$benar_pg = 0;
goto a7Vgd;
EhIar:
nKpF0:
goto KZlAd;
UdtHV:
$ada_jawaban_jodoh = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["3"]);
goto EtXgk;
y0Awi:
if (!(count($jawaban_es) > 0)) {
goto Z23dB;
}
goto M1CNr;
g1ZOD:
v1yGR:
goto t79_P;
dTOJh:
$input_is = 0;
goto vU3K2;
bhh7V:
$input_es = $nilai_input->essai_nilai;
goto TpHwB;
VX2p2:
$nilai_input = $this->cbt->getNilaiSiswaByJadwal($jadwal, $siswa->id_siswa);
goto b7WKx;
skN62:
$s_jod = $bagi_jodoh == 0 ? 0 : $benar_jod / $bagi_jodoh * $bobot_jodoh;
goto D3W8s;
jCZut:
$insert["essai_nilai"] = round($skor_es, 2);
goto BIMu0;
vGepY:
$insert["id_jadwal"] = $jadwal;
goto kp5A9;
xM62H:
$insert["isian_nilai"] = round($skor_is, 2);
goto jCZut;
rLqPi:
foreach ($jawaban_is as $num => $jawab_is) {
goto Uy9UM;
wNuR2:
$otomatis_is = $jawab_is->nilai_otomatis;
goto zIhPD;
Uy9UM:
$skor_koreksi_is += $jawab_is->nilai_koreksi;
goto wf17P;
ih_Fx:
if (!$benar) {
goto JuAny;
}
goto uIZDK;
wf17P:
$benar = $jawab_is != null && strtolower($jawab_is->jawaban_siswa) == strtolower($jawab_is->jawaban);
goto ih_Fx;
uIZDK:
$benar_is++;
goto SPEyd;
zIhPD:
xs62b:
goto d56tL;
SPEyd:
JuAny:
goto wNuR2;
d56tL:
}
goto Gt0cS;
sJJJI:
foreach ($jawaban_pg as $jwb_pg) {
goto RSlOq;
pGAmx:
pKAUk:
goto Ync6I;
T1T9W:
$benar_pg += 1;
goto Iw59M;
lzgXt:
if (strtoupper($jwb_pg->jawaban_siswa) == strtoupper($jwb_pg->jawaban)) {
goto uZeXA;
}
goto lquJI;
KHgcT:
o7wMz:
goto pGAmx;
W4yt3:
uZeXA:
goto T1T9W;
lquJI:
$salah_pg += 1;
goto bvqc_;
Iw59M:
nKZ10:
goto KHgcT;
RSlOq:
if (!($jwb_pg != null && $jwb_pg->jawaban_siswa != null)) {
goto o7wMz;
}
goto lzgXt;
bvqc_:
goto nKZ10;
goto W4yt3;
Ync6I:
}
goto nhYu5;
DYJKB:
S6Uof:
goto mzLvZ;
JZtSE:
if (!(count($jawaban_is) > 0)) {
goto y4kZA;
}
goto rLqPi;
N_TK1:
if (!($nilai_input != null && $nilai_input->jodohkan_nilai != null)) {
goto Tsxiq;
}
goto uf157;
BYvEw:
CNMaK:
goto d2hV2;
M1CNr:
foreach ($jawaban_es as $num => $jawab_es) {
goto xQInF;
ONtnG:
G29V3:
goto vAa0N;
FKkKY:
$benar = $jawab_es != null && strtolower($jawab_es->jawaban_siswa) == strtolower($jawab_es->jawaban);
goto fPyCd;
FIGr7:
$benar_es++;
goto Rp47n;
xQInF:
$skor_koreksi_es += $jawab_es->nilai_koreksi;
goto FKkKY;
Rp47n:
gMgFD:
goto TyU9K;
fPyCd:
if (!$benar) {
goto gMgFD;
}
goto FIGr7;
TyU9K:
$otomatis_es = $jawab_es->nilai_otomatis;
goto ONtnG;
vAa0N:
}
goto EhIar;
epdi2:
$skor_koreksi_is = 0.0;
goto EXvYa;
mzLvZ:
rxPiD:
goto MRMQY;
FTi3Z:
$ada_jawaban_pg = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["1"]);
goto kc_3E;
jyEL8:
rbcSx:
goto XiHmv;
YNOpa:
foreach ($jawaban_jodoh as $num => $jawab_jod) {
goto f77K8;
GXA7R:
$arrJwbSoal = [];
goto JiFeo;
BmFag:
$item_salah = 0;
goto k8e32;
eKvLg:
$headSoal = array_shift($arrSoal);
goto GXA7R;
yieWI:
GqGDq:
goto lMZLy;
s2v7H:
lrwEZ:
goto a0ywu;
k8e32:
foreach ($arrJwbJawab as $p => $ajjs) {
goto J1As9;
e2aJq:
foreach ($ajjs->subtitle as $pp => $ajs) {
goto rm6GX;
hjvFP:
kGHPN:
goto TZiAQ;
rm6GX:
if (in_array($ajs, $arrJwbSoal[$p]->subtitle)) {
goto otXnS;
}
goto UiNDk;
tPtob:
$item_benar++;
goto lGs7V;
lGs7V:
kPo4E:
goto hjvFP;
UiNDk:
$item_salah++;
goto Wkj8D;
Wkj8D:
goto kPo4E;
goto GJlOU;
GJlOU:
otXnS:
goto tPtob;
TZiAQ:
}
goto vQ46n;
vQ46n:
oij9B:
goto S7hbx;
S7hbx:
DLX3z:
goto OSe5Q;
J1As9:
if (!(isset($ajjs->subtitle) && count($ajjs->subtitle) > 0)) {
goto DLX3z;
}
goto e2aJq;
OSe5Q:
qUUXF:
goto c9Ksq;
c9Ksq:
}
goto yieWI;
SGenK:
D7mjC:
goto kbxVp;
JSw2g:
$headJawab = array_shift($arrJawab);
goto y9sKw;
jUR_V:
$otomatis_jod = $jawab_jod->nilai_otomatis;
goto s2v7H;
JiFeo:
$items = 0;
goto T0pY0;
y9sKw:
$arrJwbJawab = [];
goto al5Rk;
ogOiu:
$arrSoal = $jawab_jod->jawaban->jawaban;
goto eKvLg;
lMZLy:
$benar_jod += 1 / $items * $item_benar;
goto jUR_V;
ASsYa:
$item_benar = 0;
goto BmFag;
f77K8:
$skor_koreksi_jod += $jawab_jod->nilai_koreksi;
goto ogOiu;
kbxVp:
$arrJawab = $jawab_jod->jawaban_siswa->jawaban;
goto JSw2g;
rIIzT:
m57UN:
goto ASsYa;
al5Rk:
foreach ($arrJawab as $kolJawab) {
goto somOE;
rabmK:
array_push($arrJwbJawab, $jwbs);
goto D2uwJ;
rqea3:
foreach ($kolJawab as $po => $kol) {
goto gKNfr;
gKNfr:
if (!($kol == "1")) {
goto jZ3hs;
}
goto Hlk7m;
QoS3w:
Lz1jo:
goto Cb41i;
avrX0:
jZ3hs:
goto QoS3w;
Q3i4H:
$jwbs->subtitle[] = $sub;
goto avrX0;
Hlk7m:
$sub = $headJawab[$po];
goto Q3i4H;
Cb41i:
}
goto H0aNd;
H0aNd:
vqCFT:
goto rabmK;
somOE:
$jwbs = new stdClass();
goto rqea3;
D2uwJ:
pakV9:
goto J1jcD;
J1jcD:
}
goto rIIzT;
T0pY0:
foreach ($arrSoal as $kolSoal) {
goto W5GXT;
RDty4:
VoICh:
goto tb_aT;
W5GXT:
$jwb = new stdClass();
goto ILME5;
dAfBG:
tlLMY:
goto Fqt_b;
AENG9:
array_push($arrJwbSoal, $jwb);
goto RDty4;
ILME5:
foreach ($kolSoal as $pos => $kol) {
goto Uj3VJ;
X0uTf:
hBfM9:
goto Z8jke;
AUPpi:
$items++;
goto G0YzD;
Uj3VJ:
if (!($kol == "1")) {
goto gNps3;
}
goto gPc21;
gPc21:
$jwb->subtitle[] = $headSoal[$pos];
goto AUPpi;
G0YzD:
gNps3:
goto X0uTf;
Z8jke:
}
goto dAfBG;
Fqt_b:
$jwb->title = array_shift($kolSoal);
goto AENG9;
tb_aT:
}
goto SGenK;
a0ywu:
}
goto jyEL8;
XiHmv:
Lt8ir:
goto BinSZ;
uf157:
$input_jod = $nilai_input->jodohkan_nilai;
goto PZe5Q;
XOUwi:
$benar_es = 0;
goto JUht_;
kp5A9:
$insert["pg_benar"] = $benar_pg;
goto iDDwF;
f_nxW:
if (!(count($jawaban_pg) > 0)) {
goto v1yGR;
}
goto sJJJI;
vx1oo:
$ada_jawaban = isset($jawabans_siswa[$siswa->id_siswa]);
goto FTi3Z;
gjsYz:
pn3xX:
goto wVzC4;
KZlAd:
Z23dB:
goto BYvEw;
Su8FS:
$input_is = $nilai_input->isian_nilai;
goto gjsYz;
PZe5Q:
Tsxiq:
goto SwlM9;
wVzC4:
$skor_is = $input_is != 0 ? $input_is : ($otomatis_is == 0 ? $s_is : $skor_koreksi_is);
goto whx2V;
zF_Ax:
$input_es = 0;
goto flGxO;
R7eAG:
$otomatis_jod = 0;
goto ZKlZP;
t79_P:
seW3z:
goto QLv_3;
MUb9A:
if (!($info->tampil_pg > 0)) {
goto seW3z;
}
goto f_nxW;
SwlM9:
$skor_jod = $input_jod != 0 ? $input_jod : ($otomatis_jod == 0 ? $s_jod : $skor_koreksi_jod);
goto ngjmr;
N_rpO:
$jawaban_jodoh = $ada_jawaban_jodoh ? $jawabans_siswa[$siswa->id_siswa]["3"] : [];
goto gC2TU;
dN9RV:
u4Lwm:
goto QF1UI;
kBZK4:
$benar_pg2 = 0;
goto tZBe9;
d2hV2:
$s_es = $bagi_essai == 0 ? 0 : $benar_es / $bagi_essai * $bobot_essai;
goto zF_Ax;
gC2TU:
$benar_jod = 0;
goto lhvqo;
Sz6SO:
$skor_pg2 = $input_pg2 != 0 ? $input_pg2 : ($otomatis_pg2 == 0 ? $s_pg2 : $skor_koreksi_pg2);
goto N_rpO;
XVMbL:
if (!(count($jawaban_pg2) > 0)) {
goto rxPiD;
}
goto mqS7z;
OnDpp:
$input_pg2 = 0;
goto D7bkF;
Qgs0v:
$ada_jawaban_essai = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["5"]);
goto VX2p2;
wyVqU:
$jawaban_pg = $ada_jawaban_pg ? $jawabans_siswa[$siswa->id_siswa]["1"] : [];
goto mCy5L;
QLv_3:
$skor_pg = $bagi_pg == 0 ? 0 : $benar_pg / $bagi_pg * $bobot_pg;
goto Yih2K;
VkVFK:
$insert["id_siswa"] = $siswa->id_siswa;
goto vGepY;
D7bkF:
if (!($nilai_input != null && $nilai_input->kompleks_nilai != null)) {
goto AG04S;
}
goto ml4Rx;
Tqah3:
LXpOx:
goto UbUnB;
b7WKx:
if (!($nilai_input != null && $nilai_input->dikoreksi == "1")) {
goto z8XWo;
}
goto wyVqU;
Yih2K:
$jawaban_pg2 = $ada_jawaban_pg2 ? $jawabans_siswa[$siswa->id_siswa]["2"] : [];
goto kBZK4;
eiA6A:
if (!($info->tampil_esai > 0)) {
goto CNMaK;
}
goto y0Awi;
Bfzw9:
AG04S:
goto Sz6SO;
EXvYa:
$otomatis_is = 0;
goto ElRV8;
BinSZ:
WCbjI:
goto skN62;
Y4zuS:
$insert["id_nilai"] = $siswa->id_siswa . $jadwal;
goto VkVFK;
Vtk7X:
$skor_es = $input_es != 0 ? $input_es : ($otomatis_es == 0 ? $s_es : $skor_koreksi_es);
goto Y4zuS;
PiWIE:
if (!($info->tampil_kompleks > 0)) {
goto I2jUJ;
}
goto XVMbL;
xzft1:
$otomatis_es = 0;
goto eiA6A;
iDDwF:
$insert["pg_nilai"] = round($skor_pg, 2);
goto l1XsL;
GQt03:
$benar_is = 0;
goto epdi2;
NAkUZ:
z8XWo:
goto Tqah3;
Gt0cS:
SQ_Zh:
goto AJ4Yt;
MRMQY:
I2jUJ:
goto knar9;
flGxO:
if (!($nilai_input != null && $nilai_input->isian_nilai != null)) {
goto xEbIJ;
}
goto bhh7V;
D3W8s:
$input_jod = 0;
goto N_TK1;
ml4Rx:
$input_pg2 = $nilai_input->kompleks_nilai;
goto Bfzw9;
ElRV8:
if (!($info->tampil_isian > 0)) {
goto u4Lwm;
}
goto JZtSE;
JUht_:
$skor_koreksi_es = 0.0;
goto xzft1;
VuDqS:
$otomatis_pg2 = 0;
goto PiWIE;
BIMu0:
array_push($insets, $insert);
goto NAkUZ;
l1XsL:
$insert["kompleks_nilai"] = round($skor_pg2, 2);
goto kThGh;
EtXgk:
$ada_jawaban_isian = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["4"]);
goto Qgs0v;
knar9:
$s_pg2 = $bagi_pg2 == 0 ? 0 : $benar_pg2 / $bagi_pg2 * $bobot_pg2;
goto OnDpp;
lhvqo:
$skor_koreksi_jod = 0.0;
goto R7eAG;
tZBe9:
$skor_koreksi_pg2 = 0.0;
goto VuDqS;
nhYu5:
n_4_T:
goto g1ZOD;
AJ4Yt:
y4kZA:
goto dN9RV;
kc_3E:
$ada_jawaban_pg2 = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["2"]);
goto UdtHV;
QF1UI:
$s_is = $bagi_isian == 0 ? 0 : $benar_is / $bagi_isian * $bobot_isian;
goto dTOJh;
a7Vgd:
$salah_pg = 0;
goto MUb9A;
whx2V:
$jawaban_es = $ada_jawaban_essai ? $jawabans_siswa[$siswa->id_siswa]["5"] : [];
goto XOUwi;
ngjmr:
$jawaban_is = $ada_jawaban_isian ? $jawabans_siswa[$siswa->id_siswa]["4"] : [];
goto GQt03;
mqS7z:
foreach ($jawaban_pg2 as $num => $jawab_pg2) {
goto UVp2j;
SQfDc:
gYJFG:
goto UyOZN;
ALUGt:
$skor_koreksi_pg2 += $jawab_pg2->nilai_koreksi;
goto RbQGc;
OJYJS:
x45Nn:
goto yX4iZ;
RbQGc:
$arr_benar = [];
goto gVssb;
UVp2j:
$otomatis_pg2 = $jawab_pg2->nilai_otomatis;
goto ALUGt;
yX4iZ:
$benar_pg2 += 1 / count($jawab_pg2->jawaban) * count($arr_benar);
goto SQfDc;
gVssb:
foreach ($jawab_pg2->jawaban_siswa as $js) {
goto gGVsB;
j4LYb:
array_push($arr_benar, true);
goto NH7hk;
NH7hk:
Jmugw:
goto CkB2c;
gGVsB:
if (!in_array($js, $jawab_pg2->jawaban)) {
goto Jmugw;
}
goto j4LYb;
CkB2c:
xurmC:
goto naM3J;
naM3J:
}
goto OJYJS;
UyOZN:
}
goto DYJKB;
kThGh:
$insert["jodohkan_nilai"] = round($skor_jod, 2);
goto xM62H;
vU3K2:
if (!($nilai_input != null && $nilai_input->isian_nilai != null)) {
goto pn3xX;
}
goto Su8FS;
y9N6q:
if (!(count($jawaban_jodoh) > 0)) {
goto Lt8ir;
}
goto YNOpa;
ZKlZP:
if (!($info->tampil_jodohkan > 0)) {
goto WCbjI;
}
goto y9N6q;
UbUnB:
}
goto p3LNq;
PU0n5:
}
}
?>
Did this file decode correctly?
Original Code
<?php
/* ________________________________________
| GarudaCBT |
| https://github.com/garudacbt/cbt |
|________________________________________|
*/
class Cbtrekap extends CI_Controller
{
public function __construct()
{
goto awMsX;
OXMtS:
if (!(!$this->ion_auth->is_admin() && !$this->ion_auth->in_group("\x67\165\162\x75"))) {
goto GAMoT;
}
goto oldH8;
Y0ubx:
N2PGm:
goto qIVfA;
NJvNB:
Ig6Dy:
goto DjmGx;
qIVfA:
redirect("\x61\x75\164\x68");
goto NJvNB;
J0pvT:
GAMoT:
goto SOj9c;
R9H85:
$this->load->library("\x75\160\x6c\157\x61\144");
goto wjpMp;
wjpMp:
$this->form_validation->set_error_delimiters('', '');
goto PpXRj;
awMsX:
parent::__construct();
goto twDhB;
oldH8:
show_error("\x48\141\x6e\x79\141\40\x41\x64\x6d\x69\x6e\x69\163\x74\162\141\x74\157\162\40\171\141\156\147\x20\x64\x69\142\x65\x72\x69\40\x68\x61\153\x20\x75\156\x74\x75\x6b\40\x6d\x65\156\147\141\x6b\163\145\x73\x20\x68\141\154\x61\155\x61\156\x20\x69\156\x69\54\40\x3c\141\x20\150\x72\x65\146\x3d\42" . base_url("\144\x61\x73\x68\142\x6f\x61\x72\144") . "\42\x3e\113\x65\x6d\x62\x61\154\151\40\153\x65\40\x6d\145\156\165\40\141\x77\x61\x6c\x3c\x2f\x61\x3e", 403, "\x41\153\x73\x65\x73\x20\x54\x65\x72\154\141\162\x61\156\x67");
goto J0pvT;
DjmGx:
$this->load->library(["\x64\141\164\x61\164\141\142\x6c\145\x73", "\x66\157\162\155\x5f\x76\141\x6c\151\x64\x61\164\151\x6f\156"]);
goto R9H85;
SOj9c:
goto Ig6Dy;
goto Y0ubx;
twDhB:
if (!$this->ion_auth->logged_in()) {
goto N2PGm;
}
goto OXMtS;
PpXRj:
}
public function output_json($data, $encode = true)
{
goto v3Qj9;
Xfxyk:
$data = json_encode($data);
goto qQYdn;
qQYdn:
y8iRk:
goto qZlvj;
qZlvj:
$this->output->set_content_type("\141\160\160\154\151\143\x61\x74\x69\x6f\x6e\x2f\x6a\163\157\156")->set_output($data);
goto RKhsw;
v3Qj9:
if (!$encode) {
goto y8iRk;
}
goto Xfxyk;
RKhsw:
}
public function index()
{
goto CIuXz;
SE06T:
$rekapNilai = $this->cbt->getRekapJadwal($guru->id_guru);
goto EoxxN;
TDvl_:
$rekapJadwal = $data_jadwal;
goto czjPH;
D6YGq:
obGXR:
goto zxscw;
cRmfK:
foreach ($data_jadwal as $rekap) {
goto ggJw3;
zg5FE:
yldWB:
goto cdcoW;
Bd3O2:
dsI5Y:
goto Kam8u;
ggJw3:
$terpakai = isset($jadwal_dikerjakan[$rekap->id_jadwal]) ? count($jadwal_dikerjakan[$rekap->id_jadwal]) : 0;
goto oXCGv;
Op4hO:
$rekap->dikoreksi = true;
goto CDzD_;
CDzD_:
goto BnwNl;
goto zg5FE;
osIcp:
$rekap->hanya_pg = $hanya_pg;
goto OdV3u;
cdcoW:
$rekap->dikoreksi = false;
goto UEMKk;
UEMKk:
BnwNl:
goto Bd3O2;
oXCGv:
$rekap->mengerjakan = $terpakai;
goto cd3IT;
cd3IT:
$hanya_pg = $rekap->tampil_pg > 0 && $rekap->tampil_kompleks == 0 && $rekap->tampil_jodohkan == 0 && $rekap->tampil_isian == 0 && $rekap->tampil_esai == 0;
goto osIcp;
OdV3u:
if (!$hanya_pg && isset($koreksi[$rekap->id_jadwal]) && isset($koreksi[$rekap->id_jadwal][0])) {
goto yldWB;
}
goto Op4hO;
Kam8u:
}
goto dlugk;
ZbcIO:
$this->load->view("\137\x74\145\x6d\160\154\x61\x74\145\x73\57\144\x61\x73\x68\x62\157\x61\162\144\57\137\146\157\x6f\x74\145\x72");
goto D6YGq;
Bo2z2:
$user = $this->ion_auth->user()->row();
goto ODhqx;
be2Ei:
$data["\162\x65\153\x61\160\x73"] = $rekaps;
goto QswOx;
H4JD4:
$this->load->view("\143\142\x74\57\x72\x65\153\x61\x70\x2f\x64\x61\164\x61");
goto qqlhT;
xHnAK:
$data["\164\x70"] = $this->dashboard->getTahun();
goto dPq2y;
fZA60:
$data["\x70\x72\157\146\151\154\145"] = $this->dashboard->getProfileAdmin($user->id);
goto a6Mf0;
VbNsx:
$this->load->model("\x44\162\x6f\x70\x64\157\x77\x6e\137\x6d\x6f\x64\x65\x6c", "\144\162\157\x70\x64\157\x77\156");
goto Bo2z2;
ZmD9l:
$this->load->view("\155\145\x6d\x62\x65\x72\163\57\147\165\162\165\57\x74\x65\x6d\x70\x6c\x61\x74\x65\x73\x2f\150\145\x61\x64\145\x72", $data);
goto H4JD4;
eKyaT:
$data["\x74\x61\150\165\x6e\x73"] = $this->cbt->getDistinctTahun();
goto CucCy;
Un4oE:
$this->load->view("\x63\142\x74\57\162\145\153\141\160\x2f\144\x61\164\141");
goto ZbcIO;
a2dKX:
$this->load->view("\x5f\x74\x65\155\x70\x6c\x61\164\145\x73\57\x64\x61\x73\x68\x62\x6f\x61\x72\x64\57\x5f\150\145\141\x64\x65\162", $data);
goto Un4oE;
nojfX:
$koreksi = $this->cbt->getTotalKoreksi();
goto ozWEq;
qAD4e:
goto obGXR;
goto Rs4WZ;
lptUQ:
$data["\162\x65\153\141\160\163"] = $rekaps;
goto IpXxt;
FiqAl:
$data["\147\165\162\165"] = $guru;
goto ZmD9l;
qqlhT:
$this->load->view("\x6d\145\x6d\142\x65\162\x73\x2f\147\165\162\165\57\164\145\155\160\x6c\141\x74\145\163\57\146\157\157\x74\x65\x72");
goto qAD4e;
kv32r:
$data["\163\x65\163\151\x73"] = $this->dropdown->getAllSesi();
goto bkEMR;
Oai0D:
$data["\153\x65\x6c\x61\x73"] = $this->cbt->getDistinctKelas();
goto eKyaT;
Ey_I_:
$data["\x62\141\x6e\153\x73"] = $this->cbt->getAllBankSoal();
goto nojfX;
EoxxN:
foreach ($data_jadwal as $rekap) {
goto Q0Mfa;
En1ig:
cpxjR:
goto n5Mou;
nKwee:
if (!$hanya_pg && isset($koreksi[$rekap->id_jadwal]) && isset($koreksi[$rekap->id_jadwal][0])) {
goto QYPMj;
}
goto Zk8yG;
Zk8yG:
$rekap->dikoreksi = true;
goto olZeX;
luCZl:
bg9zP:
goto En1ig;
Q0Mfa:
$terpakai = isset($jadwal_dikerjakan[$rekap->id_jadwal]) ? count($jadwal_dikerjakan[$rekap->id_jadwal]) : 0;
goto PVPgS;
i_V9q:
$rekap->hanya_pg = $hanya_pg;
goto nKwee;
olZeX:
goto bg9zP;
goto IeySM;
ELaqn:
$rekap->dikoreksi = false;
goto luCZl;
UmCaf:
$hanya_pg = $rekap->tampil_pg > 0 && $rekap->tampil_kompleks == 0 && $rekap->tampil_jodohkan == 0 && $rekap->tampil_isian == 0 && $rekap->tampil_esai == 0;
goto i_V9q;
PVPgS:
$rekap->mengerjakan = $terpakai;
goto UmCaf;
IeySM:
QYPMj:
goto ELaqn;
n5Mou:
}
goto IV6Vk;
InfOx:
$this->load->model("\x43\x62\x74\137\x6d\x6f\x64\x65\154", "\143\142\x74");
goto VbNsx;
nb4l_:
$data["\x72\165\x61\156\x67\163"] = $this->cbt->getAllRuang();
goto kv32r;
a6Mf0:
$data_jadwal = $this->cbt->getDataJadwal($tp->id_tp, $smt->id_smt);
goto QjezR;
Rs4WZ:
kFIOY:
goto fZA60;
dlugk:
BPXOo:
goto QvcTl;
Hn72R:
$data["\x73\155\x74"] = $this->dashboard->getSemester();
goto o_agy;
CucCy:
$data["\x73\145\x6d\x65\163\x74\145\x72"] = $this->cbt->getDistinctSmt();
goto nb4l_;
ODhqx:
$data = ["\x75\163\145\x72" => $user, "\x6a\x75\144\x75\154" => "\x52\145\x6b\141\x70\40\x48\x61\x73\151\x6c\40\x50\145\x6e\151\154\141\x69\141\156", "\163\165\142\152\x75\144\x75\x6c" => "\x50\145\x6e\151\154\141\151\141\156", "\x73\145\x74\x74\x69\156\147" => $this->dashboard->getSetting()];
goto nDDDW;
bkEMR:
$data["\153\x65\x6c\x61\163\x65\163"] = $this->cbt->getKelas();
goto Ey_I_;
f3wa8:
$data["\152\x65\156\151\163"] = $this->cbt->getDistinctJenisUjian();
goto Oai0D;
ozWEq:
$data["\153\157\x72\x65\x6b\163\151"] = $koreksi;
goto O_S2X;
nDDDW:
$tp = $this->master->getTahunActive();
goto wJYR2;
IV6Vk:
eG1IJ:
goto TDvl_;
czjPH:
$rekaps = array_merge($rekapJadwal, $rekapNilai);
goto be2Ei;
O_S2X:
$jadwal_dikerjakan = $this->cbt->getJadwalTerpakai();
goto TrGHP;
dPq2y:
$data["\164\x70\x5f\x61\x63\x74\x69\x76\145"] = $tp;
goto Hn72R;
mOHVb:
$data_jadwal = $this->cbt->getDataJadwal($tp->id_tp, $smt->id_smt, $guru->id_guru);
goto SE06T;
QjezR:
$rekapNilai = $this->cbt->getRekapJadwal();
goto cRmfK;
BpUYO:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto mOHVb;
CIuXz:
$this->load->model("\x4d\141\163\x74\145\162\x5f\155\x6f\x64\145\154", "\155\x61\163\164\145\162");
goto ceRlM;
iHp1H:
$rekaps = array_merge($rekapJadwal, $rekapNilai);
goto lptUQ;
ceRlM:
$this->load->model("\x44\141\163\150\x62\x6f\141\162\x64\x5f\155\x6f\144\145\x6c", "\x64\141\x73\150\x62\x6f\x61\162\x64");
goto InfOx;
wJYR2:
$smt = $this->master->getSemesterActive();
goto xHnAK;
o_agy:
$data["\163\155\x74\137\141\143\164\x69\x76\x65"] = $smt;
goto f3wa8;
IpXxt:
$data["\x61\x64\x61\x5f\x72\x65\x6b\x61\160"] = $this->cbt->getAllRekap();
goto a2dKX;
QswOx:
$data["\x61\x64\x61\137\x72\145\153\x61\x70"] = $this->cbt->getAllRekap($guru->id_guru);
goto FiqAl;
QvcTl:
$rekapJadwal = $data_jadwal;
goto iHp1H;
TrGHP:
if ($this->ion_auth->is_admin()) {
goto kFIOY;
}
goto BpUYO;
zxscw:
}
public function perMapel()
{
goto sTP4l;
jscbC:
$this->load->view("\x6d\x65\x6d\x62\145\162\163\x2f\x67\x75\x72\x75\57\164\x65\x6d\160\x6c\x61\164\145\163\x2f\x66\x6f\x6f\x74\145\x72");
goto xIksw;
kDbH3:
$this->load->view("\x63\x62\x74\57\x72\145\x6b\141\160\57\x70\145\x72\155\x61\x70\x65\x6c");
goto jtOEP;
DPUyj:
$data["\163\x65\x6d\145\x73\164\x65\162"] = $this->cbt->getDistinctSmt();
goto GaL0X;
f1lPP:
$tp = $this->master->getTahunActive();
goto ezu91;
oDk0h:
$this->load->model("\x43\x62\x74\x5f\155\x6f\144\145\x6c", "\x63\142\164");
goto B2jky;
Wf15L:
$this->load->model("\104\141\163\x68\142\157\141\162\x64\x5f\155\x6f\144\145\154", "\144\x61\163\x68\142\x6f\x61\x72\x64");
goto oDk0h;
xIksw:
goto HxTiv;
goto jq_ku;
ezu91:
$smt = $this->master->getSemesterActive();
goto eb7EY;
sTP4l:
$this->load->model("\115\x61\163\164\x65\162\137\155\x6f\x64\145\154", "\155\141\x73\x74\x65\162");
goto Wf15L;
HgYdv:
HxTiv:
goto mWPbm;
Amt4s:
$data["\x73\155\164\137\x61\143\164\151\166\x65"] = $smt;
goto UctZG;
UQtgr:
$data["\164\160\137\141\143\164\x69\166\x65"] = $tp;
goto FgZtE;
G0CjJ:
$this->load->view("\155\145\155\x62\x65\x72\x73\x2f\147\165\x72\x75\57\x74\145\x6d\x70\154\x61\x74\x65\x73\57\150\x65\x61\144\x65\162", $data);
goto t2IOL;
kAA_Y:
$data["\x67\165\162\165"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto G0CjJ;
eb7EY:
$data["\164\160"] = $this->dashboard->getTahun();
goto UQtgr;
B2jky:
$user = $this->ion_auth->user()->row();
goto LB3cl;
kcSi2:
$data["\153\x65\x6c\141\163"] = $this->cbt->getDistinctKelas();
goto ZcGBx;
jtOEP:
$this->load->view("\x5f\x74\x65\155\x70\154\141\x74\x65\x73\57\x64\141\163\150\x62\157\x61\x72\x64\x2f\x5f\146\x6f\157\x74\145\162");
goto HgYdv;
ZcGBx:
$data["\x74\x61\150\x75\x6e"] = $this->cbt->getDistinctTahun();
goto DPUyj;
KSnP7:
$this->load->view("\x5f\164\145\155\x70\154\x61\164\x65\x73\57\x64\141\x73\x68\x62\x6f\141\162\144\57\x5f\150\145\141\144\x65\162", $data);
goto kDbH3;
FgZtE:
$data["\163\x6d\x74"] = $this->dashboard->getSemester();
goto Amt4s;
t2IOL:
$this->load->view("\x63\x62\164\x2f\x72\145\x6b\x61\x70\57\160\145\x72\155\x61\x70\145\x6c");
goto jscbC;
GaL0X:
if ($this->ion_auth->is_admin()) {
goto YFic9;
}
goto kAA_Y;
UctZG:
$data["\152\145\156\x69\163"] = $this->cbt->getDistinctJenisUjian();
goto kcSi2;
U2x0P:
$data["\x70\162\157\146\151\154\145"] = $this->dashboard->getProfileAdmin($user->id);
goto KSnP7;
LB3cl:
$data = ["\x75\163\x65\x72" => $user, "\x6a\165\x64\x75\x6c" => "\110\141\163\x69\x6c\x20\123\x69\x73\167\141", "\x73\165\142\152\165\x64\165\x6c" => "\x53\164\141\x74\165\x73\x20\123\x69\163\x77\x61", "\x73\x65\x74\164\151\x6e\147" => $this->dashboard->getSetting()];
goto f1lPP;
jq_ku:
YFic9:
goto U2x0P;
mWPbm:
}
public function backupNilai($id_jadwal)
{
goto DvIR0;
i0Dbq:
$this->session->set_flashdata("\162\145\x6b\141\160\156\x69\154\141\x69", "\x3c\144\x69\x76\40\x69\x64\x3d\x22\x66\x6c\141\163\x68\x64\141\x74\141\x22\x20\x63\x6c\x61\x73\x73\75\42\x61\154\x65\x72\x74\x20\141\x6c\x65\162\x74\55\x64\x65\x66\x61\x75\x6c\164\x2d\x64\x61\x6e\147\145\162\x20\141\154\x69\x67\156\55\143\x6f\156\164\x65\x6e\164\x2d\143\145\x6e\164\x65\x72\x20\x77\55\x31\x30\x30\x22\40\162\157\x6c\145\75\x22\141\x6c\145\x72\x74\42\76\112\x61\144\167\x61\x6c\40\125\x6a\x69\x61\x6e\40\155\141\x73\151\150\x20\142\x65\162\154\141\x6e\x67\x73\x75\x6e\147\x2c\x20" . $save . "\x20\x6e\151\154\141\x69\40\163\151\x73\x77\x61\x20\x62\x65\162\150\141\x73\151\154\40\x64\x69\x72\145\x6b\x61\x70\56\74\142\162\x3e\x42\x65\x62\x65\162\x61\160\x61\x20\x73\x69\x73\167\141\40\142\x65\x6c\165\x6d\x20\x73\145\x6c\x65\x73\141\151\x20\x61\x74\141\165\x20\x62\145\154\165\x6d\x20\144\151\153\x6f\x72\145\x6b\163\x69\x3c\57\144\x69\x76\x3e");
goto AiLre;
wtVKz:
$this->output_json(true);
goto miso8;
jCUwf:
$durasies = $this->cbt->getIdSiswaFromDurasiByJadwal($id_jadwal);
goto KTRSA;
wLIlH:
$jodb = [];
goto VpgEI;
qc1hE:
$soal_jodohkan = ["\x74\x61\x6d\x70\x69\x6c" => $jadwal->tampil_jodohkan, "\142\x6f\142\x6f\164" => $jadwal->bobot_jodohkan, "\x6a\x61\167\x61\142\x61\156" => $jodb];
goto g4ADe;
Wx8_X:
foreach ($siswas as $siswa) {
goto UEoxz;
zpW0W:
k5fOC:
goto Ynxr9;
StnY3:
$soal_is = ["\142\157\142\157\164" => $jadwal->bobot_isian, "\152\x61\x77\x61\142\141\x6e" => $iss, "\156\x69\154\x61\151" => $skor_is];
goto xxcP_;
l5z0F:
$skor_es = 0;
goto V8E9k;
yRkkZ:
$skor_pg = 0;
goto qERmV;
d3aL2:
$benar_pg = 0;
goto cSCn0;
dYcPW:
$skor_is = 0;
goto l5z0F;
Rsvnu:
$benar_pg = $nilais[$siswa->id_siswa]->pg_benar;
goto Z7mrO;
BqCLJ:
if (!isset($jawabans[$siswa->id_siswa])) {
goto HOJKI;
}
goto v2Thh;
ws_0w:
$nilai[] = ["\x69\x64\137\x6a\x61\144\167\x61\x6c" => $id_jadwal, "\151\x64\x5f\164\160" => $id_tp->id_tp, "\164\x70" => $tahun, "\x69\x64\x5f\x73\155\164" => $id_smt->id_smt, "\163\155\164" => $smt, "\x69\x64\x5f\x6a\145\156\151\x73" => $jadwal->id_jenis, "\153\157\x64\145\137\152\x65\156\x69\x73" => $jadwal->kode_jenis, "\151\x64\x5f\142\x61\x6e\x6b" => $jadwal->id_bank, "\x69\x64\x5f\155\x61\x70\145\154" => $jadwal->id_mapel, "\x69\x64\137\x73\151\163\x77\x61" => $siswa->id_siswa, "\156\x61\x6d\x61\137\x73\151\x73\167\x61" => $siswa->nama, "\156\x6f\x5f\160\x65\x73\x65\162\164\x61" => $siswa->nomor_peserta, "\151\144\x5f\x6b\145\x6c\x61\163" => $siswa->id_kelas, "\x6b\x65\x6c\x61\163" => $siswa->nama_kelas, "\155\165\x6c\x61\151" => isset($durasies[$siswa->id_siswa]) ? $durasies[$siswa->id_siswa]->mulai : '', "\x73\145\154\145\x73\141\151" => isset($durasies[$siswa->id_siswa]) ? $durasies[$siswa->id_siswa]->selesai : '', "\144\x75\x72\141\x73\x69" => isset($durasies[$siswa->id_siswa]) ? $durasies[$siswa->id_siswa]->lama_ujian : '', "\x62\x6f\x62\157\x74\x5f\x70\147" => $jadwal->bobot_pg, "\x6a\x61\167\x61\x62\x61\156\x5f\160\x67" => serialize($pgs), "\x6e\x69\x6c\141\x69\x5f\160\x67" => round($skor_pg, 2), "\163\157\141\154\x5f\153\x6f\155\160\154\145\x6b\x73" => serialize($soal_pg2), "\163\x6f\x61\x6c\137\152\157\x64\x6f\x68\153\141\156" => serialize($soal_jod), "\163\x6f\141\154\137\151\163\x69\141\156" => serialize($soal_is), "\163\x6f\x61\x6c\137\145\163\x73\x61\151" => serialize($soal_es), "\151\x64\137\147\x75\162\165" => $jadwal->id_guru];
goto bFzSY;
Ynxr9:
$pgs = [];
goto mYRHJ;
BkKPi:
iJM5l:
goto OOj2Y;
F7xAe:
$skor_jod = $nilais[$siswa->id_siswa]->jodohkan_nilai;
goto FJ4QO;
m50og:
$ess = [];
goto BqCLJ;
kJSgV:
$skor_es = $nilais[$siswa->id_siswa]->essai_nilai;
goto zpW0W;
mYRHJ:
$pg2s = [];
goto Wo2wl;
bFzSY:
qybE8:
goto UeHm_;
J1sSR:
array_push($dikoreksi, $nilais[$siswa->id_siswa]->dikoreksi);
goto Rsvnu;
cSCn0:
$salah_pg = 0;
goto yRkkZ;
v2Thh:
foreach ($jawabans[$siswa->id_siswa] as $jawaban) {
goto JaFET;
LamKe:
goto BjU8g;
goto NlivO;
P1fGS:
goto BjU8g;
goto BwHlO;
QYssE:
if ($jawaban->jenis_soal == "\x34") {
goto InA8E;
}
goto fhoGa;
yF0PK:
Hnn3D:
goto PaMRr;
z43zp:
array_push($pg2s, ["\156\157\137\x73\157\x61\154" => $jawaban->id_soal, "\152\141\x77\x61\142" => $jawaban->jawaban_siswa]);
goto yk1XD;
NlivO:
xjzvP:
goto z43zp;
bRf6w:
BjU8g:
goto jE74e;
oOFJa:
goto BjU8g;
goto yF0PK;
JaFET:
if ($jawaban->jenis_soal == "\x31") {
goto JrUcI;
}
goto ic_C1;
QWJyJ:
array_push($jods, ["\x6e\157\137\x73\157\x61\x6c" => $jawaban->id_soal, "\x6a\141\x77\x61\x62" => $jawaban->jawaban_siswa]);
goto P1fGS;
H63Qr:
goto BjU8g;
goto u0yOO;
nV4WO:
if ($jawaban->jenis_soal == "\x33") {
goto fyTP2;
}
goto QYssE;
Y6MhY:
array_push($iss, ["\156\x6f\x5f\x73\157\141\154" => $jawaban->id_soal, "\x6a\x61\x77\x61\x62" => $jawaban->jawaban_siswa]);
goto oOFJa;
fhoGa:
if ($jawaban->jenis_soal == "\x35") {
goto Hnn3D;
}
goto H63Qr;
ic_C1:
if ($jawaban->jenis_soal == "\62") {
goto xjzvP;
}
goto nV4WO;
yk1XD:
goto BjU8g;
goto sJwJB;
sJwJB:
fyTP2:
goto QWJyJ;
npNGc:
array_push($pgs, ["\x6e\x6f\137\x73\x6f\x61\x6c" => $jawaban->id_soal, "\152\x61\167\141\142" => $jawaban->jawaban_siswa]);
goto LamKe;
BwHlO:
InA8E:
goto Y6MhY;
PaMRr:
array_push($ess, ["\x6e\157\x5f\163\x6f\x61\154" => $jawaban->id_soal, "\152\141\167\141\x62" => $jawaban->jawaban_siswa]);
goto bRf6w;
jE74e:
S6BTt:
goto Ib28y;
u0yOO:
JrUcI:
goto npNGc;
Ib28y:
}
goto BkKPi;
Z7mrO:
$salah_pg = $jadwal->tampil_pg - $benar_pg;
goto a6ocQ;
xT2YP:
$soal_jod = ["\142\x6f\142\x6f\164" => $jadwal->bobot_jodohkan, "\152\141\x77\141\x62\141\156" => $jods, "\156\x69\x6c\141\x69" => $skor_jod];
goto StnY3;
xxcP_:
$soal_es = ["\x62\157\x62\x6f\x74" => $jadwal->bobot_esai, "\152\141\x77\x61\x62\141\156" => $ess, "\156\151\x6c\x61\151" => $skor_es];
goto ws_0w;
SyWNu:
$iss = [];
goto m50og;
FJ4QO:
$skor_is = $nilais[$siswa->id_siswa]->isian_nilai;
goto kJSgV;
qERmV:
$skor_pg2 = 0;
goto rz3My;
UEoxz:
$dikoreksi = [];
goto d3aL2;
a6ocQ:
$skor_pg = $nilais[$siswa->id_siswa]->pg_nilai;
goto X7P8X;
OOj2Y:
HOJKI:
goto SPbSl;
Wo2wl:
$jods = [];
goto SyWNu;
X7P8X:
$skor_pg2 = $nilais[$siswa->id_siswa]->kompleks_nilai;
goto F7xAe;
V8E9k:
if (!isset($nilais[$siswa->id_siswa])) {
goto k5fOC;
}
goto J1sSR;
SPbSl:
$soal_pg2 = ["\142\x6f\142\x6f\164" => $jadwal->bobot_kompleks, "\152\x61\167\x61\x62\141\x6e" => $pg2s, "\156\x69\x6c\141\x69" => $skor_pg2];
goto xT2YP;
rz3My:
$skor_jod = 0;
goto dYcPW;
UeHm_:
}
goto E8suC;
Aowke:
$nilai = [];
goto Wx8_X;
q9hgs:
MSanp:
goto wtVKz;
ihpGQ:
$soal_essai = ["\164\x61\155\160\151\x6c" => $jadwal->tampil_esai, "\142\x6f\142\157\164" => $jadwal->bobot_esai, "\x6a\x61\167\x61\142\141\156" => $esb];
goto ESVvk;
dEnmQ:
foreach ($soals as $id => $soal) {
goto NlirK;
KDjBa:
array_push($pg2b, ["\156\x6f\137\163\x6f\141\154" => $id, "\152\x61\x77\x61\x62" => $soal->jawaban]);
goto WlDBg;
FlGUP:
array_push($jodb, ["\156\x6f\137\163\157\141\154" => $id, "\152\x61\167\141\x62" => $soal->jawaban]);
goto rdQu2;
M9o5Z:
array_push($esb, ["\x6e\x6f\137\163\157\x61\x6c" => $id, "\x6a\x61\167\x61\142" => $soal->jawaban]);
goto diWpM;
NlirK:
if ($soal->jenis == "\61") {
goto uIuqv;
}
goto JcRwT;
Sz5uP:
oXlj6:
goto KDjBa;
WLL8e:
if ($soal->jenis == "\63") {
goto qyGqE;
}
goto WrBK8;
WlDBg:
goto c79lN;
goto tIttM;
WrBK8:
if ($soal->jenis == "\64") {
goto dgpo5;
}
goto nx33c;
y4uHm:
array_push($pgb, ["\156\157\x5f\x73\157\x61\154" => $id, "\152\141\x77\141\142" => $soal->jawaban]);
goto X_NHW;
Jxgq2:
vQgl4:
goto shbmA;
nx33c:
if ($soal->jenis == "\65") {
goto tJgB6;
}
goto CXT5B;
X_NHW:
goto c79lN;
goto Sz5uP;
rdQu2:
goto c79lN;
goto LcEh2;
CXT5B:
goto c79lN;
goto Bqt2k;
diWpM:
c79lN:
goto Jxgq2;
JcRwT:
if ($soal->jenis == "\x32") {
goto oXlj6;
}
goto WLL8e;
j3jca:
array_push($isb, ["\156\157\x5f\163\157\141\x6c" => $id, "\152\x61\x77\x61\142" => $soal->jawaban]);
goto vxZWm;
i0L4F:
tJgB6:
goto M9o5Z;
tIttM:
qyGqE:
goto FlGUP;
Bqt2k:
uIuqv:
goto y4uHm;
LcEh2:
dgpo5:
goto j3jca;
vxZWm:
goto c79lN;
goto i0L4F;
shbmA:
}
goto iKVRn;
m38Ni:
$insert = ["\x69\x64\x5f\x74\160" => $id_tp->id_tp, "\x74\160" => $tahun, "\151\x64\137\163\155\x74" => $id_smt->id_smt, "\163\x6d\x74" => $smt, "\151\x64\137\x6a\141\144\x77\x61\x6c" => $id_jadwal, "\151\x64\137\x6a\x65\156\151\x73" => $jadwal->id_jenis, "\x6b\x6f\x64\145\137\x6a\145\x6e\x69\163" => $jadwal->kode_jenis, "\151\x64\x5f\142\141\156\x6b" => $jadwal->id_bank, "\x62\141\x6e\153\137\153\x6f\144\x65" => $jadwal->bank_kode, "\142\x61\x6e\x6b\137\153\145\154\x61\163" => $jadwal->bank_kelas, "\156\x61\155\141\137\x6b\145\154\141\x73" => serialize($nama_kelas), "\x62\141\156\153\x5f\x6c\145\x76\145\154" => $jadwal->bank_level, "\151\x64\x5f\155\x61\160\145\154" => $jadwal->id_mapel, "\x6e\x61\155\x61\137\x6d\141\x70\145\x6c" => $jadwal->nama_mapel, "\153\x6f\x64\x65" => $jadwal->kode, "\164\x67\x6c\x5f\155\165\154\141\x69" => $jadwal->tgl_mulai, "\164\147\x6c\x5f\163\x65\x6c\x65\x73\141\151" => $jadwal->tgl_selesai, "\164\141\x6d\x70\x69\154\x5f\x70\x67" => $jadwal->tampil_pg, "\152\x61\167\x61\142\141\156\137\160\x67" => serialize($pgb), "\x62\157\x62\157\x74\137\x70\x67" => $jadwal->bobot_pg, "\163\x6f\141\x6c\137\x6b\157\155\x70\154\x65\x6b\163" => serialize($soal_kompleks), "\163\157\141\154\x5f\152\x6f\x64\157\x68\x6b\x61\156" => serialize($soal_jodohkan), "\163\157\x61\x6c\x5f\151\x73\151\x61\x6e" => serialize($soal_isian), "\163\x6f\141\x6c\x5f\145\x73\163\141\x69" => serialize($soal_essai), "\x69\144\x5f\x67\x75\162\165" => $jadwal->id_guru, "\156\141\x6d\x61\x5f\147\165\x72\165" => $jadwal->nama_guru];
goto ndlNJ;
AiLre:
goto MSanp;
goto JNJfV;
pzG0b:
$this->db->set("\162\145\x6b\141\160", 1);
goto ikqhe;
DvIR0:
$this->load->model("\115\141\x73\164\x65\x72\x5f\155\157\x64\x65\154", "\x6d\141\x73\x74\145\162");
goto Y38iB;
ESVvk:
$this->db->where("\151\144\x5f\152\141\x64\x77\x61\x6c", $id_jadwal);
goto uv0nF;
cz5tq:
if ($terpakai && $generated) {
goto Brh2y;
}
goto M3c5G;
x2XBZ:
vbIS3:
goto jCUwf;
js3h_:
$id_tp = $this->dashboard->getTahunById($jadwal->id_tp);
goto Brlqs;
uakMn:
$result = false;
goto J9UKx;
ndlNJ:
$result = $this->db->insert("\143\x62\164\x5f\162\x65\153\141\x70", $insert);
goto BekYy;
C6BCv:
Brh2y:
goto cNZqq;
BekYy:
if (!$result) {
goto EaMqT;
}
goto pzG0b;
TMPkw:
goto dLIhF;
goto C6BCv;
MgS2f:
$generated = $this->generateNilaiUjian($id_jadwal);
goto cz5tq;
LncuP:
$this->db->delete("\143\142\x74\137\x72\x65\153\141\160\x5f\156\x69\x6c\141\151");
goto HDOsT;
J9UKx:
$jadwal_dikerjakan = $this->cbt->getJadwalTerpakai();
goto j7lry;
j7lry:
$terpakai = isset($jadwal_dikerjakan[$id_jadwal]) && count($jadwal_dikerjakan[$id_jadwal]) > 0;
goto MgS2f;
J4JUI:
$pgb = [];
goto r1_A0;
uv0nF:
$this->db->delete("\x63\x62\164\x5f\162\x65\153\x61\x70");
goto m38Ni;
GEmhs:
$smt = $id_smt->nama_smt;
goto ggqsJ;
KheWP:
OJEt3:
goto KhSYz;
JNJfV:
FQ2sD:
goto FFMRf;
g4ADe:
$soal_isian = ["\x74\141\x6d\x70\x69\154" => $jadwal->tampil_isian, "\142\x6f\142\x6f\x74" => $jadwal->bobot_isian, "\x6a\x61\167\141\x62\141\x6e" => $isb];
goto ihpGQ;
ggqsJ:
$kelass = unserialize($jadwal->bank_kelas);
goto o3mCo;
JQmZZ:
$esb = [];
goto dEnmQ;
kXKrd:
$this->db->update("\x63\142\164\137\152\141\144\x77\141\x6c");
goto TmO0l;
b2lBn:
$nilais = $this->cbt->getAllNilaiSiswa($id_jadwal);
goto Aowke;
PMKSj:
if ($generated && $result) {
goto FQ2sD;
}
goto i0Dbq;
RTbFC:
$siswas = $this->cbt->getSiswaByKelasArray($id_tp->id_tp, $id_smt->id_smt, $arrkelas);
goto PWCd7;
ikqhe:
$this->db->where("\151\x64\137\x6a\141\144\167\141\154", $id_jadwal);
goto kXKrd;
FyDFS:
$tahun = $id_tp->tahun;
goto GEmhs;
ci0s8:
foreach ($kelass as $kls) {
goto iJssG;
pognu:
qDkXz:
goto RFHah;
S2rhX:
array_push($arrkelas, $kls["\153\145\154\x61\163\x5f\x69\x64"]);
goto laJAc;
iJssG:
if (!($kls["\x6b\x65\x6c\x61\x73\137\x69\144"] != null)) {
goto sNdYx;
}
goto S2rhX;
laJAc:
sNdYx:
goto pognu;
RFHah:
}
goto KheWP;
KhSYz:
$nama_kelas = $this->dropdown->getAllKelasByArrayId($id_tp->id_tp, $id_smt->id_smt, $arrkelas);
goto J4JUI;
HJx0Z:
dLIhF:
goto PMKSj;
VpgEI:
$isb = [];
goto JQmZZ;
cNZqq:
$this->db->trans_start();
goto wc4IP;
wc4IP:
$jadwal = $this->cbt->getJadwalById($id_jadwal);
goto TlqPx;
PWCd7:
$arrSiswa = [];
goto ULzve;
UnXQB:
$this->db->where("\x69\x64\137\x6a\x61\144\167\x61\x6c", $id_jadwal);
goto LncuP;
ULzve:
foreach ($siswas as $siswa) {
array_push($arrSiswa, $siswa->id_siswa);
UJAnq:
}
goto x2XBZ;
Y38iB:
$this->load->model("\x44\x61\163\x68\142\x6f\141\162\144\x5f\155\157\x64\x65\x6c", "\144\x61\x73\150\142\x6f\141\162\144");
goto TWSt0;
oXaM8:
$this->db->trans_complete();
goto HJx0Z;
Kk9mR:
$this->load->model("\104\x72\x6f\x70\144\x6f\x77\x6e\137\x6d\x6f\144\145\x6c", "\144\x72\157\x70\x64\x6f\167\x6e");
goto uakMn;
TlqPx:
$soals = $this->cbt->getNomorSoalByBank($jadwal->id_bank);
goto js3h_;
iKVRn:
OzkGr:
goto J4C1Q;
J4C1Q:
$soal_kompleks = ["\164\141\155\x70\151\x6c" => $jadwal->tampil_kompleks, "\x62\157\x62\157\x74" => $jadwal->bobot_kompleks, "\152\141\167\141\x62\x61\x6e" => $pg2b];
goto qc1hE;
ma1Kw:
$save = isset($jadwal_dikerjakan[$id_jadwal]) ? count($jadwal_dikerjakan[$id_jadwal]) : 0;
goto TMPkw;
KTRSA:
$jawabans = $this->cbt->getIdSiswaFromJawabanByJadwal($id_jadwal);
goto b2lBn;
TWSt0:
$this->load->model("\x43\x62\164\x5f\x6d\157\x64\145\154", "\143\x62\x74");
goto Kk9mR;
E8suC:
GWplp:
goto UnXQB;
HDOsT:
$save = $this->master->create("\x63\x62\164\x5f\162\145\153\141\x70\x5f\156\151\x6c\141\151", $nilai, true);
goto oXaM8;
r1_A0:
$pg2b = [];
goto wLIlH;
FFMRf:
$this->session->set_flashdata("\162\x65\153\141\160\156\x69\x6c\141\151", "\74\x64\151\x76\40\151\144\75\42\146\154\141\x73\150\x64\141\164\x61\x22\x20\143\x6c\141\163\x73\75\42\x61\154\145\x72\164\40\141\x6c\x65\x72\x74\55\x64\145\x66\141\165\x6c\164\55\163\165\143\143\145\x73\x73\40\x61\x6c\x69\x67\x6e\x2d\x63\x6f\x6e\164\145\156\164\55\143\145\x6e\x74\x65\162\40\x77\x2d\x31\x30\x30\42\40\162\x6f\154\145\x3d\x22\x61\154\145\x72\x74\42\x3e\40\x42\x65\x72\x68\141\x73\151\x6c\40\x6d\145\162\145\x6b\141\x70\40\x6e\x69\154\141\x69\40" . $save . "\x20\x73\x69\163\x77\141\74\57\x64\x69\x76\76");
goto q9hgs;
M3c5G:
$result = false;
goto ma1Kw;
TmO0l:
EaMqT:
goto RTbFC;
Brlqs:
$id_smt = $this->dashboard->getSemesterById($jadwal->id_smt);
goto FyDFS;
o3mCo:
$arrkelas = [];
goto ci0s8;
miso8:
}
public function bulkBackup()
{
goto ftF_1;
UpYR6:
Pq2Oh:
goto yMi0o;
gYmHF:
$jadwal_dikerjakan = $this->cbt->getJadwalTerpakai();
goto b5jQ0;
yMi0o:
$this->db->trans_complete();
goto zEIn5;
ZJ7o_:
if ($generated > 0 && $result) {
goto In8ld;
}
goto xSUXp;
pMsta:
In8ld:
goto W1lvf;
zEIn5:
$sukses = $generated > 0 && $result;
goto ZJ7o_;
NAX0n:
$this->load->model("\104\141\163\150\142\x6f\x61\162\x64\137\x6d\157\144\x65\x6c", "\x64\x61\x73\x68\142\157\141\162\144");
goto T4MaQ;
b5jQ0:
$jadwals = $this->cbt->getJadwalByArrId($ids);
goto LZyv9;
zOC2F:
$ids = json_decode($this->input->post("\x69\144\163", true));
goto vfFok;
W1lvf:
$this->session->set_flashdata("\x72\145\153\x61\160\x6e\151\154\141\x69", "\74\x64\x69\166\40\151\x64\75\42\x66\154\x61\163\150\x64\141\x74\141\42\40\143\154\141\163\163\x3d\x22\141\154\145\162\164\40\x61\x6c\x65\162\164\x2d\144\x65\146\x61\165\154\164\55\x73\165\x63\x63\x65\x73\x73\x20\141\154\151\x67\156\55\x63\x6f\156\x74\x65\156\164\x2d\143\x65\156\x74\145\162\x20\x77\x2d\61\60\60\42\x20\162\157\x6c\x65\75\42\141\154\145\162\x74\42\x3e\40\x42\145\x72\150\141\x73\151\154\x20\x6d\145\162\145\153\141\160\x20\74\x62\x3e" . count($ids) . "\74\57\142\x3e\x20\156\x69\154\141\x69\40\x3c\57\x64\x69\x76\x3e");
goto Tx8qf;
T4MaQ:
$this->load->model("\103\142\x74\x5f\x6d\157\144\x65\x6c", "\143\x62\x74");
goto MyASn;
Bpaq3:
$save = false;
goto gECUq;
R6cra:
$this->db->trans_start();
goto gYmHF;
vfFok:
sleep(1);
goto sAHST;
xSUXp:
$this->session->set_flashdata("\x72\x65\x6b\141\x70\x6e\x69\154\x61\x69", "\x3c\x64\151\166\40\x69\x64\x3d\42\146\154\141\x73\x68\x64\141\x74\x61\42\x20\143\x6c\141\163\x73\x3d\x22\x61\154\x65\162\164\x20\141\154\x65\162\x74\55\144\x65\146\x61\165\154\164\55\x64\x61\x6e\x67\x65\162\40\141\x6c\151\147\156\55\143\x6f\156\x74\145\x6e\x74\55\143\145\156\x74\x65\x72\40\x77\55\x31\60\x30\42\40\162\x6f\154\145\x3d\x22\141\154\145\x72\164\42\76\112\141\x64\x77\x61\x6c\x20\x55\152\151\x61\156\40\x6d\x61\x73\151\150\40\x62\x65\x72\x6c\x61\156\x67\x73\x75\156\x67\x2c\x20" . $save . "\x20\156\151\154\x61\151\40\x73\x69\163\167\141\40\142\x65\x72\150\141\163\x69\x6c\40\x64\x69\x72\145\153\141\x70\56\74\x62\x72\x3e\102\145\142\145\162\141\x70\141\40\x73\151\x73\x77\x61\40\x62\145\x6c\165\x6d\40\163\x65\x6c\x65\x73\x61\151\x20\141\x74\141\x75\x20\x62\145\154\165\155\40\x64\x69\x6b\157\162\145\153\163\151\x3c\x2f\x64\x69\x76\x3e");
goto snfS4;
snfS4:
goto sowUY;
goto pMsta;
Tx8qf:
sowUY:
goto K3LqT;
dDy92:
foreach ($jadwals as $jadwal) {
goto iY1pf;
alXEr:
jI6L5:
goto sD7xR;
bi3nd:
R3MAD:
goto N031q;
Nb_7F:
$jodb = [];
goto VSrvP;
BqSS9:
$jawabans = $this->cbt->getIdSiswaFromJawabanByJadwal($jadwal->id_jadwal);
goto uStMX;
O0zjh:
$generated++;
goto WgLhN;
eoqMY:
$pg2b = [];
goto Nb_7F;
MaxRR:
$arrkelas = [];
goto cT9aY;
JJPat:
$soals = $this->cbt->getNomorSoalByBank($jadwal->id_bank);
goto JQuIH;
ZaFGg:
$soal_isian = ["\x74\x61\155\x70\151\154" => $jadwal->tampil_isian, "\142\157\x62\x6f\x74" => $jadwal->bobot_isian, "\152\x61\x77\141\142\x61\x6e" => $isb];
goto qCp35;
VSrvP:
$isb = [];
goto Ie_wf;
qCp35:
$soal_essai = ["\164\141\x6d\x70\151\x6c" => $jadwal->tampil_esai, "\x62\157\142\x6f\164" => $jadwal->bobot_esai, "\152\141\x77\141\x62\141\156" => $esb];
goto ZybiJ;
K7J3u:
$save = $this->master->create("\x63\x62\164\137\x72\145\153\x61\160\137\156\x69\x6c\141\151", $nilai, true);
goto alXEr;
uStMX:
$nilais = $this->cbt->getAllNilaiSiswa($jadwal->id_jadwal);
goto FRYaV;
wI_MU:
$kelass = unserialize($jadwal->bank_kelas);
goto MaxRR;
G8y4M:
NnIsK:
goto vl70E;
df2SN:
$this->db->set("\162\145\x6b\x61\160", 1);
goto XVrli;
WgLhN:
bC_DF:
goto JJPat;
abgpP:
$siswas = $this->cbt->getSiswaByKelasArray($id_tp->id_tp, $id_smt->id_smt, $arrkelas);
goto obESv;
Wq9XC:
$soal_jodohkan = ["\x74\141\x6d\x70\151\x6c" => $jadwal->tampil_jodohkan, "\142\157\x62\157\x74" => $jadwal->bobot_jodohkan, "\x6a\141\x77\x61\142\x61\156" => $jodb];
goto ZaFGg;
ENo5V:
$tahun = $id_tp->tahun;
goto CcrUl;
XrW2M:
foreach ($soals as $id => $soal) {
goto D0SiJ;
dPlEC:
goto rrVSd;
goto NecSN;
gUq81:
iOhJU:
goto BY56y;
vt4ou:
goto rrVSd;
goto YDbyu;
BY56y:
array_push($pgb, ["\156\x6f\137\x73\x6f\141\x6c" => $id, "\152\141\x77\x61\142" => $soal->jawaban]);
goto y7Pzs;
g20pA:
array_push($esb, ["\156\157\137\163\x6f\x61\x6c" => $id, "\152\141\167\x61\142" => $soal->jawaban]);
goto T_R00;
ELyfa:
Bvl5c:
goto d0oRG;
c2o2Q:
array_push($pg2b, ["\x6e\157\x5f\x73\157\141\154" => $id, "\x6a\141\167\x61\x62" => $soal->jawaban]);
goto WdT1w;
bKEVv:
M7NXL:
goto c2o2Q;
tgCrN:
goto rrVSd;
goto gUq81;
WdT1w:
goto rrVSd;
goto pWfNN;
D0SiJ:
if ($soal->jenis == "\61") {
goto iOhJU;
}
goto O_nAn;
T_R00:
rrVSd:
goto ELyfa;
pWfNN:
PUjqe:
goto It0Er;
It0Er:
array_push($jodb, ["\x6e\157\137\163\x6f\x61\x6c" => $id, "\152\141\x77\141\142" => $soal->jawaban]);
goto dPlEC;
YDbyu:
aqWQg:
goto g20pA;
rru1K:
if ($soal->jenis == "\x35") {
goto aqWQg;
}
goto tgCrN;
gQV_q:
array_push($isb, ["\x6e\157\137\163\x6f\x61\x6c" => $id, "\x6a\x61\167\x61\x62" => $soal->jawaban]);
goto vt4ou;
NecSN:
k7uym:
goto gQV_q;
VD_yQ:
if ($soal->jenis == "\63") {
goto PUjqe;
}
goto n4vhE;
n4vhE:
if ($soal->jenis == "\64") {
goto k7uym;
}
goto rru1K;
y7Pzs:
goto rrVSd;
goto bKEVv;
O_nAn:
if ($soal->jenis == "\62") {
goto M7NXL;
}
goto VD_yQ;
d0oRG:
}
goto ouVPD;
tGKxt:
foreach ($siswas as $siswa) {
goto jccTt;
eZSR2:
JBLmO:
goto O2aXa;
t4tVE:
NxCNS:
goto f4bp8;
t0Qz6:
$skor_es = 0;
goto HNY46;
P3gYN:
$skor_pg = $nilais[$siswa->id_siswa]->pg_nilai;
goto bO99P;
NHab2:
$skor_es = $nilais[$siswa->id_siswa]->essai_nilai;
goto oI5q5;
RMLjR:
if (!isset($jawabans[$siswa->id_siswa])) {
goto NxCNS;
}
goto VLOFk;
V8R3o:
$skor_jod = 0;
goto qutsQ;
fRzdl:
$ess = [];
goto RMLjR;
QajPD:
$iss = [];
goto fRzdl;
RWp8V:
$soal_es = ["\142\x6f\142\x6f\x74" => $jadwal->bobot_esai, "\x6a\141\167\x61\142\x61\156" => $ess, "\156\x69\x6c\x61\x69" => $skor_es];
goto O7w37;
DwvOI:
$benar_pg = $nilais[$siswa->id_siswa]->pg_benar;
goto imwyo;
O7w37:
$nilai[] = ["\x69\x64\137\152\141\144\167\x61\x6c" => $jadwal->id_jadwal, "\x69\x64\137\x74\160" => $id_tp->id_tp, "\x74\160" => $tahun, "\x69\144\x5f\x73\155\x74" => $id_smt->id_smt, "\x73\155\x74" => $smt, "\151\x64\137\152\x65\x6e\x69\x73" => $jadwal->id_jenis, "\x6b\x6f\144\x65\x5f\152\145\156\151\x73" => $jadwal->kode_jenis, "\x69\x64\137\142\141\x6e\153" => $jadwal->id_bank, "\151\x64\x5f\155\141\160\x65\154" => $jadwal->id_mapel, "\x69\x64\x5f\163\x69\163\167\x61" => $siswa->id_siswa, "\x6e\x61\x6d\x61\x5f\x73\x69\163\x77\x61" => $siswa->nama, "\156\x6f\137\x70\x65\x73\x65\x72\x74\x61" => $siswa->nomor_peserta, "\151\144\137\153\145\154\x61\163" => $siswa->id_kelas, "\153\145\x6c\x61\163" => $siswa->nama_kelas, "\x6d\x75\x6c\x61\x69" => isset($durasies[$siswa->id_siswa]) ? $durasies[$siswa->id_siswa]->mulai : '', "\163\x65\x6c\145\163\141\x69" => isset($durasies[$siswa->id_siswa]) ? $durasies[$siswa->id_siswa]->selesai : '', "\144\x75\x72\141\163\151" => isset($durasies[$siswa->id_siswa]) ? $durasies[$siswa->id_siswa]->lama_ujian : '', "\142\x6f\142\x6f\164\137\160\x67" => $jadwal->bobot_pg, "\x6a\x61\x77\141\142\x61\156\137\x70\147" => serialize($pgs), "\156\x69\154\x61\151\137\160\x67" => round($skor_pg, 2), "\163\157\x61\x6c\137\153\x6f\x6d\x70\x6c\145\153\163" => serialize($soal_pg2), "\x73\x6f\x61\154\x5f\x6a\157\x64\x6f\x68\153\x61\156" => serialize($soal_jod), "\x73\157\x61\x6c\x5f\151\x73\x69\x61\156" => serialize($soal_is), "\163\x6f\141\154\x5f\x65\163\x73\x61\x69" => serialize($soal_es), "\151\x64\x5f\147\x75\162\165" => $jadwal->id_guru];
goto eZSR2;
Jr7aX:
$skor_jod = $nilais[$siswa->id_siswa]->jodohkan_nilai;
goto JN0Qv;
VLOFk:
foreach ($jawabans[$siswa->id_siswa] as $jawaban) {
goto hOsTy;
LjrF1:
F2jJd:
goto I0vdJ;
SCA3U:
Rd_HZ:
goto Rw6g2;
p6o8P:
goto Rq6Ju;
goto uWwTy;
hOsTy:
if ($jawaban->jenis_soal == "\x31") {
goto F2jJd;
}
goto KMtS4;
XaVYT:
if ($jawaban->jenis_soal == "\63") {
goto ab03_;
}
goto e_z0s;
uWwTy:
ab03_:
goto DS2oN;
mkqfA:
array_push($ess, ["\156\x6f\137\x73\x6f\x61\x6c" => $jawaban->id_soal, "\152\141\167\141\142" => $jawaban->jawaban_siswa]);
goto bm6S7;
G0Doc:
sSIPT:
goto mkqfA;
cZFWq:
bKI2L:
goto AdkMN;
DS2oN:
array_push($jods, ["\156\x6f\x5f\163\x6f\141\x6c" => $jawaban->id_soal, "\152\x61\x77\x61\x62" => $jawaban->jawaban_siswa]);
goto R49eL;
gkEke:
if ($jawaban->jenis_soal == "\65") {
goto sSIPT;
}
goto TU7I_;
bm6S7:
Rq6Ju:
goto cZFWq;
Sq5e6:
goto Rq6Ju;
goto d3_Zu;
I0vdJ:
array_push($pgs, ["\156\x6f\137\x73\157\141\154" => $jawaban->id_soal, "\152\x61\x77\141\142" => $jawaban->jawaban_siswa]);
goto Sq5e6;
P02xV:
goto Rq6Ju;
goto G0Doc;
e_z0s:
if ($jawaban->jenis_soal == "\64") {
goto Rd_HZ;
}
goto gkEke;
R49eL:
goto Rq6Ju;
goto SCA3U;
TU7I_:
goto Rq6Ju;
goto LjrF1;
ZaTZE:
array_push($pg2s, ["\x6e\157\137\163\157\141\154" => $jawaban->id_soal, "\152\x61\167\x61\x62" => $jawaban->jawaban_siswa]);
goto p6o8P;
KMtS4:
if ($jawaban->jenis_soal == "\62") {
goto FlK3d;
}
goto XaVYT;
Rw6g2:
array_push($iss, ["\x6e\x6f\137\x73\157\141\x6c" => $jawaban->id_soal, "\x6a\141\x77\x61\x62" => $jawaban->jawaban_siswa]);
goto P02xV;
d3_Zu:
FlK3d:
goto ZaTZE;
AdkMN:
}
goto iYAlP;
HNY46:
if (!isset($nilais[$siswa->id_siswa])) {
goto ZKdZm;
}
goto SWgYW;
SWgYW:
array_push($dikoreksi, $nilais[$siswa->id_siswa]->dikoreksi);
goto DwvOI;
tPIKb:
$pgs = [];
goto Gn7dX;
rhMwJ:
$soal_jod = ["\142\157\x62\x6f\164" => $jadwal->bobot_jodohkan, "\152\141\167\x61\142\x61\156" => $jods, "\x6e\x69\154\141\x69" => $skor_jod];
goto rXik2;
Uc9Ic:
$salah_pg = 0;
goto Vm7c1;
bO99P:
$skor_pg2 = $nilais[$siswa->id_siswa]->kompleks_nilai;
goto Jr7aX;
iYAlP:
y6dJ_:
goto t4tVE;
jccTt:
$dikoreksi = [];
goto I2WuQ;
qutsQ:
$skor_is = 0;
goto t0Qz6;
Gn7dX:
$pg2s = [];
goto owDoR;
I2WuQ:
$benar_pg = 0;
goto Uc9Ic;
owDoR:
$jods = [];
goto QajPD;
imwyo:
$salah_pg = $jadwal->tampil_pg - $benar_pg;
goto P3gYN;
Vm7c1:
$skor_pg = 0;
goto OAYjZ;
oI5q5:
ZKdZm:
goto tPIKb;
OAYjZ:
$skor_pg2 = 0;
goto V8R3o;
rXik2:
$soal_is = ["\142\157\142\157\164" => $jadwal->bobot_isian, "\152\141\167\x61\x62\x61\156" => $iss, "\156\151\x6c\x61\x69" => $skor_is];
goto RWp8V;
f4bp8:
$soal_pg2 = ["\142\157\x62\157\164" => $jadwal->bobot_kompleks, "\152\x61\167\x61\142\141\x6e" => $pg2s, "\156\151\x6c\141\151" => $skor_pg2];
goto rhMwJ;
JN0Qv:
$skor_is = $nilais[$siswa->id_siswa]->isian_nilai;
goto NHab2;
O2aXa:
}
goto bi3nd;
ZybiJ:
$this->db->where("\x69\x64\137\152\141\x64\167\x61\x6c", $jadwal->id_jadwal);
goto fOg3B;
iY1pf:
$terpakai = isset($jadwal_dikerjakan[$jadwal->id_jadwal]) && count($jadwal_dikerjakan[$jadwal->id_jadwal]) > 0;
goto NpAmz;
N031q:
$this->db->where("\x69\x64\137\x6a\x61\x64\167\x61\154", $jadwal->id_jadwal);
goto aNjlg;
UoDjw:
$result = $this->db->insert("\143\142\x74\x5f\x72\x65\x6b\141\160", $insert);
goto gl9zV;
obESv:
$arrSiswa = [];
goto oXeop;
M6Y1H:
GZRku:
goto eQy9z;
WdE1o:
hFQkJ:
goto abgpP;
eQy9z:
$durasies = $this->cbt->getIdSiswaFromDurasiByJadwal($jadwal->id_jadwal);
goto BqSS9;
vl70E:
$nama_kelas = $this->dropdown->getAllKelasByArrayId($id_tp->id_tp, $id_smt->id_smt, $arrkelas);
goto peVXJ;
fl3Nn:
$insert = ["\x69\144\137\x74\x70" => $id_tp->id_tp, "\x74\x70" => $tahun, "\x69\x64\x5f\163\x6d\x74" => $id_smt->id_smt, "\x73\155\164" => $smt, "\151\144\137\x6a\141\x64\167\141\154" => $jadwal->id_jadwal, "\x69\x64\x5f\x6a\145\156\x69\x73" => $jadwal->id_jenis, "\x6b\157\x64\145\137\x6a\x65\156\x69\x73" => $jadwal->kode_jenis, "\151\x64\x5f\142\x61\156\x6b" => $jadwal->id_bank, "\x62\141\156\x6b\x5f\x6b\x6f\x64\145" => $jadwal->bank_kode, "\142\141\x6e\x6b\137\153\145\154\x61\x73" => $jadwal->bank_kelas, "\x6e\141\155\141\x5f\153\x65\154\x61\163" => serialize($nama_kelas), "\142\141\x6e\153\x5f\x6c\145\166\x65\154" => $jadwal->bank_level, "\x69\x64\137\155\141\160\x65\154" => $jadwal->id_mapel, "\x6e\x61\155\141\x5f\x6d\x61\160\145\154" => $jadwal->nama_mapel, "\153\x6f\144\145" => $jadwal->kode, "\x74\147\154\x5f\x6d\165\x6c\x61\x69" => $jadwal->tgl_mulai, "\x74\147\x6c\137\x73\x65\x6c\145\x73\141\151" => $jadwal->tgl_selesai, "\164\x61\155\x70\151\x6c\137\x70\147" => $jadwal->tampil_pg, "\152\141\167\x61\142\141\x6e\137\x70\x67" => serialize($pgb), "\x62\157\x62\x6f\164\137\160\147" => $jadwal->bobot_pg, "\163\157\x61\154\137\153\x6f\x6d\x70\x6c\x65\x6b\x73" => serialize($soal_kompleks), "\x73\157\141\154\x5f\152\x6f\x64\x6f\x68\153\x61\x6e" => serialize($soal_jodohkan), "\x73\x6f\141\x6c\x5f\x69\x73\x69\141\x6e" => serialize($soal_isian), "\163\157\x61\x6c\137\x65\163\163\141\x69" => serialize($soal_essai), "\x69\x64\x5f\147\165\x72\165" => $jadwal->id_guru, "\156\141\155\141\137\147\165\162\165" => $jadwal->nama_guru];
goto UoDjw;
Je89m:
if (!$gen) {
goto bC_DF;
}
goto O0zjh;
Iqm1t:
$this->db->update("\x63\142\164\x5f\152\141\x64\167\141\x6c");
goto WdE1o;
gl9zV:
if (!$result) {
goto hFQkJ;
}
goto df2SN;
FRYaV:
$nilai = [];
goto tGKxt;
JQuIH:
$id_tp = $this->dashboard->getTahunById($jadwal->id_tp);
goto yxkAY;
I_9z7:
$gen = $this->generateNilaiUjian($jadwal->id_jadwal);
goto Je89m;
fOg3B:
$this->db->delete("\143\142\164\137\162\145\153\x61\x70");
goto fl3Nn;
tFcdn:
$soal_kompleks = ["\x74\141\155\x70\x69\154" => $jadwal->tampil_kompleks, "\142\x6f\142\x6f\164" => $jadwal->bobot_kompleks, "\152\141\167\x61\x62\x61\156" => $pg2b];
goto Wq9XC;
CcrUl:
$smt = $id_smt->nama_smt;
goto wI_MU;
ouVPD:
SNh_G:
goto tFcdn;
peVXJ:
$pgb = [];
goto eoqMY;
XVrli:
$this->db->where("\151\x64\137\152\x61\144\x77\141\x6c", $jadwal->id_jadwal);
goto Iqm1t;
Ie_wf:
$esb = [];
goto XrW2M;
aNjlg:
$this->db->delete("\x63\x62\164\x5f\162\x65\153\141\x70\x5f\156\151\154\141\x69");
goto K7J3u;
NpAmz:
if (!$terpakai) {
goto jI6L5;
}
goto I_9z7;
yxkAY:
$id_smt = $this->dashboard->getSemesterById($jadwal->id_smt);
goto ENo5V;
cT9aY:
foreach ($kelass as $kls) {
goto ANAjg;
ou3J5:
Wh1DA:
goto kZwPd;
PyIYl:
array_push($arrkelas, $kls["\153\145\x6c\x61\163\x5f\x69\144"]);
goto ou3J5;
ANAjg:
if (!($kls["\x6b\145\154\141\163\x5f\151\144"] != null)) {
goto Wh1DA;
}
goto PyIYl;
kZwPd:
M0ux5:
goto kPLBo;
kPLBo:
}
goto G8y4M;
oXeop:
foreach ($siswas as $siswa) {
array_push($arrSiswa, $siswa->id_siswa);
zBafd:
}
goto M6Y1H;
sD7xR:
CSq2o:
goto DjzO2;
DjzO2:
}
goto UpYR6;
RStWS:
$result = false;
goto Bpaq3;
LZyv9:
$data["\x6a\x61\x64\x77\141\x6c"] = $jadwals;
goto RStWS;
gECUq:
$generated = 0;
goto dDy92;
sAHST:
$data["\x74\157\x74\141\154"] = count($ids);
goto R6cra;
K3LqT:
$this->output_json(true);
goto clQe2;
MyASn:
$this->load->model("\104\x72\157\x70\x64\x6f\167\x6e\x5f\x6d\157\x64\145\154", "\144\x72\157\160\x64\x6f\x77\x6e");
goto zOC2F;
ftF_1:
$this->load->model("\x4d\141\163\164\145\162\x5f\155\x6f\x64\x65\154", "\155\x61\163\x74\x65\x72");
goto NAX0n;
clQe2:
}
public function hapusRekap()
{
goto b3RJI;
d9_sb:
D72zx:
goto KwD7h;
MbFlb:
$data["\163\165\x63\143\145\163\163"] = $delNilai && $delRekap;
goto oRBrX;
ZiJ8y:
$this->db->where_in("\151\x64\x5f\152\x61\x64\x77\141\154", $ids);
goto ZrJzc;
wvJ_2:
$data["\164\x6f\x74\x61\154"] = count($ids);
goto ZiJ8y;
Txd6l:
$this->session->set_flashdata("\x72\145\153\141\160\x6e\x69\x6c\x61\151", "\x3c\x64\151\x76\x20\151\x64\x3d\x22\x66\154\141\x73\150\144\141\164\x61\x22\40\x63\154\x61\163\x73\x3d\42\141\154\145\162\x74\40\x61\x6c\x65\162\x74\x2d\144\x65\146\141\165\x6c\164\55\144\141\156\147\145\162\40\x61\x6c\x69\147\156\x2d\x63\157\156\164\x65\156\164\x2d\x63\x65\156\x74\x65\162\40\167\55\61\x30\60\x22\40\162\x6f\x6c\145\x3d\x22\141\x6c\x65\162\164\x22\76\40\x48\x61\x70\165\163\40\x6e\x69\154\141\151\40\x67\x61\147\x61\154\x20\74\57\x64\x69\x76\x3e");
goto k42xq;
k42xq:
goto O0vJj;
goto d9_sb;
ZrJzc:
$delRekap = $this->db->delete("\x63\x62\x74\137\162\x65\153\x61\160");
goto XfciK;
oRBrX:
$this->output_json($data);
goto oCC2i;
bovwM:
if ($delNilai && $delRekap) {
goto D72zx;
}
goto Txd6l;
XfciK:
$this->db->where_in("\x69\144\x5f\152\x61\x64\167\141\154", $ids);
goto U15ur;
omjz4:
sleep(1);
goto wvJ_2;
b3RJI:
$ids = json_decode($this->input->post("\151\x64\163", true));
goto omjz4;
KwD7h:
$this->session->set_flashdata("\162\x65\153\x61\160\156\151\154\x61\151", "\x3c\x64\151\166\40\x69\x64\75\42\146\154\x61\x73\x68\x64\x61\164\x61\42\x20\x63\x6c\x61\163\163\x3d\42\x61\154\145\x72\x74\x20\141\154\145\x72\164\x2d\144\145\146\x61\x75\154\x74\x2d\x73\x75\143\x63\145\163\163\x20\141\154\x69\x67\156\x2d\x63\157\x6e\164\145\156\164\55\143\x65\156\x74\145\162\x20\167\x2d\x31\x30\60\x22\x20\x72\157\154\145\x3d\x22\x61\x6c\x65\162\x74\x22\76\x20\x42\x65\162\x68\141\163\151\154\x20\x6d\x65\156\x67\150\141\160\165\x73\40\74\142\76" . count($ids) . "\x3c\x2f\x62\x3e\40\156\x69\154\x61\151\x20\74\57\x64\x69\x76\76");
goto y3jZZ;
y3jZZ:
O0vJj:
goto MbFlb;
U15ur:
$delNilai = $this->db->delete("\x63\x62\164\137\x72\145\x6b\x61\160\137\156\151\x6c\x61\x69");
goto bovwM;
oCC2i:
}
function getDataFromArray1ByUserId($array, $userId)
{
goto IL3sk;
X5qCp:
return array();
goto yDsVf;
yb3by:
zjNxh:
goto X5qCp;
IL3sk:
foreach ($array as $key => $data) {
goto sTpdc;
yi7C2:
nCTPU:
goto Xepj_;
sTpdc:
if (!($data->id_siswa == $userId)) {
goto nCTPU;
}
goto vYq3u;
vYq3u:
return $array;
goto yi7C2;
Xepj_:
MGIxd:
goto VIDbk;
VIDbk:
}
goto yb3by;
yDsVf:
}
public function getJenisPenilaian()
{
goto RK_5H;
RK_5H:
$this->load->model("\103\142\164\137\155\x6f\144\145\x6c", "\143\x62\x74");
goto HC686;
XRrtf:
$smt = $this->input->get("\x73\x6d\x74");
goto nZOPC;
HC686:
$tahun = $this->input->get("\164\141\150\165\x6e");
goto XRrtf;
nZOPC:
$jadwals = $this->cbt->getJenisRekap($tahun, $smt);
goto hhdG_;
hhdG_:
}
public function getNilaiKelas()
{
goto HYXH1;
q8iGu:
foreach ($rekaps as $rekap) {
goto J14ro;
kl88Y:
$arrSiswa[$rekap->id_siswa] = ["\x69\144\x5f\x73\x69\163\x77\141" => $rekap->id_siswa, "\156\157\155\157\162\137\160\x65\x73\145\x72\x74\x61" => $rekap->nomor_peserta, "\x6e\x61\x6d\141" => $rekap->nama];
goto zIDRI;
yGsmW:
$rekap->soal_essai = json_decode(json_encode(unserialize($rekap->soal_essai)));
goto kl88Y;
whl5O:
$rekap->soal_kompleks = json_decode(json_encode(unserialize($rekap->soal_kompleks)));
goto u9k0D;
zIDRI:
EW6nF:
goto zYzy4;
ic4rf:
$rekap->soal_isian = json_decode(json_encode(unserialize($rekap->soal_isian)));
goto yGsmW;
u9k0D:
$rekap->soal_jodohkan = json_decode(json_encode(unserialize($rekap->soal_jodohkan)));
goto ic4rf;
J14ro:
$rekap->jawaban_pg = $this->unserialize_with_key($rekap->jawaban_pg);
goto whl5O;
zYzy4:
}
goto TCSgc;
bZBfi:
$level = $this->master->getKelasById($kelas);
goto RhwJe;
Mitto:
$this->load->model("\x44\141\163\x68\x62\157\x61\162\x64\x5f\155\x6f\x64\145\x6c", "\x64\x61\163\x68\142\x6f\x61\162\144");
goto Q2jM4;
ccyMI:
if (!(count($rekaps) > 0)) {
goto Qk8F4;
}
goto q8iGu;
TCSgc:
ZbBWs:
goto i9HjY;
wgvgI:
$kelas = $this->input->get("\153\x65\x6c\141\163");
goto bZBfi;
kJ_iv:
$data["\x69\x6e\x66\x6f"] = array_values($jadwals);
goto E7ikM;
zZtHX:
if ($this->ion_auth->is_admin()) {
goto rkYjC;
}
goto jWxZw;
Q_rSh:
ZziMP:
goto IpsL0;
jWxZw:
$tpg = $this->dashboard->getTahunByTahun($tahun);
goto x5k9A;
mOvRy:
goto R0IAt;
goto c1nNq;
yZDOr:
Zwohc:
goto ylc0C;
Q2jM4:
$this->load->model("\x43\142\x74\137\155\x6f\144\x65\x6c", "\143\x62\x74");
goto wgvgI;
dOI43:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $tpg->id_tp, $smtg->id_smt);
goto JQ2zh;
R1Gcy:
foreach ($jadwals as $key => $jadwal) {
goto Trmxf;
Trmxf:
$jadwal->bank_kelas = unserialize($jadwal->bank_kelas);
goto JgFJU;
ihjQQ:
unset($jadwals[$key]);
goto bjzVu;
GfZ30:
s0yTE:
goto aDNWY;
ZwOpy:
tm953:
goto brGv2;
xcMYS:
foreach ($jadwal->bank_kelas as $id) {
array_push($ids, $id["\x6b\x65\x6c\141\163\x5f\x69\144"]);
V3eTG:
}
goto GfZ30;
bjzVu:
gmKpO:
goto ZwOpy;
oKewV:
$jadwal->jawaban_esai = unserialize($jadwal->jawaban_esai);
goto VO2_N;
aDNWY:
if (in_array($kelas, $ids)) {
goto gmKpO;
}
goto ihjQQ;
VO2_N:
$ids = [];
goto xcMYS;
JgFJU:
$jadwal->jawaban_pg = unserialize($jadwal->jawaban_pg);
goto oKewV;
brGv2:
}
goto Q_rSh;
ylc0C:
$data["\x73\x69\x73\x77\141"] = $arrSiswa;
goto A9Cqb;
E7ikM:
$this->output_json($data);
goto Rn_J3;
BvWKs:
$mapel = $this->input->get("\155\x61\160\x65\x6c");
goto FjsgB;
yMFjl:
foreach ($rekaps as $key => $item) {
$arrNilai[$item->id_siswa][$item->id_mapel] = $item;
MUDo0:
}
goto yZDOr;
A9Cqb:
$data["\x6e\151\x6c\141\x69"] = $arrNilai;
goto kJ_iv;
RhwJe:
$jenis = $this->input->get("\x6a\145\156\x69\163");
goto qmUmo;
ca1G5:
v2RPn:
goto hkgM8;
HYXH1:
$this->load->model("\x4d\141\163\x74\x65\162\x5f\155\157\144\145\x6c", "\155\141\x73\164\x65\x72");
goto Mitto;
qmUmo:
$tahun = $this->input->get("\x74\x61\150\x75\x6e");
goto yb0Le;
I855K:
$arrSiswa = [];
goto ccyMI;
E5VQS:
R0IAt:
goto I855K;
yb0Le:
$smt = $this->input->get("\x73\155\x74");
goto BvWKs;
ozR5f:
foreach ($jadwals as $key => $jadwal) {
goto HZGaZ;
WXy78:
$jadwal->jawaban_esai = unserialize($jadwal->jawaban_esai);
goto foONz;
HZGaZ:
$jadwal->bank_kelas = unserialize($jadwal->bank_kelas);
goto bjaZz;
fr9CT:
foreach ($jadwal->bank_kelas as $id) {
array_push($ids, $id["\x6b\x65\x6c\141\x73\x5f\151\x64"]);
qe8kD:
}
goto TH4EP;
PMPbf:
IawoT:
goto NTMtj;
foONz:
$ids = [];
goto fr9CT;
bjaZz:
$jadwal->jawaban_pg = unserialize($jadwal->jawaban_pg);
goto WXy78;
xm_8j:
if (in_array($kelas, $ids)) {
goto IawoT;
}
goto hg8RK;
NTMtj:
Q2YX9:
goto BMa3S;
hg8RK:
unset($jadwals[$key]);
goto PMPbf;
TH4EP:
MbQ50:
goto xm_8j;
BMa3S:
}
goto ca1G5;
i9HjY:
Qk8F4:
goto wnDFB;
qFNXh:
$arrNilai = [];
goto yMFjl;
S6E2J:
$jadwals = $this->cbt->getAllRekapByJenis($tahun, $smt, $jenis, $level->level_id, $mapel);
goto ozR5f;
FjsgB:
$user = $this->ion_auth->user()->row();
goto zZtHX;
c1nNq:
rkYjC:
goto S6E2J;
wnDFB:
usort($arrSiswa, function ($a, $b) {
return $a["\156\141\155\x61"] <=> $b["\156\141\155\141"];
});
goto qFNXh;
x5k9A:
$smtg = $this->dashboard->getSemesterByNama($smt);
goto dOI43;
JQ2zh:
$jadwals = $this->cbt->getAllRekapByJenis($tahun, $smt, $jenis, $level->level_id, $mapel, null, $guru->id_guru);
goto R1Gcy;
hkgM8:
$rekaps = $this->cbt->getAllNilaiRekapByJenis($tahun, $smt, $jenis, $kelas, $mapel);
goto E5VQS;
IpsL0:
$rekaps = $this->cbt->getAllNilaiRekapByJenis($tahun, $smt, $jenis, $kelas, $mapel, null, $guru->id_guru);
goto mOvRy;
Rn_J3:
}
public function olahNilai()
{
goto C8Qo6;
v3Au4:
ngjdR:
goto FC73F;
FC73F:
$data["\163\x69\163\x77\141\x73"] = $siswas;
goto CzKWa;
CzKWa:
$ya = $this->input->get("\x79\x61");
goto Gn1HB;
Fce3j:
$data["\x63\157\156\x76\145\162\164"] = $convert;
goto qxUxw;
X8wYa:
Fdan4:
goto AzF1g;
RZchY:
$this->load->view("\x6d\145\155\142\145\162\x73\57\x67\165\162\x75\x2f\x74\145\x6d\160\x6c\141\x74\145\x73\x2f\x68\145\x61\144\145\x72", $data);
goto LJEtj;
KOzkq:
$data["\x67\x75\x72\165"] = $guru;
goto Mek_r;
q0G36:
$tp = $this->dashboard->getTahunActive();
goto ILGn7;
xqi2C:
$siswas = $this->cbt->getAllNilaiRekapByJenis($rekap->tp, $rekap->smt, $rekap->kode_jenis, $kelas, "\x30", $jadwal, $guru->id_guru);
goto FRpEr;
VIWx3:
$ya = $this->input->get("\x79\141");
goto w55LE;
LJEtj:
$this->load->view("\143\142\x74\57\162\145\153\141\x70\x2f\x6f\x6c\x61\150");
goto LtNPE;
qxUxw:
Thtop:
goto nZRc2;
zmIxi:
$user = $this->ion_auth->user()->row();
goto mJt0r;
mDp8D:
$data["\163\151\x73\167\x61\163"] = $siswas;
goto VIWx3;
ILGn7:
$smt = $this->dashboard->getSemesterActive();
goto MpAFw;
C6SWz:
$kelas = $this->input->get("\153\x65\154\x61\x73");
goto wUjie;
Yl13A:
Ym4As:
goto Me5vW;
Gn1HB:
$yb = $this->input->get("\171\142");
goto S36nn;
Cm9n7:
if (!($ya != null)) {
goto pHSYq;
}
goto IAZYZ;
ktdQ_:
$data["\x6e\x61\155\x61\x5f\x6b\145\154\141\x73"] = $kelas == null ? "\x53\x69\x6c\x61\x68\153\141\x6e\40\160\x69\154\x69\150\x20\x6b\145\154\141\x73" : $kls[$kelas];
goto NESr0;
FRpEr:
foreach ($siswas as $siswa) {
goto US918;
US918:
$siswa->jawaban_pg = $this->unserialize_with_key($siswa->jawaban_pg);
goto PuMMJ;
THazM:
$siswa->soal_jodohkan = json_decode(json_encode(unserialize($siswa->soal_jodohkan)));
goto FT9jy;
waa47:
$siswa->soal_essai = json_decode(json_encode(unserialize($siswa->soal_essai)));
goto nnI4L;
PuMMJ:
$siswa->soal_kompleks = json_decode(json_encode(unserialize($siswa->soal_kompleks)));
goto THazM;
nnI4L:
UAB9W:
goto HjEf9;
FT9jy:
$siswa->soal_isian = json_decode(json_encode(unserialize($siswa->soal_isian)));
goto waa47;
HjEf9:
}
goto iPS0_;
X0Fcv:
$data["\152\x61\x64\x77\x61\154"] = $this->dropdown->getAllJadwal($tp->id_tp, $smt->id_smt);
goto IP6XF;
AY1Uy:
$data["\153\x65\x6c\141\163\x5f\x73\145\x6c\x65\143\164\x65\x64"] = $kelas;
goto R815A;
nZRc2:
UBUfW:
goto NqI83;
HzW2E:
$data["\155\141\160\x65\154"] = $rekap->id_mapel;
goto ktdQ_;
GUgh1:
$rekap->soal_essai = json_decode(json_encode(unserialize($rekap->soal_essai)));
goto apMJd;
NqI83:
$data["\x6a\x61\x64\167\x61\x6c"] = $this->dropdown->getAllJadwalGuru($tp->id_tp, $smt->id_smt, $guru->id_guru);
goto RZchY;
JOX9N:
$kls = @unserialize($rekap->nama_kelas);
goto owZ7K;
dBEj6:
$xb = $this->input->get("\170\142");
goto l2Kmz;
ltneV:
$data["\164\x70\137\141\143\x74\x69\166\145"] = $tp;
goto QG3Mo;
LgmlG:
pHSYq:
goto nPLkp;
IP6XF:
$this->load->view("\x5f\x74\145\x6d\160\154\141\x74\145\163\57\x64\141\163\x68\x62\x6f\141\x72\144\57\x5f\x68\x65\141\144\145\x72", $data);
goto q7wQg;
ADntN:
$rekap->jawaban_pg = $this->unserialize_with_key($rekap->jawaban_pg);
goto Crbqv;
C8Qo6:
$this->load->model("\115\141\x73\x74\145\162\137\x6d\x6f\x64\x65\x6c", "\x6d\x61\163\x74\145\162");
goto TJg0b;
R815A:
$data["\x6a\141\x64\x77\141\x6c\x5f\x73\145\154\x65\143\164\145\144"] = $jadwal;
goto JOX9N;
wUjie:
$level = $this->master->getKelasById($kelas);
goto njIt1;
l2Kmz:
if (!($ya != null)) {
goto Thtop;
}
goto oRg7l;
LtNPE:
$this->load->view("\155\145\x6d\x62\x65\x72\x73\x2f\147\x75\162\x75\x2f\164\x65\155\x70\154\x61\x74\145\x73\57\x66\157\x6f\164\145\x72");
goto vS4tE;
apMJd:
$data["\162\x65\x6b\x61\x70"] = $rekap;
goto HzW2E;
znjzl:
$xb = $this->input->get("\x78\142");
goto Cm9n7;
gc3F0:
if ($this->ion_auth->is_admin()) {
goto Fdan4;
}
goto mgVWQ;
nPLkp:
LDcXa:
goto cOHFp;
AzF1g:
if (!($kelas != null)) {
goto LDcXa;
}
goto KTHin;
TJg0b:
$this->load->model("\x44\141\x73\x68\142\x6f\x61\x72\x64\x5f\155\x6f\144\145\x6c", "\x64\141\x73\x68\142\157\x61\x72\x64");
goto Ybvkp;
mei1F:
$data["\x63\x6f\x6e\x76\x65\x72\x74"] = $convert;
goto LgmlG;
cOHFp:
$data["\x70\x72\x6f\146\151\154\145"] = $this->dashboard->getProfileAdmin($user->id);
goto X0Fcv;
oRg7l:
$convert = ["\171\x61" => $ya, "\x79\142" => $yb, "\170\x61" => $xa, "\x78\142" => $xb];
goto Fce3j;
H8x7Q:
$this->load->view("\137\164\145\x6d\160\x6c\x61\164\x65\x73\57\144\x61\x73\x68\x62\157\141\162\144\x2f\x5f\x66\x6f\x6f\164\x65\x72");
goto Yl13A;
q7wQg:
$this->load->view("\x63\142\164\57\x72\145\x6b\x61\x70\57\x6f\154\141\x68");
goto H8x7Q;
EAiYQ:
$this->load->model("\x44\x72\x6f\160\x64\157\x77\156\x5f\155\x6f\144\x65\154", "\144\x72\x6f\x70\x64\157\167\x6e");
goto C6SWz;
Mek_r:
if (!($kelas != null)) {
goto UBUfW;
}
goto xqi2C;
ni2ra:
$data["\x73\155\x74\x5f\141\143\164\151\x76\x65"] = $smt;
goto AY1Uy;
w55LE:
$yb = $this->input->get("\x79\142");
goto Dy6FW;
iPS0_:
CZGAA:
goto mDp8D;
MpAFw:
$data["\164\160"] = $this->dashboard->getTahun();
goto ltneV;
mgVWQ:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto KOzkq;
Dy6FW:
$xa = $this->input->get("\x78\x61");
goto dBEj6;
njIt1:
$jadwal = $this->input->get("\x6a\x61\x64\x77\x61\x6c");
goto zmIxi;
aanv7:
$rekap->soal_jodohkan = json_decode(json_encode(unserialize($rekap->soal_jodohkan)));
goto w7jcI;
QG3Mo:
$data["\163\155\164"] = $this->dashboard->getSemester();
goto ni2ra;
KTHin:
$siswas = $this->cbt->getAllNilaiRekapByJenis($rekap->tp, $rekap->smt, $rekap->kode_jenis, $kelas, "\60", $jadwal);
goto VPffY;
w7jcI:
$rekap->soal_isian = json_decode(json_encode(unserialize($rekap->soal_isian)));
goto GUgh1;
owZ7K:
$data["\153\145\154\x61\163"] = $kls;
goto iXSEm;
IAZYZ:
$convert = ["\171\141" => $ya, "\x79\x62" => $yb, "\x78\141" => $xa, "\x78\142" => $xb];
goto mei1F;
vS4tE:
goto Ym4As;
goto X8wYa;
VPffY:
foreach ($siswas as $siswa) {
goto MsDvu;
sJNq0:
$siswa->soal_essai = json_decode(json_encode(unserialize($siswa->soal_essai)));
goto jYjDp;
jYjDp:
gZfx6:
goto NmL8b;
GUQvT:
$siswa->soal_jodohkan = json_decode(json_encode(unserialize($siswa->soal_jodohkan)));
goto MC_4k;
X8J3Y:
$siswa->soal_kompleks = json_decode(json_encode(unserialize($siswa->soal_kompleks)));
goto GUQvT;
MC_4k:
$siswa->soal_isian = json_decode(json_encode(unserialize($siswa->soal_isian)));
goto sJNq0;
MsDvu:
$siswa->jawaban_pg = $this->unserialize_with_key($siswa->jawaban_pg);
goto X8J3Y;
NmL8b:
}
goto v3Au4;
iXSEm:
if (!($rekap != null)) {
goto KVzq8;
}
goto ADntN;
NESr0:
KVzq8:
goto gc3F0;
mJt0r:
$rekap = $this->cbt->getRekapByJadwalKelas($jadwal);
goto RKcxH;
RKcxH:
$data = ["\x75\x73\145\x72" => $user, "\x6a\x75\x64\165\154" => "\x45\153\163\x70\x6f\x72\x20\110\141\x73\151\154\x20\123\x69\163\167\x61", "\163\165\142\152\x75\144\165\x6c" => "\x45\x6b\x73\160\x6f\162\40\x48\141\163\x69\x6c\x20\x53\151\163\x77\x61", "\x73\x65\164\x74\151\x6e\x67" => $this->dashboard->getSetting()];
goto q0G36;
Crbqv:
$rekap->soal_kompleks = json_decode(json_encode(unserialize($rekap->soal_kompleks)));
goto aanv7;
Ybvkp:
$this->load->model("\x43\x62\164\x5f\x6d\157\x64\145\x6c", "\143\x62\x74");
goto EAiYQ;
S36nn:
$xa = $this->input->get("\x78\x61");
goto znjzl;
Me5vW:
}
function unserialize_with_key($serialized)
{
goto e8qgy;
FP73S:
$result = [];
goto EbSrG;
SgLw2:
zdtvl:
goto LflLV;
e8qgy:
$arr = unserialize($serialized);
goto FP73S;
LflLV:
return $result;
goto Jh9ci;
EbSrG:
foreach ($arr as $value) {
$result[$value["\x6e\x6f\137\163\x6f\x61\x6c"]] = $value["\x6a\x61\167\141\142"];
fyQKB:
}
goto SgLw2;
Jh9ci:
}
public function export()
{
goto NsxZ4;
zBs7J:
SOi1U:
goto MxIUL;
zPm1l:
foreach ($jadwals as $jadwal) {
goto u0Ai6;
R1UKh:
i1Q3B:
goto aDjgs;
u0Ai6:
$jadwal->bank_kelas = unserialize($jadwal->bank_kelas);
goto z3gnz;
z3gnz:
$jadwal->nama_kelas = unserialize($jadwal->nama_kelas);
goto R1UKh;
aDjgs:
}
goto wYwDp;
acQ63:
$data["\x73\155\164\x5f\x61\x63\164\x69\166\x65"] = $smt;
goto eHbcB;
UAXnT:
$tp = $this->master->getTahunActive();
goto b9jgR;
j33XT:
$data["\x72\x65\x6b\141\160\163"] = $jadwals;
goto TdT7V;
HvtSJ:
$jadwals = $this->cbt->getAllRekap();
goto zPm1l;
G_rdL:
foreach ($jadwals as $key => $jadwal) {
goto V43M6;
Yanwf:
$jadwal->nama_kelas = unserialize($jadwal->nama_kelas);
goto MnpB1;
MnpB1:
EH3WR:
goto Z60xk;
V43M6:
$jadwal->bank_kelas = unserialize($jadwal->bank_kelas);
goto Yanwf;
Z60xk:
}
goto xfXUJ;
AJTnG:
$data["\163\x65\x6d\x65\163\164\x65\162"] = $this->cbt->getDistinctSmt();
goto GrJsM;
fpmtq:
$this->load->model("\103\x62\164\x5f\x6d\157\144\145\x6c", "\x63\x62\164");
goto mfXOW;
eHbcB:
$data["\x6a\x65\156\151\163"] = $this->cbt->getDistinctJenisUjian();
goto oXAuG;
fCt2k:
$data["\164\160"] = $this->dashboard->getTahun();
goto sTDYn;
FJfpQ:
$this->load->view("\x5f\x74\x65\155\x70\x6c\x61\164\145\x73\57\x64\141\x73\150\142\x6f\141\162\144\57\137\146\157\x6f\164\x65\162");
goto zBs7J;
NV1gE:
$this->load->view("\x6d\x65\155\x62\x65\162\163\57\x67\x75\x72\x75\57\x74\x65\155\x70\154\141\x74\x65\163\57\150\x65\141\144\145\162", $data);
goto ncjLK;
YR6y2:
$data = ["\x75\x73\x65\162" => $user, "\152\165\x64\165\154" => "\x45\153\163\160\157\x72\x20\x48\x61\x73\x69\x6c\x20\120\x65\x6e\151\x6c\141\x69\x61\x6e", "\x73\x75\142\x6a\165\144\165\154" => "\105\x6b\163\160\157\x72\x20\116\x69\154\141\151", "\163\145\x74\164\x69\156\x67" => $this->dashboard->getSetting()];
goto UAXnT;
iUMgj:
V_W4J:
goto HvtSJ;
LQbMg:
$this->load->view("\x6d\145\x6d\142\x65\x72\x73\57\147\x75\162\x75\x2f\x74\x65\155\x70\154\x61\164\x65\x73\57\x66\x6f\x6f\164\145\162");
goto u1mjy;
uZJsu:
$data["\163\155\x74"] = $this->dashboard->getSemester();
goto acQ63;
lM_jp:
$data["\x74\x61\150\165\156\163"] = $this->cbt->getDistinctTahun();
goto AJTnG;
mfXOW:
$user = $this->ion_auth->user()->row();
goto YR6y2;
LJsx_:
$data["\162\x65\153\141\x70\x73"] = $jadwals;
goto Pqj1a;
oXAuG:
$data["\153\145\154\141\x73"] = $this->cbt->getDistinctKelas();
goto lM_jp;
u1mjy:
goto SOi1U;
goto iUMgj;
TGqmW:
$this->load->view("\137\x74\145\x6d\160\x6c\x61\164\x65\x73\57\144\x61\x73\x68\x62\157\x61\162\144\x2f\x5f\150\145\x61\x64\x65\162", $data);
goto CSEOX;
wYwDp:
Ja1XO:
goto LJsx_;
ncjLK:
$this->load->view("\x63\142\x74\57\162\145\x6b\x61\x70\x2f\x65\x6b\x73\x70\157\162");
goto LQbMg;
HCFM4:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto AuSTy;
b9jgR:
$smt = $this->master->getSemesterActive();
goto fCt2k;
GrJsM:
if ($this->ion_auth->is_admin()) {
goto V_W4J;
}
goto HCFM4;
sTDYn:
$data["\x74\160\137\141\x63\164\x69\x76\x65"] = $tp;
goto uZJsu;
Pqj1a:
$data["\160\162\x6f\146\151\x6c\145"] = $this->dashboard->getProfileAdmin($user->id);
goto TGqmW;
AuSTy:
$jadwals = $this->cbt->getAllRekap($guru->id_guru);
goto G_rdL;
CSEOX:
$this->load->view("\143\142\x74\x2f\x72\145\x6b\x61\160\57\x65\x6b\163\x70\157\x72");
goto FJfpQ;
TdT7V:
$data["\147\165\162\x75"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto NV1gE;
NsxZ4:
$this->load->model("\115\x61\163\164\x65\x72\137\155\x6f\144\x65\154", "\155\x61\x73\164\x65\x72");
goto kEZrs;
xfXUJ:
yQpaj:
goto j33XT;
kEZrs:
$this->load->model("\x44\141\163\x68\142\157\141\x72\144\137\155\x6f\x64\x65\154", "\x64\x61\163\x68\x62\x6f\141\x72\x64");
goto fpmtq;
MxIUL:
}
public function generateNilaiUjian($jadwal)
{
goto Whjfz;
USkWO:
$jawabans = $this->cbt->getJawabanByBank($info->id_bank);
goto KOAF8;
rrFK1:
K0ubM:
goto N5hna;
vEo8k:
foreach ($jawabans as $jawaban_siswa) {
goto K0KvF;
YVNg_:
$jawabans_siswa[$jawaban_siswa->id_siswa][$jawaban_siswa->jenis_soal][] = $jawaban_siswa;
goto Vw2z7;
tkNmO:
$jawaban_siswa->jawaban_benar = json_decode(json_encode($jawaban_siswa->jawaban_benar));
goto w7q_s;
BiHGr:
Yacqn:
goto AIsu_;
AIsu_:
if (!($jawaban_siswa->jenis_soal == "\x33")) {
goto aG2QL;
}
goto Uc0la;
AJgK_:
if (!($jawaban_siswa->jenis_soal == "\62")) {
goto Yacqn;
}
goto fpVYN;
ugrk1:
$jawaban_siswa->jawaban_siswa = json_decode(json_encode($jawaban_siswa->jawaban_siswa));
goto tkNmO;
Vw2z7:
$soal[$jawaban_siswa->jenis_soal][] = $jawaban_siswa;
goto tELcF;
GW0rK:
$jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar);
goto xMzGT;
FHIcC:
$jawaban_siswa->jawaban = array_filter($jawaban_siswa->jawaban, "\x73\x74\x72\x6c\145\156");
goto BiHGr;
fpVYN:
$jawaban_siswa->opsi_a = @unserialize($jawaban_siswa->opsi_a);
goto JrvxL;
T1cC8:
$jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar);
goto WVUgC;
uoXYo:
aG2QL:
goto YVNg_;
W7R3K:
$jawaban_siswa->jawaban_benar = array_map("\x73\x74\162\164\157\x75\160\160\x65\162", $jawaban_siswa->jawaban_benar);
goto maI9m;
tELcF:
B3pAt:
goto Slexm;
JrvxL:
$jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa);
goto T1cC8;
fWUqs:
$jawaban_siswa->jawaban = array_map("\163\x74\162\164\157\165\160\x70\145\162", $jawaban_siswa->jawaban);
goto FHIcC;
Slexm:
g7KTq:
goto Tbi3s;
w7q_s:
$jawaban_siswa->jawaban = json_decode(json_encode($jawaban_siswa->jawaban));
goto uoXYo;
maI9m:
$jawaban_siswa->jawaban_benar = array_filter($jawaban_siswa->jawaban_benar, "\x73\164\x72\x6c\x65\x6e");
goto fWUqs;
K0KvF:
if (!($jawaban_siswa->jawaban_siswa != null)) {
goto B3pAt;
}
goto AJgK_;
xMzGT:
$jawaban_siswa->jawaban = @unserialize($jawaban_siswa->jawaban);
goto ugrk1;
WVUgC:
$jawaban_siswa->jawaban = @unserialize($jawaban_siswa->jawaban);
goto W7R3K;
Uc0la:
$jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa);
goto GW0rK;
Tbi3s:
}
goto XK3g4;
ZE9U_:
$bagi_essai = $info->tampil_esai / 100;
goto WV7bv;
cs16s:
jfiKb:
goto HUe20;
Whjfz:
$this->load->model("\103\x62\164\x5f\155\x6f\x64\x65\154", "\x63\x62\x74");
goto chhEl;
aBOHL:
$bagi_jodoh = $info->tampil_jodohkan / 100;
goto v4WiK;
fX4Je:
$jawabans_siswa = [];
goto vEo8k;
MzDpj:
foreach ($kelas_bank as $key => $value) {
array_push($kelases, $value["\153\145\154\141\163\x5f\x69\144"]);
I97JE:
}
goto rrFK1;
WV7bv:
$bobot_essai = $info->bobot_esai / 100;
goto s3XoC;
rTt1U:
$bobot_pg2 = $info->bobot_kompleks / 100;
goto aBOHL;
p3LNq:
aUAT9:
goto SZ0Qr;
Sjhnd:
$bobot_isian = $info->bobot_isian / 100;
goto ZE9U_;
z3N3f:
$bobot_pg = $info->bobot_pg / 100;
goto UjDkP;
N5hna:
$siswas = $this->cbt->getSiswaByKelas($info->id_tp, $info->id_smt, $kelases);
goto USkWO;
XK3g4:
HtyvZ:
goto FY8lI;
HUe20:
$this->db->update_batch("\143\142\164\137\x6e\x69\154\x61\151", $insets, "\x69\x64\137\x6e\x69\x6c\141\151");
goto fLBFN;
wHo7y:
$bagi_pg = $info->tampil_pg / 100;
goto z3N3f;
chhEl:
$info = $this->cbt->getJadwalById($jadwal);
goto wHo7y;
f_uY_:
$update = false;
goto Z85YI;
fLBFN:
$update = true;
goto icptV;
KOAF8:
$soal = [];
goto fX4Je;
UjDkP:
$bagi_pg2 = $info->tampil_kompleks / 100;
goto rTt1U;
hH7P1:
return $update;
goto PU0n5;
I3Umd:
$kelases = [];
goto MzDpj;
icptV:
dZqYk:
goto hH7P1;
SZ0Qr:
if (count($insets) > 0) {
goto jfiKb;
}
goto f_uY_;
FY8lI:
$insets = [];
goto RgXlZ;
v4WiK:
$bobot_jodoh = $info->bobot_jodohkan / 100;
goto lDpyz;
Z85YI:
goto dZqYk;
goto cs16s;
lDpyz:
$bagi_isian = $info->tampil_isian / 100;
goto Sjhnd;
s3XoC:
$kelas_bank = unserialize($info->bank_kelas);
goto I3Umd;
RgXlZ:
foreach ($siswas as $siswa) {
goto vx1oo;
TpHwB:
xEbIJ:
goto Vtk7X;
mCy5L:
$benar_pg = 0;
goto a7Vgd;
EhIar:
nKpF0:
goto KZlAd;
UdtHV:
$ada_jawaban_jodoh = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\x33"]);
goto EtXgk;
y0Awi:
if (!(count($jawaban_es) > 0)) {
goto Z23dB;
}
goto M1CNr;
g1ZOD:
v1yGR:
goto t79_P;
dTOJh:
$input_is = 0;
goto vU3K2;
bhh7V:
$input_es = $nilai_input->essai_nilai;
goto TpHwB;
VX2p2:
$nilai_input = $this->cbt->getNilaiSiswaByJadwal($jadwal, $siswa->id_siswa);
goto b7WKx;
skN62:
$s_jod = $bagi_jodoh == 0 ? 0 : $benar_jod / $bagi_jodoh * $bobot_jodoh;
goto D3W8s;
jCZut:
$insert["\145\x73\163\141\x69\137\156\x69\x6c\x61\x69"] = round($skor_es, 2);
goto BIMu0;
vGepY:
$insert["\151\x64\137\152\x61\x64\167\x61\x6c"] = $jadwal;
goto kp5A9;
xM62H:
$insert["\x69\163\151\x61\x6e\137\156\x69\x6c\141\x69"] = round($skor_is, 2);
goto jCZut;
rLqPi:
foreach ($jawaban_is as $num => $jawab_is) {
goto Uy9UM;
wNuR2:
$otomatis_is = $jawab_is->nilai_otomatis;
goto zIhPD;
Uy9UM:
$skor_koreksi_is += $jawab_is->nilai_koreksi;
goto wf17P;
ih_Fx:
if (!$benar) {
goto JuAny;
}
goto uIZDK;
wf17P:
$benar = $jawab_is != null && strtolower($jawab_is->jawaban_siswa) == strtolower($jawab_is->jawaban);
goto ih_Fx;
uIZDK:
$benar_is++;
goto SPEyd;
zIhPD:
xs62b:
goto d56tL;
SPEyd:
JuAny:
goto wNuR2;
d56tL:
}
goto Gt0cS;
sJJJI:
foreach ($jawaban_pg as $jwb_pg) {
goto RSlOq;
pGAmx:
pKAUk:
goto Ync6I;
T1T9W:
$benar_pg += 1;
goto Iw59M;
lzgXt:
if (strtoupper($jwb_pg->jawaban_siswa) == strtoupper($jwb_pg->jawaban)) {
goto uZeXA;
}
goto lquJI;
KHgcT:
o7wMz:
goto pGAmx;
W4yt3:
uZeXA:
goto T1T9W;
lquJI:
$salah_pg += 1;
goto bvqc_;
Iw59M:
nKZ10:
goto KHgcT;
RSlOq:
if (!($jwb_pg != null && $jwb_pg->jawaban_siswa != null)) {
goto o7wMz;
}
goto lzgXt;
bvqc_:
goto nKZ10;
goto W4yt3;
Ync6I:
}
goto nhYu5;
DYJKB:
S6Uof:
goto mzLvZ;
JZtSE:
if (!(count($jawaban_is) > 0)) {
goto y4kZA;
}
goto rLqPi;
N_TK1:
if (!($nilai_input != null && $nilai_input->jodohkan_nilai != null)) {
goto Tsxiq;
}
goto uf157;
BYvEw:
CNMaK:
goto d2hV2;
M1CNr:
foreach ($jawaban_es as $num => $jawab_es) {
goto xQInF;
ONtnG:
G29V3:
goto vAa0N;
FKkKY:
$benar = $jawab_es != null && strtolower($jawab_es->jawaban_siswa) == strtolower($jawab_es->jawaban);
goto fPyCd;
FIGr7:
$benar_es++;
goto Rp47n;
xQInF:
$skor_koreksi_es += $jawab_es->nilai_koreksi;
goto FKkKY;
Rp47n:
gMgFD:
goto TyU9K;
fPyCd:
if (!$benar) {
goto gMgFD;
}
goto FIGr7;
TyU9K:
$otomatis_es = $jawab_es->nilai_otomatis;
goto ONtnG;
vAa0N:
}
goto EhIar;
epdi2:
$skor_koreksi_is = 0.0;
goto EXvYa;
mzLvZ:
rxPiD:
goto MRMQY;
FTi3Z:
$ada_jawaban_pg = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\61"]);
goto kc_3E;
jyEL8:
rbcSx:
goto XiHmv;
YNOpa:
foreach ($jawaban_jodoh as $num => $jawab_jod) {
goto f77K8;
GXA7R:
$arrJwbSoal = [];
goto JiFeo;
BmFag:
$item_salah = 0;
goto k8e32;
eKvLg:
$headSoal = array_shift($arrSoal);
goto GXA7R;
yieWI:
GqGDq:
goto lMZLy;
s2v7H:
lrwEZ:
goto a0ywu;
k8e32:
foreach ($arrJwbJawab as $p => $ajjs) {
goto J1As9;
e2aJq:
foreach ($ajjs->subtitle as $pp => $ajs) {
goto rm6GX;
hjvFP:
kGHPN:
goto TZiAQ;
rm6GX:
if (in_array($ajs, $arrJwbSoal[$p]->subtitle)) {
goto otXnS;
}
goto UiNDk;
tPtob:
$item_benar++;
goto lGs7V;
lGs7V:
kPo4E:
goto hjvFP;
UiNDk:
$item_salah++;
goto Wkj8D;
Wkj8D:
goto kPo4E;
goto GJlOU;
GJlOU:
otXnS:
goto tPtob;
TZiAQ:
}
goto vQ46n;
vQ46n:
oij9B:
goto S7hbx;
S7hbx:
DLX3z:
goto OSe5Q;
J1As9:
if (!(isset($ajjs->subtitle) && count($ajjs->subtitle) > 0)) {
goto DLX3z;
}
goto e2aJq;
OSe5Q:
qUUXF:
goto c9Ksq;
c9Ksq:
}
goto yieWI;
SGenK:
D7mjC:
goto kbxVp;
JSw2g:
$headJawab = array_shift($arrJawab);
goto y9sKw;
jUR_V:
$otomatis_jod = $jawab_jod->nilai_otomatis;
goto s2v7H;
JiFeo:
$items = 0;
goto T0pY0;
y9sKw:
$arrJwbJawab = [];
goto al5Rk;
ogOiu:
$arrSoal = $jawab_jod->jawaban->jawaban;
goto eKvLg;
lMZLy:
$benar_jod += 1 / $items * $item_benar;
goto jUR_V;
ASsYa:
$item_benar = 0;
goto BmFag;
f77K8:
$skor_koreksi_jod += $jawab_jod->nilai_koreksi;
goto ogOiu;
kbxVp:
$arrJawab = $jawab_jod->jawaban_siswa->jawaban;
goto JSw2g;
rIIzT:
m57UN:
goto ASsYa;
al5Rk:
foreach ($arrJawab as $kolJawab) {
goto somOE;
rabmK:
array_push($arrJwbJawab, $jwbs);
goto D2uwJ;
rqea3:
foreach ($kolJawab as $po => $kol) {
goto gKNfr;
gKNfr:
if (!($kol == "\61")) {
goto jZ3hs;
}
goto Hlk7m;
QoS3w:
Lz1jo:
goto Cb41i;
avrX0:
jZ3hs:
goto QoS3w;
Q3i4H:
$jwbs->subtitle[] = $sub;
goto avrX0;
Hlk7m:
$sub = $headJawab[$po];
goto Q3i4H;
Cb41i:
}
goto H0aNd;
H0aNd:
vqCFT:
goto rabmK;
somOE:
$jwbs = new stdClass();
goto rqea3;
D2uwJ:
pakV9:
goto J1jcD;
J1jcD:
}
goto rIIzT;
T0pY0:
foreach ($arrSoal as $kolSoal) {
goto W5GXT;
RDty4:
VoICh:
goto tb_aT;
W5GXT:
$jwb = new stdClass();
goto ILME5;
dAfBG:
tlLMY:
goto Fqt_b;
AENG9:
array_push($arrJwbSoal, $jwb);
goto RDty4;
ILME5:
foreach ($kolSoal as $pos => $kol) {
goto Uj3VJ;
X0uTf:
hBfM9:
goto Z8jke;
AUPpi:
$items++;
goto G0YzD;
Uj3VJ:
if (!($kol == "\61")) {
goto gNps3;
}
goto gPc21;
gPc21:
$jwb->subtitle[] = $headSoal[$pos];
goto AUPpi;
G0YzD:
gNps3:
goto X0uTf;
Z8jke:
}
goto dAfBG;
Fqt_b:
$jwb->title = array_shift($kolSoal);
goto AENG9;
tb_aT:
}
goto SGenK;
a0ywu:
}
goto jyEL8;
XiHmv:
Lt8ir:
goto BinSZ;
uf157:
$input_jod = $nilai_input->jodohkan_nilai;
goto PZe5Q;
XOUwi:
$benar_es = 0;
goto JUht_;
kp5A9:
$insert["\x70\147\137\142\145\x6e\141\x72"] = $benar_pg;
goto iDDwF;
f_nxW:
if (!(count($jawaban_pg) > 0)) {
goto v1yGR;
}
goto sJJJI;
vx1oo:
$ada_jawaban = isset($jawabans_siswa[$siswa->id_siswa]);
goto FTi3Z;
gjsYz:
pn3xX:
goto wVzC4;
KZlAd:
Z23dB:
goto BYvEw;
Su8FS:
$input_is = $nilai_input->isian_nilai;
goto gjsYz;
PZe5Q:
Tsxiq:
goto SwlM9;
wVzC4:
$skor_is = $input_is != 0 ? $input_is : ($otomatis_is == 0 ? $s_is : $skor_koreksi_is);
goto whx2V;
zF_Ax:
$input_es = 0;
goto flGxO;
R7eAG:
$otomatis_jod = 0;
goto ZKlZP;
t79_P:
seW3z:
goto QLv_3;
MUb9A:
if (!($info->tampil_pg > 0)) {
goto seW3z;
}
goto f_nxW;
SwlM9:
$skor_jod = $input_jod != 0 ? $input_jod : ($otomatis_jod == 0 ? $s_jod : $skor_koreksi_jod);
goto ngjmr;
N_rpO:
$jawaban_jodoh = $ada_jawaban_jodoh ? $jawabans_siswa[$siswa->id_siswa]["\63"] : [];
goto gC2TU;
dN9RV:
u4Lwm:
goto QF1UI;
kBZK4:
$benar_pg2 = 0;
goto tZBe9;
d2hV2:
$s_es = $bagi_essai == 0 ? 0 : $benar_es / $bagi_essai * $bobot_essai;
goto zF_Ax;
gC2TU:
$benar_jod = 0;
goto lhvqo;
Sz6SO:
$skor_pg2 = $input_pg2 != 0 ? $input_pg2 : ($otomatis_pg2 == 0 ? $s_pg2 : $skor_koreksi_pg2);
goto N_rpO;
XVMbL:
if (!(count($jawaban_pg2) > 0)) {
goto rxPiD;
}
goto mqS7z;
OnDpp:
$input_pg2 = 0;
goto D7bkF;
Qgs0v:
$ada_jawaban_essai = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\65"]);
goto VX2p2;
wyVqU:
$jawaban_pg = $ada_jawaban_pg ? $jawabans_siswa[$siswa->id_siswa]["\x31"] : [];
goto mCy5L;
QLv_3:
$skor_pg = $bagi_pg == 0 ? 0 : $benar_pg / $bagi_pg * $bobot_pg;
goto Yih2K;
VkVFK:
$insert["\x69\x64\137\x73\151\x73\x77\x61"] = $siswa->id_siswa;
goto vGepY;
D7bkF:
if (!($nilai_input != null && $nilai_input->kompleks_nilai != null)) {
goto AG04S;
}
goto ml4Rx;
Tqah3:
LXpOx:
goto UbUnB;
b7WKx:
if (!($nilai_input != null && $nilai_input->dikoreksi == "\61")) {
goto z8XWo;
}
goto wyVqU;
Yih2K:
$jawaban_pg2 = $ada_jawaban_pg2 ? $jawabans_siswa[$siswa->id_siswa]["\x32"] : [];
goto kBZK4;
eiA6A:
if (!($info->tampil_esai > 0)) {
goto CNMaK;
}
goto y0Awi;
Bfzw9:
AG04S:
goto Sz6SO;
EXvYa:
$otomatis_is = 0;
goto ElRV8;
BinSZ:
WCbjI:
goto skN62;
Y4zuS:
$insert["\x69\x64\137\x6e\151\x6c\141\x69"] = $siswa->id_siswa . $jadwal;
goto VkVFK;
Vtk7X:
$skor_es = $input_es != 0 ? $input_es : ($otomatis_es == 0 ? $s_es : $skor_koreksi_es);
goto Y4zuS;
PiWIE:
if (!($info->tampil_kompleks > 0)) {
goto I2jUJ;
}
goto XVMbL;
xzft1:
$otomatis_es = 0;
goto eiA6A;
iDDwF:
$insert["\160\x67\137\156\151\154\141\x69"] = round($skor_pg, 2);
goto l1XsL;
GQt03:
$benar_is = 0;
goto epdi2;
NAkUZ:
z8XWo:
goto Tqah3;
Gt0cS:
SQ_Zh:
goto AJ4Yt;
MRMQY:
I2jUJ:
goto knar9;
flGxO:
if (!($nilai_input != null && $nilai_input->isian_nilai != null)) {
goto xEbIJ;
}
goto bhh7V;
D3W8s:
$input_jod = 0;
goto N_TK1;
ml4Rx:
$input_pg2 = $nilai_input->kompleks_nilai;
goto Bfzw9;
ElRV8:
if (!($info->tampil_isian > 0)) {
goto u4Lwm;
}
goto JZtSE;
JUht_:
$skor_koreksi_es = 0.0;
goto xzft1;
VuDqS:
$otomatis_pg2 = 0;
goto PiWIE;
BIMu0:
array_push($insets, $insert);
goto NAkUZ;
l1XsL:
$insert["\x6b\x6f\155\160\x6c\145\x6b\x73\x5f\156\x69\154\141\151"] = round($skor_pg2, 2);
goto kThGh;
EtXgk:
$ada_jawaban_isian = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\x34"]);
goto Qgs0v;
knar9:
$s_pg2 = $bagi_pg2 == 0 ? 0 : $benar_pg2 / $bagi_pg2 * $bobot_pg2;
goto OnDpp;
lhvqo:
$skor_koreksi_jod = 0.0;
goto R7eAG;
tZBe9:
$skor_koreksi_pg2 = 0.0;
goto VuDqS;
nhYu5:
n_4_T:
goto g1ZOD;
AJ4Yt:
y4kZA:
goto dN9RV;
kc_3E:
$ada_jawaban_pg2 = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\x32"]);
goto UdtHV;
QF1UI:
$s_is = $bagi_isian == 0 ? 0 : $benar_is / $bagi_isian * $bobot_isian;
goto dTOJh;
a7Vgd:
$salah_pg = 0;
goto MUb9A;
whx2V:
$jawaban_es = $ada_jawaban_essai ? $jawabans_siswa[$siswa->id_siswa]["\65"] : [];
goto XOUwi;
ngjmr:
$jawaban_is = $ada_jawaban_isian ? $jawabans_siswa[$siswa->id_siswa]["\x34"] : [];
goto GQt03;
mqS7z:
foreach ($jawaban_pg2 as $num => $jawab_pg2) {
goto UVp2j;
SQfDc:
gYJFG:
goto UyOZN;
ALUGt:
$skor_koreksi_pg2 += $jawab_pg2->nilai_koreksi;
goto RbQGc;
OJYJS:
x45Nn:
goto yX4iZ;
RbQGc:
$arr_benar = [];
goto gVssb;
UVp2j:
$otomatis_pg2 = $jawab_pg2->nilai_otomatis;
goto ALUGt;
yX4iZ:
$benar_pg2 += 1 / count($jawab_pg2->jawaban) * count($arr_benar);
goto SQfDc;
gVssb:
foreach ($jawab_pg2->jawaban_siswa as $js) {
goto gGVsB;
j4LYb:
array_push($arr_benar, true);
goto NH7hk;
NH7hk:
Jmugw:
goto CkB2c;
gGVsB:
if (!in_array($js, $jawab_pg2->jawaban)) {
goto Jmugw;
}
goto j4LYb;
CkB2c:
xurmC:
goto naM3J;
naM3J:
}
goto OJYJS;
UyOZN:
}
goto DYJKB;
kThGh:
$insert["\x6a\x6f\x64\x6f\150\x6b\x61\x6e\x5f\156\x69\x6c\141\x69"] = round($skor_jod, 2);
goto xM62H;
vU3K2:
if (!($nilai_input != null && $nilai_input->isian_nilai != null)) {
goto pn3xX;
}
goto Su8FS;
y9N6q:
if (!(count($jawaban_jodoh) > 0)) {
goto Lt8ir;
}
goto YNOpa;
ZKlZP:
if (!($info->tampil_jodohkan > 0)) {
goto WCbjI;
}
goto y9N6q;
UbUnB:
}
goto p3LNq;
PU0n5:
}
}
Function Calls
None |
Stats
MD5 | d998c7daefcb1edd62c362a0a100832d |
Eval Count | 0 |
Decode Time | 262 ms |