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    | 
    |________________________________________| 
*/ 
 defined("BASEPATH") or exit("No direct script access allowed"); class Dataguru extends CI_Controller { public function __construct() { goto s19xe; evF8I: $this->form_validation->set_error_delimiters('', ''); goto KSnlj; lRFwc: 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 IC3Qi; IC3Qi: aBQta: goto w_0vJ; n7h6_: if ($this->ion_auth->is_admin()) { goto aBQta; } goto lRFwc; NFiZI: jtHRF: goto aV8tR; aV8tR: redirect("auth"); goto SeXA4; dKHBY: $this->load->library(["datatables", "form_validation"]); goto evF8I; w_0vJ: goto yOXv2; goto NFiZI; SeXA4: yOXv2: goto dKHBY; s19xe: parent::__construct(); goto u3N42; u3N42: if (!$this->ion_auth->logged_in()) { goto jtHRF; } goto n7h6_; KSnlj: } public function output_json($data, $encode = true) { goto oNICG; oNICG: if (!$encode) { goto Z2vwK; } goto QdLnU; QdLnU: $data = json_encode($data); goto lsFkX; lsFkX: Z2vwK: goto SiSbh; SiSbh: $this->output->set_content_type("application/json")->set_output($data); goto IsEBM; IsEBM: } public function index() { goto hdFa7; XWztB: $smt = $this->dashboard->getSemesterActive(); goto PjBWd; oZMZy: $user = $this->ion_auth->user()->row(); goto BftlL; tAQ_L: $ret = []; goto cFEX8; vOHWt: $this->load->view("_templates/dashboard/_header", $data); goto fmLQE; K2qmY: kv3DF: goto Td3PM; d6d_E: $data["gurus"] = $this->master->getAllDataGuru($tp->id_tp, $smt->id_smt); goto vOHWt; lOEhI: $data["tp_active"] = $tp; goto TPjpv; P_X8J: foreach ($mapels as $key => $row) { $ret[$row->id_mapel] = $row; DclHU: } goto K2qmY; zb4Zo: $tp = $this->dashboard->getTahunActive(); goto XWztB; HtlOV: $data = ["user" => $user, "judul" => "Guru", "subjudul" => "Data Guru", "profile" => $this->dashboard->getProfileAdmin($user->id), "setting" => $setting]; goto zb4Zo; PjBWd: $data["mode"] = $mode == null ? "1" : "2"; goto jM5Wq; BftlL: $setting = $this->dashboard->getSetting(); goto HtlOV; hdFa7: $this->load->model("Dropdown_model", "dropdown"); goto mB2Bm; Td3PM: LPWRs: goto fumyb; vew9D: $data["smt_active"] = $smt; goto Z_3g6; fmLQE: $this->load->view("master/guru/data"); goto bNavQ; TPjpv: $data["smt"] = $this->dashboard->getSemester(); goto vew9D; cx8IQ: $mode = $this->input->get("mode", true); goto oZMZy; gUKyu: $data["extras"] = $this->dropdown->getAllKodeEkskul(); goto Zch4l; Zch4l: $data["kelass"] = $this->master->getAllKelas($tp->id_tp, $smt->id_smt); goto d6d_E; mB2Bm: $this->load->model("Master_model", "master"); goto w96Wy; fumyb: $data["mapels"] = $ret; goto gUKyu; Z_3g6: $mapels = $this->master->getAllMapel(); goto tAQ_L; bNavQ: $this->load->view("_templates/dashboard/_footer"); goto obwly; w96Wy: $this->load->model("Dashboard_model", "dashboard"); goto cx8IQ; cFEX8: if (!$mapels) { goto LPWRs; } goto P_X8J; jM5Wq: $data["tp"] = $this->dashboard->getTahun(); goto lOEhI; obwly: } public function data() { goto zjscC; zjscC: $this->load->model("Master_model", "master"); goto u28Dw; BlUGl: $tp = $this->dashboard->getTahunActive(); goto tpKuT; tpKuT: $smt = $this->dashboard->getSemesterActive(); goto fRR_P; fRR_P: $this->output_json($this->master->getDataGuru($tp->id_tp, $smt->id_smt), false); goto S3RdV; u28Dw: $this->load->model("Dashboard_model", "dashboard"); goto BlUGl; S3RdV: } public function edit($id) { goto gg4rc; BIcMr: $this->load->view("_templates/dashboard/_footer"); goto rzV5T; UNeu4: $data["tp"] = $this->dashboard->getTahun(); goto ZWB1Y; QgRB1: $tp = $this->master->getTahunActive(); goto ei6RS; ou16H: $this->load->view("_templates/dashboard/_header", $data); goto GhIFF; UvE0o: $inputsAlamat = [["label" => "NIK", "name" => "no_ktp", "value" => $guru->no_ktp, "icon" => "far fa-id-card", "type" => "number"], ["label" => "Tempat Lahir", "name" => "tempat_lahir", "value" => $guru->tempat_lahir, "icon" => "fa fa-map-marker", "type" => "text"], ["label" => "Tgl. Lahir", "name" => "tgl_lahir", "value" => $guru->tgl_lahir, "icon" => "fa fa-calendar", "type" => "text"], ["label" => "Alamat", "name" => "alamat_jalan", "value" => $guru->alamat_jalan, "icon" => "fa fa-map-marker", "type" => "text"], ["label" => "Kecamatan", "name" => "kecamatan", "value" => $guru->kecamatan, "icon" => "fa fa-map-marker", "type" => "text"], ["label" => "Kota/Kab.", "name" => "kabupaten", "value" => $guru->kabupaten, "icon" => "fa fa-map-marker", "type" => "text"], ["label" => "Provinsi", "name" => "provinsi", "value" => $guru->provinsi, "icon" => "fa fa-map-marker", "type" => "text"], ["label" => "Kode Pos", "name" => "kode_pos", "value" => $guru->kode_pos, "icon" => "fa fa-envelope", "type" => "number"]]; goto vX1fg; Dn6Uk: $data = ["user" => $user, "judul" => "Edit Guru", "subjudul" => "Edit Data Guru", "mapel" => $this->master->getAllMapel(), "guru" => $guru, "profile" => $this->dashboard->getProfileAdmin($user->id), "setting" => $setting]; goto UNeu4; Fy6jt: $data["id_active"] = $id; goto Qa5gV; gg4rc: $this->load->model("Master_model", "master"); goto dKwB4; KOWVp: $data["input_alamat"] = json_decode(json_encode($inputsAlamat), FALSE); goto ou16H; Qa5gV: $inputsProfile = [["label" => "Nama Lengkap", "name" => "nama_guru", "value" => $guru->nama_guru, "icon" => "far fa-user", "type" => "text"], ["label" => "Email", "name" => "email", "value" => $guru->email, "icon" => "far fa-envelope", "type" => "text"], ["label" => "NIP / NUPTK", "name" => "nip", "value" => $guru->nip, "icon" => "far fa-id-card", "type" => "text"], ["label" => "Jenis Kelamin", "name" => "jenis_kelamin", "value" => $guru->jenis_kelamin, "icon" => "fas fa-venus-mars", "type" => "text"], ["label" => "No. Handphone", "name" => "no_hp", "value" => $guru->no_hp, "icon" => "fa fa-phone", "type" => "number"], ["label" => "Agama", "name" => "agama", "value" => $guru->agama, "icon" => "far fa-user", "type" => "text"]]; goto UvE0o; vX1fg: $data["input_profile"] = json_decode(json_encode($inputsProfile), FALSE); goto KOWVp; RdL1Z: $data["smt"] = $this->dashboard->getSemester(); goto z3hjy; uYBrK: $setting = $this->dashboard->getSetting(); goto QgRB1; GhIFF: $this->load->view("master/guru/edit"); goto BIcMr; dKwB4: $this->load->model("Dashboard_model", "dashboard"); goto Vyt7P; Vyt7P: $user = $this->ion_auth->user()->row(); goto uYBrK; z3hjy: $data["smt_active"] = $smt; goto Fy6jt; ZWB1Y: $data["tp_active"] = $tp; goto RdL1Z; ei6RS: $smt = $this->master->getSemesterActive(); goto YqJKb; YqJKb: $guru = $this->master->getGuruById($id, $tp->id_tp, $smt->id_smt); goto Dn6Uk; rzV5T: } public function create() { goto mcg_v; NoFdJ: $password = $this->input->post("password", true); goto kH4QG; m7LoG: $nama_guru = $this->input->post("nama_guru", true); goto w_2fQ; TqeIa: $this->output_json(["status" => false]); goto BPJDq; FXW9J: $this->output_json($data); goto Kld5l; xF4eR: wSDg4: goto eTTHF; LQwYz: $data = ["status" => false, "errors" => ["nip" => form_error("nip"), "nama_guru" => form_error("nama_guru"), "username" => form_error("username"), "password" => form_error("password")]]; goto FXW9J; w_2fQ: $username = $this->input->post("username", true); goto NoFdJ; T5IYv: $nip = $this->input->post("nip", true); goto m7LoG; O931U: if ($action) { goto f3kJw; } goto TqeIa; vtdLK: AcRpX: goto LQwYz; kH4QG: $u_nip = "is_unique[master_guru.nip]"; goto yaV4S; mcg_v: $this->load->model("Master_model", "master"); goto T5IYv; GG6vk: $action = $this->master->create("master_guru", $input); goto O931U; IIbOc: f3kJw: goto m91dG; eTTHF: goto JSi8A; goto vtdLK; mb6Jw: $this->form_validation->set_rules("nip", "NIP", "required|numeric|trim|" . $u_nip); goto csQ_9; jVhB3: $input = ["nip" => trim($nip ?? ''), "nama_guru" => trim($nama_guru ?? ''), "username" => trim($username ?? ''), "password" => trim($password ?? ''), "foto" => "uploads/profiles/" . trim($nip ?? "00") . ".jpg"]; goto GG6vk; NFv0M: $this->form_validation->set_rules("password", "Password", "required"); goto nSQFR; csQ_9: $this->form_validation->set_rules("nama_guru", "Nama Guru", "required|trim|min_length[2]"); goto LuLtf; m91dG: $this->output_json(["status" => true]); goto xF4eR; yaV4S: $u_username = "|is_unique[master_guru.username]"; goto mb6Jw; LuLtf: $this->form_validation->set_rules("username", "Username", "required|trim" . $u_username); goto NFv0M; Kld5l: JSi8A: goto MCc_m; nSQFR: if ($this->form_validation->run() == FALSE) { goto AcRpX; } goto jVhB3; BPJDq: goto wSDg4; goto IIbOc; MCc_m: } public function save() { goto Qo35e; Bw17x: $u_email = "|is_unique[guru.email]"; goto H8sUe; BuGWE: $method = $this->input->post("method", true); goto TOtgD; tP9MC: $this->form_validation->set_rules("nip", "NIP", "required|trim|min_length[8]" . $u_nip); goto cwOdr; LHua3: ZuV0B: goto Q6fhO; JnEMZ: goto u3P0Y; goto mN6aP; K1m3Q: $input = ["nip" => $nip, "nama_guru" => $nama_guru, "email" => $email, "mapel_id" => $mapel]; goto bWHWa; cpif3: $nip = $this->input->post("nip", true); goto y7LnT; zwfPh: $mapel = $this->input->post("password", true); goto hISKS; vNgQn: goto sCGBQ; goto UTKXm; t2zB1: goto uavXV; goto P6Owh; sO8vk: $this->form_validation->set_rules("mapel", "Mata Kuliah", "required"); goto KlFJ3; P6Owh: rfm7A: goto QDh3E; rLagg: $data = ["status" => false, "errors" => ["nip" => form_error("nip"), "nama_guru" => form_error("nama_guru"), "email" => form_error("email"), "mapel" => form_error("mapel")]]; goto iXf3I; H8sUe: uavXV: goto tP9MC; HdIsJ: sCGBQ: goto HNRBG; KlFJ3: if ($this->form_validation->run() == FALSE) { goto IdQJa; } goto K1m3Q; xu0r3: $this->output_json(["status" => true]); goto xHSRr; N_o2J: $this->output_json(["status" => false]); goto JnEMZ; ULH4d: lYRrz: goto VP6g0; TOtgD: $id_guru = $this->input->post("id_guru", true); goto cpif3; X0Yt0: $email = $this->input->post("email", true); goto zwfPh; K2zAo: $u_nip = $dbdata->nip === $nip ? '' : "|is_unique[guru.nip]"; goto YwyB2; Q6fhO: $action = $this->master->create("master_guru", $input); goto ULH4d; YwyB2: $u_email = $dbdata->email === $email ? '' : "|is_unique[guru.email]"; goto t2zB1; c2CX0: ICjLr: goto Ekn7J; mN6aP: le3pg: goto xu0r3; xHSRr: u3P0Y: goto vNgQn; lQBZR: $action = $this->master->update("master_guru", $input, "id_guru", $id_guru); goto c2CX0; bWHWa: if ($method === "add") { goto ZuV0B; } goto aqMFP; cwOdr: $this->form_validation->set_rules("nama_guru", "Nama Guru", "required|trim|min_length[3]"); goto Ma46o; iXf3I: $this->output_json($data); goto HdIsJ; Qo35e: $this->load->model("Master_model", "master"); goto BuGWE; y7LnT: $nama_guru = $this->input->post("nama_guru", true); goto X0Yt0; VP6g0: if ($action) { goto le3pg; } goto N_o2J; QDh3E: $u_nip = "|is_unique[guru.nip]"; goto Bw17x; aqMFP: if (!($method === "edit")) { goto ICjLr; } goto lQBZR; hISKS: if ($method == "add") { goto rfm7A; } goto tYUvn; tYUvn: $dbdata = $this->master->getGuruById($id_guru); goto K2zAo; Ekn7J: goto lYRrz; goto LHua3; Ma46o: $this->form_validation->set_rules("email", "Email", "required|trim|valid_email" . $u_email); goto sO8vk; UTKXm: IdQJa: goto rLagg; HNRBG: } public function deleteGuru() { goto QcW8P; ZVUsF: foreach ($tables as $table) { goto rSlrf; QhJLM: DCRPf: goto WYAMA; BXFMy: if ($table == "master_kelas") { goto HZ9NA; } goto ayWyB; ayWyB: $this->db->where("id_guru", $chk); goto Ftg_0; KsSJ5: O4Vcs: goto kl995; cicqZ: $this->db->where("guru_id", $chk); goto IwRei; PADZp: goto aEvyO; goto pUl9W; Ftg_0: $num = $this->db->count_all_results($table); goto PADZp; O2IF3: if (!($num > 0)) { goto DCRPf; } goto IKwlG; IwRei: $num = $this->db->count_all_results($table); goto Ceveo; pUl9W: HZ9NA: goto cicqZ; Ceveo: aEvyO: goto O2IF3; WYAMA: JePgz: goto KsSJ5; IKwlG: array_push($messages, $table); goto QhJLM; rSlrf: if (!($table != "master_guru")) { goto JePgz; } goto BXFMy; kl995: } goto LCZn5; QcW8P: $this->load->model("Master_model", "master"); goto yCEEK; FmpuL: $this->output_json($data); goto xD076; x2Ksw: $data["status"] = $this->master->delete("master_guru", $chk, "id_guru"); goto FmpuL; hY6KW: wnHOj: goto boOIr; iOaml: $tables = []; goto BYuha; yCEEK: $chk = $this->input->post("id_guru", true); goto z9RX0; BYuha: $tabless = $this->db->list_tables(); goto TUi2L; boOIr: $this->output_json(["count" => count($messages), "status" => false, "message" => "Data guru digunakan di " . count($messages) . " tabel:<br>" . implode("<br>", $messages)]); goto y6Nkb; LCZn5: EOdWP: goto IjBlj; TUi2L: foreach ($tabless as $table) { goto WjPR7; XiX_x: Sq6GG: goto qL5Za; B9rhr: foreach ($fields as $field) { goto z0392; heYYx: mfPCN: goto i2ghg; Q3tIx: array_push($tables, $table); goto zNfox; z0392: if (!($field->name == "id_guru" || $field->name == "guru_id")) { goto Q4IAM; } goto Q3tIx; zNfox: Q4IAM: goto heYYx; i2ghg: } goto XiX_x; WjPR7: $fields = $this->db->field_data($table); goto B9rhr; qL5Za: YOWUf: goto yke_1; yke_1: } goto Xw58F; y6Nkb: uKzyr: goto ZyC8w; xD076: goto uKzyr; goto hY6KW; IjBlj: if (count($messages) > 0) { goto wnHOj; } goto x2Ksw; z9RX0: $messages = []; goto iOaml; Xw58F: cdr4b: goto ZVUsF; ZyC8w: } public function detail($id_guru) { goto LzEC4; vxuLS: $data["kelas"] = $this->master->getAllKelas(); goto C9U8K; tIpsJ: $data["smt_active"] = $this->dashboard->getSemesterActive(); goto vxuLS; GpQrG: $user = $this->ion_auth->user()->row(); goto yzyjT; oQRLf: $data["tp"] = $this->dashboard->getTahun(); goto NX76C; Xrb8I: $this->load->view("_templates/dashboard/_header", $data); goto AL4YB; yzyjT: $setting = $this->dashboard->getSetting(); goto b554G; LzEC4: $this->load->model("Master_model", "master"); goto UiBw3; b554G: $data = ["user" => $user, "judul" => "Detail Guru", "subjudul" => "Info Jabatan Guru", "mapel" => $this->master->getAllMapel(), "profile" => $this->dashboard->getProfileAdmin($user->id), "setting" => $setting]; goto oQRLf; AL4YB: $this->load->view("master/guru/detail"); goto Z9NmW; C9U8K: $data["id_guru"] = $id_guru; goto I5_PU; UiBw3: $this->load->model("Dashboard_model", "dashboard"); goto GpQrG; I5_PU: $data["guru"] = ["detail" => $this->master->getGuruByArrId([$id_guru])[0], "jabatan" => $this->master->getDetailJabatanGuru($id_guru), "materi" => $this->db->get_where("kelas_materi", "id_guru=" . $id_guru)->num_rows(), "catatan_mapel" => $this->db->get_where("kelas_catatan_mapel", "id_guru=" . $id_guru)->num_rows(), "bank_soal" => $this->db->get_where("cbt_bank_soal", "bank_guru_id=" . $id_guru)->num_rows(), "pengawas" => $this->db->get_where("cbt_pengawas", "id_guru LIKE "%" . $id_guru . "%"")->num_rows(), "posts" => $this->db->get_where("post", "dari=" . $id_guru)->num_rows(), "comments" => $this->db->get_where("post_comments", "dari=" . $id_guru)->num_rows(), "replies" => $this->db->get_where("post_reply", "dari=" . $id_guru)->num_rows()]; goto Xrb8I; zW5Ws: $data["smt"] = $this->dashboard->getSemester(); goto tIpsJ; NX76C: $data["tp_active"] = $this->dashboard->getTahunActive(); goto zW5Ws; Z9NmW: $this->load->view("_templates/dashboard/_footer"); goto sox2A; sox2A: } public function delete() { goto AJWF1; gUBeV: if (!$chk) { goto o2G24; } goto Wo2_T; U9LVB: bqmuj: goto ldY5k; gZ6U8: $this->output_json(["status" => false]); goto U9LVB; FHQtN: $chk = $this->input->post("checked", true); goto gUBeV; AJWF1: $this->load->model("Master_model", "master"); goto FHQtN; uZs0t: $this->output_json(["status" => true, "total" => count($chk)]); goto xFTv2; Wo2_T: if (!$this->master->delete("master_guru", $chk, "id_guru")) { goto k6rO7; } goto uZs0t; R4WJU: o2G24: goto gZ6U8; xFTv2: k6rO7: goto wK53W; wK53W: goto bqmuj; goto R4WJU; ldY5k: } public function forceDelete() { goto GcOQv; UNHZu: $id_guru = $this->input->post("id_guru", true); goto EdER0; PVzC4: $this->output_json($data); goto p9s01; EdER0: $data["status"] = $this->master->delete("master_guru", $id_guru, "id_guru"); goto PVzC4; GcOQv: $this->load->model("Master_model", "master"); goto UNHZu; p9s01: } public function create_user() { goto VqLey; wTSpm: $additional_data = ["first_name" => $first_name, "last_name" => $last_name]; goto mafbw; VqLey: $this->load->model("Master_model", "master"); goto yYGk4; c2ImV: goto w1Y2U; goto c3XMF; HY9ka: $nama = explode(" ", $data->nama_guru ?? ''); goto KeHgP; bo9dC: DqMnq: goto lknJu; c3XMF: QMX2i: goto s4lIw; JvRKM: if ($this->ion_auth->username_check($username)) { goto ON7ka; } goto Uqhxn; hiw3S: $data = $this->master->getGuruById($id); goto HY9ka; YSSwY: $email = $data->email; goto wTSpm; W0xA_: $last_name = end($nama); goto oYkph; KeHgP: $first_name = $nama[0]; goto W0xA_; kmiP0: w1Y2U: goto qg9vc; XIrcM: $data = ["status" => true, "msg" => "User berhasil dibuat. NIP digunakan sebagai password pada saat login."]; goto c2ImV; lknJu: $this->output_json($data); goto wwR01; qg9vc: goto DqMnq; goto OSP2n; yYGk4: $id = $this->input->get("id", true); goto hiw3S; jKuz6: $data = ["status" => false, "msg" => "Username tidak tersedia (sudah digunakan)."]; goto bo9dC; OSP2n: ON7ka: goto jKuz6; s4lIw: $data = ["status" => false, "msg" => "Email tidak tersedia (sudah digunakan)."]; goto kmiP0; mafbw: $group = array("2"); goto JvRKM; oYkph: $username = $data->nip; goto snOTO; JvfA0: $this->ion_auth->register($username, $password, $email, $additional_data, $group); goto XIrcM; Uqhxn: if ($this->ion_auth->email_check($email)) { goto QMX2i; } goto JvfA0; snOTO: $password = $data->nip; goto YSSwY; wwR01: } public function import($import_data = null) { goto xusgO; xusgO: $this->load->model("Master_model", "master"); goto obXLJ; JpF7k: $data["tp_active"] = $this->dashboard->getTahunActive(); goto iS3h5; BCv1a: $user = $this->ion_auth->user()->row(); goto yO3Gj; hU33f: $data["smt_active"] = $this->dashboard->getSemesterActive(); goto vnPj_; VCe5z: $this->load->view("master/guru/add"); goto a14jM; iS3h5: $data["smt"] = $this->dashboard->getSemester(); goto hU33f; a14jM: $this->load->view("_templates/dashboard/_footer"); goto nKpw2; pMP69: if (!($import_data != null)) { goto oYFS5; } goto Drlim; dRJs8: $data["tp"] = $this->dashboard->getTahun(); goto JpF7k; vnPj_: $this->load->view("_templates/dashboard/_header", $data); goto VCe5z; eG2jk: oYFS5: goto dRJs8; obXLJ: $this->load->model("Dashboard_model", "dashboard"); goto BCv1a; Drlim: $data["import"] = $import_data; goto eG2jk; yO3Gj: $setting = $this->dashboard->getSetting(); goto Nf8x7; Nf8x7: $data = ["user" => $user, "judul" => "Guru", "subjudul" => "Tambah Data Guru", "mapel" => $this->master->getAllMapel(), "profile" => $this->dashboard->getProfileAdmin($user->id), "setting" => $setting]; goto pMP69; nKpw2: } public function do_import() { goto KeIor; l6R5d: $input = $this->input->post("guru", true); goto hrTUt; nm42J: $data = ["status" => false, "errors" => $errors]; goto ERjiL; ZUFV_: $save = $this->master->create("master_guru", $data_insert, true); goto N0Tcw; W3nae: foreach ($input as $guru) { goto uVtTq; ZakOT: $errors[] = ["nama" => form_error("2"), "nip" => form_error("3"), "username" => form_error("5"), "password" => form_error("6")]; goto Q5oHN; t_IVP: $this->form_validation->set_rules("6", "Password", "required|trim|min_length[5]|max_length[30]"); goto hGXQN; uVtTq: $this->form_validation->set_data($guru); goto kt8Wo; oZjM2: $this->form_validation->set_rules("3", "NIP", "required|trim|min_length[6]|max_length[30]|is_unique[master_guru.nip]"); goto P65f_; P65f_: $this->form_validation->set_rules("5", "Username", "required|trim|min_length[3]|max_length[30]|is_unique[master_guru.username]"); goto t_IVP; Rgr53: c8oH6: goto cMQtp; kt8Wo: $this->form_validation->set_rules("2", "Nama Guru", "required|trim|min_length[1]|max_length[50]"); goto oZjM2; Q5oHN: h06AB: goto Rgr53; hGXQN: if (!($this->form_validation->run() == FALSE)) { goto h06AB; } goto ZakOT; cMQtp: } goto Z2JrP; N0Tcw: $data = ["status" => true, "data" => $save, "insert" => $data_insert]; goto DkTp5; ERjiL: GcH3U: goto GnYqG; pe1Iy: $data_insert = []; goto bh84M; hrTUt: $errors = []; goto W3nae; Z2JrP: SGP0U: goto XF3LJ; Bl8Ch: Di03P: goto ZUFV_; DkTp5: goto GcH3U; goto Cryfn; bh84M: foreach ($input as $guru) { goto Eqx1X; EZ33z: f_Bsb: goto Jp5bg; c6dG3: if (!($extension == "jpeg")) { goto H_TdI; } goto mDuW_; AW7l8: H_TdI: goto LeN9n; mDuW_: $extension = "jpg"; goto AW7l8; ij5HN: if (!isset($guru["7"])) { goto jruTB; } goto fltwi; LeN9n: $output_file = trim($guru["3"] ?? "00") . "." . $extension; goto LESUX; Zb53x: $data_insert[] = ["nama_guru" => trim($guru["2"] ?? ''), "nip" => trim($guru["3"] ?? ''), "kode_guru" => trim($guru["4"] ?? ''), "username" => trim($guru["5"] ?? ''), "password" => trim($guru["6"] ?? ''), "foto" => $foto]; goto EZ33z; Eqx1X: $foto = "uploads/profiles/" . trim($guru["3"] ?? "00") . ".jpg"; goto ij5HN; s8vGN: $foto = "uploads/profiles/" . $output_file; goto eNwWi; fltwi: $base64_image_string = $guru["7"]; goto XJaLo; LESUX: file_put_contents("./uploads/profiles/" . $output_file, base64_decode($base64_image_string)); goto s8vGN; eNwWi: jruTB: goto Zb53x; XJaLo: $extension = $guru["8"]; goto c6dG3; Jp5bg: } goto Bl8Ch; Cryfn: LBwZJ: goto nm42J; XF3LJ: if (count($errors) > 0) { goto LBwZJ; } goto pe1Iy; GnYqG: $this->output_json($data); goto Ierni; KeIor: $this->load->model("Master_model", "master"); goto l6R5d; Ierni: } public function editJabatan($id) { goto hDseg; gpBat: $data["kelass"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto UEGSB; TWZm_: $data["smt_active"] = $smt; goto HOUGm; U1ts_: $this->load->model("Master_model", "master"); goto iIBPA; YPxLI: $data["guru"] = $guru; goto Zda5r; UEGSB: $data["mapels"] = $this->dropdown->getAllMapel(); goto FdgKB; g9yhc: $data["before"] = ["kelass" => $this->dropdown->getAllKelas($tp2, $smt2), "guru" => $guru_before]; goto sWKhC; VTIOI: $guru_before->mapel_kelas = json_decode(json_encode(unserialize($guru_before->mapel_kelas ?? ''))); goto XkoSV; LimfH: $guru = $this->master->getJabatanGuru($id, $tp->id_tp, $smt->id_smt); goto bumIo; sWKhC: $this->load->view("_templates/dashboard/_header", $data); goto zpZz3; HOUGm: $group = $this->ion_auth->get_users_groups($user->id)->row()->name; goto V6wO_; KDkQp: $tp = $this->dashboard->getTahunActive(); goto Shct2; n13jn: $data = ["user" => $user, "judul" => "Jabatan Guru", "subjudul" => "Edit Jabatan Guru", "profile" => $this->dashboard->getProfileAdmin($user->id), "setting" => $this->dashboard->getSetting()]; goto YPxLI; Shct2: $smt = $this->dashboard->getSemesterActive(); goto LimfH; yIaan: $data["smt"] = $this->dashboard->getSemester(); goto TWZm_; bumIo: $user = $this->ion_auth->user()->row(); goto n13jn; hDseg: $this->load->model("Dropdown_model", "dropdown"); goto U1ts_; Vpc4s: $data["tp_active"] = $tp; goto yIaan; zpZz3: $this->load->view("master/guru/editmapel"); goto qvrEL; CX5Q_: $tp2 = $smt->id_smt == "1" ? $tp->id_tp - 1 : $tp->id_tp; goto obj_L; WlZHX: $data["ekskul"] = $this->dropdown->getAllEkskul(); goto Zd8n5; XkoSV: $guru_before->ekstra_kelas = json_decode(json_encode(unserialize($guru_before->ekstra_kelas ?? ''))); goto g9yhc; F56Wc: tL2pq: goto gpBat; qvrEL: $this->load->view("_templates/dashboard/_footer"); goto cie11; iIBPA: $this->load->model("Dashboard_model", "dashboard"); goto KDkQp; obj_L: $guru_before = $this->master->getJabatanGuru($id, $tp2, $smt2); goto VTIOI; V6wO_: if (!($group === "admin")) { goto tL2pq; } goto gRD5K; gRD5K: $data["groups"] = $this->ion_auth->groups()->result(); goto F56Wc; Zd8n5: $data["kur"] = $smt; goto El_kM; FdgKB: $data["levels"] = $this->dropdown->getAllLevelGuru(); goto WlZHX; El_kM: $smt2 = $smt->id_smt == "1" ? "2" : "1"; goto CX5Q_; Zda5r: $data["tp"] = $this->dashboard->getTahun(); goto Vpc4s; cie11: } public function saveJabatan() { goto GpTJ9; qp3s7: $ekstras = []; goto Otyv2; Mk1Px: $update = $this->db->replace("jabatan_guru", $data); goto y_HSY; hg1xC: if (!isset($kelass2[$kelasekstra])) { goto pw5qk; } goto QTtV6; egJVf: $row_mapels = count($this->input->post("mapel", true)); goto UTFO1; kf0nE: if (!$check) { goto MLYoE; } goto KgcWz; c_hvi: $nama_mapel = $this->input->post("nama_mapel" . $mapel, true); goto rUz11; bVM2k: if ($this->input->post()) { goto uPxzd; } goto S6pfm; UE6gX: vqJxW: goto OIk2F; CSh2c: if (!$check) { goto eDL6c; } goto Um1ew; QO8ci: KS3TH: goto rjOyz; iIz9m: Weacx: goto DpwrY; Crv0g: $tp2 = $smt->id_smt == "1" ? $tp->id_tp - 1 : $tp->id_tp; goto yR2wR; ItcDT: $tmp_nama = $kelass2[$kelasmapel]; goto rFvpO; IO3NF: $smt = $this->master->getSemesterActive(); goto hiMON; gE2wm: LgXDR: goto R7x6P; rFvpO: if (!isset($kelass1[$tmp_nama])) { goto KS3TH; } goto XyajQ; SnwMj: KgCtY: goto NVzk3; RP1P5: $wali = $this->input->post("kelas_wali", true); goto DKcDd; UzpqC: pw5qk: goto in8Aa; Blv5m: $kelas = []; goto JhfdZ; XjVGs: DHc0j: goto x_Faw; vI0qk: BMcoV: goto iIz9m; nqqNn: if ($copy) { goto ao_tN; } goto FTrTe; R7x6P: if (!($i <= $row_ekstras)) { goto BMcoV; } goto NGQNp; K_QPu: $id_guru = $this->input->post("id_guru", true); goto a8KLz; a8KLz: $id_level = $this->input->post("level", true); goto RP1P5; LzHs6: D5PTe: goto AGP9H; NGQNp: $ekstra = $this->input->post("ekstra[" . $i . "]", true); goto PYvCz; fZ2Xo: $data = ["id_jabatan_guru" => $id_guru . $tp->id_tp . $smt->id_smt, "id_guru" => $id_guru, "id_jabatan" => $id_level, "id_kelas" => $kelas_wali == null ? 0 : $kelas_wali, "mapel_kelas" => $kelas_mapel_guru, "ekstra_kelas" => $kelas_ekstra_guru, "id_tp" => $tp->id_tp, "id_smt" => $smt->id_smt]; goto bVM2k; ortgc: $kelas[] = ["kelas" => $kelasmapel]; goto rvLtE; S8khH: $kelas_wali = $kelass1[$tmp_wali]; goto YcSTu; hWUYz: $kelas = []; goto HNCg4; Otyv2: $check_ekstra = $this->input->post("ekstra", true); goto IjvJl; wbKKL: $check = $this->input->post("kelasekstra" . $ekstra, true); goto CSh2c; XyajQ: $kelas[] = ["kelas" => $kelass1[$tmp_nama]]; goto QO8ci; cFYQf: $i = 0; goto gE2wm; Le4rv: as3wL: goto hg1xC; rvLtE: goto DHc0j; goto dzJiB; HNCg4: $j = 0; goto kIBwk; Suxn1: $mapels[] = ["id_mapel" => $mapel, "nama_mapel" => $nama_mapel, "kelas_mapel" => $kelas]; goto YG0q8; fxUJg: goto BfQxS; goto SnwMj; TPzx_: $this->load->model("Master_model", "master"); goto doinG; i5gy8: $tp = $this->master->getTahunActive(); goto IO3NF; vcWzf: $check_mapel = $this->input->post("mapel", true); goto AD39i; bhggi: falQv: goto swCzC; EMiP9: D0L1Q: goto lo2Xk; ljUdp: $kelasmapel = $this->input->post("kelasmapel" . $mapel . "[" . $j . "]", true); goto ecw8P; hiMON: $smt2 = $smt->id_smt == "1" ? "2" : "1"; goto Crv0g; qyr00: if (!($j <= $row_kelas)) { goto KgCtY; } goto MGmle; tBgxn: uPxzd: goto Mk1Px; vRaB2: $kelas[] = ["kelas" => $kelasekstra]; goto f4YyB; MGmle: $kelasekstra = $this->input->post("kelasekstra" . $ekstra . "[" . $j . "]", true); goto RsbFv; JhfdZ: $j = 0; goto tmn0u; kIBwk: SmEVR: goto wMcHm; y2Kh8: goto LgXDR; goto vI0qk; DKcDd: $copy = $this->input->post("copy", true) != null; goto i5gy8; s2a9J: $j++; goto LoMZZ; EOopv: $tmp_wali = $kelass2[$wali]; goto S8khH; UGfRX: goto gR7jz; goto SuKPD; in8Aa: KCNwV: goto LzHs6; nyJDj: $row_ekstras = count($this->input->post("ekstra", true)); goto cFYQf; eklQR: if (!isset($kelass2[$kelasmapel])) { goto dN_YQ; } goto ItcDT; DpwrY: $kelas_ekstra_guru = serialize($ekstras); goto fZ2Xo; RZqda: goto GTutO; goto RcwV_; NkcNy: gR7jz: goto QZngo; O9r1U: $this->output_json($res); goto f0fml; dzJiB: eoohD: goto eklQR; osZ7v: $kelass2 = $this->dropdown->getAllKelas($tp2, $smt2); goto nqqNn; x_Faw: oTGjt: goto s2a9J; f4YyB: goto KCNwV; goto Le4rv; ppp3b: $res["msg"] = $update ? "Data berhasil disimpan" : "Gagal menyimpan data"; goto hCY_M; KgcWz: $row_kelas = count($this->input->post("kelasmapel" . $mapel, true)); goto hWUYz; RcwV_: ao_tN: goto EOopv; LoMZZ: goto SmEVR; goto VXdTa; QTtV6: $tmp_nama2 = $kelass2[$kelasekstra]; goto laOLq; hCY_M: wyvLq: goto O9r1U; SuKPD: XVz1w: goto UE6gX; NVzk3: $ekstras[] = ["id_ekstra" => $ekstra, "nama_ekstra" => $nama_ekstra, "kelas_ekstra" => $kelas]; goto WJ7Nb; Um1ew: $row_kelas = count($this->input->post("kelasekstra" . $ekstra, true)); goto Blv5m; IjvJl: if (!$check_ekstra) { goto Weacx; } goto nyJDj; N48ZL: $mapel = $this->input->post("mapel[" . $i . "]", true); goto c_hvi; tmn0u: BfQxS: goto qyr00; WJ7Nb: eDL6c: goto bhggi; fa2dP: goto wyvLq; goto tBgxn; swCzC: $i++; goto y2Kh8; UTFO1: $i = 0; goto NkcNy; PYvCz: $nama_ekstra = $this->input->post("nama_ekstra" . $ekstra, true); goto wbKKL; aB73l: $mapels = []; goto vcWzf; lo2Xk: $i++; goto UGfRX; wMcHm: if (!($j <= $row_kelas)) { goto eWqYT; } goto ljUdp; RsbFv: if ($copy) { goto as3wL; } goto vRaB2; rjOyz: dN_YQ: goto XjVGs; doinG: $this->load->model("Kelas_model", "kelas"); goto K_QPu; YG0q8: MLYoE: goto EMiP9; laOLq: $kelas[] = ["kelas" => $kelass1[$tmp_nama2]]; goto UzpqC; yR2wR: $kelass1 = $this->kelas->getNamaKelasByNama($tp->id_tp, $smt->id_smt); goto osZ7v; AD39i: if (!$check_mapel) { goto vqJxW; } goto egJVf; rUz11: $check = $this->input->post("kelasmapel" . $mapel, true); goto kf0nE; GpTJ9: $this->load->model("Dropdown_model", "dropdown"); goto TPzx_; QZngo: if (!($i <= $row_mapels)) { goto XVz1w; } goto N48ZL; S6pfm: $res["status"] = FALSE; goto OI6iW; OIk2F: $kelas_mapel_guru = serialize($mapels); goto qp3s7; OI6iW: $res["msg"] = "Error post data"; goto fa2dP; VXdTa: eWqYT: goto Suxn1; AGP9H: $j++; goto fxUJg; ecw8P: if ($copy) { goto eoohD; } goto ortgc; y_HSY: $res["status"] = $update; goto ppp3b; YcSTu: GTutO: goto aB73l; FTrTe: $kelas_wali = $wali; goto RZqda; f0fml: } public function getDataKelas() { goto Aph71; rsV0l: $data["mpl_terisi"] = $mapel_terisi; goto cpUec; pqQFM: $tp = $this->dashboard->getTahunActive(); goto PiZWq; P0kPv: $jbtn = []; goto kV4Mc; LVVau: $data["jabatan"] = $jbtn; goto rsV0l; Aph71: $this->load->model("Master_model", "master"); goto vJ9Gk; LWH9b: $mapel_terisi = []; goto zstgz; kV4Mc: foreach ($jabatans as $jabatan) { goto WRuyp; WRuyp: $mpl_kls = $jabatan->mapel_kelas = json_decode(json_encode(unserialize($jabatan->mapel_kelas ?? ''))); goto Mbwxu; AgyDZ: IaJO_: goto kekN1; mVVov: $jbtn[$jabatan->id_jabatan][$jabatan->id_kelas] = ["nama" => $jabatan->nama_guru, "id" => $jabatan->id_guru]; goto HCjPp; MGydF: foreach ($mpl_kls as $mpls) { goto h0z1s; RJEYe: foreach ($mpls->kelas_mapel as $mpl) { $klss[] = $mpl->kelas; ywVEE: } goto taisf; h0z1s: $klss = []; goto RJEYe; E5Gf6: $mapel_terisi[$mpls->id_mapel][$jabatan->id_guru] = ["id_guru" => $jabatan->id_guru, "guru" => $jabatan->nama_guru, "kelas" => $klss]; goto mYhdK; taisf: iKm6z: goto E5Gf6; mYhdK: rqWpM: goto fqaxB; fqaxB: } goto AgyDZ; Mbwxu: $eks_kls = $jabatan->ekstra_kelas = json_decode(json_encode(unserialize($jabatan->ekstra_kelas ?? ''))); goto MGydF; HCjPp: cfLFU: goto Gz1Nc; kekN1: foreach ($eks_kls as $eks) { goto mcAam; ijF5q: $ekstra_terisi[$eks->id_ekstra][$jabatan->id_guru] = ["id_guru" => $jabatan->id_guru, "guru" => $jabatan->nama_guru, "kelas" => $klse]; goto PNDTy; ZGrzB: qhrhW: goto ijF5q; PNDTy: UqBsx: goto RW2Ao; mcAam: $klse = []; goto qdgwP; qdgwP: foreach ($eks->kelas_ekstra as $ek) { $klse[] = $ek->kelas; s5M08: } goto ZGrzB; RW2Ao: } goto fxJNS; fxJNS: qoCyF: goto mVVov; Gz1Nc: } goto Q3ZO_; vJ9Gk: $this->load->model("Dashboard_model", "dashboard"); goto WCIPB; PiZWq: $smt = $this->dashboard->getSemesterActive(); goto eKCYp; mF0QO: $this->output_json($data); goto liTOG; cpUec: $data["eks_terisi"] = $ekstra_terisi; goto n7g9Z; eKCYp: $jabatans = $this->master->getGuruMapel($tp->id_tp, $smt->id_smt); goto LWH9b; zstgz: $ekstra_terisi = []; goto P0kPv; WCIPB: $this->load->model("Users_model", "users"); goto pqQFM; n7g9Z: $data["kelas"] = $this->users->getKelas($tp->id_tp, $smt->id_smt); goto mF0QO; Q3ZO_: aHShg: goto LVVau; liTOG: } public function addjabatan() { goto HTNlG; y0mSv: $insert = ["id_level" => $id, "level" => $this->input->post("level", true)]; goto T4F9u; HTNlG: $mode = $this->input->post("mode", true); goto RJk73; EE6Jp: I2A4d: goto QVjwa; QVjwa: $data = ["success" => $replaced, "msg" => $replaced ? "Sukses " . $s_mode . " jabatan" : "Gagal " . $s_mode . " jabatan"]; goto Jvb5G; rdVQo: goto I2A4d; goto KT5x8; T4F9u: $replaced = $this->db->replace("level_guru", $insert); goto EE6Jp; RJk73: $id = $this->input->post("id_level", true); goto x3wyM; x3wyM: $s_mode = $mode == "1" ? "menyimpan" : "menghapus"; goto OgxH0; K7CUZ: $replaced = $this->db->delete("level_guru", "id_level=" . $id); goto rdVQo; KT5x8: dq6Vq: goto y0mSv; OgxH0: if ($mode == "1") { goto dq6Vq; } goto K7CUZ; Jvb5G: $this->output_json($data); goto UTcEZ; UTcEZ: } } 
 ?>

Did this file decode correctly?

Original Code

<?php
/*   ________________________________________
    |                 GarudaCBT              |
    |    https://github.com/garudacbt/cbt    |
    |________________________________________|
*/
 defined("\102\101\x53\x45\120\101\124\110") or exit("\x4e\157\40\x64\151\162\145\x63\164\40\x73\143\x72\x69\160\164\x20\x61\x63\x63\x65\163\163\x20\141\x6c\x6c\x6f\167\x65\144"); class Dataguru extends CI_Controller { public function __construct() { goto s19xe; evF8I: $this->form_validation->set_error_delimiters('', ''); goto KSnlj; lRFwc: show_error("\110\141\x6e\x79\141\x20\x41\144\x6d\151\156\x69\x73\x74\x72\x61\164\157\x72\40\171\x61\x6e\x67\40\144\x69\x62\x65\x72\x69\40\150\141\x6b\x20\165\156\x74\165\153\x20\155\145\x6e\147\x61\x6b\x73\x65\163\x20\150\x61\154\141\x6d\141\x6e\x20\x69\x6e\x69\x2c\40\74\141\x20\x68\162\x65\x66\x3d\42" . base_url("\144\141\163\150\142\x6f\x61\162\144") . "\42\76\113\x65\x6d\142\x61\154\x69\40\153\145\x20\x6d\x65\156\165\40\x61\x77\141\x6c\74\57\141\76", 403, "\x41\x6b\163\x65\x73\x20\x54\145\x72\154\x61\162\141\156\147"); goto IC3Qi; IC3Qi: aBQta: goto w_0vJ; n7h6_: if ($this->ion_auth->is_admin()) { goto aBQta; } goto lRFwc; NFiZI: jtHRF: goto aV8tR; aV8tR: redirect("\x61\x75\164\x68"); goto SeXA4; dKHBY: $this->load->library(["\144\x61\164\x61\x74\141\x62\154\x65\x73", "\146\x6f\x72\155\137\166\x61\x6c\151\144\x61\x74\x69\157\156"]); goto evF8I; w_0vJ: goto yOXv2; goto NFiZI; SeXA4: yOXv2: goto dKHBY; s19xe: parent::__construct(); goto u3N42; u3N42: if (!$this->ion_auth->logged_in()) { goto jtHRF; } goto n7h6_; KSnlj: } public function output_json($data, $encode = true) { goto oNICG; oNICG: if (!$encode) { goto Z2vwK; } goto QdLnU; QdLnU: $data = json_encode($data); goto lsFkX; lsFkX: Z2vwK: goto SiSbh; SiSbh: $this->output->set_content_type("\141\160\160\154\x69\143\x61\164\x69\157\156\57\152\x73\157\x6e")->set_output($data); goto IsEBM; IsEBM: } public function index() { goto hdFa7; XWztB: $smt = $this->dashboard->getSemesterActive(); goto PjBWd; oZMZy: $user = $this->ion_auth->user()->row(); goto BftlL; tAQ_L: $ret = []; goto cFEX8; vOHWt: $this->load->view("\x5f\x74\145\155\x70\x6c\141\164\x65\163\57\144\141\163\150\x62\x6f\141\x72\x64\x2f\137\x68\x65\x61\x64\145\162", $data); goto fmLQE; K2qmY: kv3DF: goto Td3PM; d6d_E: $data["\147\x75\x72\x75\x73"] = $this->master->getAllDataGuru($tp->id_tp, $smt->id_smt); goto vOHWt; lOEhI: $data["\164\x70\x5f\141\x63\x74\151\166\x65"] = $tp; goto TPjpv; P_X8J: foreach ($mapels as $key => $row) { $ret[$row->id_mapel] = $row; DclHU: } goto K2qmY; zb4Zo: $tp = $this->dashboard->getTahunActive(); goto XWztB; HtlOV: $data = ["\165\163\145\162" => $user, "\152\x75\x64\x75\154" => "\x47\165\162\165", "\x73\165\142\152\x75\144\165\154" => "\104\141\x74\141\x20\107\165\x72\165", "\160\x72\x6f\146\x69\154\145" => $this->dashboard->getProfileAdmin($user->id), "\163\145\164\164\x69\x6e\147" => $setting]; goto zb4Zo; PjBWd: $data["\155\157\x64\x65"] = $mode == null ? "\x31" : "\x32"; goto jM5Wq; BftlL: $setting = $this->dashboard->getSetting(); goto HtlOV; hdFa7: $this->load->model("\104\x72\x6f\160\144\157\167\156\137\x6d\157\x64\145\154", "\x64\x72\157\x70\x64\x6f\167\x6e"); goto mB2Bm; Td3PM: LPWRs: goto fumyb; vew9D: $data["\163\x6d\x74\137\x61\143\x74\x69\166\145"] = $smt; goto Z_3g6; fmLQE: $this->load->view("\x6d\x61\x73\x74\145\x72\x2f\x67\x75\x72\x75\57\x64\x61\x74\x61"); goto bNavQ; TPjpv: $data["\x73\x6d\164"] = $this->dashboard->getSemester(); goto vew9D; cx8IQ: $mode = $this->input->get("\155\157\x64\x65", true); goto oZMZy; gUKyu: $data["\145\170\164\x72\141\163"] = $this->dropdown->getAllKodeEkskul(); goto Zch4l; Zch4l: $data["\153\x65\154\141\x73\163"] = $this->master->getAllKelas($tp->id_tp, $smt->id_smt); goto d6d_E; mB2Bm: $this->load->model("\x4d\x61\x73\164\145\x72\x5f\155\157\144\x65\154", "\155\141\x73\164\145\162"); goto w96Wy; fumyb: $data["\155\141\x70\x65\154\x73"] = $ret; goto gUKyu; Z_3g6: $mapels = $this->master->getAllMapel(); goto tAQ_L; bNavQ: $this->load->view("\137\164\145\x6d\160\x6c\x61\x74\145\x73\x2f\x64\141\x73\x68\142\157\141\x72\x64\57\137\x66\x6f\x6f\164\145\x72"); goto obwly; w96Wy: $this->load->model("\104\x61\x73\x68\142\157\141\162\144\137\155\157\144\145\x6c", "\x64\141\163\x68\142\x6f\141\162\144"); goto cx8IQ; cFEX8: if (!$mapels) { goto LPWRs; } goto P_X8J; jM5Wq: $data["\x74\x70"] = $this->dashboard->getTahun(); goto lOEhI; obwly: } public function data() { goto zjscC; zjscC: $this->load->model("\x4d\x61\x73\x74\145\162\x5f\155\x6f\144\x65\x6c", "\155\x61\x73\x74\145\162"); goto u28Dw; BlUGl: $tp = $this->dashboard->getTahunActive(); goto tpKuT; tpKuT: $smt = $this->dashboard->getSemesterActive(); goto fRR_P; fRR_P: $this->output_json($this->master->getDataGuru($tp->id_tp, $smt->id_smt), false); goto S3RdV; u28Dw: $this->load->model("\x44\x61\163\150\142\157\141\162\144\x5f\x6d\157\x64\x65\x6c", "\x64\141\x73\x68\x62\x6f\141\162\144"); goto BlUGl; S3RdV: } public function edit($id) { goto gg4rc; BIcMr: $this->load->view("\137\164\x65\155\x70\154\141\x74\x65\x73\57\x64\141\x73\x68\x62\x6f\141\162\x64\x2f\x5f\146\x6f\157\x74\145\162"); goto rzV5T; UNeu4: $data["\164\160"] = $this->dashboard->getTahun(); goto ZWB1Y; QgRB1: $tp = $this->master->getTahunActive(); goto ei6RS; ou16H: $this->load->view("\137\x74\x65\x6d\160\x6c\x61\x74\145\163\57\144\x61\x73\150\x62\x6f\x61\162\x64\57\x5f\150\145\x61\144\x65\x72", $data); goto GhIFF; UvE0o: $inputsAlamat = [["\154\x61\142\145\154" => "\116\111\113", "\156\x61\155\x65" => "\x6e\157\x5f\x6b\164\160", "\x76\x61\x6c\165\145" => $guru->no_ktp, "\x69\x63\x6f\156" => "\x66\x61\162\x20\x66\141\55\151\x64\55\143\x61\x72\x64", "\164\171\160\x65" => "\x6e\x75\x6d\x62\x65\x72"], ["\x6c\141\x62\x65\154" => "\x54\x65\155\160\141\164\x20\x4c\x61\150\151\162", "\156\x61\x6d\x65" => "\x74\145\155\160\x61\164\x5f\154\141\150\151\x72", "\166\141\x6c\x75\x65" => $guru->tempat_lahir, "\151\x63\157\x6e" => "\146\141\x20\146\141\55\155\x61\160\55\155\x61\162\153\x65\162", "\x74\x79\160\x65" => "\x74\x65\x78\164"], ["\x6c\141\x62\145\x6c" => "\x54\147\x6c\56\x20\x4c\141\150\x69\162", "\156\141\x6d\145" => "\x74\x67\x6c\x5f\x6c\141\x68\151\x72", "\166\x61\x6c\165\145" => $guru->tgl_lahir, "\151\143\x6f\x6e" => "\146\141\40\146\141\x2d\143\x61\x6c\x65\156\x64\x61\162", "\164\x79\160\x65" => "\164\145\170\164"], ["\x6c\141\142\145\x6c" => "\x41\x6c\x61\155\x61\x74", "\156\141\x6d\x65" => "\141\x6c\141\155\141\164\137\152\x61\x6c\x61\x6e", "\x76\x61\154\165\145" => $guru->alamat_jalan, "\151\x63\157\x6e" => "\146\141\40\x66\141\x2d\x6d\x61\x70\55\155\x61\162\x6b\x65\162", "\164\x79\160\x65" => "\x74\x65\170\164"], ["\x6c\141\142\x65\154" => "\x4b\145\143\x61\155\x61\x74\141\156", "\x6e\141\155\x65" => "\x6b\145\143\141\155\x61\164\141\156", "\166\141\x6c\x75\145" => $guru->kecamatan, "\x69\x63\157\x6e" => "\x66\x61\40\146\141\x2d\155\141\x70\x2d\x6d\x61\x72\153\145\x72", "\164\171\160\x65" => "\164\145\170\164"], ["\154\x61\142\145\x6c" => "\x4b\157\x74\141\57\x4b\x61\142\x2e", "\156\141\155\145" => "\x6b\x61\142\x75\160\141\x74\145\x6e", "\166\x61\x6c\165\x65" => $guru->kabupaten, "\151\x63\x6f\156" => "\146\141\40\146\141\x2d\x6d\x61\160\55\155\x61\x72\153\145\x72", "\x74\x79\160\x65" => "\x74\x65\170\164"], ["\154\141\142\145\154" => "\x50\162\x6f\x76\151\x6e\x73\151", "\x6e\x61\155\145" => "\160\x72\157\166\151\x6e\163\x69", "\166\x61\x6c\x75\145" => $guru->provinsi, "\x69\143\x6f\156" => "\x66\x61\40\x66\x61\x2d\155\141\x70\55\155\141\162\153\x65\x72", "\164\x79\x70\145" => "\x74\x65\x78\164"], ["\154\141\x62\145\154" => "\x4b\x6f\144\145\40\x50\157\163", "\x6e\x61\x6d\145" => "\x6b\x6f\x64\x65\x5f\x70\157\163", "\x76\x61\x6c\165\x65" => $guru->kode_pos, "\x69\x63\x6f\x6e" => "\x66\x61\40\x66\141\x2d\145\x6e\166\145\x6c\x6f\x70\x65", "\164\171\x70\x65" => "\x6e\x75\155\142\x65\162"]]; goto vX1fg; Dn6Uk: $data = ["\x75\x73\x65\162" => $user, "\x6a\165\x64\165\154" => "\105\144\151\x74\x20\107\x75\x72\165", "\x73\x75\x62\x6a\165\x64\165\154" => "\105\x64\x69\164\40\104\x61\x74\141\x20\x47\165\162\165", "\x6d\141\160\x65\x6c" => $this->master->getAllMapel(), "\x67\165\162\165" => $guru, "\160\x72\x6f\x66\151\154\x65" => $this->dashboard->getProfileAdmin($user->id), "\163\145\x74\164\x69\156\147" => $setting]; goto UNeu4; Fy6jt: $data["\x69\144\137\141\143\x74\151\166\145"] = $id; goto Qa5gV; gg4rc: $this->load->model("\115\x61\x73\164\145\162\137\x6d\157\x64\145\154", "\155\x61\163\x74\x65\162"); goto dKwB4; KOWVp: $data["\151\156\160\x75\164\x5f\x61\x6c\141\x6d\141\x74"] = json_decode(json_encode($inputsAlamat), FALSE); goto ou16H; Qa5gV: $inputsProfile = [["\x6c\x61\x62\x65\154" => "\x4e\141\x6d\x61\40\114\145\156\147\x6b\141\x70", "\x6e\141\x6d\x65" => "\x6e\141\155\141\137\147\165\x72\x75", "\166\x61\154\165\x65" => $guru->nama_guru, "\151\143\157\156" => "\x66\141\x72\40\x66\x61\x2d\165\x73\x65\162", "\164\171\x70\x65" => "\x74\x65\170\164"], ["\154\x61\x62\145\x6c" => "\x45\x6d\141\151\154", "\156\141\x6d\x65" => "\x65\155\x61\x69\154", "\x76\x61\154\x75\x65" => $guru->email, "\x69\x63\157\156" => "\146\141\162\x20\x66\141\x2d\145\156\x76\x65\154\x6f\160\x65", "\x74\x79\160\x65" => "\164\x65\170\164"], ["\154\x61\142\145\x6c" => "\x4e\111\120\x20\57\x20\x4e\x55\120\x54\113", "\156\141\x6d\145" => "\x6e\151\x70", "\x76\x61\x6c\165\145" => $guru->nip, "\151\x63\157\156" => "\x66\141\x72\40\146\x61\55\151\x64\55\143\141\162\144", "\164\171\x70\x65" => "\164\x65\170\x74"], ["\154\x61\142\x65\154" => "\x4a\145\x6e\x69\163\40\113\x65\x6c\x61\x6d\x69\x6e", "\x6e\x61\155\x65" => "\x6a\x65\x6e\x69\163\x5f\153\145\154\x61\x6d\151\156", "\166\x61\154\165\145" => $guru->jenis_kelamin, "\151\143\x6f\x6e" => "\x66\x61\x73\x20\146\141\x2d\x76\145\156\x75\163\x2d\155\141\162\x73", "\x74\171\160\145" => "\x74\x65\x78\x74"], ["\154\x61\x62\145\x6c" => "\x4e\157\x2e\40\110\x61\156\144\x70\150\x6f\x6e\x65", "\156\141\155\145" => "\156\x6f\x5f\x68\x70", "\166\x61\154\165\x65" => $guru->no_hp, "\151\143\x6f\156" => "\146\141\x20\x66\x61\x2d\x70\x68\157\156\145", "\164\x79\160\145" => "\x6e\165\155\142\145\x72"], ["\x6c\x61\x62\x65\154" => "\x41\147\x61\155\141", "\x6e\141\x6d\145" => "\141\147\141\155\x61", "\166\141\154\165\145" => $guru->agama, "\151\143\x6f\156" => "\146\141\162\40\x66\x61\55\165\163\145\x72", "\164\171\x70\x65" => "\x74\x65\170\x74"]]; goto UvE0o; vX1fg: $data["\151\156\160\x75\164\137\x70\162\x6f\146\151\x6c\145"] = json_decode(json_encode($inputsProfile), FALSE); goto KOWVp; RdL1Z: $data["\163\x6d\164"] = $this->dashboard->getSemester(); goto z3hjy; uYBrK: $setting = $this->dashboard->getSetting(); goto QgRB1; GhIFF: $this->load->view("\x6d\141\163\x74\145\x72\57\147\x75\x72\x75\x2f\145\144\x69\x74"); goto BIcMr; dKwB4: $this->load->model("\104\x61\x73\150\142\157\141\162\144\137\155\x6f\144\145\x6c", "\144\141\x73\150\x62\x6f\x61\162\144"); goto Vyt7P; Vyt7P: $user = $this->ion_auth->user()->row(); goto uYBrK; z3hjy: $data["\x73\x6d\164\137\141\x63\164\151\166\x65"] = $smt; goto Fy6jt; ZWB1Y: $data["\164\160\137\x61\x63\164\x69\166\145"] = $tp; goto RdL1Z; ei6RS: $smt = $this->master->getSemesterActive(); goto YqJKb; YqJKb: $guru = $this->master->getGuruById($id, $tp->id_tp, $smt->id_smt); goto Dn6Uk; rzV5T: } public function create() { goto mcg_v; NoFdJ: $password = $this->input->post("\160\141\x73\x73\x77\157\x72\x64", true); goto kH4QG; m7LoG: $nama_guru = $this->input->post("\156\141\155\x61\137\147\x75\x72\165", true); goto w_2fQ; TqeIa: $this->output_json(["\x73\164\141\164\x75\163" => false]); goto BPJDq; FXW9J: $this->output_json($data); goto Kld5l; xF4eR: wSDg4: goto eTTHF; LQwYz: $data = ["\x73\164\141\164\165\x73" => false, "\x65\162\162\157\x72\x73" => ["\x6e\151\x70" => form_error("\156\151\160"), "\156\x61\155\141\137\147\x75\x72\x75" => form_error("\156\x61\155\141\137\x67\165\x72\x75"), "\x75\x73\145\x72\156\141\155\x65" => form_error("\165\163\x65\x72\156\141\155\145"), "\x70\x61\x73\163\x77\157\x72\144" => form_error("\160\x61\x73\163\167\157\x72\x64")]]; goto FXW9J; w_2fQ: $username = $this->input->post("\x75\163\145\x72\x6e\141\155\x65", true); goto NoFdJ; T5IYv: $nip = $this->input->post("\x6e\151\x70", true); goto m7LoG; O931U: if ($action) { goto f3kJw; } goto TqeIa; vtdLK: AcRpX: goto LQwYz; kH4QG: $u_nip = "\x69\x73\137\165\156\x69\161\x75\145\133\x6d\141\163\x74\145\x72\x5f\147\x75\162\x75\x2e\x6e\x69\160\x5d"; goto yaV4S; mcg_v: $this->load->model("\x4d\141\x73\164\145\162\137\155\x6f\x64\145\154", "\155\141\x73\164\x65\x72"); goto T5IYv; GG6vk: $action = $this->master->create("\x6d\x61\163\164\145\x72\137\147\x75\162\x75", $input); goto O931U; IIbOc: f3kJw: goto m91dG; eTTHF: goto JSi8A; goto vtdLK; mb6Jw: $this->form_validation->set_rules("\156\151\160", "\x4e\111\120", "\162\145\x71\x75\x69\162\145\x64\x7c\156\165\155\145\x72\x69\x63\x7c\164\x72\151\x6d\x7c" . $u_nip); goto csQ_9; jVhB3: $input = ["\156\151\x70" => trim($nip ?? ''), "\156\x61\155\x61\137\147\165\x72\165" => trim($nama_guru ?? ''), "\x75\163\x65\162\x6e\141\155\145" => trim($username ?? ''), "\x70\141\x73\x73\167\157\x72\144" => trim($password ?? ''), "\146\157\164\157" => "\165\x70\x6c\x6f\x61\144\163\57\x70\162\x6f\146\151\x6c\145\163\x2f" . trim($nip ?? "\x30\60") . "\56\152\x70\x67"]; goto GG6vk; NFv0M: $this->form_validation->set_rules("\160\x61\163\x73\x77\157\162\x64", "\x50\x61\163\x73\x77\x6f\162\144", "\x72\x65\161\165\x69\x72\x65\x64"); goto nSQFR; csQ_9: $this->form_validation->set_rules("\x6e\141\155\141\x5f\147\165\x72\165", "\x4e\x61\155\141\40\x47\x75\162\165", "\x72\145\161\x75\x69\162\145\144\x7c\x74\162\151\x6d\174\x6d\151\156\137\154\x65\156\147\x74\150\x5b\62\x5d"); goto LuLtf; m91dG: $this->output_json(["\x73\164\x61\164\165\163" => true]); goto xF4eR; yaV4S: $u_username = "\x7c\x69\x73\x5f\x75\156\x69\x71\x75\x65\133\155\141\x73\164\145\x72\137\147\165\162\165\x2e\x75\x73\x65\162\156\141\155\145\x5d"; goto mb6Jw; LuLtf: $this->form_validation->set_rules("\x75\163\145\162\x6e\x61\x6d\x65", "\125\x73\x65\162\x6e\x61\155\x65", "\162\x65\x71\165\151\162\145\144\x7c\164\x72\151\x6d" . $u_username); goto NFv0M; Kld5l: JSi8A: goto MCc_m; nSQFR: if ($this->form_validation->run() == FALSE) { goto AcRpX; } goto jVhB3; BPJDq: goto wSDg4; goto IIbOc; MCc_m: } public function save() { goto Qo35e; Bw17x: $u_email = "\x7c\151\163\137\x75\x6e\151\161\x75\x65\133\x67\x75\x72\165\56\x65\x6d\x61\151\154\135"; goto H8sUe; BuGWE: $method = $this->input->post("\155\x65\164\150\x6f\144", true); goto TOtgD; tP9MC: $this->form_validation->set_rules("\156\x69\160", "\116\x49\x50", "\x72\x65\161\165\151\162\145\x64\x7c\x74\x72\151\x6d\x7c\155\151\x6e\137\154\x65\156\x67\x74\x68\133\70\135" . $u_nip); goto cwOdr; LHua3: ZuV0B: goto Q6fhO; JnEMZ: goto u3P0Y; goto mN6aP; K1m3Q: $input = ["\x6e\151\x70" => $nip, "\x6e\x61\x6d\141\x5f\x67\x75\x72\165" => $nama_guru, "\x65\x6d\141\151\154" => $email, "\155\x61\160\x65\x6c\x5f\151\144" => $mapel]; goto bWHWa; cpif3: $nip = $this->input->post("\156\x69\x70", true); goto y7LnT; zwfPh: $mapel = $this->input->post("\160\141\x73\x73\x77\157\x72\144", true); goto hISKS; vNgQn: goto sCGBQ; goto UTKXm; t2zB1: goto uavXV; goto P6Owh; sO8vk: $this->form_validation->set_rules("\x6d\x61\x70\x65\x6c", "\115\141\x74\141\40\x4b\165\x6c\x69\x61\x68", "\x72\145\161\165\151\162\x65\144"); goto KlFJ3; P6Owh: rfm7A: goto QDh3E; rLagg: $data = ["\163\164\x61\x74\x75\163" => false, "\145\x72\x72\x6f\162\x73" => ["\x6e\151\x70" => form_error("\156\151\x70"), "\156\141\155\x61\x5f\x67\165\x72\165" => form_error("\x6e\141\x6d\141\137\x67\x75\x72\x75"), "\145\x6d\x61\151\154" => form_error("\145\155\141\x69\x6c"), "\x6d\x61\x70\145\154" => form_error("\155\x61\160\x65\x6c")]]; goto iXf3I; H8sUe: uavXV: goto tP9MC; HdIsJ: sCGBQ: goto HNRBG; KlFJ3: if ($this->form_validation->run() == FALSE) { goto IdQJa; } goto K1m3Q; xu0r3: $this->output_json(["\x73\x74\141\x74\165\163" => true]); goto xHSRr; N_o2J: $this->output_json(["\x73\x74\x61\x74\x75\163" => false]); goto JnEMZ; ULH4d: lYRrz: goto VP6g0; TOtgD: $id_guru = $this->input->post("\x69\x64\x5f\147\x75\x72\165", true); goto cpif3; X0Yt0: $email = $this->input->post("\x65\155\141\x69\x6c", true); goto zwfPh; K2zAo: $u_nip = $dbdata->nip === $nip ? '' : "\x7c\x69\x73\x5f\165\x6e\x69\x71\x75\x65\x5b\147\165\162\165\56\156\x69\x70\135"; goto YwyB2; Q6fhO: $action = $this->master->create("\155\x61\x73\164\x65\x72\x5f\x67\165\x72\x75", $input); goto ULH4d; YwyB2: $u_email = $dbdata->email === $email ? '' : "\174\151\163\137\x75\x6e\x69\x71\165\x65\133\147\x75\x72\x75\56\145\x6d\x61\151\154\135"; goto t2zB1; c2CX0: ICjLr: goto Ekn7J; mN6aP: le3pg: goto xu0r3; xHSRr: u3P0Y: goto vNgQn; lQBZR: $action = $this->master->update("\x6d\141\x73\x74\x65\x72\137\147\165\162\165", $input, "\151\x64\x5f\147\x75\162\165", $id_guru); goto c2CX0; bWHWa: if ($method === "\141\x64\x64") { goto ZuV0B; } goto aqMFP; cwOdr: $this->form_validation->set_rules("\156\141\155\141\137\x67\x75\x72\x75", "\x4e\141\x6d\141\40\107\x75\162\x75", "\x72\145\161\x75\x69\x72\x65\144\174\164\x72\151\x6d\174\155\x69\156\137\x6c\x65\156\x67\164\150\133\x33\x5d"); goto Ma46o; iXf3I: $this->output_json($data); goto HdIsJ; Qo35e: $this->load->model("\x4d\141\x73\x74\x65\x72\137\155\x6f\144\x65\x6c", "\155\x61\163\x74\x65\162"); goto BuGWE; y7LnT: $nama_guru = $this->input->post("\x6e\x61\x6d\x61\137\x67\165\162\x75", true); goto X0Yt0; VP6g0: if ($action) { goto le3pg; } goto N_o2J; QDh3E: $u_nip = "\x7c\x69\x73\137\165\x6e\x69\x71\165\145\x5b\x67\165\x72\x75\56\x6e\151\x70\135"; goto Bw17x; aqMFP: if (!($method === "\145\144\151\x74")) { goto ICjLr; } goto lQBZR; hISKS: if ($method == "\141\144\x64") { goto rfm7A; } goto tYUvn; tYUvn: $dbdata = $this->master->getGuruById($id_guru); goto K2zAo; Ekn7J: goto lYRrz; goto LHua3; Ma46o: $this->form_validation->set_rules("\x65\155\x61\151\x6c", "\x45\155\141\x69\154", "\162\145\x71\165\x69\x72\x65\x64\174\164\162\151\155\174\x76\x61\154\x69\x64\137\145\x6d\141\151\x6c" . $u_email); goto sO8vk; UTKXm: IdQJa: goto rLagg; HNRBG: } public function deleteGuru() { goto QcW8P; ZVUsF: foreach ($tables as $table) { goto rSlrf; QhJLM: DCRPf: goto WYAMA; BXFMy: if ($table == "\155\x61\x73\x74\x65\162\x5f\x6b\x65\x6c\141\x73") { goto HZ9NA; } goto ayWyB; ayWyB: $this->db->where("\151\x64\137\147\x75\x72\165", $chk); goto Ftg_0; KsSJ5: O4Vcs: goto kl995; cicqZ: $this->db->where("\x67\x75\x72\x75\x5f\151\x64", $chk); goto IwRei; PADZp: goto aEvyO; goto pUl9W; Ftg_0: $num = $this->db->count_all_results($table); goto PADZp; O2IF3: if (!($num > 0)) { goto DCRPf; } goto IKwlG; IwRei: $num = $this->db->count_all_results($table); goto Ceveo; pUl9W: HZ9NA: goto cicqZ; Ceveo: aEvyO: goto O2IF3; WYAMA: JePgz: goto KsSJ5; IKwlG: array_push($messages, $table); goto QhJLM; rSlrf: if (!($table != "\x6d\141\x73\x74\x65\x72\x5f\x67\165\162\x75")) { goto JePgz; } goto BXFMy; kl995: } goto LCZn5; QcW8P: $this->load->model("\x4d\141\163\164\x65\x72\137\155\x6f\144\145\154", "\x6d\141\163\x74\145\162"); goto yCEEK; FmpuL: $this->output_json($data); goto xD076; x2Ksw: $data["\163\164\x61\x74\165\163"] = $this->master->delete("\155\x61\x73\164\x65\x72\137\x67\x75\162\x75", $chk, "\151\144\x5f\x67\165\162\165"); goto FmpuL; hY6KW: wnHOj: goto boOIr; iOaml: $tables = []; goto BYuha; yCEEK: $chk = $this->input->post("\151\144\x5f\x67\165\162\x75", true); goto z9RX0; BYuha: $tabless = $this->db->list_tables(); goto TUi2L; boOIr: $this->output_json(["\143\x6f\165\156\x74" => count($messages), "\x73\164\x61\x74\x75\163" => false, "\155\145\x73\163\x61\x67\x65" => "\x44\141\x74\x61\40\147\165\162\165\x20\144\151\147\165\x6e\141\x6b\x61\156\x20\144\151\x20" . count($messages) . "\x20\x74\141\142\145\x6c\72\x3c\142\162\76" . implode("\74\x62\x72\x3e", $messages)]); goto y6Nkb; LCZn5: EOdWP: goto IjBlj; TUi2L: foreach ($tabless as $table) { goto WjPR7; XiX_x: Sq6GG: goto qL5Za; B9rhr: foreach ($fields as $field) { goto z0392; heYYx: mfPCN: goto i2ghg; Q3tIx: array_push($tables, $table); goto zNfox; z0392: if (!($field->name == "\x69\x64\x5f\x67\165\x72\165" || $field->name == "\x67\x75\x72\x75\137\151\x64")) { goto Q4IAM; } goto Q3tIx; zNfox: Q4IAM: goto heYYx; i2ghg: } goto XiX_x; WjPR7: $fields = $this->db->field_data($table); goto B9rhr; qL5Za: YOWUf: goto yke_1; yke_1: } goto Xw58F; y6Nkb: uKzyr: goto ZyC8w; xD076: goto uKzyr; goto hY6KW; IjBlj: if (count($messages) > 0) { goto wnHOj; } goto x2Ksw; z9RX0: $messages = []; goto iOaml; Xw58F: cdr4b: goto ZVUsF; ZyC8w: } public function detail($id_guru) { goto LzEC4; vxuLS: $data["\153\x65\x6c\x61\x73"] = $this->master->getAllKelas(); goto C9U8K; tIpsJ: $data["\163\x6d\164\x5f\x61\x63\x74\x69\x76\x65"] = $this->dashboard->getSemesterActive(); goto vxuLS; GpQrG: $user = $this->ion_auth->user()->row(); goto yzyjT; oQRLf: $data["\164\x70"] = $this->dashboard->getTahun(); goto NX76C; Xrb8I: $this->load->view("\x5f\x74\145\155\160\154\141\x74\145\163\57\144\141\x73\x68\142\157\x61\x72\x64\57\137\150\x65\141\x64\145\x72", $data); goto AL4YB; yzyjT: $setting = $this->dashboard->getSetting(); goto b554G; LzEC4: $this->load->model("\115\x61\163\164\x65\x72\x5f\155\157\144\x65\x6c", "\x6d\x61\163\164\x65\x72"); goto UiBw3; b554G: $data = ["\x75\x73\145\x72" => $user, "\152\165\x64\165\154" => "\104\x65\x74\x61\151\x6c\x20\107\x75\x72\165", "\163\165\142\x6a\x75\x64\x75\154" => "\x49\x6e\146\x6f\x20\112\x61\142\x61\x74\x61\156\x20\107\165\162\x75", "\155\141\x70\145\x6c" => $this->master->getAllMapel(), "\x70\x72\x6f\x66\x69\x6c\145" => $this->dashboard->getProfileAdmin($user->id), "\x73\x65\x74\x74\151\x6e\x67" => $setting]; goto oQRLf; AL4YB: $this->load->view("\155\x61\x73\164\x65\x72\x2f\147\165\162\x75\x2f\x64\x65\164\x61\x69\154"); goto Z9NmW; C9U8K: $data["\151\x64\137\147\x75\x72\165"] = $id_guru; goto I5_PU; UiBw3: $this->load->model("\x44\x61\x73\150\x62\157\141\162\144\137\x6d\x6f\x64\x65\154", "\144\141\163\150\142\x6f\141\x72\x64"); goto GpQrG; I5_PU: $data["\x67\x75\x72\165"] = ["\x64\145\x74\141\x69\x6c" => $this->master->getGuruByArrId([$id_guru])[0], "\x6a\x61\142\141\164\x61\x6e" => $this->master->getDetailJabatanGuru($id_guru), "\x6d\141\164\145\162\x69" => $this->db->get_where("\x6b\145\x6c\141\163\x5f\x6d\x61\x74\145\162\151", "\151\144\x5f\x67\x75\162\165\x3d" . $id_guru)->num_rows(), "\143\x61\x74\141\164\x61\156\137\x6d\141\x70\x65\x6c" => $this->db->get_where("\153\145\x6c\141\x73\137\x63\141\x74\x61\164\x61\x6e\x5f\155\x61\160\145\154", "\x69\x64\x5f\147\165\162\165\x3d" . $id_guru)->num_rows(), "\142\141\156\153\137\x73\157\x61\154" => $this->db->get_where("\143\x62\164\x5f\142\x61\156\x6b\137\x73\157\x61\154", "\x62\141\156\153\x5f\x67\x75\162\165\137\x69\144\x3d" . $id_guru)->num_rows(), "\x70\x65\156\x67\141\167\141\x73" => $this->db->get_where("\143\142\x74\137\x70\145\x6e\x67\x61\x77\141\x73", "\151\x64\x5f\147\165\x72\x75\x20\114\x49\113\x45\x20\42\x25" . $id_guru . "\45\x22")->num_rows(), "\x70\157\x73\x74\163" => $this->db->get_where("\160\x6f\163\x74", "\x64\141\x72\x69\x3d" . $id_guru)->num_rows(), "\x63\157\155\x6d\145\156\164\163" => $this->db->get_where("\160\157\163\x74\x5f\x63\x6f\155\155\x65\x6e\164\x73", "\x64\x61\162\151\x3d" . $id_guru)->num_rows(), "\x72\x65\160\154\x69\145\x73" => $this->db->get_where("\160\x6f\163\x74\x5f\x72\145\x70\x6c\171", "\x64\x61\162\151\75" . $id_guru)->num_rows()]; goto Xrb8I; zW5Ws: $data["\x73\155\x74"] = $this->dashboard->getSemester(); goto tIpsJ; NX76C: $data["\164\x70\x5f\x61\x63\164\151\x76\x65"] = $this->dashboard->getTahunActive(); goto zW5Ws; Z9NmW: $this->load->view("\137\x74\x65\155\x70\154\x61\x74\145\163\57\144\141\x73\x68\142\x6f\141\x72\144\57\x5f\146\157\157\x74\145\x72"); goto sox2A; sox2A: } public function delete() { goto AJWF1; gUBeV: if (!$chk) { goto o2G24; } goto Wo2_T; U9LVB: bqmuj: goto ldY5k; gZ6U8: $this->output_json(["\163\x74\141\164\x75\163" => false]); goto U9LVB; FHQtN: $chk = $this->input->post("\143\x68\x65\x63\x6b\145\144", true); goto gUBeV; AJWF1: $this->load->model("\x4d\x61\x73\164\145\x72\x5f\155\157\144\145\154", "\x6d\x61\x73\x74\145\162"); goto FHQtN; uZs0t: $this->output_json(["\163\164\x61\x74\165\x73" => true, "\164\x6f\164\x61\154" => count($chk)]); goto xFTv2; Wo2_T: if (!$this->master->delete("\x6d\141\x73\164\x65\x72\x5f\x67\165\162\x75", $chk, "\x69\144\x5f\x67\165\x72\165")) { goto k6rO7; } goto uZs0t; R4WJU: o2G24: goto gZ6U8; xFTv2: k6rO7: goto wK53W; wK53W: goto bqmuj; goto R4WJU; ldY5k: } public function forceDelete() { goto GcOQv; UNHZu: $id_guru = $this->input->post("\x69\x64\x5f\147\165\162\x75", true); goto EdER0; PVzC4: $this->output_json($data); goto p9s01; EdER0: $data["\163\164\141\164\165\x73"] = $this->master->delete("\x6d\141\x73\x74\145\162\x5f\x67\165\162\x75", $id_guru, "\x69\x64\137\147\x75\162\165"); goto PVzC4; GcOQv: $this->load->model("\115\141\x73\164\145\x72\x5f\155\157\x64\x65\154", "\155\x61\163\164\x65\162"); goto UNHZu; p9s01: } public function create_user() { goto VqLey; wTSpm: $additional_data = ["\x66\151\x72\x73\x74\x5f\x6e\x61\x6d\x65" => $first_name, "\x6c\141\x73\x74\x5f\x6e\141\155\x65" => $last_name]; goto mafbw; VqLey: $this->load->model("\115\x61\x73\164\x65\x72\137\x6d\x6f\144\145\154", "\x6d\x61\x73\164\x65\162"); goto yYGk4; c2ImV: goto w1Y2U; goto c3XMF; HY9ka: $nama = explode("\40", $data->nama_guru ?? ''); goto KeHgP; bo9dC: DqMnq: goto lknJu; c3XMF: QMX2i: goto s4lIw; JvRKM: if ($this->ion_auth->username_check($username)) { goto ON7ka; } goto Uqhxn; hiw3S: $data = $this->master->getGuruById($id); goto HY9ka; YSSwY: $email = $data->email; goto wTSpm; W0xA_: $last_name = end($nama); goto oYkph; KeHgP: $first_name = $nama[0]; goto W0xA_; kmiP0: w1Y2U: goto qg9vc; XIrcM: $data = ["\163\x74\x61\164\165\x73" => true, "\x6d\163\147" => "\x55\x73\x65\x72\40\x62\x65\x72\150\x61\163\x69\154\x20\144\151\142\165\x61\164\56\40\116\x49\x50\x20\x64\151\147\x75\156\x61\153\141\156\x20\x73\x65\x62\141\147\x61\x69\40\x70\x61\163\163\167\157\162\x64\40\x70\x61\144\141\x20\x73\x61\141\164\40\x6c\157\147\151\x6e\x2e"]; goto c2ImV; lknJu: $this->output_json($data); goto wwR01; qg9vc: goto DqMnq; goto OSP2n; yYGk4: $id = $this->input->get("\x69\144", true); goto hiw3S; jKuz6: $data = ["\163\x74\141\164\165\x73" => false, "\155\x73\147" => "\125\x73\x65\x72\156\141\155\145\x20\164\x69\x64\141\153\40\x74\145\x72\163\145\144\x69\141\40\x28\163\x75\x64\141\150\40\144\x69\147\165\x6e\141\153\x61\x6e\51\x2e"]; goto bo9dC; OSP2n: ON7ka: goto jKuz6; s4lIw: $data = ["\163\x74\141\x74\x75\x73" => false, "\155\163\x67" => "\105\x6d\141\151\x6c\40\x74\x69\144\141\x6b\40\164\x65\162\163\x65\x64\151\x61\40\50\163\x75\144\x61\x68\x20\144\151\x67\x75\156\x61\x6b\x61\x6e\51\x2e"]; goto kmiP0; mafbw: $group = array("\62"); goto JvRKM; oYkph: $username = $data->nip; goto snOTO; JvfA0: $this->ion_auth->register($username, $password, $email, $additional_data, $group); goto XIrcM; Uqhxn: if ($this->ion_auth->email_check($email)) { goto QMX2i; } goto JvfA0; snOTO: $password = $data->nip; goto YSSwY; wwR01: } public function import($import_data = null) { goto xusgO; xusgO: $this->load->model("\115\x61\163\164\x65\x72\x5f\x6d\x6f\144\x65\154", "\155\x61\163\x74\x65\x72"); goto obXLJ; JpF7k: $data["\x74\x70\137\141\x63\x74\151\x76\x65"] = $this->dashboard->getTahunActive(); goto iS3h5; BCv1a: $user = $this->ion_auth->user()->row(); goto yO3Gj; hU33f: $data["\x73\155\x74\137\141\143\164\x69\x76\x65"] = $this->dashboard->getSemesterActive(); goto vnPj_; VCe5z: $this->load->view("\155\x61\x73\x74\x65\x72\57\x67\165\162\165\57\x61\x64\144"); goto a14jM; iS3h5: $data["\x73\155\x74"] = $this->dashboard->getSemester(); goto hU33f; a14jM: $this->load->view("\137\164\145\x6d\x70\154\x61\x74\x65\163\x2f\144\x61\x73\x68\x62\x6f\141\x72\x64\x2f\137\146\x6f\x6f\x74\x65\162"); goto nKpw2; pMP69: if (!($import_data != null)) { goto oYFS5; } goto Drlim; dRJs8: $data["\x74\160"] = $this->dashboard->getTahun(); goto JpF7k; vnPj_: $this->load->view("\137\164\145\155\x70\154\x61\164\x65\x73\57\144\x61\x73\x68\x62\x6f\141\162\x64\x2f\x5f\150\x65\141\x64\x65\162", $data); goto VCe5z; eG2jk: oYFS5: goto dRJs8; obXLJ: $this->load->model("\104\141\x73\x68\142\x6f\141\162\144\137\x6d\157\144\145\x6c", "\144\141\x73\150\142\x6f\141\x72\x64"); goto BCv1a; Drlim: $data["\151\x6d\x70\157\x72\164"] = $import_data; goto eG2jk; yO3Gj: $setting = $this->dashboard->getSetting(); goto Nf8x7; Nf8x7: $data = ["\x75\163\145\x72" => $user, "\x6a\165\144\x75\x6c" => "\x47\x75\162\165", "\163\x75\x62\152\165\x64\x75\x6c" => "\124\x61\155\142\x61\150\x20\x44\141\164\x61\40\x47\x75\x72\165", "\x6d\x61\x70\145\154" => $this->master->getAllMapel(), "\160\x72\x6f\x66\151\x6c\x65" => $this->dashboard->getProfileAdmin($user->id), "\x73\145\x74\x74\151\x6e\x67" => $setting]; goto pMP69; nKpw2: } public function do_import() { goto KeIor; l6R5d: $input = $this->input->post("\147\165\162\x75", true); goto hrTUt; nm42J: $data = ["\x73\x74\x61\164\x75\163" => false, "\x65\162\162\157\162\163" => $errors]; goto ERjiL; ZUFV_: $save = $this->master->create("\155\x61\x73\164\145\162\137\147\x75\x72\x75", $data_insert, true); goto N0Tcw; W3nae: foreach ($input as $guru) { goto uVtTq; ZakOT: $errors[] = ["\156\141\x6d\x61" => form_error("\62"), "\156\x69\160" => form_error("\x33"), "\165\x73\x65\x72\x6e\141\155\x65" => form_error("\x35"), "\160\141\163\163\x77\x6f\x72\x64" => form_error("\66")]; goto Q5oHN; t_IVP: $this->form_validation->set_rules("\66", "\x50\x61\163\163\167\x6f\x72\144", "\162\x65\x71\x75\151\x72\145\144\x7c\164\x72\x69\x6d\174\155\x69\x6e\137\154\x65\x6e\147\164\150\x5b\65\x5d\174\155\141\170\137\x6c\145\156\x67\x74\150\133\63\60\x5d"); goto hGXQN; uVtTq: $this->form_validation->set_data($guru); goto kt8Wo; oZjM2: $this->form_validation->set_rules("\x33", "\116\111\120", "\162\145\161\x75\x69\x72\x65\144\174\164\162\151\155\x7c\155\x69\156\137\x6c\145\x6e\147\x74\x68\133\66\x5d\174\155\141\170\x5f\x6c\x65\x6e\x67\164\x68\133\x33\60\135\174\151\x73\137\x75\156\x69\x71\165\x65\x5b\155\141\163\x74\145\162\x5f\147\x75\x72\165\x2e\x6e\151\160\135"); goto P65f_; P65f_: $this->form_validation->set_rules("\x35", "\125\x73\x65\x72\x6e\141\155\145", "\162\x65\161\x75\151\x72\145\144\x7c\164\162\151\155\174\155\x69\156\137\154\145\156\147\x74\150\x5b\x33\135\174\x6d\141\x78\137\154\x65\x6e\x67\x74\150\x5b\x33\x30\x5d\x7c\x69\163\x5f\x75\156\151\161\x75\145\133\155\141\x73\x74\145\162\x5f\147\165\x72\x75\x2e\x75\163\x65\162\156\141\155\145\x5d"); goto t_IVP; Rgr53: c8oH6: goto cMQtp; kt8Wo: $this->form_validation->set_rules("\x32", "\116\x61\x6d\141\40\107\x75\x72\165", "\162\145\x71\165\151\162\x65\144\174\164\x72\x69\x6d\174\155\151\x6e\x5f\154\145\x6e\147\x74\150\x5b\61\x5d\x7c\x6d\x61\170\x5f\154\145\x6e\x67\164\150\x5b\65\60\x5d"); goto oZjM2; Q5oHN: h06AB: goto Rgr53; hGXQN: if (!($this->form_validation->run() == FALSE)) { goto h06AB; } goto ZakOT; cMQtp: } goto Z2JrP; N0Tcw: $data = ["\x73\x74\x61\x74\x75\x73" => true, "\x64\x61\x74\x61" => $save, "\x69\x6e\x73\145\162\164" => $data_insert]; goto DkTp5; ERjiL: GcH3U: goto GnYqG; pe1Iy: $data_insert = []; goto bh84M; hrTUt: $errors = []; goto W3nae; Z2JrP: SGP0U: goto XF3LJ; Bl8Ch: Di03P: goto ZUFV_; DkTp5: goto GcH3U; goto Cryfn; bh84M: foreach ($input as $guru) { goto Eqx1X; EZ33z: f_Bsb: goto Jp5bg; c6dG3: if (!($extension == "\x6a\x70\145\147")) { goto H_TdI; } goto mDuW_; AW7l8: H_TdI: goto LeN9n; mDuW_: $extension = "\152\x70\147"; goto AW7l8; ij5HN: if (!isset($guru["\67"])) { goto jruTB; } goto fltwi; LeN9n: $output_file = trim($guru["\x33"] ?? "\x30\x30") . "\x2e" . $extension; goto LESUX; Zb53x: $data_insert[] = ["\x6e\x61\x6d\x61\137\147\x75\162\165" => trim($guru["\x32"] ?? ''), "\x6e\x69\x70" => trim($guru["\63"] ?? ''), "\153\x6f\x64\x65\x5f\x67\x75\162\165" => trim($guru["\64"] ?? ''), "\165\163\145\162\x6e\141\155\145" => trim($guru["\x35"] ?? ''), "\x70\141\x73\x73\167\x6f\162\144" => trim($guru["\66"] ?? ''), "\x66\157\164\x6f" => $foto]; goto EZ33z; Eqx1X: $foto = "\165\160\x6c\157\x61\144\x73\x2f\160\162\157\x66\151\x6c\145\163\57" . trim($guru["\63"] ?? "\x30\x30") . "\56\152\x70\x67"; goto ij5HN; s8vGN: $foto = "\x75\160\154\x6f\141\x64\x73\57\160\162\x6f\146\x69\x6c\x65\163\x2f" . $output_file; goto eNwWi; fltwi: $base64_image_string = $guru["\x37"]; goto XJaLo; LESUX: file_put_contents("\56\57\x75\x70\x6c\157\x61\x64\163\x2f\160\x72\x6f\x66\151\x6c\x65\x73\57" . $output_file, base64_decode($base64_image_string)); goto s8vGN; eNwWi: jruTB: goto Zb53x; XJaLo: $extension = $guru["\70"]; goto c6dG3; Jp5bg: } goto Bl8Ch; Cryfn: LBwZJ: goto nm42J; XF3LJ: if (count($errors) > 0) { goto LBwZJ; } goto pe1Iy; GnYqG: $this->output_json($data); goto Ierni; KeIor: $this->load->model("\115\x61\x73\x74\x65\162\137\155\157\x64\145\x6c", "\x6d\x61\x73\164\145\x72"); goto l6R5d; Ierni: } public function editJabatan($id) { goto hDseg; gpBat: $data["\153\x65\x6c\141\x73\x73"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt); goto UEGSB; TWZm_: $data["\x73\155\x74\137\141\143\164\x69\166\x65"] = $smt; goto HOUGm; U1ts_: $this->load->model("\115\x61\163\164\145\162\137\155\x6f\144\145\x6c", "\x6d\x61\x73\164\145\x72"); goto iIBPA; YPxLI: $data["\147\165\162\x75"] = $guru; goto Zda5r; UEGSB: $data["\155\x61\x70\145\154\163"] = $this->dropdown->getAllMapel(); goto FdgKB; g9yhc: $data["\x62\x65\x66\x6f\x72\145"] = ["\153\145\x6c\141\163\163" => $this->dropdown->getAllKelas($tp2, $smt2), "\147\x75\162\x75" => $guru_before]; goto sWKhC; VTIOI: $guru_before->mapel_kelas = json_decode(json_encode(unserialize($guru_before->mapel_kelas ?? ''))); goto XkoSV; LimfH: $guru = $this->master->getJabatanGuru($id, $tp->id_tp, $smt->id_smt); goto bumIo; sWKhC: $this->load->view("\x5f\x74\145\x6d\x70\x6c\x61\x74\145\x73\57\144\x61\163\150\x62\x6f\x61\x72\144\57\137\150\145\x61\144\x65\x72", $data); goto zpZz3; HOUGm: $group = $this->ion_auth->get_users_groups($user->id)->row()->name; goto V6wO_; KDkQp: $tp = $this->dashboard->getTahunActive(); goto Shct2; n13jn: $data = ["\165\x73\x65\162" => $user, "\152\x75\144\165\154" => "\112\141\x62\x61\164\x61\156\40\x47\x75\x72\165", "\163\x75\142\152\165\x64\x75\x6c" => "\105\x64\x69\164\40\112\x61\142\141\164\141\x6e\x20\107\x75\x72\x75", "\160\162\x6f\146\x69\x6c\145" => $this->dashboard->getProfileAdmin($user->id), "\x73\145\x74\164\x69\x6e\147" => $this->dashboard->getSetting()]; goto YPxLI; Shct2: $smt = $this->dashboard->getSemesterActive(); goto LimfH; yIaan: $data["\163\155\164"] = $this->dashboard->getSemester(); goto TWZm_; bumIo: $user = $this->ion_auth->user()->row(); goto n13jn; hDseg: $this->load->model("\104\162\157\x70\144\157\x77\156\137\155\x6f\144\x65\x6c", "\144\162\157\x70\144\157\167\156"); goto U1ts_; Vpc4s: $data["\164\160\x5f\141\x63\x74\x69\166\x65"] = $tp; goto yIaan; zpZz3: $this->load->view("\155\141\x73\164\x65\x72\x2f\x67\x75\x72\165\57\145\x64\151\x74\x6d\141\160\145\x6c"); goto qvrEL; CX5Q_: $tp2 = $smt->id_smt == "\x31" ? $tp->id_tp - 1 : $tp->id_tp; goto obj_L; WlZHX: $data["\145\x6b\163\153\165\x6c"] = $this->dropdown->getAllEkskul(); goto Zd8n5; XkoSV: $guru_before->ekstra_kelas = json_decode(json_encode(unserialize($guru_before->ekstra_kelas ?? ''))); goto g9yhc; F56Wc: tL2pq: goto gpBat; qvrEL: $this->load->view("\x5f\164\x65\155\160\x6c\x61\x74\x65\163\x2f\x64\141\163\150\x62\157\x61\162\144\x2f\x5f\146\157\x6f\164\145\162"); goto cie11; iIBPA: $this->load->model("\x44\x61\x73\150\x62\x6f\x61\162\144\137\155\x6f\144\145\x6c", "\x64\x61\163\150\142\x6f\141\162\144"); goto KDkQp; obj_L: $guru_before = $this->master->getJabatanGuru($id, $tp2, $smt2); goto VTIOI; V6wO_: if (!($group === "\x61\144\x6d\151\x6e")) { goto tL2pq; } goto gRD5K; gRD5K: $data["\147\162\157\165\160\163"] = $this->ion_auth->groups()->result(); goto F56Wc; Zd8n5: $data["\153\x75\x72"] = $smt; goto El_kM; FdgKB: $data["\x6c\x65\x76\x65\154\x73"] = $this->dropdown->getAllLevelGuru(); goto WlZHX; El_kM: $smt2 = $smt->id_smt == "\x31" ? "\x32" : "\x31"; goto CX5Q_; Zda5r: $data["\164\x70"] = $this->dashboard->getTahun(); goto Vpc4s; cie11: } public function saveJabatan() { goto GpTJ9; qp3s7: $ekstras = []; goto Otyv2; Mk1Px: $update = $this->db->replace("\152\x61\142\141\x74\141\x6e\x5f\x67\165\162\x75", $data); goto y_HSY; hg1xC: if (!isset($kelass2[$kelasekstra])) { goto pw5qk; } goto QTtV6; egJVf: $row_mapels = count($this->input->post("\155\141\160\x65\154", true)); goto UTFO1; kf0nE: if (!$check) { goto MLYoE; } goto KgcWz; c_hvi: $nama_mapel = $this->input->post("\156\141\x6d\x61\137\155\141\160\145\154" . $mapel, true); goto rUz11; bVM2k: if ($this->input->post()) { goto uPxzd; } goto S6pfm; UE6gX: vqJxW: goto OIk2F; CSh2c: if (!$check) { goto eDL6c; } goto Um1ew; QO8ci: KS3TH: goto rjOyz; iIz9m: Weacx: goto DpwrY; Crv0g: $tp2 = $smt->id_smt == "\x31" ? $tp->id_tp - 1 : $tp->id_tp; goto yR2wR; ItcDT: $tmp_nama = $kelass2[$kelasmapel]; goto rFvpO; IO3NF: $smt = $this->master->getSemesterActive(); goto hiMON; gE2wm: LgXDR: goto R7x6P; rFvpO: if (!isset($kelass1[$tmp_nama])) { goto KS3TH; } goto XyajQ; SnwMj: KgCtY: goto NVzk3; RP1P5: $wali = $this->input->post("\153\145\x6c\x61\x73\137\167\x61\x6c\x69", true); goto DKcDd; UzpqC: pw5qk: goto in8Aa; Blv5m: $kelas = []; goto JhfdZ; XjVGs: DHc0j: goto x_Faw; vI0qk: BMcoV: goto iIz9m; nqqNn: if ($copy) { goto ao_tN; } goto FTrTe; R7x6P: if (!($i <= $row_ekstras)) { goto BMcoV; } goto NGQNp; K_QPu: $id_guru = $this->input->post("\151\x64\x5f\147\x75\162\x75", true); goto a8KLz; a8KLz: $id_level = $this->input->post("\x6c\145\166\145\x6c", true); goto RP1P5; LzHs6: D5PTe: goto AGP9H; NGQNp: $ekstra = $this->input->post("\x65\x6b\163\164\x72\x61\133" . $i . "\x5d", true); goto PYvCz; fZ2Xo: $data = ["\151\x64\137\152\x61\x62\141\164\141\156\137\x67\165\162\165" => $id_guru . $tp->id_tp . $smt->id_smt, "\x69\x64\x5f\x67\165\162\x75" => $id_guru, "\151\x64\x5f\x6a\141\x62\141\x74\141\156" => $id_level, "\x69\144\137\x6b\145\x6c\x61\163" => $kelas_wali == null ? 0 : $kelas_wali, "\155\141\x70\x65\x6c\x5f\x6b\145\154\x61\163" => $kelas_mapel_guru, "\x65\x6b\163\164\162\141\137\x6b\x65\154\141\163" => $kelas_ekstra_guru, "\151\x64\x5f\164\x70" => $tp->id_tp, "\151\x64\x5f\x73\155\164" => $smt->id_smt]; goto bVM2k; ortgc: $kelas[] = ["\x6b\145\x6c\x61\163" => $kelasmapel]; goto rvLtE; S8khH: $kelas_wali = $kelass1[$tmp_wali]; goto YcSTu; hWUYz: $kelas = []; goto HNCg4; Otyv2: $check_ekstra = $this->input->post("\x65\x6b\x73\x74\x72\141", true); goto IjvJl; wbKKL: $check = $this->input->post("\x6b\x65\x6c\x61\163\x65\x6b\x73\x74\x72\141" . $ekstra, true); goto CSh2c; XyajQ: $kelas[] = ["\153\145\154\x61\163" => $kelass1[$tmp_nama]]; goto QO8ci; cFYQf: $i = 0; goto gE2wm; Le4rv: as3wL: goto hg1xC; rvLtE: goto DHc0j; goto dzJiB; HNCg4: $j = 0; goto kIBwk; Suxn1: $mapels[] = ["\151\x64\137\155\x61\x70\x65\x6c" => $mapel, "\x6e\141\155\x61\137\x6d\x61\x70\x65\154" => $nama_mapel, "\x6b\145\154\x61\x73\x5f\x6d\141\160\145\154" => $kelas]; goto YG0q8; fxUJg: goto BfQxS; goto SnwMj; TPzx_: $this->load->model("\x4d\x61\163\x74\x65\162\137\x6d\x6f\x64\x65\x6c", "\x6d\141\x73\x74\x65\x72"); goto doinG; i5gy8: $tp = $this->master->getTahunActive(); goto IO3NF; vcWzf: $check_mapel = $this->input->post("\155\x61\x70\145\x6c", true); goto AD39i; bhggi: falQv: goto swCzC; EMiP9: D0L1Q: goto lo2Xk; ljUdp: $kelasmapel = $this->input->post("\153\145\x6c\x61\163\155\x61\x70\x65\x6c" . $mapel . "\133" . $j . "\135", true); goto ecw8P; hiMON: $smt2 = $smt->id_smt == "\61" ? "\x32" : "\61"; goto Crv0g; qyr00: if (!($j <= $row_kelas)) { goto KgCtY; } goto MGmle; tBgxn: uPxzd: goto Mk1Px; vRaB2: $kelas[] = ["\x6b\145\154\141\163" => $kelasekstra]; goto f4YyB; MGmle: $kelasekstra = $this->input->post("\153\145\154\141\x73\x65\153\x73\164\x72\141" . $ekstra . "\x5b" . $j . "\x5d", true); goto RsbFv; JhfdZ: $j = 0; goto tmn0u; kIBwk: SmEVR: goto wMcHm; y2Kh8: goto LgXDR; goto vI0qk; DKcDd: $copy = $this->input->post("\x63\157\160\171", true) != null; goto i5gy8; s2a9J: $j++; goto LoMZZ; EOopv: $tmp_wali = $kelass2[$wali]; goto S8khH; UGfRX: goto gR7jz; goto SuKPD; in8Aa: KCNwV: goto LzHs6; nyJDj: $row_ekstras = count($this->input->post("\145\153\163\164\x72\141", true)); goto cFYQf; eklQR: if (!isset($kelass2[$kelasmapel])) { goto dN_YQ; } goto ItcDT; DpwrY: $kelas_ekstra_guru = serialize($ekstras); goto fZ2Xo; RZqda: goto GTutO; goto RcwV_; NkcNy: gR7jz: goto QZngo; O9r1U: $this->output_json($res); goto f0fml; dzJiB: eoohD: goto eklQR; osZ7v: $kelass2 = $this->dropdown->getAllKelas($tp2, $smt2); goto nqqNn; x_Faw: oTGjt: goto s2a9J; f4YyB: goto KCNwV; goto Le4rv; ppp3b: $res["\155\x73\x67"] = $update ? "\x44\141\164\141\x20\142\145\162\x68\x61\163\151\x6c\40\144\151\163\151\x6d\160\141\156" : "\107\141\x67\x61\x6c\x20\x6d\145\156\171\151\155\x70\141\156\x20\144\141\x74\141"; goto hCY_M; KgcWz: $row_kelas = count($this->input->post("\x6b\x65\x6c\141\x73\x6d\141\x70\145\x6c" . $mapel, true)); goto hWUYz; RcwV_: ao_tN: goto EOopv; LoMZZ: goto SmEVR; goto VXdTa; QTtV6: $tmp_nama2 = $kelass2[$kelasekstra]; goto laOLq; hCY_M: wyvLq: goto O9r1U; SuKPD: XVz1w: goto UE6gX; NVzk3: $ekstras[] = ["\151\144\137\145\x6b\163\x74\x72\141" => $ekstra, "\x6e\x61\x6d\x61\x5f\145\x6b\x73\164\x72\141" => $nama_ekstra, "\153\145\x6c\141\163\x5f\145\x6b\x73\164\x72\x61" => $kelas]; goto WJ7Nb; Um1ew: $row_kelas = count($this->input->post("\153\x65\154\x61\163\145\x6b\x73\x74\x72\141" . $ekstra, true)); goto Blv5m; IjvJl: if (!$check_ekstra) { goto Weacx; } goto nyJDj; N48ZL: $mapel = $this->input->post("\x6d\x61\160\x65\x6c\133" . $i . "\135", true); goto c_hvi; tmn0u: BfQxS: goto qyr00; WJ7Nb: eDL6c: goto bhggi; fa2dP: goto wyvLq; goto tBgxn; swCzC: $i++; goto y2Kh8; UTFO1: $i = 0; goto NkcNy; PYvCz: $nama_ekstra = $this->input->post("\156\x61\x6d\141\137\x65\153\163\164\x72\141" . $ekstra, true); goto wbKKL; aB73l: $mapels = []; goto vcWzf; lo2Xk: $i++; goto UGfRX; wMcHm: if (!($j <= $row_kelas)) { goto eWqYT; } goto ljUdp; RsbFv: if ($copy) { goto as3wL; } goto vRaB2; rjOyz: dN_YQ: goto XjVGs; doinG: $this->load->model("\113\145\x6c\x61\163\137\x6d\157\x64\x65\x6c", "\x6b\x65\x6c\x61\x73"); goto K_QPu; YG0q8: MLYoE: goto EMiP9; laOLq: $kelas[] = ["\x6b\145\154\141\163" => $kelass1[$tmp_nama2]]; goto UzpqC; yR2wR: $kelass1 = $this->kelas->getNamaKelasByNama($tp->id_tp, $smt->id_smt); goto osZ7v; AD39i: if (!$check_mapel) { goto vqJxW; } goto egJVf; rUz11: $check = $this->input->post("\x6b\145\x6c\141\163\155\x61\160\x65\x6c" . $mapel, true); goto kf0nE; GpTJ9: $this->load->model("\x44\162\x6f\x70\144\x6f\167\156\x5f\x6d\x6f\x64\145\154", "\144\162\157\160\x64\157\x77\x6e"); goto TPzx_; QZngo: if (!($i <= $row_mapels)) { goto XVz1w; } goto N48ZL; S6pfm: $res["\x73\164\x61\164\x75\163"] = FALSE; goto OI6iW; OIk2F: $kelas_mapel_guru = serialize($mapels); goto qp3s7; OI6iW: $res["\155\x73\147"] = "\x45\x72\x72\x6f\x72\x20\160\157\163\x74\40\144\x61\164\x61"; goto fa2dP; VXdTa: eWqYT: goto Suxn1; AGP9H: $j++; goto fxUJg; ecw8P: if ($copy) { goto eoohD; } goto ortgc; y_HSY: $res["\x73\164\141\x74\x75\x73"] = $update; goto ppp3b; YcSTu: GTutO: goto aB73l; FTrTe: $kelas_wali = $wali; goto RZqda; f0fml: } public function getDataKelas() { goto Aph71; rsV0l: $data["\x6d\160\154\137\164\x65\x72\151\x73\x69"] = $mapel_terisi; goto cpUec; pqQFM: $tp = $this->dashboard->getTahunActive(); goto PiZWq; P0kPv: $jbtn = []; goto kV4Mc; LVVau: $data["\x6a\141\x62\141\x74\x61\x6e"] = $jbtn; goto rsV0l; Aph71: $this->load->model("\115\x61\163\x74\x65\x72\137\x6d\157\144\x65\x6c", "\x6d\x61\163\164\145\x72"); goto vJ9Gk; LWH9b: $mapel_terisi = []; goto zstgz; kV4Mc: foreach ($jabatans as $jabatan) { goto WRuyp; WRuyp: $mpl_kls = $jabatan->mapel_kelas = json_decode(json_encode(unserialize($jabatan->mapel_kelas ?? ''))); goto Mbwxu; AgyDZ: IaJO_: goto kekN1; mVVov: $jbtn[$jabatan->id_jabatan][$jabatan->id_kelas] = ["\x6e\x61\x6d\x61" => $jabatan->nama_guru, "\151\x64" => $jabatan->id_guru]; goto HCjPp; MGydF: foreach ($mpl_kls as $mpls) { goto h0z1s; RJEYe: foreach ($mpls->kelas_mapel as $mpl) { $klss[] = $mpl->kelas; ywVEE: } goto taisf; h0z1s: $klss = []; goto RJEYe; E5Gf6: $mapel_terisi[$mpls->id_mapel][$jabatan->id_guru] = ["\x69\x64\137\147\x75\162\x75" => $jabatan->id_guru, "\x67\165\x72\165" => $jabatan->nama_guru, "\x6b\x65\x6c\141\163" => $klss]; goto mYhdK; taisf: iKm6z: goto E5Gf6; mYhdK: rqWpM: goto fqaxB; fqaxB: } goto AgyDZ; Mbwxu: $eks_kls = $jabatan->ekstra_kelas = json_decode(json_encode(unserialize($jabatan->ekstra_kelas ?? ''))); goto MGydF; HCjPp: cfLFU: goto Gz1Nc; kekN1: foreach ($eks_kls as $eks) { goto mcAam; ijF5q: $ekstra_terisi[$eks->id_ekstra][$jabatan->id_guru] = ["\x69\x64\137\147\x75\x72\x75" => $jabatan->id_guru, "\x67\x75\162\165" => $jabatan->nama_guru, "\153\x65\154\141\163" => $klse]; goto PNDTy; ZGrzB: qhrhW: goto ijF5q; PNDTy: UqBsx: goto RW2Ao; mcAam: $klse = []; goto qdgwP; qdgwP: foreach ($eks->kelas_ekstra as $ek) { $klse[] = $ek->kelas; s5M08: } goto ZGrzB; RW2Ao: } goto fxJNS; fxJNS: qoCyF: goto mVVov; Gz1Nc: } goto Q3ZO_; vJ9Gk: $this->load->model("\104\x61\x73\x68\x62\157\141\162\144\137\155\x6f\144\145\x6c", "\144\x61\x73\x68\142\x6f\141\162\x64"); goto WCIPB; PiZWq: $smt = $this->dashboard->getSemesterActive(); goto eKCYp; mF0QO: $this->output_json($data); goto liTOG; cpUec: $data["\x65\x6b\163\x5f\164\145\162\151\x73\x69"] = $ekstra_terisi; goto n7g9Z; eKCYp: $jabatans = $this->master->getGuruMapel($tp->id_tp, $smt->id_smt); goto LWH9b; zstgz: $ekstra_terisi = []; goto P0kPv; WCIPB: $this->load->model("\125\x73\145\162\x73\x5f\155\157\144\x65\154", "\165\163\145\162\163"); goto pqQFM; n7g9Z: $data["\153\145\x6c\141\x73"] = $this->users->getKelas($tp->id_tp, $smt->id_smt); goto mF0QO; Q3ZO_: aHShg: goto LVVau; liTOG: } public function addjabatan() { goto HTNlG; y0mSv: $insert = ["\151\x64\x5f\154\x65\x76\145\x6c" => $id, "\x6c\145\166\x65\x6c" => $this->input->post("\x6c\x65\x76\x65\154", true)]; goto T4F9u; HTNlG: $mode = $this->input->post("\x6d\x6f\x64\145", true); goto RJk73; EE6Jp: I2A4d: goto QVjwa; QVjwa: $data = ["\x73\165\x63\x63\x65\x73\x73" => $replaced, "\155\x73\147" => $replaced ? "\123\165\x6b\163\145\x73\x20" . $s_mode . "\40\x6a\141\142\x61\164\x61\x6e" : "\107\x61\147\x61\154\40" . $s_mode . "\x20\152\x61\x62\x61\164\141\x6e"]; goto Jvb5G; rdVQo: goto I2A4d; goto KT5x8; T4F9u: $replaced = $this->db->replace("\154\x65\166\145\154\x5f\147\x75\162\x75", $insert); goto EE6Jp; RJk73: $id = $this->input->post("\151\144\x5f\154\145\x76\x65\154", true); goto x3wyM; x3wyM: $s_mode = $mode == "\x31" ? "\x6d\x65\156\x79\x69\155\x70\141\156" : "\155\x65\156\147\x68\x61\160\x75\x73"; goto OgxH0; K7CUZ: $replaced = $this->db->delete("\x6c\x65\x76\x65\154\137\x67\165\162\165", "\151\x64\137\154\145\166\x65\154\x3d" . $id); goto rdVQo; KT5x8: dq6Vq: goto y0mSv; OgxH0: if ($mode == "\61") { goto dq6Vq; } goto K7CUZ; Jvb5G: $this->output_json($data); goto UTcEZ; UTcEZ: } }

Function Calls

None

Variables

None

Stats

MD5 a3d7d963f70f085893fcdf48d299d21b
Eval Count 0
Decode Time 61 ms