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 Kelasabsensibulanan extends CI_Controller
{
public function __construct()
{
goto W0zYO;
CbFRy:
goto ir1fc;
goto mz7qr;
o1x5t:
$this->load->library(["datatables", "form_validation"]);
goto OLYSH;
es1PH:
N_Bc4:
goto CbFRy;
Taw2Y:
$this->load->model("Dashboard_model", "dashboard");
goto fVmxE;
O4JmD:
ir1fc:
goto o1x5t;
W0zYO:
parent::__construct();
goto lv5Cl;
SnTyc:
redirect("auth");
goto O4JmD;
lv5Cl:
if (!$this->ion_auth->logged_in()) {
goto GWtcb;
}
goto iC7gb;
iC7gb:
if (!(!$this->ion_auth->is_admin() && !$this->ion_auth->in_group("guru"))) {
goto N_Bc4;
}
goto XReOO;
H0VMP:
$this->load->model("Kelas_model", "kelas");
goto v78Es;
OLYSH:
$this->load->model("Master_model", "master");
goto Taw2Y;
v78Es:
$this->form_validation->set_error_delimiters('', '');
goto UmfzT;
XReOO:
show_error("Hanya Administrator yang diberi hak untuk mengakses halaman ini, <a href="" . base_url("dashboard") . "">Kembali ke menu awal</a>", 403, "Akses Dibatasi");
goto es1PH;
mz7qr:
GWtcb:
goto SnTyc;
fVmxE:
$this->load->model("Dropdown_model", "dropdown");
goto H0VMP;
UmfzT:
}
public function output_json($data, $encode = true)
{
goto OrJo1;
AorgZ:
$this->output->set_content_type("application/json")->set_output($data);
goto OcKV6;
OrJo1:
if (!$encode) {
goto ci42U;
}
goto moH8d;
NZ1ip:
ci42U:
goto AorgZ;
moH8d:
$data = json_encode($data);
goto NZ1ip;
OcKV6:
}
public function index()
{
goto oKiXO;
OhakW:
c4yET:
goto iGEen;
CvXQE:
Spq3o:
goto Roexp;
RLb8S:
$data = ["user" => $user, "judul" => "Daftar Hadir Bulanan", "subjudul" => "Daftar Hadir Bulanan Siswa", "setting" => $this->dashboard->getSetting()];
goto pzxkU;
FUkj8:
$data["mapel"] = $this->dropdown->getAllMapel();
goto sPJQO;
t0fMM:
$arrKelas = [];
goto yWJKD;
oKiXO:
$user = $this->ion_auth->user()->row();
goto RLb8S;
R0rFV:
$smt = $this->master->getSemesterActive();
goto hDVto;
xoGYd:
$this->load->view("members/guru/templates/header", $data);
goto FmZuq;
NRIyo:
$data["bulan"] = $this->dropdown->getBulan();
goto E3phd;
Roexp:
$data["mapel"] = $arrMapel;
goto ZcTHk;
Lwk_Q:
$data["kelas"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt);
goto mHGMx;
XxI3s:
$data["id_guru"] = $guru->id_guru;
goto Momnj;
knHhV:
$this->load->view("kelas/absenbulanan/data");
goto RzzwY;
QHWhX:
$this->load->view("members/guru/templates/footer");
goto lpLiC;
liwto:
$nguru[$guru->id_guru] = $guru->nama_guru;
goto KOHgm;
KOHgm:
$data["guru"] = $guru;
goto XxI3s;
RzzwY:
$this->load->view("_templates/dashboard/_footer");
goto LBLFq;
JWKbO:
$data["smt"] = $this->dashboard->getSemester();
goto qn0EC;
FmZuq:
$this->load->view("kelas/absenbulanan/data");
goto QHWhX;
mHGMx:
$data["guru"] = $this->dropdown->getAllGuru();
goto FUkj8;
yWJKD:
if (!($mapel != null)) {
goto mSph9;
}
goto I6Nfp;
XY45i:
foreach ($mapel[0]->kelas_mapel as $id_mapel) {
array_push($arrId, $id_mapel->kelas);
ry3rh:
}
goto Sr2Yo;
qn0EC:
$data["smt_active"] = $smt;
goto NRIyo;
Momnj:
$mapel_guru = $this->kelas->getGuruMapelKelas($guru->id_guru, $tp->id_tp, $smt->id_smt);
goto KnCLw;
lpLiC:
goto aEYEG;
goto OhakW;
hDVto:
$data["tp"] = $this->dashboard->getTahun();
goto GJ1EB;
XdBbJ:
$arrMapel = [];
goto t0fMM;
GJ1EB:
$data["tp_active"] = $tp;
goto JWKbO;
ZcTHk:
$data["arrkelas"] = $arrKelas;
goto U101N;
I6Nfp:
foreach ($mapel as $m) {
goto DOBvU;
b96wO:
BBSTo:
goto wdD5L;
DOBvU:
$arrMapel[$m->id_mapel] = $m->nama_mapel;
goto A_REE;
A_REE:
foreach ($m->kelas_mapel as $kls) {
$arrKelas[$m->id_mapel][] = ["id_kelas" => $kls->kelas, "nama_kelas" => $this->dropdown->getNamaKelasById($tp->id_tp, $smt->id_smt, $kls->kelas)];
Ac3bQ:
}
goto y9doH;
y9doH:
b1SMk:
goto b96wO;
wdD5L:
}
goto VeReg;
TFBdv:
mSph9:
goto Jovxr;
Jovxr:
$arrId = [];
goto XRohY;
E3phd:
if ($this->ion_auth->is_admin()) {
goto c4yET;
}
goto puUjZ;
XRohY:
if (!($mapel != null)) {
goto Spq3o;
}
goto XY45i;
VeReg:
wwXu0:
goto TFBdv;
sPJQO:
$this->load->view("_templates/dashboard/_header", $data);
goto knHhV;
U101N:
$data["kelas"] = count($arrId) > 0 ? $this->dropdown->getAllKelasByArrayId($tp->id_tp, $smt->id_smt, $arrId) : [];
goto xoGYd;
pzxkU:
$tp = $this->master->getTahunActive();
goto R0rFV;
iGEen:
$data["profile"] = $this->dashboard->getProfileAdmin($user->id);
goto Lwk_Q;
Sr2Yo:
b7cmz:
goto CvXQE;
LBLFq:
aEYEG:
goto Fh6FO;
puUjZ:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto liwto;
KnCLw:
$mapel = json_decode(json_encode(unserialize($mapel_guru->mapel_kelas)));
goto XdBbJ;
Fh6FO:
}
public function loadAbsensiMapel()
{
goto Zwk81;
tbnl7:
$log = [];
goto wpLdg;
X4GZr:
$i = 0;
goto bBzQs;
Rk8KI:
$id_tp = $this->master->getTahunActive()->id_tp;
goto MZpoA;
zaJLc:
$jadwal->istirahat = unserialize($jadwal->istirahat);
goto DuzYn;
gdCx6:
foreach ($infos as $info) {
goto HlSie;
ZrdTW:
foreach ($dates as $date) {
goto uWAYg;
wVEHN:
AzwwH:
goto StOoo;
uWAYg:
$d = explode("-", $date);
goto lv1hG;
lv1hG:
$mapel_bulan_ini[$d[2]][$info->jam_ke] = $date;
goto wVEHN;
StOoo:
}
goto d9hVJ;
HlSie:
$dates = $this->total_hari($info->id_hari, $bulan, $tahun);
goto ZrdTW;
KuCAQ:
QZnAN:
goto oJKCP;
d9hVJ:
tFE8z:
goto KuCAQ;
oJKCP:
}
goto Nggve;
OiBy2:
goto D8VWA;
goto jXsv5;
dk27S:
$t = $i + 1 < 10 ? "0" . ($i + 1) : $i + 1;
goto ySAqf;
Zwk81:
$id_kelas = $this->input->post("kelas", true);
goto OhxQY;
DuzYn:
$tgl = cal_days_in_month(CAL_GREGORIAN, $bulan, $tahun);
goto OrM7v;
bBzQs:
D8VWA:
goto r7pCH;
F_RKA:
foreach ($siswa as $s) {
goto dCucv;
N3jYp:
if (!($i < $tgl)) {
goto ZkR0M;
}
goto b0uOW;
GlGDW:
$arrMateri[1][] = $materi_perbulan != null && isset($materi_perbulan[$s->id_siswa]) && isset($materi_perbulan[$s->id_siswa][1]) && isset($materi_perbulan[$s->id_siswa][1][$tahun . "-" . $b . "-" . $t]) ? $materi_perbulan[$s->id_siswa][1][$tahun . "-" . $b . "-" . $t] : null;
goto rGJmz;
b0uOW:
$t = $i + 1 < 10 ? "0" . ($i + 1) : $i + 1;
goto MWQL8;
QuKZw:
$i = 0;
goto Lwsk3;
dCucv:
$arrMateri = [];
goto QuKZw;
FhnDJ:
$i++;
goto B8ITD;
imZTZ:
ZkR0M:
goto rHRLQ;
MWQL8:
$b = $bulan < 10 ? "0" . $bulan : $bulan;
goto GlGDW;
Lwsk3:
QixA2:
goto N3jYp;
B8ITD:
goto QixA2;
goto imZTZ;
GcYsQ:
p8x6Y:
goto UO3sz;
s5XuM:
bw3eY:
goto FhnDJ;
rHRLQ:
$log[$s->id_siswa] = ["nama" => $s->nama, "nis" => $s->nis, "kelas" => $s->nama_kelas, "materi" => $arrMateri[1], "tugas" => $arrMateri[2]];
goto GcYsQ;
rGJmz:
$arrMateri[2][] = $materi_perbulan != null && isset($materi_perbulan[$s->id_siswa]) && isset($materi_perbulan[$s->id_siswa][2]) && isset($materi_perbulan[$s->id_siswa][2][$tahun . "-" . $b . "-" . $t]) ? $materi_perbulan[$s->id_siswa][2][$tahun . "-" . $b . "-" . $t] : null;
goto s5XuM;
UO3sz:
}
goto zaCAN;
LAjPL:
$bulan = $this->input->post("bln", true);
goto Rk8KI;
DVxe3:
DI4D7:
goto hls5D;
euQFg:
$i++;
goto OiBy2;
gCcQe:
if ($jadwal != null) {
goto uT_uj;
}
goto cqMhF;
WNEvB:
$infos = $this->kelas->getJadwalMapelByMapel($id_kelas, $id_mapel, $id_tp, $id_smt);
goto gdCx6;
OrM7v:
$jadwal_materi = [];
goto X4GZr;
K4W9B:
$this->output_json(["log" => $log, "jadwal" => $jadwal, "materi" => $jadwal_materi, "mapels" => $mapel_bulan_ini]);
goto DVxe3;
rxjGw:
$materi_perbulan = $this->kelas->getRekapBulananSiswa($id_mapel, $id_kelas, $tahun, $bulan);
goto tbnl7;
wpLdg:
$siswa = $this->kelas->getKelasSiswa($id_kelas, $id_tp, $id_smt);
goto F_RKA;
ySAqf:
$b = $bulan < 10 ? "0" . $bulan : $bulan;
goto a7GhI;
a0_5k:
$tahun = $this->input->post("thn", true);
goto LAjPL;
nYMMS:
$mapel_bulan_ini = [];
goto WNEvB;
OhxQY:
$id_mapel = $this->input->post("mapel", true);
goto a0_5k;
crkgB:
uT_uj:
goto zaJLc;
kczHA:
$jadwal = $this->dashboard->getJadwalKbm($id_tp, $id_smt, $id_kelas);
goto gCcQe;
uxXUu:
Q5Wei:
goto euQFg;
cqMhF:
$this->output_json(["jadwal" => $jadwal]);
goto qXaWU;
MZpoA:
$id_smt = $this->master->getSemesterActive()->id_smt;
goto kczHA;
r7pCH:
if (!($i < $tgl)) {
goto Z2nGc;
}
goto dk27S;
jXsv5:
Z2nGc:
goto rxjGw;
a7GhI:
$jadwal_materi[$t] = (array) $this->kelas->getAllMateriByTgl($id_kelas, $tahun . "-" . $b . "-" . $t, [$id_mapel]);
goto uxXUu;
qXaWU:
goto DI4D7;
goto crkgB;
zaCAN:
Wd6bd:
goto nYMMS;
Nggve:
kVWMJ:
goto K4W9B;
hls5D:
}
function total_hari($id_day, $bulan, $taun)
{
goto IIwCM;
S7r7T:
$i++;
goto mHQjs;
tSII7:
Q0ooO:
goto mcBuB;
H1dmY:
$i = 1;
goto Dqjmc;
Mip1K:
return $dates;
goto gMVGk;
IIwCM:
$days = 0;
goto QCrzo;
XC7IL:
$total_days = cal_days_in_month(CAL_GREGORIAN, $bulan, $taun);
goto fskKc;
zAa2F:
array_push($dates, date("Y-m-d", strtotime($taun . "-" . $bulan . "-" . $i)));
goto tSII7;
UTj3v:
if (!($i < $total_days)) {
goto ApPma;
}
goto asy82;
dLHz6:
ApPma:
goto Mip1K;
mcBuB:
vA36s:
goto S7r7T;
Dqjmc:
BMBNn:
goto UTj3v;
fskKc:
$idday = $id_day == "7" ? 0 : $id_day;
goto H1dmY;
asy82:
if (!(date("N", strtotime($taun . "-" . $bulan . "-" . $i)) == $idday)) {
goto Q0ooO;
}
goto WwLn1;
mHQjs:
goto BMBNn;
goto dLHz6;
QCrzo:
$dates = [];
goto XC7IL;
WwLn1:
$days++;
goto zAa2F;
gMVGk:
}
}
?>
Did this file decode correctly?
Original Code
<?php
/* ________________________________________
| GarudaCBT |
| https://github.com/garudacbt/cbt |
|________________________________________|
*/
class Kelasabsensibulanan extends CI_Controller
{
public function __construct()
{
goto W0zYO;
CbFRy:
goto ir1fc;
goto mz7qr;
o1x5t:
$this->load->library(["\144\141\x74\141\164\x61\x62\154\x65\x73", "\146\157\162\x6d\x5f\166\141\x6c\x69\x64\x61\x74\x69\157\x6e"]);
goto OLYSH;
es1PH:
N_Bc4:
goto CbFRy;
Taw2Y:
$this->load->model("\104\x61\163\150\142\x6f\141\x72\144\x5f\x6d\157\144\145\x6c", "\144\141\x73\150\x62\157\141\x72\144");
goto fVmxE;
O4JmD:
ir1fc:
goto o1x5t;
W0zYO:
parent::__construct();
goto lv5Cl;
SnTyc:
redirect("\x61\165\164\150");
goto O4JmD;
lv5Cl:
if (!$this->ion_auth->logged_in()) {
goto GWtcb;
}
goto iC7gb;
iC7gb:
if (!(!$this->ion_auth->is_admin() && !$this->ion_auth->in_group("\147\x75\162\x75"))) {
goto N_Bc4;
}
goto XReOO;
H0VMP:
$this->load->model("\113\145\x6c\x61\x73\137\x6d\x6f\144\145\154", "\x6b\x65\x6c\141\163");
goto v78Es;
OLYSH:
$this->load->model("\x4d\141\163\164\x65\162\137\155\x6f\144\x65\154", "\155\x61\163\x74\145\162");
goto Taw2Y;
v78Es:
$this->form_validation->set_error_delimiters('', '');
goto UmfzT;
XReOO:
show_error("\110\x61\x6e\171\x61\x20\x41\x64\155\151\156\151\x73\x74\x72\x61\x74\x6f\x72\x20\x79\141\x6e\147\x20\144\x69\x62\145\162\x69\x20\150\141\153\40\x75\156\x74\x75\x6b\40\x6d\145\156\147\x61\x6b\163\145\163\x20\150\x61\154\x61\155\141\156\40\x69\x6e\x69\x2c\x20\x3c\x61\40\x68\x72\x65\146\75\x22" . base_url("\144\x61\x73\150\142\x6f\141\162\144") . "\x22\x3e\113\x65\x6d\142\x61\x6c\x69\x20\x6b\x65\40\x6d\x65\156\x75\x20\x61\x77\141\x6c\74\x2f\x61\x3e", 403, "\101\x6b\x73\145\x73\x20\x44\x69\x62\x61\x74\x61\x73\x69");
goto es1PH;
mz7qr:
GWtcb:
goto SnTyc;
fVmxE:
$this->load->model("\x44\162\x6f\160\x64\157\x77\x6e\137\x6d\x6f\144\145\x6c", "\x64\162\157\160\144\157\x77\x6e");
goto H0VMP;
UmfzT:
}
public function output_json($data, $encode = true)
{
goto OrJo1;
AorgZ:
$this->output->set_content_type("\x61\x70\160\x6c\x69\143\x61\x74\x69\x6f\156\x2f\152\x73\x6f\156")->set_output($data);
goto OcKV6;
OrJo1:
if (!$encode) {
goto ci42U;
}
goto moH8d;
NZ1ip:
ci42U:
goto AorgZ;
moH8d:
$data = json_encode($data);
goto NZ1ip;
OcKV6:
}
public function index()
{
goto oKiXO;
OhakW:
c4yET:
goto iGEen;
CvXQE:
Spq3o:
goto Roexp;
RLb8S:
$data = ["\x75\x73\145\162" => $user, "\152\x75\144\165\x6c" => "\104\141\146\x74\x61\162\40\x48\141\144\151\x72\x20\102\165\x6c\x61\156\x61\x6e", "\x73\x75\x62\x6a\x75\x64\x75\154" => "\x44\141\146\164\x61\x72\x20\x48\x61\x64\151\x72\x20\x42\x75\x6c\141\x6e\141\156\x20\123\x69\163\x77\141", "\163\145\x74\164\x69\x6e\147" => $this->dashboard->getSetting()];
goto pzxkU;
FUkj8:
$data["\x6d\x61\x70\145\x6c"] = $this->dropdown->getAllMapel();
goto sPJQO;
t0fMM:
$arrKelas = [];
goto yWJKD;
oKiXO:
$user = $this->ion_auth->user()->row();
goto RLb8S;
R0rFV:
$smt = $this->master->getSemesterActive();
goto hDVto;
xoGYd:
$this->load->view("\155\x65\x6d\142\x65\162\x73\x2f\147\x75\x72\x75\x2f\164\x65\x6d\x70\x6c\x61\x74\145\163\57\x68\x65\x61\x64\x65\162", $data);
goto FmZuq;
NRIyo:
$data["\142\165\154\x61\x6e"] = $this->dropdown->getBulan();
goto E3phd;
Roexp:
$data["\155\x61\160\145\154"] = $arrMapel;
goto ZcTHk;
Lwk_Q:
$data["\153\x65\154\x61\x73"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt);
goto mHGMx;
XxI3s:
$data["\x69\144\x5f\x67\x75\162\x75"] = $guru->id_guru;
goto Momnj;
knHhV:
$this->load->view("\153\x65\154\x61\x73\57\x61\x62\x73\145\156\142\165\x6c\141\x6e\x61\156\57\144\141\x74\141");
goto RzzwY;
QHWhX:
$this->load->view("\155\145\x6d\x62\x65\162\x73\57\147\165\x72\165\x2f\x74\145\x6d\160\x6c\141\x74\145\x73\57\x66\157\x6f\164\145\162");
goto lpLiC;
liwto:
$nguru[$guru->id_guru] = $guru->nama_guru;
goto KOHgm;
KOHgm:
$data["\147\x75\162\x75"] = $guru;
goto XxI3s;
RzzwY:
$this->load->view("\x5f\164\145\155\x70\154\x61\x74\x65\x73\x2f\x64\x61\163\150\x62\157\141\162\x64\x2f\137\146\157\x6f\164\145\x72");
goto LBLFq;
JWKbO:
$data["\x73\155\164"] = $this->dashboard->getSemester();
goto qn0EC;
FmZuq:
$this->load->view("\x6b\x65\x6c\x61\163\57\x61\142\163\x65\x6e\142\165\154\141\156\x61\x6e\57\x64\141\164\x61");
goto QHWhX;
mHGMx:
$data["\x67\165\x72\165"] = $this->dropdown->getAllGuru();
goto FUkj8;
yWJKD:
if (!($mapel != null)) {
goto mSph9;
}
goto I6Nfp;
XY45i:
foreach ($mapel[0]->kelas_mapel as $id_mapel) {
array_push($arrId, $id_mapel->kelas);
ry3rh:
}
goto Sr2Yo;
qn0EC:
$data["\163\x6d\x74\137\141\143\x74\x69\166\x65"] = $smt;
goto NRIyo;
Momnj:
$mapel_guru = $this->kelas->getGuruMapelKelas($guru->id_guru, $tp->id_tp, $smt->id_smt);
goto KnCLw;
lpLiC:
goto aEYEG;
goto OhakW;
hDVto:
$data["\x74\160"] = $this->dashboard->getTahun();
goto GJ1EB;
XdBbJ:
$arrMapel = [];
goto t0fMM;
GJ1EB:
$data["\x74\160\x5f\x61\x63\164\x69\166\x65"] = $tp;
goto JWKbO;
ZcTHk:
$data["\141\x72\162\153\x65\x6c\x61\x73"] = $arrKelas;
goto U101N;
I6Nfp:
foreach ($mapel as $m) {
goto DOBvU;
b96wO:
BBSTo:
goto wdD5L;
DOBvU:
$arrMapel[$m->id_mapel] = $m->nama_mapel;
goto A_REE;
A_REE:
foreach ($m->kelas_mapel as $kls) {
$arrKelas[$m->id_mapel][] = ["\x69\144\x5f\x6b\145\154\x61\163" => $kls->kelas, "\156\x61\x6d\x61\x5f\x6b\x65\x6c\x61\x73" => $this->dropdown->getNamaKelasById($tp->id_tp, $smt->id_smt, $kls->kelas)];
Ac3bQ:
}
goto y9doH;
y9doH:
b1SMk:
goto b96wO;
wdD5L:
}
goto VeReg;
TFBdv:
mSph9:
goto Jovxr;
Jovxr:
$arrId = [];
goto XRohY;
E3phd:
if ($this->ion_auth->is_admin()) {
goto c4yET;
}
goto puUjZ;
XRohY:
if (!($mapel != null)) {
goto Spq3o;
}
goto XY45i;
VeReg:
wwXu0:
goto TFBdv;
sPJQO:
$this->load->view("\137\x74\145\155\160\154\141\164\145\x73\x2f\144\141\x73\150\142\157\x61\162\144\57\137\x68\145\x61\144\145\x72", $data);
goto knHhV;
U101N:
$data["\153\145\154\x61\163"] = count($arrId) > 0 ? $this->dropdown->getAllKelasByArrayId($tp->id_tp, $smt->id_smt, $arrId) : [];
goto xoGYd;
pzxkU:
$tp = $this->master->getTahunActive();
goto R0rFV;
iGEen:
$data["\x70\x72\x6f\x66\x69\x6c\x65"] = $this->dashboard->getProfileAdmin($user->id);
goto Lwk_Q;
Sr2Yo:
b7cmz:
goto CvXQE;
LBLFq:
aEYEG:
goto Fh6FO;
puUjZ:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto liwto;
KnCLw:
$mapel = json_decode(json_encode(unserialize($mapel_guru->mapel_kelas)));
goto XdBbJ;
Fh6FO:
}
public function loadAbsensiMapel()
{
goto Zwk81;
tbnl7:
$log = [];
goto wpLdg;
X4GZr:
$i = 0;
goto bBzQs;
Rk8KI:
$id_tp = $this->master->getTahunActive()->id_tp;
goto MZpoA;
zaJLc:
$jadwal->istirahat = unserialize($jadwal->istirahat);
goto DuzYn;
gdCx6:
foreach ($infos as $info) {
goto HlSie;
ZrdTW:
foreach ($dates as $date) {
goto uWAYg;
wVEHN:
AzwwH:
goto StOoo;
uWAYg:
$d = explode("\55", $date);
goto lv1hG;
lv1hG:
$mapel_bulan_ini[$d[2]][$info->jam_ke] = $date;
goto wVEHN;
StOoo:
}
goto d9hVJ;
HlSie:
$dates = $this->total_hari($info->id_hari, $bulan, $tahun);
goto ZrdTW;
KuCAQ:
QZnAN:
goto oJKCP;
d9hVJ:
tFE8z:
goto KuCAQ;
oJKCP:
}
goto Nggve;
OiBy2:
goto D8VWA;
goto jXsv5;
dk27S:
$t = $i + 1 < 10 ? "\x30" . ($i + 1) : $i + 1;
goto ySAqf;
Zwk81:
$id_kelas = $this->input->post("\153\x65\154\x61\163", true);
goto OhxQY;
DuzYn:
$tgl = cal_days_in_month(CAL_GREGORIAN, $bulan, $tahun);
goto OrM7v;
bBzQs:
D8VWA:
goto r7pCH;
F_RKA:
foreach ($siswa as $s) {
goto dCucv;
N3jYp:
if (!($i < $tgl)) {
goto ZkR0M;
}
goto b0uOW;
GlGDW:
$arrMateri[1][] = $materi_perbulan != null && isset($materi_perbulan[$s->id_siswa]) && isset($materi_perbulan[$s->id_siswa][1]) && isset($materi_perbulan[$s->id_siswa][1][$tahun . "\55" . $b . "\x2d" . $t]) ? $materi_perbulan[$s->id_siswa][1][$tahun . "\x2d" . $b . "\55" . $t] : null;
goto rGJmz;
b0uOW:
$t = $i + 1 < 10 ? "\60" . ($i + 1) : $i + 1;
goto MWQL8;
QuKZw:
$i = 0;
goto Lwsk3;
dCucv:
$arrMateri = [];
goto QuKZw;
FhnDJ:
$i++;
goto B8ITD;
imZTZ:
ZkR0M:
goto rHRLQ;
MWQL8:
$b = $bulan < 10 ? "\x30" . $bulan : $bulan;
goto GlGDW;
Lwsk3:
QixA2:
goto N3jYp;
B8ITD:
goto QixA2;
goto imZTZ;
GcYsQ:
p8x6Y:
goto UO3sz;
s5XuM:
bw3eY:
goto FhnDJ;
rHRLQ:
$log[$s->id_siswa] = ["\156\141\155\141" => $s->nama, "\156\x69\x73" => $s->nis, "\x6b\145\154\x61\163" => $s->nama_kelas, "\x6d\x61\164\145\x72\151" => $arrMateri[1], "\164\165\x67\x61\163" => $arrMateri[2]];
goto GcYsQ;
rGJmz:
$arrMateri[2][] = $materi_perbulan != null && isset($materi_perbulan[$s->id_siswa]) && isset($materi_perbulan[$s->id_siswa][2]) && isset($materi_perbulan[$s->id_siswa][2][$tahun . "\x2d" . $b . "\55" . $t]) ? $materi_perbulan[$s->id_siswa][2][$tahun . "\55" . $b . "\x2d" . $t] : null;
goto s5XuM;
UO3sz:
}
goto zaCAN;
LAjPL:
$bulan = $this->input->post("\142\154\x6e", true);
goto Rk8KI;
DVxe3:
DI4D7:
goto hls5D;
euQFg:
$i++;
goto OiBy2;
gCcQe:
if ($jadwal != null) {
goto uT_uj;
}
goto cqMhF;
WNEvB:
$infos = $this->kelas->getJadwalMapelByMapel($id_kelas, $id_mapel, $id_tp, $id_smt);
goto gdCx6;
OrM7v:
$jadwal_materi = [];
goto X4GZr;
K4W9B:
$this->output_json(["\x6c\157\x67" => $log, "\x6a\141\144\x77\x61\154" => $jadwal, "\155\x61\164\145\x72\151" => $jadwal_materi, "\155\141\160\145\154\163" => $mapel_bulan_ini]);
goto DVxe3;
rxjGw:
$materi_perbulan = $this->kelas->getRekapBulananSiswa($id_mapel, $id_kelas, $tahun, $bulan);
goto tbnl7;
wpLdg:
$siswa = $this->kelas->getKelasSiswa($id_kelas, $id_tp, $id_smt);
goto F_RKA;
ySAqf:
$b = $bulan < 10 ? "\60" . $bulan : $bulan;
goto a7GhI;
a0_5k:
$tahun = $this->input->post("\x74\150\x6e", true);
goto LAjPL;
nYMMS:
$mapel_bulan_ini = [];
goto WNEvB;
OhxQY:
$id_mapel = $this->input->post("\x6d\x61\x70\x65\x6c", true);
goto a0_5k;
crkgB:
uT_uj:
goto zaJLc;
kczHA:
$jadwal = $this->dashboard->getJadwalKbm($id_tp, $id_smt, $id_kelas);
goto gCcQe;
uxXUu:
Q5Wei:
goto euQFg;
cqMhF:
$this->output_json(["\152\141\144\167\141\x6c" => $jadwal]);
goto qXaWU;
MZpoA:
$id_smt = $this->master->getSemesterActive()->id_smt;
goto kczHA;
r7pCH:
if (!($i < $tgl)) {
goto Z2nGc;
}
goto dk27S;
jXsv5:
Z2nGc:
goto rxjGw;
a7GhI:
$jadwal_materi[$t] = (array) $this->kelas->getAllMateriByTgl($id_kelas, $tahun . "\55" . $b . "\55" . $t, [$id_mapel]);
goto uxXUu;
qXaWU:
goto DI4D7;
goto crkgB;
zaCAN:
Wd6bd:
goto nYMMS;
Nggve:
kVWMJ:
goto K4W9B;
hls5D:
}
function total_hari($id_day, $bulan, $taun)
{
goto IIwCM;
S7r7T:
$i++;
goto mHQjs;
tSII7:
Q0ooO:
goto mcBuB;
H1dmY:
$i = 1;
goto Dqjmc;
Mip1K:
return $dates;
goto gMVGk;
IIwCM:
$days = 0;
goto QCrzo;
XC7IL:
$total_days = cal_days_in_month(CAL_GREGORIAN, $bulan, $taun);
goto fskKc;
zAa2F:
array_push($dates, date("\x59\55\x6d\x2d\144", strtotime($taun . "\55" . $bulan . "\x2d" . $i)));
goto tSII7;
UTj3v:
if (!($i < $total_days)) {
goto ApPma;
}
goto asy82;
dLHz6:
ApPma:
goto Mip1K;
mcBuB:
vA36s:
goto S7r7T;
Dqjmc:
BMBNn:
goto UTj3v;
fskKc:
$idday = $id_day == "\67" ? 0 : $id_day;
goto H1dmY;
asy82:
if (!(date("\116", strtotime($taun . "\x2d" . $bulan . "\55" . $i)) == $idday)) {
goto Q0ooO;
}
goto WwLn1;
mHQjs:
goto BMBNn;
goto dLHz6;
QCrzo:
$dates = [];
goto XC7IL;
WwLn1:
$days++;
goto zAa2F;
gMVGk:
}
}
Function Calls
None |
Stats
MD5 | db7b60cb5740f211aeffe55c4809f5a9 |
Eval Count | 0 |
Decode Time | 75 ms |