/* Decoded by unphp.net */ db->from("users a"); goto JUWdS; AG13v: $this->db->select("a.id"); goto thDon; JUWdS: $this->db->join("users_groups b", "a.id=b.user_id"); goto yL3UI; szj55: return $this->db->get()->result(); goto yGYyA; yL3UI: $this->db->where_not_in("b.group_id", ["1"]); goto szj55; yGYyA: } public function truncate($table) { goto kB8Zu; MzlUu: delete_files("./uploads/bank_soal/"); goto GX5SW; ev6xr: EHuBv: goto aj4TY; wWifL: foreach ($table as $tb) { $this->db->truncate($tb); E5gVs: } goto ev6xr; hcXyi: EdS1C: goto K3qmH; bHqfE: foreach ($users as $user) { $this->db->delete("users", array("id" => $user->id)); PYYLT: } goto hcXyi; LZb0t: $this->db->query("SET FOREIGN_KEY_CHECKS = 0"); goto wWifL; K3qmH: return; goto BbaXY; aj4TY: $this->db->query("SET FOREIGN_KEY_CHECKS = 1"); goto MzlUu; kB8Zu: $this->load->helper("file"); goto LZb0t; GX5SW: $users = $this->not_admin(); goto bHqfE; BbaXY: } public function getSetting() { return $this->db->get("setting")->row(); } function toJSON($table) { $query = $this->db->get($table); return json_encode($query->result(), JSON_PRETTY_PRINT); } function rowSize($table) { $query = $this->db->get($table); return $query->num_rows(); } } ?>