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 Bukurapor extends CI_Controller
{
public function __construct()
{
goto Kfnq6;
FLZHl:
$this->load->library(["datatables", "form_validation"]);
goto gLno3;
Kfnq6:
parent::__construct();
goto DT9F3;
DT9F3:
if (!$this->ion_auth->logged_in()) {
goto pNecU;
}
goto btelK;
BcVQX:
goto anLi4;
goto cCRy_;
pIaxs:
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 oaRVT;
gLno3:
$this->form_validation->set_error_delimiters('', '');
goto Q3lur;
Xg38J:
redirect("auth");
goto vedM3;
oaRVT:
Kj19N:
goto BcVQX;
vedM3:
anLi4:
goto FLZHl;
btelK:
if (!(!$this->ion_auth->is_admin() && !$this->ion_auth->in_group("guru"))) {
goto Kj19N;
}
goto pIaxs;
cCRy_:
pNecU:
goto Xg38J;
Q3lur:
}
public function output_json($data, $encode = true)
{
goto F5_oV;
MqcU0:
$this->output->set_content_type("application/json")->set_output($data);
goto MfOo_;
Bf873:
PgvS8:
goto MqcU0;
UMqc4:
$data = json_encode($data);
goto Bf873;
F5_oV:
if (!$encode) {
goto PgvS8;
}
goto UMqc4;
MfOo_:
}
public function index()
{
goto yxboI;
UgnTp:
$siswa = $siswas[$i];
goto i_pYw;
Y0Pvc:
YZCMf:
goto TdwH5;
bVdrl:
MyPKF:
goto aJHA6;
rGqp4:
$dummyDesks = ["ranking" => '', "rank_deskripsi" => '', "p1" => '', "p1_desk" => '', "p2" => '', "p2_desk" => '', "p3" => '', "p3_desk" => ''];
goto qVxz7;
rtzMc:
$data["nilai"] = $nilai;
goto nufCa;
kJgVo:
if (!$kelases) {
goto z7di2;
}
goto N3B_B;
USExi:
$data["fisik"] = $fisik;
goto lw0Of;
iGo94:
if (!($kelas != null)) {
goto GkRu6;
}
goto tOPBO;
OCCBF:
foreach ($mapels as $mapel) {
goto QjpmZ;
j1JDt:
$key_mapel = array_search($mapel->id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt, array_column($nilai_rapor, "id_nilai_harian"));
goto d12_y;
d12_y:
if (!($key_mapel !== false)) {
goto ZzUCe;
}
goto Krt83;
Fjogc:
ZzUCe:
goto q0eKM;
Krt83:
$nr = $nilai_rapor[$key_mapel];
goto zSADg;
q0eKM:
f6oZn:
goto oTvzt;
zSADg:
$nilai[$id_siswa][$mapel->id_mapel] = $nr;
goto Fjogc;
QjpmZ:
$dummyNilai = ["p_deskripsi" => '', "k_rata_rata" => '', "k_deskripsi" => '', "k_predikat" => '', "nilai" => '', "predikat" => ''];
goto j1JDt;
oTvzt:
}
goto D3ien;
opbYW:
$arrk = [];
goto dH6tU;
F5Heo:
$this->load->view("rapor/arsiprapor");
goto zp3O_;
X7Wna:
$data["naik"] = $this->rapor->getKenaikanRapor($id_kelas, $id_tp, $id_smt);
goto QzK8p;
SWHzz:
$data["guru"] = $kelas == null ? '' : $this->dashboard->getDataGuruById($kelas->id_guru, $id_tp, $id_smt);
goto EMy3P;
irrPu:
GkRu6:
goto vqKbi;
wUkJh:
$this->load->view("_templates/dashboard/_header", $data);
goto F5Heo;
fxfiI:
$user = $this->ion_auth->user()->row();
goto tjUYm;
FYlJg:
aY1Tu:
goto Wq2vI;
txb09:
$data["jabatan"] = null;
goto XZUdb;
mFxK4:
if (!($i < count($siswas))) {
goto lvG5T;
}
goto UgnTp;
dkPFo:
TlRcY:
goto QrftT;
Glk_R:
$kelompoks = [];
goto DaPzP;
mAexM:
$dummyFisik = ["kondisi" => ["telinga" => '', "mata" => '', "gigi" => '', "lain" => ''], "smt" . $id_smt => ["tinggi" => '', "berat" => '', "tp" => $id_tp], "smt" . $other => ["tinggi" => '', "berat" => '', "tp" => $id_tp]];
goto fiiq3;
fTeu9:
goto F_kg2;
goto ffkK0;
IvTqs:
$smt_active = $this->dashboard->getSemesterActive();
goto mhdiJ;
xAf_s:
Atw0L:
goto BDN_Z;
zp3O_:
$this->load->view("_templates/dashboard/_footer");
goto Y0Pvc;
Hz_JJ:
SaLv5:
goto d95vZ;
Ti8LM:
$data["absensi"] = $absensi;
goto USExi;
PkhBz:
if ($id_tp != null && $id_smt != null) {
goto uW30N;
}
goto xdAPx;
D3ien:
Mnj6m:
goto rGqp4;
Rcwcm:
$data["deskripsi"] = $desks;
goto Ti8LM;
ZzYTq:
qS1oQ:
goto yw4SC;
BDN_Z:
CS3R3:
goto OCCBF;
frkvD:
$this->load->view("members/guru/templates/header", $data);
goto dEWA7;
FjPfV:
$dummySikap = ["predikat" => ''];
goto DFGDd;
DaPzP:
$kelas = isset($all_kls[$id_tp]) && isset($all_kls[$id_tp][$id_smt]) && isset($all_kls[$id_tp][$id_smt][$id_kelas]) ? $all_kls[$id_tp][$id_smt][$id_kelas] : null;
goto iGo94;
d95vZ:
$id_tp = $this->input->get("tp", true);
goto XnUZG;
Nj8_9:
$this->load->model("Rapor_model", "rapor");
goto liX79;
tFsOs:
$data["smt_selected"] = $id_smt;
goto jyz_D;
C7cqE:
$data["mapels"] = $mapels;
goto maMwB;
XMBtw:
$data["lvl_kelas"] = $kelas != null ? $kelas->level_id : '';
goto C7cqE;
WZiZA:
$absensi[$id_siswa] = isset($catatans[$id_siswa]) ? $catatans[$id_siswa] : ["nilai" => $dummyAbsen];
goto mAexM;
a1A_F:
$fisik[$siswa->id_siswa] = $nf != null ? ["kondisi" => unserialize($nf->kondisi), "smt" . $nf->id_smt => ["tinggi" => $nf->tinggi, "berat" => $nf->berat], "smt" . $other => ["tinggi" => $nf2 != null ? $nf2->tinggi : '', "berat" => $nf2 != null ? $nf2->berat : '']] : $dummyFisik;
goto LW_C8;
p8dmc:
$this->load->model("Master_model", "master");
goto fqrNw;
yxboI:
$this->load->model("Dashboard_model", "dashboard");
goto Nj8_9;
fiKXn:
goto CS3R3;
goto FYlJg;
qn3Qg:
$mapelEkstra = [];
goto J3HNS;
eRFcO:
$i = 0;
goto J7VTs;
kvl2p:
$mapels = [];
goto Glk_R;
Nlptp:
$data = ["user" => $user, "judul" => "Kumpulan Nilai Rapor", "subjudul" => "Nilai Rapor Siswa", "setting" => $setting];
goto G2NYI;
v2Yep:
$data["jabatan"] = $this->master->getAllJabatanGuru($guru->id_guru);
goto frkvD;
PqNXy:
lvG5T:
goto bkX3a;
S8qnn:
$data["tp"] = $this->dashboard->getTahun();
goto WePoZ;
ts62U:
$data["kelases"] = [];
goto fTeu9;
uCakN:
$data["kelases"] = [];
goto DizUE;
fFv58:
$data["sikap"] = $sikap;
goto rtzMc;
qVxz7:
$dummyAbsen = ["s" => " - ", "i" => " - ", "a" => " - ", "saran" => ''];
goto cJ2J8;
taMhF:
$siswas = $this->rapor->getDetailSiswa($id_kelas, $id_tp, $id_smt);
goto LqQi5;
ffkK0:
OzKil:
goto fGLxm;
y4bum:
dXrBa:
goto eRFcO;
tnzO5:
if ($id_smt === "1") {
goto TlRcY;
}
goto JOc44;
qqvaR:
$data["smt_active"] = $this->dashboard->getSemesterActive();
goto Gb6k6;
iMQBC:
goto YZCMf;
goto e0SY1;
Ba8EP:
$ekstras = $this->kelas->getKelasEkskul($id_kelas, $id_tp, $id_smt);
goto irrPu;
dR2N3:
$id_kelas = $this->input->get("kls", true);
goto fxfiI;
mhdiJ:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $tp_active->id_tp, $smt_active->id_smt);
goto cRGNv;
fGLxm:
$data["kelases"] = $this->dropdown->getAllKelas($id_tp, $id_smt);
goto pzilL;
EcQec:
$all_kls = [];
goto kJgVo;
bkX3a:
$kkm = $this->rapor->getAllKkmRaporAkhir($id_kelas, $id_tp, $id_smt);
goto S8qnn;
l7yrv:
$nf2 = $this->rapor->getFisikKelas($id_kelas, $siswa->id_siswa, $id_tp, $other);
goto a1A_F;
zcN9j:
LiaIZ:
goto Hz_JJ;
nufCa:
$data["nilai_rapor"] = $nilai_rapor;
goto Rcwcm;
O_1eG:
$siswas = [];
goto kvl2p;
jyz_D:
$data["kls_selected"] = $id_kelas;
goto EFQWu;
vOcKM:
$fisik = [];
goto Qn15u;
cJ2J8:
$desks[$id_siswa] = isset($prestasis[$id_siswa]) ? $prestasis[$id_siswa] : $dummyDesks;
goto WZiZA;
OLEg3:
$sikap = [];
goto xVcm4;
EMy3P:
if ($id_tp != null && $id_smt != null) {
goto OzKil;
}
goto ts62U;
tjUYm:
$setting = $this->dashboard->getSetting();
goto Nlptp;
fiiq3:
$nf = $this->rapor->getFisikKelas($id_kelas, $siswa->id_siswa, $id_tp, $id_smt);
goto l7yrv;
k3zuf:
$data["siswas"] = $siswas;
goto CaAqw;
N3B_B:
foreach ($kelases as $key => $row) {
$all_kls[$row->id_tp][$row->id_smt][$row->id_kelas] = $row;
ZGzaN:
}
goto ZzYTq;
CWkk7:
goto MyPKF;
goto dkPFo;
bwEMO:
$data["rapor"] = $settingRapor;
goto X7Wna;
QrftT:
$other = "2";
goto bVdrl;
tOPBO:
$jurusan = $this->kelas->getJurusanById($kelas->id_jurusan);
goto JZsNV;
h7e3i:
$i++;
goto W1u4v;
fUCzC:
$data["kkm"] = $kkm;
goto bwEMO;
TYkQh:
$nilai_rapor = $this->rapor->getNilaiRaporByKelas($id_kelas, $id_tp, $id_smt);
goto d5G3d;
Gb6k6:
$data["tp_selected"] = $id_tp;
goto tFsOs;
pzilL:
F_kg2:
goto txb09;
DFGDd:
if (count($nilai_sikap) > 0) {
goto aY1Tu;
}
goto M6e28;
W1u4v:
goto C489O;
goto PqNXy;
dEWA7:
$this->load->view("rapor/arsiprapor");
goto dUhF3;
WDIef:
$total = $this->dashboard->total("buku_nilai");
goto iuPhG;
xdAPx:
$tp_active = $this->dashboard->getTahunActive();
goto IvTqs;
aJHA6:
$nilai_sikap = $this->rapor->getNilaiSikapByKelas($id_kelas, $id_tp, $id_smt);
goto TYkQh;
d5G3d:
$prestasis = $this->rapor->getPrestasiByKelas($id_kelas, $id_tp, $id_smt);
goto ANV5j;
vqKbi:
$settingRapor = $this->rapor->getRaporSetting($id_tp, $id_smt);
goto OLEg3;
LElRb:
$this->load->model("Dropdown_model", "dropdown");
goto p8dmc;
XZUdb:
$data["profile"] = $this->dashboard->getProfileAdmin($user->id);
goto wUkJh;
iuPhG:
if (!($total > 0)) {
goto LiaIZ;
}
goto eVgiY;
liX79:
$this->load->model("Kelas_model", "kelas");
goto LElRb;
Qn15u:
$desks = [];
goto j0oAP;
eam24:
SsjxZ:
goto k_MRV;
PRukl:
$data["smt_name"] = $id_smt != null ? $this->dashboard->getSemesterById($id_smt) : null;
goto k3zuf;
dH6tU:
foreach ($kategori_mapel as $kk => $km) {
goto IKFm8;
flpG8:
GH40F:
goto at4pD;
at4pD:
VOL2b:
goto flDWb;
IKFm8:
if (in_array($km, $arrk)) {
goto GH40F;
}
goto iWyg3;
iWyg3:
array_push($arrk, $km->kode_kel_mapel);
goto flpG8;
flDWb:
}
goto NKMj3;
dUhF3:
$this->load->view("members/guru/templates/footer");
goto iMQBC;
WePoZ:
$data["tp_active"] = $this->dashboard->getTahunActive();
goto mo2Nb;
xVcm4:
$nilai = [];
goto vOcKM;
JOc44:
$other = "1";
goto CWkk7;
O2GMA:
$sikap[$id_siswa][2] = ["deskripsi" => '', "predikat" => $dummySikap];
goto fiKXn;
yw4SC:
z7di2:
goto O_1eG;
K9OKl:
wf88d:
goto v2Yep;
ANV5j:
$catatans = $this->rapor->getCatatanWaliByKelas($id_kelas, $id_tp, $id_smt);
goto WvHTT;
WvHTT:
foreach ($catatans as $catatan) {
$catatan->nilai = unserialize($catatan->nilai);
bjzlK:
}
goto y4bum;
cRGNv:
$data["guru"] = $guru;
goto uCakN;
J7VTs:
C489O:
goto mFxK4;
lw0Of:
$data["nilai_ekstra"] = $nilaiEkstra;
goto wu_0v;
LqQi5:
$kategori_mapel = $this->master->getKategoriKelompokMapel();
goto opbYW;
KHj5P:
$data["guru"] = $guru;
goto cEna4;
sTmq3:
uW30N:
goto BXbA2;
BXbA2:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $id_tp, $id_smt);
goto KHj5P;
Wq2vI:
foreach ($nilai_sikap as $nls) {
goto Tfj6n;
Tfj6n:
if (!($nls->id_siswa == $id_siswa && $nls->jenis == "1")) {
goto m3T2M;
}
goto Pz8yX;
RsD6r:
aiq8B:
goto PTDeS;
PTDeS:
B3rUm:
goto Y1B4s;
iaiM8:
m3T2M:
goto cuDBI;
cuDBI:
if (!($nls->id_siswa == $id_siswa && $nls->jenis == "2")) {
goto aiq8B;
}
goto xadwg;
xadwg:
$sikap[$id_siswa][2] = ["deskripsi" => $nls == null ? '' : $nls->deskripsi, "predikat" => $nls == null ? $dummySikap : unserialize($nls->nilai)];
goto RsD6r;
Pz8yX:
$sikap[$id_siswa][1] = ["deskripsi" => $nls == null ? '' : $nls->deskripsi, "predikat" => $nls == null ? $dummySikap : unserialize($nls->nilai)];
goto iaiM8;
Y1B4s:
}
goto xAf_s;
J3HNS:
$nilaiEkstra = [];
goto tnzO5;
i_pYw:
$id_siswa = $siswa->id_siswa;
goto FjPfV;
cEna4:
$data["kelases"] = $this->dropdown->getAllKelasByArrayId($id_tp, $id_smt, $guru->wali_kelas);
goto K9OKl;
M6e28:
$sikap[$id_siswa][1] = ["deskripsi" => '', "predikat" => $dummySikap];
goto O2GMA;
NKMj3:
XKIs2:
goto YMONv;
wu_0v:
$data["mapel_ekstra"] = $mapelEkstra;
goto fUCzC;
j0oAP:
$absensi = [];
goto qn3Qg;
EFQWu:
$data["tp_name"] = $id_tp != null ? $this->dashboard->getTahunById($id_tp) : null;
goto PRukl;
fqrNw:
if (!$this->db->table_exists("buku_nilai")) {
goto SaLv5;
}
goto WDIef;
YMONv:
$mapels = $this->master->getAllStatusMapel(empty($arrk) ? null : $arrk, isset($jurusan->mapel_peminatan) ? $jurusan->mapel_peminatan : null);
goto Ba8EP;
mo2Nb:
$data["smt"] = $this->dashboard->getSemester();
goto qqvaR;
JZsNV:
$kelompoks = $this->master->getKodeKelompokMapel();
goto taMhF;
XnUZG:
$id_smt = $this->input->get("smt", true);
goto dR2N3;
CaAqw:
$data["kelas"] = $kelas != null ? $kelas->nama_kelas : '';
goto XMBtw;
DizUE:
goto wf88d;
goto sTmq3;
k_MRV:
sky5a:
goto h7e3i;
maMwB:
$data["kelompoks"] = $kelompoks;
goto fFv58;
LW_C8:
foreach ($ekstras as $ext) {
goto pfvyU;
pfvyU:
$dummyEkstra = ["deskripsi" => '', "nilai" => '', "predikat" => ''];
goto IiiBD;
IiiBD:
$arrEkstra = json_decode(json_encode(unserialize($ext->ekstra)));
goto VoJcs;
wM0G1:
BsW6a:
goto K1wrt;
J2be8:
taNrF:
goto wM0G1;
VoJcs:
foreach ($arrEkstra as $ar) {
goto sKuUi;
Y7GPe:
Gtvjc:
goto uuStD;
uuStD:
rumsg:
goto lW4vU;
sKuUi:
$id_ekstra = $ar->ekstra;
goto q3Dbs;
L1s2p:
$ne = $this->rapor->getEkstraKelas($id_ekstra, $siswa->id_siswa, $id_tp, $id_smt);
goto OP8Sn;
q3Dbs:
$mapelEkstra[$id_ekstra] = $this->kelas->getEkskulById($id_ekstra);
goto Q2axI;
OP8Sn:
$nilaiEkstra[$id_siswa][$id_ekstra] = $ne == null ? $dummyEkstra : $ne;
goto Y7GPe;
Q2axI:
if (!($id_ekstra != null)) {
goto Gtvjc;
}
goto L1s2p;
lW4vU:
}
goto J2be8;
K1wrt:
}
goto eam24;
G2NYI:
$kelases = $this->kelas->getAllKelas();
goto EcQec;
QzK8p:
if ($this->ion_auth->is_admin()) {
goto mqzJz;
}
goto PkhBz;
e0SY1:
mqzJz:
goto SWHzz;
eVgiY:
$this->restoreNilai();
goto zcN9j;
TdwH5:
}
public function editNilaiRapor()
{
goto GVeqr;
jmcbI:
if ($mode == "3") {
goto pQd1H;
}
goto O9ssD;
XZ2M0:
goto ZrFSu;
goto le3Zj;
L7now:
if ($mode == "2") {
goto FjmZk;
}
goto jmcbI;
H2p8A:
$data["keterampilan"] = $this->rapor->getNilaiSikapBySiswa($id_siswa, $id_tp, $id_smt);
goto JcGt1;
Uc5vZ:
$data["smt_sel"] = $id_smt != null ? $this->dashboard->getSemesterById($id_smt) : null;
goto BKrzR;
bY6E0:
$data["sikap"] = $this->rapor->getNilaiSikapBySiswa($id_siswa, $id_tp, $id_smt);
goto XZ2M0;
Lt4_b:
$arrTp = $this->dashboard->getTahun();
goto qU7nd;
E7oRQ:
if ($this->ion_auth->is_admin()) {
goto YvSBd;
}
goto O7bK6;
Mx7Ag:
$this->load->model("Dashboard_model", "dashboard");
goto pgA5t;
REvyL:
$this->load->view("_templates/dashboard/_footer");
goto U7cR9;
oCwRx:
$data["smt"] = $arrSmt;
goto NpP8p;
gJxYt:
$data["tp_active"] = $tp;
goto oCwRx;
qU7nd:
$arrSmt = $this->dashboard->getSemester();
goto QJid1;
vbsyl:
$this->load->view("members/guru/templates/header", $data);
goto MWPap;
M6pOT:
$id_siswa = $this->input->get("siswa", true);
goto ajDF7;
ajDF7:
$id_tp = $this->input->get("tp", true);
goto pCr8J;
w2S2m:
$data["guru"] = $guru;
goto vbsyl;
mp4ZH:
qLaT0:
goto bY6E0;
wMImX:
$mode = $this->input->get("mode", true);
goto aOEWC;
dcwUp:
YvSBd:
goto Rj_fT;
QJid1:
$tp = $this->dashboard->getTahunActive();
goto b8yHG;
pCr8J:
$id_smt = $this->input->get("smt", true);
goto wMImX;
b8yHG:
$smt = $this->dashboard->getSemesterActive();
goto M6pOT;
Aa3eJ:
$this->load->view("rapor/editrapor");
goto REvyL;
Z5lCB:
$this->load->view("members/guru/templates/footer");
goto dd32P;
or5eG:
$data["tp"] = $arrTp;
goto gJxYt;
Rj_fT:
$data["profile"] = $this->dashboard->getProfileAdmin($user->id);
goto d7N1S;
GxQBL:
$data = ["user" => $user, "judul" => "Buku Induk", "subjudul" => "Buku Induk", "setting" => $setting];
goto Lt4_b;
pgA5t:
$user = $this->ion_auth->user()->row();
goto FpSg3;
BKrzR:
$data["mode"] = $mode;
goto Ay4JL;
ZFo2p:
if ($mode == "1") {
goto qLaT0;
}
goto L7now;
JcGt1:
goto ZrFSu;
goto ajyuP;
rogcn:
ZrFSu:
goto E7oRQ;
Ay4JL:
$data["id_siswa"] = $id_siswa;
goto or5eG;
BJIsm:
pQd1H:
goto H2p8A;
ajyuP:
xQA5y:
goto bpWrS;
U7cR9:
nVxIx:
goto KGxBr;
nTrcf:
goto ZrFSu;
goto mp4ZH;
aOEWC:
$data["tp_sel"] = $id_tp != null ? $this->dashboard->getTahunById($id_tp) : null;
goto Uc5vZ;
d7N1S:
$this->load->view("_templates/dashboard/_header", $data);
goto Aa3eJ;
le3Zj:
FjmZk:
goto l067E;
MWPap:
$this->load->view("rapor/editrapor");
goto Z5lCB;
NpP8p:
$data["smt_active"] = $smt;
goto WOU4M;
WOU4M:
$data["siswa"] = $this->rapor->getDetailSiswaById($id_siswa, $id_tp, $id_smt);
goto ZFo2p;
dd32P:
goto nVxIx;
goto dcwUp;
O9ssD:
if ($mode == "4") {
goto xQA5y;
}
goto nTrcf;
Y857H:
goto ZrFSu;
goto BJIsm;
FpSg3:
$setting = $this->dashboard->getSetting();
goto GxQBL;
bpWrS:
$data["extra"] = $this->rapor->getNilaiSikapBySiswa($id_siswa, $id_tp, $id_smt);
goto rogcn;
O7bK6:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto w2S2m;
GVeqr:
$this->load->model("Rapor_model", "rapor");
goto Mx7Ag;
l067E:
$data["pengetahuan"] = $this->rapor->getNilaiSikapBySiswa($id_siswa, $id_tp, $id_smt);
goto Y857H;
KGxBr:
}
public function getDataKelas()
{
goto PbI8O;
QXEqZ:
$id_smt = $this->input->get("smt", true);
goto LcOA6;
rL8Kt:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $id_tp, $id_smt);
goto FHau3;
QZF_b:
TL71k:
goto R3DQa;
EtYFF:
if ($this->ion_auth->is_admin()) {
goto TL71k;
}
goto rL8Kt;
ytCeo:
$this->output_json(["kelas" => $kelass, "jabatan" => $jabatan_guru]);
goto DU8KZ;
R3DQa:
$kelass = $this->dropdown->getAllKelas($id_tp, $id_smt);
goto iMGCM;
LcOA6:
$id_kelas = $this->input->get("kls", true);
goto ApJA0;
ZKanA:
goto DcHlA;
goto QZF_b;
EFveM:
$this->load->model("Master_model", "master");
goto E5790;
FHau3:
$nguru[$guru->id_guru] = $guru->nama_guru;
goto Dx4NT;
dfaAy:
$this->load->model("Dashboard_model", "dashboard");
goto EtYFF;
E5790:
$id_tp = $this->input->get("tp", true);
goto QXEqZ;
ApJA0:
$user = $this->ion_auth->user()->row();
goto Kp_js;
Kp_js:
$jabatan_guru = null;
goto dfaAy;
iMGCM:
DcHlA:
goto ytCeo;
n2wKT:
$jabatan_guru = $this->master->getAllJabatanGuru($guru->id_guru);
goto ZKanA;
PbI8O:
$this->load->model("Dropdown_model", "dropdown");
goto EFveM;
Dx4NT:
$kelass = $this->dropdown->getAllKelasByArrayId($id_tp, $id_smt, [$id_kelas]);
goto n2wKT;
DU8KZ:
}
public function backupNilai()
{
goto VcIrX;
FNWv7:
LXkjt:
goto adgLJ;
CAtk4:
$res["ids"] = $ids_siswa;
goto XZK10;
xpXRF:
$nilai_hpas = [];
goto g4Q6I;
fIxXq:
$tps = $this->dashboard->getTahun();
goto eN3pN;
PjJSs:
$kelas_ekstra = $this->rapor->getAllEkstra();
goto d3ETt;
yDgdT:
$this->db->trans_complete();
goto fz1LY;
mUgdL:
foreach ($nilai_rapor as $nilai) {
goto m8y3E;
u8_2g:
$fisik = [];
goto XdR81;
ZRX6q:
$kkm_mapel = null;
goto GF4I8;
m8y3E:
$kkm_tunggal = $setting_rapor[$nilai->id_tp][$nilai->id_smt]->kkm_tunggal == "1";
goto ZRX6q;
x5Wv0:
ACPEH:
goto lGPsP;
qXOoN:
$nilai_ekstra = [];
goto uwLvq;
lGPsP:
foreach ($mapels as $mapel) {
goto JKbcS;
JKbcS:
if (!($mapel->id_mapel == $nilai->id_mapel)) {
goto p8jtz;
}
goto PZ1Hc;
yj3e4:
$nilai_hpas[$nilai->id_siswa][] = ["id_mapel" => $nilai->id_mapel, "mapel" => $nilai->mapel, "kkm" => $kkm_tunggal ? $setting_rapor[$nilai->id_tp][$nilai->id_smt]->kkm : ($kkm_mapel == null ? '' : $kkm_mapel->kkm), "nilai" => $nilai->nilai_pas];
goto WYsZl;
v7aQM:
I2dmH:
goto hJ6xL;
WYsZl:
$nilai_nr[$nilai->id_siswa][] = ["id_mapel" => $nilai->id_mapel, "mapel" => $nilai->mapel, "kkm" => $kkm_tunggal ? $setting_rapor[$nilai->id_tp][$nilai->id_smt]->kkm : ($kkm_mapel == null ? '' : $kkm_mapel->kkm), "nilai" => $nilai->nilai_rapor, "pred" => $nilai->rapor_predikat];
goto HJZIn;
HJZIn:
p8jtz:
goto v7aQM;
PZ1Hc:
$nilai_hph[$nilai->id_siswa][] = ["id_mapel" => $nilai->id_mapel, "mapel" => $nilai->mapel, "kkm" => $kkm_tunggal ? $setting_rapor[$nilai->id_tp][$nilai->id_smt]->kkm : ($kkm_mapel == null ? '' : $kkm_mapel->kkm), "p_nilai" => $nilai->p_rata_rata, "p_pred" => $nilai->p_predikat, "p_desk" => $nilai->p_deskripsi, "k_nilai" => $nilai->k_rata_rata, "k_pred" => $nilai->k_predikat, "k_desk" => $nilai->k_deskripsi];
goto JOU3y;
JOU3y:
$nilai_hpts[$nilai->id_siswa][] = ["id_mapel" => $nilai->id_mapel, "mapel" => $nilai->mapel, "kkm" => $kkm_tunggal ? $setting_rapor[$nilai->id_tp][$nilai->id_smt]->kkm : ($kkm_mapel == null ? '' : $kkm_mapel->kkm), "nilai" => $nilai->nilai_pts, "pred" => $nilai->pts_predikat];
goto yj3e4;
hJ6xL:
}
goto LWQ3g;
LWQ3g:
Ob6qE:
goto qXOoN;
NWo8s:
$sosial = isset($nilai_sikap[$nilai->id_tp][$nilai->id_smt][$nilai->id_siswa][2]) ? $nilai_sikap[$nilai->id_tp][$nilai->id_smt][$nilai->id_siswa][2] : null;
goto iy7R9;
vNq7u:
foreach ($nilai_extra[$nilai->id_tp][$nilai->id_smt][$nilai->id_siswa] as $ekstra) {
goto rwaNA;
dY7rZ:
$kkm_ekstra = $all_kkm[2][$ekstra->id_ekstra]->kkm;
goto xcoBi;
rwaNA:
$kkm_ekstra = '';
goto d93ye;
xcoBi:
BejHp:
goto RBe9J;
EEdIX:
i8gP3:
goto Nno8I;
RBe9J:
$nilai_ekstra[$nilai->id_siswa][] = ["mapel" => $ekstra->kode_ekstra, "id_ekstra" => $ekstra->id_ekstra, "nama_ekstra" => $ekstra->nama_ekstra, "kkm" => $kkm_tunggal ? $setting_rapor[$nilai->id_tp][$nilai->id_smt]->kkm : $kkm_ekstra, "nilai" => $ekstra->nilai, "pred" => $ekstra->predikat, "desk" => $ekstra->deskripsi];
goto EEdIX;
d93ye:
if (!(isset($all_kkm[2]) && isset($all_kkm[2][$ekstra->id_ekstra]))) {
goto BejHp;
}
goto dY7rZ;
Nno8I:
}
goto Cvwkw;
x0DPl:
$fisik[] = $rapor_fisik[$nilai->id_siswa][$nilai->id_tp][$nilai->id_smt];
goto lZAc1;
lZAc1:
PnS5j:
goto EIhOv;
pd3cL:
$all_kkm = $kkms[$nilai->id_tp][$nilai->id_smt][$nilai->id_kelas];
goto xo8ii;
uwLvq:
if (!(isset($nilai_extra[$nilai->id_tp]) && isset($nilai_extra[$nilai->id_tp][$nilai->id_smt]) && isset($nilai_extra[$nilai->id_tp][$nilai->id_smt][$nilai->id_siswa]))) {
goto V_dG2;
}
goto vNq7u;
iy7R9:
HqAiV:
goto u8_2g;
LsqK2:
if (!(isset($nilai_sikap[$nilai->id_tp]) && isset($nilai_sikap[$nilai->id_tp][$nilai->id_smt]) && isset($nilai_sikap[$nilai->id_tp][$nilai->id_smt][$nilai->id_siswa]))) {
goto HqAiV;
}
goto BTfcS;
xo8ii:
$kkm_mapel = isset($all_kkm[1]) && isset($all_kkm[1][$nilai->id_mapel]) ? $all_kkm[1][$nilai->id_mapel] : null;
goto x5Wv0;
RcMjI:
V_dG2:
goto qJX7J;
LQ4Ny:
Bejzl:
goto zzdVO;
GF4I8:
$all_kkm = [];
goto mLkAW;
mLkAW:
if (!(isset($kkms[$nilai->id_tp]) && isset($kkms[$nilai->id_tp][$nilai->id_smt]) && isset($kkms[$nilai->id_tp][$nilai->id_smt][$nilai->id_kelas]))) {
goto ACPEH;
}
goto pd3cL;
Cvwkw:
eBPVI:
goto RcMjI;
qJX7J:
$spiritual = null;
goto hp27n;
XdR81:
if (!isset($rapor_fisik[$nilai->id_siswa])) {
goto PnS5j;
}
goto x0DPl;
hp27n:
$sosial = null;
goto LsqK2;
EIhOv:
$all_nilai[$nilai->id_tp][$nilai->id_smt][$nilai->id_siswa] = ["uid" => $nilai->uid, "id_siswa" => $nilai->id_siswa, "tp" => $nilai->tahun, "smt" => $nilai->nama_smt, "kelas" => $nilai->nama_kelas, "level" => $nilai->level_id, "wali_kelas" => $nilai->nama_guru, "jurusan" => $nilai->nama_jurusan, "hph" => serialize(isset($nilai_hph[$nilai->id_siswa]) ? $nilai_hph[$nilai->id_siswa] : []), "hpts" => serialize(isset($nilai_hpts[$nilai->id_siswa]) ? $nilai_hpts[$nilai->id_siswa] : []), "hpas" => serialize(isset($nilai_hpas[$nilai->id_siswa]) ? $nilai_hpas[$nilai->id_siswa] : []), "nilai_rapor" => serialize(isset($nilai_nr[$nilai->id_siswa]) ? $nilai_nr[$nilai->id_siswa] : []), "ekstra" => serialize(isset($nilai_ekstra[$nilai->id_siswa]) ? $nilai_ekstra[$nilai->id_siswa] : ''), "spritual" => $spiritual == null ? serialize([]) : serialize(["desk" => $spiritual->deskripsi, "nilai" => unserialize($spiritual->nilai)["predikat"]]), "sosial" => $sosial == null ? serialize([]) : serialize(["desk" => $sosial->deskripsi, "nilai" => unserialize($sosial->nilai)["predikat"]]), "rank" => serialize(["rank" => $nilai->ranking, "saran" => $nilai->rank_deskripsi]), "prestasi" => serialize([["nilai" => $nilai->p1, "desk" => $nilai->p1_desk], ["nilai" => $nilai->p2, "desk" => $nilai->p2_desk], ["nilai" => $nilai->p3, "desk" => $nilai->p3_desk]]), "absen" => $nilai->absen != null ? $nilai->absen : serialize([]), "saran" => $nilai->saran != null ? $nilai->saran : "-", "fisik" => serialize($fisik), "naik" => $nilai->naik != null ? $nilai->naik : "1", "setting_rapor" => serialize((array) $setting_rapor[$nilai->id_tp][$nilai->id_smt]), "setting_mapel" => serialize((array) $mapels)];
goto LQ4Ny;
BTfcS:
$spiritual = isset($nilai_sikap[$nilai->id_tp][$nilai->id_smt][$nilai->id_siswa][1]) ? $nilai_sikap[$nilai->id_tp][$nilai->id_smt][$nilai->id_siswa][1] : null;
goto NWo8s;
zzdVO:
}
goto qa1c0;
g4Q6I:
$nilai_nr = [];
goto Bqruk;
FbGsC:
$all_nilai = [];
goto PjJSs;
IMe9e:
$nilai_extra = $this->rapor->getAllNilaiEkstra();
goto ofV40;
bGEdd:
$this->load->model("Master_model", "master");
goto AToJ8;
IiZhF:
HTqXP:
goto yDgdT;
CT0KG:
$kkms = $this->rapor->getAllKkm();
goto dlJKP;
eN3pN:
$smts = $this->dashboard->getSemester();
goto QT1AE;
A4UDC:
$rapor_fisik = $this->rapor->getAllFisik();
goto LWZta;
LWZta:
$nilai_hph = [];
goto SlgCB;
adgLJ:
$this->db->trans_start();
goto WLyPw;
SlgCB:
$nilai_hpts = [];
goto xpXRF;
AToJ8:
$setting = $this->dashboard->getSetting();
goto fIxXq;
WLyPw:
if (!(count($insert) > 0)) {
goto HTqXP;
}
goto E6zyU;
E6zyU:
$this->db->insert_batch("buku_nilai", $insert);
goto cFgLK;
QT1AE:
$gurus = $this->master->getAllWaliKelas();
goto wvvk3;
Bqruk:
$nilai_ekstra = [];
goto mUgdL;
k4CEF:
$insert = [];
goto eJvAv;
M7gjq:
$res["all_nilai"] = $all_nilai;
goto TgpnG;
eJvAv:
$ids_siswa = [];
goto jZxXM;
qa1c0:
TBMIm:
goto k4CEF;
fz1LY:
$res["nilai_ekstra"] = $mapels;
goto M7gjq;
wvvk3:
$mapels = $this->master->getAllMapel();
goto FbGsC;
gE7kY:
$this->load->model("Dashboard_model", "dashboard");
goto bGEdd;
XZK10:
$this->output_json($res);
goto QWUem;
d3ETt:
$setting_rapor = $this->rapor->getAllRaporSetting();
goto CT0KG;
cFgLK:
$this->rapor->deleteNilaiRapor();
goto IiZhF;
dlJKP:
$nilai_rapor = $this->rapor->getAllNilaiRapor();
goto IMe9e;
ofV40:
$nilai_sikap = $this->rapor->getAllNilaiSikap();
goto A4UDC;
TgpnG:
$res["insert"] = $insert;
goto CAtk4;
VcIrX:
$this->load->model("Rapor_model", "rapor");
goto gE7kY;
jZxXM:
foreach ($tps as $tp) {
goto qt0Gv;
qt0Gv:
foreach ($smts as $smt) {
goto pNg2L;
pNg2L:
if (!(isset($all_nilai[$tp->id_tp]) && isset($all_nilai[$tp->id_tp][$smt->id_smt]))) {
goto rH9t_;
}
goto BCKRO;
BCKRO:
foreach ($all_nilai[$tp->id_tp][$smt->id_smt] as $nilai) {
goto yitjZ;
O9u4H:
$insert[] = $nilai;
goto WQeU9;
HKP26:
if ($this->rapor->exists($nilai["uid"], $nilai["tp"], $nilai["smt"], $nilai["kelas"])) {
goto rC0aA;
}
goto O9u4H;
yitjZ:
$ids_siswa[$nilai["id_siswa"]] = $nilai["id_siswa"];
goto HKP26;
VxKro:
uwXaw:
goto n0yK4;
WQeU9:
rC0aA:
goto VxKro;
n0yK4:
}
goto LRhYL;
LRhYL:
X5c8M:
goto XVXRK;
v1Tev:
ifRuL:
goto Z1ZaF;
XVXRK:
rH9t_:
goto v1Tev;
Z1ZaF:
}
goto Vs1My;
oynZN:
shAi8:
goto IZI0q;
Vs1My:
i3HQ8:
goto oynZN;
IZI0q:
}
goto FNWv7;
QWUem:
}
public function restoreNilai()
{
goto jDT5x;
FOEJs:
$res += $this->db->insert_batch("rapor_nilai_ekstra", $ekstra_insert);
goto Mo88e;
HCuwP:
$res += $this->db->insert_batch("rapor_nilai_akhir", $hpas_insert);
goto CvB9K;
AM2Wb:
$this->db->empty_table("buku_nilai");
goto yoGWw;
G8oFj:
$this->db->trans_start();
goto GKWH0;
OQkqM:
$nilai_rapor = [];
goto ndt1c;
Ansc7:
qjn7g:
goto TbBDW;
yoGWw:
iszsS:
goto qWHYz;
jnrAB:
$hpts_insert = [];
goto HjIpQ;
rQTPZ:
$fisik_insert = [];
goto v2kd6;
ZQuXV:
$smts = $this->dashboard->getSemester();
goto y8BCS;
wXRft:
$res += $this->db->insert_batch("rapor_prestasi", $rank_insert);
goto Q0Xo2;
mtHMu:
$kelass = $this->kelas->getAllKelas();
goto f23WQ;
L8yil:
$res += $this->db->insert_batch("rapor_catatan_wali", $absen_insert);
goto D1tZ_;
Q0Xo2:
Z8pL4:
goto PAZDZ;
TBz1m:
$mapels = $this->master->getAllMapel();
goto jf0_2;
TbBDW:
if (!(count($hph_insert) > 0)) {
goto Q41gw;
}
goto mgAAi;
fMrqz:
Q41gw:
goto t9uNp;
VgtTY:
$sosial_insert = [];
goto eO0jD;
GfyRi:
$spritual = [];
goto CB5Co;
eO0jD:
$rank_insert = [];
goto xicR5;
CvB9K:
S20e6:
goto rkfSS;
f23WQ:
$hph = [];
goto PGZ_d;
Ie1VB:
$res += $this->db->insert_batch("rapor_nilai_sikap", $spritual_insert);
goto HryJp;
gKPLp:
ikY5u:
goto ZK2xK;
ZK2xK:
if (!$res) {
goto iszsS;
}
goto AM2Wb;
L7IZr:
$hpas = [];
goto OQkqM;
rkfSS:
if (!(count($hpts_insert) > 0)) {
goto qjn7g;
}
goto IJwrS;
PAZDZ:
if (!(count($absen_insert) > 0)) {
goto eQmNv;
}
goto L8yil;
A0pg6:
$ekstra_insert = [];
goto CCe0z;
IJwrS:
$res += $this->db->insert_batch("rapor_nilai_pts", $hpts_insert);
goto Ansc7;
qWHYz:
$this->db->trans_complete();
goto qtEme;
jm1RU:
dB8bf:
goto IS0ZJ;
fzgEj:
foreach ($siswas as $id => $siswa) {
goto g4qXp;
RzkIq:
$spritual[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = unserialize($siswa->spritual);
goto qRdN8;
uOQCi:
$hph[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = unserialize($siswa->hph);
goto NRDk1;
bZVyS:
$fisik[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = unserialize($siswa->fisik);
goto Nig9r;
ispnQ:
$id_kelas = '';
goto WLCdQ;
qRdN8:
$sosial[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = unserialize($siswa->sosial);
goto OqC2U;
Lq4fK:
$absen[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = ["nilai" => $siswa->absen, "deskripsi" => $siswa->saran];
goto bZVyS;
ejP0J:
$ekstra[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = unserialize($siswa->ekstra);
goto RzkIq;
g4qXp:
$index_tp = array_search($siswa->tp, array_column($tps, "tahun"));
goto vHqoN;
vHqoN:
$tp = $tps[$index_tp];
goto L1CJT;
ZUJkV:
$prestasi[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = unserialize($siswa->prestasi);
goto Lq4fK;
Nig9r:
foreach ($fisik[$tp->id_tp][$smt->id_smt][$id][$id_kelas] as $value) {
$value->kondisi = unserialize($value->kondisi);
DtAk0:
}
goto ZMbV9;
ZMbV9:
hDuef:
goto UcuJU;
X1cvg:
O7KWv:
goto uOQCi;
WLCdQ:
foreach ($kelass as $kelas) {
goto VpljH;
ovu7P:
YPJgh:
goto GrjlZ;
obmoJ:
$id_kelas = $kelas->id_kelas;
goto BlBpF;
BlBpF:
S0y1R:
goto ovu7P;
VpljH:
if (!($kelas->id_tp == $tp->id_tp && $kelas->id_smt == $smt->id_smt && $kelas->nama_kelas == $siswa->kelas)) {
goto S0y1R;
}
goto obmoJ;
GrjlZ:
}
goto X1cvg;
tMx8e:
$nilai_rapor[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = unserialize($siswa->nilai_rapor);
goto ejP0J;
NRDk1:
$hpts[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = unserialize($siswa->hpts);
goto yzZAi;
L1CJT:
$index_smt = array_search($siswa->smt, array_column($smts, "nama_smt"));
goto wxG_D;
wxG_D:
$smt = $smts[$index_smt];
goto ispnQ;
yzZAi:
$hpas[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = unserialize($siswa->hpas);
goto tMx8e;
UcuJU:
pp7Io:
goto Po04T;
OqC2U:
$rank[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = unserialize($siswa->rank);
goto ZUJkV;
Po04T:
}
goto jm1RU;
PGZ_d:
$hpts = [];
goto L7IZr;
rCODQ:
LSDOP:
goto G8oFj;
NM094:
$res += $this->db->insert_batch("rapor_nilai_sikap", $sosial_insert);
goto gKPLp;
hlH0l:
$this->load->model("Rapor_model", "rapor");
goto g0Mi1;
t9uNp:
if (!(count($spritual_insert) > 0)) {
goto ZpoXE;
}
goto Ie1VB;
nq8tG:
$this->load->model("Master_model", "master");
goto kUswh;
jDT5x:
$this->load->model("Dashboard_model", "dashboard");
goto hlH0l;
At2u6:
$absen = [];
goto YSGln;
YSGln:
$fisik = [];
goto fzgEj;
VwcfP:
if (!(count($sosial_insert) > 0)) {
goto ikY5u;
}
goto NM094;
kUswh:
$tps = $this->dashboard->getTahun();
goto ZQuXV;
ndt1c:
$ekstra = [];
goto GfyRi;
v2kd6:
foreach ($tps as $tp) {
goto t2SDg;
L3sEw:
Bb6Ya:
goto lBjM0;
lBjM0:
qUVTe:
goto bgVup;
t2SDg:
foreach ($smts as $smt) {
goto yjTjP;
f6ms8:
Usrb5:
goto wpjC7;
Vcmwv:
if (!(isset($hpas[$tp->id_tp]) && isset($hpas[$tp->id_tp][$smt->id_smt]))) {
goto u61Hh;
}
goto HkiGy;
OhZ2m:
jL2lJ:
goto Fj1Ke;
a4CGY:
if (!(isset($rank[$tp->id_tp]) && isset($rank[$tp->id_tp][$smt->id_smt]))) {
goto gTmvP;
}
goto u5eUl;
azGNS:
if (!(isset($ekstra[$tp->id_tp]) && isset($ekstra[$tp->id_tp][$smt->id_smt]))) {
goto YCDNa;
}
goto YzP8k;
kjBhO:
if (!(isset($spritual[$tp->id_tp]) && isset($spritual[$tp->id_tp][$smt->id_smt]))) {
goto BiGqw;
}
goto phPKE;
dhN10:
eKHXC:
goto W2M5h;
phPKE:
foreach ($spritual[$tp->id_tp][$smt->id_smt] as $id => $pht) {
goto ohLuH;
b24ex:
mGwr3:
goto c3H5q;
Sjrf4:
H_6VS:
goto b24ex;
ohLuH:
foreach ($pht as $kls => $nilai) {
goto xJYYY;
xJYYY:
$vals = ["id_nilai_sikap" => $kls . $id . $tp->id_tp . $smt->id_smt . "1", "id_siswa" => $id, "id_kelas" => $kls, "id_tp" => $tp->id_tp, "id_smt" => $smt->id_smt, "jenis" => "1", "nilai" => serialize(["predikat" => $nilai["nilai"], "sl1" => '', "sl2" => '', "sl3" => '', "mb1" => '', "mb2" => '', "mb3" => '']), "deskripsi" => $nilai["desk"]];
goto n6tg8;
n6tg8:
$spritual_insert[] = $vals;
goto tQWde;
tQWde:
Ntvg2:
goto OxQ8M;
OxQ8M:
}
goto Sjrf4;
c3H5q:
}
goto cV5fn;
gtBj5:
Eu2V8:
goto Nvs5L;
WnQLm:
u61Hh:
goto azGNS;
W2M5h:
PYvBe:
goto a4CGY;
yjTjP:
if (!(isset($hph[$tp->id_tp]) && isset($hph[$tp->id_tp][$smt->id_smt]))) {
goto Eu2V8;
}
goto PyF2F;
YzP8k:
foreach ($ekstra[$tp->id_tp][$smt->id_smt] as $id => $pha) {
goto Xkb4x;
Xkb4x:
foreach ($pha as $kls => $nilai) {
goto m3ep3;
lGYXS:
i63RI:
goto DfSiT;
m3ep3:
if (!($nilai != '')) {
goto Zc3fG;
}
goto EwbPa;
EwbPa:
foreach ($nilai as $ph) {
goto gCjgY;
gCjgY:
$vals = ["id_nilai_ekstra" => $ph["id_ekstra"] . $kls . $id . $tp->id_tp . $smt->id_smt, "id_siswa" => $id, "id_ekstra" => $ph["id_ekstra"], "id_kelas" => $kls, "id_tp" => $tp->id_tp, "id_smt" => $smt->id_smt, "nilai" => $ph["nilai"], "predikat" => $ph["pred"], "deskripsi" => $ph["desk"]];
goto TrBWD;
TrBWD:
$ekstra_insert[] = $vals;
goto WKUKL;
WKUKL:
auPx9:
goto P16oZ;
P16oZ:
}
goto RQasT;
RQasT:
HxDbK:
goto TjFe8;
TjFe8:
Zc3fG:
goto lGYXS;
DfSiT:
}
goto NaWzJ;
NaWzJ:
DlTjV:
goto k5wop;
k5wop:
qCEVv:
goto ILVxB;
ILVxB:
}
goto f6ms8;
qwgvR:
foreach ($sosial[$tp->id_tp][$smt->id_smt] as $id => $pht) {
goto KzVlR;
KzVlR:
foreach ($pht as $kls => $nilai) {
goto z5BU3;
z5BU3:
$vals = ["id_nilai_sikap" => $kls . $id . $tp->id_tp . $smt->id_smt . "2", "id_siswa" => $id, "id_kelas" => $kls, "id_tp" => $tp->id_tp, "id_smt" => $smt->id_smt, "jenis" => "2", "nilai" => serialize(["predikat" => $nilai["nilai"], "sl1" => '', "sl2" => '', "sl3" => '', "mb1" => '', "mb2" => '', "mb3" => '']), "deskripsi" => $nilai["desk"]];
goto GWCAe;
GWCAe:
$sosial_insert[] = $vals;
goto xYsZA;
xYsZA:
tk0Rp:
goto vxS0Y;
vxS0Y:
}
goto EPchX;
EPchX:
p4w8d:
goto pTiyX;
pTiyX:
jBV0Z:
goto frZQ1;
frZQ1:
}
goto dhN10;
wpjC7:
YCDNa:
goto kjBhO;
cV5fn:
qLoct:
goto JywyM;
sRR35:
foreach ($hpts[$tp->id_tp][$smt->id_smt] as $id => $pht) {
goto NxePA;
TCtks:
XbLIo:
goto kawUK;
NxePA:
foreach ($pht as $kls => $nilai) {
goto UluUm;
uuH2q:
U0OL6:
goto gx15O;
gx15O:
E2Ko6:
goto rb74k;
UluUm:
foreach ($nilai as $ph) {
goto RMo3H;
RMo3H:
$vals = ["id_nilai_pts" => $ph["id_mapel"] . $kls . $id . $tp->id_tp . $smt->id_smt, "id_siswa" => $id, "id_mapel" => $ph["id_mapel"], "id_kelas" => $kls, "id_tp" => $tp->id_tp, "id_smt" => $smt->id_smt, "nilai" => $ph["nilai"], "predikat" => $ph["pred"]];
goto GzO7r;
XOhW4:
bTe1U:
goto zj5g1;
GzO7r:
$hpts_insert[] = $vals;
goto XOhW4;
zj5g1:
}
goto uuH2q;
rb74k:
}
goto TCtks;
kawUK:
zo_M8:
goto FLmEc;
FLmEc:
}
goto OhZ2m;
zGLCv:
qwnoZ:
goto EqUxm;
EqUxm:
IzmD9:
goto up5gm;
g91Bc:
if (!(isset($absen[$tp->id_tp]) && isset($absen[$tp->id_tp][$smt->id_smt]))) {
goto IzmD9;
}
goto kS1nO;
JywyM:
BiGqw:
goto q6xK2;
PyF2F:
foreach ($hph[$tp->id_tp][$smt->id_smt] as $id => $phs) {
goto NsTAz;
NsTAz:
foreach ($phs as $kls => $nilai) {
goto SaVxI;
DOQWU:
iMwyL:
goto ps9Jd;
ps9Jd:
i00vo:
goto re2Os;
SaVxI:
foreach ($nilai as $ph) {
goto tUexO;
vTxH1:
mDUiP:
goto IDu7P;
LE13C:
$vals = ["id_nilai_harian" => $ph["id_mapel"] . $kls . $id . $tp->id_tp . $smt->id_smt, "id_siswa" => $id, "id_mapel" => $ph["id_mapel"], "id_kelas" => $kls, "id_tp" => $tp->id_tp, "id_smt" => $smt->id_smt, "p_rata_rata" => $p_rata, "p1" => $p_rata + 1, "p2" => $p_rata - 1, "p3" => $p_rata, "p4" => '', "p5" => '', "p6" => '', "p7" => '', "p8" => '', "p_predikat" => $ph["p_pred"], "p_deskripsi" => $ph["p_desk"], "k_rata_rata" => $k_rata, "k1" => $k_rata + 1, "k2" => $k_rata - 1, "k3" => $k_rata, "k4" => '', "k5" => '', "k6" => '', "k7" => '', "k8" => '', "k_predikat" => $ph["k_pred"], "k_deskripsi" => $ph["k_desk"], "jml" => ''];
goto WXwuB;
tUexO:
$p_rata = (int) $ph["p_nilai"];
goto f7qZy;
WXwuB:
$hph_insert[] = $vals;
goto vTxH1;
f7qZy:
$k_rata = (int) $ph["k_nilai"];
goto LE13C;
IDu7P:
}
goto DOQWU;
re2Os:
}
goto Lym1L;
rWKNv:
csdOK:
goto wCyFS;
Lym1L:
ZbiwL:
goto rWKNv;
wCyFS:
}
goto Ob5SG;
u5eUl:
foreach ($rank[$tp->id_tp][$smt->id_smt] as $id => $pht) {
goto QZGiT;
iX4hM:
msD5U:
goto DxT1X;
Aw2u9:
btNKC:
goto iX4hM;
QZGiT:
foreach ($pht as $kls => $nilai) {
goto vW4Bu;
vW4Bu:
$prt = $prestasi[$tp->id_tp][$smt->id_smt][$id][$kls];
goto zTUjv;
zTUjv:
$vals = ["id_ranking" => $kls . $id . $tp->id_tp . $smt->id_smt, "id_siswa" => $id, "id_kelas" => $kls, "id_tp" => $tp->id_tp, "id_smt" => $smt->id_smt, "ranking" => $nilai["rank"], "deskripsi" => $nilai["saran"], "p1" => $prt[0]["nilai"], "p1_desk" => $prt[0]["desk"], "p2" => $prt[1]["nilai"], "p2_desk" => $prt[1]["desk"], "p3" => $prt[2]["nilai"], "p3_desk" => $prt[2]["desk"]];
goto q6Ojv;
pbAYV:
H4Cln:
goto G2Z6r;
q6Ojv:
$rank_insert[] = $vals;
goto pbAYV;
G2Z6r:
}
goto Aw2u9;
DxT1X:
}
goto wam25;
gok3K:
gTmvP:
goto g91Bc;
q6xK2:
if (!(isset($sosial[$tp->id_tp]) && isset($sosial[$tp->id_tp][$smt->id_smt]))) {
goto PYvBe;
}
goto qwgvR;
wam25:
lJ_kd:
goto gok3K;
Nvs5L:
if (!(isset($hpts[$tp->id_tp]) && isset($hpts[$tp->id_tp][$smt->id_smt]))) {
goto zHxZ8;
}
goto sRR35;
kS1nO:
foreach ($absen[$tp->id_tp][$smt->id_smt] as $id => $pht) {
goto OfzGf;
WTfLH:
egoRH:
goto UCxEG;
OfzGf:
foreach ($pht as $kls => $nilai) {
goto UM123;
gG_JS:
WFGGd:
goto jQ9hq;
UM123:
$vals = ["id_catatan_wali" => $kls . $id . $tp->id_tp . $smt->id_smt, "id_siswa" => $id, "id_kelas" => $kls, "id_tp" => $tp->id_tp, "id_smt" => $smt->id_smt, "nilai" => $nilai["nilai"], "deskripsi" => $nilai["deskripsi"]];
goto FWZtV;
FWZtV:
$absen_insert[] = $vals;
goto gG_JS;
jQ9hq:
}
goto WTfLH;
UCxEG:
ErrZf:
goto D5wQc;
D5wQc:
}
goto zGLCv;
Fj1Ke:
zHxZ8:
goto Vcmwv;
H2EBg:
Nis2i:
goto WnQLm;
HkiGy:
foreach ($hpas[$tp->id_tp][$smt->id_smt] as $id => $pha) {
goto xnmTK;
lf6HU:
mJ7Jt:
goto vls6u;
r3phH:
aGuEa:
goto lf6HU;
xnmTK:
foreach ($pha as $kls => $nilai) {
goto iuIm0;
emAIb:
wM4To:
goto I1cS8;
LW5xs:
EL8iB:
goto emAIb;
iuIm0:
foreach ($nilai as $ph) {
goto DDdef;
h228y:
WLMxE:
goto hwt4o;
yyieO:
$hnr = $nr[$index];
goto gluxc;
gluxc:
$vals = ["id_nilai_akhir" => $ph["id_mapel"] . $kls . $id . $tp->id_tp . $smt->id_smt, "id_siswa" => $id, "id_mapel" => $ph["id_mapel"], "id_kelas" => $kls, "id_tp" => $tp->id_tp, "id_smt" => $smt->id_smt, "nilai" => $ph["nilai"], "akhir" => $hnr["nilai"], "predikat" => $hnr["pred"]];
goto YURYn;
pZNgf:
$index = array_search($ph["id_mapel"], array_column($nr, "id_mapel"));
goto yyieO;
YURYn:
$hpas_insert[] = $vals;
goto h228y;
DDdef:
$nr = $nilai_rapor[$tp->id_tp][$smt->id_smt][$id][$kls];
goto pZNgf;
hwt4o:
}
goto LW5xs;
I1cS8:
}
goto r3phH;
vls6u:
}
goto H2EBg;
up5gm:
fwnGG:
goto TxQrz;
Ob5SG:
Co35s:
goto gtBj5;
TxQrz:
}
goto L3sEw;
bgVup:
}
goto rCODQ;
Mo88e:
HhISA:
goto GZZsi;
D1tZ_:
eQmNv:
goto Axhmg;
qtEme:
return $res;
goto jHhyO;
CB5Co:
$sosial = [];
goto Yl2pH;
jf0_2:
$siswas = $this->rapor->getDataKumpulanRapor();
goto mtHMu;
IS0ZJ:
$hph_insert = [];
goto jnrAB;
GZZsi:
if (!(count($hpas_insert) > 0)) {
goto S20e6;
}
goto HCuwP;
y8BCS:
$gurus = $this->master->getAllWaliKelas();
goto TBz1m;
HryJp:
ZpoXE:
goto VwcfP;
HjIpQ:
$hpas_insert = [];
goto A0pg6;
sulLf:
if (!(count($rank_insert) > 0)) {
goto Z8pL4;
}
goto wXRft;
GKWH0:
$res = 0;
goto sulLf;
xicR5:
$absen_insert = [];
goto rQTPZ;
DRAop:
$prestasi = [];
goto At2u6;
Axhmg:
if (!(count($ekstra_insert) > 0)) {
goto HhISA;
}
goto FOEJs;
g0Mi1:
$this->load->model("Kelas_model", "kelas");
goto nq8tG;
Yl2pH:
$rank = [];
goto DRAop;
mgAAi:
$res += $this->db->insert_batch("rapor_nilai_harian", $hph_insert);
goto fMrqz;
CCe0z:
$spritual_insert = [];
goto VgtTY;
jHhyO:
}
public function edit()
{
goto Dw5pL;
QSmRn:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto WBqrV;
QagCI:
$semester = $this->input->get("semester", true);
goto t4L5c;
gKBWT:
$tp = $this->dashboard->getTahunActive();
goto C_E1M;
e1DSe:
$data["profile"] = $this->dashboard->getProfileAdmin($user->id);
goto bl0zQ;
WBqrV:
$nguru[$guru->id_guru] = $guru->nama_guru;
goto FWSot;
uiLn8:
$tahun = $this->input->get("tahun", true);
goto QagCI;
fgQDc:
$data = ["user" => $user, "judul" => "Edit Nilai", "subjudul" => "Nilai Rapor Kelas " . $kelas . ", TP:" . $tahun . ", SMT:" . $semester, "setting" => $setting];
goto gKBWT;
EwB_R:
$data["tp_active"] = $tp;
goto JVi8r;
oXT_s:
$data["tp"] = $this->dashboard->getTahun();
goto EwB_R;
Wqb5p:
$setting = $this->dashboard->getSetting();
goto fgQDc;
OIgmw:
if ($this->ion_auth->is_admin()) {
goto eu6QE;
}
goto QSmRn;
PfHef:
$this->load->view("setting/datarapor");
goto GeuWt;
EmKM4:
$this->load->view("_templates/dashboard/_footer");
goto Vd9EH;
Aztkq:
HmFo8:
goto GYB2K;
c55ex:
goto rE4gD;
goto Gmz6v;
p7WDH:
$this->load->model("Rapor_model", "rapor");
goto lkrBn;
GYB2K:
$data["siswas"] = $siswas;
goto OIgmw;
Dw5pL:
$this->load->model("Dashboard_model", "dashboard");
goto p7WDH;
lkrBn:
$kelas = $this->input->get("kelas", true);
goto uiLn8;
jZ95r:
$data["smt_active"] = $smt;
goto DuP1d;
FWSot:
$data["guru"] = $guru;
goto SY2ii;
JVi8r:
$data["smt"] = $this->dashboard->getSemester();
goto jZ95r;
Gmz6v:
eu6QE:
goto e1DSe;
SY2ii:
$this->load->view("members/guru/templates/header", $data);
goto PfHef;
DvAnU:
foreach ($siswas as $siswa) {
goto U7CwT;
LwQ86:
$siswa->setting_mapel = unserialize($siswa->setting_mapel);
goto DOAbR;
iVV_M:
$siswa->prestasi = unserialize($siswa->prestasi);
goto kppQ_;
VZP2g:
qJFME:
goto i1YLm;
U7CwT:
$siswa->hph = unserialize($siswa->hph);
goto vN1Vu;
DKnsa:
$siswa->fisik = unserialize($siswa->fisik);
goto qLzwC;
elS2z:
$siswa->ekstra = unserialize($siswa->ekstra);
goto FPM8d;
DOAbR:
Nwbz1:
goto DF77w;
FyxM2:
$siswa->nilai_rapor = unserialize($siswa->nilai_rapor);
goto elS2z;
Qy8xb:
$siswa->sosial = unserialize($siswa->sosial);
goto HzhZ4;
i1YLm:
$siswa->setting_rapor = unserialize($siswa->setting_rapor);
goto LwQ86;
qLzwC:
foreach ($siswa->fisik as $value) {
$value->kondisi = unserialize($value->kondisi);
GBdNs:
}
goto VZP2g;
FPM8d:
$siswa->spritual = unserialize($siswa->spritual);
goto Qy8xb;
HzhZ4:
$siswa->rank = unserialize($siswa->rank);
goto iVV_M;
kppQ_:
$siswa->absen = unserialize($siswa->absen);
goto DKnsa;
vN1Vu:
$siswa->hpts = unserialize($siswa->hpts);
goto VaPo_;
VaPo_:
$siswa->hpas = unserialize($siswa->hpas);
goto FyxM2;
DF77w:
}
goto Aztkq;
Vd9EH:
rE4gD:
goto VSpIY;
bl0zQ:
$this->load->view("_templates/dashboard/_header", $data);
goto VLT7y;
VLT7y:
$this->load->view("setting/datarapor");
goto EmKM4;
DuP1d:
$siswas = $this->rapor->getDataKumpulanRapor($kelas, $tahun, $semester);
goto DvAnU;
C_E1M:
$smt = $this->dashboard->getSemesterActive();
goto oXT_s;
GeuWt:
$this->load->view("members/guru/templates/footer");
goto c55ex;
t4L5c:
$user = $this->ion_auth->user()->row();
goto Wqb5p;
VSpIY:
}
public function ledger()
{
goto rqE5u;
AKQFp:
$this->load->view("members/guru/templates/footer");
goto NrlbS;
qFM6s:
Davw5:
goto hBIFq;
yVUa_:
$data["guru"] = $guru;
goto cxMKB;
Dan0_:
$this->load->view("setting/datarapor");
goto AoOJu;
NrlbS:
goto WWT0b;
goto PhB0N;
cxMKB:
$this->load->view("members/guru/templates/header", $data);
goto suTNy;
YRMys:
foreach ($siswas as $siswa) {
goto AY8ub;
Lv_Sj:
$siswa->spritual = unserialize($siswa->spritual);
goto zHQ3z;
ulijh:
$siswa->setting_rapor = unserialize($siswa->setting_rapor);
goto HutwF;
iLlmm:
$siswa->hpts = unserialize($siswa->hpts);
goto uPKkL;
hdpVX:
$siswa->nilai_rapor = unserialize($siswa->nilai_rapor);
goto u0J0N;
GVOmX:
amE0K:
goto fVQSV;
AY8ub:
$siswa->hph = unserialize($siswa->hph);
goto iLlmm;
uPKkL:
$siswa->hpas = unserialize($siswa->hpas);
goto hdpVX;
zHQ3z:
$siswa->sosial = unserialize($siswa->sosial);
goto k9eLp;
u0J0N:
$siswa->ekstra = unserialize($siswa->ekstra);
goto Lv_Sj;
HutwF:
$siswa->setting_mapel = unserialize($siswa->setting_mapel);
goto GVOmX;
S7VUO:
foreach ($siswa->fisik as $value) {
$value->kondisi = unserialize($value->kondisi);
PJOVt:
}
goto WP7Br;
k9eLp:
$siswa->rank = unserialize($siswa->rank);
goto GVVV1;
WP7Br:
WfHKw:
goto ulijh;
Crmr4:
$siswa->absen = unserialize($siswa->absen);
goto TeEEX;
TeEEX:
$siswa->fisik = unserialize($siswa->fisik);
goto S7VUO;
GVVV1:
$siswa->prestasi = unserialize($siswa->prestasi);
goto Crmr4;
fVQSV:
}
goto qFM6s;
CEe2t:
$data["smt"] = $this->dashboard->getSemester();
goto piy73;
rqE5u:
$this->load->model("Dashboard_model", "dashboard");
goto FxGHr;
piy73:
$data["smt_active"] = $smt;
goto zTxTG;
eb5Qv:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto SPcn3;
suTNy:
$this->load->view("setting/datarapor");
goto AKQFp;
GGDFT:
$smt = $this->dashboard->getSemesterActive();
goto v97r4;
FxGHr:
$this->load->model("Rapor_model", "rapor");
goto cajRJ;
AoOJu:
$this->load->view("_templates/dashboard/_footer");
goto oIWNM;
Ddl1q:
$data["profile"] = $this->dashboard->getProfileAdmin($user->id);
goto jMeP3;
SPcn3:
$nguru[$guru->id_guru] = $guru->nama_guru;
goto yVUa_;
NBohH:
$data["tp_active"] = $tp;
goto CEe2t;
cajRJ:
$kelas = $this->input->get("kelas", true);
goto szhjV;
zTxTG:
$siswas = $this->rapor->getDataKumpulanRapor($kelas, $tahun, $semester);
goto YRMys;
VplG9:
if ($this->ion_auth->is_admin()) {
goto PEyZu;
}
goto eb5Qv;
rHxKH:
$data = ["user" => $user, "judul" => "Edit Nilai", "subjudul" => "Nilai Rapor Kelas " . $kelas . ", TP:" . $tahun . ", SMT:" . $semester, "setting" => $setting];
goto umX7N;
kXzfk:
$semester = $this->input->get("semester", true);
goto uJMeQ;
wwqPB:
$setting = $this->dashboard->getSetting();
goto rHxKH;
oIWNM:
WWT0b:
goto u0nYe;
szhjV:
$tahun = $this->input->get("tahun", true);
goto kXzfk;
v97r4:
$data["tp"] = $this->dashboard->getTahun();
goto NBohH;
hBIFq:
$data["siswas"] = $siswas;
goto VplG9;
umX7N:
$tp = $this->dashboard->getTahunActive();
goto GGDFT;
jMeP3:
$this->load->view("_templates/dashboard/_header", $data);
goto Dan0_;
PhB0N:
PEyZu:
goto Ddl1q;
uJMeQ:
$user = $this->ion_auth->user()->row();
goto wwqPB;
u0nYe:
}
public function dkn()
{
goto KtUn2;
Bdk6M:
LzKxQ:
goto UE1Rr;
gsC7N:
$smt = $this->dashboard->getSemesterActive();
goto hnMc6;
bLiY_:
$data["tp_active"] = $tp;
goto KKfip;
C_vMJ:
$this->load->model("Rapor_model", "rapor");
goto pIjVC;
KKfip:
$data["smt"] = $this->dashboard->getSemester();
goto sfRlq;
BrIrV:
$tahun = $this->input->get("tahun", true);
goto q8aUM;
gJ2vv:
$setting = $this->dashboard->getSetting();
goto nh0uj;
Lna9X:
$this->load->view("setting/datarapor");
goto v9sh0;
S3ogQ:
$nguru[$guru->id_guru] = $guru->nama_guru;
goto YNRmP;
sfRlq:
$data["smt_active"] = $smt;
goto eaw2p;
UE1Rr:
$data["siswas"] = $siswas;
goto QEDI7;
v9sh0:
$this->load->view("members/guru/templates/footer");
goto znyHs;
pIjVC:
$kelas = $this->input->get("kelas", true);
goto BrIrV;
wM0YE:
$this->load->view("setting/datarapor");
goto qQ17e;
gui2v:
YVdgb:
goto tD5BV;
nh0uj:
$data = ["user" => $user, "judul" => "Edit Nilai", "subjudul" => "Nilai Rapor Kelas " . $kelas . ", TP:" . $tahun . ", SMT:" . $semester, "setting" => $setting];
goto zxLLT;
qQ17e:
$this->load->view("_templates/dashboard/_footer");
goto gui2v;
Pa9Hx:
$this->load->view("_templates/dashboard/_header", $data);
goto wM0YE;
znyHs:
goto YVdgb;
goto J9GRL;
hnMc6:
$data["tp"] = $this->dashboard->getTahun();
goto bLiY_;
qAVrD:
$data["profile"] = $this->dashboard->getProfileAdmin($user->id);
goto Pa9Hx;
eaw2p:
$siswas = $this->rapor->getDataKumpulanRapor($kelas, $tahun, $semester);
goto fBiVQ;
q8aUM:
$semester = $this->input->get("semester", true);
goto w7fon;
w7fon:
$user = $this->ion_auth->user()->row();
goto gJ2vv;
IohBP:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto S3ogQ;
zxLLT:
$tp = $this->dashboard->getTahunActive();
goto gsC7N;
YNRmP:
$data["guru"] = $guru;
goto pFRxz;
pFRxz:
$this->load->view("members/guru/templates/header", $data);
goto Lna9X;
J9GRL:
eDahe:
goto qAVrD;
fBiVQ:
foreach ($siswas as $siswa) {
goto ojY5d;
fY5L4:
$siswa->sosial = unserialize($siswa->sosial);
goto IdmDt;
qbNMX:
$siswa->prestasi = unserialize($siswa->prestasi);
goto cMuoi;
gXE0Z:
$siswa->setting_mapel = unserialize($siswa->setting_mapel);
goto Td9fk;
IdmDt:
$siswa->rank = unserialize($siswa->rank);
goto qbNMX;
cMuoi:
$siswa->absen = unserialize($siswa->absen);
goto gK22q;
IpUPq:
foreach ($siswa->fisik as $value) {
$value->kondisi = unserialize($value->kondisi);
N42j4:
}
goto awi1h;
A6Tub:
$siswa->spritual = unserialize($siswa->spritual);
goto fY5L4;
joTjV:
$siswa->nilai_rapor = unserialize($siswa->nilai_rapor);
goto NH2VG;
Td9fk:
QgSMP:
goto gkhZ4;
JWeky:
$siswa->hpts = unserialize($siswa->hpts);
goto qjIby;
NH2VG:
$siswa->ekstra = unserialize($siswa->ekstra);
goto A6Tub;
vE_QQ:
$siswa->setting_rapor = unserialize($siswa->setting_rapor);
goto gXE0Z;
gK22q:
$siswa->fisik = unserialize($siswa->fisik);
goto IpUPq;
ojY5d:
$siswa->hph = unserialize($siswa->hph);
goto JWeky;
awi1h:
IWH1l:
goto vE_QQ;
qjIby:
$siswa->hpas = unserialize($siswa->hpas);
goto joTjV;
gkhZ4:
}
goto Bdk6M;
KtUn2:
$this->load->model("Dashboard_model", "dashboard");
goto C_vMJ;
QEDI7:
if ($this->ion_auth->is_admin()) {
goto eDahe;
}
goto IohBP;
tD5BV:
}
function group_by($key, $data)
{
goto sxprv;
CvUdz:
return $result;
goto i6deZ;
Q6GYu:
foreach ($data as $val) {
goto cHYL3;
Szxzp:
VSO5Z:
goto IgJNa;
cHYL3:
if (array_key_exists($key, $val)) {
goto sYY5J;
}
goto XI4OR;
ySvjm:
goto gizB1;
goto YFwzy;
XI4OR:
$result[''][] = $val;
goto ySvjm;
Z7dcy:
gizB1:
goto Szxzp;
BxpTZ:
$result[$val->{$key}][] = $val;
goto Z7dcy;
YFwzy:
sYY5J:
goto BxpTZ;
IgJNa:
}
goto qADAR;
qADAR:
Aw1m0:
goto CvUdz;
sxprv:
$result = array();
goto Q6GYu;
i6deZ:
}
}
?>
Did this file decode correctly?
Original Code
<?php
/* ________________________________________
| GarudaCBT |
| https://github.com/garudacbt/cbt |
|________________________________________|
*/
class Bukurapor extends CI_Controller
{
public function __construct()
{
goto Kfnq6;
FLZHl:
$this->load->library(["\144\x61\x74\x61\x74\x61\x62\x6c\x65\163", "\146\x6f\162\x6d\137\x76\141\x6c\151\x64\141\x74\x69\x6f\156"]);
goto gLno3;
Kfnq6:
parent::__construct();
goto DT9F3;
DT9F3:
if (!$this->ion_auth->logged_in()) {
goto pNecU;
}
goto btelK;
BcVQX:
goto anLi4;
goto cCRy_;
pIaxs:
show_error("\110\x61\156\x79\141\x20\x41\144\x6d\151\x6e\151\x73\x74\162\141\x74\157\x72\x20\171\141\x6e\x67\x20\144\x69\x62\145\x72\151\x20\150\141\153\40\x75\x6e\164\x75\153\40\155\145\156\147\x61\153\163\145\x73\40\150\141\x6c\141\x6d\141\156\x20\151\x6e\x69\x2c\x20\74\141\40\x68\162\145\146\75\x22" . base_url("\144\x61\163\x68\x62\157\x61\162\x64") . "\42\76\x4b\x65\x6d\x62\x61\x6c\x69\40\153\x65\40\155\x65\156\165\40\x61\x77\x61\154\74\x2f\141\x3e", 403, "\x41\153\x73\x65\163\x20\124\x65\x72\154\141\162\x61\x6e\147");
goto oaRVT;
gLno3:
$this->form_validation->set_error_delimiters('', '');
goto Q3lur;
Xg38J:
redirect("\x61\x75\x74\x68");
goto vedM3;
oaRVT:
Kj19N:
goto BcVQX;
vedM3:
anLi4:
goto FLZHl;
btelK:
if (!(!$this->ion_auth->is_admin() && !$this->ion_auth->in_group("\x67\x75\162\165"))) {
goto Kj19N;
}
goto pIaxs;
cCRy_:
pNecU:
goto Xg38J;
Q3lur:
}
public function output_json($data, $encode = true)
{
goto F5_oV;
MqcU0:
$this->output->set_content_type("\x61\160\160\x6c\151\x63\141\164\x69\x6f\156\x2f\152\x73\157\156")->set_output($data);
goto MfOo_;
Bf873:
PgvS8:
goto MqcU0;
UMqc4:
$data = json_encode($data);
goto Bf873;
F5_oV:
if (!$encode) {
goto PgvS8;
}
goto UMqc4;
MfOo_:
}
public function index()
{
goto yxboI;
UgnTp:
$siswa = $siswas[$i];
goto i_pYw;
Y0Pvc:
YZCMf:
goto TdwH5;
bVdrl:
MyPKF:
goto aJHA6;
rGqp4:
$dummyDesks = ["\162\141\156\x6b\151\x6e\147" => '', "\x72\x61\156\153\137\144\145\x73\153\x72\151\x70\x73\151" => '', "\x70\61" => '', "\x70\x31\137\144\x65\163\x6b" => '', "\x70\x32" => '', "\160\62\x5f\x64\x65\163\153" => '', "\160\63" => '', "\x70\63\x5f\x64\145\x73\x6b" => ''];
goto qVxz7;
rtzMc:
$data["\x6e\x69\x6c\141\151"] = $nilai;
goto nufCa;
kJgVo:
if (!$kelases) {
goto z7di2;
}
goto N3B_B;
USExi:
$data["\x66\x69\163\x69\153"] = $fisik;
goto lw0Of;
iGo94:
if (!($kelas != null)) {
goto GkRu6;
}
goto tOPBO;
OCCBF:
foreach ($mapels as $mapel) {
goto QjpmZ;
j1JDt:
$key_mapel = array_search($mapel->id_mapel . $id_kelas . $id_siswa . $id_tp . $id_smt, array_column($nilai_rapor, "\x69\144\137\156\151\x6c\x61\x69\x5f\x68\141\162\x69\x61\x6e"));
goto d12_y;
d12_y:
if (!($key_mapel !== false)) {
goto ZzUCe;
}
goto Krt83;
Fjogc:
ZzUCe:
goto q0eKM;
Krt83:
$nr = $nilai_rapor[$key_mapel];
goto zSADg;
q0eKM:
f6oZn:
goto oTvzt;
zSADg:
$nilai[$id_siswa][$mapel->id_mapel] = $nr;
goto Fjogc;
QjpmZ:
$dummyNilai = ["\x70\137\x64\x65\163\x6b\x72\x69\x70\x73\x69" => '', "\153\137\162\141\x74\x61\137\x72\141\x74\141" => '', "\x6b\137\x64\145\163\x6b\x72\151\160\x73\151" => '', "\x6b\x5f\x70\162\145\144\x69\153\141\164" => '', "\x6e\x69\154\141\151" => '', "\160\162\x65\x64\151\153\141\164" => ''];
goto j1JDt;
oTvzt:
}
goto D3ien;
opbYW:
$arrk = [];
goto dH6tU;
F5Heo:
$this->load->view("\x72\141\160\157\162\x2f\x61\x72\x73\x69\x70\x72\x61\x70\157\162");
goto zp3O_;
X7Wna:
$data["\x6e\141\151\153"] = $this->rapor->getKenaikanRapor($id_kelas, $id_tp, $id_smt);
goto QzK8p;
SWHzz:
$data["\x67\165\x72\165"] = $kelas == null ? '' : $this->dashboard->getDataGuruById($kelas->id_guru, $id_tp, $id_smt);
goto EMy3P;
irrPu:
GkRu6:
goto vqKbi;
wUkJh:
$this->load->view("\137\164\145\x6d\x70\154\x61\164\x65\163\57\144\x61\163\150\142\x6f\x61\162\144\57\137\150\145\141\144\x65\x72", $data);
goto F5Heo;
fxfiI:
$user = $this->ion_auth->user()->row();
goto tjUYm;
FYlJg:
aY1Tu:
goto Wq2vI;
txb09:
$data["\152\x61\142\141\164\x61\x6e"] = null;
goto XZUdb;
mFxK4:
if (!($i < count($siswas))) {
goto lvG5T;
}
goto UgnTp;
dkPFo:
TlRcY:
goto QrftT;
Glk_R:
$kelompoks = [];
goto DaPzP;
mAexM:
$dummyFisik = ["\x6b\157\156\x64\151\163\151" => ["\164\x65\154\151\x6e\x67\x61" => '', "\x6d\141\x74\x61" => '', "\x67\151\147\x69" => '', "\x6c\x61\x69\156" => ''], "\x73\155\x74" . $id_smt => ["\x74\x69\x6e\x67\147\151" => '', "\x62\x65\x72\x61\x74" => '', "\164\160" => $id_tp], "\x73\x6d\x74" . $other => ["\164\151\156\147\147\x69" => '', "\x62\145\162\x61\x74" => '', "\164\160" => $id_tp]];
goto fiiq3;
fTeu9:
goto F_kg2;
goto ffkK0;
IvTqs:
$smt_active = $this->dashboard->getSemesterActive();
goto mhdiJ;
xAf_s:
Atw0L:
goto BDN_Z;
zp3O_:
$this->load->view("\x5f\x74\x65\155\160\154\x61\164\x65\x73\57\144\x61\163\x68\142\157\x61\x72\x64\x2f\x5f\146\157\157\164\x65\162");
goto Y0Pvc;
Hz_JJ:
SaLv5:
goto d95vZ;
Ti8LM:
$data["\141\142\x73\145\x6e\163\151"] = $absensi;
goto USExi;
PkhBz:
if ($id_tp != null && $id_smt != null) {
goto uW30N;
}
goto xdAPx;
D3ien:
Mnj6m:
goto rGqp4;
Rcwcm:
$data["\x64\x65\x73\x6b\162\151\x70\163\x69"] = $desks;
goto Ti8LM;
ZzYTq:
qS1oQ:
goto yw4SC;
BDN_Z:
CS3R3:
goto OCCBF;
frkvD:
$this->load->view("\155\145\x6d\142\145\162\x73\x2f\147\x75\162\165\57\x74\x65\x6d\x70\154\141\164\x65\x73\57\150\x65\x61\x64\x65\162", $data);
goto dEWA7;
FjPfV:
$dummySikap = ["\x70\x72\145\x64\151\x6b\x61\x74" => ''];
goto DFGDd;
DaPzP:
$kelas = isset($all_kls[$id_tp]) && isset($all_kls[$id_tp][$id_smt]) && isset($all_kls[$id_tp][$id_smt][$id_kelas]) ? $all_kls[$id_tp][$id_smt][$id_kelas] : null;
goto iGo94;
d95vZ:
$id_tp = $this->input->get("\x74\x70", true);
goto XnUZG;
Nj8_9:
$this->load->model("\x52\141\x70\x6f\x72\137\x6d\x6f\x64\145\x6c", "\x72\x61\160\x6f\162");
goto liX79;
tFsOs:
$data["\163\x6d\x74\x5f\163\145\x6c\x65\x63\164\x65\144"] = $id_smt;
goto jyz_D;
C7cqE:
$data["\155\x61\x70\145\154\x73"] = $mapels;
goto maMwB;
XMBtw:
$data["\154\166\x6c\137\x6b\x65\x6c\141\x73"] = $kelas != null ? $kelas->level_id : '';
goto C7cqE;
WZiZA:
$absensi[$id_siswa] = isset($catatans[$id_siswa]) ? $catatans[$id_siswa] : ["\156\x69\x6c\141\151" => $dummyAbsen];
goto mAexM;
a1A_F:
$fisik[$siswa->id_siswa] = $nf != null ? ["\x6b\157\x6e\x64\151\x73\151" => unserialize($nf->kondisi), "\163\155\164" . $nf->id_smt => ["\164\151\x6e\147\147\x69" => $nf->tinggi, "\x62\145\162\141\x74" => $nf->berat], "\163\x6d\164" . $other => ["\x74\151\x6e\147\147\151" => $nf2 != null ? $nf2->tinggi : '', "\142\145\162\x61\164" => $nf2 != null ? $nf2->berat : '']] : $dummyFisik;
goto LW_C8;
p8dmc:
$this->load->model("\x4d\x61\x73\x74\145\x72\137\x6d\x6f\x64\x65\154", "\155\141\x73\164\145\x72");
goto fqrNw;
yxboI:
$this->load->model("\x44\x61\163\x68\142\x6f\x61\x72\144\137\x6d\x6f\x64\145\x6c", "\x64\x61\163\x68\x62\157\x61\x72\144");
goto Nj8_9;
fiKXn:
goto CS3R3;
goto FYlJg;
qn3Qg:
$mapelEkstra = [];
goto J3HNS;
eRFcO:
$i = 0;
goto J7VTs;
kvl2p:
$mapels = [];
goto Glk_R;
Nlptp:
$data = ["\x75\163\145\x72" => $user, "\x6a\165\x64\165\154" => "\x4b\x75\155\160\165\154\x61\x6e\x20\x4e\x69\x6c\x61\151\x20\122\x61\160\157\162", "\x73\165\x62\x6a\x75\144\x75\154" => "\x4e\151\x6c\141\151\x20\122\x61\x70\157\162\40\x53\x69\x73\167\x61", "\163\145\x74\x74\151\156\x67" => $setting];
goto G2NYI;
v2Yep:
$data["\152\141\x62\x61\x74\141\156"] = $this->master->getAllJabatanGuru($guru->id_guru);
goto frkvD;
PqNXy:
lvG5T:
goto bkX3a;
S8qnn:
$data["\164\x70"] = $this->dashboard->getTahun();
goto WePoZ;
ts62U:
$data["\153\x65\x6c\141\163\145\x73"] = [];
goto fTeu9;
uCakN:
$data["\153\x65\x6c\141\x73\x65\163"] = [];
goto DizUE;
fFv58:
$data["\x73\x69\153\x61\x70"] = $sikap;
goto rtzMc;
qVxz7:
$dummyAbsen = ["\x73" => "\40\55\x20", "\151" => "\x20\55\x20", "\141" => "\40\x2d\40", "\163\141\162\141\156" => ''];
goto cJ2J8;
taMhF:
$siswas = $this->rapor->getDetailSiswa($id_kelas, $id_tp, $id_smt);
goto LqQi5;
ffkK0:
OzKil:
goto fGLxm;
y4bum:
dXrBa:
goto eRFcO;
tnzO5:
if ($id_smt === "\x31") {
goto TlRcY;
}
goto JOc44;
qqvaR:
$data["\x73\155\164\x5f\x61\143\x74\x69\166\x65"] = $this->dashboard->getSemesterActive();
goto Gb6k6;
iMQBC:
goto YZCMf;
goto e0SY1;
Ba8EP:
$ekstras = $this->kelas->getKelasEkskul($id_kelas, $id_tp, $id_smt);
goto irrPu;
dR2N3:
$id_kelas = $this->input->get("\x6b\154\x73", true);
goto fxfiI;
mhdiJ:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $tp_active->id_tp, $smt_active->id_smt);
goto cRGNv;
fGLxm:
$data["\153\145\x6c\141\x73\145\163"] = $this->dropdown->getAllKelas($id_tp, $id_smt);
goto pzilL;
EcQec:
$all_kls = [];
goto kJgVo;
bkX3a:
$kkm = $this->rapor->getAllKkmRaporAkhir($id_kelas, $id_tp, $id_smt);
goto S8qnn;
l7yrv:
$nf2 = $this->rapor->getFisikKelas($id_kelas, $siswa->id_siswa, $id_tp, $other);
goto a1A_F;
zcN9j:
LiaIZ:
goto Hz_JJ;
nufCa:
$data["\156\x69\154\x61\x69\137\162\141\x70\157\x72"] = $nilai_rapor;
goto Rcwcm;
O_1eG:
$siswas = [];
goto kvl2p;
jyz_D:
$data["\x6b\x6c\x73\x5f\x73\145\154\145\143\164\x65\x64"] = $id_kelas;
goto EFQWu;
vOcKM:
$fisik = [];
goto Qn15u;
cJ2J8:
$desks[$id_siswa] = isset($prestasis[$id_siswa]) ? $prestasis[$id_siswa] : $dummyDesks;
goto WZiZA;
OLEg3:
$sikap = [];
goto xVcm4;
EMy3P:
if ($id_tp != null && $id_smt != null) {
goto OzKil;
}
goto ts62U;
tjUYm:
$setting = $this->dashboard->getSetting();
goto Nlptp;
fiiq3:
$nf = $this->rapor->getFisikKelas($id_kelas, $siswa->id_siswa, $id_tp, $id_smt);
goto l7yrv;
k3zuf:
$data["\x73\x69\163\x77\141\x73"] = $siswas;
goto CaAqw;
N3B_B:
foreach ($kelases as $key => $row) {
$all_kls[$row->id_tp][$row->id_smt][$row->id_kelas] = $row;
ZGzaN:
}
goto ZzYTq;
CWkk7:
goto MyPKF;
goto dkPFo;
bwEMO:
$data["\x72\141\x70\157\x72"] = $settingRapor;
goto X7Wna;
QrftT:
$other = "\62";
goto bVdrl;
tOPBO:
$jurusan = $this->kelas->getJurusanById($kelas->id_jurusan);
goto JZsNV;
h7e3i:
$i++;
goto W1u4v;
fUCzC:
$data["\x6b\x6b\x6d"] = $kkm;
goto bwEMO;
TYkQh:
$nilai_rapor = $this->rapor->getNilaiRaporByKelas($id_kelas, $id_tp, $id_smt);
goto d5G3d;
Gb6k6:
$data["\x74\160\137\x73\145\x6c\x65\x63\164\145\x64"] = $id_tp;
goto tFsOs;
pzilL:
F_kg2:
goto txb09;
DFGDd:
if (count($nilai_sikap) > 0) {
goto aY1Tu;
}
goto M6e28;
W1u4v:
goto C489O;
goto PqNXy;
dEWA7:
$this->load->view("\x72\x61\160\157\162\57\141\162\163\x69\x70\x72\141\x70\157\162");
goto dUhF3;
WDIef:
$total = $this->dashboard->total("\x62\165\x6b\165\x5f\156\x69\x6c\141\151");
goto iuPhG;
xdAPx:
$tp_active = $this->dashboard->getTahunActive();
goto IvTqs;
aJHA6:
$nilai_sikap = $this->rapor->getNilaiSikapByKelas($id_kelas, $id_tp, $id_smt);
goto TYkQh;
d5G3d:
$prestasis = $this->rapor->getPrestasiByKelas($id_kelas, $id_tp, $id_smt);
goto ANV5j;
vqKbi:
$settingRapor = $this->rapor->getRaporSetting($id_tp, $id_smt);
goto OLEg3;
LElRb:
$this->load->model("\104\x72\157\160\144\x6f\167\156\137\x6d\157\x64\x65\154", "\144\162\157\x70\144\x6f\167\156");
goto p8dmc;
XZUdb:
$data["\x70\x72\157\146\x69\x6c\145"] = $this->dashboard->getProfileAdmin($user->id);
goto wUkJh;
iuPhG:
if (!($total > 0)) {
goto LiaIZ;
}
goto eVgiY;
liX79:
$this->load->model("\x4b\x65\154\x61\163\x5f\155\157\144\x65\154", "\153\145\154\141\163");
goto LElRb;
Qn15u:
$desks = [];
goto j0oAP;
eam24:
SsjxZ:
goto k_MRV;
PRukl:
$data["\163\155\x74\x5f\x6e\x61\155\x65"] = $id_smt != null ? $this->dashboard->getSemesterById($id_smt) : null;
goto k3zuf;
dH6tU:
foreach ($kategori_mapel as $kk => $km) {
goto IKFm8;
flpG8:
GH40F:
goto at4pD;
at4pD:
VOL2b:
goto flDWb;
IKFm8:
if (in_array($km, $arrk)) {
goto GH40F;
}
goto iWyg3;
iWyg3:
array_push($arrk, $km->kode_kel_mapel);
goto flpG8;
flDWb:
}
goto NKMj3;
dUhF3:
$this->load->view("\x6d\x65\155\142\x65\x72\x73\x2f\x67\165\x72\165\x2f\x74\145\x6d\160\154\x61\164\x65\x73\x2f\x66\x6f\x6f\x74\x65\162");
goto iMQBC;
WePoZ:
$data["\164\x70\x5f\141\x63\164\151\x76\145"] = $this->dashboard->getTahunActive();
goto mo2Nb;
xVcm4:
$nilai = [];
goto vOcKM;
JOc44:
$other = "\61";
goto CWkk7;
O2GMA:
$sikap[$id_siswa][2] = ["\x64\x65\163\153\162\151\x70\163\x69" => '', "\x70\162\145\x64\151\153\141\x74" => $dummySikap];
goto fiKXn;
yw4SC:
z7di2:
goto O_1eG;
K9OKl:
wf88d:
goto v2Yep;
ANV5j:
$catatans = $this->rapor->getCatatanWaliByKelas($id_kelas, $id_tp, $id_smt);
goto WvHTT;
WvHTT:
foreach ($catatans as $catatan) {
$catatan->nilai = unserialize($catatan->nilai);
bjzlK:
}
goto y4bum;
cRGNv:
$data["\x67\x75\x72\165"] = $guru;
goto uCakN;
J7VTs:
C489O:
goto mFxK4;
lw0Of:
$data["\x6e\151\154\x61\x69\137\x65\153\x73\x74\162\x61"] = $nilaiEkstra;
goto wu_0v;
LqQi5:
$kategori_mapel = $this->master->getKategoriKelompokMapel();
goto opbYW;
KHj5P:
$data["\x67\x75\162\165"] = $guru;
goto cEna4;
sTmq3:
uW30N:
goto BXbA2;
BXbA2:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $id_tp, $id_smt);
goto KHj5P;
Wq2vI:
foreach ($nilai_sikap as $nls) {
goto Tfj6n;
Tfj6n:
if (!($nls->id_siswa == $id_siswa && $nls->jenis == "\61")) {
goto m3T2M;
}
goto Pz8yX;
RsD6r:
aiq8B:
goto PTDeS;
PTDeS:
B3rUm:
goto Y1B4s;
iaiM8:
m3T2M:
goto cuDBI;
cuDBI:
if (!($nls->id_siswa == $id_siswa && $nls->jenis == "\62")) {
goto aiq8B;
}
goto xadwg;
xadwg:
$sikap[$id_siswa][2] = ["\x64\x65\163\153\x72\x69\x70\x73\151" => $nls == null ? '' : $nls->deskripsi, "\160\x72\x65\x64\151\153\141\x74" => $nls == null ? $dummySikap : unserialize($nls->nilai)];
goto RsD6r;
Pz8yX:
$sikap[$id_siswa][1] = ["\x64\x65\163\153\162\x69\160\163\151" => $nls == null ? '' : $nls->deskripsi, "\x70\162\145\x64\151\153\141\x74" => $nls == null ? $dummySikap : unserialize($nls->nilai)];
goto iaiM8;
Y1B4s:
}
goto xAf_s;
J3HNS:
$nilaiEkstra = [];
goto tnzO5;
i_pYw:
$id_siswa = $siswa->id_siswa;
goto FjPfV;
cEna4:
$data["\x6b\x65\154\141\163\145\x73"] = $this->dropdown->getAllKelasByArrayId($id_tp, $id_smt, $guru->wali_kelas);
goto K9OKl;
M6e28:
$sikap[$id_siswa][1] = ["\x64\x65\x73\x6b\162\151\x70\x73\x69" => '', "\x70\x72\145\144\151\153\141\164" => $dummySikap];
goto O2GMA;
NKMj3:
XKIs2:
goto YMONv;
wu_0v:
$data["\x6d\141\x70\145\154\137\x65\x6b\163\x74\162\141"] = $mapelEkstra;
goto fUCzC;
j0oAP:
$absensi = [];
goto qn3Qg;
EFQWu:
$data["\x74\x70\137\156\141\155\145"] = $id_tp != null ? $this->dashboard->getTahunById($id_tp) : null;
goto PRukl;
fqrNw:
if (!$this->db->table_exists("\x62\x75\x6b\x75\x5f\156\x69\154\x61\x69")) {
goto SaLv5;
}
goto WDIef;
YMONv:
$mapels = $this->master->getAllStatusMapel(empty($arrk) ? null : $arrk, isset($jurusan->mapel_peminatan) ? $jurusan->mapel_peminatan : null);
goto Ba8EP;
mo2Nb:
$data["\163\155\x74"] = $this->dashboard->getSemester();
goto qqvaR;
JZsNV:
$kelompoks = $this->master->getKodeKelompokMapel();
goto taMhF;
XnUZG:
$id_smt = $this->input->get("\x73\155\164", true);
goto dR2N3;
CaAqw:
$data["\x6b\145\x6c\141\163"] = $kelas != null ? $kelas->nama_kelas : '';
goto XMBtw;
DizUE:
goto wf88d;
goto sTmq3;
k_MRV:
sky5a:
goto h7e3i;
maMwB:
$data["\x6b\145\154\x6f\x6d\x70\157\x6b\163"] = $kelompoks;
goto fFv58;
LW_C8:
foreach ($ekstras as $ext) {
goto pfvyU;
pfvyU:
$dummyEkstra = ["\x64\x65\x73\153\162\x69\x70\163\151" => '', "\156\x69\x6c\141\x69" => '', "\x70\162\145\144\x69\153\x61\164" => ''];
goto IiiBD;
IiiBD:
$arrEkstra = json_decode(json_encode(unserialize($ext->ekstra)));
goto VoJcs;
wM0G1:
BsW6a:
goto K1wrt;
J2be8:
taNrF:
goto wM0G1;
VoJcs:
foreach ($arrEkstra as $ar) {
goto sKuUi;
Y7GPe:
Gtvjc:
goto uuStD;
uuStD:
rumsg:
goto lW4vU;
sKuUi:
$id_ekstra = $ar->ekstra;
goto q3Dbs;
L1s2p:
$ne = $this->rapor->getEkstraKelas($id_ekstra, $siswa->id_siswa, $id_tp, $id_smt);
goto OP8Sn;
q3Dbs:
$mapelEkstra[$id_ekstra] = $this->kelas->getEkskulById($id_ekstra);
goto Q2axI;
OP8Sn:
$nilaiEkstra[$id_siswa][$id_ekstra] = $ne == null ? $dummyEkstra : $ne;
goto Y7GPe;
Q2axI:
if (!($id_ekstra != null)) {
goto Gtvjc;
}
goto L1s2p;
lW4vU:
}
goto J2be8;
K1wrt:
}
goto eam24;
G2NYI:
$kelases = $this->kelas->getAllKelas();
goto EcQec;
QzK8p:
if ($this->ion_auth->is_admin()) {
goto mqzJz;
}
goto PkhBz;
e0SY1:
mqzJz:
goto SWHzz;
eVgiY:
$this->restoreNilai();
goto zcN9j;
TdwH5:
}
public function editNilaiRapor()
{
goto GVeqr;
jmcbI:
if ($mode == "\63") {
goto pQd1H;
}
goto O9ssD;
XZ2M0:
goto ZrFSu;
goto le3Zj;
L7now:
if ($mode == "\x32") {
goto FjmZk;
}
goto jmcbI;
H2p8A:
$data["\153\x65\164\x65\x72\x61\155\x70\151\x6c\141\x6e"] = $this->rapor->getNilaiSikapBySiswa($id_siswa, $id_tp, $id_smt);
goto JcGt1;
Uc5vZ:
$data["\x73\155\164\x5f\x73\145\154"] = $id_smt != null ? $this->dashboard->getSemesterById($id_smt) : null;
goto BKrzR;
bY6E0:
$data["\x73\151\x6b\x61\160"] = $this->rapor->getNilaiSikapBySiswa($id_siswa, $id_tp, $id_smt);
goto XZ2M0;
Lt4_b:
$arrTp = $this->dashboard->getTahun();
goto qU7nd;
E7oRQ:
if ($this->ion_auth->is_admin()) {
goto YvSBd;
}
goto O7bK6;
Mx7Ag:
$this->load->model("\x44\x61\x73\150\142\157\141\162\144\137\155\x6f\144\x65\154", "\x64\x61\x73\x68\142\x6f\141\x72\144");
goto pgA5t;
REvyL:
$this->load->view("\x5f\164\x65\155\x70\154\x61\164\145\x73\57\x64\141\163\150\x62\157\141\162\x64\57\137\146\157\x6f\164\145\x72");
goto U7cR9;
oCwRx:
$data["\x73\155\164"] = $arrSmt;
goto NpP8p;
gJxYt:
$data["\x74\x70\x5f\141\x63\x74\x69\166\145"] = $tp;
goto oCwRx;
qU7nd:
$arrSmt = $this->dashboard->getSemester();
goto QJid1;
vbsyl:
$this->load->view("\x6d\145\155\142\145\162\163\x2f\x67\x75\162\x75\x2f\x74\145\x6d\160\154\x61\164\x65\x73\x2f\150\x65\141\144\x65\162", $data);
goto MWPap;
M6pOT:
$id_siswa = $this->input->get("\x73\151\163\167\141", true);
goto ajDF7;
ajDF7:
$id_tp = $this->input->get("\x74\x70", true);
goto pCr8J;
w2S2m:
$data["\x67\x75\162\x75"] = $guru;
goto vbsyl;
mp4ZH:
qLaT0:
goto bY6E0;
wMImX:
$mode = $this->input->get("\155\x6f\144\x65", true);
goto aOEWC;
dcwUp:
YvSBd:
goto Rj_fT;
QJid1:
$tp = $this->dashboard->getTahunActive();
goto b8yHG;
pCr8J:
$id_smt = $this->input->get("\x73\x6d\x74", true);
goto wMImX;
b8yHG:
$smt = $this->dashboard->getSemesterActive();
goto M6pOT;
Aa3eJ:
$this->load->view("\x72\x61\160\x6f\162\57\x65\144\151\x74\x72\x61\160\x6f\162");
goto REvyL;
Z5lCB:
$this->load->view("\155\145\x6d\x62\x65\162\x73\57\147\165\x72\x75\x2f\164\145\155\160\154\141\x74\145\x73\57\x66\157\157\164\145\x72");
goto dd32P;
or5eG:
$data["\x74\x70"] = $arrTp;
goto gJxYt;
Rj_fT:
$data["\x70\x72\157\x66\151\154\145"] = $this->dashboard->getProfileAdmin($user->id);
goto d7N1S;
GxQBL:
$data = ["\165\163\145\x72" => $user, "\152\165\x64\165\154" => "\102\165\x6b\165\40\111\x6e\x64\x75\x6b", "\x73\165\x62\x6a\165\x64\x75\154" => "\102\x75\153\165\x20\111\x6e\144\x75\x6b", "\163\145\164\x74\x69\156\147" => $setting];
goto Lt4_b;
pgA5t:
$user = $this->ion_auth->user()->row();
goto FpSg3;
BKrzR:
$data["\155\157\x64\x65"] = $mode;
goto Ay4JL;
ZFo2p:
if ($mode == "\61") {
goto qLaT0;
}
goto L7now;
JcGt1:
goto ZrFSu;
goto ajyuP;
rogcn:
ZrFSu:
goto E7oRQ;
Ay4JL:
$data["\151\x64\137\x73\151\x73\x77\x61"] = $id_siswa;
goto or5eG;
BJIsm:
pQd1H:
goto H2p8A;
ajyuP:
xQA5y:
goto bpWrS;
U7cR9:
nVxIx:
goto KGxBr;
nTrcf:
goto ZrFSu;
goto mp4ZH;
aOEWC:
$data["\x74\160\137\163\145\x6c"] = $id_tp != null ? $this->dashboard->getTahunById($id_tp) : null;
goto Uc5vZ;
d7N1S:
$this->load->view("\137\164\145\155\160\x6c\x61\x74\x65\x73\x2f\144\141\163\150\x62\x6f\141\x72\x64\x2f\x5f\x68\x65\x61\144\x65\x72", $data);
goto Aa3eJ;
le3Zj:
FjmZk:
goto l067E;
MWPap:
$this->load->view("\162\x61\160\157\x72\57\x65\x64\151\164\x72\141\x70\x6f\x72");
goto Z5lCB;
NpP8p:
$data["\x73\x6d\x74\x5f\141\143\x74\x69\166\x65"] = $smt;
goto WOU4M;
WOU4M:
$data["\163\151\163\x77\141"] = $this->rapor->getDetailSiswaById($id_siswa, $id_tp, $id_smt);
goto ZFo2p;
dd32P:
goto nVxIx;
goto dcwUp;
O9ssD:
if ($mode == "\x34") {
goto xQA5y;
}
goto nTrcf;
Y857H:
goto ZrFSu;
goto BJIsm;
FpSg3:
$setting = $this->dashboard->getSetting();
goto GxQBL;
bpWrS:
$data["\x65\170\x74\x72\141"] = $this->rapor->getNilaiSikapBySiswa($id_siswa, $id_tp, $id_smt);
goto rogcn;
O7bK6:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto w2S2m;
GVeqr:
$this->load->model("\x52\x61\160\157\162\137\155\x6f\144\145\x6c", "\x72\141\160\157\x72");
goto Mx7Ag;
l067E:
$data["\160\x65\x6e\147\145\x74\141\x68\165\141\156"] = $this->rapor->getNilaiSikapBySiswa($id_siswa, $id_tp, $id_smt);
goto Y857H;
KGxBr:
}
public function getDataKelas()
{
goto PbI8O;
QXEqZ:
$id_smt = $this->input->get("\163\155\x74", true);
goto LcOA6;
rL8Kt:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $id_tp, $id_smt);
goto FHau3;
QZF_b:
TL71k:
goto R3DQa;
EtYFF:
if ($this->ion_auth->is_admin()) {
goto TL71k;
}
goto rL8Kt;
ytCeo:
$this->output_json(["\x6b\x65\154\141\163" => $kelass, "\152\141\142\x61\x74\141\156" => $jabatan_guru]);
goto DU8KZ;
R3DQa:
$kelass = $this->dropdown->getAllKelas($id_tp, $id_smt);
goto iMGCM;
LcOA6:
$id_kelas = $this->input->get("\x6b\154\163", true);
goto ApJA0;
ZKanA:
goto DcHlA;
goto QZF_b;
EFveM:
$this->load->model("\115\x61\x73\x74\145\x72\137\x6d\x6f\144\x65\x6c", "\x6d\141\163\164\145\x72");
goto E5790;
FHau3:
$nguru[$guru->id_guru] = $guru->nama_guru;
goto Dx4NT;
dfaAy:
$this->load->model("\x44\141\x73\x68\142\x6f\x61\162\144\137\x6d\157\144\145\x6c", "\x64\x61\x73\150\142\157\x61\162\144");
goto EtYFF;
E5790:
$id_tp = $this->input->get("\164\x70", true);
goto QXEqZ;
ApJA0:
$user = $this->ion_auth->user()->row();
goto Kp_js;
Kp_js:
$jabatan_guru = null;
goto dfaAy;
iMGCM:
DcHlA:
goto ytCeo;
n2wKT:
$jabatan_guru = $this->master->getAllJabatanGuru($guru->id_guru);
goto ZKanA;
PbI8O:
$this->load->model("\104\x72\157\160\x64\x6f\x77\x6e\137\155\x6f\x64\x65\154", "\x64\x72\x6f\160\144\x6f\x77\156");
goto EFveM;
Dx4NT:
$kelass = $this->dropdown->getAllKelasByArrayId($id_tp, $id_smt, [$id_kelas]);
goto n2wKT;
DU8KZ:
}
public function backupNilai()
{
goto VcIrX;
FNWv7:
LXkjt:
goto adgLJ;
CAtk4:
$res["\x69\144\163"] = $ids_siswa;
goto XZK10;
xpXRF:
$nilai_hpas = [];
goto g4Q6I;
fIxXq:
$tps = $this->dashboard->getTahun();
goto eN3pN;
PjJSs:
$kelas_ekstra = $this->rapor->getAllEkstra();
goto d3ETt;
yDgdT:
$this->db->trans_complete();
goto fz1LY;
mUgdL:
foreach ($nilai_rapor as $nilai) {
goto m8y3E;
u8_2g:
$fisik = [];
goto XdR81;
ZRX6q:
$kkm_mapel = null;
goto GF4I8;
m8y3E:
$kkm_tunggal = $setting_rapor[$nilai->id_tp][$nilai->id_smt]->kkm_tunggal == "\x31";
goto ZRX6q;
x5Wv0:
ACPEH:
goto lGPsP;
qXOoN:
$nilai_ekstra = [];
goto uwLvq;
lGPsP:
foreach ($mapels as $mapel) {
goto JKbcS;
JKbcS:
if (!($mapel->id_mapel == $nilai->id_mapel)) {
goto p8jtz;
}
goto PZ1Hc;
yj3e4:
$nilai_hpas[$nilai->id_siswa][] = ["\x69\144\x5f\x6d\141\160\x65\x6c" => $nilai->id_mapel, "\x6d\x61\x70\145\154" => $nilai->mapel, "\x6b\153\155" => $kkm_tunggal ? $setting_rapor[$nilai->id_tp][$nilai->id_smt]->kkm : ($kkm_mapel == null ? '' : $kkm_mapel->kkm), "\156\x69\154\141\151" => $nilai->nilai_pas];
goto WYsZl;
v7aQM:
I2dmH:
goto hJ6xL;
WYsZl:
$nilai_nr[$nilai->id_siswa][] = ["\x69\x64\x5f\155\141\x70\x65\154" => $nilai->id_mapel, "\x6d\141\160\x65\x6c" => $nilai->mapel, "\x6b\153\x6d" => $kkm_tunggal ? $setting_rapor[$nilai->id_tp][$nilai->id_smt]->kkm : ($kkm_mapel == null ? '' : $kkm_mapel->kkm), "\x6e\x69\154\x61\x69" => $nilai->nilai_rapor, "\x70\162\x65\144" => $nilai->rapor_predikat];
goto HJZIn;
HJZIn:
p8jtz:
goto v7aQM;
PZ1Hc:
$nilai_hph[$nilai->id_siswa][] = ["\x69\144\x5f\x6d\141\x70\x65\154" => $nilai->id_mapel, "\x6d\141\x70\x65\154" => $nilai->mapel, "\x6b\153\155" => $kkm_tunggal ? $setting_rapor[$nilai->id_tp][$nilai->id_smt]->kkm : ($kkm_mapel == null ? '' : $kkm_mapel->kkm), "\x70\137\x6e\x69\x6c\141\x69" => $nilai->p_rata_rata, "\x70\137\x70\162\145\144" => $nilai->p_predikat, "\160\137\144\x65\x73\153" => $nilai->p_deskripsi, "\153\137\156\151\154\141\x69" => $nilai->k_rata_rata, "\153\x5f\160\x72\x65\144" => $nilai->k_predikat, "\x6b\137\x64\x65\163\153" => $nilai->k_deskripsi];
goto JOU3y;
JOU3y:
$nilai_hpts[$nilai->id_siswa][] = ["\x69\144\137\155\141\160\x65\154" => $nilai->id_mapel, "\x6d\x61\160\145\x6c" => $nilai->mapel, "\x6b\153\x6d" => $kkm_tunggal ? $setting_rapor[$nilai->id_tp][$nilai->id_smt]->kkm : ($kkm_mapel == null ? '' : $kkm_mapel->kkm), "\156\151\x6c\x61\x69" => $nilai->nilai_pts, "\160\162\x65\144" => $nilai->pts_predikat];
goto yj3e4;
hJ6xL:
}
goto LWQ3g;
LWQ3g:
Ob6qE:
goto qXOoN;
NWo8s:
$sosial = isset($nilai_sikap[$nilai->id_tp][$nilai->id_smt][$nilai->id_siswa][2]) ? $nilai_sikap[$nilai->id_tp][$nilai->id_smt][$nilai->id_siswa][2] : null;
goto iy7R9;
vNq7u:
foreach ($nilai_extra[$nilai->id_tp][$nilai->id_smt][$nilai->id_siswa] as $ekstra) {
goto rwaNA;
dY7rZ:
$kkm_ekstra = $all_kkm[2][$ekstra->id_ekstra]->kkm;
goto xcoBi;
rwaNA:
$kkm_ekstra = '';
goto d93ye;
xcoBi:
BejHp:
goto RBe9J;
EEdIX:
i8gP3:
goto Nno8I;
RBe9J:
$nilai_ekstra[$nilai->id_siswa][] = ["\155\141\160\145\x6c" => $ekstra->kode_ekstra, "\151\144\137\x65\x6b\163\x74\162\x61" => $ekstra->id_ekstra, "\156\x61\155\141\x5f\145\x6b\163\164\162\x61" => $ekstra->nama_ekstra, "\x6b\x6b\155" => $kkm_tunggal ? $setting_rapor[$nilai->id_tp][$nilai->id_smt]->kkm : $kkm_ekstra, "\156\x69\154\x61\151" => $ekstra->nilai, "\160\x72\145\144" => $ekstra->predikat, "\144\x65\x73\153" => $ekstra->deskripsi];
goto EEdIX;
d93ye:
if (!(isset($all_kkm[2]) && isset($all_kkm[2][$ekstra->id_ekstra]))) {
goto BejHp;
}
goto dY7rZ;
Nno8I:
}
goto Cvwkw;
x0DPl:
$fisik[] = $rapor_fisik[$nilai->id_siswa][$nilai->id_tp][$nilai->id_smt];
goto lZAc1;
lZAc1:
PnS5j:
goto EIhOv;
pd3cL:
$all_kkm = $kkms[$nilai->id_tp][$nilai->id_smt][$nilai->id_kelas];
goto xo8ii;
uwLvq:
if (!(isset($nilai_extra[$nilai->id_tp]) && isset($nilai_extra[$nilai->id_tp][$nilai->id_smt]) && isset($nilai_extra[$nilai->id_tp][$nilai->id_smt][$nilai->id_siswa]))) {
goto V_dG2;
}
goto vNq7u;
iy7R9:
HqAiV:
goto u8_2g;
LsqK2:
if (!(isset($nilai_sikap[$nilai->id_tp]) && isset($nilai_sikap[$nilai->id_tp][$nilai->id_smt]) && isset($nilai_sikap[$nilai->id_tp][$nilai->id_smt][$nilai->id_siswa]))) {
goto HqAiV;
}
goto BTfcS;
xo8ii:
$kkm_mapel = isset($all_kkm[1]) && isset($all_kkm[1][$nilai->id_mapel]) ? $all_kkm[1][$nilai->id_mapel] : null;
goto x5Wv0;
RcMjI:
V_dG2:
goto qJX7J;
LQ4Ny:
Bejzl:
goto zzdVO;
GF4I8:
$all_kkm = [];
goto mLkAW;
mLkAW:
if (!(isset($kkms[$nilai->id_tp]) && isset($kkms[$nilai->id_tp][$nilai->id_smt]) && isset($kkms[$nilai->id_tp][$nilai->id_smt][$nilai->id_kelas]))) {
goto ACPEH;
}
goto pd3cL;
Cvwkw:
eBPVI:
goto RcMjI;
qJX7J:
$spiritual = null;
goto hp27n;
XdR81:
if (!isset($rapor_fisik[$nilai->id_siswa])) {
goto PnS5j;
}
goto x0DPl;
hp27n:
$sosial = null;
goto LsqK2;
EIhOv:
$all_nilai[$nilai->id_tp][$nilai->id_smt][$nilai->id_siswa] = ["\x75\x69\x64" => $nilai->uid, "\x69\144\x5f\x73\151\x73\x77\x61" => $nilai->id_siswa, "\x74\160" => $nilai->tahun, "\163\155\x74" => $nilai->nama_smt, "\x6b\x65\154\141\x73" => $nilai->nama_kelas, "\154\145\166\145\x6c" => $nilai->level_id, "\x77\141\154\x69\x5f\153\x65\x6c\x61\x73" => $nilai->nama_guru, "\x6a\x75\162\165\x73\x61\156" => $nilai->nama_jurusan, "\x68\160\x68" => serialize(isset($nilai_hph[$nilai->id_siswa]) ? $nilai_hph[$nilai->id_siswa] : []), "\x68\160\x74\163" => serialize(isset($nilai_hpts[$nilai->id_siswa]) ? $nilai_hpts[$nilai->id_siswa] : []), "\x68\x70\141\x73" => serialize(isset($nilai_hpas[$nilai->id_siswa]) ? $nilai_hpas[$nilai->id_siswa] : []), "\x6e\151\154\x61\151\x5f\x72\141\160\x6f\162" => serialize(isset($nilai_nr[$nilai->id_siswa]) ? $nilai_nr[$nilai->id_siswa] : []), "\145\153\x73\x74\162\x61" => serialize(isset($nilai_ekstra[$nilai->id_siswa]) ? $nilai_ekstra[$nilai->id_siswa] : ''), "\x73\160\x72\x69\164\x75\x61\x6c" => $spiritual == null ? serialize([]) : serialize(["\x64\x65\x73\153" => $spiritual->deskripsi, "\156\151\154\x61\151" => unserialize($spiritual->nilai)["\x70\162\x65\144\151\153\x61\164"]]), "\163\x6f\163\151\141\154" => $sosial == null ? serialize([]) : serialize(["\x64\145\x73\x6b" => $sosial->deskripsi, "\156\151\154\141\151" => unserialize($sosial->nilai)["\160\x72\145\144\151\153\x61\x74"]]), "\x72\141\x6e\153" => serialize(["\162\x61\156\153" => $nilai->ranking, "\163\141\162\x61\x6e" => $nilai->rank_deskripsi]), "\x70\x72\145\163\164\141\x73\x69" => serialize([["\156\151\154\141\x69" => $nilai->p1, "\144\x65\163\x6b" => $nilai->p1_desk], ["\156\151\x6c\x61\x69" => $nilai->p2, "\x64\x65\163\x6b" => $nilai->p2_desk], ["\x6e\x69\x6c\x61\151" => $nilai->p3, "\x64\145\x73\153" => $nilai->p3_desk]]), "\141\x62\163\145\x6e" => $nilai->absen != null ? $nilai->absen : serialize([]), "\163\141\162\x61\156" => $nilai->saran != null ? $nilai->saran : "\x2d", "\x66\151\x73\151\x6b" => serialize($fisik), "\156\141\x69\153" => $nilai->naik != null ? $nilai->naik : "\x31", "\163\145\164\164\151\x6e\x67\x5f\162\141\x70\x6f\x72" => serialize((array) $setting_rapor[$nilai->id_tp][$nilai->id_smt]), "\163\x65\164\164\151\156\147\137\155\141\160\145\154" => serialize((array) $mapels)];
goto LQ4Ny;
BTfcS:
$spiritual = isset($nilai_sikap[$nilai->id_tp][$nilai->id_smt][$nilai->id_siswa][1]) ? $nilai_sikap[$nilai->id_tp][$nilai->id_smt][$nilai->id_siswa][1] : null;
goto NWo8s;
zzdVO:
}
goto qa1c0;
g4Q6I:
$nilai_nr = [];
goto Bqruk;
FbGsC:
$all_nilai = [];
goto PjJSs;
IMe9e:
$nilai_extra = $this->rapor->getAllNilaiEkstra();
goto ofV40;
bGEdd:
$this->load->model("\x4d\141\163\164\x65\162\x5f\x6d\x6f\144\x65\154", "\155\141\163\164\x65\162");
goto AToJ8;
IiZhF:
HTqXP:
goto yDgdT;
CT0KG:
$kkms = $this->rapor->getAllKkm();
goto dlJKP;
eN3pN:
$smts = $this->dashboard->getSemester();
goto QT1AE;
A4UDC:
$rapor_fisik = $this->rapor->getAllFisik();
goto LWZta;
LWZta:
$nilai_hph = [];
goto SlgCB;
adgLJ:
$this->db->trans_start();
goto WLyPw;
SlgCB:
$nilai_hpts = [];
goto xpXRF;
AToJ8:
$setting = $this->dashboard->getSetting();
goto fIxXq;
WLyPw:
if (!(count($insert) > 0)) {
goto HTqXP;
}
goto E6zyU;
E6zyU:
$this->db->insert_batch("\142\165\x6b\165\137\x6e\151\154\x61\x69", $insert);
goto cFgLK;
QT1AE:
$gurus = $this->master->getAllWaliKelas();
goto wvvk3;
Bqruk:
$nilai_ekstra = [];
goto mUgdL;
k4CEF:
$insert = [];
goto eJvAv;
M7gjq:
$res["\x61\154\154\x5f\x6e\151\x6c\141\x69"] = $all_nilai;
goto TgpnG;
eJvAv:
$ids_siswa = [];
goto jZxXM;
qa1c0:
TBMIm:
goto k4CEF;
fz1LY:
$res["\156\x69\x6c\141\151\x5f\145\x6b\x73\164\x72\141"] = $mapels;
goto M7gjq;
wvvk3:
$mapels = $this->master->getAllMapel();
goto FbGsC;
gE7kY:
$this->load->model("\104\141\163\150\x62\157\x61\162\144\137\x6d\157\x64\x65\x6c", "\x64\x61\163\150\142\157\141\x72\x64");
goto bGEdd;
XZK10:
$this->output_json($res);
goto QWUem;
d3ETt:
$setting_rapor = $this->rapor->getAllRaporSetting();
goto CT0KG;
cFgLK:
$this->rapor->deleteNilaiRapor();
goto IiZhF;
dlJKP:
$nilai_rapor = $this->rapor->getAllNilaiRapor();
goto IMe9e;
ofV40:
$nilai_sikap = $this->rapor->getAllNilaiSikap();
goto A4UDC;
TgpnG:
$res["\x69\x6e\x73\145\x72\164"] = $insert;
goto CAtk4;
VcIrX:
$this->load->model("\122\141\160\157\162\x5f\x6d\157\144\x65\154", "\162\x61\160\x6f\162");
goto gE7kY;
jZxXM:
foreach ($tps as $tp) {
goto qt0Gv;
qt0Gv:
foreach ($smts as $smt) {
goto pNg2L;
pNg2L:
if (!(isset($all_nilai[$tp->id_tp]) && isset($all_nilai[$tp->id_tp][$smt->id_smt]))) {
goto rH9t_;
}
goto BCKRO;
BCKRO:
foreach ($all_nilai[$tp->id_tp][$smt->id_smt] as $nilai) {
goto yitjZ;
O9u4H:
$insert[] = $nilai;
goto WQeU9;
HKP26:
if ($this->rapor->exists($nilai["\x75\151\x64"], $nilai["\164\x70"], $nilai["\163\x6d\x74"], $nilai["\153\x65\154\141\x73"])) {
goto rC0aA;
}
goto O9u4H;
yitjZ:
$ids_siswa[$nilai["\x69\x64\137\x73\151\x73\167\x61"]] = $nilai["\151\144\137\x73\151\x73\x77\141"];
goto HKP26;
VxKro:
uwXaw:
goto n0yK4;
WQeU9:
rC0aA:
goto VxKro;
n0yK4:
}
goto LRhYL;
LRhYL:
X5c8M:
goto XVXRK;
v1Tev:
ifRuL:
goto Z1ZaF;
XVXRK:
rH9t_:
goto v1Tev;
Z1ZaF:
}
goto Vs1My;
oynZN:
shAi8:
goto IZI0q;
Vs1My:
i3HQ8:
goto oynZN;
IZI0q:
}
goto FNWv7;
QWUem:
}
public function restoreNilai()
{
goto jDT5x;
FOEJs:
$res += $this->db->insert_batch("\x72\x61\160\157\x72\137\156\x69\154\141\151\x5f\145\153\x73\x74\162\141", $ekstra_insert);
goto Mo88e;
HCuwP:
$res += $this->db->insert_batch("\x72\x61\160\x6f\x72\137\x6e\151\x6c\x61\x69\137\x61\153\x68\151\162", $hpas_insert);
goto CvB9K;
AM2Wb:
$this->db->empty_table("\142\x75\153\165\137\156\151\x6c\141\x69");
goto yoGWw;
G8oFj:
$this->db->trans_start();
goto GKWH0;
OQkqM:
$nilai_rapor = [];
goto ndt1c;
Ansc7:
qjn7g:
goto TbBDW;
yoGWw:
iszsS:
goto qWHYz;
jnrAB:
$hpts_insert = [];
goto HjIpQ;
rQTPZ:
$fisik_insert = [];
goto v2kd6;
ZQuXV:
$smts = $this->dashboard->getSemester();
goto y8BCS;
wXRft:
$res += $this->db->insert_batch("\162\x61\160\157\162\137\x70\162\145\163\164\141\163\x69", $rank_insert);
goto Q0Xo2;
mtHMu:
$kelass = $this->kelas->getAllKelas();
goto f23WQ;
L8yil:
$res += $this->db->insert_batch("\x72\141\160\157\x72\x5f\143\x61\164\x61\x74\141\156\137\167\x61\154\x69", $absen_insert);
goto D1tZ_;
Q0Xo2:
Z8pL4:
goto PAZDZ;
TBz1m:
$mapels = $this->master->getAllMapel();
goto jf0_2;
TbBDW:
if (!(count($hph_insert) > 0)) {
goto Q41gw;
}
goto mgAAi;
fMrqz:
Q41gw:
goto t9uNp;
VgtTY:
$sosial_insert = [];
goto eO0jD;
GfyRi:
$spritual = [];
goto CB5Co;
eO0jD:
$rank_insert = [];
goto xicR5;
CvB9K:
S20e6:
goto rkfSS;
f23WQ:
$hph = [];
goto PGZ_d;
Ie1VB:
$res += $this->db->insert_batch("\x72\141\160\157\162\x5f\x6e\151\x6c\x61\151\137\163\151\153\x61\x70", $spritual_insert);
goto HryJp;
gKPLp:
ikY5u:
goto ZK2xK;
ZK2xK:
if (!$res) {
goto iszsS;
}
goto AM2Wb;
L7IZr:
$hpas = [];
goto OQkqM;
rkfSS:
if (!(count($hpts_insert) > 0)) {
goto qjn7g;
}
goto IJwrS;
PAZDZ:
if (!(count($absen_insert) > 0)) {
goto eQmNv;
}
goto L8yil;
A0pg6:
$ekstra_insert = [];
goto CCe0z;
IJwrS:
$res += $this->db->insert_batch("\x72\x61\160\x6f\x72\137\x6e\x69\154\x61\x69\x5f\160\164\163", $hpts_insert);
goto Ansc7;
qWHYz:
$this->db->trans_complete();
goto qtEme;
jm1RU:
dB8bf:
goto IS0ZJ;
fzgEj:
foreach ($siswas as $id => $siswa) {
goto g4qXp;
RzkIq:
$spritual[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = unserialize($siswa->spritual);
goto qRdN8;
uOQCi:
$hph[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = unserialize($siswa->hph);
goto NRDk1;
bZVyS:
$fisik[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = unserialize($siswa->fisik);
goto Nig9r;
ispnQ:
$id_kelas = '';
goto WLCdQ;
qRdN8:
$sosial[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = unserialize($siswa->sosial);
goto OqC2U;
Lq4fK:
$absen[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = ["\156\x69\154\x61\151" => $siswa->absen, "\144\145\x73\153\162\151\160\x73\x69" => $siswa->saran];
goto bZVyS;
ejP0J:
$ekstra[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = unserialize($siswa->ekstra);
goto RzkIq;
g4qXp:
$index_tp = array_search($siswa->tp, array_column($tps, "\x74\141\150\x75\x6e"));
goto vHqoN;
vHqoN:
$tp = $tps[$index_tp];
goto L1CJT;
ZUJkV:
$prestasi[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = unserialize($siswa->prestasi);
goto Lq4fK;
Nig9r:
foreach ($fisik[$tp->id_tp][$smt->id_smt][$id][$id_kelas] as $value) {
$value->kondisi = unserialize($value->kondisi);
DtAk0:
}
goto ZMbV9;
ZMbV9:
hDuef:
goto UcuJU;
X1cvg:
O7KWv:
goto uOQCi;
WLCdQ:
foreach ($kelass as $kelas) {
goto VpljH;
ovu7P:
YPJgh:
goto GrjlZ;
obmoJ:
$id_kelas = $kelas->id_kelas;
goto BlBpF;
BlBpF:
S0y1R:
goto ovu7P;
VpljH:
if (!($kelas->id_tp == $tp->id_tp && $kelas->id_smt == $smt->id_smt && $kelas->nama_kelas == $siswa->kelas)) {
goto S0y1R;
}
goto obmoJ;
GrjlZ:
}
goto X1cvg;
tMx8e:
$nilai_rapor[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = unserialize($siswa->nilai_rapor);
goto ejP0J;
NRDk1:
$hpts[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = unserialize($siswa->hpts);
goto yzZAi;
L1CJT:
$index_smt = array_search($siswa->smt, array_column($smts, "\156\x61\x6d\141\x5f\x73\x6d\164"));
goto wxG_D;
wxG_D:
$smt = $smts[$index_smt];
goto ispnQ;
yzZAi:
$hpas[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = unserialize($siswa->hpas);
goto tMx8e;
UcuJU:
pp7Io:
goto Po04T;
OqC2U:
$rank[$tp->id_tp][$smt->id_smt][$id][$id_kelas] = unserialize($siswa->rank);
goto ZUJkV;
Po04T:
}
goto jm1RU;
PGZ_d:
$hpts = [];
goto L7IZr;
rCODQ:
LSDOP:
goto G8oFj;
NM094:
$res += $this->db->insert_batch("\x72\x61\x70\157\x72\x5f\x6e\151\x6c\x61\151\137\163\x69\153\141\160", $sosial_insert);
goto gKPLp;
hlH0l:
$this->load->model("\122\141\x70\x6f\x72\137\155\157\x64\x65\154", "\162\141\160\x6f\162");
goto g0Mi1;
t9uNp:
if (!(count($spritual_insert) > 0)) {
goto ZpoXE;
}
goto Ie1VB;
nq8tG:
$this->load->model("\115\141\x73\164\x65\x72\x5f\x6d\157\144\x65\154", "\155\x61\163\164\x65\x72");
goto kUswh;
jDT5x:
$this->load->model("\104\141\x73\150\x62\157\x61\162\x64\x5f\x6d\157\144\145\154", "\x64\141\163\150\142\x6f\x61\x72\144");
goto hlH0l;
At2u6:
$absen = [];
goto YSGln;
YSGln:
$fisik = [];
goto fzgEj;
VwcfP:
if (!(count($sosial_insert) > 0)) {
goto ikY5u;
}
goto NM094;
kUswh:
$tps = $this->dashboard->getTahun();
goto ZQuXV;
ndt1c:
$ekstra = [];
goto GfyRi;
v2kd6:
foreach ($tps as $tp) {
goto t2SDg;
L3sEw:
Bb6Ya:
goto lBjM0;
lBjM0:
qUVTe:
goto bgVup;
t2SDg:
foreach ($smts as $smt) {
goto yjTjP;
f6ms8:
Usrb5:
goto wpjC7;
Vcmwv:
if (!(isset($hpas[$tp->id_tp]) && isset($hpas[$tp->id_tp][$smt->id_smt]))) {
goto u61Hh;
}
goto HkiGy;
OhZ2m:
jL2lJ:
goto Fj1Ke;
a4CGY:
if (!(isset($rank[$tp->id_tp]) && isset($rank[$tp->id_tp][$smt->id_smt]))) {
goto gTmvP;
}
goto u5eUl;
azGNS:
if (!(isset($ekstra[$tp->id_tp]) && isset($ekstra[$tp->id_tp][$smt->id_smt]))) {
goto YCDNa;
}
goto YzP8k;
kjBhO:
if (!(isset($spritual[$tp->id_tp]) && isset($spritual[$tp->id_tp][$smt->id_smt]))) {
goto BiGqw;
}
goto phPKE;
dhN10:
eKHXC:
goto W2M5h;
phPKE:
foreach ($spritual[$tp->id_tp][$smt->id_smt] as $id => $pht) {
goto ohLuH;
b24ex:
mGwr3:
goto c3H5q;
Sjrf4:
H_6VS:
goto b24ex;
ohLuH:
foreach ($pht as $kls => $nilai) {
goto xJYYY;
xJYYY:
$vals = ["\x69\144\x5f\x6e\x69\154\x61\151\x5f\x73\151\153\x61\x70" => $kls . $id . $tp->id_tp . $smt->id_smt . "\61", "\151\144\137\x73\151\x73\x77\x61" => $id, "\151\x64\137\x6b\x65\x6c\x61\163" => $kls, "\151\144\x5f\164\160" => $tp->id_tp, "\151\x64\x5f\163\x6d\x74" => $smt->id_smt, "\152\x65\156\151\x73" => "\x31", "\156\151\x6c\141\x69" => serialize(["\x70\x72\145\144\151\153\x61\x74" => $nilai["\x6e\x69\154\x61\151"], "\163\154\61" => '', "\163\154\62" => '', "\x73\x6c\63" => '', "\155\142\x31" => '', "\155\x62\62" => '', "\155\x62\63" => '']), "\144\x65\x73\153\162\151\160\x73\x69" => $nilai["\x64\145\x73\x6b"]];
goto n6tg8;
n6tg8:
$spritual_insert[] = $vals;
goto tQWde;
tQWde:
Ntvg2:
goto OxQ8M;
OxQ8M:
}
goto Sjrf4;
c3H5q:
}
goto cV5fn;
gtBj5:
Eu2V8:
goto Nvs5L;
WnQLm:
u61Hh:
goto azGNS;
W2M5h:
PYvBe:
goto a4CGY;
yjTjP:
if (!(isset($hph[$tp->id_tp]) && isset($hph[$tp->id_tp][$smt->id_smt]))) {
goto Eu2V8;
}
goto PyF2F;
YzP8k:
foreach ($ekstra[$tp->id_tp][$smt->id_smt] as $id => $pha) {
goto Xkb4x;
Xkb4x:
foreach ($pha as $kls => $nilai) {
goto m3ep3;
lGYXS:
i63RI:
goto DfSiT;
m3ep3:
if (!($nilai != '')) {
goto Zc3fG;
}
goto EwbPa;
EwbPa:
foreach ($nilai as $ph) {
goto gCjgY;
gCjgY:
$vals = ["\151\x64\137\x6e\151\154\x61\x69\x5f\x65\x6b\163\x74\x72\x61" => $ph["\x69\144\137\145\153\163\164\162\141"] . $kls . $id . $tp->id_tp . $smt->id_smt, "\x69\x64\137\163\x69\163\167\x61" => $id, "\151\144\x5f\x65\x6b\163\x74\x72\141" => $ph["\x69\x64\137\x65\153\163\x74\x72\141"], "\151\144\x5f\x6b\145\x6c\x61\x73" => $kls, "\151\144\137\164\160" => $tp->id_tp, "\151\x64\x5f\163\x6d\x74" => $smt->id_smt, "\x6e\x69\154\x61\151" => $ph["\156\151\154\x61\x69"], "\160\x72\145\x64\151\153\141\x74" => $ph["\x70\x72\x65\x64"], "\144\x65\x73\x6b\x72\x69\x70\163\151" => $ph["\x64\x65\x73\x6b"]];
goto TrBWD;
TrBWD:
$ekstra_insert[] = $vals;
goto WKUKL;
WKUKL:
auPx9:
goto P16oZ;
P16oZ:
}
goto RQasT;
RQasT:
HxDbK:
goto TjFe8;
TjFe8:
Zc3fG:
goto lGYXS;
DfSiT:
}
goto NaWzJ;
NaWzJ:
DlTjV:
goto k5wop;
k5wop:
qCEVv:
goto ILVxB;
ILVxB:
}
goto f6ms8;
qwgvR:
foreach ($sosial[$tp->id_tp][$smt->id_smt] as $id => $pht) {
goto KzVlR;
KzVlR:
foreach ($pht as $kls => $nilai) {
goto z5BU3;
z5BU3:
$vals = ["\x69\144\137\156\x69\154\141\x69\x5f\163\x69\153\x61\x70" => $kls . $id . $tp->id_tp . $smt->id_smt . "\x32", "\151\144\137\x73\x69\163\167\141" => $id, "\151\x64\x5f\x6b\145\x6c\x61\163" => $kls, "\x69\144\137\164\160" => $tp->id_tp, "\x69\144\x5f\163\x6d\164" => $smt->id_smt, "\x6a\145\156\151\x73" => "\x32", "\156\151\x6c\141\151" => serialize(["\160\x72\x65\x64\151\153\x61\164" => $nilai["\156\151\x6c\x61\x69"], "\163\x6c\61" => '', "\163\x6c\x32" => '', "\x73\154\x33" => '', "\155\142\61" => '', "\155\142\62" => '', "\x6d\142\x33" => '']), "\144\x65\x73\153\x72\x69\x70\x73\x69" => $nilai["\144\x65\x73\153"]];
goto GWCAe;
GWCAe:
$sosial_insert[] = $vals;
goto xYsZA;
xYsZA:
tk0Rp:
goto vxS0Y;
vxS0Y:
}
goto EPchX;
EPchX:
p4w8d:
goto pTiyX;
pTiyX:
jBV0Z:
goto frZQ1;
frZQ1:
}
goto dhN10;
wpjC7:
YCDNa:
goto kjBhO;
cV5fn:
qLoct:
goto JywyM;
sRR35:
foreach ($hpts[$tp->id_tp][$smt->id_smt] as $id => $pht) {
goto NxePA;
TCtks:
XbLIo:
goto kawUK;
NxePA:
foreach ($pht as $kls => $nilai) {
goto UluUm;
uuH2q:
U0OL6:
goto gx15O;
gx15O:
E2Ko6:
goto rb74k;
UluUm:
foreach ($nilai as $ph) {
goto RMo3H;
RMo3H:
$vals = ["\151\144\137\x6e\x69\154\x61\151\x5f\x70\164\163" => $ph["\151\x64\x5f\155\141\160\145\154"] . $kls . $id . $tp->id_tp . $smt->id_smt, "\151\144\x5f\x73\x69\163\167\141" => $id, "\x69\144\x5f\155\141\160\x65\x6c" => $ph["\151\144\x5f\155\x61\160\x65\x6c"], "\151\144\x5f\x6b\145\x6c\x61\163" => $kls, "\151\144\137\164\160" => $tp->id_tp, "\151\144\x5f\163\x6d\x74" => $smt->id_smt, "\x6e\151\154\141\151" => $ph["\156\x69\x6c\x61\151"], "\x70\x72\x65\144\151\x6b\x61\x74" => $ph["\x70\162\x65\144"]];
goto GzO7r;
XOhW4:
bTe1U:
goto zj5g1;
GzO7r:
$hpts_insert[] = $vals;
goto XOhW4;
zj5g1:
}
goto uuH2q;
rb74k:
}
goto TCtks;
kawUK:
zo_M8:
goto FLmEc;
FLmEc:
}
goto OhZ2m;
zGLCv:
qwnoZ:
goto EqUxm;
EqUxm:
IzmD9:
goto up5gm;
g91Bc:
if (!(isset($absen[$tp->id_tp]) && isset($absen[$tp->id_tp][$smt->id_smt]))) {
goto IzmD9;
}
goto kS1nO;
JywyM:
BiGqw:
goto q6xK2;
PyF2F:
foreach ($hph[$tp->id_tp][$smt->id_smt] as $id => $phs) {
goto NsTAz;
NsTAz:
foreach ($phs as $kls => $nilai) {
goto SaVxI;
DOQWU:
iMwyL:
goto ps9Jd;
ps9Jd:
i00vo:
goto re2Os;
SaVxI:
foreach ($nilai as $ph) {
goto tUexO;
vTxH1:
mDUiP:
goto IDu7P;
LE13C:
$vals = ["\x69\144\137\x6e\151\154\141\x69\137\x68\141\x72\151\x61\x6e" => $ph["\x69\144\137\155\141\160\145\154"] . $kls . $id . $tp->id_tp . $smt->id_smt, "\151\144\137\x73\x69\x73\x77\141" => $id, "\x69\144\x5f\x6d\x61\x70\145\154" => $ph["\x69\x64\137\155\141\x70\x65\154"], "\x69\x64\137\x6b\x65\x6c\141\x73" => $kls, "\151\144\137\x74\160" => $tp->id_tp, "\x69\x64\x5f\163\155\164" => $smt->id_smt, "\x70\137\x72\141\164\141\x5f\162\x61\x74\141" => $p_rata, "\x70\x31" => $p_rata + 1, "\x70\62" => $p_rata - 1, "\x70\63" => $p_rata, "\x70\x34" => '', "\x70\x35" => '', "\160\x36" => '', "\x70\67" => '', "\x70\70" => '', "\x70\x5f\160\x72\145\144\x69\153\141\164" => $ph["\x70\137\x70\162\145\144"], "\160\x5f\x64\145\163\x6b\x72\x69\x70\163\x69" => $ph["\160\137\x64\x65\163\x6b"], "\153\137\162\x61\x74\141\x5f\162\141\x74\141" => $k_rata, "\x6b\61" => $k_rata + 1, "\x6b\62" => $k_rata - 1, "\153\63" => $k_rata, "\153\64" => '', "\x6b\x35" => '', "\153\x36" => '', "\x6b\67" => '', "\153\70" => '', "\153\137\160\162\145\144\151\x6b\141\164" => $ph["\153\137\x70\x72\145\144"], "\x6b\x5f\144\x65\x73\x6b\162\151\x70\x73\151" => $ph["\153\137\x64\145\x73\x6b"], "\x6a\155\154" => ''];
goto WXwuB;
tUexO:
$p_rata = (int) $ph["\x70\137\156\151\x6c\141\151"];
goto f7qZy;
WXwuB:
$hph_insert[] = $vals;
goto vTxH1;
f7qZy:
$k_rata = (int) $ph["\153\137\156\x69\154\141\151"];
goto LE13C;
IDu7P:
}
goto DOQWU;
re2Os:
}
goto Lym1L;
rWKNv:
csdOK:
goto wCyFS;
Lym1L:
ZbiwL:
goto rWKNv;
wCyFS:
}
goto Ob5SG;
u5eUl:
foreach ($rank[$tp->id_tp][$smt->id_smt] as $id => $pht) {
goto QZGiT;
iX4hM:
msD5U:
goto DxT1X;
Aw2u9:
btNKC:
goto iX4hM;
QZGiT:
foreach ($pht as $kls => $nilai) {
goto vW4Bu;
vW4Bu:
$prt = $prestasi[$tp->id_tp][$smt->id_smt][$id][$kls];
goto zTUjv;
zTUjv:
$vals = ["\151\144\137\162\x61\156\153\151\x6e\147" => $kls . $id . $tp->id_tp . $smt->id_smt, "\x69\x64\137\x73\x69\x73\167\x61" => $id, "\151\x64\137\x6b\x65\x6c\141\163" => $kls, "\151\x64\x5f\x74\x70" => $tp->id_tp, "\x69\x64\x5f\x73\x6d\x74" => $smt->id_smt, "\x72\x61\x6e\153\x69\156\147" => $nilai["\x72\141\x6e\153"], "\144\145\163\153\162\x69\160\x73\x69" => $nilai["\x73\141\162\x61\x6e"], "\x70\61" => $prt[0]["\x6e\x69\x6c\141\x69"], "\x70\x31\137\x64\145\x73\153" => $prt[0]["\144\x65\163\x6b"], "\x70\62" => $prt[1]["\x6e\x69\154\141\x69"], "\160\x32\137\144\145\163\x6b" => $prt[1]["\144\x65\163\x6b"], "\160\x33" => $prt[2]["\x6e\151\154\x61\x69"], "\x70\x33\137\x64\145\163\153" => $prt[2]["\x64\145\x73\x6b"]];
goto q6Ojv;
pbAYV:
H4Cln:
goto G2Z6r;
q6Ojv:
$rank_insert[] = $vals;
goto pbAYV;
G2Z6r:
}
goto Aw2u9;
DxT1X:
}
goto wam25;
gok3K:
gTmvP:
goto g91Bc;
q6xK2:
if (!(isset($sosial[$tp->id_tp]) && isset($sosial[$tp->id_tp][$smt->id_smt]))) {
goto PYvBe;
}
goto qwgvR;
wam25:
lJ_kd:
goto gok3K;
Nvs5L:
if (!(isset($hpts[$tp->id_tp]) && isset($hpts[$tp->id_tp][$smt->id_smt]))) {
goto zHxZ8;
}
goto sRR35;
kS1nO:
foreach ($absen[$tp->id_tp][$smt->id_smt] as $id => $pht) {
goto OfzGf;
WTfLH:
egoRH:
goto UCxEG;
OfzGf:
foreach ($pht as $kls => $nilai) {
goto UM123;
gG_JS:
WFGGd:
goto jQ9hq;
UM123:
$vals = ["\x69\x64\137\x63\141\x74\141\x74\141\156\137\167\141\154\151" => $kls . $id . $tp->id_tp . $smt->id_smt, "\151\x64\137\x73\x69\163\x77\x61" => $id, "\151\144\137\x6b\145\x6c\x61\163" => $kls, "\151\x64\x5f\164\160" => $tp->id_tp, "\151\144\137\x73\155\x74" => $smt->id_smt, "\x6e\x69\154\141\151" => $nilai["\x6e\x69\x6c\x61\x69"], "\x64\x65\x73\153\162\x69\160\x73\151" => $nilai["\144\145\163\153\162\x69\160\163\x69"]];
goto FWZtV;
FWZtV:
$absen_insert[] = $vals;
goto gG_JS;
jQ9hq:
}
goto WTfLH;
UCxEG:
ErrZf:
goto D5wQc;
D5wQc:
}
goto zGLCv;
Fj1Ke:
zHxZ8:
goto Vcmwv;
H2EBg:
Nis2i:
goto WnQLm;
HkiGy:
foreach ($hpas[$tp->id_tp][$smt->id_smt] as $id => $pha) {
goto xnmTK;
lf6HU:
mJ7Jt:
goto vls6u;
r3phH:
aGuEa:
goto lf6HU;
xnmTK:
foreach ($pha as $kls => $nilai) {
goto iuIm0;
emAIb:
wM4To:
goto I1cS8;
LW5xs:
EL8iB:
goto emAIb;
iuIm0:
foreach ($nilai as $ph) {
goto DDdef;
h228y:
WLMxE:
goto hwt4o;
yyieO:
$hnr = $nr[$index];
goto gluxc;
gluxc:
$vals = ["\x69\x64\137\x6e\151\x6c\141\151\137\141\x6b\150\x69\x72" => $ph["\x69\x64\137\x6d\x61\160\145\x6c"] . $kls . $id . $tp->id_tp . $smt->id_smt, "\151\144\x5f\163\x69\x73\x77\x61" => $id, "\151\144\x5f\x6d\x61\160\x65\x6c" => $ph["\151\x64\137\x6d\141\x70\x65\x6c"], "\151\144\137\x6b\x65\154\141\x73" => $kls, "\x69\144\137\164\x70" => $tp->id_tp, "\151\144\x5f\163\155\x74" => $smt->id_smt, "\156\x69\x6c\141\x69" => $ph["\156\151\154\141\x69"], "\141\153\x68\x69\x72" => $hnr["\156\x69\154\x61\151"], "\160\x72\145\x64\x69\x6b\141\164" => $hnr["\160\x72\x65\x64"]];
goto YURYn;
pZNgf:
$index = array_search($ph["\x69\x64\x5f\x6d\x61\160\x65\x6c"], array_column($nr, "\151\x64\137\x6d\141\160\145\x6c"));
goto yyieO;
YURYn:
$hpas_insert[] = $vals;
goto h228y;
DDdef:
$nr = $nilai_rapor[$tp->id_tp][$smt->id_smt][$id][$kls];
goto pZNgf;
hwt4o:
}
goto LW5xs;
I1cS8:
}
goto r3phH;
vls6u:
}
goto H2EBg;
up5gm:
fwnGG:
goto TxQrz;
Ob5SG:
Co35s:
goto gtBj5;
TxQrz:
}
goto L3sEw;
bgVup:
}
goto rCODQ;
Mo88e:
HhISA:
goto GZZsi;
D1tZ_:
eQmNv:
goto Axhmg;
qtEme:
return $res;
goto jHhyO;
CB5Co:
$sosial = [];
goto Yl2pH;
jf0_2:
$siswas = $this->rapor->getDataKumpulanRapor();
goto mtHMu;
IS0ZJ:
$hph_insert = [];
goto jnrAB;
GZZsi:
if (!(count($hpas_insert) > 0)) {
goto S20e6;
}
goto HCuwP;
y8BCS:
$gurus = $this->master->getAllWaliKelas();
goto TBz1m;
HryJp:
ZpoXE:
goto VwcfP;
HjIpQ:
$hpas_insert = [];
goto A0pg6;
sulLf:
if (!(count($rank_insert) > 0)) {
goto Z8pL4;
}
goto wXRft;
GKWH0:
$res = 0;
goto sulLf;
xicR5:
$absen_insert = [];
goto rQTPZ;
DRAop:
$prestasi = [];
goto At2u6;
Axhmg:
if (!(count($ekstra_insert) > 0)) {
goto HhISA;
}
goto FOEJs;
g0Mi1:
$this->load->model("\x4b\x65\154\141\163\x5f\x6d\x6f\144\x65\x6c", "\153\145\x6c\141\163");
goto nq8tG;
Yl2pH:
$rank = [];
goto DRAop;
mgAAi:
$res += $this->db->insert_batch("\x72\x61\x70\x6f\x72\x5f\x6e\151\154\x61\151\x5f\x68\141\x72\151\141\156", $hph_insert);
goto fMrqz;
CCe0z:
$spritual_insert = [];
goto VgtTY;
jHhyO:
}
public function edit()
{
goto Dw5pL;
QSmRn:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto WBqrV;
QagCI:
$semester = $this->input->get("\x73\x65\x6d\145\163\164\x65\x72", true);
goto t4L5c;
gKBWT:
$tp = $this->dashboard->getTahunActive();
goto C_E1M;
e1DSe:
$data["\x70\x72\157\x66\x69\x6c\145"] = $this->dashboard->getProfileAdmin($user->id);
goto bl0zQ;
WBqrV:
$nguru[$guru->id_guru] = $guru->nama_guru;
goto FWSot;
uiLn8:
$tahun = $this->input->get("\164\141\x68\x75\156", true);
goto QagCI;
fgQDc:
$data = ["\x75\163\x65\162" => $user, "\x6a\165\x64\x75\154" => "\105\144\x69\x74\x20\116\151\x6c\141\151", "\163\x75\142\152\x75\x64\165\x6c" => "\x4e\x69\x6c\141\151\40\x52\141\160\157\x72\40\x4b\x65\154\x61\x73\40" . $kelas . "\x2c\x20\124\120\x3a" . $tahun . "\54\40\123\x4d\x54\72" . $semester, "\x73\x65\x74\x74\151\156\147" => $setting];
goto gKBWT;
EwB_R:
$data["\x74\x70\x5f\x61\x63\x74\x69\166\145"] = $tp;
goto JVi8r;
oXT_s:
$data["\x74\160"] = $this->dashboard->getTahun();
goto EwB_R;
Wqb5p:
$setting = $this->dashboard->getSetting();
goto fgQDc;
OIgmw:
if ($this->ion_auth->is_admin()) {
goto eu6QE;
}
goto QSmRn;
PfHef:
$this->load->view("\163\145\164\164\x69\156\x67\x2f\144\x61\x74\x61\x72\141\160\x6f\x72");
goto GeuWt;
EmKM4:
$this->load->view("\137\x74\x65\155\160\154\x61\164\x65\x73\x2f\x64\x61\163\150\142\x6f\x61\x72\x64\x2f\137\x66\157\x6f\164\x65\162");
goto Vd9EH;
Aztkq:
HmFo8:
goto GYB2K;
c55ex:
goto rE4gD;
goto Gmz6v;
p7WDH:
$this->load->model("\x52\141\x70\x6f\x72\x5f\155\157\144\145\x6c", "\x72\141\160\x6f\x72");
goto lkrBn;
GYB2K:
$data["\163\151\x73\x77\141\x73"] = $siswas;
goto OIgmw;
Dw5pL:
$this->load->model("\104\141\x73\x68\x62\x6f\141\x72\144\x5f\x6d\157\x64\x65\x6c", "\x64\x61\163\x68\x62\x6f\141\162\x64");
goto p7WDH;
lkrBn:
$kelas = $this->input->get("\x6b\145\x6c\x61\163", true);
goto uiLn8;
jZ95r:
$data["\x73\155\164\x5f\x61\143\x74\x69\166\x65"] = $smt;
goto DuP1d;
FWSot:
$data["\147\x75\x72\x75"] = $guru;
goto SY2ii;
JVi8r:
$data["\x73\155\x74"] = $this->dashboard->getSemester();
goto jZ95r;
Gmz6v:
eu6QE:
goto e1DSe;
SY2ii:
$this->load->view("\155\145\x6d\x62\145\x72\163\57\x67\165\x72\165\57\164\145\155\x70\x6c\141\x74\x65\x73\57\150\145\x61\144\145\x72", $data);
goto PfHef;
DvAnU:
foreach ($siswas as $siswa) {
goto U7CwT;
LwQ86:
$siswa->setting_mapel = unserialize($siswa->setting_mapel);
goto DOAbR;
iVV_M:
$siswa->prestasi = unserialize($siswa->prestasi);
goto kppQ_;
VZP2g:
qJFME:
goto i1YLm;
U7CwT:
$siswa->hph = unserialize($siswa->hph);
goto vN1Vu;
DKnsa:
$siswa->fisik = unserialize($siswa->fisik);
goto qLzwC;
elS2z:
$siswa->ekstra = unserialize($siswa->ekstra);
goto FPM8d;
DOAbR:
Nwbz1:
goto DF77w;
FyxM2:
$siswa->nilai_rapor = unserialize($siswa->nilai_rapor);
goto elS2z;
Qy8xb:
$siswa->sosial = unserialize($siswa->sosial);
goto HzhZ4;
i1YLm:
$siswa->setting_rapor = unserialize($siswa->setting_rapor);
goto LwQ86;
qLzwC:
foreach ($siswa->fisik as $value) {
$value->kondisi = unserialize($value->kondisi);
GBdNs:
}
goto VZP2g;
FPM8d:
$siswa->spritual = unserialize($siswa->spritual);
goto Qy8xb;
HzhZ4:
$siswa->rank = unserialize($siswa->rank);
goto iVV_M;
kppQ_:
$siswa->absen = unserialize($siswa->absen);
goto DKnsa;
vN1Vu:
$siswa->hpts = unserialize($siswa->hpts);
goto VaPo_;
VaPo_:
$siswa->hpas = unserialize($siswa->hpas);
goto FyxM2;
DF77w:
}
goto Aztkq;
Vd9EH:
rE4gD:
goto VSpIY;
bl0zQ:
$this->load->view("\x5f\x74\145\155\160\154\x61\164\145\163\x2f\144\141\x73\150\142\x6f\x61\162\144\57\x5f\x68\x65\x61\x64\145\162", $data);
goto VLT7y;
VLT7y:
$this->load->view("\x73\x65\x74\x74\x69\x6e\147\x2f\x64\141\164\141\x72\x61\160\157\162");
goto EmKM4;
DuP1d:
$siswas = $this->rapor->getDataKumpulanRapor($kelas, $tahun, $semester);
goto DvAnU;
C_E1M:
$smt = $this->dashboard->getSemesterActive();
goto oXT_s;
GeuWt:
$this->load->view("\155\x65\x6d\142\145\x72\163\x2f\147\x75\x72\x75\57\x74\145\x6d\x70\154\141\164\x65\x73\x2f\146\x6f\157\164\x65\162");
goto c55ex;
t4L5c:
$user = $this->ion_auth->user()->row();
goto Wqb5p;
VSpIY:
}
public function ledger()
{
goto rqE5u;
AKQFp:
$this->load->view("\155\145\x6d\142\145\x72\x73\57\147\165\x72\x75\x2f\164\145\155\x70\x6c\141\x74\145\x73\57\x66\x6f\x6f\164\x65\x72");
goto NrlbS;
qFM6s:
Davw5:
goto hBIFq;
yVUa_:
$data["\147\165\x72\165"] = $guru;
goto cxMKB;
Dan0_:
$this->load->view("\163\x65\x74\x74\x69\x6e\147\57\x64\141\x74\x61\162\x61\160\157\162");
goto AoOJu;
NrlbS:
goto WWT0b;
goto PhB0N;
cxMKB:
$this->load->view("\155\145\155\x62\x65\162\x73\57\x67\x75\x72\165\57\164\145\155\160\154\x61\164\x65\163\x2f\x68\x65\141\x64\145\162", $data);
goto suTNy;
YRMys:
foreach ($siswas as $siswa) {
goto AY8ub;
Lv_Sj:
$siswa->spritual = unserialize($siswa->spritual);
goto zHQ3z;
ulijh:
$siswa->setting_rapor = unserialize($siswa->setting_rapor);
goto HutwF;
iLlmm:
$siswa->hpts = unserialize($siswa->hpts);
goto uPKkL;
hdpVX:
$siswa->nilai_rapor = unserialize($siswa->nilai_rapor);
goto u0J0N;
GVOmX:
amE0K:
goto fVQSV;
AY8ub:
$siswa->hph = unserialize($siswa->hph);
goto iLlmm;
uPKkL:
$siswa->hpas = unserialize($siswa->hpas);
goto hdpVX;
zHQ3z:
$siswa->sosial = unserialize($siswa->sosial);
goto k9eLp;
u0J0N:
$siswa->ekstra = unserialize($siswa->ekstra);
goto Lv_Sj;
HutwF:
$siswa->setting_mapel = unserialize($siswa->setting_mapel);
goto GVOmX;
S7VUO:
foreach ($siswa->fisik as $value) {
$value->kondisi = unserialize($value->kondisi);
PJOVt:
}
goto WP7Br;
k9eLp:
$siswa->rank = unserialize($siswa->rank);
goto GVVV1;
WP7Br:
WfHKw:
goto ulijh;
Crmr4:
$siswa->absen = unserialize($siswa->absen);
goto TeEEX;
TeEEX:
$siswa->fisik = unserialize($siswa->fisik);
goto S7VUO;
GVVV1:
$siswa->prestasi = unserialize($siswa->prestasi);
goto Crmr4;
fVQSV:
}
goto qFM6s;
CEe2t:
$data["\x73\x6d\x74"] = $this->dashboard->getSemester();
goto piy73;
rqE5u:
$this->load->model("\x44\141\163\150\142\x6f\141\162\x64\x5f\x6d\x6f\144\145\x6c", "\x64\x61\x73\x68\x62\x6f\141\x72\x64");
goto FxGHr;
piy73:
$data["\163\155\164\137\x61\x63\164\151\166\x65"] = $smt;
goto zTxTG;
eb5Qv:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto SPcn3;
suTNy:
$this->load->view("\163\x65\164\x74\151\x6e\x67\x2f\x64\141\x74\141\x72\x61\160\x6f\x72");
goto AKQFp;
GGDFT:
$smt = $this->dashboard->getSemesterActive();
goto v97r4;
FxGHr:
$this->load->model("\x52\x61\160\x6f\162\137\x6d\157\144\x65\154", "\x72\141\x70\157\x72");
goto cajRJ;
AoOJu:
$this->load->view("\137\164\145\155\x70\154\141\x74\x65\x73\x2f\x64\x61\x73\150\x62\157\141\162\144\x2f\x5f\146\157\x6f\x74\145\x72");
goto oIWNM;
Ddl1q:
$data["\160\x72\x6f\x66\151\154\x65"] = $this->dashboard->getProfileAdmin($user->id);
goto jMeP3;
SPcn3:
$nguru[$guru->id_guru] = $guru->nama_guru;
goto yVUa_;
NBohH:
$data["\x74\x70\x5f\x61\x63\x74\x69\x76\x65"] = $tp;
goto CEe2t;
cajRJ:
$kelas = $this->input->get("\153\x65\154\x61\x73", true);
goto szhjV;
zTxTG:
$siswas = $this->rapor->getDataKumpulanRapor($kelas, $tahun, $semester);
goto YRMys;
VplG9:
if ($this->ion_auth->is_admin()) {
goto PEyZu;
}
goto eb5Qv;
rHxKH:
$data = ["\x75\163\x65\x72" => $user, "\x6a\165\x64\x75\154" => "\x45\144\x69\164\x20\116\151\154\x61\x69", "\163\x75\142\152\165\x64\x75\x6c" => "\x4e\x69\x6c\x61\x69\x20\x52\141\x70\x6f\162\x20\x4b\145\x6c\141\163\x20" . $kelas . "\x2c\x20\124\120\72" . $tahun . "\x2c\40\x53\x4d\124\x3a" . $semester, "\163\x65\x74\164\151\x6e\147" => $setting];
goto umX7N;
kXzfk:
$semester = $this->input->get("\x73\145\155\145\x73\164\145\x72", true);
goto uJMeQ;
wwqPB:
$setting = $this->dashboard->getSetting();
goto rHxKH;
oIWNM:
WWT0b:
goto u0nYe;
szhjV:
$tahun = $this->input->get("\164\x61\150\x75\156", true);
goto kXzfk;
v97r4:
$data["\164\160"] = $this->dashboard->getTahun();
goto NBohH;
hBIFq:
$data["\x73\151\x73\167\141\163"] = $siswas;
goto VplG9;
umX7N:
$tp = $this->dashboard->getTahunActive();
goto GGDFT;
jMeP3:
$this->load->view("\137\164\145\155\160\154\x61\164\145\x73\x2f\144\x61\163\150\x62\157\x61\162\144\57\137\x68\145\x61\144\145\162", $data);
goto Dan0_;
PhB0N:
PEyZu:
goto Ddl1q;
uJMeQ:
$user = $this->ion_auth->user()->row();
goto wwqPB;
u0nYe:
}
public function dkn()
{
goto KtUn2;
Bdk6M:
LzKxQ:
goto UE1Rr;
gsC7N:
$smt = $this->dashboard->getSemesterActive();
goto hnMc6;
bLiY_:
$data["\x74\160\137\141\143\164\151\x76\145"] = $tp;
goto KKfip;
C_vMJ:
$this->load->model("\122\141\160\x6f\x72\137\x6d\157\x64\x65\x6c", "\162\x61\160\157\x72");
goto pIjVC;
KKfip:
$data["\x73\155\164"] = $this->dashboard->getSemester();
goto sfRlq;
BrIrV:
$tahun = $this->input->get("\x74\141\x68\x75\x6e", true);
goto q8aUM;
gJ2vv:
$setting = $this->dashboard->getSetting();
goto nh0uj;
Lna9X:
$this->load->view("\163\x65\x74\x74\x69\x6e\x67\57\144\141\164\x61\162\141\x70\157\x72");
goto v9sh0;
S3ogQ:
$nguru[$guru->id_guru] = $guru->nama_guru;
goto YNRmP;
sfRlq:
$data["\x73\x6d\x74\137\141\x63\164\151\166\145"] = $smt;
goto eaw2p;
UE1Rr:
$data["\163\x69\x73\167\x61\163"] = $siswas;
goto QEDI7;
v9sh0:
$this->load->view("\155\x65\155\142\145\162\163\x2f\147\165\x72\x75\x2f\164\x65\x6d\160\154\141\x74\x65\x73\x2f\x66\157\x6f\x74\x65\x72");
goto znyHs;
pIjVC:
$kelas = $this->input->get("\153\145\x6c\x61\x73", true);
goto BrIrV;
wM0YE:
$this->load->view("\x73\x65\x74\164\151\156\147\57\x64\x61\x74\141\x72\141\160\157\x72");
goto qQ17e;
gui2v:
YVdgb:
goto tD5BV;
nh0uj:
$data = ["\x75\x73\x65\162" => $user, "\x6a\165\x64\165\x6c" => "\x45\144\151\164\x20\x4e\x69\154\x61\151", "\163\x75\142\152\x75\144\x75\x6c" => "\x4e\151\154\x61\151\40\x52\141\x70\157\x72\40\x4b\145\x6c\141\163\40" . $kelas . "\54\40\124\120\72" . $tahun . "\54\40\123\x4d\x54\72" . $semester, "\163\x65\164\164\x69\x6e\x67" => $setting];
goto zxLLT;
qQ17e:
$this->load->view("\137\164\x65\155\x70\x6c\x61\164\145\163\57\x64\x61\163\150\142\x6f\141\162\x64\57\137\x66\157\157\164\145\162");
goto gui2v;
Pa9Hx:
$this->load->view("\x5f\x74\145\x6d\x70\154\x61\164\145\163\x2f\144\x61\x73\150\142\157\x61\x72\x64\x2f\x5f\150\x65\141\144\x65\162", $data);
goto wM0YE;
znyHs:
goto YVdgb;
goto J9GRL;
hnMc6:
$data["\164\x70"] = $this->dashboard->getTahun();
goto bLiY_;
qAVrD:
$data["\x70\x72\x6f\x66\x69\154\145"] = $this->dashboard->getProfileAdmin($user->id);
goto Pa9Hx;
eaw2p:
$siswas = $this->rapor->getDataKumpulanRapor($kelas, $tahun, $semester);
goto fBiVQ;
q8aUM:
$semester = $this->input->get("\x73\145\x6d\145\163\164\x65\x72", true);
goto w7fon;
w7fon:
$user = $this->ion_auth->user()->row();
goto gJ2vv;
IohBP:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto S3ogQ;
zxLLT:
$tp = $this->dashboard->getTahunActive();
goto gsC7N;
YNRmP:
$data["\147\x75\x72\165"] = $guru;
goto pFRxz;
pFRxz:
$this->load->view("\x6d\x65\x6d\x62\145\162\163\57\147\x75\x72\165\57\x74\x65\x6d\x70\x6c\141\164\x65\163\x2f\150\x65\x61\144\145\162", $data);
goto Lna9X;
J9GRL:
eDahe:
goto qAVrD;
fBiVQ:
foreach ($siswas as $siswa) {
goto ojY5d;
fY5L4:
$siswa->sosial = unserialize($siswa->sosial);
goto IdmDt;
qbNMX:
$siswa->prestasi = unserialize($siswa->prestasi);
goto cMuoi;
gXE0Z:
$siswa->setting_mapel = unserialize($siswa->setting_mapel);
goto Td9fk;
IdmDt:
$siswa->rank = unserialize($siswa->rank);
goto qbNMX;
cMuoi:
$siswa->absen = unserialize($siswa->absen);
goto gK22q;
IpUPq:
foreach ($siswa->fisik as $value) {
$value->kondisi = unserialize($value->kondisi);
N42j4:
}
goto awi1h;
A6Tub:
$siswa->spritual = unserialize($siswa->spritual);
goto fY5L4;
joTjV:
$siswa->nilai_rapor = unserialize($siswa->nilai_rapor);
goto NH2VG;
Td9fk:
QgSMP:
goto gkhZ4;
JWeky:
$siswa->hpts = unserialize($siswa->hpts);
goto qjIby;
NH2VG:
$siswa->ekstra = unserialize($siswa->ekstra);
goto A6Tub;
vE_QQ:
$siswa->setting_rapor = unserialize($siswa->setting_rapor);
goto gXE0Z;
gK22q:
$siswa->fisik = unserialize($siswa->fisik);
goto IpUPq;
ojY5d:
$siswa->hph = unserialize($siswa->hph);
goto JWeky;
awi1h:
IWH1l:
goto vE_QQ;
qjIby:
$siswa->hpas = unserialize($siswa->hpas);
goto joTjV;
gkhZ4:
}
goto Bdk6M;
KtUn2:
$this->load->model("\x44\141\x73\x68\142\157\141\162\144\137\x6d\x6f\144\145\x6c", "\144\141\163\x68\142\157\x61\162\x64");
goto C_vMJ;
QEDI7:
if ($this->ion_auth->is_admin()) {
goto eDahe;
}
goto IohBP;
tD5BV:
}
function group_by($key, $data)
{
goto sxprv;
CvUdz:
return $result;
goto i6deZ;
Q6GYu:
foreach ($data as $val) {
goto cHYL3;
Szxzp:
VSO5Z:
goto IgJNa;
cHYL3:
if (array_key_exists($key, $val)) {
goto sYY5J;
}
goto XI4OR;
ySvjm:
goto gizB1;
goto YFwzy;
XI4OR:
$result[''][] = $val;
goto ySvjm;
Z7dcy:
gizB1:
goto Szxzp;
BxpTZ:
$result[$val->{$key}][] = $val;
goto Z7dcy;
YFwzy:
sYY5J:
goto BxpTZ;
IgJNa:
}
goto qADAR;
qADAR:
Aw1m0:
goto CvUdz;
sxprv:
$result = array();
goto Q6GYu;
i6deZ:
}
}
Function Calls
None |
Stats
MD5 | 60fd0adb669251c21c3911340288c16f |
Eval Count | 0 |
Decode Time | 229 ms |