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

Signing you up...

Thank you for signing up!

PHP Decode

private function getTugasMateri($jenis) { goto CPWYR; CoM7l: $data["\163\x6d\164"..

Decoded Output download

<?   
 private function getTugasMateri($jenis) {  
    goto CPWYR; CoM7l: $data["smt"] = $this->dashboard->getSemester(); goto CUspn; n_HDM: $smt = $this->dashboard->getSemesterActive(); goto wK5kI; lXtl9: $data["materis"] = $materis; goto GtOpK; h3OI7: $data["kelas"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto PWvJL; SXRwx: $data["week"] = $last_week; goto asSoZ; FXBvf: $data["level"] = $this->dropdown->getAllLevel($setting->jenjang); goto h3OI7; bbXbl: $data["tp"] = $this->dashboard->getTahun(); goto JffLj; pM0FA: $data["jurusan"] = $this->dropdown->getAllJurusan(); goto FXBvf; y6Tu3: $jenis == null ? "1" : "2"; goto PTkqq; qwUzW: FDiYo: goto SXRwx; HAi3m: $setting = $this->dashboard->getSetting(); goto UUf0p; YDVRk: $this->load->model("Dropdown_model", "dropdown"); goto S4Hce; nmlmf: $jadwal_seminggu = $this->kelas->loadJadwalSiswaSeminggu($tp->id_tp, $smt->id_smt, $siswa->id_kelas); goto tc5Oq; PTkqq: $today = date("Y-m-d"); goto nmlmf; CPWYR: $this->load->model("Dashboard_model", "dashboard"); goto YDVRk; UUf0p: $data = ["user" => $user, "siswa" => $siswa, "judul" => $jenis == "1" ? "Materi" : "Tugas", "subjudul" => $jenis == "1" ? "materi" : "tugas", "setting" => $setting]; goto y6Tu3; JffLj: $data["tp_active"] = $tp; goto CoM7l; S4Hce: $this->load->model("Kelas_model", "kelas"); goto URreZ; asSoZ: $data["jadwals"] = $jadwal_seminggu; goto lXtl9; CUspn: $data["smt_active"] = $smt; goto pM0FA; rZHNM: $this->load->view("members/siswa/materi/data"); goto HL3QI; gTQAP: $mapels = $this->dropdown->getAllMapel(); goto bNb4c; PWvJL: $data["running_text"] = $this->dashboard->getRunningText(); goto T2pYL; tc5Oq: $materi_seminggu = $this->kelas->getMateriSiswaSeminggu($tp->id_tp, $smt->id_smt, $siswa->id_kelas, $jenis); goto gTQAP; wK5kI: $user = $this->ion_auth->user()->row(); goto Geu6K; URreZ: $this->load->model("Cbt_model", "cbt"); goto iwveL; iOIuH: foreach ($last_week as $day) { goto ili_d; K8yxf: $materis[$day] = []; goto gMpRg; gMpRg: if (!isset($jadwal_seminggu[$idhari])) { goto ec1Yf; } goto TVY4o; KxVnM: ec1Yf: goto q1zkj; SQhBa: if (!(count($arrIdKjms) > 0)) { goto Qy_uu; } goto WE9eT; ili_d: $idhari = date("N", strtotime($day)); goto K8yxf; p2sc_: foreach ($materis[$day] as $mtr) { goto khUhe; H9hzX: rObFf: goto Eo9Qr; Eo9Qr: CvMXB: goto dsmiV; OXDfx: array_push($arrIdKjms, $mtr->id_kjm); goto H9hzX; khUhe: if (!isset($mtr->id_kjm)) { goto rObFf; } goto OXDfx; dsmiV: } goto SsASc; TVY4o: foreach ($jadwal_seminggu[$idhari] as $kjam => $val) { goto R3qfR; OdjrF: $materis[$day][$kjam] = isset($materi_seminggu[$day]) && isset($materi_seminggu[$day][$kjam]) ? $materi_seminggu[$day][$kjam] : $dummy; goto oB1dW; sO1n0: $dummy->id_mapel = $val->id_mapel; goto Vn4_r; SiJcj: $dummy->nama_mapel = isset($mapels[$val->id_mapel]) ? $mapels[$val->id_mapel] : ''; goto OdjrF; R3qfR: $dummy = new stdClass(); goto sO1n0; oB1dW: s26Cu: goto Fcy2M; Vn4_r: $dummy->id_jadwal = $val->id_jadwal; goto SiJcj; Fcy2M: } goto Kwk6Y; SsASc: iwwWD: goto xhSFr; Kwk6Y: E6RfR: goto BL439; FqHva: $logs[$day] = $log; goto KxVnM; BL439: $arrIdKjms = []; goto p2sc_; xhSFr: $log = []; goto SQhBa; q1zkj: TiMIk: goto jZwQi; WE9eT: $log = $this->kelas->getStatusMateriSiswaByJadwal($siswa->id_siswa, $arrIdKjms); goto E_xX5; E_xX5: Qy_uu: goto FqHva; jZwQi: } goto qwUzW; ue2OD: $materis = []; goto ddf0b; GtOpK: $data["logs"] = $logs; goto cTweS; Geu6K: $siswa = $this->cbt->getDataSiswa($user->username, $tp->id_tp, $smt->id_smt); goto HAi3m; HL3QI: $this->load->view("members/siswa/templates/footer"); goto wBZSi; iwveL: $tp = $this->dashboard->getTahunActive(); goto n_HDM; ddf0b: $logs = []; goto iOIuH; bNb4c: $last_week = [date("Y-m-d", strtotime("-7 days")), date("Y-m-d", strtotime("-6 days")), date("Y-m-d", strtotime("-5 days")), date("Y-m-d", strtotime("-4 days")), date("Y-m-d", strtotime("-3 days")), date("Y-m-d", strtotime("-2 days")), date("Y-m-d", strtotime("-1 days")), date("Y-m-d")]; goto ue2OD; T2pYL: $this->load->view("members/siswa/templates/header", $data); goto rZHNM; Hm3TF: $data["kbm"] = $this->kelas->getJadwalKbm($tp->id_tp, $smt->id_smt, $siswa->id_kelas); goto bbXbl; cTweS: $data["jenis"] = $jenis; goto Hm3TF; wBZSi: }  ?>

Did this file decode correctly?

Original Code


 private function getTugasMateri($jenis) { 
    goto CPWYR; CoM7l: $data["\163\x6d\164"] = $this->dashboard->getSemester(); goto CUspn; n_HDM: $smt = $this->dashboard->getSemesterActive(); goto wK5kI; lXtl9: $data["\155\x61\164\145\x72\151\163"] = $materis; goto GtOpK; h3OI7: $data["\x6b\145\x6c\x61\163"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto PWvJL; SXRwx: $data["\167\145\x65\153"] = $last_week; goto asSoZ; FXBvf: $data["\x6c\x65\166\145\x6c"] = $this->dropdown->getAllLevel($setting->jenjang); goto h3OI7; bbXbl: $data["\x74\x70"] = $this->dashboard->getTahun(); goto JffLj; pM0FA: $data["\152\165\x72\165\163\141\x6e"] = $this->dropdown->getAllJurusan(); goto FXBvf; y6Tu3: $jenis == null ? "\61" : "\62"; goto PTkqq; qwUzW: FDiYo: goto SXRwx; HAi3m: $setting = $this->dashboard->getSetting(); goto UUf0p; YDVRk: $this->load->model("\104\162\x6f\160\144\157\x77\x6e\137\155\x6f\144\x65\x6c", "\144\x72\157\160\144\x6f\x77\x6e"); goto S4Hce; nmlmf: $jadwal_seminggu = $this->kelas->loadJadwalSiswaSeminggu($tp->id_tp, $smt->id_smt, $siswa->id_kelas); goto tc5Oq; PTkqq: $today = date("\x59\x2d\x6d\55\144"); goto nmlmf; CPWYR: $this->load->model("\104\x61\x73\150\x62\x6f\x61\x72\144\x5f\155\157\x64\x65\x6c", "\144\141\163\x68\142\x6f\x61\162\x64"); goto YDVRk; UUf0p: $data = ["\x75\x73\x65\x72" => $user, "\163\151\x73\x77\x61" => $siswa, "\x6a\x75\144\165\154" => $jenis == "\61" ? "\115\x61\164\x65\162\151" : "\124\165\x67\141\163", "\163\x75\142\152\x75\x64\x75\154" => $jenis == "\61" ? "\x6d\x61\x74\x65\162\x69" : "\x74\x75\147\x61\163", "\x73\145\164\164\151\156\147" => $setting]; goto y6Tu3; JffLj: $data["\164\x70\137\x61\x63\164\x69\166\x65"] = $tp; goto CoM7l; S4Hce: $this->load->model("\x4b\x65\154\x61\x73\x5f\155\x6f\144\x65\x6c", "\x6b\145\x6c\141\x73"); goto URreZ; asSoZ: $data["\x6a\141\144\167\141\x6c\x73"] = $jadwal_seminggu; goto lXtl9; CUspn: $data["\x73\x6d\x74\x5f\x61\x63\164\x69\166\145"] = $smt; goto pM0FA; rZHNM: $this->load->view("\155\x65\155\142\145\162\x73\x2f\163\151\163\x77\141\57\x6d\x61\164\x65\x72\151\57\144\x61\x74\141"); goto HL3QI; gTQAP: $mapels = $this->dropdown->getAllMapel(); goto bNb4c; PWvJL: $data["\x72\165\x6e\x6e\151\156\x67\137\164\x65\170\164"] = $this->dashboard->getRunningText(); goto T2pYL; tc5Oq: $materi_seminggu = $this->kelas->getMateriSiswaSeminggu($tp->id_tp, $smt->id_smt, $siswa->id_kelas, $jenis); goto gTQAP; wK5kI: $user = $this->ion_auth->user()->row(); goto Geu6K; URreZ: $this->load->model("\103\x62\164\137\155\x6f\144\x65\x6c", "\143\142\164"); goto iwveL; iOIuH: foreach ($last_week as $day) { goto ili_d; K8yxf: $materis[$day] = []; goto gMpRg; gMpRg: if (!isset($jadwal_seminggu[$idhari])) { goto ec1Yf; } goto TVY4o; KxVnM: ec1Yf: goto q1zkj; SQhBa: if (!(count($arrIdKjms) > 0)) { goto Qy_uu; } goto WE9eT; ili_d: $idhari = date("\x4e", strtotime($day)); goto K8yxf; p2sc_: foreach ($materis[$day] as $mtr) { goto khUhe; H9hzX: rObFf: goto Eo9Qr; Eo9Qr: CvMXB: goto dsmiV; OXDfx: array_push($arrIdKjms, $mtr->id_kjm); goto H9hzX; khUhe: if (!isset($mtr->id_kjm)) { goto rObFf; } goto OXDfx; dsmiV: } goto SsASc; TVY4o: foreach ($jadwal_seminggu[$idhari] as $kjam => $val) { goto R3qfR; OdjrF: $materis[$day][$kjam] = isset($materi_seminggu[$day]) && isset($materi_seminggu[$day][$kjam]) ? $materi_seminggu[$day][$kjam] : $dummy; goto oB1dW; sO1n0: $dummy->id_mapel = $val->id_mapel; goto Vn4_r; SiJcj: $dummy->nama_mapel = isset($mapels[$val->id_mapel]) ? $mapels[$val->id_mapel] : ''; goto OdjrF; R3qfR: $dummy = new stdClass(); goto sO1n0; oB1dW: s26Cu: goto Fcy2M; Vn4_r: $dummy->id_jadwal = $val->id_jadwal; goto SiJcj; Fcy2M: } goto Kwk6Y; SsASc: iwwWD: goto xhSFr; Kwk6Y: E6RfR: goto BL439; FqHva: $logs[$day] = $log; goto KxVnM; BL439: $arrIdKjms = []; goto p2sc_; xhSFr: $log = []; goto SQhBa; q1zkj: TiMIk: goto jZwQi; WE9eT: $log = $this->kelas->getStatusMateriSiswaByJadwal($siswa->id_siswa, $arrIdKjms); goto E_xX5; E_xX5: Qy_uu: goto FqHva; jZwQi: } goto qwUzW; ue2OD: $materis = []; goto ddf0b; GtOpK: $data["\x6c\157\x67\x73"] = $logs; goto cTweS; Geu6K: $siswa = $this->cbt->getDataSiswa($user->username, $tp->id_tp, $smt->id_smt); goto HAi3m; HL3QI: $this->load->view("\x6d\x65\155\142\x65\162\163\x2f\163\x69\x73\x77\x61\57\164\145\155\x70\x6c\141\x74\x65\x73\x2f\x66\x6f\x6f\164\x65\x72"); goto wBZSi; iwveL: $tp = $this->dashboard->getTahunActive(); goto n_HDM; ddf0b: $logs = []; goto iOIuH; bNb4c: $last_week = [date("\131\x2d\155\55\144", strtotime("\55\x37\40\x64\141\x79\163")), date("\131\55\155\x2d\x64", strtotime("\x2d\66\40\144\x61\171\x73")), date("\x59\x2d\155\x2d\x64", strtotime("\55\x35\x20\144\141\171\x73")), date("\131\55\x6d\x2d\144", strtotime("\x2d\64\40\x64\141\171\163")), date("\131\x2d\155\x2d\x64", strtotime("\55\63\40\144\141\171\x73")), date("\x59\55\155\55\144", strtotime("\x2d\62\40\x64\141\171\163")), date("\131\x2d\155\x2d\x64", strtotime("\55\61\40\144\x61\171\x73")), date("\131\55\x6d\x2d\144")]; goto ue2OD; T2pYL: $this->load->view("\x6d\145\155\142\145\x72\163\57\163\151\163\167\141\57\164\x65\155\x70\154\x61\164\x65\163\x2f\150\x65\x61\144\x65\x72", $data); goto rZHNM; Hm3TF: $data["\153\x62\155"] = $this->kelas->getJadwalKbm($tp->id_tp, $smt->id_smt, $siswa->id_kelas); goto bbXbl; cTweS: $data["\152\145\156\x69\x73"] = $jenis; goto Hm3TF; wBZSi: } 

Function Calls

None

Variables

None

Stats

MD5 792db88cfe45e3d3e4b4fb081f018401
Eval Count 0
Decode Time 70 ms