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 defined('BASEPATH') OR exit('No direct script access allowed');class All_data extend..
Decoded Output download
<?php defined('BASEPATH') OR exit('No direct script access allowed');class All_data extends CI_Model {public function __construct() {}public function getdatamodel($table,$order_by_column=null,$order_asc_desc='DESC',$limit=null){if($order_by_column){$this->db->order_by($order_by_column,$order_asc_desc);}if($limit){$this->db->limit($limit);} return $this->db->get($table)->result_array();}public function insertdatamodel($table,$data){return $this->db->insert($table,$data);}public function updatedatamodel($table,$data,$where){$this->db->where($where);return $this->db->update($table,$data);}public function detaildatamodel($table,$where,$order_by_column=null,$order_asc_desc='DESC'){if($order_by_column){$this->db->order_by($order_by_column,$order_asc_desc);}return $this->db->get_where($table,$where)->result_array();}public function deletedatamodel($table,$where){$this->db->where($where);return $this->db->delete($table);}public function get_page_limit($table,$where,$per_page,$offset,$order_by_column=null,$order_asc_desc='DESC'){if($where){$this->db->where($where);}if($order_by_column){$this->db->order_by($order_by_column,$order_asc_desc);}return $this->db->get($table, $per_page, $offset)->result_array();}public function get_web_pages($table,$where,$per_page,$offset,$search){if($where){$this->db->where($where);}if($search){$this->db->like('title',$search);}return $this->db->get($table, $per_page, $offset)->result_array();}public function getCountry($table,$where,$per_page,$offset,$order_by_column=null,$order_asc_desc='DESC'){if($where){$this->db->where($where);}if($order_by_column){$this->db->order_by($order_by_column,$order_asc_desc);}return $this->db->get($table, $per_page, $offset)->result_array();}} ?>
Did this file decode correctly?
Original Code
<?php defined('BASEPATH') OR exit('No direct script access allowed');class All_data extends CI_Model {public function __construct() {}public function getdatamodel($table,$order_by_column=null,$order_asc_desc='DESC',$limit=null){if($order_by_column){$this->db->order_by($order_by_column,$order_asc_desc);}if($limit){$this->db->limit($limit);} return $this->db->get($table)->result_array();}public function insertdatamodel($table,$data){return $this->db->insert($table,$data);}public function updatedatamodel($table,$data,$where){$this->db->where($where);return $this->db->update($table,$data);}public function detaildatamodel($table,$where,$order_by_column=null,$order_asc_desc='DESC'){if($order_by_column){$this->db->order_by($order_by_column,$order_asc_desc);}return $this->db->get_where($table,$where)->result_array();}public function deletedatamodel($table,$where){$this->db->where($where);return $this->db->delete($table);}public function get_page_limit($table,$where,$per_page,$offset,$order_by_column=null,$order_asc_desc='DESC'){if($where){$this->db->where($where);}if($order_by_column){$this->db->order_by($order_by_column,$order_asc_desc);}return $this->db->get($table, $per_page, $offset)->result_array();}public function get_web_pages($table,$where,$per_page,$offset,$search){if($where){$this->db->where($where);}if($search){$this->db->like('title',$search);}return $this->db->get($table, $per_page, $offset)->result_array();}public function getCountry($table,$where,$per_page,$offset,$order_by_column=null,$order_asc_desc='DESC'){if($where){$this->db->where($where);}if($order_by_column){$this->db->order_by($order_by_column,$order_asc_desc);}return $this->db->get($table, $per_page, $offset)->result_array();}}
Function Calls
| defined | 1 |
Stats
| MD5 | b0840afc6439970fc9acb55952031d31 |
| Eval Count | 0 |
| Decode Time | 100 ms |