goto I_dDg; qyfB5: $this->form_validation->set_error_delimiters('', ''); goto ZB_uk; QMsKp: ONl1r: goto NpMk7; p70ID: if (!$this->ion_auth->logged_in()) { goto ONl1r; } goto ywAVz; MvSJT: goto d3SPp; goto QMsKp; iT3Jb: $this->load->library(["\x64\141\x74\141\164\x61\x62\154\145\163", "\x66\x6f\162\x6d\x5f\166\141\154\x69\x64\x61\164\151\157\x6e"]); goto qyfB5; rbEjV: show_error("\x48\141\156\171\x61\40\101\144\155\151\x6e\x69\163\164\x72\141\164\157\x72\x20\171\x61\x6e\x67\x20\144\x69\x62\145\162\x69\x20\150\x61\153\40\x75\156\x74\x75\x6b\40\x6d\145\156\x67\x61\x6b\x73\145\x73\40\150\141\154\141\155\141\156\x20\x69\156\x69\x2c\40\74\141\40\x68\x72\x65\146\75\42" . base_url("\x64\141\x73\x68\142\157\x61\x72\144") . "\x22\76\113\145\155\x62\141\x6c\151\x20\x6b\x65\x20\155\145\x6e\165\x20\141\x77\x61\x6c\x3c\x2f\x61\x3e", 403, "\x41\x6b\163\x65\x73\40\124\x65\x72\154\141\162\141\x6e\147"); goto AfhiQ; ywAVz: if (!(!$this->ion_auth->is_admin() && !$this->ion_auth->in_group("\147\165\x72\x75"))) { goto ni_wH; } goto rbEjV; NpMk7: redirect("\141\x75\x74\150"); goto tkfJc; AfhiQ: ni_wH: goto MvSJT; I_dDg: parent::__construct(); goto p70ID; tkfJc: d3SPp: goto iT3Jb; ZB_uk: } public function output_json($data, $encode = true) { goto OEcZk; RvYKf: $this->output->set_content_type("\141\160\x70\x6c\151\x63\141\164\x69\157\x6e\57\152\x73\x6f\x6e")->set_output($data); goto VvTHU; CVN_x: fypYC: goto RvYKf; u9v7E: $data = json_encode($data); goto CVN_x; OEcZk: if (!$encode) { goto fypYC; } goto u9v7E; VvTHU: } function generateTahunMasuk($tp, $level) { goto SA_2M; qAiRl: $thn = $tahun; goto eBv3B; nDtYz: if ($level == 7) { goto jV1Lt; } goto gc9Es; AXZZ2: return $thn; goto jnvS3; pT4Rj: $thn = $tahun - 1; goto UNXDy; Fj49R: goto QBh3A; goto NpQbg; vhQ7X: $thn = $tahun - 2; goto Fj49R; FtEV5: if ($level == 9) { goto aFIhd; } goto aCh0v; NpQbg: fA0a4: goto pT4Rj; xF0fC: jV1Lt: goto qAiRl; mpGWy: aFIhd: goto vhQ7X; eBv3B: QBh3A: goto AXZZ2; gc9Es: goto QBh3A; goto mpGWy; UNXDy: goto QBh3A; goto xF0fC; aCh0v: if ($level == 8) { goto fA0a4; } goto nDtYz; YKXoF: $thn = $tahun; goto FtEV5; SA_2M: $tahun = explode("\x2f", $tp)[0]; goto YKXoF; jnvS3: } public function index() { goto KkSHr; XwvwI: FbSta: goto VPuyW; t6U8d: JVc6J: goto mx0g5; EgS1H: $fisik_siswa = $this->rapor->getAllRaporFisik(); goto Fx92Q; RIEwn: $this->load->view("\137\x74\x65\x6d\x70\154\141\x74\x65\x73\57\144\x61\x73\x68\142\157\141\162\144\57\x5f\150\x65\x61\x64\145\x72", $data); goto zFCG8; Bfc1A: $setting = $this->dashboard->getSetting(); goto uE2MC; rAd3a: $level = $setting->jenjang == "\x31" ? "\66" : ($setting->jenjang == "\62" ? "\71" : ($setting->jenjang == "\61" ? "\x33" : "\x31\62")); goto m5I84; dN1zp: $data["\x73\x6d\x74"] = $arrSmt; goto XrdEg; GSND1: $count_induk = $this->db->count_all("\142\165\x6b\165\137\x69\x6e\x64\165\x6b"); goto bY5nN; HEOdS: $data["\x64\x65\164\141\151\x6c"] = $data_siswa; goto Y9DqF; KKozw: $user = $this->ion_auth->user()->row(); goto Bfc1A; iNGes: $deskFisik = $this->rapor->getAllDeskripsiFisikKelas(); goto EgS1H; zFCG8: $this->load->view("\163\x65\x74\x74\151\x6e\147\57\151\x6e\x64\x75\153"); goto J5OtF; E5inZ: $data["\x74\160\137\x61\143\164\x69\166\145"] = $tp; goto dN1zp; BCQlV: $this->load->model("\x52\x61\160\157\x72\137\155\157\144\x65\154", "\x72\141\x70\157\162"); goto KKozw; Y9DqF: $data["\x61\162\162\x5f\x74\145\163\164"] = $thn_siswa; goto rAd3a; SiudM: $data["\160\162\157\x66\x69\x6c\145"] = $this->dashboard->getProfileAdmin($user->id); goto hQqFw; bY5nN: if (!($count_siswa > $count_induk)) { goto FbSta; } goto srSRp; J77kS: $data["\163\151\163\x77\141\163"] = $siswas; goto HEOdS; J5OtF: $this->load->view("\x5f\164\x65\x6d\160\154\x61\164\145\x73\x2f\144\141\163\150\x62\157\141\162\144\57\x5f\x66\x6f\x6f\x74\145\162"); goto n2TWa; VPuyW: $siswas = $this->master->getDataInduk(); goto iNGes; TPOSL: $data["\156\x6f\x69\x6e\x64\x75\x6b"] = $noinduk; goto J77kS; ILIrx: $data["\164\160"] = $arrTp; goto E5inZ; cLVOa: $arrSmt = $this->dashboard->getSemester(); goto IKaAO; vwswQ: $thn_siswa = []; goto kZ1xk; uE2MC: $data = ["\165\163\x65\x72" => $user, "\152\165\x64\x75\x6c" => "\102\x75\153\165\40\111\156\x64\165\153", "\x73\x75\142\152\x75\x64\165\154" => "\x42\x75\153\165\x20\111\156\x64\x75\x6b", "\163\x65\x74\x74\151\x6e\x67" => $setting]; goto SPT9C; mx0g5: $data["\162\x61\x70\157\x72\x5f\146\x69\163\151\153"] = $rapor_fisik; goto TPOSL; X8LS_: ZFwQp: goto XwvwI; m5I84: $data["\x6a\165\155\x6c\x61\x68\137\154\x75\x6c\165\163"] = $this->rapor->getJumlahLulus($tp->id_tp - 1, "\x32", $level); goto RIEwn; qXXob: $this->load->model("\x44\141\163\150\142\157\141\162\x64\x5f\x6d\x6f\x64\145\x6c", "\x64\x61\x73\150\x62\x6f\141\162\x64"); goto BCQlV; c5OEl: foreach ($uids as $uid) { goto tAXxL; ezaFV: micl2: goto W2ogm; tAXxL: $check = $this->db->select("\151\144\137\163\x69\163\167\141")->from("\x62\165\x6b\165\137\x69\156\144\x75\153")->where("\151\144\x5f\163\151\x73\x77\141", $uid->id_siswa); goto AifKP; AifKP: if (!($check->get()->num_rows() == 0)) { goto PtqV2; } goto lzhv3; lzhv3: $this->db->insert("\142\165\x6b\x75\x5f\x69\156\144\165\x6b", $uid); goto s7VD2; s7VD2: PtqV2: goto ezaFV; W2ogm: } goto X8LS_; hQqFw: $count_siswa = $this->db->count_all("\x6d\141\163\x74\x65\162\x5f\x73\151\163\167\x61"); goto GSND1; SPT9C: $arrTp = $this->dashboard->getTahun(); goto cLVOa; XrdEg: $data["\163\x6d\x74\137\x61\x63\164\x69\166\145"] = $smt; goto SiudM; YCwh6: $smt = $this->dashboard->getSemesterActive(); goto ILIrx; KkSHr: $this->load->model("\115\141\x73\x74\145\162\x5f\x6d\157\x64\145\x6c", "\155\141\x73\164\145\162"); goto qXXob; Fx92Q: $data_siswa = []; goto vwswQ; kZ1xk: foreach ($siswas as $id_siswa => $siswa) { goto LXjWy; YpaTy: $tahunMasuk = explode("\55", $siswa->tahun_masuk)[0]; goto bvr4q; Aze3r: goto yLwF4; goto OujeW; GlR09: $noinduk[$siswa->id_siswa] = ["\x6e\151\163" => $siswa->nis, "\x6e\151\x73\x6e" => $siswa->nisn]; goto RvFLl; GG5_p: sG_JA: goto GlR09; sONcb: if ($siswa->tahun_masuk != null) { goto IyDSz; } goto ZXApO; bGoJo: foreach ($data_tahun as $dtp) { goto cdfvx; cdfvx: $berat[$dtp][1] = ''; goto rBcO7; Ps0YW: foreach ($rapor_fisik[$dtp]->fisik as $rf) { goto W_6xr; W_6xr: $berat[$dtp][$rf->id_smt] = $rf->berat; goto N01x4; N01x4: $tinggi[$dtp][$rf->id_smt] = $rf->tinggi; goto jbP2M; jbP2M: L8BsS: goto RKo0R; RKo0R: } goto O_24N; rqXgZ: $kelainan[$dtp][1] = ''; goto xlPaf; JVGK2: $tinggi[$dtp][1] = ''; goto yhw1S; dQski: EhQm1: goto YJnom; QsHLC: $penyakit[$dtp][1] = ''; goto pB1Qf; OYcnX: if (!isset($rapor_fisik[$dtp])) { goto EhQm1; } goto Ps0YW; pB1Qf: $penyakit[$dtp][2] = ''; goto rqXgZ; YJnom: Hq6O8: goto YeoV8; xlPaf: $kelainan[$dtp][2] = ''; goto OYcnX; yhw1S: $tinggi[$dtp][2] = ''; goto QsHLC; rBcO7: $berat[$dtp][2] = ''; goto JVGK2; O_24N: AJ287: goto dQski; YeoV8: } goto GG5_p; Zb8Hv: sTB47: goto BwKCC; LXjWy: $rapor_fisik = isset($fisik_siswa[$id_siswa]) ? $fisik_siswa[$id_siswa] : []; goto cdQhQ; ZXApO: $tahunMasuk = ''; goto Aze3r; Wqud3: $tinggi = []; goto dnU8o; T6xOM: $data_tahun = [intval($tahunMasuk) . "\57" . (intval($tahunMasuk) + 1), intval($tahunMasuk) + 1 . "\x2f" . (intval($tahunMasuk) + 2), intval($tahunMasuk) + 2 . "\x2f" . (intval($tahunMasuk) + 3), intval($tahunMasuk) + 3 . "\57" . (intval($tahunMasuk) + 4), intval($tahunMasuk) + 4 . "\57" . (intval($tahunMasuk) + 5), intval($tahunMasuk) + 5 . "\x2f" . (intval($tahunMasuk) + 6)]; goto R7Ssb; cdQhQ: foreach ($rapor_fisik as $rf) { goto Ok5JW; jqr3q: foreach ($rf->fisik as $value) { $value->kondisi = unserialize($value->kondisi); bN6hc: } goto zqQHt; Ok5JW: $rf->fisik = unserialize($rf->fisik); goto jqr3q; cu9dd: KMZYc: goto qUEgP; zqQHt: ILD6a: goto cu9dd; qUEgP: } goto Uxxjp; c0n49: goto az2mT; goto QuaTR; RvFLl: $data_siswa[$siswa->id_siswa] = ["\x6e\x69\x73" => $siswa->nis, "\156\x69\x73\x6e" => $siswa->nisn, "\160\141\x67\145\61" => ["\101" => ["\164\151\164\x6c\145" => "\x4b\105\x54\105\x52\101\116\107\101\x4e\x20\124\105\116\124\x41\116\x47\x20\x44\x49\122\111\40\x53\x49\x53\127\x41", "\166\141\x6c\165\x65" => ["\x4e\141\155\x61\40\123\151\x73\167\141" => ["\116\x61\155\x61\x20\x4c\145\156\147\x6b\x61\x70" => $siswa->nama, "\x4e\141\x6d\x61\40\120\x61\156\x67\x67\151\x6c\x61\x6e" => ''], "\x4a\x65\x6e\151\163\x20\x4b\x65\x6c\141\155\151\156" => $siswa->jenis_kelamin, "\124\145\155\160\141\x74\x20\144\141\156\x20\x54\x67\x6c\40\x4c\141\x68\x69\162" => $siswa->tempat_lahir, "\x41\x67\x61\x6d\x61" => $siswa->agama, "\x4b\145\167\141\162\x67\x61\x6e\145\147\141\162\x61\141\156" => $siswa->warga_negara, "\x41\x6e\141\x6b\x20\x6b\145" => $siswa->anak_ke, "\112\x75\155\154\x61\x68\40\123\144\162\x2e\x20\113\x61\x6e\144\x75\x6e\x67" => '', "\x4a\165\x6d\154\141\150\40\x53\x64\x72\x2e\x20\x54\x69\x72\x69" => '', "\112\165\x6d\154\x61\150\40\123\x64\162\56\40\101\156\x67\x6b\x61\x74" => '', "\101\156\x61\153\40\x59\141\164\x69\x6d\x2f\131\x61\164\x69\x6d\x20\120\x69\141\x74\x75" => '', "\102\x61\x68\141\x73\141\40\x53\x65\x68\141\162\x69\55\x68\141\x72\151" => '']], "\x42" => ["\x74\151\164\154\x65" => "\113\105\x54\x45\x52\101\116\107\101\116\x20\124\105\115\x50\x41\x54\x20\124\111\x4e\107\107\101\114", "\x76\x61\x6c\x75\145" => ["\x41\x6c\x61\155\x61\164" => $siswa->alamat, "\x4e\157\155\x6f\162\x20\124\x65\x6c\x65\160\157\156" => $siswa->hp, "\124\151\x6e\x67\x67\141\154\40\x42\145\x72\x73\x61\x6d\141" => '', "\x4a\141\x72\141\x6b\x20\153\145\x20\123\x65\x6b\x6f\x6c\x61\150" => '']], "\x43" => ["\164\151\x74\x6c\x65" => "\x4b\x45\x54\105\x52\x41\116\107\101\116\40\x4b\105\123\105\x48\x41\x54\x41\x4e", "\166\x61\x6c\165\145" => ["\x47\x6f\x6c\x6f\156\147\x61\x6e\x20\104\141\x72\x61\x68" => '', "\113\145\x61\144\x61\141\x6e\x20\112\x61\x73\x6d\141\156\x69" => "\x5b\164\141\142\154\x65\135"], "\x74\141\142\154\x65" => ["\x74\141\150\165\156" => $data_tahun, "\142\x65\x72\x61\x74" => $berat, "\x74\151\x6e\147\x67\151" => $tinggi, "\160\145\156\171\141\153\151\x74" => $penyakit, "\153\145\154\x61\x69\x6e\141\156" => $kelainan]], "\x44" => ["\x74\151\164\154\145" => "\113\105\124\105\122\101\116\107\101\116\x20\120\105\116\x44\x49\104\x49\113\x41\116", "\166\141\154\165\x65" => ["\x50\x65\156\x64\x69\x64\x69\153\x61\156\x20\x53\x65\x62\145\154\165\x6d\x6e\x79\141" => ["\x4c\165\x6c\165\163\x61\156\40\x44\x61\x72\151" => $siswa->sekolah_asal, "\116\157\155\157\x72\x20\111\x6a\x61\x7a\141\x68" => ''], "\x50\151\156\x64\x61\150\141\156" => ["\104\141\162\151\40\x53\x65\x6b\x6f\x6c\x61\x68" => '', "\101\154\x61\x73\141\x6e" => ''], "\x44\x69\x74\145\x72\x69\x6d\x61\x20\104\x69\163\x65\153\x6f\154\x61\150\40\x49\156\151" => ["\104\x69\40\x54\151\156\x67\x6b\141\164" => $siswa->kelas_awal, "\113\x65\x6c\x6f\155\160\x6f\x6b" => '', "\x4a\165\162\165\x73\141\156" => '', "\124\141\x6e\147\x67\x61\154" => $siswa->tahun_masuk]]]], "\x70\x61\147\145\62" => ["\x45" => ["\x74\x69\x74\154\x65" => "\x4b\105\x54\105\122\x41\x4e\107\x41\x4e\40\x54\105\116\x54\x41\116\107\40\101\x59\x41\x48\40\x4b\101\116\104\x55\x4e\x47", "\166\141\x6c\165\x65" => ["\x4e\x61\x6d\x61" => $siswa->nama_ayah, "\x54\145\155\160\x61\164\40\x64\x61\x6e\40\x54\x61\x6e\x67\x67\141\x6c\x20\114\x61\x68\151\162" => $siswa->tgl_lahir_ayah, "\x41\x67\x61\155\x61" => '', "\x4b\x65\167\141\x72\147\x61\x6e\145\x67\141\162\x61\x61\156" => '', "\120\x65\x6e\x64\151\x64\x69\x6b\141\156" => $siswa->pendidikan_ayah, "\x50\x65\153\145\162\x6a\x61\141\156" => $siswa->pekerjaan_ayah, "\x50\145\156\x67\150\x61\163\151\154\x61\x6e\40\160\x65\x72\x20\x42\165\154\x61\156" => '', "\101\x6c\141\x6d\x61\164\40\57\40\116\x6f\155\157\162\x20\x54\x65\154\x65\x70\157\156" => $siswa->nohp_ayah, "\x4b\x65\x62\145\162\141\144\141\141\156\40\101\x79\141\150" => "\x4d\141\x73\x69\x68\40\x48\151\x64\165\x70\x20\x2f\40\x4d\x65\x6e\x69\x6e\147\x67\141\x6c\40\x44\165\156\151\x61\x20\x54\141\150\x75\x6e\x3a\x20\x2e\x2e\x2e\56\x2e\56\56\x2e"]], "\106" => ["\164\151\x74\x6c\145" => "\113\105\124\105\122\101\116\107\x41\116\x20\124\105\116\x54\x41\116\x47\x20\x49\102\x55\40\113\101\x4e\104\125\x4e\107", "\166\141\x6c\x75\145" => ["\116\141\x6d\x61" => $siswa->nama_ayah, "\x54\x65\155\160\x61\x74\x20\x64\x61\156\x20\x54\x61\156\x67\x67\141\x6c\x20\114\141\x68\151\162" => $siswa->tgl_lahir_ayah, "\x41\x67\x61\155\x61" => '', "\113\x65\x77\141\x72\147\141\x6e\145\x67\141\162\x61\141\x6e" => '', "\x50\145\156\x64\151\x64\x69\153\141\x6e" => $siswa->pendidikan_ayah, "\120\145\x6b\145\x72\x6a\x61\x61\156" => $siswa->pekerjaan_ayah, "\120\x65\156\x67\150\x61\x73\x69\154\141\x6e\40\x70\x65\162\40\102\165\x6c\141\x6e" => '', "\x41\154\x61\155\141\164\40\x2f\40\116\157\155\157\x72\x20\124\145\154\145\160\x6f\156" => $siswa->nohp_ayah, "\113\145\142\145\162\141\144\141\x61\156\x20\x49\142\x75" => "\115\x61\x73\x69\x68\40\110\x69\x64\165\x70\x20\57\40\x4d\x65\156\151\156\x67\x67\x61\154\x20\104\x75\156\x69\x61\40\x54\x61\x68\165\156"]], "\107" => ["\x74\x69\x74\154\145" => "\113\105\x54\105\122\101\116\107\x41\116\x20\x54\105\116\124\x41\x4e\107\x20\x57\x41\x4c\111", "\x76\x61\154\x75\x65" => ["\116\x61\155\141" => $siswa->nama_ayah, "\x54\x65\155\x70\x61\x74\40\144\x61\x6e\40\x54\x61\156\147\x67\141\x6c\40\114\141\150\151\162" => $siswa->tgl_lahir_ayah, "\101\147\x61\x6d\141" => '', "\x4b\x65\167\141\x72\147\x61\x6e\145\x67\141\162\141\141\156" => '', "\x50\145\x6e\144\x69\x64\151\x6b\141\156" => $siswa->pendidikan_ayah, "\x50\x65\x6b\x65\x72\x6a\x61\x61\x6e" => $siswa->pekerjaan_ayah, "\x50\x65\156\147\150\x61\163\151\154\x61\x6e\x20\160\145\162\x20\102\165\x6c\141\156" => '', "\x41\154\141\155\x61\x74\40\57\40\116\157\155\x6f\x72\x20\x54\x65\x6c\145\x70\x6f\156" => $siswa->nohp_ayah]], "\110" => ["\x74\x69\x74\154\x65" => "\x4b\x45\107\x45\115\101\x52\101\116\40\x53\x49\123\x57\101", "\166\141\x6c\165\x65" => ["\x4b\x65\x73\145\156\151\x61\x6e" => '', "\x4f\154\x61\x68\x20\x52\141\147\141" => '', "\x4f\x72\147\x61\156\x69\x73\141\x73\x69" => '', "\x4c\141\x69\156\342\200\x93\154\141\151\x6e" => '']]], "\160\x61\147\x65\63" => ["\111" => ["\x74\151\164\154\x65" => "\113\105\x54\105\x52\101\x4e\107\101\116\40\x50\105\x52\113\105\115\x42\101\x4e\x47\x41\x4e\x20\x53\x49\123\x57\101", "\166\x61\x6c\x75\145" => ["\115\145\156\145\162\x69\x6d\141\x20\x42\x65\141\40\x53\151\163\x77\141" => "\133\x74\x61\150\x75\x6e\135", "\x4d\145\156\151\x6e\x67\147\141\154\153\x61\x6e\40\x53\145\153\157\154\x61\150" => ["\x54\141\156\147\x67\x61\x6c" => '', "\101\x6c\x61\163\x61\x6e" => ''], "\101\x6b\x68\x69\x72\x20\120\x65\x6e\x64\x69\x64\151\x6b\x61\x6e" => ["\x54\141\x6d\x61\164\40\102\x65\x6c\x61\152\141\162" => $siswa->tahun_lulus, "\116\x6f\x6d\x6f\x72\x20\x49\152\x61\x7a\x61\x68" => $siswa->no_ijazah]], "\x74\x61\150\165\x6e" => ["\124\x61\150\x75\x6e\40\56\56\x2e\56\x2e\x2e\x2e\x2e\x2e\56\x2e\x2e\57\x20\x54\113\40\xe2\200\xa6\342\200\xa6\342\x80\xa6\342\x80\xa6\xe2\x80\xa6\xe2\200\246\xe2\200\xa6\342\200\246\x2e\x2e\144\x61\162\151\xe2\200\xa6\xe2\x80\246\342\200\246\342\x80\246\342\x80\xa6\342\x80\xa6\xe2\x80\246\342\200\246\x2e\56", "\x54\141\x68\x75\x6e\x20\56\56\x2e\56\56\56\x2e\x2e\x2e\56\x2e\x2e\x2f\x20\x54\113\40\342\200\xa6\342\x80\246\xe2\x80\246\xe2\x80\xa6\342\200\xa6\342\200\246\xe2\200\246\342\x80\246\56\56\144\141\x72\151\xe2\200\246\342\x80\xa6\xe2\x80\246\342\200\xa6\342\x80\246\342\x80\xa6\342\x80\246\342\200\246\56\x2e", "\124\141\150\x75\156\x20\x2e\56\56\56\56\56\x2e\x2e\x2e\56\56\56\57\x20\x54\113\40\xe2\x80\xa6\xe2\x80\xa6\342\x80\xa6\342\x80\xa6\342\x80\246\xe2\200\xa6\xe2\200\246\342\200\xa6\x2e\x2e\144\x61\162\x69\xe2\200\xa6\342\200\xa6\xe2\200\xa6\xe2\200\xa6\342\x80\xa6\xe2\200\246\xe2\200\xa6\342\200\246\56\56"]], "\x4a" => ["\x74\x69\x74\x6c\145" => "\113\x45\124\x45\122\101\116\107\101\x4e\40\x53\105\124\x45\x4c\x41\x48\40\x53\x45\114\x45\x53\101\111\40\120\105\116\x44\x49\104\x49\113\x41\x4e", "\x76\x61\x6c\165\145" => ["\115\145\x6c\x61\156\x6a\165\x74\x6b\141\156\40\x64\x69" => '', "\x42\x65\x6b\x65\x72\152\x61" => ["\x54\141\x6e\147\x67\141\154\40\x4d\x75\154\x61\151\x20\102\x65\x6b\x65\x72\152\141" => '', "\116\x61\x6d\141\40\x54\145\x6d\160\x61\164\40\102\145\153\145\x72\x6a\x61" => '', "\x50\x65\156\147\x68\141\163\x69\154\141\156" => '']]], "\113" => ["\164\151\164\154\x65" => "\114\101\111\116\x20\xe2\x80\x93\40\x4c\101\x49\x4e", "\x76\141\x6c\x75\145" => ["\x43\141\164\x61\x74\x61\156\x20\x59\x61\x6e\x67\x20\x50\145\156\x74\x69\156\147" => '']]]]; goto Zb8Hv; OujeW: IyDSz: goto YpaTy; Z_qeH: if ($setting->jenjang == "\61") { goto NVEt_; } goto q8bV1; Uxxjp: tsRZR: goto sONcb; kQZkl: $kelainan = []; goto bGoJo; dnU8o: $penyakit = []; goto kQZkl; q8bV1: $data_tahun = [intval($tahunMasuk) . "\57" . (intval($tahunMasuk) + 1), intval($tahunMasuk) + 1 . "\57" . (intval($tahunMasuk) + 2), intval($tahunMasuk) + 2 . "\x2f" . (intval($tahunMasuk) + 3)]; goto c0n49; QuaTR: NVEt_: goto T6xOM; bvr4q: yLwF4: goto Z_qeH; impRk: $berat = []; goto Wqud3; R7Ssb: az2mT: goto impRk; BwKCC: } goto t6U8d; IKaAO: $tp = $this->dashboard->getTahunActive(); goto YCwh6; srSRp: $uids = $this->db->select("\151\144\x5f\163\151\x73\167\x61\54\x20\x75\151\x64")->from("\x6d\141\x73\164\x65\162\137\x73\x69\x73\x77\141")->get()->result(); goto c5OEl; n2TWa: }
Write, Run & Share PHP code online using OneCompiler's PHP online compiler for free. It's one of the robust, feature-rich online compilers for PHP language, running on the latest version 7. Getting started with the OneCompiler's PHP compiler is simple and pretty fast. The editor shows sample boilerplate code when you choose language as PHP
and start coding.
OneCompiler's PHP online editor supports stdin and users can give inputs to programs using the STDIN textbox under the I/O tab. Following is a sample PHP program which takes name as input and prints hello message with your name.
<?php
fscanf(STDIN, "%s\n", $name);
echo "Hello ".$name.".\n";
?>
PHP(Hypertext Preprocessor) is widely used server sripting language by Rasmus Lerdorf in the year 1994.
In PHP, there is no need to explicitly declare variables to reserve memory space. When you assign a value to a variable, declaration happens automatically. Variables are case-sensitive in PHP.
$variable_name = value;
If, If-else, Nested-Ifs are used when you want to perform a certain set of operations based on conditional expressions.
if(conditional-expression){
//code
}
if(conditional-expression){
//code if condition is true
} else {
//code if condition is false
}
if(condition-expression1) {
//code if above condition is true
} elseif(condition-expression2){
//code if above condition is true
}
elseif(condition-expression3) {
//code if above condition is true
}
...
else {
//code if all the conditions are false
}
Switch is used to execute one set of statement from multiple conditions.
switch(conditional-expression) {
case value1:
// code if the above value is matched
break; // optional
case value2:
// code if the above value is matched
break; // optional
...
default:
// code to be executed when all the above cases are not matched;
}
For loop is used to iterate a set of statements based on a condition.
for(Initialization; Condition; Increment/decrement){
// code
}
// you can use any of the below syntax
foreach ($array as $element-value) {
//code
}
foreach ($array as $key => $element-value) {
//code
}
While is also used to iterate a set of statements based on a condition. Usually while is preferred when number of iterations are not known in advance.
while(condition) {
// code
}
Do-while is also used to iterate a set of statements based on a condition. It is mostly used when you need to execute the statements atleast once.
do {
// code
} while (condition);
Function is a sub-routine which contains set of statements. Usually functions are written when multiple calls are required to same set of statements which increases re-usuability and modularity.
function function_name(parameters) {
//code
}
function_name (parameters)