Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /* ________________________________________ | GarudaCBT ..
Decoded Output download
<?php
/* ________________________________________
| GarudaCBT |
| https://github.com/garudacbt/cbt |
|________________________________________|
*/
defined("BASEPATH") or exit("No direct script access allowed");
class Dashboard_model extends CI_Model
{
public function getSetting()
{
return $this->db->get("setting")->row();
}
public function getRunningText()
{
return $this->db->get("running_text")->result();
}
public function total($table, $where = null)
{
goto iivnH;
xy6cj:
return $query;
goto Mzw63;
dXtcn:
EFX59:
goto wNYTQ;
iivnH:
if (!($where != null)) {
goto EFX59;
}
goto tM3Wu;
wNYTQ:
$query = $this->db->get($table)->num_rows();
goto xy6cj;
tM3Wu:
$this->db->where($where);
goto dXtcn;
Mzw63:
}
public function hapus($table, $data, $pk)
{
$this->db->where_in($pk, $data);
return $this->db->delete($table);
}
public function getProfileAdmin($id_user)
{
goto QC2P8;
xK0nI:
$this->db->where("a.id", $id_user);
goto o4Xzt;
KRi7j:
$this->db->join("users_profile b", "a.id=b.id_user", "left");
goto xK0nI;
y60Jb:
$this->db->from("users a");
goto KRi7j;
QC2P8:
$this->db->select("b.*");
goto y60Jb;
FLa25:
return $query;
goto IX3um;
o4Xzt:
$query = $this->db->get()->row();
goto FLa25;
IX3um:
}
public function totalWaliKelas($id_tp, $id_smt)
{
goto TGyIH;
dRWQj:
$this->db->where("id_smt", $id_smt);
goto HitUX;
MqELL:
$this->db->where("id_tp", $id_tp);
goto dRWQj;
HitUX:
$query = $this->db->get("jabatan_guru")->num_rows();
goto ETQDk;
TGyIH:
$this->db->where("id_jabatan", "4");
goto MqELL;
ETQDk:
return $query;
goto CRk4k;
CRk4k:
}
public function totalSiswaKelas($id_kelas, $id_tp, $id_smt)
{
goto sUveR;
sUveR:
$this->db->select("a.id_siswa");
goto MQPt9;
UiYxM:
$this->db->where("a.id_tp", $id_tp);
goto u7dDh;
BtNiS:
return $query;
goto Ek2YA;
STyfD:
$query = $this->db->get()->num_rows();
goto BtNiS;
u7dDh:
$this->db->where("a.id_smt", $id_smt);
goto ox1RD;
ox1RD:
$this->db->where("a.id_kelas", $id_kelas);
goto STyfD;
MQPt9:
$this->db->from("kelas_siswa a");
goto UiYxM;
Ek2YA:
}
public function totalPengawas()
{
goto ROhXn;
VvYeH:
return $query;
goto vCqKO;
EJWfx:
$this->db->where("id_jadwal !=", "a:0:{}");
goto N614r;
N614r:
$query = $this->db->get("cbt_pengawas")->num_rows();
goto VvYeH;
ROhXn:
$this->db->select("*");
goto EJWfx;
vCqKO:
}
public function totalJadwal()
{
goto vl31h;
xB_Qz:
return $query;
goto i4VLC;
MdVVa:
$query = $this->db->get("cbt_jadwal")->num_rows();
goto xB_Qz;
vl31h:
$this->db->select("*");
goto MdVVa;
i4VLC:
}
public function getDataTahun()
{
goto VaeVP;
hACYo:
$this->datatables->from("master_tp");
goto ULtpv;
ULtpv:
return $this->datatables->generate();
goto wAkxG;
VaeVP:
$this->datatables->select("id_tp, tahun, active");
goto hACYo;
wAkxG:
}
public function getTahun()
{
goto I9ZHl;
u1Fhn:
return $result;
goto MUkTU;
I9ZHl:
$this->db->order_by("tahun", "ASC");
goto xk0XV;
xk0XV:
$result = $this->db->get("master_tp")->result();
goto u1Fhn;
MUkTU:
}
public function getTahunById($id)
{
$result = $this->db->get_where("master_tp", "id_tp=" . $id)->row();
return $result;
}
public function getTahunByTahun($tahun)
{
$result = $this->db->get_where("master_tp", "tahun=" . """ . $tahun . """)->row();
return $result;
}
public function getTahunActive()
{
goto T5l67;
kqWCV:
return $result;
goto SihEw;
wkIAb:
$this->db->from("master_tp");
goto gVjF0;
T5l67:
$this->db->select("id_tp, tahun");
goto wkIAb;
nzyn1:
$result = $this->db->get()->row();
goto kqWCV;
gVjF0:
$this->db->where("active", 1);
goto nzyn1;
SihEw:
}
public function getSemester()
{
goto vi5Az;
qo1ez:
return $result;
goto GzbX1;
vi5Az:
$this->db->order_by("smt", "ASC");
goto BVa2_;
BVa2_:
$result = $this->db->get("master_smt")->result();
goto qo1ez;
GzbX1:
}
public function getSemesterById($id)
{
$result = $this->db->get_where("master_smt", "id_smt=" . $id)->row();
return $result;
}
public function getSemesterByNama($nama_smt)
{
$result = $this->db->get_where("master_smt", "nama_smt=" . """ . $nama_smt . """)->row();
return $result;
}
public function getSemesterActive()
{
goto rNq7T;
iZsVP:
$this->db->where("active", 1);
goto b1Ts0;
b1Ts0:
$result = $this->db->get()->row();
goto UIbxA;
UIbxA:
return $result;
goto nKJJc;
tvKfZ:
$this->db->from("master_smt");
goto iZsVP;
rNq7T:
$this->db->select("id_smt, nama_smt, smt");
goto tvKfZ;
nKJJc:
}
public function getDataGuruByUserId($id_user, $id_tp, $id_smt)
{
goto bQAeU;
Ygtni:
$this->db->join("level_kelas g", "f.level_id=g.id_level", "left");
goto axfyG;
bQAeU:
$this->db->query("SET SQL_BIG_SELECTS=1");
goto xJ7Um;
ylUnr:
$query = $this->db->get()->row();
goto HSZMV;
eXc_d:
$this->db->from("master_guru a");
goto xd0jH;
xJ7Um:
$this->db->select("a.id_guru, a.nama_guru, a.nip, a.id_user, a.foto, b.id_jabatan, b.id_kelas as wali_kelas, f.level_id, g.level");
goto eXc_d;
axfyG:
$this->db->where("a.id_user", $id_user);
goto ylUnr;
HSZMV:
return $query;
goto pp8ty;
xd0jH:
$this->db->join("jabatan_guru b", "a.id_guru=b.id_guru AND b.id_tp=" . $id_tp . " AND b.id_smt=" . $id_smt, "left");
goto HhEIJ;
Dtiv5:
$this->db->join("master_kelas f", "a.id_guru=f.guru_id AND f.id_tp=" . $id_tp . " AND f.id_smt=" . $id_smt, "left");
goto Ygtni;
HhEIJ:
$this->db->join("level_guru e", "b.id_jabatan=e.id_level", "left");
goto Dtiv5;
pp8ty:
}
public function getDataGuruById($id_guru, $id_tp, $id_smt)
{
goto FwpLC;
xDQwh:
$this->db->join("level_guru e", "b.id_jabatan=e.id_level", "left");
goto wQZKF;
wQZKF:
$this->db->join("master_kelas f", "a.id_guru=f.guru_id AND f.id_tp=" . $id_tp . " AND f.id_smt=" . $id_smt, "left");
goto cMVTp;
FwpLC:
$this->db->query("SET SQL_BIG_SELECTS=1");
goto OLqhb;
OLqhb:
$this->db->select("a.id_guru, a.nama_guru, a.nip, a.id_user, a.foto, b.id_jabatan, b.id_kelas as wali_kelas, f.level_id, g.level");
goto qPW8k;
G0gAq:
$query = $this->db->get()->row();
goto RXVvE;
cMVTp:
$this->db->join("level_kelas g", "f.level_id=g.id_level", "left");
goto xbVWB;
qPW8k:
$this->db->from("master_guru a");
goto Q1q2z;
Q1q2z:
$this->db->join("jabatan_guru b", "a.id_guru=b.id_guru AND b.id_tp=" . $id_tp . " AND b.id_smt=" . $id_smt, "left");
goto xDQwh;
RXVvE:
return $query;
goto Pdqzd;
xbVWB:
$this->db->where("a.id_guru", $id_guru);
goto G0gAq;
Pdqzd:
}
public function getListGuruByUserId($id_tp, $id_smt)
{
goto eZfLZ;
LUdKT:
$this->db->join("jabatan_guru b", "a.id_guru=b.id_guru AND b.id_tp=" . $id_tp . " AND b.id_smt=" . $id_smt, "left");
goto eArZI;
W_do3:
$this->db->select("a.id_guru, a.nama_guru, a.id_user, a.foto, b.id_jabatan, b.id_kelas as wali_kelas, f.level_id, g.level");
goto qOcU0;
khXHr:
$rest = [];
goto V10LL;
qOcU0:
$this->db->from("master_guru a");
goto LUdKT;
eZfLZ:
$this->db->query("SET SQL_BIG_SELECTS=1");
goto W_do3;
eArZI:
$this->db->join("level_guru e", "b.id_jabatan=e.id_level", "left");
goto citUr;
V10LL:
foreach ($query as $guru) {
$rest[$guru->id_guru] = $guru;
V5GN3:
}
goto OUscC;
citUr:
$this->db->join("master_kelas f", "a.id_guru=f.guru_id AND f.id_tp=" . $id_tp . " AND f.id_smt=" . $id_smt, "left");
goto koT5g;
koT5g:
$this->db->join("level_kelas g", "f.level_id=g.id_level", "left");
goto rHhXV;
OUscC:
PJbOU:
goto Oe560;
Oe560:
return $rest;
goto kctrz;
rHhXV:
$query = $this->db->get()->result();
goto khXHr;
kctrz:
}
public function getDetailGuruByUserId($id_user, $id_tp, $id_smt)
{
goto nBPLY;
aTyN5:
$this->db->join("jabatan_guru b", "a.id_guru=b.id_guru AND b.id_tp=" . $id_tp . " AND b.id_smt=" . $id_smt, "left");
goto Yw9Kv;
NDHkv:
$this->db->join("master_kelas f", "a.id_guru=f.guru_id AND f.id_tp=" . $id_tp . " AND f.id_smt=" . $id_smt, "left");
goto M5rPc;
M5rPc:
$this->db->where("a.id_user", $id_user);
goto rW8A0;
LTfTU:
return $query;
goto FCfol;
rW8A0:
$query = $this->db->get()->row();
goto LTfTU;
PgLq3:
$this->db->select("*");
goto cjVbA;
nBPLY:
$this->db->query("SET SQL_BIG_SELECTS=1");
goto PgLq3;
Yw9Kv:
$this->db->join("level_guru e", "b.id_jabatan=e.id_level", "left");
goto NDHkv;
cjVbA:
$this->db->from("master_guru a");
goto aTyN5;
FCfol:
}
public function getKelasByMapel($id_mapel = null)
{
goto wr6yo;
lhVPH:
$this->db->join("master_mapel b", "a.mapel_id=b.id_mapel", "left");
goto V11dQ;
C9RHM:
$this->db->select("*");
goto BIxC5;
bMEon:
return $query;
goto B0K4x;
BIxC5:
$this->db->from("master_kelas");
goto lhVPH;
wr6yo:
$this->db->query("SET SQL_BIG_SELECTS=1");
goto C9RHM;
TAHnD:
$query = $this->db->get()->row();
goto bMEon;
V11dQ:
$this->db->join("level_guru d", "a.level_id=d.id_level", "left");
goto TAHnD;
B0K4x:
}
public function get_where($table, $pk, $id, $join = null, $order = null)
{
goto hg1As;
iqE6X:
m3SyA:
goto J9HqY;
mO8yL:
tTZrz:
goto TC_i_;
vparl:
return $query;
goto j2zTN;
TC_i_:
WUBmH:
goto uDozK;
J9HqY:
$query = $this->db->get();
goto vparl;
xKfHY:
$this->db->where($pk, $id);
goto iuSYP;
iuSYP:
if (!($join !== null)) {
goto WUBmH;
}
goto AZmPe;
RrXG9:
foreach ($order as $field => $sort) {
$this->db->order_by($field, $sort);
tXg9_:
}
goto Ok3_L;
hg1As:
$this->db->select("*");
goto VJCI1;
Ok3_L:
f27fR:
goto iqE6X;
AZmPe:
foreach ($join as $table => $field) {
$this->db->join($table, $field);
WDU2H:
}
goto mO8yL;
VJCI1:
$this->db->from($table);
goto xKfHY;
uDozK:
if (!($order !== null)) {
goto m3SyA;
}
goto RrXG9;
j2zTN:
}
public function create($table, $data)
{
$insert = $this->db->insert($table, $data);
return $insert;
}
public function update($table, $data, $pk, $id = null, $batch = false)
{
goto r831d;
YC_kK:
$insert = $this->db->update_batch($table, $data, $pk);
goto ydT3q;
r831d:
if ($batch === false) {
goto d6NS6;
}
goto YC_kK;
shDfe:
return $insert;
goto rfT2Y;
tUbri:
d6NS6:
goto rEmFh;
ydT3q:
goto reKZ6;
goto tUbri;
rEmFh:
$insert = $this->db->update($table, $data, array($pk => $id));
goto ZAhad;
ZAhad:
reKZ6:
goto shDfe;
rfT2Y:
}
public function getDataSiswa($username, $id_tp, $id_smt)
{
goto GJ3E2;
GJ3E2:
$this->db->query("SET SQL_BIG_SELECTS=1");
goto a9cbH;
pz2xT:
$this->db->from("master_siswa a");
goto f6pmy;
f6pmy:
$this->db->join("kelas_siswa b", "a.id_siswa=b.id_siswa AND b.id_tp=" . $id_tp . " AND b.id_smt=" . $id_smt, "left");
goto XzGXN;
ESu0r:
$query = $this->db->get()->row();
goto HkGix;
HkGix:
return $query;
goto s6MsI;
w7jK7:
$this->db->join("cbt_sesi_siswa d", "a.id_siswa=d.siswa_id", "left");
goto NDsl0;
a9cbH:
$this->db->select("*");
goto pz2xT;
XzGXN:
$this->db->join("master_kelas c", "b.id_kelas=c.id_kelas AND c.id_tp=" . $id_tp . " AND c.id_smt=" . $id_smt, "left");
goto w7jK7;
NDsl0:
$this->db->where("username", $username);
goto ESu0r;
s6MsI:
}
public function loadPengumuman($id_for)
{
goto gNJAe;
QKcUX:
return $query;
goto WOtZy;
J05Ly:
$this->db->from("pengumuman a");
goto CoAEb;
hgX5E:
$this->db->where("kepada", $id_for);
goto LHwG0;
LHwG0:
$query = $this->db->get()->result();
goto QKcUX;
gNJAe:
$this->db->select("a.*, b.nama_guru, b.foto");
goto J05Ly;
CoAEb:
$this->db->join("master_guru b", "a.dari=b.id_guru", "left");
goto hgX5E;
WOtZy:
}
public function loadJadwalHariIni($id_tp, $id_smt, $id_kelas = null, $id_hari = null)
{
goto gSZrN;
mgPeE:
$this->db->where("a.id_tp", $id_tp);
goto eaydV;
Lr8iV:
$this->db->from("kelas_jadwal_mapel a");
goto GA10O;
u1Qab:
$query = $this->db->get()->result();
goto bbDXn;
Md85E:
$this->db->where("a.id_hari", $id_hari);
goto tokwX;
Q5u1q:
if (!($id_kelas != null)) {
goto OCKYA;
}
goto Bud7R;
tokwX:
KNF49:
goto u1Qab;
d9MCM:
if (!($id_hari != null)) {
goto KNF49;
}
goto Md85E;
eaydV:
$this->db->where("a.id_smt", $id_smt);
goto Q5u1q;
VrjuK:
OCKYA:
goto d9MCM;
gSZrN:
$this->db->select("*");
goto Lr8iV;
bbDXn:
return $query;
goto jQFhd;
Bud7R:
$this->db->where("a.id_kelas", $id_kelas);
goto VrjuK;
GA10O:
$this->db->join("master_mapel b", "b.id_mapel=a.id_mapel", "left");
goto mgPeE;
jQFhd:
}
public function getJadwalKbm($id_tp, $id_smt, $id_kelas = null)
{
goto nNcTZ;
wXivB:
goto Y6Cgw;
goto QdnXr;
a80H8:
$this->db->where("id_kelas", $id_kelas);
goto Z4Gee;
nNcTZ:
$this->db->select("*");
goto ObTY7;
xScRh:
if ($id_kelas != null) {
goto ztXD6;
}
goto afPZt;
zKp9T:
$this->db->where("id_smt", $id_smt);
goto xScRh;
EqVBJ:
return $query;
goto ezP6K;
afPZt:
$query = $this->db->get()->result();
goto wXivB;
ObTY7:
$this->db->from("kelas_jadwal_kbm");
goto ddbqp;
Z4Gee:
$query = $this->db->get()->row();
goto uWfaT;
uWfaT:
Y6Cgw:
goto EqVBJ;
ddbqp:
$this->db->where("id_tp", $id_tp);
goto zKp9T;
QdnXr:
ztXD6:
goto a80H8;
ezP6K:
}
}
?>
Did this file decode correctly?
Original Code
<?php
/* ________________________________________
| GarudaCBT |
| https://github.com/garudacbt/cbt |
|________________________________________|
*/
defined("\102\101\x53\x45\120\x41\124\x48") or exit("\116\x6f\x20\x64\151\162\x65\143\x74\x20\163\x63\x72\151\x70\x74\40\141\143\143\x65\163\x73\40\x61\154\154\x6f\x77\145\144");
class Dashboard_model extends CI_Model
{
public function getSetting()
{
return $this->db->get("\x73\x65\x74\x74\x69\x6e\x67")->row();
}
public function getRunningText()
{
return $this->db->get("\162\165\x6e\156\x69\156\x67\137\x74\145\170\164")->result();
}
public function total($table, $where = null)
{
goto iivnH;
xy6cj:
return $query;
goto Mzw63;
dXtcn:
EFX59:
goto wNYTQ;
iivnH:
if (!($where != null)) {
goto EFX59;
}
goto tM3Wu;
wNYTQ:
$query = $this->db->get($table)->num_rows();
goto xy6cj;
tM3Wu:
$this->db->where($where);
goto dXtcn;
Mzw63:
}
public function hapus($table, $data, $pk)
{
$this->db->where_in($pk, $data);
return $this->db->delete($table);
}
public function getProfileAdmin($id_user)
{
goto QC2P8;
xK0nI:
$this->db->where("\x61\x2e\151\x64", $id_user);
goto o4Xzt;
KRi7j:
$this->db->join("\165\x73\145\162\163\x5f\x70\162\157\x66\x69\154\145\x20\142", "\141\56\x69\x64\75\142\x2e\151\x64\x5f\165\163\145\x72", "\x6c\145\146\164");
goto xK0nI;
y60Jb:
$this->db->from("\x75\163\x65\162\163\x20\x61");
goto KRi7j;
QC2P8:
$this->db->select("\x62\x2e\52");
goto y60Jb;
FLa25:
return $query;
goto IX3um;
o4Xzt:
$query = $this->db->get()->row();
goto FLa25;
IX3um:
}
public function totalWaliKelas($id_tp, $id_smt)
{
goto TGyIH;
dRWQj:
$this->db->where("\x69\144\x5f\x73\155\164", $id_smt);
goto HitUX;
MqELL:
$this->db->where("\151\144\137\x74\160", $id_tp);
goto dRWQj;
HitUX:
$query = $this->db->get("\152\x61\142\141\x74\x61\x6e\x5f\x67\165\162\165")->num_rows();
goto ETQDk;
TGyIH:
$this->db->where("\x69\144\137\x6a\x61\142\141\x74\141\156", "\64");
goto MqELL;
ETQDk:
return $query;
goto CRk4k;
CRk4k:
}
public function totalSiswaKelas($id_kelas, $id_tp, $id_smt)
{
goto sUveR;
sUveR:
$this->db->select("\x61\x2e\x69\144\137\163\x69\163\167\x61");
goto MQPt9;
UiYxM:
$this->db->where("\141\56\151\144\137\164\x70", $id_tp);
goto u7dDh;
BtNiS:
return $query;
goto Ek2YA;
STyfD:
$query = $this->db->get()->num_rows();
goto BtNiS;
u7dDh:
$this->db->where("\x61\x2e\151\x64\137\x73\x6d\164", $id_smt);
goto ox1RD;
ox1RD:
$this->db->where("\141\x2e\151\144\137\x6b\x65\x6c\x61\163", $id_kelas);
goto STyfD;
MQPt9:
$this->db->from("\153\145\154\141\163\137\x73\x69\163\x77\x61\40\141");
goto UiYxM;
Ek2YA:
}
public function totalPengawas()
{
goto ROhXn;
VvYeH:
return $query;
goto vCqKO;
EJWfx:
$this->db->where("\x69\144\x5f\152\141\x64\x77\x61\x6c\x20\41\x3d", "\141\x3a\x30\x3a\173\175");
goto N614r;
N614r:
$query = $this->db->get("\143\x62\x74\137\160\x65\x6e\147\x61\167\141\163")->num_rows();
goto VvYeH;
ROhXn:
$this->db->select("\52");
goto EJWfx;
vCqKO:
}
public function totalJadwal()
{
goto vl31h;
xB_Qz:
return $query;
goto i4VLC;
MdVVa:
$query = $this->db->get("\x63\x62\x74\x5f\152\x61\144\167\141\x6c")->num_rows();
goto xB_Qz;
vl31h:
$this->db->select("\x2a");
goto MdVVa;
i4VLC:
}
public function getDataTahun()
{
goto VaeVP;
hACYo:
$this->datatables->from("\x6d\141\163\164\145\162\137\x74\160");
goto ULtpv;
ULtpv:
return $this->datatables->generate();
goto wAkxG;
VaeVP:
$this->datatables->select("\x69\x64\x5f\164\160\54\x20\164\141\x68\165\x6e\x2c\x20\x61\143\164\151\166\x65");
goto hACYo;
wAkxG:
}
public function getTahun()
{
goto I9ZHl;
u1Fhn:
return $result;
goto MUkTU;
I9ZHl:
$this->db->order_by("\164\141\150\x75\x6e", "\101\x53\103");
goto xk0XV;
xk0XV:
$result = $this->db->get("\x6d\x61\163\164\x65\x72\x5f\164\160")->result();
goto u1Fhn;
MUkTU:
}
public function getTahunById($id)
{
$result = $this->db->get_where("\155\141\163\x74\145\162\x5f\x74\x70", "\x69\x64\x5f\164\x70\75" . $id)->row();
return $result;
}
public function getTahunByTahun($tahun)
{
$result = $this->db->get_where("\x6d\141\163\x74\x65\162\x5f\164\x70", "\164\x61\x68\x75\156\x3d" . "\42" . $tahun . "\x22")->row();
return $result;
}
public function getTahunActive()
{
goto T5l67;
kqWCV:
return $result;
goto SihEw;
wkIAb:
$this->db->from("\155\141\163\x74\x65\162\137\164\160");
goto gVjF0;
T5l67:
$this->db->select("\151\144\x5f\164\160\x2c\x20\x74\x61\x68\165\156");
goto wkIAb;
nzyn1:
$result = $this->db->get()->row();
goto kqWCV;
gVjF0:
$this->db->where("\x61\x63\164\x69\166\145", 1);
goto nzyn1;
SihEw:
}
public function getSemester()
{
goto vi5Az;
qo1ez:
return $result;
goto GzbX1;
vi5Az:
$this->db->order_by("\163\x6d\164", "\x41\x53\x43");
goto BVa2_;
BVa2_:
$result = $this->db->get("\155\x61\163\x74\x65\162\x5f\x73\x6d\164")->result();
goto qo1ez;
GzbX1:
}
public function getSemesterById($id)
{
$result = $this->db->get_where("\155\x61\x73\164\145\x72\x5f\x73\155\164", "\x69\144\137\163\x6d\x74\75" . $id)->row();
return $result;
}
public function getSemesterByNama($nama_smt)
{
$result = $this->db->get_where("\155\x61\x73\164\145\x72\137\x73\x6d\164", "\x6e\x61\155\141\x5f\x73\155\x74\x3d" . "\x22" . $nama_smt . "\x22")->row();
return $result;
}
public function getSemesterActive()
{
goto rNq7T;
iZsVP:
$this->db->where("\x61\143\x74\151\x76\145", 1);
goto b1Ts0;
b1Ts0:
$result = $this->db->get()->row();
goto UIbxA;
UIbxA:
return $result;
goto nKJJc;
tvKfZ:
$this->db->from("\x6d\141\163\164\145\x72\x5f\x73\155\164");
goto iZsVP;
rNq7T:
$this->db->select("\x69\144\x5f\163\x6d\x74\x2c\40\x6e\141\155\141\137\x73\155\x74\54\40\163\x6d\x74");
goto tvKfZ;
nKJJc:
}
public function getDataGuruByUserId($id_user, $id_tp, $id_smt)
{
goto bQAeU;
Ygtni:
$this->db->join("\154\145\x76\x65\154\137\153\x65\154\141\x73\x20\x67", "\146\x2e\154\x65\x76\145\x6c\137\151\x64\x3d\147\56\151\x64\137\x6c\145\166\x65\x6c", "\154\145\x66\x74");
goto axfyG;
bQAeU:
$this->db->query("\123\x45\124\40\x53\121\114\x5f\x42\111\107\x5f\x53\105\x4c\105\x43\124\123\x3d\61");
goto xJ7Um;
ylUnr:
$query = $this->db->get()->row();
goto HSZMV;
eXc_d:
$this->db->from("\x6d\141\x73\164\145\162\x5f\147\x75\162\x75\x20\141");
goto xd0jH;
xJ7Um:
$this->db->select("\141\x2e\151\x64\x5f\x67\165\x72\165\x2c\x20\141\x2e\x6e\x61\x6d\x61\x5f\147\165\162\x75\54\x20\141\x2e\x6e\x69\x70\54\40\x61\x2e\x69\x64\137\x75\x73\145\162\x2c\40\x61\x2e\146\x6f\x74\x6f\54\x20\142\x2e\x69\x64\137\152\x61\x62\141\x74\x61\156\54\40\x62\x2e\151\144\137\x6b\x65\154\141\163\x20\141\x73\x20\167\141\154\x69\x5f\153\x65\x6c\141\163\54\x20\146\x2e\x6c\145\166\145\154\137\151\x64\x2c\x20\x67\x2e\x6c\145\166\x65\x6c");
goto eXc_d;
axfyG:
$this->db->where("\x61\56\151\144\x5f\165\x73\145\162", $id_user);
goto ylUnr;
HSZMV:
return $query;
goto pp8ty;
xd0jH:
$this->db->join("\x6a\x61\x62\141\x74\141\156\x5f\147\x75\162\165\x20\x62", "\x61\56\151\x64\137\147\165\x72\165\75\142\x2e\x69\x64\x5f\147\x75\x72\x75\x20\x41\x4e\x44\x20\142\x2e\151\144\137\164\x70\75" . $id_tp . "\x20\101\x4e\x44\x20\x62\x2e\151\144\137\163\x6d\x74\75" . $id_smt, "\154\x65\x66\x74");
goto HhEIJ;
Dtiv5:
$this->db->join("\x6d\x61\x73\164\x65\x72\137\x6b\145\x6c\141\x73\x20\146", "\141\56\x69\144\137\x67\165\x72\165\75\146\x2e\x67\165\x72\x75\137\151\144\40\101\x4e\104\40\146\x2e\x69\x64\137\164\x70\75" . $id_tp . "\40\101\x4e\104\40\x66\x2e\x69\144\137\163\155\164\75" . $id_smt, "\154\145\x66\x74");
goto Ygtni;
HhEIJ:
$this->db->join("\154\x65\166\x65\154\137\x67\x75\162\x75\x20\x65", "\142\56\x69\x64\137\152\x61\x62\x61\x74\141\156\75\145\x2e\x69\x64\x5f\154\145\x76\x65\x6c", "\x6c\x65\x66\x74");
goto Dtiv5;
pp8ty:
}
public function getDataGuruById($id_guru, $id_tp, $id_smt)
{
goto FwpLC;
xDQwh:
$this->db->join("\x6c\145\166\x65\154\137\x67\x75\162\x75\x20\145", "\142\x2e\x69\x64\137\152\x61\142\141\164\141\x6e\75\x65\x2e\151\144\x5f\x6c\x65\166\x65\154", "\x6c\x65\146\164");
goto wQZKF;
wQZKF:
$this->db->join("\155\x61\x73\x74\145\x72\137\153\145\x6c\141\x73\x20\146", "\x61\x2e\151\x64\x5f\147\x75\162\x75\75\x66\56\147\165\162\165\137\151\144\40\101\116\x44\x20\x66\56\x69\x64\x5f\164\x70\75" . $id_tp . "\x20\101\116\x44\x20\146\x2e\x69\144\x5f\163\155\164\75" . $id_smt, "\154\x65\146\x74");
goto cMVTp;
FwpLC:
$this->db->query("\123\105\124\x20\x53\121\114\x5f\102\111\107\x5f\123\105\114\105\103\124\123\75\61");
goto OLqhb;
OLqhb:
$this->db->select("\x61\56\x69\144\x5f\x67\x75\162\165\54\40\141\56\156\x61\x6d\141\137\x67\x75\162\x75\54\x20\x61\x2e\x6e\x69\x70\54\x20\x61\x2e\151\144\137\165\x73\145\162\54\x20\141\x2e\146\x6f\x74\x6f\54\40\142\x2e\151\144\x5f\x6a\x61\142\141\164\x61\156\54\40\142\x2e\151\x64\137\153\145\x6c\x61\x73\40\x61\163\x20\167\x61\x6c\x69\x5f\153\145\x6c\x61\x73\54\40\146\56\x6c\x65\x76\x65\154\x5f\151\x64\x2c\x20\147\56\x6c\145\166\x65\x6c");
goto qPW8k;
G0gAq:
$query = $this->db->get()->row();
goto RXVvE;
cMVTp:
$this->db->join("\x6c\x65\166\145\x6c\137\x6b\145\x6c\141\x73\x20\147", "\x66\x2e\154\145\x76\145\x6c\137\151\x64\x3d\147\56\151\x64\137\x6c\x65\166\145\x6c", "\x6c\145\x66\x74");
goto xbVWB;
qPW8k:
$this->db->from("\155\141\x73\x74\x65\x72\137\147\x75\162\x75\x20\141");
goto Q1q2z;
Q1q2z:
$this->db->join("\x6a\x61\142\x61\164\x61\x6e\137\147\165\162\x75\40\142", "\141\x2e\x69\144\x5f\147\165\162\x75\x3d\x62\x2e\x69\144\137\147\165\162\x75\x20\x41\x4e\x44\40\142\56\x69\x64\137\x74\160\75" . $id_tp . "\40\x41\116\x44\40\x62\56\151\x64\137\x73\x6d\164\x3d" . $id_smt, "\154\x65\x66\164");
goto xDQwh;
RXVvE:
return $query;
goto Pdqzd;
xbVWB:
$this->db->where("\x61\56\x69\144\x5f\x67\165\162\x75", $id_guru);
goto G0gAq;
Pdqzd:
}
public function getListGuruByUserId($id_tp, $id_smt)
{
goto eZfLZ;
LUdKT:
$this->db->join("\152\x61\x62\x61\x74\141\156\x5f\147\x75\162\165\x20\x62", "\x61\56\151\x64\x5f\x67\x75\x72\x75\75\x62\56\x69\x64\137\x67\165\162\165\40\101\x4e\x44\40\x62\x2e\151\x64\x5f\x74\160\75" . $id_tp . "\x20\x41\x4e\x44\40\x62\x2e\151\144\x5f\x73\155\x74\75" . $id_smt, "\x6c\145\x66\164");
goto eArZI;
W_do3:
$this->db->select("\141\56\x69\x64\137\x67\165\x72\x75\54\40\141\x2e\x6e\x61\155\141\137\147\x75\162\165\x2c\x20\x61\56\151\144\x5f\165\x73\145\x72\x2c\40\x61\56\146\x6f\x74\157\54\x20\142\56\x69\144\x5f\x6a\x61\142\141\164\141\156\x2c\x20\x62\x2e\151\144\137\x6b\145\x6c\141\x73\40\x61\x73\40\x77\x61\154\151\x5f\x6b\x65\154\141\163\54\x20\146\56\x6c\145\166\145\154\137\151\x64\x2c\x20\147\x2e\x6c\x65\166\x65\x6c");
goto qOcU0;
khXHr:
$rest = [];
goto V10LL;
qOcU0:
$this->db->from("\x6d\141\163\164\x65\162\137\x67\165\x72\x75\x20\141");
goto LUdKT;
eZfLZ:
$this->db->query("\x53\105\x54\x20\123\x51\114\x5f\x42\111\107\x5f\123\x45\114\x45\x43\124\123\75\61");
goto W_do3;
eArZI:
$this->db->join("\154\145\x76\145\154\137\147\165\x72\x75\x20\145", "\142\56\151\144\137\x6a\141\142\141\x74\141\x6e\x3d\145\x2e\x69\144\x5f\154\x65\x76\145\154", "\154\x65\146\164");
goto citUr;
V10LL:
foreach ($query as $guru) {
$rest[$guru->id_guru] = $guru;
V5GN3:
}
goto OUscC;
citUr:
$this->db->join("\155\x61\163\164\145\x72\137\x6b\x65\154\141\x73\x20\x66", "\x61\56\151\144\x5f\x67\165\162\165\75\x66\x2e\147\x75\162\x75\137\x69\x64\40\101\x4e\104\x20\x66\x2e\x69\x64\x5f\x74\x70\75" . $id_tp . "\40\101\116\x44\40\146\56\151\x64\x5f\x73\x6d\164\75" . $id_smt, "\x6c\145\146\164");
goto koT5g;
koT5g:
$this->db->join("\154\145\x76\x65\154\137\x6b\145\x6c\x61\x73\40\147", "\146\x2e\x6c\x65\166\145\154\137\151\x64\x3d\x67\x2e\x69\x64\x5f\x6c\x65\x76\145\154", "\154\x65\146\x74");
goto rHhXV;
OUscC:
PJbOU:
goto Oe560;
Oe560:
return $rest;
goto kctrz;
rHhXV:
$query = $this->db->get()->result();
goto khXHr;
kctrz:
}
public function getDetailGuruByUserId($id_user, $id_tp, $id_smt)
{
goto nBPLY;
aTyN5:
$this->db->join("\152\x61\142\141\x74\x61\x6e\137\x67\165\162\165\40\x62", "\141\x2e\151\144\137\147\x75\162\165\x3d\x62\56\x69\144\x5f\147\x75\162\165\40\x41\116\104\x20\142\56\x69\144\137\164\160\x3d" . $id_tp . "\40\101\116\x44\x20\x62\56\x69\x64\137\x73\x6d\164\75" . $id_smt, "\154\x65\146\164");
goto Yw9Kv;
NDHkv:
$this->db->join("\155\141\163\164\x65\162\137\x6b\145\154\141\163\x20\x66", "\x61\x2e\151\x64\137\x67\x75\x72\165\75\x66\x2e\147\165\162\x75\x5f\151\x64\x20\101\116\104\x20\146\56\x69\144\137\x74\x70\75" . $id_tp . "\x20\x41\x4e\x44\40\146\56\151\x64\x5f\163\155\x74\75" . $id_smt, "\x6c\145\x66\x74");
goto M5rPc;
M5rPc:
$this->db->where("\141\56\x69\144\137\165\x73\x65\162", $id_user);
goto rW8A0;
LTfTU:
return $query;
goto FCfol;
rW8A0:
$query = $this->db->get()->row();
goto LTfTU;
PgLq3:
$this->db->select("\x2a");
goto cjVbA;
nBPLY:
$this->db->query("\123\105\124\x20\123\121\x4c\137\102\111\107\x5f\123\x45\x4c\105\103\x54\123\75\61");
goto PgLq3;
Yw9Kv:
$this->db->join("\x6c\x65\166\x65\x6c\137\147\165\x72\165\40\145", "\142\x2e\x69\144\137\152\141\x62\x61\164\141\x6e\75\x65\x2e\x69\x64\137\154\145\x76\x65\154", "\154\x65\x66\x74");
goto NDHkv;
cjVbA:
$this->db->from("\x6d\141\163\164\x65\162\x5f\147\x75\x72\165\40\x61");
goto aTyN5;
FCfol:
}
public function getKelasByMapel($id_mapel = null)
{
goto wr6yo;
lhVPH:
$this->db->join("\x6d\141\x73\x74\x65\162\137\155\141\160\145\154\40\142", "\141\56\x6d\x61\160\x65\154\x5f\x69\x64\x3d\x62\x2e\151\144\137\x6d\x61\160\x65\x6c", "\154\145\x66\164");
goto V11dQ;
C9RHM:
$this->db->select("\x2a");
goto BIxC5;
bMEon:
return $query;
goto B0K4x;
BIxC5:
$this->db->from("\x6d\141\x73\164\x65\x72\x5f\x6b\145\154\141\x73");
goto lhVPH;
wr6yo:
$this->db->query("\x53\105\x54\x20\x53\121\x4c\137\x42\111\107\137\123\x45\114\105\x43\124\123\75\61");
goto C9RHM;
TAHnD:
$query = $this->db->get()->row();
goto bMEon;
V11dQ:
$this->db->join("\154\145\x76\145\154\137\147\165\162\165\40\x64", "\x61\x2e\x6c\x65\166\x65\x6c\137\151\x64\x3d\x64\56\x69\x64\x5f\154\145\x76\145\154", "\x6c\x65\146\x74");
goto TAHnD;
B0K4x:
}
public function get_where($table, $pk, $id, $join = null, $order = null)
{
goto hg1As;
iqE6X:
m3SyA:
goto J9HqY;
mO8yL:
tTZrz:
goto TC_i_;
vparl:
return $query;
goto j2zTN;
TC_i_:
WUBmH:
goto uDozK;
J9HqY:
$query = $this->db->get();
goto vparl;
xKfHY:
$this->db->where($pk, $id);
goto iuSYP;
iuSYP:
if (!($join !== null)) {
goto WUBmH;
}
goto AZmPe;
RrXG9:
foreach ($order as $field => $sort) {
$this->db->order_by($field, $sort);
tXg9_:
}
goto Ok3_L;
hg1As:
$this->db->select("\52");
goto VJCI1;
Ok3_L:
f27fR:
goto iqE6X;
AZmPe:
foreach ($join as $table => $field) {
$this->db->join($table, $field);
WDU2H:
}
goto mO8yL;
VJCI1:
$this->db->from($table);
goto xKfHY;
uDozK:
if (!($order !== null)) {
goto m3SyA;
}
goto RrXG9;
j2zTN:
}
public function create($table, $data)
{
$insert = $this->db->insert($table, $data);
return $insert;
}
public function update($table, $data, $pk, $id = null, $batch = false)
{
goto r831d;
YC_kK:
$insert = $this->db->update_batch($table, $data, $pk);
goto ydT3q;
r831d:
if ($batch === false) {
goto d6NS6;
}
goto YC_kK;
shDfe:
return $insert;
goto rfT2Y;
tUbri:
d6NS6:
goto rEmFh;
ydT3q:
goto reKZ6;
goto tUbri;
rEmFh:
$insert = $this->db->update($table, $data, array($pk => $id));
goto ZAhad;
ZAhad:
reKZ6:
goto shDfe;
rfT2Y:
}
public function getDataSiswa($username, $id_tp, $id_smt)
{
goto GJ3E2;
GJ3E2:
$this->db->query("\123\x45\124\40\123\x51\x4c\x5f\102\111\107\137\x53\105\114\105\103\124\123\x3d\x31");
goto a9cbH;
pz2xT:
$this->db->from("\x6d\141\x73\164\145\x72\137\163\151\163\167\x61\x20\x61");
goto f6pmy;
f6pmy:
$this->db->join("\x6b\145\154\141\163\137\x73\151\x73\167\141\x20\x62", "\x61\x2e\x69\144\x5f\x73\151\x73\167\141\x3d\142\x2e\151\144\x5f\163\151\x73\167\141\40\x41\x4e\x44\40\x62\56\x69\x64\x5f\x74\x70\75" . $id_tp . "\x20\101\116\x44\40\x62\x2e\151\x64\137\x73\155\164\75" . $id_smt, "\154\145\146\x74");
goto XzGXN;
ESu0r:
$query = $this->db->get()->row();
goto HkGix;
HkGix:
return $query;
goto s6MsI;
w7jK7:
$this->db->join("\143\x62\x74\137\x73\145\163\151\x5f\163\151\163\x77\141\x20\144", "\141\56\x69\144\137\x73\x69\163\x77\141\75\x64\x2e\163\151\x73\167\x61\x5f\151\x64", "\154\x65\x66\x74");
goto NDsl0;
a9cbH:
$this->db->select("\52");
goto pz2xT;
XzGXN:
$this->db->join("\155\x61\x73\164\145\x72\137\153\145\x6c\141\x73\40\143", "\x62\56\151\x64\137\x6b\145\x6c\141\163\75\143\x2e\x69\144\137\x6b\145\x6c\x61\x73\40\101\116\104\40\143\x2e\151\x64\x5f\x74\x70\x3d" . $id_tp . "\40\x41\x4e\x44\x20\143\56\x69\144\x5f\163\x6d\x74\x3d" . $id_smt, "\154\145\x66\x74");
goto w7jK7;
NDsl0:
$this->db->where("\x75\x73\x65\x72\156\141\x6d\x65", $username);
goto ESu0r;
s6MsI:
}
public function loadPengumuman($id_for)
{
goto gNJAe;
QKcUX:
return $query;
goto WOtZy;
J05Ly:
$this->db->from("\160\x65\x6e\147\165\155\x75\155\x61\x6e\40\x61");
goto CoAEb;
hgX5E:
$this->db->where("\153\x65\160\141\144\x61", $id_for);
goto LHwG0;
LHwG0:
$query = $this->db->get()->result();
goto QKcUX;
gNJAe:
$this->db->select("\x61\x2e\x2a\x2c\40\x62\56\x6e\141\x6d\x61\137\x67\165\x72\165\x2c\x20\x62\x2e\x66\x6f\x74\x6f");
goto J05Ly;
CoAEb:
$this->db->join("\155\141\x73\x74\x65\162\x5f\x67\165\162\x75\40\142", "\141\x2e\x64\x61\162\x69\x3d\142\56\151\144\x5f\x67\165\162\x75", "\x6c\x65\x66\x74");
goto hgX5E;
WOtZy:
}
public function loadJadwalHariIni($id_tp, $id_smt, $id_kelas = null, $id_hari = null)
{
goto gSZrN;
mgPeE:
$this->db->where("\141\x2e\x69\144\x5f\164\x70", $id_tp);
goto eaydV;
Lr8iV:
$this->db->from("\x6b\145\x6c\x61\x73\137\152\x61\x64\x77\x61\154\x5f\x6d\141\160\145\154\x20\x61");
goto GA10O;
u1Qab:
$query = $this->db->get()->result();
goto bbDXn;
Md85E:
$this->db->where("\141\x2e\x69\x64\x5f\x68\x61\162\151", $id_hari);
goto tokwX;
Q5u1q:
if (!($id_kelas != null)) {
goto OCKYA;
}
goto Bud7R;
tokwX:
KNF49:
goto u1Qab;
d9MCM:
if (!($id_hari != null)) {
goto KNF49;
}
goto Md85E;
eaydV:
$this->db->where("\x61\56\151\x64\x5f\163\155\164", $id_smt);
goto Q5u1q;
VrjuK:
OCKYA:
goto d9MCM;
gSZrN:
$this->db->select("\52");
goto Lr8iV;
bbDXn:
return $query;
goto jQFhd;
Bud7R:
$this->db->where("\141\x2e\x69\x64\x5f\153\x65\154\141\163", $id_kelas);
goto VrjuK;
GA10O:
$this->db->join("\x6d\141\x73\x74\x65\x72\x5f\155\141\x70\x65\x6c\x20\142", "\x62\56\x69\x64\137\x6d\141\160\x65\x6c\x3d\141\56\151\x64\x5f\x6d\141\x70\145\x6c", "\154\x65\146\164");
goto mgPeE;
jQFhd:
}
public function getJadwalKbm($id_tp, $id_smt, $id_kelas = null)
{
goto nNcTZ;
wXivB:
goto Y6Cgw;
goto QdnXr;
a80H8:
$this->db->where("\x69\x64\x5f\153\x65\x6c\141\x73", $id_kelas);
goto Z4Gee;
nNcTZ:
$this->db->select("\x2a");
goto ObTY7;
xScRh:
if ($id_kelas != null) {
goto ztXD6;
}
goto afPZt;
zKp9T:
$this->db->where("\151\x64\x5f\163\155\x74", $id_smt);
goto xScRh;
EqVBJ:
return $query;
goto ezP6K;
afPZt:
$query = $this->db->get()->result();
goto wXivB;
ObTY7:
$this->db->from("\x6b\145\154\x61\x73\x5f\x6a\141\144\x77\x61\154\x5f\153\x62\155");
goto ddbqp;
Z4Gee:
$query = $this->db->get()->row();
goto uWfaT;
uWfaT:
Y6Cgw:
goto EqVBJ;
ddbqp:
$this->db->where("\151\x64\x5f\164\x70", $id_tp);
goto zKp9T;
QdnXr:
ztXD6:
goto a80H8;
ezP6K:
}
}
Function Calls
None |
Stats
MD5 | 2aeefeb06ce1a4f0e09cf45ca093ecb7 |
Eval Count | 0 |
Decode Time | 102 ms |