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");
use alhimik1986\PhpExcelTemplator\PhpExcelTemplator;
class Datasiswa extends CI_Controller
{
public function __construct()
{
goto qO1VU;
gqgql:
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 Lsm36;
dWgBl:
$this->load->library("upload");
goto yYYGx;
xa59z:
redirect("auth");
goto W3gz7;
IWPob:
$this->form_validation->set_error_delimiters('', '');
goto WuaMb;
HoDEe:
if (!(!$this->ion_auth->is_admin() && !$this->ion_auth->in_group("guru"))) {
goto oQvr7;
}
goto gqgql;
yYYGx:
$this->load->library(["datatables", "form_validation"]);
goto IWPob;
ZFlRa:
NRMuC:
goto xa59z;
W3gz7:
SIEli:
goto dWgBl;
Lsm36:
oQvr7:
goto Z5D7R;
BVC7h:
if (!$this->ion_auth->logged_in()) {
goto NRMuC;
}
goto HoDEe;
qO1VU:
parent::__construct();
goto BVC7h;
Z5D7R:
goto SIEli;
goto ZFlRa;
WuaMb:
}
public function output_json($data, $encode = true)
{
goto Hgddl;
xEuFR:
NphVP:
goto Lkr1S;
Lkr1S:
$this->output->set_content_type("application/json")->set_output($data);
goto ECfkI;
Hgddl:
if (!$encode) {
goto NphVP;
}
goto QAlh9;
QAlh9:
$data = json_encode($data);
goto xEuFR;
ECfkI:
}
public function index()
{
goto mu16V;
iMqF2:
$this->load->model("Dropdown_model", "dropdown");
goto SPn13;
TLk26:
$tpAktif = $tp[$searchTp];
goto O4emi;
GB0p4:
$tp = $this->dashboard->getTahun();
goto lMn6K;
eAbpm:
$data["tp"] = $tp;
goto aCthP;
mu16V:
$this->load->model("Dashboard_model", "dashboard");
goto iMqF2;
SPn13:
$user = $this->ion_auth->user()->row();
goto j5u3B;
lMn6K:
$smt = $this->dashboard->getSemester();
goto eAbpm;
hPEjv:
$this->load->view("_templates/dashboard/_footer");
goto ykaZC;
YyFaz:
$data["profile"] = $this->dashboard->getProfileAdmin($user->id);
goto ENmoJ;
ENmoJ:
$data["kelass"] = $this->dropdown->getAllKelas($tpAktif->id_tp, $smtAktif->id_smt);
goto jjpie;
fa2tk:
$data["smt_active"] = $smtAktif;
goto YyFaz;
XmKGx:
$searchTp = array_search("1", array_column($tp, "active"));
goto xgplN;
xgplN:
$searchSmt = array_search("1", array_column($smt, "active"));
goto TLk26;
O4emi:
$smtAktif = $smt[$searchSmt];
goto X56tP;
j5u3B:
$data = ["user" => $user, "judul" => "Siswa", "subjudul" => "Data Siswa", "setting" => $this->dashboard->getSetting()];
goto GB0p4;
aCthP:
$data["smt"] = $smt;
goto XmKGx;
jjpie:
$this->load->view("_templates/dashboard/_header", $data);
goto KPR0m;
KPR0m:
$this->load->view("master/siswa/data");
goto hPEjv;
X56tP:
$data["tp_active"] = $tpAktif;
goto fa2tk;
ykaZC:
}
public function data()
{
goto OY22E;
Dhhz7:
$tp = $this->dashboard->getTahunActive();
goto ClERr;
ClERr:
$smt = $this->dashboard->getSemesterActive();
goto qN0_9;
OY22E:
$this->load->model("Master_model", "master");
goto ouXnU;
ouXnU:
$this->load->model("Dashboard_model", "dashboard");
goto Dhhz7;
qN0_9:
$this->output_json($this->master->getDataSiswa($tp->id_tp, $smt->id_smt), false);
goto qCIuN;
qCIuN:
}
public function list()
{
goto Pcazb;
EyBJq:
$this->load->model("Dashboard_model", "dashboard");
goto NfU_k;
TyHOc:
$offset = ($page - 1) * $limit;
goto oesHc;
OraEt:
$count_siswa = $this->master->getSiswaTotalPage($search);
goto cz2kS;
oesHc:
$tp = $this->dashboard->getTahunActive();
goto ms1R9;
NfU_k:
$page = $this->input->post("page", true);
goto tQ3Gh;
ms1R9:
$smt = $this->dashboard->getSemesterActive();
goto OraEt;
cz2kS:
$lists = $this->master->getSiswaPage($tp->id_tp, $smt->id_smt, $offset, $limit, $search);
goto mVJCK;
WN0mN:
$this->output_json($data);
goto Wj0lE;
Ol3BR:
$search = $this->input->post("search", true);
goto TyHOc;
mVJCK:
$data = ["lists" => $lists, "total" => $count_siswa, "pages" => ceil($count_siswa / $limit), "search" => $search, "perpage" => $limit];
goto WN0mN;
Pcazb:
$this->load->model("Master_model", "master");
goto EyBJq;
tQ3Gh:
$limit = $this->input->post("limit", true);
goto Ol3BR;
Wj0lE:
}
public function add()
{
goto PZ5Mo;
PZ5Mo:
$this->load->model("Dashboard_model", "dashboard");
goto QAZ20;
n4BYM:
$data["profile"] = $this->dashboard->getProfileAdmin($user->id);
goto NFCVx;
GNBC2:
$data["smt"] = $this->dashboard->getSemester();
goto sFTZa;
snQQ0:
$this->load->view("master/siswa/add");
goto FgLTv;
Xup64:
$data["tp_active"] = $this->dashboard->getTahunActive();
goto GNBC2;
h0pTv:
$this->load->view("_templates/dashboard/_header", $data);
goto snQQ0;
I5evE:
$data = ["user" => $user, "judul" => "Siswa", "subjudul" => "Tambah Data Siswa", "setting" => $this->dashboard->getSetting()];
goto oHP6x;
FgLTv:
$this->load->view("_templates/dashboard/_footer");
goto mA11f;
oHP6x:
$data["tp"] = $this->dashboard->getTahun();
goto Xup64;
NFCVx:
$data["tipe"] = "add";
goto h0pTv;
QAZ20:
$user = $this->ion_auth->user()->row();
goto I5evE;
sFTZa:
$data["smt_active"] = $this->dashboard->getSemesterActive();
goto n4BYM;
mA11f:
}
public function create()
{
goto XAgYb;
I5QCH:
$username = $this->input->post("username", true);
goto zVAUc;
mmjrK:
$nis = $this->input->post("nis", true);
goto ppD_2;
hwdv1:
$data["text"] = "Data Sudah ada, Pastikan NIS, NISN dan Username belum digunakan siswa lain";
goto mHwoZ;
zVAUc:
$u_nis = "|is_unique[master_siswa.nis]";
goto MK0H1;
kDm2X:
$this->form_validation->set_rules("nis", "NIS", "required|numeric|trim|min_length[6]|max_length[30]" . $u_nis);
goto Hl3Ms;
mX6ph:
GzuBf:
goto g1zll;
fY4ya:
if ($this->form_validation->run() == FALSE) {
goto GzuBf;
}
goto z_Rb0;
CSMg5:
goto z2KPX;
goto mX6ph;
m90TM:
$u_name = "|is_unique[master_siswa.username]";
goto kDm2X;
IwDzI:
$siswa = $this->master->getSiswaById($id);
goto VnfHj;
g1zll:
$data["insert"] = false;
goto hwdv1;
ZI5KY:
$this->output_json($data);
goto iMlW_;
rLMKk:
$this->db->set("uid", "UUID()", FALSE);
goto PHRrh;
UMqVV:
$this->form_validation->set_rules("username", "Username", "required|trim" . $u_name);
goto fY4ya;
mHwoZ:
z2KPX:
goto ZI5KY;
MK0H1:
$u_nisn = "|is_unique[master_siswa.nisn]";
goto m90TM;
VnfHj:
$induk = ["id_siswa" => $id, "uid" => $siswa->uid, "status" => 1];
goto tTm7k;
ppD_2:
$nisn = $this->input->post("nisn", true);
goto I5QCH;
z_Rb0:
$insert = ["nama" => $this->input->post("nama_siswa", true), "nis" => $nis, "nisn" => $nisn, "jenis_kelamin" => $this->input->post("jenis_kelamin", true), "kelas_awal" => $this->input->post("kelas_awal", true), "tahun_masuk" => $this->input->post("tahun_masuk", true), "username" => $username, "password" => $this->input->post("password", true), "foto" => "uploads/foto_siswa/" . $nis . "jpg"];
goto rLMKk;
tTm7k:
$this->db->insert("buku_induk", $induk);
goto jEHrd;
Hl3Ms:
$this->form_validation->set_rules("nisn", "NISN", "required|numeric|trim|min_length[6]|max_length[20]" . $u_nisn);
goto UMqVV;
kgJHA:
$id = $this->db->insert_id();
goto IwDzI;
XAgYb:
$this->load->model("Master_model", "master");
goto mmjrK;
PHRrh:
$data["insert"] = $this->db->insert("master_siswa", $insert);
goto kgJHA;
jEHrd:
$data["text"] = "Siswa berhasil ditambahkan";
goto CSMg5;
iMlW_:
}
public function edit($id)
{
goto aYnvC;
GdEwC:
$inputBio = [["name" => "tempat_lahir", "label" => "Tempat Lahir", "value" => $siswa->tempat_lahir, "icon" => "far fa-map", "class" => '', "type" => "text"], ["name" => "tanggal_lahir", "label" => "Tanggal Lahir", "value" => $siswa->tanggal_lahir, "icon" => "far fa-calendar", "class" => "tahun", "type" => "text"], ["class" => '', "name" => "agama", "label" => "Agama", "value" => $siswa->agama, "icon" => "far fa-calendar", "type" => "text"], ["class" => '', "name" => "alamat", "label" => "Alamat", "value" => $siswa->alamat, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "rt", "label" => "Rt", "value" => $siswa->rt, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "rw", "label" => "Rw", "value" => $siswa->rw, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "kelurahan", "label" => "Kelurahan/Desa", "value" => $siswa->kelurahan, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "kecamatan", "label" => "Kecamatan", "value" => $siswa->kecamatan, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "kabupaten", "label" => "Kabupaten/Kota", "value" => $siswa->kabupaten, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "kode_pos", "label" => "Kode Pos", "value" => $siswa->kode_pos, "icon" => "far fa-user", "type" => "text"], ["class" => '', "name" => "hp", "label" => "Hp", "value" => $siswa->hp, "icon" => "far fa-user", "type" => "text"]];
goto Ji_lq;
f73qp:
$this->load->model("Dashboard_model", "dashboard");
goto RwLQQ;
H64rI:
$data = ["user" => $user, "judul" => "Siswa", "subjudul" => "Edit Data Siswa", "siswa" => $siswa, "setting" => $this->dashboard->getSetting()];
goto j5YcX;
Gn70t:
$data["input_ortu"] = json_decode(json_encode($inputOrtu), FALSE);
goto c2yPx;
D1Tos:
$this->load->view("members/guru/templates/footer");
goto YblNB;
cyOI4:
$data["smt_active"] = $smt;
goto w2U2C;
iIG6k:
$data["guru"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto dRXmW;
c2yPx:
$data["input_wali"] = json_decode(json_encode($inputWali), FALSE);
goto B9Rvv;
RHYNN:
$inputWali = [["name" => "nama_wali", "label" => "Nama Wali", "value" => $siswa->nama_wali, "icon" => "far fa-user", "type" => "text"], ["name" => "pekerjaan_wali", "label" => "Pekerjaan Wali", "value" => $siswa->pekerjaan_wali, "icon" => "far fa-user", "type" => "text"], ["name" => "alamat_wali", "label" => "Alamat Wali", "value" => $siswa->alamat_wali, "icon" => "far fa-user", "type" => "text"], ["name" => "nohp_wali", "label" => "No. HP Wali", "value" => $siswa->nohp_wali, "icon" => "far fa-user", "type" => "number"]];
goto bjVrW;
bjVrW:
$user = $this->ion_auth->user()->row();
goto H64rI;
XsDEK:
J97Go:
goto tiT_J;
e0Omq:
$data["input_bio"] = json_decode(json_encode($inputBio), FALSE);
goto Gn70t;
FOt21:
$this->load->view("_templates/dashboard/_header", $data);
goto UgkdH;
Ji_lq:
$inputOrtu = [["name" => "status_keluarga", "label" => "Status Keluarga", "value" => $siswa->status_keluarga, "icon" => "far fa-user", "type" => "text"], ["name" => "anak_ke", "label" => "Anak ke", "value" => $siswa->anak_ke, "icon" => "far fa-user", "type" => "number"], ["name" => "nama_ayah", "label" => "Nama Ayah", "value" => $siswa->nama_ayah, "icon" => "far fa-user", "type" => "text"], ["name" => "pekerjaan_ayah", "label" => "Pekerjaan Ayah", "value" => $siswa->pekerjaan_ayah, "icon" => "far fa-user", "type" => "text"], ["name" => "alamat_ayah", "label" => "Alamat Ayah", "value" => $siswa->alamat_ayah, "icon" => "far fa-user", "type" => "text"], ["name" => "nohp_ayah", "label" => "No. HP Ayah", "value" => $siswa->nohp_ayah, "icon" => "far fa-user", "type" => "number"], ["name" => "nama_ibu", "label" => "Nama Ibu", "value" => $siswa->nama_ibu, "icon" => "far fa-user", "type" => "text"], ["name" => "pekerjaan_ibu", "label" => "Pekerjaan Ibu", "value" => $siswa->pekerjaan_ibu, "icon" => "far fa-user", "type" => "text"], ["name" => "alamat_ibu", "label" => "Alamat Ibu", "value" => $siswa->alamat_ibu, "icon" => "far fa-user", "type" => "text"], ["name" => "nohp_ibu", "label" => "No. HP Ibu", "value" => $siswa->nohp_ibu, "icon" => "far fa-user", "type" => "number"]];
goto RHYNN;
jRr3B:
$inputData = [["label" => "Nama Lengkap", "name" => "nama", "value" => $siswa->nama, "icon" => "far fa-user", "class" => '', "type" => "text"], ["label" => "NIS", "name" => "nis", "value" => $siswa->nis, "icon" => "far fa-id-card", "class" => '', "type" => "number"], ["name" => "nisn", "label" => "NISN", "value" => $siswa->nisn, "icon" => "far fa-id-card", "class" => '', "type" => "text"], ["label" => "Jenis Kelamin", "name" => "jenis_kelamin", "value" => $siswa->jenis_kelamin, "icon" => "fas fa-venus-mars", "class" => '', "type" => "text"], ["name" => "kelas_awal", "label" => "Diterima di kelas", "value" => $siswa->kelas_awal, "icon" => "fas fa-graduation-cap", "class" => '', "type" => "text"], ["name" => "tahun_masuk", "label" => "Tgl diterima", "value" => $siswa->tahun_masuk, "icon" => "tahun far fa-calendar-alt", "class" => "tahun", "type" => "text"], ["name" => "sekolah_asal", "label" => "Sekolah Asal", "value" => $siswa->sekolah_asal, "icon" => "fas fa-graduation-cap", "class" => '', "type" => "text"], ["name" => "status", "label" => "Setatus", "value" => $siswa->status, "icon" => "far fa-user", "class" => "status", "type" => "text"]];
goto GdEwC;
B9Rvv:
$data["profile"] = $this->dashboard->getProfileAdmin($user->id);
goto zhjrb;
RwLQQ:
$siswa = $this->master->getSiswaById($id);
goto jRr3B;
d1HfA:
$data["smt"] = $this->dashboard->getSemester();
goto MOpdy;
BjTt7:
$smt = $this->master->getSemesterActive();
goto n11oQ;
zhjrb:
if ($this->ion_auth->is_admin()) {
goto EWLmk;
}
goto iIG6k;
edaY7:
$this->load->view("master/siswa/edit");
goto D1Tos;
aYnvC:
$this->load->model("Master_model", "master");
goto f73qp;
Upf_H:
$this->load->view("_templates/dashboard/_footer");
goto XsDEK;
AtOEd:
EWLmk:
goto FOt21;
YblNB:
goto J97Go;
goto AtOEd;
MOpdy:
$data["tp_active"] = $tp;
goto cyOI4;
w2U2C:
$data["input_data"] = json_decode(json_encode($inputData), FALSE);
goto e0Omq;
n11oQ:
$data["tp"] = $this->dashboard->getTahun();
goto d1HfA;
dRXmW:
$this->load->view("members/guru/templates/header", $data);
goto edaY7;
UgkdH:
$this->load->view("master/siswa/edit");
goto Upf_H;
j5YcX:
$tp = $this->master->getTahunActive();
goto BjTt7;
tiT_J:
}
public function updateData()
{
goto Y8icw;
nXyMU:
$input = ["nisn" => $this->input->post("nisn", true), "nis" => $this->input->post("nis", true), "nama" => $this->input->post("nama", true), "jenis_kelamin" => $this->input->post("jenis_kelamin", true), "tempat_lahir" => $this->input->post("tempat_lahir", true), "tanggal_lahir" => $this->strContains($tgl_lahir, "0000-") ? null : $tgl_lahir, "agama" => $this->input->post("agama", true), "status_keluarga" => $this->input->post("status_keluarga", true), "anak_ke" => $this->input->post("anak_ke", true), "alamat" => $this->input->post("alamat", true), "rt" => $this->input->post("rt", true), "rw" => $this->input->post("rw", true), "kelurahan" => $this->input->post("kelurahan", true), "kecamatan" => $this->input->post("kecamatan", true), "kabupaten" => $this->input->post("kabupaten", true), "provinsi" => $this->input->post("provinsi", true), "kode_pos" => $this->input->post("kode_pos", true), "hp" => $this->input->post("hp", true), "nama_ayah" => $this->input->post("nama_ayah", true), "nohp_ayah" => $this->input->post("nohp_ayah", true), "pendidikan_ayah" => $this->input->post("pendidikan_ayah", true), "pekerjaan_ayah" => $this->input->post("pekerjaan_ayah", true), "alamat_ayah" => $this->input->post("alamat_ayah", true), "nama_ibu" => $this->input->post("nama_ibu", true), "nohp_ibu" => $this->input->post("nohp_ibu", true), "pendidikan_ibu" => $this->input->post("pendidikan_ibu", true), "pekerjaan_ibu" => $this->input->post("pekerjaan_ibu", true), "alamat_ibu" => $this->input->post("alamat_ibu", true), "nama_wali" => $this->input->post("nama_wali", true), "pendidikan_wali" => $this->input->post("pendidikan_wali", true), "pekerjaan_wali" => $this->input->post("pekerjaan_wali", true), "nohp_wali" => $this->input->post("nohp_wali", true), "alamat_wali" => $this->input->post("alamat_wali", true), "tahun_masuk" => $this->strContains($tgl_masuk, "0000-") ? null : $tgl_masuk, "kelas_awal" => $this->input->post("kelas_awal", true), "tgl_lahir_ayah" => $this->input->post("tgl_lahir_ayah", true), "tgl_lahir_ibu" => $this->input->post("tgl_lahir_ibu", true), "tgl_lahir_wali" => $this->input->post("tgl_lahir_wali", true), "sekolah_asal" => $this->input->post("sekolah_asal", true), "foto" => $siswa->foto != null && $siswa->foto != '' ? $siswa->foto : "uploads/foto_siswa/" . $nis . ".jpg"];
goto TMC9u;
kBl3J:
if ($this->form_validation->run() == FALSE) {
goto l1Y96;
}
goto E3crI;
mlGei:
$siswa = $this->master->getSiswaById($id_siswa);
goto UdMk7;
P8G8s:
$data["insert"] = false;
goto qXNcT;
YMI8X:
$nisn = $this->input->post("nisn", true);
goto mlGei;
UdMk7:
$u_nis = $siswa->nis === $nis ? '' : "|is_unique[master_siswa.nis]";
goto TZU3X;
z4mTm:
$data["text"] = "Siswa berhasil diperbaharui";
goto aWMm4;
KqgMY:
tVDU2:
goto hH3Pb;
E3crI:
$tgl_lahir = $this->input->post("tanggal_lahir", true);
goto CcF94;
hH3Pb:
$this->output_json($data);
goto jsjQa;
TZU3X:
$u_nisn = $siswa->nisn === $nisn ? '' : "|is_unique[master_siswa.nisn]";
goto icU8w;
DDgo2:
$id_siswa = $this->input->post("id_siswa", true);
goto l49ze;
qXNcT:
$data["text"] = "NIS kurang dari 6 angka, atau data Sudah ada, Pastikan NIS, dan NISN belum digunakan siswa lain";
goto KqgMY;
CcF94:
$tgl_masuk = $this->input->post("tahun_masuk", true);
goto nXyMU;
aWMm4:
goto tVDU2;
goto lOH7t;
TMC9u:
$this->master->update("master_siswa", $input, "id_siswa", $id_siswa);
goto EFqZt;
Y8icw:
$this->load->model("Master_model", "master");
goto DDgo2;
j28SR:
$this->db->where("id_siswa", $siswa->id_siswa);
goto DMyNx;
lOH7t:
l1Y96:
goto P8G8s;
l49ze:
$nis = $this->input->post("nis", true);
goto YMI8X;
MSV0N:
$data["insert"] = $input;
goto z4mTm;
icU8w:
$this->form_validation->set_rules("nis", "NIS", "required|numeric|trim|min_length[6]|max_length[30]" . $u_nis);
goto kBl3J;
DMyNx:
$this->db->update("buku_induk");
goto MSV0N;
EFqZt:
$this->db->set("status", $this->input->post("status", true));
goto j28SR;
jsjQa:
}
function strContains($string, $val)
{
return strpos($string, $val) !== false;
}
function uploadFile($id_siswa)
{
goto G1H7T;
xzNzq:
$data["status"] = true;
goto xOECD;
BUxBG:
$data["src"] = '';
goto g5fFv;
RsWxL:
$data["filename"] = pathinfo($result["file_name"], PATHINFO_FILENAME);
goto xzNzq;
CxTza:
if (isset($_FILES["foto"]["name"])) {
goto qU1pU;
}
goto BUxBG;
TpFbc:
S7lOG:
goto J72Yt;
ijP60:
$data["src"] = $this->upload->display_errors();
goto K0L3K;
yuCfa:
$config["overwrite"] = true;
goto E9OQw;
p4FZP:
qU1pU:
goto ErLCb;
pTJXt:
$this->db->where("id_siswa", $id_siswa);
goto pqZKg;
g5fFv:
goto c6eLb;
goto p4FZP;
SIdet:
$data["src"] = base_url() . "uploads/foto_siswa/" . $result["file_name"];
goto RsWxL;
xOECD:
$this->db->set("foto", "uploads/foto_siswa/" . $result["file_name"]);
goto pTJXt;
T0RVp:
$this->output_json($data);
goto U17jq;
fgGab:
$data["type"] = $_FILES["foto"]["type"];
goto xFCbh;
KXcVU:
c6eLb:
goto T0RVp;
QLkmx:
$config["allowed_types"] = "gif|jpg|png|jpeg|JPEG|JPG|PNG|GIF";
goto yuCfa;
ErLCb:
$config["upload_path"] = "./uploads/foto_siswa/";
goto QLkmx;
vSmzo:
if (!$this->upload->do_upload("foto")) {
goto S7lOG;
}
goto OE0ny;
J72Yt:
$data["status"] = false;
goto ijP60;
pqZKg:
$this->db->update("master_siswa");
goto t2Hqx;
OE0ny:
$result = $this->upload->data();
goto SIdet;
rBcZ3:
$this->upload->initialize($config);
goto vSmzo;
xFCbh:
$data["size"] = $_FILES["foto"]["size"];
goto KXcVU;
uOsxd:
$siswa = $this->master->getSiswaById($id_siswa);
goto CxTza;
t2Hqx:
goto Q20iq;
goto TpFbc;
G1H7T:
$this->load->model("Master_model", "master");
goto uOsxd;
E9OQw:
$config["file_name"] = $siswa->nis;
goto rBcZ3;
K0L3K:
Q20iq:
goto fgGab;
U17jq:
}
function deleteFile($id_siswa)
{
goto q2zWS;
S7Ef1:
$this->db->update("master_siswa");
goto rUlnj;
q2zWS:
$src = $this->input->post("src");
goto UDw8_;
KwOG8:
vOahp:
goto jVMO4;
UDw8_:
$file_name = str_replace(base_url(), '', $src);
goto IizjD;
IizjD:
if (!($file_name != "assets/img/siswa.png")) {
goto usdh2;
}
goto yXPgf;
lJM8d:
$this->db->set("foto", '');
goto JmMyr;
JmMyr:
$this->db->where("id_siswa", $id_siswa);
goto S7Ef1;
jVMO4:
usdh2:
goto bIZbW;
yXPgf:
if (!unlink($file_name)) {
goto vOahp;
}
goto lJM8d;
rUlnj:
echo "File Delete Successfully";
goto KwOG8;
bIZbW:
}
public function delete()
{
goto blxGg;
ZBLhQ:
goto l895P;
goto c8yCa;
blxGg:
$this->load->model("Master_model", "master");
goto cmlLp;
wsXGs:
$this->output_json(["status" => false]);
goto Wx2l6;
c8yCa:
pA5jZ:
goto wsXGs;
fRGxk:
$this->master->delete("buku_induk", $chk, "id_siswa");
goto jva2M;
jva2M:
$this->output_json(["status" => true, "total" => count($chk)]);
goto NiYQQ;
nzjtX:
if (!$chk) {
goto pA5jZ;
}
goto w4lJH;
Wx2l6:
l895P:
goto diRfN;
NiYQQ:
Fs4ra:
goto ZBLhQ;
cmlLp:
$chk = $this->input->post("checked", true);
goto nzjtX;
w4lJH:
if (!$this->master->delete("master_siswa", $chk, "id_siswa")) {
goto Fs4ra;
}
goto fRGxk;
diRfN:
}
public function previewExcel()
{
goto dhD5_;
ju0mh:
die;
goto mOtbT;
dkF2h:
aRzao:
goto IJh2M;
P4EA_:
$i++;
goto mpAun;
hstyT:
if (!($sheetData[$i][0] != null)) {
goto aRzao;
}
goto PE37F;
INJKG:
$spreadsheet = $reader->load($file);
goto TpF7v;
mpAun:
goto rpZMq;
goto Nxjoh;
hTHvq:
GvxSi:
goto UeMPT;
PrP1w:
ga5f1:
goto hssh7;
MdMbZ:
echo json_encode($data);
goto GU1lF;
cPF_Y:
$config["allowed_types"] = "xls|xlsx|csv";
goto E3fap;
GU1lF:
goto RNR92;
goto PrP1w;
R90vS:
$config["upload_path"] = "./uploads/import/";
goto cPF_Y;
IFOVr:
echo $error;
goto ju0mh;
GnJgC:
unlink($file);
goto fs6nW;
KI7vQ:
$data["siswa"][] = ["nisn" => $nisn, "nis" => $nis, "nama" => $sheetData[$i][3], "jenis_kelamin" => $sheetData[$i][4], "username" => $username, "password" => $sheetData[$i][6], "tempat_lahir" => $sheetData[$i][10], "tanggal_lahir" => $sheetData[$i][11], "agama" => $sheetData[$i][12], "status_keluarga" => $sheetData[$i][16], "anak_ke" => $sheetData[$i][15], "alamat" => $sheetData[$i][17], "rt" => $sheetData[$i][18], "rw" => $sheetData[$i][19], "kelurahan" => $sheetData[$i][20], "kecamatan" => $sheetData[$i][21], "kabupaten" => $sheetData[$i][22], "provinsi" => $sheetData[$i][23], "kode_pos" => $sheetData[$i][24], "hp" => str_replace("'", '', $sheetData[$i][13]), "nama_ayah" => $sheetData[$i][25], "nohp_ayah" => str_replace("'", '', $sheetData[$i][29]), "pendidikan_ayah" => $sheetData[$i][27], "pekerjaan_ayah" => $sheetData[$i][28], "alamat_ayah" => $sheetData[$i][30], "nama_ibu" => $sheetData[$i][31], "nohp_ibu" => str_replace("'", '', $sheetData[$i][35]), "pendidikan_ibu" => $sheetData[$i][33], "pekerjaan_ibu" => $sheetData[$i][34], "alamat_ibu" => $sheetData[$i][36], "nama_wali" => $sheetData[$i][37], "pendidikan_wali" => $sheetData[$i][39], "pekerjaan_wali" => $sheetData[$i][40], "nohp_wali" => str_replace("'", '', $sheetData[$i][41]), "alamat_wali" => $sheetData[$i][42], "tahun_masuk" => $sheetData[$i][8], "kelas_awal" => $sheetData[$i][7], "tgl_lahir_ayah" => $sheetData[$i][26], "tgl_lahir_ibu" => $sheetData[$i][32], "tgl_lahir_wali" => $sheetData[$i][38], "sekolah_asal" => $sheetData[$i][9], "id_siswa" => isset($sheetData[$i][43]) ? $sheetData[$i][43] : ''];
goto dkF2h;
BnJ1H:
$nis = str_replace("'", '', $sheetData[$i][2]);
goto uT_Y4;
PE37F:
$nisn = str_replace("'", '', $sheetData[$i][1]);
goto plQdy;
mVV65:
$username = $sheetData[$i][5];
goto Ayte2;
mnRjK:
$i = 1;
goto Qu2M6;
Nxjoh:
m2L5n:
goto GnJgC;
dhD5_:
$this->load->model("Master_model", "master");
goto R90vS;
TpF7v:
$sheetData = $spreadsheet->getActiveSheet()->toArray();
goto WrLCI;
IJh2M:
ipoA2:
goto P4EA_;
fYwTA:
if (!$this->upload->do_upload("upload_file")) {
goto ga5f1;
}
goto o85n0;
fs6nW:
$data["exist"] = $this->master->getSiswaByArrNisn($arr_nisn, $arr_nis, $arr_username);
goto MdMbZ;
NakWK:
$config["encrypt_name"] = true;
goto LSnOH;
WrLCI:
$data = [];
goto XkZXr;
o85n0:
$file = $this->upload->data("full_path");
goto URhsZ;
UeMPT:
UgX4J:
goto INJKG;
hbEYO:
if (!($i < count($sheetData))) {
goto m2L5n;
}
goto hstyT;
XkZXr:
$arr_nisn = [];
goto whGIR;
Ayte2:
$arr_username[] = $username;
goto KI7vQ;
whGIR:
$arr_nis = [];
goto Dq0sM;
hssh7:
$error = $this->upload->display_errors();
goto IFOVr;
LSnOH:
$this->upload->initialize($config);
goto fYwTA;
Dq0sM:
$arr_username = [];
goto mnRjK;
E3fap:
$config["max_size"] = 2048;
goto NakWK;
q03Rt:
switch ($ext) {
case ".xlsx":
$reader = new \PhpOffice\PhpSpreadsheet\Reader\Xlsx();
goto UgX4J;
case ".xls":
$reader = new \PhpOffice\PhpSpreadsheet\Reader\Xls();
goto UgX4J;
case ".csv":
$reader = new \PhpOffice\PhpSpreadsheet\Reader\Csv();
goto UgX4J;
default:
echo "unknown file ext";
die;
}
goto hTHvq;
uT_Y4:
$arr_nis[] = $nis;
goto mVV65;
mOtbT:
RNR92:
goto rTTcW;
plQdy:
$arr_nisn[] = $nisn;
goto BnJ1H;
URhsZ:
$ext = $this->upload->data("file_ext");
goto q03Rt;
Qu2M6:
rpZMq:
goto hbEYO;
rTTcW:
}
public function do_import()
{
goto lGIT7;
Y6gXu:
$data = ["status" => true, "errors" => []];
goto vJ39b;
r27Om:
iLWR2:
goto yj0EX;
vJ39b:
$this->output_json($data);
goto dUUKE;
lGIT7:
$input = json_decode($this->input->post("siswa", true));
goto aFnfm;
ZxRUU:
jIRbi:
goto vmSOU;
AP8lI:
$this->db->trans_complete();
goto Y6gXu;
WGOpV:
$this->output_json($data);
goto ZxRUU;
aFnfm:
$errors = [];
goto DIszB;
DIszB:
$duplikat = [];
goto YjEmB;
goF1J:
foreach ($input as $key1 => $val1) {
goto zOi2Z;
bng17:
$save = $this->db->insert("master_siswa", $data);
goto zBOnn;
zBOnn:
Zov0I:
goto cMF1W;
P6whl:
$data["foto"] = "uploads/foto_siswa/" . $data["nis"] . ".jpg";
goto mtnSP;
IfuuV:
foreach (((array) $input)[$key1] as $key => $val) {
goto Hh7yl;
PJJEj:
YKME_:
goto ag9DT;
ag9DT:
eZ1uo:
goto yYG03;
zu1Cz:
GlFTK:
goto sud5q;
Hh7yl:
if ($key == "status_keluarga" && $val == null) {
goto GlFTK;
}
goto xN0y_;
LeV6o:
goto YKME_;
goto zu1Cz;
xN0y_:
$data[$key] = $val;
goto LeV6o;
sud5q:
$data[$key] = "1";
goto PJJEj;
yYG03:
}
goto wI10u;
wI10u:
TdcEb:
goto P6whl;
mtnSP:
$this->db->set("uid", "UUID()", FALSE);
goto bng17;
zOi2Z:
$data = [];
goto IfuuV;
cMF1W:
}
goto r27Om;
YjEmB:
foreach ($input as $key1 => $val1) {
goto a3N1k;
HWgWk:
$u_nisn = "|is_unique[master_siswa.nisn]";
goto kyZxX;
I2Arm:
$this->form_validation->set_data($data);
goto J3lIX;
kyZxX:
$u_name = "|is_unique[master_siswa.username]";
goto RVPPI;
FzxXD:
foreach (((array) $input)[$key1] as $key => $val) {
$data[$key] = $val;
pPoa6:
}
goto P3bz2;
kPrRd:
$this->form_validation->set_rules("username", "Username", "required|trim" . $u_name);
goto JKGRP;
QetWZ:
r5FJD:
goto Ta1Xa;
a3N1k:
$data = [];
goto FzxXD;
kExKY:
$this->form_validation->set_rules("nisn", "NISN", "required|numeric|trim|min_length[6]|max_length[20]" . $u_nisn);
goto kPrRd;
e0Pc1:
EE6WP:
goto QetWZ;
P3bz2:
U8mf8:
goto I2Arm;
J3lIX:
$u_nis = "|is_unique[master_siswa.nis]";
goto HWgWk;
KvulW:
$duplikat[] = $data;
goto ZwmE4;
JKGRP:
if (!($this->form_validation->run() == FALSE)) {
goto EE6WP;
}
goto KvulW;
RVPPI:
$this->form_validation->set_rules("nis", "NIS", "required|numeric|trim|min_length[6]|max_length[30]" . $u_nis);
goto kExKY;
ZwmE4:
$errors[$data["nama"]] = ["nis" => form_error("nis"), "nisn" => form_error("nisn"), "username" => form_error("username")];
goto e0Pc1;
Ta1Xa:
}
goto PbfTw;
f2Y3_:
if (count($errors) > 0) {
goto Wdf6l;
}
goto pXQ07;
tnNR7:
foreach ($uids as $uid) {
goto uIDvG;
PJYeE:
$this->db->insert("buku_induk", $uid);
goto mCIl1;
mCIl1:
nzOot:
goto A5qWl;
a9ouR:
if (!($check->get()->num_rows() == 0)) {
goto nzOot;
}
goto PJYeE;
uIDvG:
$check = $this->db->select("id_siswa")->from("buku_induk")->where("id_siswa", $uid->id_siswa);
goto a9ouR;
A5qWl:
FRCQz:
goto AwOR_;
AwOR_:
}
goto FuL5v;
yj0EX:
$uids = $this->db->select("id_siswa, uid")->from("master_siswa")->get()->result();
goto tnNR7;
pXQ07:
$this->db->trans_start();
goto goF1J;
PbfTw:
T84hj:
goto f2Y3_;
dUUKE:
goto jIRbi;
goto c7Vyr;
zLW6L:
$data = ["status" => false, "errors" => $errors, "duplikat" => $duplikat];
goto WGOpV;
FuL5v:
hY4bA:
goto AP8lI;
c7Vyr:
Wdf6l:
goto zLW6L;
vmSOU:
}
public function update()
{
goto Pi9O_;
drjDc:
$this->load->view("master/siswa/update");
goto O1JWl;
Pi9O_:
$this->load->model("Dashboard_model", "dashboard");
goto IFkHN;
O2Sry:
$data["tipe"] = "update";
goto HkBg4;
UKwfY:
$tp = $this->dashboard->getTahunActive();
goto hLA9a;
kRQN5:
$data["smt"] = $this->dashboard->getSemester();
goto LEIYY;
hLA9a:
$smt = $this->dashboard->getSemesterActive();
goto GgudU;
NRYgK:
$data["tp"] = $this->dashboard->getTahun();
goto kRQN5;
R07u1:
$this->load->view("_templates/dashboard/_header", $data);
goto drjDc;
IFkHN:
$this->load->model("Dropdown_model", "dropdown");
goto PvnKy;
GgudU:
$data["tp_active"] = $tp;
goto EY5LH;
EY5LH:
$data["smt_active"] = $smt;
goto NRYgK;
LEIYY:
$data["profile"] = $this->dashboard->getProfileAdmin($user->id);
goto O2Sry;
PvnKy:
$user = $this->ion_auth->user()->row();
goto Lys1W;
Lys1W:
$data = ["user" => $user, "judul" => "Update Data Siswa", "subjudul" => "Update Data Siswa", "setting" => $this->dashboard->getSetting()];
goto UKwfY;
O1JWl:
$this->load->view("_templates/dashboard/_footer");
goto l2TkH;
HkBg4:
$data["kelas"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt);
goto R07u1;
l2TkH:
}
public function downloadData($id_kelas)
{
goto Xfy7w;
RXt4r:
$kel = [];
goto WLfjF;
GX4RO:
$alamat_siswa[] = $siswa->alamat;
goto wCEpq;
azhdX:
$i = 0;
goto pOubm;
wHh5B:
$tempat_lahir[] = $siswa->tempat_lahir;
goto kKFqT;
uj1if:
$tgl_lahir_ibu[] = $siswa->tgl_lahir_ibu;
goto SNOZb;
FVLpr:
$tgl_lahir = [];
goto s1gxM;
uwUBw:
$kode_pos = [];
goto lcLUG;
iBAV7:
$params = ["[id]" => $ids, "[no]" => $no, "[nis]" => $nis, "[nisn]" => $nisn, "[nama]" => $nama, "[jk]" => $jk, "[username]" => $username, "[password]" => $password, "[kelas_awal]" => $kelas_awal, "[tgl_diterima]" => $tgl_diterima, "[sekolah_asal]" => $sekolah_asal, "[tempat_lahir]" => $tempat_lahir, "[tgl_lahir]" => $tgl_lahir, "[agama]" => $agama, "[tlp_siswa]" => $tlp_siswa, "[email]" => $email, "[anak_ke]" => $anak_ke, "[status_keluarga]" => $status_keluarga, "[alamat_siswa]" => $alamat_siswa, "[rt]" => $rt, "[rw]" => $rw, "[kel]" => $kel, "[kec]" => $kec, "[kab]" => $kab, "[prov]" => $prov, "[kode_pos]" => $kode_pos, "[nama_ayah]" => $nama_ayah, "[tgl_lahir_ayah]" => $tgl_lahir_ayah, "[pendidikan_ayah]" => $pendidikan_ayah, "[pekerjaan_ayah]" => $pekerjaan_ayah, "[tlp_ayah]" => $tlp_ayah, "[alamat_ayah]" => $alamat_ayah, "[nama_ibu]" => $nama_ibu, "[tgl_lahir_ibu]" => $tgl_lahir_ibu, "[pendidikan_ibu]" => $pendidikan_ibu, "[pekerjaan_ibu]" => $pekerjaan_ibu, "[tlp_ibu]" => $tlp_ibu, "[alamat_ibu]" => $alamat_ibu, "[nama_wali]" => $nama_wali, "[tgl_lahir_wali]" => $tgl_lahir_wali, "[pendidikan_wali]" => $pendidikan_wali, "[pekerjaan_wali]" => $pekerjaan_wali, "[tlp_wali]" => $tlp_wali, "[alamat_wali]" => $alamat_wali];
goto tTNem;
zQXB3:
$email[] = $siswa->email;
goto eGp7G;
USp7e:
$tlp_ibu = [];
goto yXCTh;
kBlY0:
$status_keluarga[] = $siswa->status_keluarga;
goto GX4RO;
DHEh_:
sLw90:
goto yBs9J;
olEBb:
$anak_ke[] = $siswa->anak_ke;
goto kBlY0;
eGp7G:
$jk[] = $siswa->jenis_kelamin;
goto pkBu1;
hC50W:
$nama_wali = [];
goto RR8_W;
WGvyH:
$pendidikan_wali[] = $siswa->pendidikan_wali;
goto zzUxx;
Rd4S9:
$pekerjaan_ibu = [];
goto USp7e;
Zqd2W:
$jk = [];
goto eyV7G;
rvjzK:
$pekerjaan_wali = [];
goto EWln1;
Xfy7w:
$this->load->model("Master_model", "master");
goto HifFF;
aE4fc:
$kelas_awal = [];
goto pXPXb;
eyV7G:
$username = [];
goto Sit9H;
Uo_oP:
$kab = [];
goto PyUKK;
MIrM3:
$nis = [];
goto ANlVZ;
Astfp:
$tgl_lahir_ayah[] = $siswa->tgl_lahir_ayah;
goto W_bfq;
z5zNc:
$alamat_wali[] = $siswa->alamat_wali;
goto DHEh_;
GtNbk:
$tgl_lahir_ibu = [];
goto Fwgfc;
STOd_:
$tlp_siswa = [];
goto B06WP;
W8bjA:
$pendidikan_ayah = [];
goto bP36K;
afsLh:
$alamat_ibu[] = $siswa->alamat_ibu;
goto K6obd;
E8Xp_:
$pekerjaan_ayah[] = $siswa->pekerjaan_ayah;
goto XYLF3;
pyv0Z:
$rw[] = $siswa->rw;
goto YnnMF;
yXCTh:
$alamat_ibu = [];
goto hC50W;
mR1FX:
$alamat_ayah = [];
goto ih1U1;
Lyn9V:
$sekolah_asal[] = $siswa->sekolah_asal;
goto wHh5B;
ocaUp:
$tgl_diterima[] = $siswa->tahun_masuk;
goto Lyn9V;
D0XvM:
$tlp_ibu[] = "'" . $siswa->nohp_ibu;
goto afsLh;
wN5NJ:
$ids = [];
goto MIrM3;
tLbCE:
$kode_pos[] = $siswa->kode_pos;
goto UwgKX;
lcLUG:
$nama_ayah = [];
goto k7nAD;
enUDW:
$alamat_siswa = [];
goto bUTch;
DZ7QW:
$nama = [];
goto Zqd2W;
rYQr0:
$password[] = $siswa->password;
goto biz_6;
yBs9J:
$i++;
goto n3k51;
Fwgfc:
$pendidikan_ibu = [];
goto Rd4S9;
HiGDf:
$no = [];
goto wN5NJ;
NTVw0:
$alamat_wali = [];
goto azhdX;
bUTch:
$rt = [];
goto P2Obk;
lSXVt:
$no[] = $i + 1;
goto ugZGN;
wCEpq:
$rt[] = $siswa->rt;
goto pyv0Z;
PyUKK:
$prov = [];
goto uwUBw;
ANlVZ:
$nisn = [];
goto DZ7QW;
zzUxx:
$pekerjaan_wali[] = $siswa->pekerjaan_wali;
goto zDnoY;
lveSd:
$nama[] = $siswa->nama;
goto zQXB3;
P2Obk:
$rw = [];
goto RXt4r;
RpMih:
$kelas = $this->master->getKelasById($id_kelas);
goto KBnlf;
Sit9H:
$password = [];
goto aE4fc;
sHKIi:
$nisn[] = "'" . $siswa->nisn;
goto lveSd;
XHlA2:
$alamat_ayah[] = $siswa->alamat_ayah;
goto pF1IR;
h3L7M:
$prov[] = $siswa->provinsi;
goto tLbCE;
WLfjF:
$kec = [];
goto Uo_oP;
CEBuT:
$tgl_lahir_wali[] = $siswa->tgl_lahir_wali;
goto WGvyH;
RR8_W:
$tgl_lahir_wali = [];
goto rFXHY;
Th0Vq:
$tlp_ayah = [];
goto mR1FX;
XzGhd:
$tempat_lahir = [];
goto FVLpr;
pABjG:
HwM_I:
goto iBAV7;
bP36K:
$pekerjaan_ayah = [];
goto Th0Vq;
pkBu1:
$username[] = $siswa->username;
goto rYQr0;
SNOZb:
$pendidikan_ibu[] = $siswa->pendidikan_ibu;
goto qvuX9;
EWln1:
$tlp_wali = [];
goto NTVw0;
jDkfO:
$nis[] = "'" . $siswa->nis;
goto sHKIi;
k7nAD:
$tgl_lahir_ayah = [];
goto W8bjA;
B06WP:
$email = [];
goto vKi_P;
biz_6:
$kelas_awal[] = $siswa->kelas_awal;
goto ocaUp;
K6obd:
$nama_wali[] = $siswa->nama_wali;
goto CEBuT;
XYLF3:
$tlp_ayah[] = "'" . $siswa->nohp_ayah;
goto XHlA2;
LL12s:
$siswa = $siswas[$i];
goto lSXVt;
pOubm:
oA8jO:
goto NxsPr;
GaSzL:
$smt = $this->master->getSemesterActive();
goto RpMih;
FarKF:
$kec[] = $siswa->kecamatan;
goto JYkfs;
qvuX9:
$pekerjaan_ibu[] = $siswa->pekerjaan_ibu;
goto D0XvM;
W_bfq:
$pendidikan_ayah[] = $siswa->pendidikan_ayah;
goto E8Xp_;
rFXHY:
$pendidikan_wali = [];
goto rvjzK;
hpl8Q:
$fileName = "Data Siswa Kelas " . $kelas->nama_kelas . ".xlsx";
goto HiGDf;
icOrI:
$sekolah_asal = [];
goto XzGhd;
YnnMF:
$kel[] = $siswa->kelurahan;
goto FarKF;
dEb43:
$tlp_siswa[] = "'" . $siswa->hp;
goto olEBb;
n3k51:
goto oA8jO;
goto pABjG;
tTNem:
PhpExcelTemplator::outputToFile($template, $fileName, $params);
goto o53zP;
vKi_P:
$anak_ke = [];
goto Do8kO;
NxsPr:
if (!($i < count($siswas))) {
goto HwM_I;
}
goto LL12s;
kKFqT:
$tgl_lahir[] = $siswa->tanggal_lahir;
goto ubtRB;
ih1U1:
$nama_ibu = [];
goto GtNbk;
JYkfs:
$kab[] = $siswa->kabupaten;
goto h3L7M;
pXPXb:
$tgl_diterima = [];
goto icOrI;
HifFF:
$tp = $this->master->getTahunActive();
goto GaSzL;
ugZGN:
$ids[] = $siswa->id_siswa;
goto jDkfO;
UwgKX:
$nama_ayah[] = $siswa->nama_ayah;
goto Astfp;
pF1IR:
$nama_ibu[] = $siswa->nama_ibu;
goto uj1if;
Do8kO:
$status_keluarga = [];
goto enUDW;
KBnlf:
$siswas = $this->master->getSiswaByKelas($tp->id_tp, $smt->id_smt, $id_kelas);
goto eOkJ9;
ubtRB:
$agama[] = $siswa->agama;
goto dEb43;
s1gxM:
$agama = [];
goto STOd_;
zDnoY:
$tlp_wali[] = "'" . $siswa->nohp_wali;
goto z5zNc;
eOkJ9:
$template = "./uploads/import/format/format_update_siswa.xlsx";
goto hpl8Q;
o53zP:
}
public function updateAll()
{
goto Ai8FZ;
ZVec7:
Mc2UA:
goto R8zw_;
R8zw_:
$this->db->trans_complete();
goto ky0Q0;
CTzx1:
$this->output_json($data);
goto ii33P;
k2Vvn:
foreach ($input as $key1 => $val1) {
goto Xes7x;
BxlpL:
Yr8Of:
goto UCLWY;
YeDZA:
$kid = "id_siswa";
goto ZvyYH;
Mw7lo:
$save = $this->db->update("master_siswa", $data, array("id_siswa" => $id_siswa));
goto BxlpL;
Vnx1X:
foreach (((array) $input)[$key1] as $key => $val) {
goto sj0PZ;
sj0PZ:
if ($key == $kid) {
goto OGrru;
}
goto lHULR;
BuS6X:
VrdD9:
goto t152i;
RyDz1:
OGrru:
goto rStud;
rStud:
$id_siswa = $val;
goto BuS6X;
fa4vA:
mJ9l5:
goto Q_PCt;
mW0tm:
if (!($key == "nis")) {
goto mJ9l5;
}
goto EFM1H;
Q_PCt:
goto VrdD9;
goto RyDz1;
lHULR:
$data[$key] = $val;
goto mW0tm;
t152i:
wY6sw:
goto NhEug;
EFM1H:
$data["foto"] = "uploads/foto_siswa/" . $val . ".jpg";
goto fa4vA;
NhEug:
}
goto PYjKU;
PYjKU:
JWJop:
goto Mw7lo;
ZvyYH:
$id_siswa = "0";
goto Vnx1X;
Xes7x:
$data = [];
goto YeDZA;
UCLWY:
}
goto ZVec7;
Ai8FZ:
$input = json_decode($this->input->post("siswa", true));
goto ZcCtx;
ky0Q0:
$data = ["status" => $save, "errors" => []];
goto CTzx1;
ZcCtx:
$this->db->trans_start();
goto k2Vvn;
ii33P:
}
public function previewExcelNis()
{
goto akIDQ;
eaUkE:
$config["max_size"] = 2048;
goto uoYoh;
Jk9YQ:
echo json_encode($data);
goto aHmoX;
eCBTE:
$file = $this->upload->data("full_path");
goto szoc3;
aHmoX:
goto NVBOc;
goto anFYT;
yq2_k:
NVBOc:
goto q7S1t;
anFYT:
u1DgP:
goto N6WLy;
lC5LP:
$config["allowed_types"] = "xls|xlsx|csv";
goto eaUkE;
akIDQ:
$config["upload_path"] = "./uploads/import/";
goto lC5LP;
XQnuA:
if (!($sheetData[$i][0] != null)) {
goto qJS0R;
}
goto C2Xru;
spqXF:
qJS0R:
goto wDTpm;
oMXVV:
bwFrp:
goto WGB_0;
QP_iy:
$i++;
goto q0SUd;
mMBcS:
SZDW3:
goto nntfx;
CBtlz:
die;
goto yq2_k;
byn3Q:
echo $error;
goto CBtlz;
N6WLy:
$error = $this->upload->display_errors();
goto byn3Q;
Lk5kw:
$spreadsheet = $reader->load($file);
goto XcBOX;
wG77M:
M41Ku:
goto AJO5I;
szoc3:
$ext = $this->upload->data("file_ext");
goto z6i73;
wDTpm:
TtlDK:
goto QP_iy;
geqyx:
$i = 1;
goto wG77M;
UPXsK:
if (!$this->upload->do_upload("upload_file")) {
goto u1DgP;
}
goto eCBTE;
q0SUd:
goto M41Ku;
goto mMBcS;
z6i73:
switch ($ext) {
case ".xlsx":
$reader = new \PhpOffice\PhpSpreadsheet\Reader\Xlsx();
goto Rb0vZ;
case ".xls":
$reader = new \PhpOffice\PhpSpreadsheet\Reader\Xls();
goto Rb0vZ;
case ".csv":
$reader = new \PhpOffice\PhpSpreadsheet\Reader\Csv();
goto Rb0vZ;
default:
echo "unknown file ext";
die;
}
goto oMXVV;
XcBOX:
$sheetData = $spreadsheet->getActiveSheet()->toArray();
goto KTjZ_;
WGB_0:
Rb0vZ:
goto Lk5kw;
nntfx:
unlink($file);
goto Jk9YQ;
C2Xru:
$data[] = ["nisn" => str_replace("'", '', $sheetData[$i][1]), "nis" => str_replace("'", '', $sheetData[$i][2])];
goto spqXF;
S9JKE:
$this->upload->initialize($config);
goto UPXsK;
uoYoh:
$config["encrypt_name"] = true;
goto S9JKE;
AJO5I:
if (!($i < count($sheetData))) {
goto SZDW3;
}
goto XQnuA;
KTjZ_:
$data = [];
goto geqyx;
q7S1t:
}
public function updateNisByNisn()
{
goto zK36I;
pp6Rc:
T9Spz:
goto q0eyx;
eU85W:
foreach ($input as $val) {
goto L_oAw;
MuCST:
NPy0a:
goto nfPoA;
qkxPI:
$save = $this->db->update("master_siswa");
goto MuCST;
L_oAw:
$this->db->set("nis", trim($val->nis));
goto ltDtg;
ltDtg:
$this->db->where("nisn", trim($val->nisn));
goto qkxPI;
nfPoA:
}
goto pp6Rc;
q0eyx:
$this->db->trans_complete();
goto pTWyy;
zK36I:
$input = json_decode($this->input->post("siswa", true));
goto eU85W;
pTWyy:
$this->output_json($save);
goto Jgf9w;
Jgf9w:
}
public function editLogin()
{
goto Qp1GE;
xPNUo:
$pass = $this->input->post("new", true);
goto EO1ay;
SOcVI:
$deleted = true;
goto lgzKA;
CsEZj:
$this->form_validation->set_rules("old", $this->lang->line("change_password_validation_old_password_label"), "required");
goto sC0nJ;
E2TTN:
$this->db->set("password", $password);
goto NASvn;
YpjuV:
r06tt:
goto PrUBm;
PrUBm:
$data = ["status" => false, "errors" => ["username" => "Username sudah digunakan"]];
goto Psve5;
uoKLD:
$msg = !$status ? "Gagal mengganti username/passsword." : "berhasil mengganti username/passsword.";
goto r2qmC;
qWeI8:
$additional_data = ["first_name" => $first_name, "last_name" => $last_name];
goto DcYtZ;
TCXkr:
$this->ion_auth->register($username, $password, $email, $additional_data, $group);
goto BVTso;
sRN5I:
$status = $this->db->update("master_siswa");
goto uoKLD;
H7Ncs:
kdQDR:
goto dPQCd;
nC581:
$this->load->model("Dashboard_model", "dashboard");
goto BCsPh;
MRYSg:
r9BQl:
goto C7nGf;
C7nGf:
if ($deleted) {
goto iVhWn;
}
goto dTnmU;
XqpHi:
$this->output_json($data);
goto xcHLG;
G6oNz:
if ($this->form_validation->run() === FALSE) {
goto kdQDR;
}
goto OZAuL;
NASvn:
$this->db->where("id_siswa", $id_siswa);
goto sRN5I;
TML1C:
$this->form_validation->set_rules("new_confirm", $this->lang->line("change_password_validation_new_password_confirm_label"), "required");
goto yRYeW;
Azzj5:
$username = $this->input->post("username", true);
goto xPNUo;
S8PJz:
goto Gn6Ts;
goto YpjuV;
yRYeW:
if ($siswa_lain && $siswa_lain->id_siswa != $id_siswa) {
goto r06tt;
}
goto G6oNz;
dPQCd:
$data = ["status" => false, "errors" => ["old" => form_error("old"), "new" => form_error("new"), "new_confirm" => form_error("new_confirm")]];
goto pzkoN;
FA4Hb:
$siswa_lain = $this->dashboard->getDataSiswa($username, $tp->id_tp, $smt->id_smt);
goto CsEZj;
lIb4Z:
$password = trim($pass);
goto jh6or;
fl4Fk:
$smt = $this->master->getSemesterActive();
goto FA4Hb;
DcYtZ:
$group = array("3");
goto pfPV9;
pzkoN:
Gn6Ts:
goto XqpHi;
AXp_5:
$nama = explode(" ", $siswa->nama);
goto UZL9M;
Qp1GE:
$this->load->model("Master_model", "master");
goto nC581;
bte6g:
$data["text"] = $msg;
goto S8PJz;
Psve5:
goto Gn6Ts;
goto H7Ncs;
pfPV9:
$user_siswa = $this->db->get_where("users", "email="" . $email . """)->row();
goto SOcVI;
UZL9M:
$first_name = $nama[0];
goto MicoT;
aQvp0:
$data["status"] = $status;
goto bte6g;
sC0nJ:
$this->form_validation->set_rules("new", $this->lang->line("change_password_validation_new_password_label"), "required|min_length[" . $this->config->item("min_password_length", "ion_auth") . "]|matches[new_confirm]");
goto TML1C;
EnK9n:
$msg = "Gagal mengganti username/passsword.";
goto S7vRY;
BVTso:
$this->db->set("username", $username);
goto E2TTN;
MicoT:
$last_name = end($nama);
goto i_8Rg;
Gg24s:
$deleted = $this->ion_auth->delete_user($user_siswa->id);
goto MRYSg;
jh6or:
$email = $siswa->nis . "@siswa.com";
goto qWeI8;
BCsPh:
$id_siswa = $this->input->post("id_siswa", true);
goto Azzj5;
GGEq9:
iVhWn:
goto TCXkr;
dTnmU:
$status = false;
goto EnK9n;
S7vRY:
goto NUfjh;
goto GGEq9;
i_8Rg:
$username = trim($username);
goto lIb4Z;
EO1ay:
$tp = $this->master->getTahunActive();
goto fl4Fk;
OZAuL:
$siswa = $this->db->get_where("master_siswa", "id_siswa="" . $id_siswa . """)->row();
goto AXp_5;
r2qmC:
NUfjh:
goto aQvp0;
lgzKA:
if (!($user_siswa != null)) {
goto r9BQl;
}
goto Gg24s;
xcHLG:
}
private function registerSiswa($username, $password, $email, $additional_data, $group)
{
goto YR1jc;
hEyNy:
$data["status"] = false;
goto fylOA;
vFfDg:
if (!($reg == false)) {
goto Abvsn;
}
goto hEyNy;
YR1jc:
$reg = $this->ion_auth->register($username, $password, $email, $additional_data, $group);
goto o3UMG;
veQYF:
return $data;
goto wuOO0;
o3UMG:
$data["status"] = true;
goto m7RU6;
fylOA:
Abvsn:
goto veQYF;
m7RU6:
$data["id"] = $reg;
goto vFfDg;
wuOO0:
}
}
?>
Did this file decode correctly?
Original Code
<?php
/* ________________________________________
| GarudaCBT |
| https://github.com/garudacbt/cbt |
|________________________________________|
*/
defined("\x42\101\x53\105\x50\101\124\x48") or exit("\x4e\x6f\x20\x64\151\x72\x65\143\x74\x20\163\143\162\151\x70\164\40\141\x63\x63\x65\x73\x73\x20\141\x6c\154\x6f\x77\x65\144");
use alhimik1986\PhpExcelTemplator\PhpExcelTemplator;
class Datasiswa extends CI_Controller
{
public function __construct()
{
goto qO1VU;
gqgql:
show_error("\x48\x61\x6e\171\141\x20\x41\x64\155\151\x6e\x69\163\x74\x72\x61\x74\157\x72\x20\x79\141\156\x67\x20\x64\151\x62\145\x72\151\x20\150\141\x6b\x20\x75\156\x74\165\153\x20\155\x65\x6e\x67\141\153\x73\145\x73\40\150\141\x6c\141\x6d\141\156\x20\151\x6e\151\54\40\x3c\x61\x20\150\162\x65\146\x3d\42" . base_url("\144\141\163\x68\142\157\141\x72\144") . "\x22\x3e\113\145\155\x62\141\154\151\40\x6b\145\40\x6d\x65\156\165\40\141\167\x61\x6c\x3c\57\x61\x3e", 403, "\x41\153\x73\145\163\40\124\x65\162\154\x61\162\141\156\147");
goto Lsm36;
dWgBl:
$this->load->library("\165\x70\154\157\x61\x64");
goto yYYGx;
xa59z:
redirect("\141\x75\164\150");
goto W3gz7;
IWPob:
$this->form_validation->set_error_delimiters('', '');
goto WuaMb;
HoDEe:
if (!(!$this->ion_auth->is_admin() && !$this->ion_auth->in_group("\147\x75\x72\x75"))) {
goto oQvr7;
}
goto gqgql;
yYYGx:
$this->load->library(["\x64\x61\x74\141\x74\141\x62\154\145\x73", "\x66\x6f\x72\155\x5f\166\x61\x6c\x69\144\141\x74\151\157\156"]);
goto IWPob;
ZFlRa:
NRMuC:
goto xa59z;
W3gz7:
SIEli:
goto dWgBl;
Lsm36:
oQvr7:
goto Z5D7R;
BVC7h:
if (!$this->ion_auth->logged_in()) {
goto NRMuC;
}
goto HoDEe;
qO1VU:
parent::__construct();
goto BVC7h;
Z5D7R:
goto SIEli;
goto ZFlRa;
WuaMb:
}
public function output_json($data, $encode = true)
{
goto Hgddl;
xEuFR:
NphVP:
goto Lkr1S;
Lkr1S:
$this->output->set_content_type("\141\x70\x70\154\x69\x63\141\x74\151\x6f\x6e\57\x6a\163\157\x6e")->set_output($data);
goto ECfkI;
Hgddl:
if (!$encode) {
goto NphVP;
}
goto QAlh9;
QAlh9:
$data = json_encode($data);
goto xEuFR;
ECfkI:
}
public function index()
{
goto mu16V;
iMqF2:
$this->load->model("\x44\x72\x6f\x70\144\x6f\167\156\x5f\x6d\x6f\144\145\154", "\144\x72\157\x70\x64\x6f\x77\x6e");
goto SPn13;
TLk26:
$tpAktif = $tp[$searchTp];
goto O4emi;
GB0p4:
$tp = $this->dashboard->getTahun();
goto lMn6K;
eAbpm:
$data["\x74\x70"] = $tp;
goto aCthP;
mu16V:
$this->load->model("\104\141\163\x68\142\x6f\141\x72\144\137\x6d\157\x64\145\154", "\144\x61\163\x68\x62\157\141\162\x64");
goto iMqF2;
SPn13:
$user = $this->ion_auth->user()->row();
goto j5u3B;
lMn6K:
$smt = $this->dashboard->getSemester();
goto eAbpm;
hPEjv:
$this->load->view("\x5f\x74\145\x6d\x70\x6c\141\x74\145\163\57\x64\141\x73\x68\x62\x6f\x61\162\144\57\137\146\x6f\157\x74\145\x72");
goto ykaZC;
YyFaz:
$data["\x70\x72\x6f\146\x69\154\x65"] = $this->dashboard->getProfileAdmin($user->id);
goto ENmoJ;
ENmoJ:
$data["\153\x65\154\x61\x73\x73"] = $this->dropdown->getAllKelas($tpAktif->id_tp, $smtAktif->id_smt);
goto jjpie;
fa2tk:
$data["\163\x6d\x74\x5f\x61\x63\x74\x69\x76\x65"] = $smtAktif;
goto YyFaz;
XmKGx:
$searchTp = array_search("\61", array_column($tp, "\x61\143\x74\x69\x76\145"));
goto xgplN;
xgplN:
$searchSmt = array_search("\61", array_column($smt, "\x61\x63\164\x69\x76\145"));
goto TLk26;
O4emi:
$smtAktif = $smt[$searchSmt];
goto X56tP;
j5u3B:
$data = ["\165\163\x65\162" => $user, "\x6a\x75\144\x75\x6c" => "\x53\151\x73\x77\x61", "\x73\x75\x62\152\x75\144\x75\154" => "\104\x61\x74\141\x20\123\x69\x73\167\141", "\x73\x65\164\x74\x69\x6e\x67" => $this->dashboard->getSetting()];
goto GB0p4;
aCthP:
$data["\163\x6d\x74"] = $smt;
goto XmKGx;
jjpie:
$this->load->view("\x5f\x74\145\155\160\x6c\x61\x74\145\163\x2f\144\x61\x73\x68\x62\157\141\x72\144\x2f\137\x68\x65\x61\x64\145\x72", $data);
goto KPR0m;
KPR0m:
$this->load->view("\155\141\x73\x74\x65\162\x2f\x73\x69\x73\167\141\x2f\144\x61\x74\141");
goto hPEjv;
X56tP:
$data["\164\x70\137\x61\x63\x74\151\166\x65"] = $tpAktif;
goto fa2tk;
ykaZC:
}
public function data()
{
goto OY22E;
Dhhz7:
$tp = $this->dashboard->getTahunActive();
goto ClERr;
ClERr:
$smt = $this->dashboard->getSemesterActive();
goto qN0_9;
OY22E:
$this->load->model("\x4d\x61\163\164\x65\162\137\155\x6f\144\145\x6c", "\x6d\141\163\164\145\162");
goto ouXnU;
ouXnU:
$this->load->model("\x44\x61\x73\150\142\157\141\162\144\x5f\x6d\x6f\x64\x65\x6c", "\144\141\x73\150\x62\x6f\x61\x72\144");
goto Dhhz7;
qN0_9:
$this->output_json($this->master->getDataSiswa($tp->id_tp, $smt->id_smt), false);
goto qCIuN;
qCIuN:
}
public function list()
{
goto Pcazb;
EyBJq:
$this->load->model("\104\x61\163\150\x62\157\141\x72\144\137\155\157\x64\x65\x6c", "\x64\141\163\x68\x62\157\141\162\144");
goto NfU_k;
TyHOc:
$offset = ($page - 1) * $limit;
goto oesHc;
OraEt:
$count_siswa = $this->master->getSiswaTotalPage($search);
goto cz2kS;
oesHc:
$tp = $this->dashboard->getTahunActive();
goto ms1R9;
NfU_k:
$page = $this->input->post("\160\x61\147\145", true);
goto tQ3Gh;
ms1R9:
$smt = $this->dashboard->getSemesterActive();
goto OraEt;
cz2kS:
$lists = $this->master->getSiswaPage($tp->id_tp, $smt->id_smt, $offset, $limit, $search);
goto mVJCK;
WN0mN:
$this->output_json($data);
goto Wj0lE;
Ol3BR:
$search = $this->input->post("\163\145\x61\x72\143\x68", true);
goto TyHOc;
mVJCK:
$data = ["\x6c\151\x73\x74\163" => $lists, "\x74\x6f\164\x61\154" => $count_siswa, "\160\141\x67\145\163" => ceil($count_siswa / $limit), "\x73\145\x61\x72\x63\150" => $search, "\160\x65\x72\160\x61\147\145" => $limit];
goto WN0mN;
Pcazb:
$this->load->model("\x4d\x61\163\x74\145\162\137\155\x6f\x64\x65\x6c", "\155\x61\163\164\145\x72");
goto EyBJq;
tQ3Gh:
$limit = $this->input->post("\x6c\151\x6d\151\164", true);
goto Ol3BR;
Wj0lE:
}
public function add()
{
goto PZ5Mo;
PZ5Mo:
$this->load->model("\104\141\163\150\x62\157\x61\162\x64\x5f\155\157\x64\145\x6c", "\144\x61\163\x68\x62\157\x61\162\x64");
goto QAZ20;
n4BYM:
$data["\x70\162\x6f\146\x69\154\x65"] = $this->dashboard->getProfileAdmin($user->id);
goto NFCVx;
GNBC2:
$data["\163\155\164"] = $this->dashboard->getSemester();
goto sFTZa;
snQQ0:
$this->load->view("\155\x61\163\164\x65\162\57\163\x69\x73\x77\141\57\141\144\x64");
goto FgLTv;
Xup64:
$data["\164\x70\x5f\141\143\164\151\166\145"] = $this->dashboard->getTahunActive();
goto GNBC2;
h0pTv:
$this->load->view("\137\x74\145\155\160\154\x61\164\x65\163\x2f\x64\141\x73\x68\142\x6f\141\162\x64\x2f\137\x68\145\141\x64\x65\162", $data);
goto snQQ0;
I5evE:
$data = ["\x75\163\x65\x72" => $user, "\152\165\x64\x75\154" => "\x53\x69\x73\167\x61", "\x73\x75\142\152\x75\144\165\x6c" => "\x54\141\x6d\x62\x61\x68\40\x44\x61\164\x61\x20\x53\x69\163\167\141", "\163\145\164\164\151\x6e\x67" => $this->dashboard->getSetting()];
goto oHP6x;
FgLTv:
$this->load->view("\137\164\x65\x6d\x70\x6c\x61\164\145\x73\57\144\x61\x73\x68\x62\x6f\141\162\x64\57\x5f\x66\157\x6f\x74\145\162");
goto mA11f;
oHP6x:
$data["\x74\x70"] = $this->dashboard->getTahun();
goto Xup64;
NFCVx:
$data["\164\x69\x70\145"] = "\x61\x64\x64";
goto h0pTv;
QAZ20:
$user = $this->ion_auth->user()->row();
goto I5evE;
sFTZa:
$data["\163\155\x74\x5f\141\143\164\x69\166\x65"] = $this->dashboard->getSemesterActive();
goto n4BYM;
mA11f:
}
public function create()
{
goto XAgYb;
I5QCH:
$username = $this->input->post("\165\x73\145\162\156\141\x6d\x65", true);
goto zVAUc;
mmjrK:
$nis = $this->input->post("\x6e\151\163", true);
goto ppD_2;
hwdv1:
$data["\164\x65\x78\x74"] = "\x44\x61\x74\141\40\x53\x75\x64\x61\x68\40\x61\x64\x61\54\x20\x50\141\x73\x74\151\x6b\x61\156\40\116\x49\123\54\x20\116\x49\x53\116\x20\144\141\156\x20\x55\x73\145\x72\x6e\x61\155\145\x20\x62\145\x6c\x75\155\40\x64\x69\x67\165\x6e\141\x6b\141\156\x20\x73\151\163\167\141\40\x6c\141\151\156";
goto mHwoZ;
zVAUc:
$u_nis = "\x7c\x69\163\137\x75\156\151\x71\165\145\133\155\x61\163\164\x65\x72\137\163\151\x73\167\141\x2e\156\151\x73\135";
goto MK0H1;
kDm2X:
$this->form_validation->set_rules("\x6e\151\163", "\x4e\x49\123", "\x72\145\161\165\151\162\145\x64\174\x6e\x75\x6d\x65\162\x69\x63\x7c\164\162\x69\x6d\x7c\155\151\156\x5f\x6c\x65\156\x67\x74\x68\x5b\x36\135\174\x6d\x61\170\137\x6c\145\x6e\x67\x74\150\133\63\60\135" . $u_nis);
goto Hl3Ms;
mX6ph:
GzuBf:
goto g1zll;
fY4ya:
if ($this->form_validation->run() == FALSE) {
goto GzuBf;
}
goto z_Rb0;
CSMg5:
goto z2KPX;
goto mX6ph;
m90TM:
$u_name = "\x7c\x69\x73\137\x75\x6e\151\x71\165\x65\133\155\141\163\x74\145\162\137\163\x69\x73\167\141\x2e\x75\163\145\x72\x6e\x61\155\145\135";
goto kDm2X;
IwDzI:
$siswa = $this->master->getSiswaById($id);
goto VnfHj;
g1zll:
$data["\x69\x6e\x73\x65\162\x74"] = false;
goto hwdv1;
ZI5KY:
$this->output_json($data);
goto iMlW_;
rLMKk:
$this->db->set("\x75\x69\x64", "\125\125\x49\104\50\51", FALSE);
goto PHRrh;
UMqVV:
$this->form_validation->set_rules("\x75\x73\x65\162\x6e\141\155\x65", "\125\163\145\x72\156\x61\155\145", "\x72\145\161\165\x69\x72\x65\x64\174\x74\x72\151\155" . $u_name);
goto fY4ya;
mHwoZ:
z2KPX:
goto ZI5KY;
MK0H1:
$u_nisn = "\174\151\163\137\x75\x6e\151\x71\165\x65\x5b\155\141\163\x74\x65\162\137\163\x69\x73\x77\x61\56\x6e\151\x73\156\135";
goto m90TM;
VnfHj:
$induk = ["\x69\x64\x5f\163\151\163\167\x61" => $id, "\165\151\144" => $siswa->uid, "\x73\x74\x61\x74\165\x73" => 1];
goto tTm7k;
ppD_2:
$nisn = $this->input->post("\156\x69\x73\156", true);
goto I5QCH;
z_Rb0:
$insert = ["\x6e\x61\155\141" => $this->input->post("\x6e\141\155\x61\x5f\163\x69\163\167\x61", true), "\156\x69\163" => $nis, "\156\151\x73\156" => $nisn, "\x6a\x65\156\151\163\x5f\153\145\x6c\x61\x6d\x69\156" => $this->input->post("\152\145\156\151\x73\x5f\153\x65\x6c\141\x6d\x69\x6e", true), "\x6b\x65\154\x61\163\x5f\141\x77\x61\154" => $this->input->post("\x6b\145\x6c\141\163\137\141\x77\x61\154", true), "\x74\141\150\165\x6e\x5f\155\141\163\165\x6b" => $this->input->post("\164\x61\x68\165\156\x5f\x6d\x61\163\x75\153", true), "\165\163\x65\x72\x6e\x61\x6d\x65" => $username, "\160\141\163\x73\167\x6f\162\144" => $this->input->post("\x70\141\163\163\167\157\x72\144", true), "\x66\157\164\157" => "\x75\x70\154\157\x61\x64\163\x2f\146\x6f\164\x6f\x5f\163\151\x73\167\x61\57" . $nis . "\x6a\x70\147"];
goto rLMKk;
tTm7k:
$this->db->insert("\142\165\x6b\x75\137\151\156\144\165\153", $induk);
goto jEHrd;
Hl3Ms:
$this->form_validation->set_rules("\x6e\x69\163\x6e", "\x4e\111\123\x4e", "\162\145\161\x75\151\x72\145\x64\174\156\x75\x6d\x65\x72\151\143\x7c\164\162\x69\x6d\174\x6d\x69\x6e\x5f\x6c\145\156\x67\164\x68\133\x36\x5d\174\155\141\170\137\x6c\145\x6e\x67\164\150\133\x32\60\x5d" . $u_nisn);
goto UMqVV;
kgJHA:
$id = $this->db->insert_id();
goto IwDzI;
XAgYb:
$this->load->model("\x4d\141\163\x74\145\x72\137\x6d\157\x64\145\154", "\x6d\141\163\164\145\x72");
goto mmjrK;
PHRrh:
$data["\x69\156\x73\145\x72\164"] = $this->db->insert("\155\x61\163\x74\145\162\x5f\163\151\x73\167\x61", $insert);
goto kgJHA;
jEHrd:
$data["\164\x65\170\164"] = "\x53\151\163\167\x61\40\x62\x65\162\150\141\x73\151\154\x20\x64\x69\164\x61\155\142\141\x68\153\x61\156";
goto CSMg5;
iMlW_:
}
public function edit($id)
{
goto aYnvC;
GdEwC:
$inputBio = [["\x6e\x61\x6d\145" => "\164\x65\x6d\x70\x61\164\x5f\x6c\x61\150\x69\x72", "\154\141\142\145\154" => "\124\145\155\x70\141\x74\40\x4c\x61\150\151\x72", "\x76\x61\154\x75\x65" => $siswa->tempat_lahir, "\x69\x63\x6f\x6e" => "\x66\x61\162\x20\x66\x61\x2d\x6d\141\x70", "\x63\154\141\x73\163" => '', "\x74\171\160\x65" => "\164\x65\x78\164"], ["\156\x61\155\145" => "\164\141\156\x67\147\x61\x6c\137\x6c\141\150\151\162", "\154\141\142\x65\x6c" => "\x54\141\x6e\x67\x67\141\x6c\40\114\x61\150\x69\162", "\166\x61\x6c\x75\x65" => $siswa->tanggal_lahir, "\151\x63\x6f\156" => "\x66\141\x72\x20\x66\x61\55\x63\x61\154\145\156\144\x61\162", "\143\x6c\x61\x73\163" => "\x74\141\x68\x75\156", "\x74\x79\160\x65" => "\164\145\170\x74"], ["\x63\x6c\x61\163\163" => '', "\156\x61\155\145" => "\x61\147\141\x6d\141", "\x6c\x61\142\145\154" => "\x41\x67\141\155\141", "\166\x61\154\165\x65" => $siswa->agama, "\151\x63\157\x6e" => "\x66\x61\162\x20\x66\141\55\x63\141\154\x65\x6e\x64\x61\162", "\164\171\160\x65" => "\164\x65\x78\164"], ["\x63\154\x61\x73\163" => '', "\x6e\141\x6d\145" => "\x61\x6c\141\x6d\x61\x74", "\154\x61\x62\x65\154" => "\101\154\x61\x6d\x61\164", "\x76\141\x6c\x75\x65" => $siswa->alamat, "\x69\x63\157\156" => "\x66\141\x72\40\x66\x61\x2d\165\163\145\162", "\x74\x79\x70\145" => "\x74\145\170\x74"], ["\143\x6c\141\163\163" => '', "\156\141\x6d\x65" => "\x72\x74", "\154\x61\x62\145\x6c" => "\x52\x74", "\x76\x61\154\165\145" => $siswa->rt, "\x69\143\x6f\156" => "\146\x61\x72\40\x66\141\x2d\x75\163\145\162", "\x74\171\x70\x65" => "\164\145\x78\164"], ["\143\x6c\x61\163\163" => '', "\156\141\x6d\145" => "\x72\x77", "\x6c\x61\x62\145\x6c" => "\122\x77", "\x76\x61\x6c\165\x65" => $siswa->rw, "\151\x63\x6f\156" => "\146\141\x72\x20\x66\x61\55\x75\163\145\162", "\164\171\x70\x65" => "\164\145\x78\164"], ["\x63\x6c\x61\163\163" => '', "\156\141\155\x65" => "\x6b\x65\x6c\x75\x72\x61\x68\x61\156", "\154\141\142\x65\154" => "\113\x65\154\x75\162\x61\x68\x61\x6e\x2f\x44\x65\163\141", "\166\141\x6c\165\145" => $siswa->kelurahan, "\x69\143\157\156" => "\146\141\162\40\146\141\x2d\x75\x73\145\x72", "\x74\x79\x70\x65" => "\164\x65\x78\x74"], ["\143\154\141\x73\x73" => '', "\156\x61\155\x65" => "\x6b\145\143\x61\155\141\x74\x61\x6e", "\154\141\142\145\154" => "\x4b\x65\143\141\x6d\141\164\141\x6e", "\166\141\x6c\165\145" => $siswa->kecamatan, "\151\x63\x6f\x6e" => "\x66\141\x72\40\x66\141\55\165\x73\x65\162", "\164\x79\160\145" => "\x74\x65\x78\164"], ["\143\x6c\141\163\163" => '', "\x6e\141\x6d\x65" => "\x6b\141\142\165\x70\x61\x74\145\x6e", "\x6c\141\142\x65\154" => "\113\x61\142\165\x70\141\x74\145\156\x2f\113\x6f\164\141", "\166\141\154\165\145" => $siswa->kabupaten, "\x69\143\x6f\x6e" => "\x66\141\162\40\146\x61\55\165\x73\x65\x72", "\164\171\x70\145" => "\164\145\170\x74"], ["\143\154\x61\163\163" => '', "\156\141\x6d\145" => "\153\x6f\144\x65\x5f\x70\x6f\163", "\154\x61\x62\x65\x6c" => "\113\157\x64\x65\x20\x50\157\x73", "\166\x61\x6c\x75\145" => $siswa->kode_pos, "\151\x63\157\x6e" => "\146\x61\162\40\x66\x61\x2d\165\x73\145\162", "\164\171\160\145" => "\x74\x65\x78\x74"], ["\143\154\x61\163\163" => '', "\x6e\x61\155\145" => "\x68\160", "\154\141\142\145\x6c" => "\110\x70", "\166\x61\x6c\165\x65" => $siswa->hp, "\151\143\x6f\156" => "\146\x61\x72\x20\146\x61\55\x75\x73\145\x72", "\x74\171\160\145" => "\164\145\x78\164"]];
goto Ji_lq;
f73qp:
$this->load->model("\x44\x61\163\150\142\157\x61\x72\x64\x5f\x6d\157\x64\x65\x6c", "\x64\x61\163\150\x62\157\x61\162\144");
goto RwLQQ;
H64rI:
$data = ["\x75\163\145\162" => $user, "\152\165\144\x75\154" => "\123\151\x73\167\x61", "\x73\x75\142\152\x75\144\165\x6c" => "\x45\x64\151\x74\x20\104\141\x74\141\40\123\151\x73\x77\141", "\x73\151\x73\167\x61" => $siswa, "\x73\145\164\164\151\x6e\147" => $this->dashboard->getSetting()];
goto j5YcX;
Gn70t:
$data["\x69\156\160\165\x74\x5f\x6f\x72\x74\165"] = json_decode(json_encode($inputOrtu), FALSE);
goto c2yPx;
D1Tos:
$this->load->view("\x6d\145\x6d\142\145\162\163\57\147\x75\x72\x75\x2f\x74\145\155\x70\154\x61\164\145\163\x2f\x66\157\157\164\x65\162");
goto YblNB;
cyOI4:
$data["\163\155\164\x5f\x61\143\164\x69\x76\145"] = $smt;
goto w2U2C;
iIG6k:
$data["\147\165\162\x75"] = $this->dashboard->getDataGuruByUserId($user->id, $tp->id_tp, $smt->id_smt);
goto dRXmW;
c2yPx:
$data["\151\156\x70\x75\164\137\x77\141\x6c\x69"] = json_decode(json_encode($inputWali), FALSE);
goto B9Rvv;
RHYNN:
$inputWali = [["\156\x61\155\x65" => "\156\141\x6d\141\137\167\141\154\151", "\x6c\x61\x62\145\x6c" => "\116\x61\x6d\x61\40\127\141\x6c\x69", "\166\x61\x6c\x75\x65" => $siswa->nama_wali, "\x69\143\157\x6e" => "\x66\x61\x72\x20\x66\141\x2d\x75\x73\145\x72", "\x74\x79\x70\145" => "\164\145\170\x74"], ["\156\141\155\145" => "\x70\145\153\x65\x72\x6a\141\141\156\137\167\x61\x6c\151", "\154\x61\x62\x65\x6c" => "\x50\x65\x6b\145\162\152\141\141\156\40\127\141\x6c\151", "\166\141\154\165\x65" => $siswa->pekerjaan_wali, "\x69\143\x6f\x6e" => "\x66\141\162\40\x66\141\55\x75\x73\145\162", "\x74\171\160\x65" => "\x74\145\x78\164"], ["\x6e\x61\155\145" => "\x61\154\x61\x6d\141\164\x5f\167\141\154\151", "\154\141\x62\x65\x6c" => "\x41\154\141\x6d\141\x74\x20\x57\x61\x6c\x69", "\166\141\154\165\145" => $siswa->alamat_wali, "\151\143\157\x6e" => "\146\141\162\x20\x66\141\x2d\x75\x73\145\162", "\x74\171\160\145" => "\x74\x65\x78\164"], ["\x6e\141\155\145" => "\156\157\x68\x70\x5f\167\x61\x6c\x69", "\154\x61\142\x65\154" => "\x4e\x6f\56\40\110\x50\x20\x57\141\154\151", "\166\141\154\x75\x65" => $siswa->nohp_wali, "\151\x63\157\x6e" => "\x66\141\162\40\x66\141\x2d\165\x73\145\x72", "\x74\171\x70\x65" => "\156\x75\x6d\142\145\162"]];
goto bjVrW;
bjVrW:
$user = $this->ion_auth->user()->row();
goto H64rI;
XsDEK:
J97Go:
goto tiT_J;
e0Omq:
$data["\x69\x6e\x70\165\164\137\x62\151\x6f"] = json_decode(json_encode($inputBio), FALSE);
goto Gn70t;
FOt21:
$this->load->view("\x5f\x74\145\x6d\160\x6c\x61\164\x65\x73\57\x64\141\163\150\142\157\x61\162\x64\x2f\137\150\x65\141\144\145\162", $data);
goto UgkdH;
Ji_lq:
$inputOrtu = [["\156\x61\155\x65" => "\163\x74\141\164\x75\x73\x5f\x6b\x65\154\165\141\x72\x67\141", "\154\141\142\145\154" => "\123\164\141\164\x75\163\x20\113\x65\154\165\141\x72\x67\x61", "\x76\141\x6c\165\x65" => $siswa->status_keluarga, "\x69\x63\x6f\156" => "\146\x61\162\40\x66\x61\x2d\x75\163\x65\162", "\x74\x79\160\145" => "\x74\x65\170\x74"], ["\x6e\x61\155\x65" => "\x61\x6e\x61\x6b\x5f\x6b\x65", "\154\141\142\145\x6c" => "\x41\x6e\x61\153\40\153\145", "\x76\x61\154\x75\145" => $siswa->anak_ke, "\151\143\157\x6e" => "\146\141\x72\40\x66\141\x2d\x75\x73\x65\x72", "\164\171\160\x65" => "\x6e\165\x6d\142\145\x72"], ["\x6e\x61\155\x65" => "\156\141\x6d\141\137\x61\x79\141\x68", "\x6c\141\142\x65\154" => "\x4e\x61\x6d\141\x20\101\x79\141\150", "\x76\x61\154\x75\x65" => $siswa->nama_ayah, "\151\x63\x6f\156" => "\x66\141\162\x20\x66\141\55\x75\x73\x65\x72", "\164\171\x70\x65" => "\x74\145\x78\164"], ["\x6e\141\x6d\145" => "\160\x65\x6b\145\x72\152\141\x61\x6e\137\x61\171\x61\x68", "\x6c\141\142\145\154" => "\x50\x65\153\x65\162\x6a\141\141\x6e\x20\101\171\141\150", "\166\141\154\165\145" => $siswa->pekerjaan_ayah, "\151\143\157\156" => "\146\141\x72\40\x66\x61\x2d\x75\x73\145\162", "\x74\171\160\145" => "\164\x65\x78\x74"], ["\156\141\x6d\145" => "\x61\x6c\x61\x6d\x61\x74\137\141\171\x61\x68", "\154\x61\x62\145\x6c" => "\x41\154\x61\x6d\x61\164\x20\x41\171\141\x68", "\166\141\x6c\165\145" => $siswa->alamat_ayah, "\151\x63\157\x6e" => "\146\x61\x72\40\x66\141\55\x75\163\145\x72", "\164\171\160\145" => "\x74\145\170\x74"], ["\156\141\155\145" => "\x6e\157\x68\x70\137\141\171\x61\150", "\x6c\x61\x62\145\154" => "\x4e\x6f\x2e\40\x48\120\40\101\x79\x61\150", "\166\141\154\x75\145" => $siswa->nohp_ayah, "\x69\x63\x6f\156" => "\x66\141\162\x20\x66\x61\x2d\x75\x73\x65\162", "\x74\171\x70\x65" => "\x6e\165\155\x62\145\x72"], ["\156\x61\155\145" => "\x6e\141\155\x61\x5f\x69\x62\x75", "\154\x61\142\145\x6c" => "\116\141\x6d\141\x20\x49\x62\x75", "\166\141\154\x75\145" => $siswa->nama_ibu, "\x69\143\157\156" => "\x66\x61\162\40\x66\x61\55\165\163\145\x72", "\164\x79\x70\145" => "\x74\145\170\164"], ["\156\141\155\145" => "\160\x65\153\x65\x72\x6a\141\141\156\x5f\x69\142\x75", "\x6c\141\142\x65\154" => "\x50\145\x6b\x65\x72\152\x61\x61\156\x20\x49\x62\165", "\x76\x61\154\165\x65" => $siswa->pekerjaan_ibu, "\x69\x63\x6f\156" => "\x66\141\162\40\x66\141\55\165\163\x65\x72", "\164\x79\x70\x65" => "\x74\145\170\164"], ["\x6e\141\x6d\145" => "\141\154\141\x6d\x61\164\137\151\142\165", "\154\x61\x62\x65\x6c" => "\x41\154\x61\x6d\141\x74\x20\x49\x62\165", "\x76\141\x6c\x75\x65" => $siswa->alamat_ibu, "\x69\x63\157\156" => "\146\141\x72\x20\x66\141\55\165\163\145\x72", "\x74\x79\x70\x65" => "\164\145\170\164"], ["\x6e\x61\x6d\x65" => "\x6e\x6f\150\160\137\151\x62\165", "\x6c\x61\x62\x65\154" => "\116\x6f\x2e\x20\110\x50\x20\111\x62\165", "\166\x61\x6c\x75\x65" => $siswa->nohp_ibu, "\x69\143\157\156" => "\146\141\162\x20\146\141\55\165\163\145\x72", "\164\171\x70\x65" => "\156\165\155\142\145\162"]];
goto RHYNN;
jRr3B:
$inputData = [["\x6c\x61\x62\x65\154" => "\116\x61\155\x61\40\x4c\145\x6e\x67\x6b\x61\160", "\x6e\x61\155\145" => "\x6e\x61\155\141", "\x76\141\154\165\x65" => $siswa->nama, "\151\143\x6f\x6e" => "\146\141\x72\40\146\x61\x2d\x75\163\x65\x72", "\143\154\141\x73\x73" => '', "\x74\x79\160\x65" => "\x74\x65\x78\x74"], ["\154\141\x62\145\154" => "\116\x49\x53", "\156\141\155\145" => "\x6e\151\163", "\166\141\154\165\x65" => $siswa->nis, "\x69\x63\157\156" => "\146\141\162\40\146\141\x2d\151\144\55\143\141\162\144", "\x63\x6c\141\x73\163" => '', "\164\x79\x70\x65" => "\156\165\x6d\142\145\x72"], ["\x6e\141\155\145" => "\x6e\151\163\x6e", "\x6c\x61\x62\x65\x6c" => "\116\111\x53\116", "\166\141\154\165\x65" => $siswa->nisn, "\151\x63\x6f\x6e" => "\146\141\x72\x20\146\141\x2d\x69\144\x2d\x63\x61\162\144", "\143\x6c\141\x73\163" => '', "\164\x79\160\145" => "\x74\x65\170\x74"], ["\x6c\x61\142\145\154" => "\x4a\x65\156\x69\163\x20\x4b\x65\154\141\x6d\x69\156", "\156\x61\x6d\145" => "\x6a\145\x6e\151\163\137\x6b\x65\154\x61\x6d\151\156", "\x76\141\154\x75\145" => $siswa->jenis_kelamin, "\x69\x63\157\x6e" => "\146\x61\163\40\x66\141\55\x76\145\156\165\163\x2d\x6d\141\162\x73", "\x63\x6c\x61\x73\x73" => '', "\x74\x79\160\x65" => "\x74\145\x78\164"], ["\156\x61\x6d\145" => "\x6b\x65\x6c\141\163\137\x61\x77\141\x6c", "\x6c\141\142\x65\x6c" => "\x44\151\164\x65\x72\x69\155\141\x20\144\151\x20\153\x65\x6c\141\163", "\166\x61\154\165\145" => $siswa->kelas_awal, "\x69\143\157\156" => "\146\141\x73\x20\146\141\55\x67\162\x61\x64\x75\x61\x74\151\x6f\156\55\143\x61\x70", "\x63\x6c\141\163\x73" => '', "\164\171\160\x65" => "\x74\x65\x78\x74"], ["\x6e\141\x6d\x65" => "\164\x61\x68\x75\156\x5f\155\x61\x73\165\153", "\x6c\x61\142\145\x6c" => "\x54\147\154\40\144\151\164\x65\162\151\x6d\x61", "\x76\141\x6c\165\145" => $siswa->tahun_masuk, "\151\x63\x6f\156" => "\x74\x61\x68\165\156\x20\146\141\162\40\146\x61\55\x63\141\x6c\x65\x6e\144\x61\x72\x2d\141\x6c\164", "\143\154\x61\x73\163" => "\x74\141\x68\165\x6e", "\x74\x79\160\x65" => "\x74\145\170\164"], ["\156\x61\155\x65" => "\163\145\153\x6f\x6c\x61\150\137\x61\x73\x61\x6c", "\x6c\141\142\145\x6c" => "\x53\x65\x6b\x6f\x6c\x61\x68\x20\101\163\141\x6c", "\x76\x61\154\x75\145" => $siswa->sekolah_asal, "\151\143\157\156" => "\x66\141\x73\40\x66\141\55\x67\162\x61\x64\x75\141\164\151\157\x6e\x2d\x63\141\160", "\143\x6c\141\x73\x73" => '', "\x74\x79\x70\x65" => "\164\145\x78\x74"], ["\x6e\x61\x6d\x65" => "\x73\164\141\164\x75\x73", "\154\141\x62\x65\x6c" => "\x53\x65\164\x61\x74\165\163", "\x76\x61\x6c\165\x65" => $siswa->status, "\x69\x63\157\156" => "\x66\141\162\40\146\141\55\x75\163\x65\x72", "\x63\154\x61\x73\x73" => "\x73\164\141\164\x75\x73", "\164\x79\160\145" => "\x74\145\x78\x74"]];
goto GdEwC;
B9Rvv:
$data["\160\162\157\146\151\x6c\145"] = $this->dashboard->getProfileAdmin($user->id);
goto zhjrb;
RwLQQ:
$siswa = $this->master->getSiswaById($id);
goto jRr3B;
d1HfA:
$data["\163\155\x74"] = $this->dashboard->getSemester();
goto MOpdy;
BjTt7:
$smt = $this->master->getSemesterActive();
goto n11oQ;
zhjrb:
if ($this->ion_auth->is_admin()) {
goto EWLmk;
}
goto iIG6k;
edaY7:
$this->load->view("\x6d\141\163\x74\145\162\x2f\x73\151\163\167\x61\x2f\x65\144\151\164");
goto D1Tos;
aYnvC:
$this->load->model("\115\x61\x73\x74\145\162\137\155\x6f\144\x65\154", "\x6d\x61\x73\x74\x65\162");
goto f73qp;
Upf_H:
$this->load->view("\x5f\x74\145\155\160\x6c\x61\164\x65\x73\57\x64\x61\x73\x68\142\157\x61\162\144\57\x5f\x66\x6f\157\x74\145\162");
goto XsDEK;
AtOEd:
EWLmk:
goto FOt21;
YblNB:
goto J97Go;
goto AtOEd;
MOpdy:
$data["\164\x70\137\141\x63\164\151\x76\145"] = $tp;
goto cyOI4;
w2U2C:
$data["\x69\x6e\x70\x75\164\x5f\144\141\x74\x61"] = json_decode(json_encode($inputData), FALSE);
goto e0Omq;
n11oQ:
$data["\164\x70"] = $this->dashboard->getTahun();
goto d1HfA;
dRXmW:
$this->load->view("\155\145\x6d\x62\x65\162\163\x2f\147\165\x72\x75\57\x74\x65\155\160\x6c\141\x74\x65\163\57\x68\x65\141\x64\145\x72", $data);
goto edaY7;
UgkdH:
$this->load->view("\x6d\x61\x73\x74\x65\162\57\x73\x69\163\x77\141\x2f\x65\x64\151\x74");
goto Upf_H;
j5YcX:
$tp = $this->master->getTahunActive();
goto BjTt7;
tiT_J:
}
public function updateData()
{
goto Y8icw;
nXyMU:
$input = ["\156\x69\163\156" => $this->input->post("\156\x69\163\x6e", true), "\x6e\x69\163" => $this->input->post("\x6e\151\x73", true), "\x6e\x61\x6d\141" => $this->input->post("\156\141\155\x61", true), "\x6a\145\x6e\151\163\137\153\145\154\x61\155\151\x6e" => $this->input->post("\x6a\x65\x6e\151\163\137\153\145\154\141\155\151\x6e", true), "\164\x65\x6d\160\141\x74\137\x6c\141\x68\x69\x72" => $this->input->post("\164\145\x6d\x70\141\164\137\x6c\x61\x68\151\162", true), "\x74\141\156\x67\147\141\x6c\x5f\x6c\141\x68\151\x72" => $this->strContains($tgl_lahir, "\60\60\x30\60\x2d") ? null : $tgl_lahir, "\141\x67\141\155\141" => $this->input->post("\x61\147\141\155\x61", true), "\x73\x74\141\164\165\x73\x5f\x6b\x65\154\x75\x61\x72\x67\141" => $this->input->post("\163\x74\141\164\x75\x73\137\153\x65\154\x75\141\162\147\141", true), "\141\x6e\141\x6b\x5f\153\145" => $this->input->post("\x61\x6e\x61\x6b\x5f\153\145", true), "\141\154\141\x6d\x61\x74" => $this->input->post("\141\154\141\155\141\164", true), "\x72\x74" => $this->input->post("\x72\x74", true), "\x72\x77" => $this->input->post("\162\x77", true), "\x6b\145\154\x75\x72\x61\150\141\x6e" => $this->input->post("\x6b\x65\154\165\x72\141\150\141\156", true), "\x6b\x65\x63\141\x6d\141\164\x61\156" => $this->input->post("\153\x65\x63\141\155\x61\164\x61\156", true), "\x6b\141\x62\165\160\141\164\145\x6e" => $this->input->post("\153\141\142\165\x70\x61\164\x65\156", true), "\160\162\157\166\x69\x6e\163\151" => $this->input->post("\160\x72\157\x76\x69\156\163\x69", true), "\x6b\x6f\x64\145\x5f\160\157\x73" => $this->input->post("\x6b\157\144\145\x5f\x70\157\163", true), "\150\x70" => $this->input->post("\x68\160", true), "\x6e\141\x6d\141\137\x61\x79\x61\150" => $this->input->post("\156\x61\x6d\141\137\141\171\x61\x68", true), "\x6e\157\x68\x70\137\141\x79\x61\150" => $this->input->post("\156\157\x68\160\x5f\x61\x79\x61\150", true), "\x70\145\x6e\x64\151\144\151\153\141\156\x5f\141\x79\141\150" => $this->input->post("\160\x65\x6e\x64\x69\144\151\153\x61\x6e\x5f\x61\171\x61\x68", true), "\160\x65\153\x65\x72\x6a\141\x61\156\x5f\x61\171\141\150" => $this->input->post("\160\x65\153\x65\x72\152\141\x61\156\x5f\141\x79\141\x68", true), "\x61\x6c\141\x6d\141\x74\x5f\141\x79\141\150" => $this->input->post("\141\154\x61\155\x61\x74\137\x61\x79\x61\150", true), "\x6e\141\x6d\141\137\151\142\x75" => $this->input->post("\x6e\x61\155\141\x5f\151\x62\165", true), "\156\157\150\x70\137\151\142\x75" => $this->input->post("\156\157\x68\160\x5f\151\x62\165", true), "\160\145\x6e\144\x69\144\151\153\x61\x6e\x5f\151\142\165" => $this->input->post("\x70\145\x6e\x64\x69\x64\151\153\x61\x6e\x5f\151\142\165", true), "\x70\145\153\x65\162\152\x61\141\x6e\x5f\x69\142\165" => $this->input->post("\160\x65\x6b\x65\x72\152\141\141\x6e\x5f\x69\x62\x75", true), "\x61\154\x61\155\x61\x74\x5f\151\142\x75" => $this->input->post("\x61\x6c\x61\155\141\164\137\x69\142\x75", true), "\156\141\x6d\x61\137\167\x61\154\x69" => $this->input->post("\x6e\x61\155\x61\x5f\167\141\154\x69", true), "\160\145\156\x64\x69\144\x69\153\141\156\137\167\x61\x6c\151" => $this->input->post("\160\145\x6e\144\151\x64\x69\x6b\x61\x6e\137\x77\141\154\151", true), "\160\x65\x6b\145\162\152\141\x61\x6e\x5f\167\x61\x6c\x69" => $this->input->post("\x70\x65\x6b\x65\x72\152\x61\141\x6e\x5f\167\x61\x6c\x69", true), "\156\x6f\x68\x70\137\167\x61\x6c\151" => $this->input->post("\156\157\150\x70\x5f\167\x61\154\151", true), "\x61\154\141\155\141\164\x5f\x77\141\154\151" => $this->input->post("\x61\x6c\x61\x6d\x61\x74\137\167\x61\154\151", true), "\164\141\150\x75\x6e\137\155\141\163\165\x6b" => $this->strContains($tgl_masuk, "\60\x30\x30\x30\x2d") ? null : $tgl_masuk, "\153\145\x6c\x61\x73\x5f\x61\x77\x61\x6c" => $this->input->post("\x6b\x65\154\141\x73\x5f\141\x77\x61\x6c", true), "\164\x67\x6c\x5f\x6c\x61\150\151\162\137\x61\x79\x61\x68" => $this->input->post("\x74\147\154\137\x6c\x61\x68\151\x72\x5f\141\171\141\x68", true), "\x74\147\x6c\x5f\x6c\141\150\151\162\137\151\142\165" => $this->input->post("\x74\147\x6c\137\x6c\x61\x68\151\x72\x5f\x69\142\165", true), "\164\x67\x6c\x5f\x6c\x61\x68\151\x72\x5f\167\141\x6c\151" => $this->input->post("\x74\147\x6c\137\154\x61\x68\x69\162\x5f\x77\141\154\x69", true), "\163\145\x6b\157\x6c\x61\150\137\x61\163\x61\154" => $this->input->post("\163\x65\153\157\154\141\x68\137\141\163\x61\154", true), "\146\157\164\157" => $siswa->foto != null && $siswa->foto != '' ? $siswa->foto : "\x75\160\154\157\141\x64\163\x2f\146\x6f\x74\157\137\x73\x69\163\167\141\57" . $nis . "\56\x6a\x70\x67"];
goto TMC9u;
kBl3J:
if ($this->form_validation->run() == FALSE) {
goto l1Y96;
}
goto E3crI;
mlGei:
$siswa = $this->master->getSiswaById($id_siswa);
goto UdMk7;
P8G8s:
$data["\x69\156\x73\x65\162\x74"] = false;
goto qXNcT;
YMI8X:
$nisn = $this->input->post("\156\x69\163\x6e", true);
goto mlGei;
UdMk7:
$u_nis = $siswa->nis === $nis ? '' : "\x7c\151\x73\x5f\165\x6e\x69\x71\165\x65\133\x6d\x61\x73\164\x65\162\137\x73\x69\x73\x77\141\56\x6e\x69\x73\x5d";
goto TZU3X;
z4mTm:
$data["\x74\145\170\164"] = "\123\x69\x73\x77\141\40\142\x65\x72\x68\141\163\151\154\x20\x64\x69\x70\145\162\142\x61\150\x61\162\165\151";
goto aWMm4;
KqgMY:
tVDU2:
goto hH3Pb;
E3crI:
$tgl_lahir = $this->input->post("\164\x61\156\x67\147\x61\154\x5f\154\141\150\151\162", true);
goto CcF94;
hH3Pb:
$this->output_json($data);
goto jsjQa;
TZU3X:
$u_nisn = $siswa->nisn === $nisn ? '' : "\174\151\x73\137\x75\156\151\161\x75\x65\x5b\x6d\141\x73\164\x65\x72\x5f\163\x69\163\167\141\x2e\156\x69\163\x6e\135";
goto icU8w;
DDgo2:
$id_siswa = $this->input->post("\x69\144\137\x73\x69\163\x77\x61", true);
goto l49ze;
qXNcT:
$data["\x74\x65\x78\x74"] = "\116\x49\x53\x20\153\165\x72\x61\156\147\40\x64\141\162\151\40\66\x20\141\156\x67\153\x61\54\40\x61\x74\x61\165\40\144\x61\164\141\40\x53\x75\144\x61\150\40\x61\144\x61\54\40\x50\x61\163\x74\x69\153\141\x6e\x20\116\x49\123\54\x20\x64\141\x6e\x20\116\x49\x53\116\x20\x62\x65\154\165\x6d\40\x64\x69\147\165\x6e\141\153\x61\x6e\x20\x73\151\x73\x77\141\40\154\x61\151\x6e";
goto KqgMY;
CcF94:
$tgl_masuk = $this->input->post("\164\x61\x68\x75\x6e\x5f\x6d\x61\163\165\x6b", true);
goto nXyMU;
aWMm4:
goto tVDU2;
goto lOH7t;
TMC9u:
$this->master->update("\155\x61\163\164\x65\162\x5f\163\x69\x73\167\x61", $input, "\x69\144\137\x73\x69\x73\167\141", $id_siswa);
goto EFqZt;
Y8icw:
$this->load->model("\x4d\141\163\x74\x65\x72\137\155\x6f\144\145\x6c", "\x6d\x61\163\x74\x65\x72");
goto DDgo2;
j28SR:
$this->db->where("\x69\144\x5f\x73\151\x73\167\x61", $siswa->id_siswa);
goto DMyNx;
lOH7t:
l1Y96:
goto P8G8s;
l49ze:
$nis = $this->input->post("\156\x69\x73", true);
goto YMI8X;
MSV0N:
$data["\151\156\163\x65\162\164"] = $input;
goto z4mTm;
icU8w:
$this->form_validation->set_rules("\x6e\151\163", "\x4e\x49\x53", "\x72\x65\x71\x75\x69\x72\145\144\174\156\165\155\x65\162\x69\143\x7c\164\x72\x69\155\174\155\151\156\x5f\x6c\145\x6e\x67\x74\150\133\x36\x5d\x7c\x6d\x61\170\x5f\154\145\x6e\147\x74\x68\133\x33\60\135" . $u_nis);
goto kBl3J;
DMyNx:
$this->db->update("\142\165\153\165\137\151\x6e\x64\165\153");
goto MSV0N;
EFqZt:
$this->db->set("\163\x74\x61\164\x75\x73", $this->input->post("\x73\164\x61\x74\x75\x73", true));
goto j28SR;
jsjQa:
}
function strContains($string, $val)
{
return strpos($string, $val) !== false;
}
function uploadFile($id_siswa)
{
goto G1H7T;
xzNzq:
$data["\163\x74\x61\164\x75\163"] = true;
goto xOECD;
BUxBG:
$data["\163\162\x63"] = '';
goto g5fFv;
RsWxL:
$data["\x66\151\x6c\x65\x6e\x61\155\x65"] = pathinfo($result["\x66\x69\x6c\145\137\x6e\x61\x6d\145"], PATHINFO_FILENAME);
goto xzNzq;
CxTza:
if (isset($_FILES["\x66\x6f\x74\157"]["\156\141\x6d\x65"])) {
goto qU1pU;
}
goto BUxBG;
TpFbc:
S7lOG:
goto J72Yt;
ijP60:
$data["\163\x72\x63"] = $this->upload->display_errors();
goto K0L3K;
yuCfa:
$config["\157\x76\x65\x72\167\x72\151\164\145"] = true;
goto E9OQw;
p4FZP:
qU1pU:
goto ErLCb;
pTJXt:
$this->db->where("\x69\144\x5f\x73\x69\163\x77\141", $id_siswa);
goto pqZKg;
g5fFv:
goto c6eLb;
goto p4FZP;
SIdet:
$data["\x73\x72\x63"] = base_url() . "\x75\x70\x6c\157\x61\144\x73\x2f\x66\x6f\x74\x6f\137\163\151\163\x77\x61\57" . $result["\146\x69\154\x65\x5f\156\x61\x6d\145"];
goto RsWxL;
xOECD:
$this->db->set("\146\157\164\x6f", "\165\160\154\x6f\141\x64\x73\x2f\x66\157\x74\x6f\137\x73\x69\163\167\x61\x2f" . $result["\146\151\154\x65\137\x6e\141\155\145"]);
goto pTJXt;
T0RVp:
$this->output_json($data);
goto U17jq;
fgGab:
$data["\x74\171\x70\x65"] = $_FILES["\146\x6f\x74\x6f"]["\x74\171\x70\145"];
goto xFCbh;
KXcVU:
c6eLb:
goto T0RVp;
QLkmx:
$config["\141\154\x6c\x6f\x77\x65\x64\137\164\x79\160\x65\163"] = "\147\151\146\174\x6a\160\147\x7c\160\x6e\x67\x7c\152\x70\x65\147\174\x4a\x50\x45\107\174\x4a\x50\107\174\120\x4e\x47\x7c\107\x49\106";
goto yuCfa;
ErLCb:
$config["\165\x70\154\x6f\141\x64\137\x70\x61\x74\x68"] = "\56\57\165\x70\154\x6f\x61\x64\163\x2f\146\x6f\164\x6f\137\163\151\x73\x77\141\x2f";
goto QLkmx;
vSmzo:
if (!$this->upload->do_upload("\x66\157\x74\x6f")) {
goto S7lOG;
}
goto OE0ny;
J72Yt:
$data["\163\x74\141\x74\165\x73"] = false;
goto ijP60;
pqZKg:
$this->db->update("\155\x61\163\x74\145\162\x5f\163\x69\163\167\141");
goto t2Hqx;
OE0ny:
$result = $this->upload->data();
goto SIdet;
rBcZ3:
$this->upload->initialize($config);
goto vSmzo;
xFCbh:
$data["\163\151\172\145"] = $_FILES["\x66\x6f\164\x6f"]["\163\151\x7a\x65"];
goto KXcVU;
uOsxd:
$siswa = $this->master->getSiswaById($id_siswa);
goto CxTza;
t2Hqx:
goto Q20iq;
goto TpFbc;
G1H7T:
$this->load->model("\x4d\141\x73\x74\x65\x72\x5f\x6d\157\144\x65\154", "\x6d\x61\x73\x74\x65\x72");
goto uOsxd;
E9OQw:
$config["\146\x69\x6c\x65\137\x6e\141\155\145"] = $siswa->nis;
goto rBcZ3;
K0L3K:
Q20iq:
goto fgGab;
U17jq:
}
function deleteFile($id_siswa)
{
goto q2zWS;
S7Ef1:
$this->db->update("\155\x61\163\164\x65\x72\137\x73\151\163\x77\141");
goto rUlnj;
q2zWS:
$src = $this->input->post("\x73\x72\143");
goto UDw8_;
KwOG8:
vOahp:
goto jVMO4;
UDw8_:
$file_name = str_replace(base_url(), '', $src);
goto IizjD;
IizjD:
if (!($file_name != "\141\x73\x73\145\164\163\x2f\151\x6d\x67\x2f\163\151\x73\167\141\56\160\x6e\x67")) {
goto usdh2;
}
goto yXPgf;
lJM8d:
$this->db->set("\146\x6f\x74\157", '');
goto JmMyr;
JmMyr:
$this->db->where("\151\x64\x5f\x73\151\x73\167\141", $id_siswa);
goto S7Ef1;
jVMO4:
usdh2:
goto bIZbW;
yXPgf:
if (!unlink($file_name)) {
goto vOahp;
}
goto lJM8d;
rUlnj:
echo "\x46\x69\x6c\145\40\104\145\x6c\145\x74\x65\40\123\165\143\143\145\x73\x73\146\165\154\154\171";
goto KwOG8;
bIZbW:
}
public function delete()
{
goto blxGg;
ZBLhQ:
goto l895P;
goto c8yCa;
blxGg:
$this->load->model("\x4d\x61\x73\164\145\x72\x5f\x6d\157\144\x65\154", "\x6d\141\163\164\145\162");
goto cmlLp;
wsXGs:
$this->output_json(["\x73\164\x61\x74\x75\163" => false]);
goto Wx2l6;
c8yCa:
pA5jZ:
goto wsXGs;
fRGxk:
$this->master->delete("\x62\165\x6b\x75\x5f\151\x6e\144\x75\x6b", $chk, "\x69\144\137\x73\151\x73\167\141");
goto jva2M;
jva2M:
$this->output_json(["\163\x74\141\x74\x75\163" => true, "\x74\x6f\164\x61\x6c" => count($chk)]);
goto NiYQQ;
nzjtX:
if (!$chk) {
goto pA5jZ;
}
goto w4lJH;
Wx2l6:
l895P:
goto diRfN;
NiYQQ:
Fs4ra:
goto ZBLhQ;
cmlLp:
$chk = $this->input->post("\143\150\145\x63\153\x65\x64", true);
goto nzjtX;
w4lJH:
if (!$this->master->delete("\x6d\x61\163\164\x65\x72\x5f\163\151\163\167\x61", $chk, "\x69\144\137\x73\151\163\x77\x61")) {
goto Fs4ra;
}
goto fRGxk;
diRfN:
}
public function previewExcel()
{
goto dhD5_;
ju0mh:
die;
goto mOtbT;
dkF2h:
aRzao:
goto IJh2M;
P4EA_:
$i++;
goto mpAun;
hstyT:
if (!($sheetData[$i][0] != null)) {
goto aRzao;
}
goto PE37F;
INJKG:
$spreadsheet = $reader->load($file);
goto TpF7v;
mpAun:
goto rpZMq;
goto Nxjoh;
hTHvq:
GvxSi:
goto UeMPT;
PrP1w:
ga5f1:
goto hssh7;
MdMbZ:
echo json_encode($data);
goto GU1lF;
cPF_Y:
$config["\x61\154\x6c\157\x77\145\144\x5f\x74\x79\x70\x65\163"] = "\170\154\163\x7c\x78\154\x73\x78\174\x63\x73\x76";
goto E3fap;
GU1lF:
goto RNR92;
goto PrP1w;
R90vS:
$config["\x75\x70\x6c\157\141\x64\137\160\x61\164\150"] = "\56\x2f\x75\x70\154\157\141\x64\163\x2f\151\x6d\160\157\x72\x74\57";
goto cPF_Y;
IFOVr:
echo $error;
goto ju0mh;
GnJgC:
unlink($file);
goto fs6nW;
KI7vQ:
$data["\x73\151\163\x77\141"][] = ["\x6e\151\x73\156" => $nisn, "\156\151\163" => $nis, "\x6e\x61\155\141" => $sheetData[$i][3], "\152\145\156\x69\x73\137\153\x65\x6c\x61\x6d\x69\156" => $sheetData[$i][4], "\x75\x73\145\x72\156\141\155\145" => $username, "\x70\141\163\163\x77\157\x72\144" => $sheetData[$i][6], "\164\145\x6d\x70\x61\164\x5f\154\x61\x68\151\162" => $sheetData[$i][10], "\x74\141\x6e\147\147\141\x6c\137\154\x61\x68\x69\x72" => $sheetData[$i][11], "\x61\x67\141\x6d\x61" => $sheetData[$i][12], "\163\164\x61\164\165\x73\137\153\145\x6c\x75\x61\x72\147\x61" => $sheetData[$i][16], "\141\156\141\153\137\x6b\145" => $sheetData[$i][15], "\x61\x6c\141\155\141\164" => $sheetData[$i][17], "\162\x74" => $sheetData[$i][18], "\x72\167" => $sheetData[$i][19], "\153\x65\x6c\x75\162\x61\x68\x61\156" => $sheetData[$i][20], "\x6b\x65\143\x61\x6d\141\x74\141\156" => $sheetData[$i][21], "\x6b\141\142\165\160\141\x74\145\x6e" => $sheetData[$i][22], "\x70\x72\157\x76\x69\x6e\163\151" => $sheetData[$i][23], "\x6b\x6f\x64\x65\137\160\157\x73" => $sheetData[$i][24], "\150\x70" => str_replace("\x27", '', $sheetData[$i][13]), "\156\x61\155\141\137\x61\x79\141\x68" => $sheetData[$i][25], "\x6e\157\150\x70\x5f\141\x79\141\150" => str_replace("\x27", '', $sheetData[$i][29]), "\x70\145\156\144\151\144\151\153\141\x6e\x5f\141\x79\x61\150" => $sheetData[$i][27], "\160\x65\153\x65\162\x6a\141\x61\x6e\137\141\171\141\x68" => $sheetData[$i][28], "\141\x6c\141\x6d\x61\164\x5f\141\x79\141\150" => $sheetData[$i][30], "\x6e\x61\155\141\137\x69\x62\165" => $sheetData[$i][31], "\x6e\x6f\150\160\x5f\151\x62\x75" => str_replace("\x27", '', $sheetData[$i][35]), "\x70\x65\x6e\144\151\144\151\153\x61\x6e\x5f\151\142\165" => $sheetData[$i][33], "\x70\x65\x6b\x65\162\x6a\141\x61\156\137\x69\x62\x75" => $sheetData[$i][34], "\x61\154\141\x6d\x61\x74\137\151\x62\165" => $sheetData[$i][36], "\156\141\155\x61\x5f\167\x61\154\151" => $sheetData[$i][37], "\160\x65\156\144\x69\144\151\153\x61\156\x5f\x77\141\154\x69" => $sheetData[$i][39], "\160\x65\x6b\x65\162\152\x61\141\x6e\137\x77\141\x6c\x69" => $sheetData[$i][40], "\156\x6f\x68\160\x5f\167\141\x6c\x69" => str_replace("\x27", '', $sheetData[$i][41]), "\x61\x6c\x61\155\x61\x74\x5f\x77\x61\x6c\151" => $sheetData[$i][42], "\x74\x61\x68\x75\156\137\155\x61\x73\x75\153" => $sheetData[$i][8], "\153\145\154\x61\163\137\x61\167\x61\154" => $sheetData[$i][7], "\x74\x67\154\137\154\141\150\151\x72\137\141\x79\x61\150" => $sheetData[$i][26], "\164\x67\x6c\x5f\x6c\141\x68\x69\x72\x5f\x69\142\x75" => $sheetData[$i][32], "\164\x67\154\137\x6c\141\150\151\x72\x5f\167\x61\x6c\x69" => $sheetData[$i][38], "\163\145\x6b\x6f\x6c\141\150\x5f\x61\163\141\154" => $sheetData[$i][9], "\x69\x64\x5f\163\x69\163\167\141" => isset($sheetData[$i][43]) ? $sheetData[$i][43] : ''];
goto dkF2h;
BnJ1H:
$nis = str_replace("\x27", '', $sheetData[$i][2]);
goto uT_Y4;
PE37F:
$nisn = str_replace("\47", '', $sheetData[$i][1]);
goto plQdy;
mVV65:
$username = $sheetData[$i][5];
goto Ayte2;
mnRjK:
$i = 1;
goto Qu2M6;
Nxjoh:
m2L5n:
goto GnJgC;
dhD5_:
$this->load->model("\x4d\x61\x73\164\x65\x72\137\x6d\x6f\144\x65\154", "\x6d\x61\x73\164\x65\162");
goto R90vS;
TpF7v:
$sheetData = $spreadsheet->getActiveSheet()->toArray();
goto WrLCI;
IJh2M:
ipoA2:
goto P4EA_;
fYwTA:
if (!$this->upload->do_upload("\165\160\x6c\157\x61\144\x5f\146\x69\154\x65")) {
goto ga5f1;
}
goto o85n0;
fs6nW:
$data["\145\x78\151\163\x74"] = $this->master->getSiswaByArrNisn($arr_nisn, $arr_nis, $arr_username);
goto MdMbZ;
NakWK:
$config["\145\156\x63\162\x79\160\x74\137\156\x61\155\x65"] = true;
goto LSnOH;
WrLCI:
$data = [];
goto XkZXr;
o85n0:
$file = $this->upload->data("\146\x75\154\x6c\x5f\x70\141\x74\x68");
goto URhsZ;
UeMPT:
UgX4J:
goto INJKG;
hbEYO:
if (!($i < count($sheetData))) {
goto m2L5n;
}
goto hstyT;
XkZXr:
$arr_nisn = [];
goto whGIR;
Ayte2:
$arr_username[] = $username;
goto KI7vQ;
whGIR:
$arr_nis = [];
goto Dq0sM;
hssh7:
$error = $this->upload->display_errors();
goto IFOVr;
LSnOH:
$this->upload->initialize($config);
goto fYwTA;
Dq0sM:
$arr_username = [];
goto mnRjK;
E3fap:
$config["\x6d\141\x78\137\163\151\x7a\145"] = 2048;
goto NakWK;
q03Rt:
switch ($ext) {
case "\x2e\x78\x6c\163\170":
$reader = new \PhpOffice\PhpSpreadsheet\Reader\Xlsx();
goto UgX4J;
case "\x2e\170\x6c\163":
$reader = new \PhpOffice\PhpSpreadsheet\Reader\Xls();
goto UgX4J;
case "\x2e\x63\163\166":
$reader = new \PhpOffice\PhpSpreadsheet\Reader\Csv();
goto UgX4J;
default:
echo "\x75\x6e\153\156\157\167\156\40\146\x69\154\x65\x20\x65\x78\164";
die;
}
goto hTHvq;
uT_Y4:
$arr_nis[] = $nis;
goto mVV65;
mOtbT:
RNR92:
goto rTTcW;
plQdy:
$arr_nisn[] = $nisn;
goto BnJ1H;
URhsZ:
$ext = $this->upload->data("\146\151\154\x65\137\145\x78\x74");
goto q03Rt;
Qu2M6:
rpZMq:
goto hbEYO;
rTTcW:
}
public function do_import()
{
goto lGIT7;
Y6gXu:
$data = ["\163\x74\x61\x74\x75\163" => true, "\x65\162\162\157\x72\x73" => []];
goto vJ39b;
r27Om:
iLWR2:
goto yj0EX;
vJ39b:
$this->output_json($data);
goto dUUKE;
lGIT7:
$input = json_decode($this->input->post("\x73\x69\x73\x77\x61", true));
goto aFnfm;
ZxRUU:
jIRbi:
goto vmSOU;
AP8lI:
$this->db->trans_complete();
goto Y6gXu;
WGOpV:
$this->output_json($data);
goto ZxRUU;
aFnfm:
$errors = [];
goto DIszB;
DIszB:
$duplikat = [];
goto YjEmB;
goF1J:
foreach ($input as $key1 => $val1) {
goto zOi2Z;
bng17:
$save = $this->db->insert("\155\x61\163\164\x65\162\x5f\x73\x69\x73\x77\x61", $data);
goto zBOnn;
zBOnn:
Zov0I:
goto cMF1W;
P6whl:
$data["\146\x6f\x74\x6f"] = "\x75\x70\154\157\141\x64\163\x2f\x66\157\164\157\137\x73\151\x73\167\141\x2f" . $data["\156\151\163"] . "\x2e\152\x70\x67";
goto mtnSP;
IfuuV:
foreach (((array) $input)[$key1] as $key => $val) {
goto Hh7yl;
PJJEj:
YKME_:
goto ag9DT;
ag9DT:
eZ1uo:
goto yYG03;
zu1Cz:
GlFTK:
goto sud5q;
Hh7yl:
if ($key == "\x73\164\x61\x74\x75\x73\137\153\145\x6c\x75\141\162\147\141" && $val == null) {
goto GlFTK;
}
goto xN0y_;
LeV6o:
goto YKME_;
goto zu1Cz;
xN0y_:
$data[$key] = $val;
goto LeV6o;
sud5q:
$data[$key] = "\x31";
goto PJJEj;
yYG03:
}
goto wI10u;
wI10u:
TdcEb:
goto P6whl;
mtnSP:
$this->db->set("\165\x69\144", "\125\125\x49\104\x28\51", FALSE);
goto bng17;
zOi2Z:
$data = [];
goto IfuuV;
cMF1W:
}
goto r27Om;
YjEmB:
foreach ($input as $key1 => $val1) {
goto a3N1k;
HWgWk:
$u_nisn = "\174\x69\163\137\165\156\151\x71\165\145\x5b\155\141\163\x74\145\x72\x5f\x73\x69\163\x77\x61\56\156\x69\163\x6e\135";
goto kyZxX;
I2Arm:
$this->form_validation->set_data($data);
goto J3lIX;
kyZxX:
$u_name = "\x7c\x69\x73\x5f\165\156\x69\x71\x75\x65\x5b\x6d\141\163\164\x65\x72\x5f\x73\x69\x73\x77\141\x2e\165\x73\145\x72\156\x61\155\145\x5d";
goto RVPPI;
FzxXD:
foreach (((array) $input)[$key1] as $key => $val) {
$data[$key] = $val;
pPoa6:
}
goto P3bz2;
kPrRd:
$this->form_validation->set_rules("\x75\x73\x65\162\x6e\141\155\x65", "\125\x73\x65\162\x6e\x61\x6d\145", "\162\145\x71\165\151\162\145\x64\x7c\x74\x72\x69\x6d" . $u_name);
goto JKGRP;
QetWZ:
r5FJD:
goto Ta1Xa;
a3N1k:
$data = [];
goto FzxXD;
kExKY:
$this->form_validation->set_rules("\x6e\151\163\156", "\116\111\x53\116", "\162\x65\x71\165\151\x72\145\144\174\x6e\165\x6d\145\x72\x69\x63\174\164\x72\x69\x6d\x7c\155\151\x6e\x5f\154\x65\156\147\164\150\133\66\135\174\155\x61\170\x5f\x6c\x65\156\x67\x74\150\133\x32\60\x5d" . $u_nisn);
goto kPrRd;
e0Pc1:
EE6WP:
goto QetWZ;
P3bz2:
U8mf8:
goto I2Arm;
J3lIX:
$u_nis = "\x7c\x69\x73\137\x75\x6e\x69\161\x75\x65\x5b\x6d\141\163\x74\145\162\137\163\151\163\x77\x61\56\156\151\163\135";
goto HWgWk;
KvulW:
$duplikat[] = $data;
goto ZwmE4;
JKGRP:
if (!($this->form_validation->run() == FALSE)) {
goto EE6WP;
}
goto KvulW;
RVPPI:
$this->form_validation->set_rules("\156\x69\163", "\x4e\x49\x53", "\x72\145\x71\x75\151\x72\x65\x64\174\156\x75\155\145\162\x69\143\x7c\x74\x72\151\155\174\x6d\x69\x6e\137\x6c\145\156\x67\164\150\133\x36\135\174\x6d\x61\170\137\x6c\145\156\147\164\x68\133\x33\x30\x5d" . $u_nis);
goto kExKY;
ZwmE4:
$errors[$data["\156\x61\155\141"]] = ["\156\x69\163" => form_error("\156\x69\163"), "\156\151\x73\x6e" => form_error("\x6e\x69\x73\156"), "\165\163\x65\162\x6e\x61\x6d\145" => form_error("\165\163\145\x72\x6e\141\x6d\x65")];
goto e0Pc1;
Ta1Xa:
}
goto PbfTw;
f2Y3_:
if (count($errors) > 0) {
goto Wdf6l;
}
goto pXQ07;
tnNR7:
foreach ($uids as $uid) {
goto uIDvG;
PJYeE:
$this->db->insert("\142\x75\153\165\137\151\x6e\144\165\153", $uid);
goto mCIl1;
mCIl1:
nzOot:
goto A5qWl;
a9ouR:
if (!($check->get()->num_rows() == 0)) {
goto nzOot;
}
goto PJYeE;
uIDvG:
$check = $this->db->select("\x69\x64\x5f\x73\x69\x73\x77\141")->from("\142\165\153\165\137\x69\x6e\144\165\153")->where("\x69\144\137\163\151\x73\x77\141", $uid->id_siswa);
goto a9ouR;
A5qWl:
FRCQz:
goto AwOR_;
AwOR_:
}
goto FuL5v;
yj0EX:
$uids = $this->db->select("\151\x64\137\x73\x69\x73\167\141\x2c\40\x75\x69\x64")->from("\155\x61\163\164\x65\162\x5f\163\x69\163\x77\x61")->get()->result();
goto tnNR7;
pXQ07:
$this->db->trans_start();
goto goF1J;
PbfTw:
T84hj:
goto f2Y3_;
dUUKE:
goto jIRbi;
goto c7Vyr;
zLW6L:
$data = ["\x73\x74\x61\x74\165\x73" => false, "\x65\162\162\157\x72\163" => $errors, "\x64\165\x70\154\x69\153\141\x74" => $duplikat];
goto WGOpV;
FuL5v:
hY4bA:
goto AP8lI;
c7Vyr:
Wdf6l:
goto zLW6L;
vmSOU:
}
public function update()
{
goto Pi9O_;
drjDc:
$this->load->view("\x6d\141\163\164\x65\x72\x2f\163\151\163\167\x61\x2f\165\x70\144\x61\164\145");
goto O1JWl;
Pi9O_:
$this->load->model("\x44\x61\163\x68\x62\x6f\x61\162\x64\137\x6d\157\x64\x65\154", "\x64\141\163\x68\142\x6f\141\x72\x64");
goto IFkHN;
O2Sry:
$data["\164\x69\x70\145"] = "\x75\x70\144\x61\x74\x65";
goto HkBg4;
UKwfY:
$tp = $this->dashboard->getTahunActive();
goto hLA9a;
kRQN5:
$data["\163\155\x74"] = $this->dashboard->getSemester();
goto LEIYY;
hLA9a:
$smt = $this->dashboard->getSemesterActive();
goto GgudU;
NRYgK:
$data["\x74\160"] = $this->dashboard->getTahun();
goto kRQN5;
R07u1:
$this->load->view("\137\164\145\x6d\160\x6c\x61\x74\x65\x73\x2f\144\141\x73\x68\142\x6f\x61\x72\x64\57\x5f\150\x65\141\x64\145\162", $data);
goto drjDc;
IFkHN:
$this->load->model("\x44\x72\157\160\144\157\x77\x6e\x5f\155\157\144\x65\x6c", "\x64\162\157\x70\144\x6f\x77\x6e");
goto PvnKy;
GgudU:
$data["\164\160\x5f\141\x63\164\151\166\145"] = $tp;
goto EY5LH;
EY5LH:
$data["\163\x6d\164\137\x61\143\164\x69\x76\145"] = $smt;
goto NRYgK;
LEIYY:
$data["\160\x72\157\146\x69\x6c\145"] = $this->dashboard->getProfileAdmin($user->id);
goto O2Sry;
PvnKy:
$user = $this->ion_auth->user()->row();
goto Lys1W;
Lys1W:
$data = ["\165\x73\145\162" => $user, "\x6a\165\144\165\x6c" => "\125\x70\144\x61\164\x65\x20\x44\x61\x74\141\x20\x53\151\x73\x77\141", "\163\x75\142\152\165\144\x75\154" => "\x55\160\x64\x61\x74\145\40\x44\141\x74\x61\x20\123\151\x73\167\141", "\163\145\164\164\151\156\x67" => $this->dashboard->getSetting()];
goto UKwfY;
O1JWl:
$this->load->view("\137\164\x65\x6d\160\x6c\x61\x74\145\163\57\x64\141\x73\x68\x62\x6f\141\162\x64\57\x5f\146\x6f\x6f\164\x65\x72");
goto l2TkH;
HkBg4:
$data["\153\145\x6c\x61\x73"] = $this->dropdown->getAllKelas($tp->id_tp, $smt->id_smt);
goto R07u1;
l2TkH:
}
public function downloadData($id_kelas)
{
goto Xfy7w;
RXt4r:
$kel = [];
goto WLfjF;
GX4RO:
$alamat_siswa[] = $siswa->alamat;
goto wCEpq;
azhdX:
$i = 0;
goto pOubm;
wHh5B:
$tempat_lahir[] = $siswa->tempat_lahir;
goto kKFqT;
uj1if:
$tgl_lahir_ibu[] = $siswa->tgl_lahir_ibu;
goto SNOZb;
FVLpr:
$tgl_lahir = [];
goto s1gxM;
uwUBw:
$kode_pos = [];
goto lcLUG;
iBAV7:
$params = ["\x5b\x69\x64\135" => $ids, "\x5b\156\x6f\x5d" => $no, "\x5b\156\x69\x73\x5d" => $nis, "\x5b\156\151\x73\x6e\135" => $nisn, "\133\x6e\141\x6d\x61\135" => $nama, "\133\152\x6b\135" => $jk, "\x5b\x75\163\145\x72\156\141\x6d\x65\x5d" => $username, "\133\x70\x61\x73\x73\167\x6f\x72\144\x5d" => $password, "\x5b\x6b\x65\154\141\x73\137\141\x77\x61\x6c\135" => $kelas_awal, "\133\x74\147\154\x5f\x64\151\x74\x65\162\151\x6d\x61\x5d" => $tgl_diterima, "\133\163\145\153\157\154\x61\150\x5f\141\163\141\154\135" => $sekolah_asal, "\133\x74\x65\155\x70\x61\164\x5f\x6c\x61\x68\151\x72\x5d" => $tempat_lahir, "\133\x74\x67\x6c\137\154\141\x68\x69\x72\135" => $tgl_lahir, "\x5b\x61\x67\141\155\x61\x5d" => $agama, "\133\x74\154\x70\137\163\x69\163\167\141\135" => $tlp_siswa, "\133\145\155\141\151\x6c\x5d" => $email, "\x5b\x61\156\x61\x6b\x5f\153\145\x5d" => $anak_ke, "\x5b\x73\164\x61\164\165\163\x5f\153\145\x6c\x75\141\162\147\x61\135" => $status_keluarga, "\x5b\141\154\x61\x6d\141\164\137\163\x69\163\x77\141\x5d" => $alamat_siswa, "\x5b\x72\x74\x5d" => $rt, "\x5b\x72\167\x5d" => $rw, "\133\x6b\145\x6c\135" => $kel, "\x5b\x6b\145\x63\x5d" => $kec, "\133\153\141\x62\135" => $kab, "\x5b\x70\162\x6f\166\x5d" => $prov, "\133\x6b\157\x64\145\137\160\157\163\x5d" => $kode_pos, "\x5b\156\141\x6d\x61\137\x61\x79\x61\x68\x5d" => $nama_ayah, "\133\x74\x67\154\137\x6c\x61\x68\151\x72\137\141\171\x61\150\x5d" => $tgl_lahir_ayah, "\x5b\160\145\156\144\151\x64\x69\x6b\141\x6e\x5f\x61\171\141\150\x5d" => $pendidikan_ayah, "\133\x70\145\153\x65\x72\152\x61\141\x6e\x5f\x61\x79\x61\x68\135" => $pekerjaan_ayah, "\133\164\154\x70\137\141\171\141\150\135" => $tlp_ayah, "\x5b\x61\154\x61\x6d\x61\x74\137\141\x79\141\150\x5d" => $alamat_ayah, "\133\x6e\x61\155\x61\137\x69\x62\165\x5d" => $nama_ibu, "\x5b\164\x67\x6c\x5f\x6c\x61\x68\x69\x72\x5f\x69\142\165\135" => $tgl_lahir_ibu, "\x5b\x70\x65\156\x64\151\144\151\153\141\156\137\x69\x62\165\x5d" => $pendidikan_ibu, "\x5b\x70\x65\153\145\162\152\141\x61\156\x5f\x69\142\x75\x5d" => $pekerjaan_ibu, "\x5b\x74\154\160\x5f\151\x62\x75\135" => $tlp_ibu, "\x5b\x61\x6c\x61\155\141\x74\137\x69\142\x75\135" => $alamat_ibu, "\133\x6e\141\x6d\141\x5f\167\x61\154\x69\x5d" => $nama_wali, "\x5b\x74\147\x6c\137\154\141\150\x69\162\137\x77\141\x6c\x69\x5d" => $tgl_lahir_wali, "\x5b\160\x65\156\144\x69\144\x69\x6b\141\156\137\x77\x61\154\x69\x5d" => $pendidikan_wali, "\x5b\x70\x65\x6b\145\162\152\x61\x61\x6e\137\x77\x61\154\x69\135" => $pekerjaan_wali, "\x5b\164\154\x70\137\x77\141\x6c\x69\135" => $tlp_wali, "\x5b\x61\154\x61\x6d\x61\x74\x5f\x77\x61\x6c\151\135" => $alamat_wali];
goto tTNem;
zQXB3:
$email[] = $siswa->email;
goto eGp7G;
USp7e:
$tlp_ibu = [];
goto yXCTh;
kBlY0:
$status_keluarga[] = $siswa->status_keluarga;
goto GX4RO;
DHEh_:
sLw90:
goto yBs9J;
olEBb:
$anak_ke[] = $siswa->anak_ke;
goto kBlY0;
eGp7G:
$jk[] = $siswa->jenis_kelamin;
goto pkBu1;
hC50W:
$nama_wali = [];
goto RR8_W;
WGvyH:
$pendidikan_wali[] = $siswa->pendidikan_wali;
goto zzUxx;
Rd4S9:
$pekerjaan_ibu = [];
goto USp7e;
Zqd2W:
$jk = [];
goto eyV7G;
rvjzK:
$pekerjaan_wali = [];
goto EWln1;
Xfy7w:
$this->load->model("\115\141\x73\164\145\162\x5f\155\x6f\x64\145\x6c", "\155\x61\x73\164\x65\162");
goto HifFF;
aE4fc:
$kelas_awal = [];
goto pXPXb;
eyV7G:
$username = [];
goto Sit9H;
Uo_oP:
$kab = [];
goto PyUKK;
MIrM3:
$nis = [];
goto ANlVZ;
Astfp:
$tgl_lahir_ayah[] = $siswa->tgl_lahir_ayah;
goto W_bfq;
z5zNc:
$alamat_wali[] = $siswa->alamat_wali;
goto DHEh_;
GtNbk:
$tgl_lahir_ibu = [];
goto Fwgfc;
STOd_:
$tlp_siswa = [];
goto B06WP;
W8bjA:
$pendidikan_ayah = [];
goto bP36K;
afsLh:
$alamat_ibu[] = $siswa->alamat_ibu;
goto K6obd;
E8Xp_:
$pekerjaan_ayah[] = $siswa->pekerjaan_ayah;
goto XYLF3;
pyv0Z:
$rw[] = $siswa->rw;
goto YnnMF;
yXCTh:
$alamat_ibu = [];
goto hC50W;
mR1FX:
$alamat_ayah = [];
goto ih1U1;
Lyn9V:
$sekolah_asal[] = $siswa->sekolah_asal;
goto wHh5B;
ocaUp:
$tgl_diterima[] = $siswa->tahun_masuk;
goto Lyn9V;
D0XvM:
$tlp_ibu[] = "\47" . $siswa->nohp_ibu;
goto afsLh;
wN5NJ:
$ids = [];
goto MIrM3;
tLbCE:
$kode_pos[] = $siswa->kode_pos;
goto UwgKX;
lcLUG:
$nama_ayah = [];
goto k7nAD;
enUDW:
$alamat_siswa = [];
goto bUTch;
DZ7QW:
$nama = [];
goto Zqd2W;
rYQr0:
$password[] = $siswa->password;
goto biz_6;
yBs9J:
$i++;
goto n3k51;
Fwgfc:
$pendidikan_ibu = [];
goto Rd4S9;
HiGDf:
$no = [];
goto wN5NJ;
NTVw0:
$alamat_wali = [];
goto azhdX;
bUTch:
$rt = [];
goto P2Obk;
lSXVt:
$no[] = $i + 1;
goto ugZGN;
wCEpq:
$rt[] = $siswa->rt;
goto pyv0Z;
PyUKK:
$prov = [];
goto uwUBw;
ANlVZ:
$nisn = [];
goto DZ7QW;
zzUxx:
$pekerjaan_wali[] = $siswa->pekerjaan_wali;
goto zDnoY;
lveSd:
$nama[] = $siswa->nama;
goto zQXB3;
P2Obk:
$rw = [];
goto RXt4r;
RpMih:
$kelas = $this->master->getKelasById($id_kelas);
goto KBnlf;
Sit9H:
$password = [];
goto aE4fc;
sHKIi:
$nisn[] = "\x27" . $siswa->nisn;
goto lveSd;
XHlA2:
$alamat_ayah[] = $siswa->alamat_ayah;
goto pF1IR;
h3L7M:
$prov[] = $siswa->provinsi;
goto tLbCE;
WLfjF:
$kec = [];
goto Uo_oP;
CEBuT:
$tgl_lahir_wali[] = $siswa->tgl_lahir_wali;
goto WGvyH;
RR8_W:
$tgl_lahir_wali = [];
goto rFXHY;
Th0Vq:
$tlp_ayah = [];
goto mR1FX;
XzGhd:
$tempat_lahir = [];
goto FVLpr;
pABjG:
HwM_I:
goto iBAV7;
bP36K:
$pekerjaan_ayah = [];
goto Th0Vq;
pkBu1:
$username[] = $siswa->username;
goto rYQr0;
SNOZb:
$pendidikan_ibu[] = $siswa->pendidikan_ibu;
goto qvuX9;
EWln1:
$tlp_wali = [];
goto NTVw0;
jDkfO:
$nis[] = "\x27" . $siswa->nis;
goto sHKIi;
k7nAD:
$tgl_lahir_ayah = [];
goto W8bjA;
B06WP:
$email = [];
goto vKi_P;
biz_6:
$kelas_awal[] = $siswa->kelas_awal;
goto ocaUp;
K6obd:
$nama_wali[] = $siswa->nama_wali;
goto CEBuT;
XYLF3:
$tlp_ayah[] = "\x27" . $siswa->nohp_ayah;
goto XHlA2;
LL12s:
$siswa = $siswas[$i];
goto lSXVt;
pOubm:
oA8jO:
goto NxsPr;
GaSzL:
$smt = $this->master->getSemesterActive();
goto RpMih;
FarKF:
$kec[] = $siswa->kecamatan;
goto JYkfs;
qvuX9:
$pekerjaan_ibu[] = $siswa->pekerjaan_ibu;
goto D0XvM;
W_bfq:
$pendidikan_ayah[] = $siswa->pendidikan_ayah;
goto E8Xp_;
rFXHY:
$pendidikan_wali = [];
goto rvjzK;
hpl8Q:
$fileName = "\104\141\164\x61\x20\x53\x69\x73\167\141\x20\x4b\145\154\x61\x73\40" . $kelas->nama_kelas . "\x2e\170\154\x73\x78";
goto HiGDf;
icOrI:
$sekolah_asal = [];
goto XzGhd;
YnnMF:
$kel[] = $siswa->kelurahan;
goto FarKF;
dEb43:
$tlp_siswa[] = "\x27" . $siswa->hp;
goto olEBb;
n3k51:
goto oA8jO;
goto pABjG;
tTNem:
PhpExcelTemplator::outputToFile($template, $fileName, $params);
goto o53zP;
vKi_P:
$anak_ke = [];
goto Do8kO;
NxsPr:
if (!($i < count($siswas))) {
goto HwM_I;
}
goto LL12s;
kKFqT:
$tgl_lahir[] = $siswa->tanggal_lahir;
goto ubtRB;
ih1U1:
$nama_ibu = [];
goto GtNbk;
JYkfs:
$kab[] = $siswa->kabupaten;
goto h3L7M;
pXPXb:
$tgl_diterima = [];
goto icOrI;
HifFF:
$tp = $this->master->getTahunActive();
goto GaSzL;
ugZGN:
$ids[] = $siswa->id_siswa;
goto jDkfO;
UwgKX:
$nama_ayah[] = $siswa->nama_ayah;
goto Astfp;
pF1IR:
$nama_ibu[] = $siswa->nama_ibu;
goto uj1if;
Do8kO:
$status_keluarga = [];
goto enUDW;
KBnlf:
$siswas = $this->master->getSiswaByKelas($tp->id_tp, $smt->id_smt, $id_kelas);
goto eOkJ9;
ubtRB:
$agama[] = $siswa->agama;
goto dEb43;
s1gxM:
$agama = [];
goto STOd_;
zDnoY:
$tlp_wali[] = "\x27" . $siswa->nohp_wali;
goto z5zNc;
eOkJ9:
$template = "\56\x2f\165\x70\154\x6f\x61\144\x73\x2f\151\155\160\157\x72\x74\57\146\157\162\155\141\x74\x2f\x66\157\162\155\141\164\137\165\x70\x64\141\x74\145\137\x73\151\x73\x77\x61\56\x78\154\163\x78";
goto hpl8Q;
o53zP:
}
public function updateAll()
{
goto Ai8FZ;
ZVec7:
Mc2UA:
goto R8zw_;
R8zw_:
$this->db->trans_complete();
goto ky0Q0;
CTzx1:
$this->output_json($data);
goto ii33P;
k2Vvn:
foreach ($input as $key1 => $val1) {
goto Xes7x;
BxlpL:
Yr8Of:
goto UCLWY;
YeDZA:
$kid = "\x69\x64\137\x73\151\x73\167\x61";
goto ZvyYH;
Mw7lo:
$save = $this->db->update("\x6d\141\163\x74\x65\x72\137\163\x69\x73\x77\x61", $data, array("\x69\144\x5f\163\151\x73\167\141" => $id_siswa));
goto BxlpL;
Vnx1X:
foreach (((array) $input)[$key1] as $key => $val) {
goto sj0PZ;
sj0PZ:
if ($key == $kid) {
goto OGrru;
}
goto lHULR;
BuS6X:
VrdD9:
goto t152i;
RyDz1:
OGrru:
goto rStud;
rStud:
$id_siswa = $val;
goto BuS6X;
fa4vA:
mJ9l5:
goto Q_PCt;
mW0tm:
if (!($key == "\x6e\151\163")) {
goto mJ9l5;
}
goto EFM1H;
Q_PCt:
goto VrdD9;
goto RyDz1;
lHULR:
$data[$key] = $val;
goto mW0tm;
t152i:
wY6sw:
goto NhEug;
EFM1H:
$data["\x66\157\164\x6f"] = "\x75\x70\154\x6f\141\x64\x73\57\146\x6f\164\157\x5f\x73\x69\163\x77\x61\x2f" . $val . "\56\152\x70\147";
goto fa4vA;
NhEug:
}
goto PYjKU;
PYjKU:
JWJop:
goto Mw7lo;
ZvyYH:
$id_siswa = "\60";
goto Vnx1X;
Xes7x:
$data = [];
goto YeDZA;
UCLWY:
}
goto ZVec7;
Ai8FZ:
$input = json_decode($this->input->post("\163\151\x73\x77\x61", true));
goto ZcCtx;
ky0Q0:
$data = ["\x73\164\141\x74\165\163" => $save, "\x65\162\x72\x6f\x72\163" => []];
goto CTzx1;
ZcCtx:
$this->db->trans_start();
goto k2Vvn;
ii33P:
}
public function previewExcelNis()
{
goto akIDQ;
eaUkE:
$config["\155\141\x78\x5f\163\x69\172\x65"] = 2048;
goto uoYoh;
Jk9YQ:
echo json_encode($data);
goto aHmoX;
eCBTE:
$file = $this->upload->data("\146\165\x6c\154\137\x70\141\x74\150");
goto szoc3;
aHmoX:
goto NVBOc;
goto anFYT;
yq2_k:
NVBOc:
goto q7S1t;
anFYT:
u1DgP:
goto N6WLy;
lC5LP:
$config["\x61\154\154\x6f\167\145\144\137\164\171\x70\145\x73"] = "\170\x6c\x73\174\170\x6c\x73\x78\174\143\163\166";
goto eaUkE;
akIDQ:
$config["\x75\160\154\x6f\141\144\x5f\160\141\164\150"] = "\56\57\x75\160\154\x6f\141\x64\163\x2f\151\x6d\160\157\162\164\57";
goto lC5LP;
XQnuA:
if (!($sheetData[$i][0] != null)) {
goto qJS0R;
}
goto C2Xru;
spqXF:
qJS0R:
goto wDTpm;
oMXVV:
bwFrp:
goto WGB_0;
QP_iy:
$i++;
goto q0SUd;
mMBcS:
SZDW3:
goto nntfx;
CBtlz:
die;
goto yq2_k;
byn3Q:
echo $error;
goto CBtlz;
N6WLy:
$error = $this->upload->display_errors();
goto byn3Q;
Lk5kw:
$spreadsheet = $reader->load($file);
goto XcBOX;
wG77M:
M41Ku:
goto AJO5I;
szoc3:
$ext = $this->upload->data("\x66\x69\154\145\137\x65\x78\164");
goto z6i73;
wDTpm:
TtlDK:
goto QP_iy;
geqyx:
$i = 1;
goto wG77M;
UPXsK:
if (!$this->upload->do_upload("\165\x70\154\157\141\144\137\146\x69\154\x65")) {
goto u1DgP;
}
goto eCBTE;
q0SUd:
goto M41Ku;
goto mMBcS;
z6i73:
switch ($ext) {
case "\x2e\170\154\x73\x78":
$reader = new \PhpOffice\PhpSpreadsheet\Reader\Xlsx();
goto Rb0vZ;
case "\x2e\x78\154\x73":
$reader = new \PhpOffice\PhpSpreadsheet\Reader\Xls();
goto Rb0vZ;
case "\x2e\143\x73\166":
$reader = new \PhpOffice\PhpSpreadsheet\Reader\Csv();
goto Rb0vZ;
default:
echo "\x75\x6e\x6b\x6e\157\167\x6e\x20\146\151\x6c\145\40\x65\x78\x74";
die;
}
goto oMXVV;
XcBOX:
$sheetData = $spreadsheet->getActiveSheet()->toArray();
goto KTjZ_;
WGB_0:
Rb0vZ:
goto Lk5kw;
nntfx:
unlink($file);
goto Jk9YQ;
C2Xru:
$data[] = ["\156\x69\x73\156" => str_replace("\47", '', $sheetData[$i][1]), "\x6e\151\x73" => str_replace("\47", '', $sheetData[$i][2])];
goto spqXF;
S9JKE:
$this->upload->initialize($config);
goto UPXsK;
uoYoh:
$config["\145\x6e\x63\162\171\160\164\137\x6e\141\x6d\x65"] = true;
goto S9JKE;
AJO5I:
if (!($i < count($sheetData))) {
goto SZDW3;
}
goto XQnuA;
KTjZ_:
$data = [];
goto geqyx;
q7S1t:
}
public function updateNisByNisn()
{
goto zK36I;
pp6Rc:
T9Spz:
goto q0eyx;
eU85W:
foreach ($input as $val) {
goto L_oAw;
MuCST:
NPy0a:
goto nfPoA;
qkxPI:
$save = $this->db->update("\x6d\141\x73\x74\145\162\137\163\151\x73\167\x61");
goto MuCST;
L_oAw:
$this->db->set("\x6e\151\x73", trim($val->nis));
goto ltDtg;
ltDtg:
$this->db->where("\x6e\151\x73\x6e", trim($val->nisn));
goto qkxPI;
nfPoA:
}
goto pp6Rc;
q0eyx:
$this->db->trans_complete();
goto pTWyy;
zK36I:
$input = json_decode($this->input->post("\x73\151\x73\167\141", true));
goto eU85W;
pTWyy:
$this->output_json($save);
goto Jgf9w;
Jgf9w:
}
public function editLogin()
{
goto Qp1GE;
xPNUo:
$pass = $this->input->post("\x6e\x65\x77", true);
goto EO1ay;
SOcVI:
$deleted = true;
goto lgzKA;
CsEZj:
$this->form_validation->set_rules("\x6f\x6c\x64", $this->lang->line("\143\x68\141\x6e\147\145\x5f\x70\x61\163\x73\167\157\x72\144\137\166\x61\154\x69\x64\x61\164\x69\157\156\137\157\x6c\144\x5f\x70\141\x73\163\167\157\162\x64\x5f\x6c\141\142\145\154"), "\162\x65\161\x75\151\x72\145\x64");
goto sC0nJ;
E2TTN:
$this->db->set("\x70\x61\163\x73\167\x6f\x72\144", $password);
goto NASvn;
YpjuV:
r06tt:
goto PrUBm;
PrUBm:
$data = ["\163\x74\x61\164\x75\163" => false, "\145\x72\x72\x6f\x72\x73" => ["\x75\x73\x65\x72\156\141\x6d\x65" => "\x55\x73\145\162\156\x61\155\x65\x20\x73\165\x64\x61\150\x20\x64\x69\x67\x75\156\141\x6b\x61\156"]];
goto Psve5;
uoKLD:
$msg = !$status ? "\x47\141\147\141\x6c\x20\x6d\x65\x6e\147\147\x61\156\164\151\40\165\163\x65\162\156\x61\x6d\145\57\160\141\163\x73\x73\167\x6f\162\144\56" : "\x62\x65\x72\x68\141\x73\151\154\x20\155\x65\156\x67\x67\x61\156\x74\151\x20\x75\x73\145\162\156\x61\x6d\145\x2f\160\x61\163\x73\163\x77\157\162\144\56";
goto r2qmC;
qWeI8:
$additional_data = ["\x66\x69\x72\163\164\x5f\156\141\155\x65" => $first_name, "\x6c\x61\x73\164\137\156\141\x6d\145" => $last_name];
goto DcYtZ;
TCXkr:
$this->ion_auth->register($username, $password, $email, $additional_data, $group);
goto BVTso;
sRN5I:
$status = $this->db->update("\155\141\163\164\145\x72\137\x73\151\163\167\141");
goto uoKLD;
H7Ncs:
kdQDR:
goto dPQCd;
nC581:
$this->load->model("\x44\x61\x73\x68\x62\157\x61\162\144\x5f\155\157\x64\145\x6c", "\x64\141\163\150\x62\157\141\162\144");
goto BCsPh;
MRYSg:
r9BQl:
goto C7nGf;
C7nGf:
if ($deleted) {
goto iVhWn;
}
goto dTnmU;
XqpHi:
$this->output_json($data);
goto xcHLG;
G6oNz:
if ($this->form_validation->run() === FALSE) {
goto kdQDR;
}
goto OZAuL;
NASvn:
$this->db->where("\x69\x64\x5f\163\x69\163\x77\141", $id_siswa);
goto sRN5I;
TML1C:
$this->form_validation->set_rules("\156\x65\x77\x5f\x63\157\x6e\146\151\162\155", $this->lang->line("\143\150\x61\x6e\x67\145\137\160\x61\163\163\167\x6f\x72\x64\137\x76\141\154\x69\144\141\164\x69\x6f\156\x5f\156\x65\167\137\x70\x61\x73\163\x77\x6f\x72\144\x5f\143\157\156\x66\x69\162\x6d\x5f\154\x61\x62\145\154"), "\162\145\161\165\151\x72\145\144");
goto yRYeW;
Azzj5:
$username = $this->input->post("\165\x73\x65\x72\x6e\141\x6d\x65", true);
goto xPNUo;
S8PJz:
goto Gn6Ts;
goto YpjuV;
yRYeW:
if ($siswa_lain && $siswa_lain->id_siswa != $id_siswa) {
goto r06tt;
}
goto G6oNz;
dPQCd:
$data = ["\163\x74\141\x74\165\163" => false, "\x65\x72\x72\157\162\x73" => ["\x6f\154\x64" => form_error("\x6f\x6c\144"), "\156\x65\167" => form_error("\156\x65\167"), "\x6e\145\167\137\x63\157\x6e\146\151\162\155" => form_error("\x6e\x65\x77\137\143\x6f\x6e\x66\x69\162\155")]];
goto pzkoN;
FA4Hb:
$siswa_lain = $this->dashboard->getDataSiswa($username, $tp->id_tp, $smt->id_smt);
goto CsEZj;
lIb4Z:
$password = trim($pass);
goto jh6or;
fl4Fk:
$smt = $this->master->getSemesterActive();
goto FA4Hb;
DcYtZ:
$group = array("\x33");
goto pfPV9;
pzkoN:
Gn6Ts:
goto XqpHi;
AXp_5:
$nama = explode("\40", $siswa->nama);
goto UZL9M;
Qp1GE:
$this->load->model("\x4d\141\163\x74\x65\162\137\155\x6f\144\145\x6c", "\x6d\141\x73\164\x65\x72");
goto nC581;
bte6g:
$data["\164\x65\x78\x74"] = $msg;
goto S8PJz;
Psve5:
goto Gn6Ts;
goto H7Ncs;
pfPV9:
$user_siswa = $this->db->get_where("\x75\163\x65\x72\x73", "\145\x6d\x61\x69\154\x3d\42" . $email . "\42")->row();
goto SOcVI;
UZL9M:
$first_name = $nama[0];
goto MicoT;
aQvp0:
$data["\163\164\x61\164\x75\x73"] = $status;
goto bte6g;
sC0nJ:
$this->form_validation->set_rules("\x6e\145\167", $this->lang->line("\x63\150\141\x6e\147\145\137\160\141\x73\x73\x77\x6f\x72\144\137\166\x61\x6c\x69\x64\x61\164\x69\x6f\156\x5f\x6e\145\167\x5f\160\x61\163\163\167\x6f\x72\x64\137\154\141\142\x65\154"), "\162\x65\161\165\x69\162\145\144\174\155\151\156\137\x6c\145\156\x67\164\150\133" . $this->config->item("\x6d\x69\156\x5f\160\141\163\163\167\157\x72\144\137\154\x65\x6e\147\164\150", "\151\x6f\156\137\141\x75\x74\x68") . "\x5d\x7c\x6d\x61\164\143\x68\x65\163\133\156\x65\167\137\x63\157\x6e\146\x69\162\x6d\x5d");
goto TML1C;
EnK9n:
$msg = "\x47\141\x67\x61\154\40\155\145\156\x67\x67\x61\x6e\x74\151\x20\x75\163\145\162\x6e\141\155\145\x2f\x70\x61\x73\x73\163\x77\x6f\x72\144\56";
goto S7vRY;
BVTso:
$this->db->set("\165\163\145\x72\156\x61\x6d\145", $username);
goto E2TTN;
MicoT:
$last_name = end($nama);
goto i_8Rg;
Gg24s:
$deleted = $this->ion_auth->delete_user($user_siswa->id);
goto MRYSg;
jh6or:
$email = $siswa->nis . "\x40\x73\151\163\167\x61\x2e\143\x6f\155";
goto qWeI8;
BCsPh:
$id_siswa = $this->input->post("\x69\144\x5f\x73\x69\x73\167\141", true);
goto Azzj5;
GGEq9:
iVhWn:
goto TCXkr;
dTnmU:
$status = false;
goto EnK9n;
S7vRY:
goto NUfjh;
goto GGEq9;
i_8Rg:
$username = trim($username);
goto lIb4Z;
EO1ay:
$tp = $this->master->getTahunActive();
goto fl4Fk;
OZAuL:
$siswa = $this->db->get_where("\155\141\x73\164\145\x72\137\163\151\x73\x77\x61", "\151\144\137\x73\x69\163\x77\141\75\42" . $id_siswa . "\x22")->row();
goto AXp_5;
r2qmC:
NUfjh:
goto aQvp0;
lgzKA:
if (!($user_siswa != null)) {
goto r9BQl;
}
goto Gg24s;
xcHLG:
}
private function registerSiswa($username, $password, $email, $additional_data, $group)
{
goto YR1jc;
hEyNy:
$data["\x73\x74\141\164\x75\163"] = false;
goto fylOA;
vFfDg:
if (!($reg == false)) {
goto Abvsn;
}
goto hEyNy;
YR1jc:
$reg = $this->ion_auth->register($username, $password, $email, $additional_data, $group);
goto o3UMG;
veQYF:
return $data;
goto wuOO0;
o3UMG:
$data["\x73\x74\141\164\x75\163"] = true;
goto m7RU6;
fylOA:
Abvsn:
goto veQYF;
m7RU6:
$data["\151\x64"] = $reg;
goto vFfDg;
wuOO0:
}
}
Function Calls
None |
Stats
MD5 | f773c9f4717a637e831db04e5cc35f59 |
Eval Count | 0 |
Decode Time | 204 ms |