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 class Cbtsesi extends CI_Controller { public function __construct() { goto o9K3M..

Decoded Output download

<?php 
 
 class Cbtsesi extends CI_Controller { public function __construct() { goto o9K3M; ETQMf: goto pFm9m; goto wQhoo; tmsnV: $this->load->model("Dashboard_model", "dashboard"); goto oIcs6; sXuqF: if ($this->ion_auth->is_admin()) { goto WGCYP; } goto X6dXO; xCn5O: $this->load->library(["datatables", "form_validation"]); goto WWKue; yg4Iv: pFm9m: goto xCn5O; X6dXO: 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 YGlRW; qcJ6l: redirect("auth"); goto yg4Iv; o9K3M: parent::__construct(); goto Gl8GI; WWKue: $this->load->model("Master_model", "master"); goto tmsnV; oIcs6: $this->load->model("Cbt_model", "cbt"); goto drELd; YGlRW: WGCYP: goto ETQMf; wQhoo: AgjtH: goto qcJ6l; Gl8GI: if (!$this->ion_auth->logged_in()) { goto AgjtH; } goto sXuqF; drELd: $this->form_validation->set_error_delimiters('', ''); goto Beot3; Beot3: } public function output_json($data, $encode = true) { goto yvEXt; BDU4e: $this->output->set_content_type("application/json")->set_output($data); goto jIIlF; zYXfT: Gep54: goto BDU4e; yvEXt: if (!$encode) { goto Gep54; } goto iQLEp; iQLEp: $data = json_encode($data); goto zYXfT; jIIlF: } public function index() { goto u2Tf0; ipfC1: $this->load->view("cbt/sesi/data"); goto L27Jw; QrDEN: $data["tp"] = $this->dashboard->getTahun(); goto bsP0Q; bsP0Q: $data["tp_active"] = $this->dashboard->getTahunActive(); goto CZS3n; n6lUE: $this->load->view("_templates/dashboard/_header", $data); goto ipfC1; u2Tf0: $user = $this->ion_auth->user()->row(); goto hZc5F; gAPzs: $data["smt_active"] = $this->dashboard->getSemesterActive(); goto n6lUE; L27Jw: $this->load->view("_templates/dashboard/_footer"); goto wFbLt; hZc5F: $data = ["user" => $user, "judul" => "Sesi Ujian", "subjudul" => "Data Sesi Ujian", "profile" => $this->dashboard->getProfileAdmin($user->id), "setting" => $this->dashboard->getSetting()]; goto QrDEN; CZS3n: $data["smt"] = $this->dashboard->getSemester(); goto gAPzs; wFbLt: } public function data() { $this->output_json($this->cbt->getSesi(), false); } public function add() { goto OOIoq; NbJ_o: $this->output_json($data); goto Hke4p; cNU2_: $data["status"] = $insert; goto NbJ_o; OOIoq: $insert = ["nama_sesi" => $this->input->post("nama_sesi", true), "kode_sesi" => $this->input->post("kode_sesi", true), "waktu_mulai" => $this->input->post("waktu_mulai", true), "waktu_akhir" => $this->input->post("waktu_akhir", true)]; goto n9yNI; n9yNI: $this->master->create("cbt_sesi", $insert, false); goto cNU2_; Hke4p: } public function update() { $data = $this->cbt->updateSesi(); $this->output->set_content_type("application/json")->set_output($data); } public function edit($id) { goto ttYUH; oLiOw: $data = ["user" => $this->ion_auth->user()->row(), "judul" => "Sesi Siswa", "subjudul" => "Atur Sesi Siswa", "sesi" => $this->cbt->getSesiById($id)]; goto PpR83; PpR83: $this->load->view("_templates/dashboard/_header", $data); goto KASG9; ttYUH: $tp = $this->dashboard->getTahunActive(); goto rU5kz; rU5kz: $smt = $this->dashboard->getSemesterActive(); goto CazXl; O5nu3: $data["tp_active"] = $tp; goto EWmHu; CazXl: $data["tp"] = $this->dashboard->getTahun(); goto O5nu3; QBztb: $data["smt_active"] = $smt; goto oLiOw; KASG9: $this->load->view("cbt/sesi/edit"); goto oGULm; EWmHu: $data["smt"] = $this->dashboard->getSemester(); goto QBztb; oGULm: $this->load->view("_templates/dashboard/_footer"); goto t1j07; t1j07: } public function delete() { goto iXyFx; iXyFx: $chk = $this->input->post("checked", true); goto c2cJG; zqmHJ: if (!$this->master->delete("cbt_sesi", $chk, "id_sesi")) { goto E2yPd; } goto F312f; icNA9: E2yPd: goto Wdawz; oBKfS: xbV1v: goto jw3Oq; no1ZP: k3pTU: goto nYXe4; Wdawz: goto k3pTU; goto oBKfS; c2cJG: if (!$chk) { goto xbV1v; } goto zqmHJ; F312f: $this->output_json(["status" => true, "total" => count($chk)]); goto icNA9; jw3Oq: $this->output_json(["status" => false]); goto no1ZP; nYXe4: } public function sesisiswa() { goto MW2tC; q4h12: $this->load->view("_templates/dashboard/_header", $data); goto Ntgh_; MW2tC: $data = ["user" => $this->ion_auth->user()->row(), "judul" => "Sesi Ujian", "subjudul" => "Data Sesi Ujian"]; goto t0G3G; t0G3G: $data["tp"] = $this->dashboard->getTahun(); goto H198H; H198H: $data["tp_active"] = $this->dashboard->getTahunActive(); goto h00fD; Ntgh_: $this->load->view("cbt/sesisiswa/data"); goto CIzIP; aMidj: $data["smt_active"] = $this->dashboard->getSemesterActive(); goto q4h12; h00fD: $data["smt"] = $this->dashboard->getSemester(); goto aMidj; CIzIP: $this->load->view("_templates/dashboard/_footer"); goto QlwQn; QlwQn: } } 
 ?>

Did this file decode correctly?

Original Code

<?php

 class Cbtsesi extends CI_Controller { public function __construct() { goto o9K3M; ETQMf: goto pFm9m; goto wQhoo; tmsnV: $this->load->model("\104\x61\163\x68\x62\157\141\162\x64\137\x6d\157\144\x65\x6c", "\x64\x61\x73\x68\142\157\x61\162\x64"); goto oIcs6; sXuqF: if ($this->ion_auth->is_admin()) { goto WGCYP; } goto X6dXO; xCn5O: $this->load->library(["\144\x61\164\141\164\x61\142\154\145\163", "\146\157\x72\155\137\166\x61\154\x69\144\141\164\x69\x6f\x6e"]); goto WWKue; yg4Iv: pFm9m: goto xCn5O; X6dXO: show_error("\x48\141\156\171\141\x20\101\144\x6d\x69\x6e\151\x73\164\162\141\164\x6f\162\x20\x79\x61\x6e\x67\40\144\x69\x62\x65\162\151\x20\x68\x61\x6b\40\165\156\164\x75\153\40\155\145\x6e\x67\x61\153\163\x65\x73\x20\x68\x61\154\141\155\141\156\40\x69\x6e\x69\54\40\74\141\40\x68\162\145\x66\x3d\x22" . base_url("\x64\141\x73\150\x62\x6f\x61\162\144") . "\42\76\x4b\x65\155\142\x61\154\151\40\153\x65\40\155\145\156\x75\x20\141\x77\x61\x6c\x3c\57\x61\x3e", 403, "\x41\x6b\x73\145\163\x20\x54\x65\162\x6c\x61\162\141\x6e\147"); goto YGlRW; qcJ6l: redirect("\x61\165\x74\150"); goto yg4Iv; o9K3M: parent::__construct(); goto Gl8GI; WWKue: $this->load->model("\115\x61\163\164\145\162\x5f\x6d\x6f\144\x65\154", "\155\141\163\x74\x65\162"); goto tmsnV; oIcs6: $this->load->model("\x43\142\x74\x5f\x6d\157\x64\x65\x6c", "\143\x62\x74"); goto drELd; YGlRW: WGCYP: goto ETQMf; wQhoo: AgjtH: goto qcJ6l; Gl8GI: if (!$this->ion_auth->logged_in()) { goto AgjtH; } goto sXuqF; drELd: $this->form_validation->set_error_delimiters('', ''); goto Beot3; Beot3: } public function output_json($data, $encode = true) { goto yvEXt; BDU4e: $this->output->set_content_type("\141\x70\160\x6c\151\x63\x61\x74\151\157\x6e\x2f\152\163\x6f\x6e")->set_output($data); goto jIIlF; zYXfT: Gep54: goto BDU4e; yvEXt: if (!$encode) { goto Gep54; } goto iQLEp; iQLEp: $data = json_encode($data); goto zYXfT; jIIlF: } public function index() { goto u2Tf0; ipfC1: $this->load->view("\x63\142\164\x2f\163\145\x73\151\x2f\x64\141\x74\141"); goto L27Jw; QrDEN: $data["\x74\x70"] = $this->dashboard->getTahun(); goto bsP0Q; bsP0Q: $data["\164\160\137\x61\143\x74\x69\x76\x65"] = $this->dashboard->getTahunActive(); goto CZS3n; n6lUE: $this->load->view("\x5f\164\x65\155\160\x6c\141\x74\145\163\57\144\141\163\x68\142\x6f\x61\162\x64\57\x5f\150\145\x61\x64\145\162", $data); goto ipfC1; u2Tf0: $user = $this->ion_auth->user()->row(); goto hZc5F; gAPzs: $data["\x73\155\x74\137\x61\143\x74\151\x76\x65"] = $this->dashboard->getSemesterActive(); goto n6lUE; L27Jw: $this->load->view("\x5f\x74\x65\155\x70\154\x61\164\145\163\57\x64\141\x73\x68\142\157\x61\x72\x64\x2f\x5f\x66\157\157\x74\x65\x72"); goto wFbLt; hZc5F: $data = ["\x75\163\x65\x72" => $user, "\x6a\165\x64\x75\154" => "\x53\145\x73\151\x20\125\x6a\151\x61\x6e", "\x73\165\x62\152\165\x64\x75\x6c" => "\x44\x61\164\x61\x20\123\x65\163\x69\x20\125\x6a\151\141\x6e", "\160\x72\x6f\x66\x69\154\x65" => $this->dashboard->getProfileAdmin($user->id), "\x73\145\x74\164\151\156\x67" => $this->dashboard->getSetting()]; goto QrDEN; CZS3n: $data["\x73\155\164"] = $this->dashboard->getSemester(); goto gAPzs; wFbLt: } public function data() { $this->output_json($this->cbt->getSesi(), false); } public function add() { goto OOIoq; NbJ_o: $this->output_json($data); goto Hke4p; cNU2_: $data["\x73\164\141\164\x75\163"] = $insert; goto NbJ_o; OOIoq: $insert = ["\156\x61\155\141\137\163\145\x73\151" => $this->input->post("\x6e\141\155\x61\137\163\x65\x73\151", true), "\153\x6f\x64\145\x5f\x73\145\163\x69" => $this->input->post("\x6b\157\x64\x65\x5f\x73\x65\163\151", true), "\x77\141\153\164\165\x5f\155\x75\x6c\141\x69" => $this->input->post("\167\x61\153\164\165\x5f\x6d\x75\154\x61\151", true), "\167\x61\153\164\x75\x5f\141\x6b\x68\x69\162" => $this->input->post("\x77\141\153\x74\165\137\x61\153\150\151\x72", true)]; goto n9yNI; n9yNI: $this->master->create("\143\x62\x74\137\163\x65\163\151", $insert, false); goto cNU2_; Hke4p: } public function update() { $data = $this->cbt->updateSesi(); $this->output->set_content_type("\141\x70\x70\x6c\151\x63\141\164\151\x6f\156\x2f\x6a\x73\x6f\x6e")->set_output($data); } public function edit($id) { goto ttYUH; oLiOw: $data = ["\165\x73\145\162" => $this->ion_auth->user()->row(), "\x6a\x75\x64\165\154" => "\x53\145\163\x69\x20\x53\151\163\x77\x61", "\x73\x75\x62\x6a\x75\x64\165\154" => "\101\x74\x75\x72\40\123\145\x73\x69\40\123\151\x73\167\141", "\x73\145\163\x69" => $this->cbt->getSesiById($id)]; goto PpR83; PpR83: $this->load->view("\137\164\145\x6d\160\154\x61\x74\x65\163\57\x64\141\x73\150\142\x6f\x61\162\144\x2f\x5f\150\x65\x61\x64\x65\x72", $data); goto KASG9; ttYUH: $tp = $this->dashboard->getTahunActive(); goto rU5kz; rU5kz: $smt = $this->dashboard->getSemesterActive(); goto CazXl; O5nu3: $data["\x74\x70\x5f\x61\x63\x74\x69\166\145"] = $tp; goto EWmHu; CazXl: $data["\x74\160"] = $this->dashboard->getTahun(); goto O5nu3; QBztb: $data["\x73\155\x74\x5f\x61\143\164\151\166\x65"] = $smt; goto oLiOw; KASG9: $this->load->view("\x63\142\164\x2f\x73\145\x73\x69\57\145\x64\x69\x74"); goto oGULm; EWmHu: $data["\163\x6d\164"] = $this->dashboard->getSemester(); goto QBztb; oGULm: $this->load->view("\x5f\x74\145\x6d\x70\154\141\x74\x65\163\x2f\144\x61\x73\x68\x62\157\x61\162\x64\x2f\x5f\x66\157\x6f\x74\145\162"); goto t1j07; t1j07: } public function delete() { goto iXyFx; iXyFx: $chk = $this->input->post("\143\150\145\143\x6b\x65\x64", true); goto c2cJG; zqmHJ: if (!$this->master->delete("\x63\142\x74\137\x73\145\x73\151", $chk, "\151\x64\137\x73\x65\163\151")) { goto E2yPd; } goto F312f; icNA9: E2yPd: goto Wdawz; oBKfS: xbV1v: goto jw3Oq; no1ZP: k3pTU: goto nYXe4; Wdawz: goto k3pTU; goto oBKfS; c2cJG: if (!$chk) { goto xbV1v; } goto zqmHJ; F312f: $this->output_json(["\163\x74\x61\164\x75\163" => true, "\164\157\x74\x61\x6c" => count($chk)]); goto icNA9; jw3Oq: $this->output_json(["\x73\x74\141\164\165\163" => false]); goto no1ZP; nYXe4: } public function sesisiswa() { goto MW2tC; q4h12: $this->load->view("\x5f\164\x65\155\x70\154\141\x74\x65\x73\x2f\x64\x61\163\150\x62\157\141\162\x64\x2f\x5f\150\145\141\x64\145\162", $data); goto Ntgh_; MW2tC: $data = ["\165\163\145\x72" => $this->ion_auth->user()->row(), "\x6a\165\144\x75\x6c" => "\x53\145\163\151\x20\x55\152\151\x61\156", "\x73\165\142\152\x75\x64\165\x6c" => "\104\x61\164\x61\40\123\145\163\151\x20\125\152\x69\141\x6e"]; goto t0G3G; t0G3G: $data["\164\160"] = $this->dashboard->getTahun(); goto H198H; H198H: $data["\164\x70\137\141\x63\x74\x69\166\x65"] = $this->dashboard->getTahunActive(); goto h00fD; Ntgh_: $this->load->view("\143\142\x74\57\163\x65\x73\x69\163\151\163\x77\141\57\x64\x61\x74\x61"); goto CIzIP; aMidj: $data["\163\155\x74\137\x61\x63\164\151\x76\x65"] = $this->dashboard->getSemesterActive(); goto q4h12; h00fD: $data["\x73\x6d\x74"] = $this->dashboard->getSemester(); goto aMidj; CIzIP: $this->load->view("\137\164\145\x6d\160\154\141\x74\x65\163\57\144\141\x73\x68\x62\x6f\141\x72\x64\x2f\x5f\x66\157\x6f\164\145\162"); goto QlwQn; QlwQn: } }

Function Calls

None

Variables

None

Stats

MD5 9807b1377067a7e00a17ff97f60c8e01
Eval Count 0
Decode Time 35 ms